diff --git a/11525.async.js b/11525.async.js index 3ef416c6a0..5360c6caab 100644 --- a/11525.async.js +++ b/11525.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[11525,75004,92023],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[11525],{ /***/ 27049: /*!***********************************************!*\ diff --git a/87545.async.js b/12030.async.js similarity index 89% rename from 87545.async.js rename to 12030.async.js index 54d7af7c2d..c2fc298277 100644 --- a/87545.async.js +++ b/12030.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[87545],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[12030,79256,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -530,6 +530,34 @@ CloseOutlined.displayName = 'CloseOutlined'; /***/ }), +/***/ 87588: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined)); + +/***/ }), + /***/ 75008: /*!*********************************************************!*\ !*** ./node_modules/antd/es/input/index.js + 5 modules ***! @@ -1791,6 +1819,196 @@ EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 57761: /*!*********************************************************************!*\ !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! diff --git a/12059.async.js b/12059.async.js index 25c9ea3b3c..e0aaa043c0 100644 --- a/12059.async.js +++ b/12059.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[12059,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[12059],{ /***/ 66023: /*!*******************************************************************!*\ diff --git a/69771.async.js b/12819.async.js similarity index 68% rename from 69771.async.js rename to 12819.async.js index fab5f37b7a..6d625eb2e5 100644 --- a/69771.async.js +++ b/12819.async.js @@ -1,42 +1,43 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[12819],{ -/***/ 58492: -/*!**************************************************************!*\ - !*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***! - \**************************************************************/ +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { // EXPORTS __webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ breadcrumb; } + "Z": function() { return /* binding */ es_checkbox; } }); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js var defineProperty = __webpack_require__(4942); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(74902); // EXTERNAL MODULE: ./node_modules/classnames/index.js var classnames = __webpack_require__(94184); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js -var toArray = __webpack_require__(50344); +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js +var es = __webpack_require__(50132); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); // EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules -var menu = __webpack_require__(66516); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js -var reactNode = __webpack_require__(96159); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js -var DownOutlined = __webpack_require__(13622); -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules -var dropdown = __webpack_require__(18562); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + var __rest = undefined && undefined.__rest || function (s, e) { var t = {}; @@ -51,73 +52,125 @@ var __rest = undefined && undefined.__rest || function (s, e) { -var BreadcrumbItem = function BreadcrumbItem(props) { - var customizePrefixCls = props.prefixCls, - _props$separator = props.separator, - separator = _props$separator === void 0 ? '/' : _props$separator, - children = props.children, - menu = props.menu, - overlay = props.overlay, - dropdownProps = props.dropdownProps, - restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); - // Warning for deprecated usage - if (false) {} - /** If overlay is have Wrap a Dropdown */ - var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) { - if (menu || overlay) { - return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({ - menu: menu, - overlay: overlay, - placement: "bottom" - }, dropdownProps), /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-overlay-link") - }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); } - return breadcrumbItem; + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); }; - var link; - if ('href' in restProps) { - link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({ - className: "".concat(prefixCls, "-link") - }, restProps), children); - } else { - link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ - className: "".concat(prefixCls, "-link") - }, restProps), children); - } - // wrap to dropDown - link = renderBreadcrumbNode(link); - if (children !== undefined && children !== null) { - return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-separator") - }, separator)); + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); } - return null; -}; -BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; -/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js - - -var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) { - var children = _ref.children; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('breadcrumb'); - return /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-separator") - }, children || '/'); + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); }; -BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; -/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js - -var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { +var Checkbox_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++) { @@ -134,135 +187,126 @@ var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { -function getBreadcrumbName(route, params) { - if (!route.breadcrumbName) { - return null; - } - var paramsKeys = Object.keys(params).join('|'); - var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) { - return params[key] || replacement; - }); - return name; -} -function defaultItemRender(route, params, routes, paths) { - var isLastItem = routes.indexOf(route) === routes.length - 1; - var name = getBreadcrumbName(route, params); - return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", { - href: "#/".concat(paths.join('/')) - }, name); -} -var getPath = function getPath(path, params) { - path = (path || '').replace(/^\//, ''); - Object.keys(params).forEach(function (key) { - path = path.replace(":".concat(key), params[key]); - }); - return path; -}; -var addChildPath = function addChildPath(paths, childPath, params) { - var originalPaths = (0,toConsumableArray/* default */.Z)(paths); - var path = getPath(childPath || '', params); - if (path) { - originalPaths.push(path); - } - return originalPaths; -}; -var Breadcrumb = function Breadcrumb(_a) { +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; var customizePrefixCls = _a.prefixCls, - _a$separator = _a.separator, - separator = _a$separator === void 0 ? '/' : _a$separator, - style = _a.style, className = _a.className, - routes = _a.routes, children = _a.children, - _a$itemRender = _a.itemRender, - itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender, - _a$params = _a.params, - params = _a$params === void 0 ? {} : _a$params, - restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), getPrefixCls = _React$useContext.getPrefixCls, direction = _React$useContext.direction; - var crumbs; - var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); - if (routes && routes.length > 0) { - // generated by route - var paths = []; - crumbs = routes.map(function (route) { - var path = getPath(route.path, params); - if (path) { - paths.push(path); + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, restProps); + if (checkboxGroup && !skipGroup) { + checkboxProps.onChange = function () { + if (restProps.onChange) { + restProps.onChange.apply(restProps, arguments); } - // generated overlay by route.children - var overlay; - if (route.children && route.children.length) { - overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, { - items: route.children.map(function (child) { - return { - key: child.path || child.breadcrumbName, - label: itemRender(child, params, routes, addChildPath(paths, child.path, params)) - }; - }) + if (checkboxGroup.toggleOption) { + checkboxGroup.toggleOption({ + label: children, + value: restProps.value }); } - var itemProps = { - separator: separator - }; - if (overlay) { - itemProps.overlay = overlay; - } - return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, { - key: path || route.breadcrumbName - }), itemRender(route, params, routes, paths)); - }); - } else if (children) { - crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) { - if (!element) { - return element; - } - false ? 0 : void 0; - return (0,reactNode/* cloneElement */.Tm)(element, { - separator: separator, - key: index - }); - }); + }; + checkboxProps.name = checkboxGroup.name; + checkboxProps.checked = checkboxGroup.value.includes(restProps.value); } - var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className); - return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({ - className: breadcrumbClassName, - style: style - }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs)); + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); }; -Breadcrumb.Item = breadcrumb_BreadcrumbItem; -Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; -/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + -/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); /***/ }), -/***/ 63102: -/*!********************************************************************!*\ - !*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***! - \********************************************************************/ +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { // EXTERNAL MODULE: ./node_modules/antd/es/style/default.less var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less // extracted by mini-css-extract-plugin -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules -var style = __webpack_require__(68018); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules -var menu_style = __webpack_require__(83736); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js -// style dependencies +// deps-lint-skip: form + +/***/ }), + +/***/ 13013: +/*!************************************************!*\ + !*** ./node_modules/antd/es/dropdown/index.js ***! + \************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ 18562); +/* harmony default export */ __webpack_exports__["Z"] = (_dropdown__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); /***/ }), diff --git a/12819.chunk.css b/12819.chunk.css new file mode 100644 index 0000000000..b7afa3f34f --- /dev/null +++ b/12819.chunk.css @@ -0,0 +1,794 @@ +/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/pagination/style/index.less ***! + \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-pagination { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; +} +.ant-pagination ul, +.ant-pagination ol { + margin: 0; + padding: 0; + list-style: none; +} +.ant-pagination::after { + display: block; + clear: both; + height: 0; + overflow: hidden; + visibility: hidden; + content: ' '; +} +.ant-pagination-total-text { + display: inline-block; + height: 28px; + margin-right: 8px; + line-height: 26px; + vertical-align: middle; +} +.ant-pagination-item { + display: inline-block; + min-width: 28px; + height: 28px; + margin-right: 8px; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; + line-height: 26px; + text-align: center; + vertical-align: middle; + list-style: none; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + outline: 0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.ant-pagination-item a { + display: block; + padding: 0 6px; + color: rgba(0, 0, 0, 0.85); + transition: none; +} +.ant-pagination-item a:hover { + text-decoration: none; +} +.ant-pagination-item:hover { + border-color: #3061D0; + transition: all 0.3s; +} +.ant-pagination-item:hover a { + color: #3061D0; +} +.ant-pagination-item:focus-visible { + border-color: #3061D0; + transition: all 0.3s; +} +.ant-pagination-item:focus-visible a { + color: #3061D0; +} +.ant-pagination-item-active { + font-weight: 500; + background: #fff; + border-color: #3061D0; +} +.ant-pagination-item-active a { + color: #3061D0; +} +.ant-pagination-item-active:hover { + border-color: #5784de; +} +.ant-pagination-item-active:focus-visible { + border-color: #5784de; +} +.ant-pagination-item-active:hover a { + color: #5784de; +} +.ant-pagination-item-active:focus-visible a { + color: #5784de; +} +.ant-pagination-jump-prev, +.ant-pagination-jump-next { + outline: 0; +} +.ant-pagination-jump-prev .ant-pagination-item-container, +.ant-pagination-jump-next .ant-pagination-item-container { + position: relative; +} +.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon, +.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon { + color: #3061D0; + font-size: 12px; + letter-spacing: -1px; + opacity: 0; + transition: all 0.2s; +} +.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg, +.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg { + top: 0; + right: 0; + bottom: 0; + left: 0; + margin: auto; +} +.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis, +.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + display: block; + margin: auto; + color: rgba(0, 0, 0, 0.25); + font-family: Arial, Helvetica, sans-serif; + letter-spacing: 2px; + text-align: center; + text-indent: 0.13em; + opacity: 1; + transition: all 0.2s; +} +.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon, +.ant-pagination-jump-next:hover .ant-pagination-item-link-icon { + opacity: 1; +} +.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis, +.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis { + opacity: 0; +} +.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon, +.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon { + opacity: 1; +} +.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis, +.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis { + opacity: 0; +} +.ant-pagination-prev, +.ant-pagination-jump-prev, +.ant-pagination-jump-next { + margin-right: 8px; +} +.ant-pagination-prev, +.ant-pagination-next, +.ant-pagination-jump-prev, +.ant-pagination-jump-next { + display: inline-block; + min-width: 28px; + height: 28px; + color: rgba(0, 0, 0, 0.85); + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; + line-height: 28px; + text-align: center; + vertical-align: middle; + list-style: none; + border-radius: 2px; + cursor: pointer; + transition: all 0.3s; +} +.ant-pagination-prev, +.ant-pagination-next { + font-family: Arial, Helvetica, sans-serif; + outline: 0; +} +.ant-pagination-prev button, +.ant-pagination-next button { + color: rgba(0, 0, 0, 0.85); + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.ant-pagination-prev:hover button, +.ant-pagination-next:hover button { + border-color: #5784de; +} +.ant-pagination-prev .ant-pagination-item-link, +.ant-pagination-next .ant-pagination-item-link { + display: block; + width: 100%; + height: 100%; + padding: 0; + font-size: 12px; + text-align: center; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + outline: none; + transition: all 0.3s; +} +.ant-pagination-prev:focus-visible .ant-pagination-item-link, +.ant-pagination-next:focus-visible .ant-pagination-item-link { + color: #3061D0; + border-color: #3061D0; +} +.ant-pagination-prev:hover .ant-pagination-item-link, +.ant-pagination-next:hover .ant-pagination-item-link { + color: #3061D0; + border-color: #3061D0; +} +.ant-pagination-disabled, +.ant-pagination-disabled:hover { + cursor: not-allowed; +} +.ant-pagination-disabled .ant-pagination-item-link, +.ant-pagination-disabled:hover .ant-pagination-item-link { + color: rgba(0, 0, 0, 0.25); + border-color: #d9d9d9; + cursor: not-allowed; +} +.ant-pagination-disabled:focus-visible { + cursor: not-allowed; +} +.ant-pagination-disabled:focus-visible .ant-pagination-item-link { + color: rgba(0, 0, 0, 0.25); + border-color: #d9d9d9; + cursor: not-allowed; +} +.ant-pagination-slash { + margin: 0 10px 0 5px; +} +.ant-pagination-options { + display: inline-block; + margin-left: 16px; + vertical-align: middle; +} +@media all and (-ms-high-contrast: none) { + .ant-pagination-options *::-ms-backdrop, + .ant-pagination-options { + vertical-align: top; + } +} +.ant-pagination-options-size-changer.ant-select { + display: inline-block; + width: auto; +} +.ant-pagination-options-quick-jumper { + display: inline-block; + height: 28px; + margin-left: 4px; + line-height: 28px; + vertical-align: top; +} +.ant-pagination-options-quick-jumper input { + position: relative; + display: inline-block; + width: 100%; + min-width: 0; + padding: 3px 7px; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + line-height: 1.66667; + background-color: #fff; + background-image: none; + border: 1px solid #d9d9d9; + border-radius: 2px; + transition: all 0.3s; + width: 50px; + height: 28px; + margin: 0 8px; +} +.ant-pagination-options-quick-jumper input::-webkit-input-placeholder { + color: #bfbfbf; + -webkit-user-select: none; + user-select: none; +} +.ant-pagination-options-quick-jumper input:-ms-input-placeholder { + color: #bfbfbf; + -ms-user-select: none; + user-select: none; +} +.ant-pagination-options-quick-jumper input::-ms-input-placeholder { + color: #bfbfbf; + -ms-user-select: none; + user-select: none; +} +.ant-pagination-options-quick-jumper input::placeholder { + color: #bfbfbf; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.ant-pagination-options-quick-jumper input:-ms-input-placeholder { + text-overflow: ellipsis; +} +.ant-pagination-options-quick-jumper input:placeholder-shown { + text-overflow: ellipsis; +} +.ant-pagination-options-quick-jumper input:hover { + border-color: #5784de; + border-right-width: 1px; +} +.ant-pagination-options-quick-jumper input:focus, +.ant-pagination-options-quick-jumper input-focused { + border-color: #5784de; + box-shadow: 0 0 0 2px rgba(48, 97, 208, 0.2); + border-right-width: 1px; + outline: 0; +} +.ant-pagination-options-quick-jumper input-disabled { + color: rgba(0, 0, 0, 0.25); + background-color: #f5f5f5; + border-color: #d9d9d9; + box-shadow: none; + cursor: not-allowed; + opacity: 1; +} +.ant-pagination-options-quick-jumper input-disabled:hover { + border-color: #d9d9d9; + border-right-width: 1px; +} +.ant-pagination-options-quick-jumper input[disabled] { + color: rgba(0, 0, 0, 0.25); + background-color: #f5f5f5; + border-color: #d9d9d9; + box-shadow: none; + cursor: not-allowed; + opacity: 1; +} +.ant-pagination-options-quick-jumper input[disabled]:hover { + border-color: #d9d9d9; + border-right-width: 1px; +} +.ant-pagination-options-quick-jumper input-borderless, +.ant-pagination-options-quick-jumper input-borderless:hover, +.ant-pagination-options-quick-jumper input-borderless:focus, +.ant-pagination-options-quick-jumper input-borderless-focused, +.ant-pagination-options-quick-jumper input-borderless-disabled, +.ant-pagination-options-quick-jumper input-borderless[disabled] { + background-color: transparent; + border: none; + box-shadow: none; +} +textarea.ant-pagination-options-quick-jumper input { + max-width: 100%; + height: auto; + min-height: 28px; + line-height: 1.66667; + vertical-align: bottom; + transition: all 0.3s, height 0s; +} +.ant-pagination-options-quick-jumper input-lg { + padding: 3.4px 11px; + font-size: 14px; +} +.ant-pagination-options-quick-jumper input-sm { + padding: 0px 7px; +} +.ant-pagination-simple .ant-pagination-prev, +.ant-pagination-simple .ant-pagination-next { + height: 22px; + line-height: 22px; + vertical-align: top; +} +.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link, +.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link { + height: 22px; + background-color: transparent; + border: 0; +} +.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link::after, +.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link::after { + height: 22px; + line-height: 22px; +} +.ant-pagination-simple .ant-pagination-simple-pager { + display: inline-block; + height: 22px; + margin-right: 8px; +} +.ant-pagination-simple .ant-pagination-simple-pager input { + box-sizing: border-box; + height: 100%; + margin-right: 8px; + padding: 0 6px; + text-align: center; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + outline: none; + transition: border-color 0.3s; +} +.ant-pagination-simple .ant-pagination-simple-pager input:hover { + border-color: #3061D0; +} +.ant-pagination-simple .ant-pagination-simple-pager input:focus { + border-color: #5784de; + box-shadow: 0 0 0 2px rgba(48, 97, 208, 0.2); +} +.ant-pagination-simple .ant-pagination-simple-pager input[disabled] { + color: rgba(0, 0, 0, 0.25); + background: #f5f5f5; + border-color: #d9d9d9; + cursor: not-allowed; +} +.ant-pagination.ant-pagination-mini .ant-pagination-total-text, +.ant-pagination.ant-pagination-mini .ant-pagination-simple-pager { + height: 22px; + line-height: 22px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-item { + min-width: 22px; + height: 22px; + margin: 0; + line-height: 20px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-item:not(.ant-pagination-item-active) { + background: transparent; + border-color: transparent; +} +.ant-pagination.ant-pagination-mini .ant-pagination-prev, +.ant-pagination.ant-pagination-mini .ant-pagination-next { + min-width: 22px; + height: 22px; + margin: 0; + line-height: 22px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link, +.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link { + background: transparent; + border-color: transparent; +} +.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link::after, +.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link::after { + height: 22px; + line-height: 22px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-jump-prev, +.ant-pagination.ant-pagination-mini .ant-pagination-jump-next { + height: 22px; + margin-right: 0; + line-height: 22px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-options { + margin-left: 2px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-options-size-changer { + top: 1px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper { + height: 22px; + line-height: 22px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper input { + padding: 0px 7px; + width: 44px; + height: 22px; +} +.ant-pagination.ant-pagination-disabled { + cursor: not-allowed; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item { + background: #f5f5f5; + border-color: #d9d9d9; + cursor: not-allowed; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item a { + color: rgba(0, 0, 0, 0.25); + background: transparent; + border: none; + cursor: not-allowed; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item-active { + background: #e6e6e6; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a { + color: rgba(0, 0, 0, 0.25); +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item-link { + color: rgba(0, 0, 0, 0.25); + background: #f5f5f5; + border-color: #d9d9d9; + cursor: not-allowed; +} +.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link { + background: transparent; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon { + opacity: 0; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis { + opacity: 1; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager { + color: rgba(0, 0, 0, 0.25); +} +@media only screen and (max-width: 992px) { + .ant-pagination-item-after-jump-prev, + .ant-pagination-item-before-jump-next { + display: none; + } +} +@media only screen and (max-width: 576px) { + .ant-pagination-options { + display: none; + } +} +.ant-pagination-rtl .ant-pagination-total-text { + margin-right: 0; + margin-left: 8px; +} +.ant-pagination-rtl .ant-pagination-item, +.ant-pagination-rtl .ant-pagination-prev, +.ant-pagination-rtl .ant-pagination-jump-prev, +.ant-pagination-rtl .ant-pagination-jump-next { + margin-right: 0; + margin-left: 8px; +} +.ant-pagination-rtl .ant-pagination-slash { + margin: 0 5px 0 10px; +} +.ant-pagination-rtl .ant-pagination-options { + margin-right: 16px; + margin-left: 0; +} +.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select { + margin-right: 0; + margin-left: 8px; +} +.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper { + margin-left: 0; +} +.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager { + margin-right: 0; + margin-left: 8px; +} +.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input { + margin-right: 0; + margin-left: 8px; +} +.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options { + margin-right: 2px; + margin-left: 0; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/36040.async.js b/14506.async.js similarity index 73% rename from 36040.async.js rename to 14506.async.js index 01a3f77208..5124fce995 100644 --- a/36040.async.js +++ b/14506.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[36040,36579,23805,62654,69085],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[14506,36579,46981,23805,61437,69085],{ /***/ 5467: /*!**********************************************************!*\ @@ -284,6 +284,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 27049: @@ -1261,6 +1558,195 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/36040.chunk.css b/14506.chunk.css similarity index 87% rename from 36040.chunk.css rename to 14506.chunk.css index b3aeb0c45f..bbcfbb8371 100644 --- a/36040.chunk.css +++ b/14506.chunk.css @@ -800,6 +800,238 @@ li:last-child > .ant-breadcrumb-separator { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/radio/style/index.less ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/15973.async.js b/15973.async.js index 5e73f8385a..563c2753c6 100644 --- a/15973.async.js +++ b/15973.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[15973,42573,33210,92785,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[15973,42573,33210,92785,95946,87388],{ /***/ 58492: /*!**************************************************************!*\ diff --git a/69245.async.js b/16346.async.js similarity index 79% rename from 69245.async.js rename to 16346.async.js index 69facf52d3..20533c6638 100644 --- a/69245.async.js +++ b/16346.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[69245,42573,1264,29848,68661,88975,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[16346,42573,95369,77248,60887,6812,88975,99491,97141,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ @@ -411,6 +411,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: diff --git a/75004.async.js b/16484.async.js similarity index 58% rename from 75004.async.js rename to 16484.async.js index e80318644f..613cfe2042 100644 --- a/75004.async.js +++ b/16484.async.js @@ -1,5 +1,302 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[75004,92023],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[16484],{ + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), /***/ 75008: /*!*********************************************************!*\ @@ -411,443 +708,6 @@ var style_default = __webpack_require__(43146); -/***/ }), - -/***/ 73481: -/*!*************************************************************!*\ - !*** ./node_modules/antd/es/skeleton/index.js + 11 modules ***! - \*************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ skeleton; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(71002); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js -var omit = __webpack_require__(98423); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Element.js - - - - -var Element = function Element(props) { - var _classNames, _classNames2; - var prefixCls = props.prefixCls, - className = props.className, - style = props.style, - size = props.size, - shape = props.shape; - var sizeCls = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), _classNames)); - var shapeCls = classnames_default()((_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-circle"), shape === 'circle'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-square"), shape === 'square'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-round"), shape === 'round'), _classNames2)); - var sizeStyle = react.useMemo(function () { - return typeof size === 'number' ? { - width: size, - height: size, - lineHeight: "".concat(size, "px") - } : {}; - }, [size]); - return /*#__PURE__*/react.createElement("span", { - className: classnames_default()(prefixCls, sizeCls, shapeCls, className), - style: (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, sizeStyle), style) - }); -}; -/* harmony default export */ var skeleton_Element = (Element); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Avatar.js - - - - - - - -var SkeletonAvatar = function SkeletonAvatar(props) { - var customizePrefixCls = props.prefixCls, - className = props.className, - active = props.active, - _props$shape = props.shape, - shape = _props$shape === void 0 ? 'circle' : _props$shape, - _props$size = props.size, - size = _props$size === void 0 ? 'default' : _props$size; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('skeleton', customizePrefixCls); - var otherProps = (0,omit/* default */.Z)(props, ['prefixCls', 'className']); - var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className); - return /*#__PURE__*/react.createElement("div", { - className: cls - }, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({ - prefixCls: "".concat(prefixCls, "-avatar"), - shape: shape, - size: size - }, otherProps))); -}; -/* harmony default export */ var Avatar = (SkeletonAvatar); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Button.js - - - - - - - -var SkeletonButton = function SkeletonButton(props) { - var _classNames; - var customizePrefixCls = props.prefixCls, - className = props.className, - active = props.active, - _props$block = props.block, - block = _props$block === void 0 ? false : _props$block, - _props$size = props.size, - size = _props$size === void 0 ? 'default' : _props$size; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('skeleton', customizePrefixCls); - var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']); - var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className); - return /*#__PURE__*/react.createElement("div", { - className: cls - }, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({ - prefixCls: "".concat(prefixCls, "-button"), - size: size - }, otherProps))); -}; -/* harmony default export */ var Button = (SkeletonButton); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js -// This icon file is generated automatically. -var DotChartOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "dot-chart", "theme": "outlined" }; -/* harmony default export */ var asn_DotChartOutlined = (DotChartOutlined); - -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(93771); -;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DotChartOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var DotChartOutlined_DotChartOutlined = function DotChartOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_DotChartOutlined - })); -}; -DotChartOutlined_DotChartOutlined.displayName = 'DotChartOutlined'; -/* harmony default export */ var icons_DotChartOutlined = (/*#__PURE__*/react.forwardRef(DotChartOutlined_DotChartOutlined)); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Node.js - - - - - -var SkeletonNode = function SkeletonNode(props) { - var customizePrefixCls = props.prefixCls, - className = props.className, - style = props.style, - active = props.active, - children = props.children; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('skeleton', customizePrefixCls); - var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className); - var content = children !== null && children !== void 0 ? children : /*#__PURE__*/react.createElement(icons_DotChartOutlined, null); - return /*#__PURE__*/react.createElement("div", { - className: cls - }, /*#__PURE__*/react.createElement("div", { - className: classnames_default()("".concat(prefixCls, "-image"), className), - style: style - }, content)); -}; -/* harmony default export */ var Node = (SkeletonNode); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Image.js - - - - -var path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z'; -var SkeletonImage = function SkeletonImage(props) { - var customizePrefixCls = props.prefixCls, - className = props.className, - style = props.style, - active = props.active; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('skeleton', customizePrefixCls); - var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className); - return /*#__PURE__*/react.createElement("div", { - className: cls - }, /*#__PURE__*/react.createElement("div", { - className: classnames_default()("".concat(prefixCls, "-image"), className), - style: style - }, /*#__PURE__*/react.createElement("svg", { - viewBox: "0 0 1098 1024", - xmlns: "http://www.w3.org/2000/svg", - className: "".concat(prefixCls, "-image-svg") - }, /*#__PURE__*/react.createElement("path", { - d: path, - className: "".concat(prefixCls, "-image-path") - })))); -}; -/* harmony default export */ var Image = (SkeletonImage); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Input.js - - - - - - - -var SkeletonInput = function SkeletonInput(props) { - var _classNames; - var customizePrefixCls = props.prefixCls, - className = props.className, - active = props.active, - block = props.block, - _props$size = props.size, - size = _props$size === void 0 ? 'default' : _props$size; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('skeleton', customizePrefixCls); - var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']); - var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className); - return /*#__PURE__*/react.createElement("div", { - className: cls - }, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({ - prefixCls: "".concat(prefixCls, "-input"), - size: size - }, otherProps))); -}; -/* harmony default export */ var Input = (SkeletonInput); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(74902); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Paragraph.js - - - -var Paragraph = function Paragraph(props) { - var getWidth = function getWidth(index) { - var width = props.width, - _props$rows = props.rows, - rows = _props$rows === void 0 ? 2 : _props$rows; - if (Array.isArray(width)) { - return width[index]; - } - // last paragraph - if (rows - 1 === index) { - return width; - } - return undefined; - }; - var prefixCls = props.prefixCls, - className = props.className, - style = props.style, - rows = props.rows; - var rowList = (0,toConsumableArray/* default */.Z)(Array(rows)).map(function (_, index) { - return ( - /*#__PURE__*/ - // eslint-disable-next-line react/no-array-index-key - react.createElement("li", { - key: index, - style: { - width: getWidth(index) - } - }) - ); - }); - return /*#__PURE__*/react.createElement("ul", { - className: classnames_default()(prefixCls, className), - style: style - }, rowList); -}; -/* harmony default export */ var skeleton_Paragraph = (Paragraph); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Title.js - -/* eslint-disable jsx-a11y/heading-has-content */ - - -var Title = function Title(_ref) { - var prefixCls = _ref.prefixCls, - className = _ref.className, - width = _ref.width, - style = _ref.style; - return /*#__PURE__*/react.createElement("h3", { - className: classnames_default()(prefixCls, className), - style: (0,esm_extends/* default */.Z)({ - width: width - }, style) - }); -}; -/* harmony default export */ var skeleton_Title = (Title); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Skeleton.js - - - - - - - - - - - - - - -function getComponentProps(prop) { - if (prop && (0,esm_typeof/* default */.Z)(prop) === 'object') { - return prop; - } - return {}; -} -function getAvatarBasicProps(hasTitle, hasParagraph) { - if (hasTitle && !hasParagraph) { - // Square avatar - return { - size: 'large', - shape: 'square' - }; - } - return { - size: 'large', - shape: 'circle' - }; -} -function getTitleBasicProps(hasAvatar, hasParagraph) { - if (!hasAvatar && hasParagraph) { - return { - width: '38%' - }; - } - if (hasAvatar && hasParagraph) { - return { - width: '50%' - }; - } - return {}; -} -function getParagraphBasicProps(hasAvatar, hasTitle) { - var basicProps = {}; - // Width - if (!hasAvatar || !hasTitle) { - basicProps.width = '61%'; - } - // Rows - if (!hasAvatar && hasTitle) { - basicProps.rows = 3; - } else { - basicProps.rows = 2; - } - return basicProps; -} -var Skeleton = function Skeleton(props) { - var customizePrefixCls = props.prefixCls, - loading = props.loading, - className = props.className, - style = props.style, - children = props.children, - _props$avatar = props.avatar, - avatar = _props$avatar === void 0 ? false : _props$avatar, - _props$title = props.title, - title = _props$title === void 0 ? true : _props$title, - _props$paragraph = props.paragraph, - paragraph = _props$paragraph === void 0 ? true : _props$paragraph, - active = props.active, - round = props.round; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var prefixCls = getPrefixCls('skeleton', customizePrefixCls); - if (loading || !('loading' in props)) { - var _classNames; - var hasAvatar = !!avatar; - var hasTitle = !!title; - var hasParagraph = !!paragraph; - // Avatar - var avatarNode; - if (hasAvatar) { - var avatarProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({ - prefixCls: "".concat(prefixCls, "-avatar") - }, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar)); - // We direct use SkeletonElement as avatar in skeleton internal. - avatarNode = /*#__PURE__*/react.createElement("div", { - className: "".concat(prefixCls, "-header") - }, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({}, avatarProps))); - } - var contentNode; - if (hasTitle || hasParagraph) { - // Title - var $title; - if (hasTitle) { - var titleProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({ - prefixCls: "".concat(prefixCls, "-title") - }, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title)); - $title = /*#__PURE__*/react.createElement(skeleton_Title, (0,esm_extends/* default */.Z)({}, titleProps)); - } - // Paragraph - var paragraphNode; - if (hasParagraph) { - var paragraphProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({ - prefixCls: "".concat(prefixCls, "-paragraph") - }, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph)); - paragraphNode = /*#__PURE__*/react.createElement(skeleton_Paragraph, (0,esm_extends/* default */.Z)({}, paragraphProps)); - } - contentNode = /*#__PURE__*/react.createElement("div", { - className: "".concat(prefixCls, "-content") - }, $title, paragraphNode); - } - var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-avatar"), hasAvatar), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-round"), round), _classNames), className); - return /*#__PURE__*/react.createElement("div", { - className: cls, - style: style - }, avatarNode, contentNode); - } - return typeof children !== 'undefined' ? children : null; -}; -Skeleton.Button = Button; -Skeleton.Avatar = Avatar; -Skeleton.Input = Input; -Skeleton.Image = Image; -Skeleton.Node = Node; -/* harmony default export */ var skeleton_Skeleton = (Skeleton); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/index.js - -/* harmony default export */ var skeleton = (skeleton_Skeleton); - -/***/ }), - -/***/ 61099: -/*!******************************************************************!*\ - !*** ./node_modules/antd/es/skeleton/style/index.js + 1 modules ***! - \******************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.js - - - /***/ }), /***/ 7124: diff --git a/8083.async.js b/16827.async.js similarity index 70% rename from 8083.async.js rename to 16827.async.js index 52a19dfd89..e4cf2f1511 100644 --- a/8083.async.js +++ b/16827.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[8083,72693],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[16827],{ /***/ 7918: /*!******************************************************************************!*\ @@ -529,26 +529,6 @@ CloseOutlined.displayName = 'CloseOutlined'; /***/ }), -/***/ 5467: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } -/* harmony export */ }); -function getDataOrAriaProps(props) { - return Object.keys(props).reduce(function (prev, key) { - if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { - prev[key] = props[key]; - } - return prev; - }, {}); -} - -/***/ }), - /***/ 14670: /*!*********************************************************!*\ !*** ./node_modules/antd/es/alert/index.js + 1 modules ***! @@ -851,290 +831,6 @@ var style_default = __webpack_require__(43146); -/***/ }), - -/***/ 29924: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "ZP": function() { return /* binding */ es_radio; } -}); - -// UNUSED EXPORTS: Button, Group - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(21770); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js -var getDataOrAriaProps = __webpack_require__(5467); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js - -var RadioGroupContext = /*#__PURE__*/react.createContext(null); -var RadioGroupContextProvider = RadioGroupContext.Provider; -/* harmony default export */ var radio_context = (RadioGroupContext); -var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); -var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; -// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js -var es = __webpack_require__(50132); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js -var DisabledContext = __webpack_require__(98866); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var InternalRadio = function InternalRadio(props, ref) { - var _classNames; - var groupContext = react.useContext(radio_context); - var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var innerRef = react.useRef(); - var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); - var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), - isFormItemInput = _useContext.isFormItemInput; - false ? 0 : void 0; - var onChange = function onChange(e) { - var _a, _b; - (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); - (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); - }; - var customizePrefixCls = props.prefixCls, - className = props.className, - children = props.children, - style = props.style, - customDisabled = props.disabled, - restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); - var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); - var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; - var radioProps = (0,esm_extends/* default */.Z)({}, restProps); - // ===================== Disabled ===================== - var disabled = react.useContext(DisabledContext/* default */.Z); - radioProps.disabled = customDisabled || disabled; - if (groupContext) { - radioProps.name = groupContext.name; - radioProps.onChange = onChange; - radioProps.checked = props.value === groupContext.value; - radioProps.disabled = radioProps.disabled || groupContext.disabled; - } - var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); - return ( - /*#__PURE__*/ - // eslint-disable-next-line jsx-a11y/label-has-associated-control - react.createElement("label", { - className: wrapperClassString, - style: style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave - }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { - type: "radio", - prefixCls: prefixCls, - ref: mergedRef - })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) - ); -}; -var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); -if (false) {} -/* harmony default export */ var radio_radio = (Radio); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js - - - - - - - - - - - -var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var size = react.useContext(SizeContext/* default */.Z); - var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { - value: props.value - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - value = _useMergedState2[0], - setValue = _useMergedState2[1]; - var onRadioChange = function onRadioChange(ev) { - var lastValue = value; - var val = ev.target.value; - if (!('value' in props)) { - setValue(val); - } - var onChange = props.onChange; - if (onChange && val !== lastValue) { - onChange(ev); - } - }; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className, - options = props.options, - _props$buttonStyle = props.buttonStyle, - buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, - disabled = props.disabled, - children = props.children, - customizeSize = props.size, - style = props.style, - id = props.id, - onMouseEnter = props.onMouseEnter, - onMouseLeave = props.onMouseLeave, - onFocus = props.onFocus, - onBlur = props.onBlur; - var prefixCls = getPrefixCls('radio', customizePrefixCls); - var groupPrefixCls = "".concat(prefixCls, "-group"); - var childrenToRender = children; - // 如果存在 options, 优先使用 - if (options && options.length > 0) { - childrenToRender = options.map(function (option) { - if (typeof option === 'string' || typeof option === 'number') { - // 此处类型自动推导为 string - return /*#__PURE__*/react.createElement(radio_radio, { - key: option.toString(), - prefixCls: prefixCls, - disabled: disabled, - value: option, - checked: value === option - }, option); - } - // 此处类型自动推导为 { label: string value: string } - return /*#__PURE__*/react.createElement(radio_radio, { - key: "radio-group-value-options-".concat(option.value), - prefixCls: prefixCls, - disabled: option.disabled || disabled, - value: option.value, - checked: value === option.value, - style: option.style - }, option.label); - }); - } - var mergedSize = customizeSize || size; - var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { - className: classString, - style: style, - onMouseEnter: onMouseEnter, - onMouseLeave: onMouseLeave, - onFocus: onFocus, - onBlur: onBlur, - id: id, - ref: ref - }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { - value: { - onChange: onRadioChange, - value: value, - disabled: props.disabled, - name: props.name, - optionType: props.optionType - } - }, childrenToRender)); -}); -/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js - -var radioButton_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - -var RadioButton = function RadioButton(props, ref) { - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var customizePrefixCls = props.prefixCls, - radioProps = radioButton_rest(props, ["prefixCls"]); - var prefixCls = getPrefixCls('radio', customizePrefixCls); - return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { - value: "button" - }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ - prefixCls: prefixCls - }, radioProps, { - type: "radio", - ref: ref - }))); -}; -/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js - - - - -var radio_Radio = radio_radio; -radio_Radio.Button = radioButton; -radio_Radio.Group = group; -radio_Radio.__ANT_RADIO = true; -/* harmony default export */ var es_radio = (radio_Radio); - -/***/ }), - -/***/ 83822: -/*!***************************************************************!*\ - !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js - - -// deps-lint-skip: form - /***/ }) }]); \ No newline at end of file diff --git a/8083.chunk.css b/16827.chunk.css similarity index 100% rename from 8083.chunk.css rename to 16827.chunk.css diff --git a/32640.async.js b/17942.async.js similarity index 78% rename from 32640.async.js rename to 17942.async.js index 9bba48edbe..56cd180f32 100644 --- a/32640.async.js +++ b/17942.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[32640,42573,50745,88975,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[17942,42573,40722,6812,88975,99491,97141,88092,95946,87388],{ /***/ 82826: /*!**********************************************************************************!*\ @@ -370,6 +370,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: diff --git a/20139.async.js b/20139.async.js index 81c37ada06..f41682c3a9 100644 --- a/20139.async.js +++ b/20139.async.js @@ -161,13 +161,14 @@ var AsyncButton = function AsyncButton(_ref) { return props.onClick(e); case 4: setBtnLoading(false); - _context.next = 10; + _context.next = 11; break; case 7: _context.prev = 7; _context.t0 = _context["catch"](0); + console.error(_context.t0); setBtnLoading(false); - case 10: + case 11: case "end": return _context.stop(); } diff --git a/42241.async.js b/20812.async.js similarity index 84% rename from 42241.async.js rename to 20812.async.js index e0d274e107..b12e23bbfd 100644 --- a/42241.async.js +++ b/20812.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[42241,71514,36579,72693,23805,62654,66582,34131,98991,5506,97073,88201,89626,79256,794,48896,28020,32415,47638,3446,95112],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[20812,71514,36579,72693,46981,23805,61437,66582,34131,98991,5506,97073,89626,79256,794,48896,47638,3446,28020,32415,21104],{ /***/ 509: /*!*********************************************************************!*\ @@ -562,6 +562,303 @@ function getDataOrAriaProps(props) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 13013: /*!************************************************!*\ !*** ./node_modules/antd/es/dropdown/index.js ***! @@ -2377,6 +2674,195 @@ SearchOutlined.displayName = 'SearchOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 34243: /*!**********************************************************!*\ !*** ./node_modules/rc-overflow/es/index.js + 4 modules ***! diff --git a/42241.chunk.css b/20812.chunk.css similarity index 87% rename from 42241.chunk.css rename to 20812.chunk.css index fb3e906937..116a504667 100644 --- a/42241.chunk.css +++ b/20812.chunk.css @@ -744,6 +744,238 @@ span.ant-radio + * { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/form/style/index.less ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/2082.async.js b/2082.async.js index f91c6c6098..f05fcc1a9c 100644 --- a/2082.async.js +++ b/2082.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[2082,72693],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[2082,72693,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -831,6 +831,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/20959.async.js b/20959.async.js index 6493172951..f96b0748d4 100644 --- a/20959.async.js +++ b/20959.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[20959,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[20959,36579,23805],{ /***/ 7918: /*!******************************************************************************!*\ diff --git a/21104.async.js b/21104.async.js new file mode 100644 index 0000000000..70cb7d2e43 --- /dev/null +++ b/21104.async.js @@ -0,0 +1,694 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[21104],{ + +/***/ 7918: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ AntdIcon; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// 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/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js + +var IconContext = /*#__PURE__*/(0,react.createContext)({}); +/* harmony default export */ var Context = (IconContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +// EXTERNAL MODULE: ./node_modules/@ctrl/tinycolor/dist/module/conversion.js +var conversion = __webpack_require__(86500); +// EXTERNAL MODULE: ./node_modules/@ctrl/tinycolor/dist/module/format-input.js +var format_input = __webpack_require__(1350); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/@ant-design/colors/es/generate.js + +var hueStep = 2; // 色相阶梯 + +var saturationStep = 0.16; // 饱和度阶梯,浅色部分 + +var saturationStep2 = 0.05; // 饱和度阶梯,深色部分 + +var brightnessStep1 = 0.05; // 亮度阶梯,浅色部分 + +var brightnessStep2 = 0.15; // 亮度阶梯,深色部分 + +var lightColorCount = 5; // 浅色数量,主色上 + +var darkColorCount = 4; // 深色数量,主色下 +// 暗色主题颜色映射关系表 + +var darkColorMap = [{ + index: 7, + opacity: 0.15 +}, { + index: 6, + opacity: 0.25 +}, { + index: 5, + opacity: 0.3 +}, { + index: 5, + opacity: 0.45 +}, { + index: 5, + opacity: 0.65 +}, { + index: 5, + opacity: 0.85 +}, { + index: 4, + opacity: 0.9 +}, { + index: 3, + opacity: 0.95 +}, { + index: 2, + opacity: 0.97 +}, { + index: 1, + opacity: 0.98 +}]; + +// Wrapper function ported from TinyColor.prototype.toHsv +// Keep it here because of `hsv.h * 360` +function toHsv(_ref) { + var r = _ref.r, + g = _ref.g, + b = _ref.b; + var hsv = (0,conversion/* rgbToHsv */.py)(r, g, b); + return { + h: hsv.h * 360, + s: hsv.s, + v: hsv.v + }; +} // Wrapper function ported from TinyColor.prototype.toHexString +// Keep it here because of the prefix `#` + + +function toHex(_ref2) { + var r = _ref2.r, + g = _ref2.g, + b = _ref2.b; + return "#".concat((0,conversion/* rgbToHex */.vq)(r, g, b, false)); +} // Wrapper function ported from TinyColor.prototype.mix, not treeshakable. +// Amount in range [0, 1] +// Assume color1 & color2 has no alpha, since the following src code did so. + + +function mix(rgb1, rgb2, amount) { + var p = amount / 100; + var rgb = { + r: (rgb2.r - rgb1.r) * p + rgb1.r, + g: (rgb2.g - rgb1.g) * p + rgb1.g, + b: (rgb2.b - rgb1.b) * p + rgb1.b + }; + return rgb; +} + +function getHue(hsv, i, light) { + var hue; // 根据色相不同,色相转向不同 + + if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) { + hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i; + } else { + hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i; + } + + if (hue < 0) { + hue += 360; + } else if (hue >= 360) { + hue -= 360; + } + + return hue; +} + +function getSaturation(hsv, i, light) { + // grey color don't change saturation + if (hsv.h === 0 && hsv.s === 0) { + return hsv.s; + } + + var saturation; + + if (light) { + saturation = hsv.s - saturationStep * i; + } else if (i === darkColorCount) { + saturation = hsv.s + saturationStep; + } else { + saturation = hsv.s + saturationStep2 * i; + } // 边界值修正 + + + if (saturation > 1) { + saturation = 1; + } // 第一格的 s 限制在 0.06-0.1 之间 + + + if (light && i === lightColorCount && saturation > 0.1) { + saturation = 0.1; + } + + if (saturation < 0.06) { + saturation = 0.06; + } + + return Number(saturation.toFixed(2)); +} + +function getValue(hsv, i, light) { + var value; + + if (light) { + value = hsv.v + brightnessStep1 * i; + } else { + value = hsv.v - brightnessStep2 * i; + } + + if (value > 1) { + value = 1; + } + + return Number(value.toFixed(2)); +} + +function generate(color) { + var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var patterns = []; + var pColor = (0,format_input/* inputToRGB */.uA)(color); + + for (var i = lightColorCount; i > 0; i -= 1) { + var hsv = toHsv(pColor); + var colorString = toHex((0,format_input/* inputToRGB */.uA)({ + h: getHue(hsv, i, true), + s: getSaturation(hsv, i, true), + v: getValue(hsv, i, true) + })); + patterns.push(colorString); + } + + patterns.push(toHex(pColor)); + + for (var _i = 1; _i <= darkColorCount; _i += 1) { + var _hsv = toHsv(pColor); + + var _colorString = toHex((0,format_input/* inputToRGB */.uA)({ + h: getHue(_hsv, _i), + s: getSaturation(_hsv, _i), + v: getValue(_hsv, _i) + })); + + patterns.push(_colorString); + } // dark theme patterns + + + if (opts.theme === 'dark') { + return darkColorMap.map(function (_ref3) { + var index = _ref3.index, + opacity = _ref3.opacity; + var darkColorString = toHex(mix((0,format_input/* inputToRGB */.uA)(opts.backgroundColor || '#141414'), (0,format_input/* inputToRGB */.uA)(patterns[index]), opacity * 100)); + return darkColorString; + }); + } + + return patterns; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/@ant-design/colors/es/index.js + +var presetPrimaryColors = { + red: '#F5222D', + volcano: '#FA541C', + orange: '#FA8C16', + gold: '#FAAD14', + yellow: '#FADB14', + lime: '#A0D911', + green: '#52C41A', + cyan: '#13C2C2', + blue: '#1677FF', + geekblue: '#2F54EB', + purple: '#722ED1', + magenta: '#EB2F96', + grey: '#666666' +}; +var presetPalettes = {}; +var presetDarkPalettes = {}; +Object.keys(presetPrimaryColors).forEach(function (key) { + presetPalettes[key] = generate(presetPrimaryColors[key]); + presetPalettes[key].primary = presetPalettes[key][5]; // dark presetPalettes + + presetDarkPalettes[key] = generate(presetPrimaryColors[key], { + theme: 'dark', + backgroundColor: '#141414' + }); + presetDarkPalettes[key].primary = presetDarkPalettes[key][5]; +}); +var red = presetPalettes.red; +var volcano = presetPalettes.volcano; +var gold = presetPalettes.gold; +var orange = presetPalettes.orange; +var yellow = presetPalettes.yellow; +var lime = presetPalettes.lime; +var green = presetPalettes.green; +var cyan = presetPalettes.cyan; +var blue = presetPalettes.blue; +var geekblue = presetPalettes.geekblue; +var purple = presetPalettes.purple; +var magenta = presetPalettes.magenta; +var grey = presetPalettes.grey; +var gray = presetPalettes.grey; + +// EXTERNAL MODULE: ./node_modules/rc-util/es/warning.js +var warning = __webpack_require__(80334); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/dynamicCSS.js +var dynamicCSS = __webpack_require__(44958); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js + + + + + + + +function utils_warning(valid, message) { + (0,warning/* default */.ZP)(valid, "[@ant-design/icons] ".concat(message)); +} +function isIconDefinition(target) { + return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); +} +function normalizeAttrs() { + var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return Object.keys(attrs).reduce(function (acc, key) { + var val = attrs[key]; + switch (key) { + case 'class': + acc.className = val; + delete acc.class; + break; + default: + acc[key] = val; + } + return acc; + }, {}); +} +function utils_generate(node, key, rootProps) { + if (!rootProps) { + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { + return utils_generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); + } + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { + return utils_generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); +} +function getSecondaryColor(primaryColor) { + // choose the second color + return generate(primaryColor)[0]; +} +function normalizeTwoToneColors(twoToneColor) { + if (!twoToneColor) { + return []; + } + return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; +} +// These props make sure that the SVG behaviours like general text. +// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 +var svgBaseProps = { + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true', + focusable: 'false' +}; +var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; +var useInsertStyles = function useInsertStyles() { + var styleStr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : iconStyles; + var _useContext = (0,react.useContext)(Context), + csp = _useContext.csp, + prefixCls = _useContext.prefixCls; + var mergedStyleStr = styleStr; + if (prefixCls) { + mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); + } + (0,react.useEffect)(function () { + (0,dynamicCSS/* updateCSS */.hq)(mergedStyleStr, '@ant-design-icons', { + prepend: true, + csp: csp + }); + }, []); +}; +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js + + +var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; + +var twoToneColorPalette = { + primaryColor: '#333', + secondaryColor: '#E6E6E6', + calculated: false +}; +function setTwoToneColors(_ref) { + var primaryColor = _ref.primaryColor, + secondaryColor = _ref.secondaryColor; + twoToneColorPalette.primaryColor = primaryColor; + twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); + twoToneColorPalette.calculated = !!secondaryColor; +} +function getTwoToneColors() { + return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); +} +var IconBase = function IconBase(props) { + var icon = props.icon, + className = props.className, + onClick = props.onClick, + style = props.style, + primaryColor = props.primaryColor, + secondaryColor = props.secondaryColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var colors = twoToneColorPalette; + if (primaryColor) { + colors = { + primaryColor: primaryColor, + secondaryColor: secondaryColor || getSecondaryColor(primaryColor) + }; + } + useInsertStyles(); + utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); + if (!isIconDefinition(icon)) { + return null; + } + var target = icon; + if (target && typeof target.icon === 'function') { + target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { + icon: target.icon(colors.primaryColor, colors.secondaryColor) + }); + } + return utils_generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)({ + className: className, + onClick: onClick, + style: style, + 'data-icon': target.name, + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true' + }, restProps)); +}; +IconBase.displayName = 'IconReact'; +IconBase.getTwoToneColors = getTwoToneColors; +IconBase.setTwoToneColors = setTwoToneColors; +/* harmony default export */ var components_IconBase = (IconBase); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js + + + +function setTwoToneColor(twoToneColor) { + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return components_IconBase.setTwoToneColors({ + primaryColor: primaryColor, + secondaryColor: secondaryColor + }); +} +function getTwoToneColor() { + var colors = components_IconBase.getTwoToneColors(); + if (!colors.calculated) { + return colors.primaryColor; + } + return [colors.primaryColor, colors.secondaryColor]; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + + + + +var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; + + + + + + +// Initial setting +// should move it to antd main repo? +setTwoToneColor('#1890ff'); +var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var className = props.className, + icon = props.icon, + spin = props.spin, + rotate = props.rotate, + tabIndex = props.tabIndex, + onClick = props.onClick, + twoToneColor = props.twoToneColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); + var _React$useContext = react.useContext(Context), + _React$useContext$pre = _React$useContext.prefixCls, + prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, + rootClassName = _React$useContext.rootClassName; + var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); + var iconTabIndex = tabIndex; + if (iconTabIndex === undefined && onClick) { + iconTabIndex = -1; + } + var svgStyle = rotate ? { + msTransform: "rotate(".concat(rotate, "deg)"), + transform: "rotate(".concat(rotate, "deg)") + } : undefined; + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return /*#__PURE__*/react.createElement("span", (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + role: "img", + "aria-label": icon.name + }, restProps), {}, { + ref: ref, + tabIndex: iconTabIndex, + onClick: onClick, + className: classString + }), /*#__PURE__*/react.createElement(components_IconBase, { + icon: icon, + primaryColor: primaryColor, + secondaryColor: secondaryColor, + style: svgStyle + })); +}); +Icon.displayName = 'AntdIcon'; +Icon.getTwoToneColor = getTwoToneColor; +Icon.setTwoToneColor = setTwoToneColor; +/* harmony default export */ var AntdIcon = (Icon); + +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }) + +}]); \ No newline at end of file diff --git a/2206.async.js b/2206.async.js index 5269120b33..dc8d460b92 100644 --- a/2206.async.js +++ b/2206.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[2206,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[2206,36579,23805],{ /***/ 7918: /*!******************************************************************************!*\ diff --git a/2282.async.js b/2282.async.js index edd4fd7480..13bd407df9 100644 --- a/2282.async.js +++ b/2282.async.js @@ -307,6 +307,196 @@ var style_default = __webpack_require__(43146); /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 57761: /*!*********************************************************************!*\ !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! diff --git a/23916.async.js b/23916.async.js index 37aa539b1e..52e832f900 100644 --- a/23916.async.js +++ b/23916.async.js @@ -870,6 +870,196 @@ function copy(text, options) { module.exports = copy; +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }), /***/ 74300: diff --git a/25578.async.js b/25578.async.js index 8f62ac3dae..444a0346ff 100644 --- a/25578.async.js +++ b/25578.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[25578,75004,92023,79256],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[25578,79256,21104],{ /***/ 32857: /*!********************************************************************!*\ @@ -1852,6 +1852,195 @@ var SearchOutlined = function SearchOutlined(props, ref) { SearchOutlined.displayName = 'SearchOutlined'; /* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SearchOutlined)); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/25619.async.js b/25619.async.js index 569f787d63..99aa8d853d 100644 --- a/25619.async.js +++ b/25619.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[25619,34180,7303,79779],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[25619,34180,79779],{ /***/ 98787: /*!**********************************************!*\ diff --git a/26184.async.js b/26184.async.js index dbd0761831..4f942597c5 100644 --- a/26184.async.js +++ b/26184.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[26184,34180,25619,63695,7303,79779],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[26184,34180,25619,79779],{ /***/ 38900: /*!**********************************************************************!*\ diff --git a/26444.async.js b/26444.async.js index 472b20c8cc..031d608a00 100644 --- a/26444.async.js +++ b/26444.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[26444],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[26444,21104],{ /***/ 92287: /*!*****************************************************************!*\ @@ -1020,6 +1020,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/27703.async.js b/27703.async.js index bf4b025328..c0b1f9622f 100644 --- a/27703.async.js +++ b/27703.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[27703,36579,2282,2082,72693,23805,62654,79256,81425],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[27703,36579,2282,2082,72693,46981,23805,79256,81425,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1838,6 +1838,196 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }), /***/ 57761: diff --git a/28020.async.js b/28020.async.js index 750cecf1bd..bc580f3e0b 100644 --- a/28020.async.js +++ b/28020.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[28020,47638,3446],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[28020],{ /***/ 5467: /*!**********************************************************!*\ diff --git a/28338.async.js b/28338.async.js index 49a90bb675..d418b4ef88 100644 --- a/28338.async.js +++ b/28338.async.js @@ -307,6 +307,196 @@ var style_default = __webpack_require__(43146); /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 8322: /*!*********************************************!*\ !*** ./node_modules/spark-md5/spark-md5.js ***! diff --git a/17400.async.js b/29111.async.js similarity index 83% rename from 17400.async.js rename to 29111.async.js index c3d5fdee96..13f29a4499 100644 --- a/17400.async.js +++ b/29111.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[17400,42573,11417,45061,45886,92785,88975,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[29111,42573,77093,6812,45061,45886,92785,88975,99491,97141,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ @@ -332,6 +332,305 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 27049: diff --git a/23316.async.js b/29254.async.js similarity index 64% rename from 23316.async.js rename to 29254.async.js index e9b62d6178..2b84fa01aa 100644 --- a/23316.async.js +++ b/29254.async.js @@ -1,46 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[23316,42573,92785,95946,87388,69771],{ - -/***/ 64789: -/*!***********************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules ***! - \***********************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_PlusCircleOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/PlusCircleOutlined.js -// This icon file is generated automatically. -var PlusCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "plus-circle", "theme": "outlined" }; -/* harmony default export */ var asn_PlusCircleOutlined = (PlusCircleOutlined); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules -var AntdIcon = __webpack_require__(7918); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var PlusCircleOutlined_PlusCircleOutlined = function PlusCircleOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_PlusCircleOutlined - })); -}; -PlusCircleOutlined_PlusCircleOutlined.displayName = 'PlusCircleOutlined'; -/* harmony default export */ var icons_PlusCircleOutlined = (/*#__PURE__*/react.forwardRef(PlusCircleOutlined_PlusCircleOutlined)); - -/***/ }), +(self["webpackChunk"] = self["webpackChunk"] || []).push([[29254],{ /***/ 58492: /*!**************************************************************!*\ @@ -307,18 +266,42 @@ var menu_style = __webpack_require__(83736); /***/ }), -/***/ 27049: -/*!***********************************************!*\ - !*** ./node_modules/antd/es/divider/index.js ***! - \***********************************************/ +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); -/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ 53124); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + var __rest = undefined && undefined.__rest || function (s, e) { @@ -333,63 +316,250 @@ var __rest = undefined && undefined.__rest || function (s, e) { -var Divider = function Divider(props) { - var _classNames; - var _React$useContext = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__/* .ConfigContext */ .E_), + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), getPrefixCls = _React$useContext.getPrefixCls, direction = _React$useContext.direction; - var customizePrefixCls = props.prefixCls, - _props$type = props.type, - type = _props$type === void 0 ? 'horizontal' : _props$type, - _props$orientation = props.orientation, - orientation = _props$orientation === void 0 ? 'center' : _props$orientation, - orientationMargin = props.orientationMargin, - className = props.className, - children = props.children, - dashed = props.dashed, - plain = props.plain, - restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"]); - var prefixCls = getPrefixCls('divider', customizePrefixCls); - var orientationPrefix = orientation.length > 0 ? "-".concat(orientation) : orientation; - var hasChildren = !!children; - var hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; - var hasCustomMarginRight = orientation === 'right' && orientationMargin != null; - var classString = classnames__WEBPACK_IMPORTED_MODULE_0___default()(prefixCls, "".concat(prefixCls, "-").concat(type), (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text"), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text").concat(orientationPrefix), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-dashed"), !!dashed), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-plain"), !!plain), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-left"), hasCustomMarginLeft), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-right"), hasCustomMarginRight), _classNames), className); - var innerStyle = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, hasCustomMarginLeft && { - marginLeft: orientationMargin - }), hasCustomMarginRight && { - marginRight: orientationMargin - }); - // Warning children not work in vertical mode - if (false) {} - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - className: classString - }, restProps, { - role: "separator" - }), children && type !== 'vertical' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { - className: "".concat(prefixCls, "-inner-text"), - style: innerStyle + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context }, children)); }; -/* harmony default export */ __webpack_exports__["Z"] = (Divider); +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); /***/ }), -/***/ 98541: -/*!*****************************************************************!*\ - !*** ./node_modules/antd/es/divider/style/index.js + 1 modules ***! - \*****************************************************************/ +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { // EXTERNAL MODULE: ./node_modules/antd/es/style/default.less var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.less +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js +// deps-lint-skip: form /***/ }), @@ -768,176 +938,6 @@ input_Input.Password = input_Password; /***/ }), -/***/ 34041: -/*!**********************************************!*\ - !*** ./node_modules/antd/es/select/index.js ***! - \**********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); -/* 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_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 7752); -/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 98423); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); -/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 88258); -/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 98866); -/* harmony import */ var _config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider/SizeContext */ 97647); -/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../form/context */ 65223); -/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_util/motion */ 33603); -/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/statusUtils */ 9708); -/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/iconUtil */ 46163); -/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../space/Compact */ 4173); - - -// TODO: 4.0 - codemod should help to change `filterOption` to support node props. -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - - - - - - -var SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE'; -var InternalSelect = function InternalSelect(_a, ref) { - var _classNames2; - var customizePrefixCls = _a.prefixCls, - _a$bordered = _a.bordered, - bordered = _a$bordered === void 0 ? true : _a$bordered, - className = _a.className, - getPopupContainer = _a.getPopupContainer, - dropdownClassName = _a.dropdownClassName, - popupClassName = _a.popupClassName, - _a$listHeight = _a.listHeight, - listHeight = _a$listHeight === void 0 ? 256 : _a$listHeight, - placement = _a.placement, - _a$listItemHeight = _a.listItemHeight, - listItemHeight = _a$listItemHeight === void 0 ? 24 : _a$listItemHeight, - customizeSize = _a.size, - customDisabled = _a.disabled, - notFoundContent = _a.notFoundContent, - customStatus = _a.status, - showArrow = _a.showArrow, - props = __rest(_a, ["prefixCls", "bordered", "className", "getPopupContainer", "dropdownClassName", "popupClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "showArrow"]); - var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_), - getContextPopupContainer = _React$useContext.getPopupContainer, - getPrefixCls = _React$useContext.getPrefixCls, - renderEmpty = _React$useContext.renderEmpty, - direction = _React$useContext.direction, - virtual = _React$useContext.virtual, - dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth; - var size = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z); - var prefixCls = getPrefixCls('select', customizePrefixCls); - var rootPrefixCls = getPrefixCls(); - var _useCompactItemContex = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_5__/* .useCompactItemContext */ .ri)(prefixCls, direction), - compactSize = _useCompactItemContex.compactSize, - compactItemClassnames = _useCompactItemContex.compactItemClassnames; - var mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(function () { - var m = props.mode; - if (m === 'combobox') { - return undefined; - } - if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) { - return 'combobox'; - } - return m; - }, [props.mode]); - var isMultiple = mode === 'multiple' || mode === 'tags'; - var mergedShowArrow = showArrow !== undefined ? showArrow : props.loading || !(isMultiple || mode === 'combobox'); - // =================== Warning ===================== - false ? 0 : void 0; - // ===================== Form Status ===================== - var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_form_context__WEBPACK_IMPORTED_MODULE_6__/* .FormItemInputContext */ .aM), - contextStatus = _useContext.status, - hasFeedback = _useContext.hasFeedback, - isFormItemInput = _useContext.isFormItemInput, - feedbackIcon = _useContext.feedbackIcon; - var mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getMergedStatus */ .F)(contextStatus, customStatus); - // ===================== Empty ===================== - var mergedNotFound; - if (notFoundContent !== undefined) { - mergedNotFound = notFoundContent; - } else if (mode === 'combobox') { - mergedNotFound = null; - } else { - mergedNotFound = (renderEmpty || _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)('Select'); - } - // ===================== Icons ===================== - var _getIcons = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({}, props), { - multiple: isMultiple, - hasFeedback: hasFeedback, - feedbackIcon: feedbackIcon, - showArrow: mergedShowArrow, - prefixCls: prefixCls - })), - suffixIcon = _getIcons.suffixIcon, - itemIcon = _getIcons.itemIcon, - removeIcon = _getIcons.removeIcon, - clearIcon = _getIcons.clearIcon; - var selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']); - var rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl')); - var mergedSize = compactSize || customizeSize || size; - // ===================== Disabled ===================== - var disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z); - var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled; - var mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()((_classNames2 = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-in-form-item"), isFormItemInput), _classNames2), (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, className); - // ===================== Placement ===================== - var getPlacement = function getPlacement() { - if (placement !== undefined) { - return placement; - } - return direction === 'rtl' ? 'bottomRight' : 'bottomLeft'; - }; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({ - ref: ref, - virtual: virtual, - dropdownMatchSelectWidth: dropdownMatchSelectWidth - }, selectProps, { - transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionName */ .mL)(rootPrefixCls, (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionDirection */ .q0)(placement), props.transitionName), - listHeight: listHeight, - listItemHeight: listItemHeight, - mode: mode, - prefixCls: prefixCls, - placement: getPlacement(), - direction: direction, - inputIcon: suffixIcon, - menuItemSelectedIcon: itemIcon, - removeIcon: removeIcon, - clearIcon: clearIcon, - notFoundContent: mergedNotFound, - className: mergedClassName, - getPopupContainer: getPopupContainer || getContextPopupContainer, - dropdownClassName: rcSelectRtlDropdownClassName, - showArrow: hasFeedback || showArrow, - disabled: mergedDisabled - })); -}; -var Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect); -Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE; -Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx; -Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo; -/* harmony default export */ __webpack_exports__["Z"] = (Select); - -/***/ }), - /***/ 7124: /*!**********************************************************************************************!*\ !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! @@ -977,6 +977,195 @@ var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; /* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/30589.async.js b/30589.async.js new file mode 100644 index 0000000000..838d3b8c4c --- /dev/null +++ b/30589.async.js @@ -0,0 +1,1552 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[30589,34472],{ + +/***/ 66023: +/*!*******************************************************************!*\ + !*** ./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +// This icon file is generated automatically. +var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" }; +/* harmony default export */ __webpack_exports__["Z"] = (DownOutlined); + + +/***/ }), + +/***/ 58492: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ breadcrumb; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(50344); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules +var menu = __webpack_require__(66516); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js +var DownOutlined = __webpack_require__(13622); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules +var dropdown = __webpack_require__(18562); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var BreadcrumbItem = function BreadcrumbItem(props) { + var customizePrefixCls = props.prefixCls, + _props$separator = props.separator, + separator = _props$separator === void 0 ? '/' : _props$separator, + children = props.children, + menu = props.menu, + overlay = props.overlay, + dropdownProps = props.dropdownProps, + restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + // Warning for deprecated usage + if (false) {} + /** If overlay is have Wrap a Dropdown */ + var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) { + if (menu || overlay) { + return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({ + menu: menu, + overlay: overlay, + placement: "bottom" + }, dropdownProps), /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-overlay-link") + }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); + } + return breadcrumbItem; + }; + var link; + if ('href' in restProps) { + link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({ + className: "".concat(prefixCls, "-link") + }, restProps), children); + } else { + link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + className: "".concat(prefixCls, "-link") + }, restProps), children); + } + // wrap to dropDown + link = renderBreadcrumbNode(link); + if (children !== undefined && children !== null) { + return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-separator") + }, separator)); + } + return null; +}; +BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; +/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js + + +var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) { + var children = _ref.children; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('breadcrumb'); + return /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-separator") + }, children || '/'); +}; +BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; +/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js + + + +var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +function getBreadcrumbName(route, params) { + if (!route.breadcrumbName) { + return null; + } + var paramsKeys = Object.keys(params).join('|'); + var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) { + return params[key] || replacement; + }); + return name; +} +function defaultItemRender(route, params, routes, paths) { + var isLastItem = routes.indexOf(route) === routes.length - 1; + var name = getBreadcrumbName(route, params); + return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", { + href: "#/".concat(paths.join('/')) + }, name); +} +var getPath = function getPath(path, params) { + path = (path || '').replace(/^\//, ''); + Object.keys(params).forEach(function (key) { + path = path.replace(":".concat(key), params[key]); + }); + return path; +}; +var addChildPath = function addChildPath(paths, childPath, params) { + var originalPaths = (0,toConsumableArray/* default */.Z)(paths); + var path = getPath(childPath || '', params); + if (path) { + originalPaths.push(path); + } + return originalPaths; +}; +var Breadcrumb = function Breadcrumb(_a) { + var customizePrefixCls = _a.prefixCls, + _a$separator = _a.separator, + separator = _a$separator === void 0 ? '/' : _a$separator, + style = _a.style, + className = _a.className, + routes = _a.routes, + children = _a.children, + _a$itemRender = _a.itemRender, + itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender, + _a$params = _a.params, + params = _a$params === void 0 ? {} : _a$params, + restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var crumbs; + var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + if (routes && routes.length > 0) { + // generated by route + var paths = []; + crumbs = routes.map(function (route) { + var path = getPath(route.path, params); + if (path) { + paths.push(path); + } + // generated overlay by route.children + var overlay; + if (route.children && route.children.length) { + overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, { + items: route.children.map(function (child) { + return { + key: child.path || child.breadcrumbName, + label: itemRender(child, params, routes, addChildPath(paths, child.path, params)) + }; + }) + }); + } + var itemProps = { + separator: separator + }; + if (overlay) { + itemProps.overlay = overlay; + } + return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, { + key: path || route.breadcrumbName + }), itemRender(route, params, routes, paths)); + }); + } else if (children) { + crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) { + if (!element) { + return element; + } + false ? 0 : void 0; + return (0,reactNode/* cloneElement */.Tm)(element, { + separator: separator, + key: index + }); + }); + } + var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({ + className: breadcrumbClassName, + style: style + }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs)); +}; +Breadcrumb.Item = breadcrumb_BreadcrumbItem; +Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; +/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js + +/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); + +/***/ }), + +/***/ 63102: +/*!********************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less +// extracted by mini-css-extract-plugin + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(68018); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules +var menu_style = __webpack_require__(83736); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + + +// style dependencies + + + +/***/ }), + +/***/ 73481: +/*!*************************************************************!*\ + !*** ./node_modules/antd/es/skeleton/index.js + 11 modules ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ skeleton; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Element.js + + + + +var Element = function Element(props) { + var _classNames, _classNames2; + var prefixCls = props.prefixCls, + className = props.className, + style = props.style, + size = props.size, + shape = props.shape; + var sizeCls = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), _classNames)); + var shapeCls = classnames_default()((_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-circle"), shape === 'circle'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-square"), shape === 'square'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-round"), shape === 'round'), _classNames2)); + var sizeStyle = react.useMemo(function () { + return typeof size === 'number' ? { + width: size, + height: size, + lineHeight: "".concat(size, "px") + } : {}; + }, [size]); + return /*#__PURE__*/react.createElement("span", { + className: classnames_default()(prefixCls, sizeCls, shapeCls, className), + style: (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, sizeStyle), style) + }); +}; +/* harmony default export */ var skeleton_Element = (Element); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Avatar.js + + + + + + + +var SkeletonAvatar = function SkeletonAvatar(props) { + var customizePrefixCls = props.prefixCls, + className = props.className, + active = props.active, + _props$shape = props.shape, + shape = _props$shape === void 0 ? 'circle' : _props$shape, + _props$size = props.size, + size = _props$size === void 0 ? 'default' : _props$size; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('skeleton', customizePrefixCls); + var otherProps = (0,omit/* default */.Z)(props, ['prefixCls', 'className']); + var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className); + return /*#__PURE__*/react.createElement("div", { + className: cls + }, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({ + prefixCls: "".concat(prefixCls, "-avatar"), + shape: shape, + size: size + }, otherProps))); +}; +/* harmony default export */ var Avatar = (SkeletonAvatar); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Button.js + + + + + + + +var SkeletonButton = function SkeletonButton(props) { + var _classNames; + var customizePrefixCls = props.prefixCls, + className = props.className, + active = props.active, + _props$block = props.block, + block = _props$block === void 0 ? false : _props$block, + _props$size = props.size, + size = _props$size === void 0 ? 'default' : _props$size; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('skeleton', customizePrefixCls); + var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']); + var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className); + return /*#__PURE__*/react.createElement("div", { + className: cls + }, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({ + prefixCls: "".concat(prefixCls, "-button"), + size: size + }, otherProps))); +}; +/* harmony default export */ var Button = (SkeletonButton); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js +// This icon file is generated automatically. +var DotChartOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "dot-chart", "theme": "outlined" }; +/* harmony default export */ var asn_DotChartOutlined = (DotChartOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(93771); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DotChartOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var DotChartOutlined_DotChartOutlined = function DotChartOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + ref: ref, + icon: asn_DotChartOutlined + })); +}; +DotChartOutlined_DotChartOutlined.displayName = 'DotChartOutlined'; +/* harmony default export */ var icons_DotChartOutlined = (/*#__PURE__*/react.forwardRef(DotChartOutlined_DotChartOutlined)); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Node.js + + + + + +var SkeletonNode = function SkeletonNode(props) { + var customizePrefixCls = props.prefixCls, + className = props.className, + style = props.style, + active = props.active, + children = props.children; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('skeleton', customizePrefixCls); + var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className); + var content = children !== null && children !== void 0 ? children : /*#__PURE__*/react.createElement(icons_DotChartOutlined, null); + return /*#__PURE__*/react.createElement("div", { + className: cls + }, /*#__PURE__*/react.createElement("div", { + className: classnames_default()("".concat(prefixCls, "-image"), className), + style: style + }, content)); +}; +/* harmony default export */ var Node = (SkeletonNode); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Image.js + + + + +var path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z'; +var SkeletonImage = function SkeletonImage(props) { + var customizePrefixCls = props.prefixCls, + className = props.className, + style = props.style, + active = props.active; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('skeleton', customizePrefixCls); + var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className); + return /*#__PURE__*/react.createElement("div", { + className: cls + }, /*#__PURE__*/react.createElement("div", { + className: classnames_default()("".concat(prefixCls, "-image"), className), + style: style + }, /*#__PURE__*/react.createElement("svg", { + viewBox: "0 0 1098 1024", + xmlns: "http://www.w3.org/2000/svg", + className: "".concat(prefixCls, "-image-svg") + }, /*#__PURE__*/react.createElement("path", { + d: path, + className: "".concat(prefixCls, "-image-path") + })))); +}; +/* harmony default export */ var Image = (SkeletonImage); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Input.js + + + + + + + +var SkeletonInput = function SkeletonInput(props) { + var _classNames; + var customizePrefixCls = props.prefixCls, + className = props.className, + active = props.active, + block = props.block, + _props$size = props.size, + size = _props$size === void 0 ? 'default' : _props$size; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('skeleton', customizePrefixCls); + var otherProps = (0,omit/* default */.Z)(props, ['prefixCls']); + var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), _classNames), className); + return /*#__PURE__*/react.createElement("div", { + className: cls + }, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({ + prefixCls: "".concat(prefixCls, "-input"), + size: size + }, otherProps))); +}; +/* harmony default export */ var Input = (SkeletonInput); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Paragraph.js + + + +var Paragraph = function Paragraph(props) { + var getWidth = function getWidth(index) { + var width = props.width, + _props$rows = props.rows, + rows = _props$rows === void 0 ? 2 : _props$rows; + if (Array.isArray(width)) { + return width[index]; + } + // last paragraph + if (rows - 1 === index) { + return width; + } + return undefined; + }; + var prefixCls = props.prefixCls, + className = props.className, + style = props.style, + rows = props.rows; + var rowList = (0,toConsumableArray/* default */.Z)(Array(rows)).map(function (_, index) { + return ( + /*#__PURE__*/ + // eslint-disable-next-line react/no-array-index-key + react.createElement("li", { + key: index, + style: { + width: getWidth(index) + } + }) + ); + }); + return /*#__PURE__*/react.createElement("ul", { + className: classnames_default()(prefixCls, className), + style: style + }, rowList); +}; +/* harmony default export */ var skeleton_Paragraph = (Paragraph); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Title.js + +/* eslint-disable jsx-a11y/heading-has-content */ + + +var Title = function Title(_ref) { + var prefixCls = _ref.prefixCls, + className = _ref.className, + width = _ref.width, + style = _ref.style; + return /*#__PURE__*/react.createElement("h3", { + className: classnames_default()(prefixCls, className), + style: (0,esm_extends/* default */.Z)({ + width: width + }, style) + }); +}; +/* harmony default export */ var skeleton_Title = (Title); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/Skeleton.js + + + + + + + + + + + + + + +function getComponentProps(prop) { + if (prop && (0,esm_typeof/* default */.Z)(prop) === 'object') { + return prop; + } + return {}; +} +function getAvatarBasicProps(hasTitle, hasParagraph) { + if (hasTitle && !hasParagraph) { + // Square avatar + return { + size: 'large', + shape: 'square' + }; + } + return { + size: 'large', + shape: 'circle' + }; +} +function getTitleBasicProps(hasAvatar, hasParagraph) { + if (!hasAvatar && hasParagraph) { + return { + width: '38%' + }; + } + if (hasAvatar && hasParagraph) { + return { + width: '50%' + }; + } + return {}; +} +function getParagraphBasicProps(hasAvatar, hasTitle) { + var basicProps = {}; + // Width + if (!hasAvatar || !hasTitle) { + basicProps.width = '61%'; + } + // Rows + if (!hasAvatar && hasTitle) { + basicProps.rows = 3; + } else { + basicProps.rows = 2; + } + return basicProps; +} +var Skeleton = function Skeleton(props) { + var customizePrefixCls = props.prefixCls, + loading = props.loading, + className = props.className, + style = props.style, + children = props.children, + _props$avatar = props.avatar, + avatar = _props$avatar === void 0 ? false : _props$avatar, + _props$title = props.title, + title = _props$title === void 0 ? true : _props$title, + _props$paragraph = props.paragraph, + paragraph = _props$paragraph === void 0 ? true : _props$paragraph, + active = props.active, + round = props.round; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var prefixCls = getPrefixCls('skeleton', customizePrefixCls); + if (loading || !('loading' in props)) { + var _classNames; + var hasAvatar = !!avatar; + var hasTitle = !!title; + var hasParagraph = !!paragraph; + // Avatar + var avatarNode; + if (hasAvatar) { + var avatarProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({ + prefixCls: "".concat(prefixCls, "-avatar") + }, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar)); + // We direct use SkeletonElement as avatar in skeleton internal. + avatarNode = /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-header") + }, /*#__PURE__*/react.createElement(skeleton_Element, (0,esm_extends/* default */.Z)({}, avatarProps))); + } + var contentNode; + if (hasTitle || hasParagraph) { + // Title + var $title; + if (hasTitle) { + var titleProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({ + prefixCls: "".concat(prefixCls, "-title") + }, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title)); + $title = /*#__PURE__*/react.createElement(skeleton_Title, (0,esm_extends/* default */.Z)({}, titleProps)); + } + // Paragraph + var paragraphNode; + if (hasParagraph) { + var paragraphProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({ + prefixCls: "".concat(prefixCls, "-paragraph") + }, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph)); + paragraphNode = /*#__PURE__*/react.createElement(skeleton_Paragraph, (0,esm_extends/* default */.Z)({}, paragraphProps)); + } + contentNode = /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-content") + }, $title, paragraphNode); + } + var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-avatar"), hasAvatar), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-round"), round), _classNames), className); + return /*#__PURE__*/react.createElement("div", { + className: cls, + style: style + }, avatarNode, contentNode); + } + return typeof children !== 'undefined' ? children : null; +}; +Skeleton.Button = Button; +Skeleton.Avatar = Avatar; +Skeleton.Input = Input; +Skeleton.Image = Image; +Skeleton.Node = Node; +/* harmony default export */ var skeleton_Skeleton = (Skeleton); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/index.js + +/* harmony default export */ var skeleton = (skeleton_Skeleton); + +/***/ }), + +/***/ 61099: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/skeleton/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/skeleton/style/index.js + + + +/***/ }), + +/***/ 13622: +/*!***********************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_DownOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/DownOutlined */ 66023); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 93771); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var DownOutlined = function DownOutlined(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_DownOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +DownOutlined.displayName = 'DownOutlined'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(DownOutlined)); + +/***/ }), + +/***/ 34243: +/*!**********************************************************!*\ + !*** ./node_modules/rc-overflow/es/index.js + 4 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rc_overflow_es; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// 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/react/index.js +var react = __webpack_require__(67294); +// 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-resize-observer/es/index.js + 4 modules +var es = __webpack_require__(48555); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useLayoutEffect.js +var useLayoutEffect = __webpack_require__(8410); +;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/Item.js + + + +var _excluded = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "responsiveDisabled", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"]; + + + // Use shared variable to save bundle size + +var UNDEFINED = undefined; + +function InternalItem(props, ref) { + var prefixCls = props.prefixCls, + invalidate = props.invalidate, + item = props.item, + renderItem = props.renderItem, + responsive = props.responsive, + responsiveDisabled = props.responsiveDisabled, + registerSize = props.registerSize, + itemKey = props.itemKey, + className = props.className, + style = props.style, + children = props.children, + display = props.display, + order = props.order, + _props$component = props.component, + Component = _props$component === void 0 ? 'div' : _props$component, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + + var mergedHidden = responsive && !display; // ================================ Effect ================================ + + function internalRegisterSize(width) { + registerSize(itemKey, width); + } + + react.useEffect(function () { + return function () { + internalRegisterSize(null); + }; + }, []); // ================================ Render ================================ + + var childNode = renderItem && item !== UNDEFINED ? renderItem(item) : children; + var overflowStyle; + + if (!invalidate) { + overflowStyle = { + opacity: mergedHidden ? 0 : 1, + height: mergedHidden ? 0 : UNDEFINED, + overflowY: mergedHidden ? 'hidden' : UNDEFINED, + order: responsive ? order : UNDEFINED, + pointerEvents: mergedHidden ? 'none' : UNDEFINED, + position: mergedHidden ? 'absolute' : UNDEFINED + }; + } + + var overflowProps = {}; + + if (mergedHidden) { + overflowProps['aria-hidden'] = true; + } + + var itemNode = /*#__PURE__*/react.createElement(Component, (0,esm_extends/* default */.Z)({ + className: classnames_default()(!invalidate && prefixCls, className), + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, overflowStyle), style) + }, overflowProps, restProps, { + ref: ref + }), childNode); + + if (responsive) { + itemNode = /*#__PURE__*/react.createElement(es/* default */.Z, { + onResize: function onResize(_ref) { + var offsetWidth = _ref.offsetWidth; + internalRegisterSize(offsetWidth); + }, + disabled: responsiveDisabled + }, itemNode); + } + + return itemNode; +} + +var Item = /*#__PURE__*/react.forwardRef(InternalItem); +Item.displayName = 'Item'; +/* harmony default export */ var es_Item = (Item); +// EXTERNAL MODULE: ./node_modules/rc-util/es/raf.js +var raf = __webpack_require__(75164); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useState.js +var useState = __webpack_require__(30470); +;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/hooks/useBatchFrameState.js + + + + +/** + * State generate. Return a `setState` but it will flush all state with one render to save perf. + * This is not a realization of `unstable_batchedUpdates`. + */ + +function useBatchFrameState() { + var _useState = (0,useState/* default */.Z)({}), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + forceUpdate = _useState2[1]; + + var statesRef = (0,react.useRef)([]); + var walkingIndex = 0; + var beforeFrameId = 0; + + function createState(defaultValue) { + var myIndex = walkingIndex; + walkingIndex += 1; // Fill value if not exist yet + + if (statesRef.current.length < myIndex + 1) { + statesRef.current[myIndex] = defaultValue; + } // Return filled as `setState` + + + var value = statesRef.current[myIndex]; + + function setValue(val) { + statesRef.current[myIndex] = typeof val === 'function' ? val(statesRef.current[myIndex]) : val; + raf/* default.cancel */.Z.cancel(beforeFrameId); // Flush with batch + + beforeFrameId = (0,raf/* default */.Z)(function () { + forceUpdate({}, true); + }); + } + + return [value, setValue]; + } + + return createState; +} +;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/RawItem.js + + +var RawItem_excluded = ["component"], + _excluded2 = ["className"], + _excluded3 = ["className"]; + + + + + +var InternalRawItem = function InternalRawItem(props, ref) { + var context = react.useContext(OverflowContext); // Render directly when context not provided + + if (!context) { + var _props$component = props.component, + Component = _props$component === void 0 ? 'div' : _props$component, + _restProps = (0,objectWithoutProperties/* default */.Z)(props, RawItem_excluded); + + return /*#__PURE__*/react.createElement(Component, (0,esm_extends/* default */.Z)({}, _restProps, { + ref: ref + })); + } + + var contextClassName = context.className, + restContext = (0,objectWithoutProperties/* default */.Z)(context, _excluded2); + + var className = props.className, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded3); // Do not pass context to sub item to avoid multiple measure + + + return /*#__PURE__*/react.createElement(OverflowContext.Provider, { + value: null + }, /*#__PURE__*/react.createElement(es_Item, (0,esm_extends/* default */.Z)({ + ref: ref, + className: classnames_default()(contextClassName, className) + }, restContext, restProps))); +}; + +var RawItem = /*#__PURE__*/react.forwardRef(InternalRawItem); +RawItem.displayName = 'RawItem'; +/* harmony default export */ var es_RawItem = (RawItem); +;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/Overflow.js + + + + +var Overflow_excluded = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"]; + + + + + + + + +var OverflowContext = /*#__PURE__*/react.createContext(null); +var RESPONSIVE = 'responsive'; +var INVALIDATE = 'invalidate'; + +function defaultRenderRest(omittedItems) { + return "+ ".concat(omittedItems.length, " ..."); +} + +function Overflow(props, ref) { + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-overflow' : _props$prefixCls, + _props$data = props.data, + data = _props$data === void 0 ? [] : _props$data, + renderItem = props.renderItem, + renderRawItem = props.renderRawItem, + itemKey = props.itemKey, + _props$itemWidth = props.itemWidth, + itemWidth = _props$itemWidth === void 0 ? 10 : _props$itemWidth, + ssr = props.ssr, + style = props.style, + className = props.className, + maxCount = props.maxCount, + renderRest = props.renderRest, + renderRawRest = props.renderRawRest, + suffix = props.suffix, + _props$component = props.component, + Component = _props$component === void 0 ? 'div' : _props$component, + itemComponent = props.itemComponent, + onVisibleChange = props.onVisibleChange, + restProps = (0,objectWithoutProperties/* default */.Z)(props, Overflow_excluded); + + var createUseState = useBatchFrameState(); + var fullySSR = ssr === 'full'; + + var _createUseState = createUseState(null), + _createUseState2 = (0,slicedToArray/* default */.Z)(_createUseState, 2), + containerWidth = _createUseState2[0], + setContainerWidth = _createUseState2[1]; + + var mergedContainerWidth = containerWidth || 0; + + var _createUseState3 = createUseState(new Map()), + _createUseState4 = (0,slicedToArray/* default */.Z)(_createUseState3, 2), + itemWidths = _createUseState4[0], + setItemWidths = _createUseState4[1]; + + var _createUseState5 = createUseState(0), + _createUseState6 = (0,slicedToArray/* default */.Z)(_createUseState5, 2), + prevRestWidth = _createUseState6[0], + setPrevRestWidth = _createUseState6[1]; + + var _createUseState7 = createUseState(0), + _createUseState8 = (0,slicedToArray/* default */.Z)(_createUseState7, 2), + restWidth = _createUseState8[0], + setRestWidth = _createUseState8[1]; + + var _createUseState9 = createUseState(0), + _createUseState10 = (0,slicedToArray/* default */.Z)(_createUseState9, 2), + suffixWidth = _createUseState10[0], + setSuffixWidth = _createUseState10[1]; + + var _useState = (0,react.useState)(null), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + suffixFixedStart = _useState2[0], + setSuffixFixedStart = _useState2[1]; + + var _useState3 = (0,react.useState)(null), + _useState4 = (0,slicedToArray/* default */.Z)(_useState3, 2), + displayCount = _useState4[0], + setDisplayCount = _useState4[1]; + + var mergedDisplayCount = react.useMemo(function () { + if (displayCount === null && fullySSR) { + return Number.MAX_SAFE_INTEGER; + } + + return displayCount || 0; + }, [displayCount, containerWidth]); + + var _useState5 = (0,react.useState)(false), + _useState6 = (0,slicedToArray/* default */.Z)(_useState5, 2), + restReady = _useState6[0], + setRestReady = _useState6[1]; + + var itemPrefixCls = "".concat(prefixCls, "-item"); // Always use the max width to avoid blink + + var mergedRestWidth = Math.max(prevRestWidth, restWidth); // ================================= Data ================================= + + var isResponsive = maxCount === RESPONSIVE; + var shouldResponsive = data.length && isResponsive; + var invalidate = maxCount === INVALIDATE; + /** + * When is `responsive`, we will always render rest node to get the real width of it for calculation + */ + + var showRest = shouldResponsive || typeof maxCount === 'number' && data.length > maxCount; + var mergedData = (0,react.useMemo)(function () { + var items = data; + + if (shouldResponsive) { + if (containerWidth === null && fullySSR) { + items = data; + } else { + items = data.slice(0, Math.min(data.length, mergedContainerWidth / itemWidth)); + } + } else if (typeof maxCount === 'number') { + items = data.slice(0, maxCount); + } + + return items; + }, [data, itemWidth, containerWidth, maxCount, shouldResponsive]); + var omittedItems = (0,react.useMemo)(function () { + if (shouldResponsive) { + return data.slice(mergedDisplayCount + 1); + } + + return data.slice(mergedData.length); + }, [data, mergedData, shouldResponsive, mergedDisplayCount]); // ================================= Item ================================= + + var getKey = (0,react.useCallback)(function (item, index) { + var _ref; + + if (typeof itemKey === 'function') { + return itemKey(item); + } + + return (_ref = itemKey && (item === null || item === void 0 ? void 0 : item[itemKey])) !== null && _ref !== void 0 ? _ref : index; + }, [itemKey]); + var mergedRenderItem = (0,react.useCallback)(renderItem || function (item) { + return item; + }, [renderItem]); + + function updateDisplayCount(count, suffixFixedStartVal, notReady) { + // React 18 will sync render even when the value is same in some case. + // We take `mergedData` as deps which may cause dead loop if it's dynamic generate. + // ref: https://github.com/ant-design/ant-design/issues/36559 + if (displayCount === count && (suffixFixedStartVal === undefined || suffixFixedStartVal === suffixFixedStart)) { + return; + } + + setDisplayCount(count); + + if (!notReady) { + setRestReady(count < data.length - 1); + onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(count); + } + + if (suffixFixedStartVal !== undefined) { + setSuffixFixedStart(suffixFixedStartVal); + } + } // ================================= Size ================================= + + + function onOverflowResize(_, element) { + setContainerWidth(element.clientWidth); + } + + function registerSize(key, width) { + setItemWidths(function (origin) { + var clone = new Map(origin); + + if (width === null) { + clone.delete(key); + } else { + clone.set(key, width); + } + + return clone; + }); + } + + function registerOverflowSize(_, width) { + setRestWidth(width); + setPrevRestWidth(restWidth); + } + + function registerSuffixSize(_, width) { + setSuffixWidth(width); + } // ================================ Effect ================================ + + + function getItemWidth(index) { + return itemWidths.get(getKey(mergedData[index], index)); + } + + (0,useLayoutEffect/* default */.Z)(function () { + if (mergedContainerWidth && mergedRestWidth && mergedData) { + var totalWidth = suffixWidth; + var len = mergedData.length; + var lastIndex = len - 1; // When data count change to 0, reset this since not loop will reach + + if (!len) { + updateDisplayCount(0, null); + return; + } + + for (var i = 0; i < len; i += 1) { + var currentItemWidth = getItemWidth(i); // Fully will always render + + if (fullySSR) { + currentItemWidth = currentItemWidth || 0; + } // Break since data not ready + + + if (currentItemWidth === undefined) { + updateDisplayCount(i - 1, undefined, true); + break; + } // Find best match + + + totalWidth += currentItemWidth; + + if ( // Only one means `totalWidth` is the final width + lastIndex === 0 && totalWidth <= mergedContainerWidth || // Last two width will be the final width + i === lastIndex - 1 && totalWidth + getItemWidth(lastIndex) <= mergedContainerWidth) { + // Additional check if match the end + updateDisplayCount(lastIndex, null); + break; + } else if (totalWidth + mergedRestWidth > mergedContainerWidth) { + // Can not hold all the content to show rest + updateDisplayCount(i - 1, totalWidth - currentItemWidth - suffixWidth + restWidth); + break; + } + } + + if (suffix && getItemWidth(0) + suffixWidth > mergedContainerWidth) { + setSuffixFixedStart(null); + } + } + }, [mergedContainerWidth, itemWidths, restWidth, suffixWidth, getKey, mergedData]); // ================================ Render ================================ + + var displayRest = restReady && !!omittedItems.length; + var suffixStyle = {}; + + if (suffixFixedStart !== null && shouldResponsive) { + suffixStyle = { + position: 'absolute', + left: suffixFixedStart, + top: 0 + }; + } + + var itemSharedProps = { + prefixCls: itemPrefixCls, + responsive: shouldResponsive, + component: itemComponent, + invalidate: invalidate + }; // >>>>> Choice render fun by `renderRawItem` + + var internalRenderItemNode = renderRawItem ? function (item, index) { + var key = getKey(item, index); + return /*#__PURE__*/react.createElement(OverflowContext.Provider, { + key: key, + value: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, itemSharedProps), {}, { + order: index, + item: item, + itemKey: key, + registerSize: registerSize, + display: index <= mergedDisplayCount + }) + }, renderRawItem(item, index)); + } : function (item, index) { + var key = getKey(item, index); + return /*#__PURE__*/react.createElement(es_Item, (0,esm_extends/* default */.Z)({}, itemSharedProps, { + order: index, + key: key, + item: item, + renderItem: mergedRenderItem, + itemKey: key, + registerSize: registerSize, + display: index <= mergedDisplayCount + })); + }; // >>>>> Rest node + + var restNode; + var restContextProps = { + order: displayRest ? mergedDisplayCount : Number.MAX_SAFE_INTEGER, + className: "".concat(itemPrefixCls, "-rest"), + registerSize: registerOverflowSize, + display: displayRest + }; + + if (!renderRawRest) { + var mergedRenderRest = renderRest || defaultRenderRest; + restNode = /*#__PURE__*/react.createElement(es_Item, (0,esm_extends/* default */.Z)({}, itemSharedProps, restContextProps), typeof mergedRenderRest === 'function' ? mergedRenderRest(omittedItems) : mergedRenderRest); + } else if (renderRawRest) { + restNode = /*#__PURE__*/react.createElement(OverflowContext.Provider, { + value: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, itemSharedProps), restContextProps) + }, renderRawRest(omittedItems)); + } + + var overflowNode = /*#__PURE__*/react.createElement(Component, (0,esm_extends/* default */.Z)({ + className: classnames_default()(!invalidate && prefixCls, className), + style: style, + ref: ref + }, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /*#__PURE__*/react.createElement(es_Item, (0,esm_extends/* default */.Z)({}, itemSharedProps, { + responsive: isResponsive, + responsiveDisabled: !shouldResponsive, + order: mergedDisplayCount, + className: "".concat(itemPrefixCls, "-suffix"), + registerSize: registerSuffixSize, + display: true, + style: suffixStyle + }), suffix)); + + if (isResponsive) { + overflowNode = /*#__PURE__*/react.createElement(es/* default */.Z, { + onResize: onOverflowResize, + disabled: !shouldResponsive + }, overflowNode); + } + + return overflowNode; +} + +var ForwardOverflow = /*#__PURE__*/react.forwardRef(Overflow); +ForwardOverflow.displayName = 'Overflow'; +ForwardOverflow.Item = es_RawItem; +ForwardOverflow.RESPONSIVE = RESPONSIVE; +ForwardOverflow.INVALIDATE = INVALIDATE; // Convert to generic type + +/* harmony default export */ var es_Overflow = (ForwardOverflow); +;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/index.js + +/* harmony default export */ var rc_overflow_es = (es_Overflow); + +/***/ }), + +/***/ 48555: +/*!*****************************************************************!*\ + !*** ./node_modules/rc-resize-observer/es/index.js + 4 modules ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es; } +}); + +// UNUSED EXPORTS: _rs + +// 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); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(50344); +// EXTERNAL MODULE: ./node_modules/rc-util/es/warning.js +var warning = __webpack_require__(80334); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/findDOMNode.js +var findDOMNode = __webpack_require__(34203); +// EXTERNAL MODULE: ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +var ResizeObserver_es = __webpack_require__(91033); +;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/utils/observerUtil.js + +// =============================== Const =============================== +var elementListeners = new Map(); +function onResize(entities) { + entities.forEach(function (entity) { + var _elementListeners$get; + var target = entity.target; + (_elementListeners$get = elementListeners.get(target)) === null || _elementListeners$get === void 0 ? void 0 : _elementListeners$get.forEach(function (listener) { + return listener(target); + }); + }); +} +// Note: ResizeObserver polyfill not support option to measure border-box resize +var resizeObserver = new ResizeObserver_es/* default */.Z(onResize); +// Dev env only +var _el = (/* unused pure expression or super */ null && ( false ? 0 : null)); // eslint-disable-line +var _rs = (/* unused pure expression or super */ null && ( false ? 0 : null)); // eslint-disable-line +// ============================== Observe ============================== +function observe(element, callback) { + if (!elementListeners.has(element)) { + elementListeners.set(element, new Set()); + resizeObserver.observe(element); + } + elementListeners.get(element).add(callback); +} +function unobserve(element, callback) { + if (elementListeners.has(element)) { + elementListeners.get(element).delete(callback); + if (!elementListeners.get(element).size) { + resizeObserver.unobserve(element); + elementListeners.delete(element); + } + } +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(15671); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(43144); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(60136); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(51630); +;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js + + + + + +/** + * Fallback to findDOMNode if origin ref do not provide any dom element + */ +var DomWrapper = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(DomWrapper, _React$Component); + var _super = (0,createSuper/* default */.Z)(DomWrapper); + function DomWrapper() { + (0,classCallCheck/* default */.Z)(this, DomWrapper); + return _super.apply(this, arguments); + } + (0,createClass/* default */.Z)(DomWrapper, [{ + key: "render", + value: function render() { + return this.props.children; + } + }]); + return DomWrapper; +}(react.Component); + +;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/Collection.js + +var CollectionContext = /*#__PURE__*/react.createContext(null); +/** + * Collect all the resize event from children ResizeObserver + */ +function Collection(_ref) { + var children = _ref.children, + onBatchResize = _ref.onBatchResize; + var resizeIdRef = react.useRef(0); + var resizeInfosRef = react.useRef([]); + var onCollectionResize = react.useContext(CollectionContext); + var onResize = react.useCallback(function (size, element, data) { + resizeIdRef.current += 1; + var currentId = resizeIdRef.current; + resizeInfosRef.current.push({ + size: size, + element: element, + data: data + }); + Promise.resolve().then(function () { + if (currentId === resizeIdRef.current) { + onBatchResize === null || onBatchResize === void 0 ? void 0 : onBatchResize(resizeInfosRef.current); + resizeInfosRef.current = []; + } + }); + // Continue bubbling if parent exist + onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(size, element, data); + }, [onBatchResize, onCollectionResize]); + return /*#__PURE__*/react.createElement(CollectionContext.Provider, { + value: onResize + }, children); +} +;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/SingleObserver/index.js + + + + + + + +function SingleObserver(props, ref) { + var children = props.children, + disabled = props.disabled; + var elementRef = react.useRef(null); + var wrapperRef = react.useRef(null); + var onCollectionResize = react.useContext(CollectionContext); + // =========================== Children =========================== + var isRenderProps = typeof children === 'function'; + var mergedChildren = isRenderProps ? children(elementRef) : children; + // ============================= Size ============================= + var sizeRef = react.useRef({ + width: -1, + height: -1, + offsetWidth: -1, + offsetHeight: -1 + }); + // ============================= Ref ============================== + var canRef = !isRenderProps && /*#__PURE__*/react.isValidElement(mergedChildren) && (0,es_ref/* supportRef */.Yr)(mergedChildren); + var originRef = canRef ? mergedChildren.ref : null; + var mergedRef = react.useMemo(function () { + return (0,es_ref/* composeRef */.sQ)(originRef, elementRef); + }, [originRef, elementRef]); + var getDom = function getDom() { + return (0,findDOMNode/* default */.Z)(elementRef.current) || (0,findDOMNode/* default */.Z)(wrapperRef.current); + }; + react.useImperativeHandle(ref, function () { + return getDom(); + }); + // =========================== Observe ============================ + var propsRef = react.useRef(props); + propsRef.current = props; + // Handler + var onInternalResize = react.useCallback(function (target) { + var _propsRef$current = propsRef.current, + onResize = _propsRef$current.onResize, + data = _propsRef$current.data; + var _target$getBoundingCl = target.getBoundingClientRect(), + width = _target$getBoundingCl.width, + height = _target$getBoundingCl.height; + var offsetWidth = target.offsetWidth, + offsetHeight = target.offsetHeight; + /** + * Resize observer trigger when content size changed. + * In most case we just care about element size, + * let's use `boundary` instead of `contentRect` here to avoid shaking. + */ + var fixedWidth = Math.floor(width); + var fixedHeight = Math.floor(height); + if (sizeRef.current.width !== fixedWidth || sizeRef.current.height !== fixedHeight || sizeRef.current.offsetWidth !== offsetWidth || sizeRef.current.offsetHeight !== offsetHeight) { + var size = { + width: fixedWidth, + height: fixedHeight, + offsetWidth: offsetWidth, + offsetHeight: offsetHeight + }; + sizeRef.current = size; + // IE is strange, right? + var mergedOffsetWidth = offsetWidth === Math.round(width) ? width : offsetWidth; + var mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight; + var sizeInfo = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, size), {}, { + offsetWidth: mergedOffsetWidth, + offsetHeight: mergedOffsetHeight + }); + // Let collection know what happened + onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(sizeInfo, target, data); + if (onResize) { + // defer the callback but not defer to next frame + Promise.resolve().then(function () { + onResize(sizeInfo, target); + }); + } + } + }, []); + // Dynamic observe + react.useEffect(function () { + var currentElement = getDom(); + if (currentElement && !disabled) { + observe(currentElement, onInternalResize); + } + return function () { + return unobserve(currentElement, onInternalResize); + }; + }, [elementRef.current, disabled]); + // ============================ Render ============================ + return /*#__PURE__*/react.createElement(DomWrapper, { + ref: wrapperRef + }, canRef ? /*#__PURE__*/react.cloneElement(mergedChildren, { + ref: mergedRef + }) : mergedChildren); +} +var RefSingleObserver = /*#__PURE__*/react.forwardRef(SingleObserver); +if (false) {} +/* harmony default export */ var es_SingleObserver = (RefSingleObserver); +;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/index.js + + + + + + +var INTERNAL_PREFIX_KEY = 'rc-observer-key'; + + +function ResizeObserver(props, ref) { + var children = props.children; + var childNodes = typeof children === 'function' ? [children] : (0,toArray/* default */.Z)(children); + if (false) {} + return childNodes.map(function (child, index) { + var key = (child === null || child === void 0 ? void 0 : child.key) || "".concat(INTERNAL_PREFIX_KEY, "-").concat(index); + return /*#__PURE__*/react.createElement(es_SingleObserver, (0,esm_extends/* default */.Z)({}, props, { + key: key, + ref: index === 0 ? ref : undefined + }), child); + }); +} +var RefResizeObserver = /*#__PURE__*/react.forwardRef(ResizeObserver); +if (false) {} +RefResizeObserver.Collection = Collection; +/* harmony default export */ var es = (RefResizeObserver); + +/***/ }) + +}]); \ No newline at end of file diff --git a/63695.async.js b/3065.async.js similarity index 82% rename from 63695.async.js rename to 3065.async.js index 7b31c4c669..8a18d65184 100644 --- a/63695.async.js +++ b/3065.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[63695,34180,25619,7303,79779],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[3065,34180,67921,25619,79779],{ /***/ 64082: /*!******************************************************************************!*\ @@ -186,6 +186,303 @@ function getPlacements(config) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 75008: /*!*********************************************************!*\ !*** ./node_modules/antd/es/input/index.js + 5 modules ***! diff --git a/16758.async.js b/31418.async.js similarity index 80% rename from 16758.async.js rename to 31418.async.js index 049c5cb040..e1d54b7abb 100644 --- a/16758.async.js +++ b/31418.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[16758,22842,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[31418,22842,16484],{ /***/ 42110: /*!*******************************************************************!*\ @@ -345,6 +345,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 27049: diff --git a/16758.chunk.css b/31418.chunk.css similarity index 86% rename from 16758.chunk.css rename to 31418.chunk.css index 3bb0623f3b..ffc37521f8 100644 --- a/16758.chunk.css +++ b/31418.chunk.css @@ -346,6 +346,238 @@ li:last-child > .ant-breadcrumb-separator { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/tag/style/index.less ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/89540.async.js b/31949.async.js similarity index 83% rename from 89540.async.js rename to 31949.async.js index 3f0f0abcae..f0fee6e5f6 100644 --- a/89540.async.js +++ b/31949.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[89540],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[31949,61437],{ /***/ 7918: /*!******************************************************************************!*\ @@ -691,6 +691,305 @@ var style = __webpack_require__(95985); // style dependencies +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: diff --git a/89540.chunk.css b/31949.chunk.css similarity index 81% rename from 89540.chunk.css rename to 31949.chunk.css index 34c73e951f..d32ef035da 100644 --- a/89540.chunk.css +++ b/31949.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/auto-complete/style/index.less ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/31958.async.js b/31958.async.js index 5a20bf2265..239a798f6d 100644 --- a/31958.async.js +++ b/31958.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[31958],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[31958,21104],{ /***/ 92287: /*!*****************************************************************!*\ @@ -1318,6 +1318,195 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/33210.async.js b/33210.async.js index 8dace844ca..2266bca5f7 100644 --- a/33210.async.js +++ b/33210.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[33210,42573,15973,92785,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[33210,42573,15973,92785,95946,87388],{ /***/ 58492: /*!**************************************************************!*\ diff --git a/33399.async.js b/33399.async.js index d900e57553..dc618d4768 100644 --- a/33399.async.js +++ b/33399.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[33399],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[33399,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -890,6 +890,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/34131.async.js b/34131.async.js index 02b0fe451d..788589c69e 100644 --- a/34131.async.js +++ b/34131.async.js @@ -1225,6 +1225,195 @@ SearchOutlined.displayName = 'SearchOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 34243: /*!**********************************************************!*\ !*** ./node_modules/rc-overflow/es/index.js + 4 modules ***! diff --git a/3446.async.js b/3446.async.js index 527ce916b2..960b25142e 100644 --- a/3446.async.js +++ b/3446.async.js @@ -942,6 +942,195 @@ var style = __webpack_require__(38390); // style dependencies +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/34472.async.js b/34472.async.js index 8fd3cb9613..36002b935f 100644 --- a/34472.async.js +++ b/34472.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[34472],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[34472,30589],{ /***/ 66023: /*!*******************************************************************!*\ diff --git a/35449.async.js b/35449.async.js index c94879fbd0..d53d0e6028 100644 --- a/35449.async.js +++ b/35449.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[35449],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[35449,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -872,6 +872,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/60608.async.js b/36183.async.js similarity index 79% rename from 60608.async.js rename to 36183.async.js index ac0fabab37..cf597c26eb 100644 --- a/60608.async.js +++ b/36183.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[60608,42573,37807,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[36183,42573,6812,37807,88092,95946,87388],{ /***/ 28508: /*!******************************************************************!*\ @@ -383,6 +383,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: diff --git a/95971.async.js b/36204.async.js similarity index 60% rename from 95971.async.js rename to 36204.async.js index 0ba9d67fc6..55b4950a42 100644 --- a/95971.async.js +++ b/36204.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[95971],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[36204],{ /***/ 37653: /*!*****************************************************************!*\ @@ -64,563 +64,6 @@ RightOutlined.displayName = 'RightOutlined'; // extracted by mini-css-extract-plugin -/***/ }), - -/***/ 5467: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } -/* harmony export */ }); -function getDataOrAriaProps(props) { - return Object.keys(props).reduce(function (prev, key) { - if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { - prev[key] = props[key]; - } - return prev; - }, {}); -} - -/***/ }), - -/***/ 97183: -/*!**********************************************!*\ - !*** ./node_modules/antd/es/layout/index.js ***! - \**********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 2897); -/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 10130); - - -var Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP; -Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4; -Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_; -Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY; -Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; -/* harmony default export */ __webpack_exports__["Z"] = (Layout); - -/***/ }), - -/***/ 27221: -/*!****************************************************************!*\ - !*** ./node_modules/antd/es/layout/style/index.js + 1 modules ***! - \****************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.js - - - -/***/ }), - -/***/ 37029: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/locale/zh_CN.js + 4 modules ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ es_locale_zh_CN; } -}); - -// EXTERNAL MODULE: ./node_modules/rc-pagination/es/locale/zh_CN.js -var zh_CN = __webpack_require__(81626); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -;// CONCATENATED MODULE: ./node_modules/rc-picker/es/locale/zh_CN.js -var locale = { - locale: 'zh_CN', - today: '今天', - now: '此刻', - backToToday: '返回今天', - ok: '确定', - timeSelect: '选择时间', - dateSelect: '选择日期', - weekSelect: '选择周', - clear: '清除', - month: '月', - year: '年', - previousMonth: '上个月 (翻页上键)', - nextMonth: '下个月 (翻页下键)', - monthSelect: '选择月份', - yearSelect: '选择年份', - decadeSelect: '选择年代', - yearFormat: 'YYYY年', - dayFormat: 'D日', - dateFormat: 'YYYY年M月D日', - dateTimeFormat: 'YYYY年M月D日 HH时mm分ss秒', - previousYear: '上一年 (Control键加左方向键)', - nextYear: '下一年 (Control键加右方向键)', - previousDecade: '上一年代', - nextDecade: '下一年代', - previousCentury: '上一世纪', - nextCentury: '下一世纪' -}; -/* harmony default export */ var locale_zh_CN = (locale); -;// CONCATENATED MODULE: ./node_modules/antd/es/time-picker/locale/zh_CN.js -var zh_CN_locale = { - placeholder: '请选择时间', - rangePlaceholder: ['开始时间', '结束时间'] -}; -/* harmony default export */ var time_picker_locale_zh_CN = (zh_CN_locale); -;// CONCATENATED MODULE: ./node_modules/antd/es/date-picker/locale/zh_CN.js - - - -// 统一合并为完整的 Locale -var locale_zh_CN_locale = { - lang: (0,esm_extends/* default */.Z)({ - placeholder: '请选择日期', - yearPlaceholder: '请选择年份', - quarterPlaceholder: '请选择季度', - monthPlaceholder: '请选择月份', - weekPlaceholder: '请选择周', - rangePlaceholder: ['开始日期', '结束日期'], - rangeYearPlaceholder: ['开始年份', '结束年份'], - rangeMonthPlaceholder: ['开始月份', '结束月份'], - rangeQuarterPlaceholder: ['开始季度', '结束季度'], - rangeWeekPlaceholder: ['开始周', '结束周'] - }, locale_zh_CN), - timePickerLocale: (0,esm_extends/* default */.Z)({}, time_picker_locale_zh_CN) -}; -// should add whitespace between char in Button -locale_zh_CN_locale.lang.ok = '确定'; -// All settings at: -// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json -/* harmony default export */ var date_picker_locale_zh_CN = (locale_zh_CN_locale); -;// CONCATENATED MODULE: ./node_modules/antd/es/calendar/locale/zh_CN.js - -/* harmony default export */ var calendar_locale_zh_CN = (date_picker_locale_zh_CN); -;// CONCATENATED MODULE: ./node_modules/antd/es/locale/zh_CN.js -/* eslint-disable no-template-curly-in-string */ - - - - -var typeTemplate = '${label}不是一个有效的${type}'; -var localeValues = { - locale: 'zh-cn', - Pagination: zh_CN/* default */.Z, - DatePicker: date_picker_locale_zh_CN, - TimePicker: time_picker_locale_zh_CN, - Calendar: calendar_locale_zh_CN, - // locales for all components - global: { - placeholder: '请选择' - }, - Table: { - filterTitle: '筛选', - filterConfirm: '确定', - filterReset: '重置', - filterEmptyText: '无筛选项', - filterCheckall: '全选', - filterSearchPlaceholder: '在筛选项中搜索', - selectAll: '全选当页', - selectInvert: '反选当页', - selectNone: '清空所有', - selectionAll: '全选所有', - sortTitle: '排序', - expand: '展开行', - collapse: '关闭行', - triggerDesc: '点击降序', - triggerAsc: '点击升序', - cancelSort: '取消排序' - }, - Modal: { - okText: '确定', - cancelText: '取消', - justOkText: '知道了' - }, - Popconfirm: { - cancelText: '取消', - okText: '确定' - }, - Transfer: { - titles: ['', ''], - searchPlaceholder: '请输入搜索内容', - itemUnit: '项', - itemsUnit: '项', - remove: '删除', - selectCurrent: '全选当页', - removeCurrent: '删除当页', - selectAll: '全选所有', - removeAll: '删除全部', - selectInvert: '反选当页' - }, - Upload: { - uploading: '文件上传中', - removeFile: '删除文件', - uploadError: '上传错误', - previewFile: '预览文件', - downloadFile: '下载文件' - }, - Empty: { - description: '暂无数据' - }, - Icon: { - icon: '图标' - }, - Text: { - edit: '编辑', - copy: '复制', - copied: '复制成功', - expand: '展开' - }, - PageHeader: { - back: '返回' - }, - Form: { - optional: '(可选)', - defaultValidateMessages: { - "default": '字段验证错误${label}', - required: '请输入${label}', - "enum": '${label}必须是其中一个[${enum}]', - whitespace: '${label}不能为空字符', - date: { - format: '${label}日期格式无效', - parse: '${label}不能转换为日期', - invalid: '${label}是一个无效日期' - }, - types: { - string: typeTemplate, - method: typeTemplate, - array: typeTemplate, - object: typeTemplate, - number: typeTemplate, - date: typeTemplate, - "boolean": typeTemplate, - integer: typeTemplate, - "float": typeTemplate, - regexp: typeTemplate, - email: typeTemplate, - url: typeTemplate, - hex: typeTemplate - }, - string: { - len: '${label}须为${len}个字符', - min: '${label}最少${min}个字符', - max: '${label}最多${max}个字符', - range: '${label}须在${min}-${max}字符之间' - }, - number: { - len: '${label}必须等于${len}', - min: '${label}最小值为${min}', - max: '${label}最大值为${max}', - range: '${label}须在${min}-${max}之间' - }, - array: { - len: '须为${len}个${label}', - min: '最少${min}个${label}', - max: '最多${max}个${label}', - range: '${label}数量须在${min}-${max}之间' - }, - pattern: { - mismatch: '${label}与模式不匹配${pattern}' - } - } - }, - Image: { - preview: '预览' - } -}; -/* harmony default export */ var es_locale_zh_CN = (localeValues); - -/***/ }), - -/***/ 29924: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "ZP": function() { return /* binding */ es_radio; } -}); - -// UNUSED EXPORTS: Button, Group - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(21770); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js -var getDataOrAriaProps = __webpack_require__(5467); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js - -var RadioGroupContext = /*#__PURE__*/react.createContext(null); -var RadioGroupContextProvider = RadioGroupContext.Provider; -/* harmony default export */ var radio_context = (RadioGroupContext); -var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); -var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; -// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js -var es = __webpack_require__(50132); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js -var DisabledContext = __webpack_require__(98866); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var InternalRadio = function InternalRadio(props, ref) { - var _classNames; - var groupContext = react.useContext(radio_context); - var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var innerRef = react.useRef(); - var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); - var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), - isFormItemInput = _useContext.isFormItemInput; - false ? 0 : void 0; - var onChange = function onChange(e) { - var _a, _b; - (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); - (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); - }; - var customizePrefixCls = props.prefixCls, - className = props.className, - children = props.children, - style = props.style, - customDisabled = props.disabled, - restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); - var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); - var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; - var radioProps = (0,esm_extends/* default */.Z)({}, restProps); - // ===================== Disabled ===================== - var disabled = react.useContext(DisabledContext/* default */.Z); - radioProps.disabled = customDisabled || disabled; - if (groupContext) { - radioProps.name = groupContext.name; - radioProps.onChange = onChange; - radioProps.checked = props.value === groupContext.value; - radioProps.disabled = radioProps.disabled || groupContext.disabled; - } - var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); - return ( - /*#__PURE__*/ - // eslint-disable-next-line jsx-a11y/label-has-associated-control - react.createElement("label", { - className: wrapperClassString, - style: style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave - }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { - type: "radio", - prefixCls: prefixCls, - ref: mergedRef - })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) - ); -}; -var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); -if (false) {} -/* harmony default export */ var radio_radio = (Radio); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js - - - - - - - - - - - -var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var size = react.useContext(SizeContext/* default */.Z); - var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { - value: props.value - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - value = _useMergedState2[0], - setValue = _useMergedState2[1]; - var onRadioChange = function onRadioChange(ev) { - var lastValue = value; - var val = ev.target.value; - if (!('value' in props)) { - setValue(val); - } - var onChange = props.onChange; - if (onChange && val !== lastValue) { - onChange(ev); - } - }; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className, - options = props.options, - _props$buttonStyle = props.buttonStyle, - buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, - disabled = props.disabled, - children = props.children, - customizeSize = props.size, - style = props.style, - id = props.id, - onMouseEnter = props.onMouseEnter, - onMouseLeave = props.onMouseLeave, - onFocus = props.onFocus, - onBlur = props.onBlur; - var prefixCls = getPrefixCls('radio', customizePrefixCls); - var groupPrefixCls = "".concat(prefixCls, "-group"); - var childrenToRender = children; - // 如果存在 options, 优先使用 - if (options && options.length > 0) { - childrenToRender = options.map(function (option) { - if (typeof option === 'string' || typeof option === 'number') { - // 此处类型自动推导为 string - return /*#__PURE__*/react.createElement(radio_radio, { - key: option.toString(), - prefixCls: prefixCls, - disabled: disabled, - value: option, - checked: value === option - }, option); - } - // 此处类型自动推导为 { label: string value: string } - return /*#__PURE__*/react.createElement(radio_radio, { - key: "radio-group-value-options-".concat(option.value), - prefixCls: prefixCls, - disabled: option.disabled || disabled, - value: option.value, - checked: value === option.value, - style: option.style - }, option.label); - }); - } - var mergedSize = customizeSize || size; - var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { - className: classString, - style: style, - onMouseEnter: onMouseEnter, - onMouseLeave: onMouseLeave, - onFocus: onFocus, - onBlur: onBlur, - id: id, - ref: ref - }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { - value: { - onChange: onRadioChange, - value: value, - disabled: props.disabled, - name: props.name, - optionType: props.optionType - } - }, childrenToRender)); -}); -/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js - -var radioButton_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - -var RadioButton = function RadioButton(props, ref) { - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var customizePrefixCls = props.prefixCls, - radioProps = radioButton_rest(props, ["prefixCls"]); - var prefixCls = getPrefixCls('radio', customizePrefixCls); - return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { - value: "button" - }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ - prefixCls: prefixCls - }, radioProps, { - type: "radio", - ref: ref - }))); -}; -/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js - - - - -var radio_Radio = radio_radio; -radio_Radio.Button = radioButton; -radio_Radio.Group = group; -radio_Radio.__ANT_RADIO = true; -/* harmony default export */ var es_radio = (radio_Radio); - -/***/ }), - -/***/ 83822: -/*!***************************************************************!*\ - !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js - - -// deps-lint-skip: form - /***/ }), /***/ 69309: diff --git a/95971.chunk.css b/36204.chunk.css similarity index 100% rename from 95971.chunk.css rename to 36204.chunk.css diff --git a/64547.async.js b/3633.async.js similarity index 81% rename from 64547.async.js rename to 3633.async.js index 43b4ad4296..60c2ae04ba 100644 --- a/64547.async.js +++ b/3633.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[64547],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[3633],{ /***/ 51042: /*!*****************************************************************!*\ @@ -291,6 +291,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 27049: diff --git a/64547.chunk.css b/3633.chunk.css similarity index 82% rename from 64547.chunk.css rename to 3633.chunk.css index 5dce7dce88..9044393274 100644 --- a/64547.chunk.css +++ b/3633.chunk.css @@ -346,6 +346,238 @@ li:last-child > .ant-breadcrumb-separator { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/tag/style/index.less ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/36740.async.js b/36740.async.js index 3a81f7dffd..b53784f69c 100644 --- a/36740.async.js +++ b/36740.async.js @@ -609,6 +609,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/37099.async.js b/37099.async.js index 45ae57f42b..d660d2ad66 100644 --- a/37099.async.js +++ b/37099.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[37099,71514,36579,11004,72693,23805,62654,66582,98991,5506,97073,88201,79256,794,48896,28020,32415,47638,3446,95112,22562],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[37099,71514,36579,72693,46981,23805,66582,98991,5506,97073,79256,794,48896,47638,3446,28020,32415,21104,22562],{ /***/ 7918: /*!******************************************************************************!*\ @@ -2362,6 +2362,195 @@ var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; /* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/37807.async.js b/37807.async.js index ca746f3748..69a117bb7c 100644 --- a/37807.async.js +++ b/37807.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[37807,42573,60608,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[37807,42573,88092,95946,87388],{ /***/ 28508: /*!******************************************************************!*\ diff --git a/92023.async.js b/38057.async.js similarity index 66% rename from 92023.async.js rename to 38057.async.js index f4c2b03001..18d45e2aca 100644 --- a/92023.async.js +++ b/38057.async.js @@ -1,5 +1,302 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[92023,75004],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[38057,16484],{ + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), /***/ 75008: /*!*********************************************************!*\ @@ -889,6 +1186,195 @@ var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; /* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/38385.async.js b/38385.async.js deleted file mode 100644 index d93374d17f..0000000000 --- a/38385.async.js +++ /dev/null @@ -1,1886 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[38385,95112],{ - -/***/ 509: -/*!*********************************************************************!*\ - !*** ./node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js ***! - \*********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__) { - -// This icon file is generated automatically. -var SearchOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" }; -/* harmony default export */ __webpack_exports__["Z"] = (SearchOutlined); - - -/***/ }), - -/***/ 7918: -/*!******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules ***! - \******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ AntdIcon; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// 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/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(45987); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js - -var IconContext = /*#__PURE__*/(0,react.createContext)({}); -/* harmony default export */ var Context = (IconContext); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(71002); -// EXTERNAL MODULE: ./node_modules/@ctrl/tinycolor/dist/module/conversion.js -var conversion = __webpack_require__(86500); -// EXTERNAL MODULE: ./node_modules/@ctrl/tinycolor/dist/module/format-input.js -var format_input = __webpack_require__(1350); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/@ant-design/colors/es/generate.js - -var hueStep = 2; // 色相阶梯 - -var saturationStep = 0.16; // 饱和度阶梯,浅色部分 - -var saturationStep2 = 0.05; // 饱和度阶梯,深色部分 - -var brightnessStep1 = 0.05; // 亮度阶梯,浅色部分 - -var brightnessStep2 = 0.15; // 亮度阶梯,深色部分 - -var lightColorCount = 5; // 浅色数量,主色上 - -var darkColorCount = 4; // 深色数量,主色下 -// 暗色主题颜色映射关系表 - -var darkColorMap = [{ - index: 7, - opacity: 0.15 -}, { - index: 6, - opacity: 0.25 -}, { - index: 5, - opacity: 0.3 -}, { - index: 5, - opacity: 0.45 -}, { - index: 5, - opacity: 0.65 -}, { - index: 5, - opacity: 0.85 -}, { - index: 4, - opacity: 0.9 -}, { - index: 3, - opacity: 0.95 -}, { - index: 2, - opacity: 0.97 -}, { - index: 1, - opacity: 0.98 -}]; - -// Wrapper function ported from TinyColor.prototype.toHsv -// Keep it here because of `hsv.h * 360` -function toHsv(_ref) { - var r = _ref.r, - g = _ref.g, - b = _ref.b; - var hsv = (0,conversion/* rgbToHsv */.py)(r, g, b); - return { - h: hsv.h * 360, - s: hsv.s, - v: hsv.v - }; -} // Wrapper function ported from TinyColor.prototype.toHexString -// Keep it here because of the prefix `#` - - -function toHex(_ref2) { - var r = _ref2.r, - g = _ref2.g, - b = _ref2.b; - return "#".concat((0,conversion/* rgbToHex */.vq)(r, g, b, false)); -} // Wrapper function ported from TinyColor.prototype.mix, not treeshakable. -// Amount in range [0, 1] -// Assume color1 & color2 has no alpha, since the following src code did so. - - -function mix(rgb1, rgb2, amount) { - var p = amount / 100; - var rgb = { - r: (rgb2.r - rgb1.r) * p + rgb1.r, - g: (rgb2.g - rgb1.g) * p + rgb1.g, - b: (rgb2.b - rgb1.b) * p + rgb1.b - }; - return rgb; -} - -function getHue(hsv, i, light) { - var hue; // 根据色相不同,色相转向不同 - - if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) { - hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i; - } else { - hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i; - } - - if (hue < 0) { - hue += 360; - } else if (hue >= 360) { - hue -= 360; - } - - return hue; -} - -function getSaturation(hsv, i, light) { - // grey color don't change saturation - if (hsv.h === 0 && hsv.s === 0) { - return hsv.s; - } - - var saturation; - - if (light) { - saturation = hsv.s - saturationStep * i; - } else if (i === darkColorCount) { - saturation = hsv.s + saturationStep; - } else { - saturation = hsv.s + saturationStep2 * i; - } // 边界值修正 - - - if (saturation > 1) { - saturation = 1; - } // 第一格的 s 限制在 0.06-0.1 之间 - - - if (light && i === lightColorCount && saturation > 0.1) { - saturation = 0.1; - } - - if (saturation < 0.06) { - saturation = 0.06; - } - - return Number(saturation.toFixed(2)); -} - -function getValue(hsv, i, light) { - var value; - - if (light) { - value = hsv.v + brightnessStep1 * i; - } else { - value = hsv.v - brightnessStep2 * i; - } - - if (value > 1) { - value = 1; - } - - return Number(value.toFixed(2)); -} - -function generate(color) { - var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var patterns = []; - var pColor = (0,format_input/* inputToRGB */.uA)(color); - - for (var i = lightColorCount; i > 0; i -= 1) { - var hsv = toHsv(pColor); - var colorString = toHex((0,format_input/* inputToRGB */.uA)({ - h: getHue(hsv, i, true), - s: getSaturation(hsv, i, true), - v: getValue(hsv, i, true) - })); - patterns.push(colorString); - } - - patterns.push(toHex(pColor)); - - for (var _i = 1; _i <= darkColorCount; _i += 1) { - var _hsv = toHsv(pColor); - - var _colorString = toHex((0,format_input/* inputToRGB */.uA)({ - h: getHue(_hsv, _i), - s: getSaturation(_hsv, _i), - v: getValue(_hsv, _i) - })); - - patterns.push(_colorString); - } // dark theme patterns - - - if (opts.theme === 'dark') { - return darkColorMap.map(function (_ref3) { - var index = _ref3.index, - opacity = _ref3.opacity; - var darkColorString = toHex(mix((0,format_input/* inputToRGB */.uA)(opts.backgroundColor || '#141414'), (0,format_input/* inputToRGB */.uA)(patterns[index]), opacity * 100)); - return darkColorString; - }); - } - - return patterns; -} -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/@ant-design/colors/es/index.js - -var presetPrimaryColors = { - red: '#F5222D', - volcano: '#FA541C', - orange: '#FA8C16', - gold: '#FAAD14', - yellow: '#FADB14', - lime: '#A0D911', - green: '#52C41A', - cyan: '#13C2C2', - blue: '#1677FF', - geekblue: '#2F54EB', - purple: '#722ED1', - magenta: '#EB2F96', - grey: '#666666' -}; -var presetPalettes = {}; -var presetDarkPalettes = {}; -Object.keys(presetPrimaryColors).forEach(function (key) { - presetPalettes[key] = generate(presetPrimaryColors[key]); - presetPalettes[key].primary = presetPalettes[key][5]; // dark presetPalettes - - presetDarkPalettes[key] = generate(presetPrimaryColors[key], { - theme: 'dark', - backgroundColor: '#141414' - }); - presetDarkPalettes[key].primary = presetDarkPalettes[key][5]; -}); -var red = presetPalettes.red; -var volcano = presetPalettes.volcano; -var gold = presetPalettes.gold; -var orange = presetPalettes.orange; -var yellow = presetPalettes.yellow; -var lime = presetPalettes.lime; -var green = presetPalettes.green; -var cyan = presetPalettes.cyan; -var blue = presetPalettes.blue; -var geekblue = presetPalettes.geekblue; -var purple = presetPalettes.purple; -var magenta = presetPalettes.magenta; -var grey = presetPalettes.grey; -var gray = presetPalettes.grey; - -// EXTERNAL MODULE: ./node_modules/rc-util/es/warning.js -var warning = __webpack_require__(80334); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/dynamicCSS.js -var dynamicCSS = __webpack_require__(44958); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js - - - - - - - -function utils_warning(valid, message) { - (0,warning/* default */.ZP)(valid, "[@ant-design/icons] ".concat(message)); -} -function isIconDefinition(target) { - return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); -} -function normalizeAttrs() { - var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - return Object.keys(attrs).reduce(function (acc, key) { - var val = attrs[key]; - switch (key) { - case 'class': - acc.className = val; - delete acc.class; - break; - default: - acc[key] = val; - } - return acc; - }, {}); -} -function utils_generate(node, key, rootProps) { - if (!rootProps) { - return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ - key: key - }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { - return utils_generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); - })); - } - return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - key: key - }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { - return utils_generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); - })); -} -function getSecondaryColor(primaryColor) { - // choose the second color - return generate(primaryColor)[0]; -} -function normalizeTwoToneColors(twoToneColor) { - if (!twoToneColor) { - return []; - } - return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; -} -// These props make sure that the SVG behaviours like general text. -// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 -var svgBaseProps = { - width: '1em', - height: '1em', - fill: 'currentColor', - 'aria-hidden': 'true', - focusable: 'false' -}; -var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; -var useInsertStyles = function useInsertStyles() { - var styleStr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : iconStyles; - var _useContext = (0,react.useContext)(Context), - csp = _useContext.csp, - prefixCls = _useContext.prefixCls; - var mergedStyleStr = styleStr; - if (prefixCls) { - mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); - } - (0,react.useEffect)(function () { - (0,dynamicCSS/* updateCSS */.hq)(mergedStyleStr, '@ant-design-icons', { - prepend: true, - csp: csp - }); - }, []); -}; -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js - - -var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; - -var twoToneColorPalette = { - primaryColor: '#333', - secondaryColor: '#E6E6E6', - calculated: false -}; -function setTwoToneColors(_ref) { - var primaryColor = _ref.primaryColor, - secondaryColor = _ref.secondaryColor; - twoToneColorPalette.primaryColor = primaryColor; - twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); - twoToneColorPalette.calculated = !!secondaryColor; -} -function getTwoToneColors() { - return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); -} -var IconBase = function IconBase(props) { - var icon = props.icon, - className = props.className, - onClick = props.onClick, - style = props.style, - primaryColor = props.primaryColor, - secondaryColor = props.secondaryColor, - restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); - var colors = twoToneColorPalette; - if (primaryColor) { - colors = { - primaryColor: primaryColor, - secondaryColor: secondaryColor || getSecondaryColor(primaryColor) - }; - } - useInsertStyles(); - utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); - if (!isIconDefinition(icon)) { - return null; - } - var target = icon; - if (target && typeof target.icon === 'function') { - target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { - icon: target.icon(colors.primaryColor, colors.secondaryColor) - }); - } - return utils_generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)({ - className: className, - onClick: onClick, - style: style, - 'data-icon': target.name, - width: '1em', - height: '1em', - fill: 'currentColor', - 'aria-hidden': 'true' - }, restProps)); -}; -IconBase.displayName = 'IconReact'; -IconBase.getTwoToneColors = getTwoToneColors; -IconBase.setTwoToneColors = setTwoToneColors; -/* harmony default export */ var components_IconBase = (IconBase); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js - - - -function setTwoToneColor(twoToneColor) { - var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), - _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), - primaryColor = _normalizeTwoToneColo2[0], - secondaryColor = _normalizeTwoToneColo2[1]; - return components_IconBase.setTwoToneColors({ - primaryColor: primaryColor, - secondaryColor: secondaryColor - }); -} -function getTwoToneColor() { - var colors = components_IconBase.getTwoToneColors(); - if (!colors.calculated) { - return colors.primaryColor; - } - return [colors.primaryColor, colors.secondaryColor]; -} -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js - - - - -var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; - - - - - - -// Initial setting -// should move it to antd main repo? -setTwoToneColor('#1890ff'); -var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var className = props.className, - icon = props.icon, - spin = props.spin, - rotate = props.rotate, - tabIndex = props.tabIndex, - onClick = props.onClick, - twoToneColor = props.twoToneColor, - restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); - var _React$useContext = react.useContext(Context), - _React$useContext$pre = _React$useContext.prefixCls, - prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, - rootClassName = _React$useContext.rootClassName; - var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); - var iconTabIndex = tabIndex; - if (iconTabIndex === undefined && onClick) { - iconTabIndex = -1; - } - var svgStyle = rotate ? { - msTransform: "rotate(".concat(rotate, "deg)"), - transform: "rotate(".concat(rotate, "deg)") - } : undefined; - var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), - _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), - primaryColor = _normalizeTwoToneColo2[0], - secondaryColor = _normalizeTwoToneColo2[1]; - return /*#__PURE__*/react.createElement("span", (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - role: "img", - "aria-label": icon.name - }, restProps), {}, { - ref: ref, - tabIndex: iconTabIndex, - onClick: onClick, - className: classString - }), /*#__PURE__*/react.createElement(components_IconBase, { - icon: icon, - primaryColor: primaryColor, - secondaryColor: secondaryColor, - style: svgStyle - })); -}); -Icon.displayName = 'AntdIcon'; -Icon.getTwoToneColor = getTwoToneColor; -Icon.setTwoToneColor = setTwoToneColor; -/* harmony default export */ var AntdIcon = (Icon); - -/***/ }), - -/***/ 87588: -/*!******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***! - \******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined)); - -/***/ }), - -/***/ 5467: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } -/* harmony export */ }); -function getDataOrAriaProps(props) { - return Object.keys(props).reduce(function (prev, key) { - if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { - prev[key] = props[key]; - } - return prev; - }, {}); -} - -/***/ }), - -/***/ 13013: -/*!************************************************!*\ - !*** ./node_modules/antd/es/dropdown/index.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ 18562); - -/* harmony default export */ __webpack_exports__["Z"] = (_dropdown__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); - -/***/ }), - -/***/ 75008: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/input/index.js + 5 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ input; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js - - - - - - - -var Group = function Group(props) { - var _classNames; - var _useContext = (0,react.useContext)(context/* ConfigContext */.E_), - getPrefixCls = _useContext.getPrefixCls, - direction = _useContext.direction; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className; - var prefixCls = getPrefixCls('input-group', customizePrefixCls); - var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), props.size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), props.size === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-compact"), props.compact), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - var formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); - var groupFormItemContext = (0,react.useMemo)(function () { - return (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, formItemContext), { - isFormItemInput: false - }); - }, [formItemContext]); - return /*#__PURE__*/react.createElement("span", { - className: cls, - style: props.style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave, - onFocus: props.onFocus, - onBlur: props.onBlur - }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { - value: groupFormItemContext - }, props.children)); -}; -/* harmony default export */ var input_Group = (Group); -// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules -var Input = __webpack_require__(82586); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(71002); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js -// This icon file is generated automatically. -var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; -/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); - -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(93771); -;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_EyeInvisibleOutlined - })); -}; -EyeInvisibleOutlined_EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined'; -/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules -var EyeOutlined = __webpack_require__(7124); -// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js -var omit = __webpack_require__(98423); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js -var useRemovePasswordTimeout = __webpack_require__(72922); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js - - - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var defaultIconRender = function defaultIconRender(visible) { - return visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); -}; -var ActionMap = { - click: 'onClick', - hover: 'onMouseOver' -}; -var Password = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _props$visibilityTogg = props.visibilityToggle, - visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg; - var visibilityControlled = (0,esm_typeof/* default */.Z)(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined; - var _useState = (0,react.useState)(function () { - return visibilityControlled ? visibilityToggle.visible : false; - }), - _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), - visible = _useState2[0], - setVisible = _useState2[1]; - var inputRef = (0,react.useRef)(null); - react.useEffect(function () { - if (visibilityControlled) { - setVisible(visibilityToggle.visible); - } - }, [visibilityControlled, visibilityToggle]); - // Remove Password value - var removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); - var onVisibleChange = function onVisibleChange() { - var disabled = props.disabled; - if (disabled) { - return; - } - if (visible) { - removePasswordTimeout(); - } - setVisible(function (prevState) { - var _a; - var newState = !prevState; - if ((0,esm_typeof/* default */.Z)(visibilityToggle) === 'object') { - (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); - } - return newState; - }); - }; - var getIcon = function getIcon(prefixCls) { - var _iconProps; - var _props$action = props.action, - action = _props$action === void 0 ? 'click' : _props$action, - _props$iconRender = props.iconRender, - iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender; - var iconTrigger = ActionMap[action] || ''; - var icon = iconRender(visible); - var iconProps = (_iconProps = {}, (0,defineProperty/* default */.Z)(_iconProps, iconTrigger, onVisibleChange), (0,defineProperty/* default */.Z)(_iconProps, "className", "".concat(prefixCls, "-icon")), (0,defineProperty/* default */.Z)(_iconProps, "key", 'passwordIcon'), (0,defineProperty/* default */.Z)(_iconProps, "onMouseDown", function onMouseDown(e) { - // Prevent focused state lost - // https://github.com/ant-design/ant-design/issues/15173 - e.preventDefault(); - }), (0,defineProperty/* default */.Z)(_iconProps, "onMouseUp", function onMouseUp(e) { - // Prevent caret position change - // https://github.com/ant-design/ant-design/issues/23524 - e.preventDefault(); - }), _iconProps); - return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); - }; - var renderPassword = function renderPassword(_ref) { - var getPrefixCls = _ref.getPrefixCls; - var className = props.className, - customizePrefixCls = props.prefixCls, - customizeInputPrefixCls = props.inputPrefixCls, - size = props.size, - restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); - var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); - var prefixCls = getPrefixCls('input-password', customizePrefixCls); - var suffixIcon = visibilityToggle && getIcon(prefixCls); - var inputClassName = classnames_default()(prefixCls, className, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-").concat(size), !!size)); - var omittedProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { - type: visible ? 'text' : 'password', - className: inputClassName, - prefixCls: inputPrefixCls, - suffix: suffixIcon - }); - if (size) { - omittedProps.size = size; - } - return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ - ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) - }, omittedProps)); - }; - return /*#__PURE__*/react.createElement(context/* ConfigConsumer */.C, null, renderPassword); -}); -if (false) {} -/* harmony default export */ var input_Password = (Password); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js -var SearchOutlined = __webpack_require__(25783); -// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js -var es_button = __webpack_require__(71577); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js -var Compact = __webpack_require__(4173); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js -var reactNode = __webpack_require__(96159); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js - - -var Search_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var Search = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var customizePrefixCls = props.prefixCls, - customizeInputPrefixCls = props.inputPrefixCls, - className = props.className, - customizeSize = props.size, - suffix = props.suffix, - _props$enterButton = props.enterButton, - enterButton = _props$enterButton === void 0 ? false : _props$enterButton, - addonAfter = props.addonAfter, - loading = props.loading, - disabled = props.disabled, - customOnSearch = props.onSearch, - customOnChange = props.onChange, - onCompositionStart = props.onCompositionStart, - onCompositionEnd = props.onCompositionEnd, - restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var contextSize = react.useContext(SizeContext/* default */.Z); - var composedRef = react.useRef(false); - var prefixCls = getPrefixCls('input-search', customizePrefixCls); - var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); - var _useCompactItemContex = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction), - compactSize = _useCompactItemContex.compactSize; - var size = compactSize || customizeSize || contextSize; - var inputRef = react.useRef(null); - var onChange = function onChange(e) { - if (e && e.target && e.type === 'click' && customOnSearch) { - customOnSearch(e.target.value, e); - } - if (customOnChange) { - customOnChange(e); - } - }; - var onMouseDown = function onMouseDown(e) { - var _a; - if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { - e.preventDefault(); - } - }; - var onSearch = function onSearch(e) { - var _a, _b; - if (customOnSearch) { - customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); - } - }; - var onPressEnter = function onPressEnter(e) { - if (composedRef.current || loading) { - return; - } - onSearch(e); - }; - var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; - var btnClassName = "".concat(prefixCls, "-button"); - var button; - var enterButtonAsElement = enterButton || {}; - var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; - if (isAntdButton || enterButtonAsElement.type === 'button') { - button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, (0,esm_extends/* default */.Z)({ - onMouseDown: onMouseDown, - onClick: function onClick(e) { - var _a, _b; - (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); - onSearch(e); - }, - key: 'enterButton' - }, isAntdButton ? { - className: btnClassName, - size: size - } : {})); - } else { - button = /*#__PURE__*/react.createElement(es_button/* default */.Z, { - className: btnClassName, - type: enterButton ? 'primary' : undefined, - size: size, - disabled: disabled, - key: "enterButton", - onMouseDown: onMouseDown, - onClick: onSearch, - loading: loading, - icon: searchIcon - }, enterButton); - } - if (addonAfter) { - button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { - key: 'addonAfter' - })]; - } - var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), !!size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-button"), !!enterButton), _classNames), className); - var handleOnCompositionStart = function handleOnCompositionStart(e) { - composedRef.current = true; - onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); - }; - var handleOnCompositionEnd = function handleOnCompositionEnd(e) { - composedRef.current = false; - onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); - }; - return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ - ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), - onPressEnter: onPressEnter - }, restProps, { - size: size, - onCompositionStart: handleOnCompositionStart, - onCompositionEnd: handleOnCompositionEnd, - prefixCls: inputPrefixCls, - addonAfter: button, - suffix: suffix, - onChange: onChange, - className: cls, - disabled: disabled - })); -}); -if (false) {} -/* harmony default export */ var input_Search = (Search); -// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js + 1 modules -var TextArea = __webpack_require__(80173); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js - - - - - -var input_Input = Input/* default */.ZP; -input_Input.Group = input_Group; -input_Input.Search = input_Search; -input_Input.TextArea = TextArea/* default */.Z; -input_Input.Password = input_Password; -/* harmony default export */ var input = (input_Input); - -/***/ }), - -/***/ 97183: -/*!**********************************************!*\ - !*** ./node_modules/antd/es/layout/index.js ***! - \**********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 2897); -/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 10130); - - -var Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP; -Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4; -Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_; -Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY; -Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; -/* harmony default export */ __webpack_exports__["Z"] = (Layout); - -/***/ }), - -/***/ 27221: -/*!****************************************************************!*\ - !*** ./node_modules/antd/es/layout/style/index.js + 1 modules ***! - \****************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.js - - - -/***/ }), - -/***/ 29924: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "ZP": function() { return /* binding */ es_radio; } -}); - -// UNUSED EXPORTS: Button, Group - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(21770); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js -var getDataOrAriaProps = __webpack_require__(5467); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js - -var RadioGroupContext = /*#__PURE__*/react.createContext(null); -var RadioGroupContextProvider = RadioGroupContext.Provider; -/* harmony default export */ var radio_context = (RadioGroupContext); -var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); -var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; -// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js -var es = __webpack_require__(50132); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js -var DisabledContext = __webpack_require__(98866); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var InternalRadio = function InternalRadio(props, ref) { - var _classNames; - var groupContext = react.useContext(radio_context); - var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var innerRef = react.useRef(); - var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); - var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), - isFormItemInput = _useContext.isFormItemInput; - false ? 0 : void 0; - var onChange = function onChange(e) { - var _a, _b; - (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); - (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); - }; - var customizePrefixCls = props.prefixCls, - className = props.className, - children = props.children, - style = props.style, - customDisabled = props.disabled, - restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); - var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); - var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; - var radioProps = (0,esm_extends/* default */.Z)({}, restProps); - // ===================== Disabled ===================== - var disabled = react.useContext(DisabledContext/* default */.Z); - radioProps.disabled = customDisabled || disabled; - if (groupContext) { - radioProps.name = groupContext.name; - radioProps.onChange = onChange; - radioProps.checked = props.value === groupContext.value; - radioProps.disabled = radioProps.disabled || groupContext.disabled; - } - var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); - return ( - /*#__PURE__*/ - // eslint-disable-next-line jsx-a11y/label-has-associated-control - react.createElement("label", { - className: wrapperClassString, - style: style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave - }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { - type: "radio", - prefixCls: prefixCls, - ref: mergedRef - })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) - ); -}; -var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); -if (false) {} -/* harmony default export */ var radio_radio = (Radio); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js - - - - - - - - - - - -var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var size = react.useContext(SizeContext/* default */.Z); - var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { - value: props.value - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - value = _useMergedState2[0], - setValue = _useMergedState2[1]; - var onRadioChange = function onRadioChange(ev) { - var lastValue = value; - var val = ev.target.value; - if (!('value' in props)) { - setValue(val); - } - var onChange = props.onChange; - if (onChange && val !== lastValue) { - onChange(ev); - } - }; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className, - options = props.options, - _props$buttonStyle = props.buttonStyle, - buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, - disabled = props.disabled, - children = props.children, - customizeSize = props.size, - style = props.style, - id = props.id, - onMouseEnter = props.onMouseEnter, - onMouseLeave = props.onMouseLeave, - onFocus = props.onFocus, - onBlur = props.onBlur; - var prefixCls = getPrefixCls('radio', customizePrefixCls); - var groupPrefixCls = "".concat(prefixCls, "-group"); - var childrenToRender = children; - // 如果存在 options, 优先使用 - if (options && options.length > 0) { - childrenToRender = options.map(function (option) { - if (typeof option === 'string' || typeof option === 'number') { - // 此处类型自动推导为 string - return /*#__PURE__*/react.createElement(radio_radio, { - key: option.toString(), - prefixCls: prefixCls, - disabled: disabled, - value: option, - checked: value === option - }, option); - } - // 此处类型自动推导为 { label: string value: string } - return /*#__PURE__*/react.createElement(radio_radio, { - key: "radio-group-value-options-".concat(option.value), - prefixCls: prefixCls, - disabled: option.disabled || disabled, - value: option.value, - checked: value === option.value, - style: option.style - }, option.label); - }); - } - var mergedSize = customizeSize || size; - var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { - className: classString, - style: style, - onMouseEnter: onMouseEnter, - onMouseLeave: onMouseLeave, - onFocus: onFocus, - onBlur: onBlur, - id: id, - ref: ref - }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { - value: { - onChange: onRadioChange, - value: value, - disabled: props.disabled, - name: props.name, - optionType: props.optionType - } - }, childrenToRender)); -}); -/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js - -var radioButton_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - -var RadioButton = function RadioButton(props, ref) { - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var customizePrefixCls = props.prefixCls, - radioProps = radioButton_rest(props, ["prefixCls"]); - var prefixCls = getPrefixCls('radio', customizePrefixCls); - return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { - value: "button" - }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ - prefixCls: prefixCls - }, radioProps, { - type: "radio", - ref: ref - }))); -}; -/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js - - - - -var radio_Radio = radio_radio; -radio_Radio.Button = radioButton; -radio_Radio.Group = group; -radio_Radio.__ANT_RADIO = true; -/* harmony default export */ var es_radio = (radio_Radio); - -/***/ }), - -/***/ 83822: -/*!***************************************************************!*\ - !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js - - -// deps-lint-skip: form - -/***/ }), - -/***/ 7124: -/*!**********************************************************************************************!*\ - !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! - \**********************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_EyeOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js -// This icon file is generated automatically. -var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; -/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); - -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(93771); -;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_EyeOutlined - })); -}; -EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; -/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); - -/***/ }), - -/***/ 25783: -/*!*************************************************************************************!*\ - !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js ***! - \*************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/SearchOutlined */ 509); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 93771); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var SearchOutlined = function SearchOutlined(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -SearchOutlined.displayName = 'SearchOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SearchOutlined)); - -/***/ }), - -/***/ 34243: -/*!**********************************************************!*\ - !*** ./node_modules/rc-overflow/es/index.js + 4 modules ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ rc_overflow_es; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// 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/react/index.js -var react = __webpack_require__(67294); -// 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-resize-observer/es/index.js + 4 modules -var es = __webpack_require__(48555); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useLayoutEffect.js -var useLayoutEffect = __webpack_require__(8410); -;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/Item.js - - - -var _excluded = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "responsiveDisabled", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"]; - - - // Use shared variable to save bundle size - -var UNDEFINED = undefined; - -function InternalItem(props, ref) { - var prefixCls = props.prefixCls, - invalidate = props.invalidate, - item = props.item, - renderItem = props.renderItem, - responsive = props.responsive, - responsiveDisabled = props.responsiveDisabled, - registerSize = props.registerSize, - itemKey = props.itemKey, - className = props.className, - style = props.style, - children = props.children, - display = props.display, - order = props.order, - _props$component = props.component, - Component = _props$component === void 0 ? 'div' : _props$component, - restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); - - var mergedHidden = responsive && !display; // ================================ Effect ================================ - - function internalRegisterSize(width) { - registerSize(itemKey, width); - } - - react.useEffect(function () { - return function () { - internalRegisterSize(null); - }; - }, []); // ================================ Render ================================ - - var childNode = renderItem && item !== UNDEFINED ? renderItem(item) : children; - var overflowStyle; - - if (!invalidate) { - overflowStyle = { - opacity: mergedHidden ? 0 : 1, - height: mergedHidden ? 0 : UNDEFINED, - overflowY: mergedHidden ? 'hidden' : UNDEFINED, - order: responsive ? order : UNDEFINED, - pointerEvents: mergedHidden ? 'none' : UNDEFINED, - position: mergedHidden ? 'absolute' : UNDEFINED - }; - } - - var overflowProps = {}; - - if (mergedHidden) { - overflowProps['aria-hidden'] = true; - } - - var itemNode = /*#__PURE__*/react.createElement(Component, (0,esm_extends/* default */.Z)({ - className: classnames_default()(!invalidate && prefixCls, className), - style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, overflowStyle), style) - }, overflowProps, restProps, { - ref: ref - }), childNode); - - if (responsive) { - itemNode = /*#__PURE__*/react.createElement(es/* default */.Z, { - onResize: function onResize(_ref) { - var offsetWidth = _ref.offsetWidth; - internalRegisterSize(offsetWidth); - }, - disabled: responsiveDisabled - }, itemNode); - } - - return itemNode; -} - -var Item = /*#__PURE__*/react.forwardRef(InternalItem); -Item.displayName = 'Item'; -/* harmony default export */ var es_Item = (Item); -// EXTERNAL MODULE: ./node_modules/rc-util/es/raf.js -var raf = __webpack_require__(75164); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useState.js -var useState = __webpack_require__(30470); -;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/hooks/useBatchFrameState.js - - - - -/** - * State generate. Return a `setState` but it will flush all state with one render to save perf. - * This is not a realization of `unstable_batchedUpdates`. - */ - -function useBatchFrameState() { - var _useState = (0,useState/* default */.Z)({}), - _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), - forceUpdate = _useState2[1]; - - var statesRef = (0,react.useRef)([]); - var walkingIndex = 0; - var beforeFrameId = 0; - - function createState(defaultValue) { - var myIndex = walkingIndex; - walkingIndex += 1; // Fill value if not exist yet - - if (statesRef.current.length < myIndex + 1) { - statesRef.current[myIndex] = defaultValue; - } // Return filled as `setState` - - - var value = statesRef.current[myIndex]; - - function setValue(val) { - statesRef.current[myIndex] = typeof val === 'function' ? val(statesRef.current[myIndex]) : val; - raf/* default.cancel */.Z.cancel(beforeFrameId); // Flush with batch - - beforeFrameId = (0,raf/* default */.Z)(function () { - forceUpdate({}, true); - }); - } - - return [value, setValue]; - } - - return createState; -} -;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/RawItem.js - - -var RawItem_excluded = ["component"], - _excluded2 = ["className"], - _excluded3 = ["className"]; - - - - - -var InternalRawItem = function InternalRawItem(props, ref) { - var context = react.useContext(OverflowContext); // Render directly when context not provided - - if (!context) { - var _props$component = props.component, - Component = _props$component === void 0 ? 'div' : _props$component, - _restProps = (0,objectWithoutProperties/* default */.Z)(props, RawItem_excluded); - - return /*#__PURE__*/react.createElement(Component, (0,esm_extends/* default */.Z)({}, _restProps, { - ref: ref - })); - } - - var contextClassName = context.className, - restContext = (0,objectWithoutProperties/* default */.Z)(context, _excluded2); - - var className = props.className, - restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded3); // Do not pass context to sub item to avoid multiple measure - - - return /*#__PURE__*/react.createElement(OverflowContext.Provider, { - value: null - }, /*#__PURE__*/react.createElement(es_Item, (0,esm_extends/* default */.Z)({ - ref: ref, - className: classnames_default()(contextClassName, className) - }, restContext, restProps))); -}; - -var RawItem = /*#__PURE__*/react.forwardRef(InternalRawItem); -RawItem.displayName = 'RawItem'; -/* harmony default export */ var es_RawItem = (RawItem); -;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/Overflow.js - - - - -var Overflow_excluded = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"]; - - - - - - - - -var OverflowContext = /*#__PURE__*/react.createContext(null); -var RESPONSIVE = 'responsive'; -var INVALIDATE = 'invalidate'; - -function defaultRenderRest(omittedItems) { - return "+ ".concat(omittedItems.length, " ..."); -} - -function Overflow(props, ref) { - var _props$prefixCls = props.prefixCls, - prefixCls = _props$prefixCls === void 0 ? 'rc-overflow' : _props$prefixCls, - _props$data = props.data, - data = _props$data === void 0 ? [] : _props$data, - renderItem = props.renderItem, - renderRawItem = props.renderRawItem, - itemKey = props.itemKey, - _props$itemWidth = props.itemWidth, - itemWidth = _props$itemWidth === void 0 ? 10 : _props$itemWidth, - ssr = props.ssr, - style = props.style, - className = props.className, - maxCount = props.maxCount, - renderRest = props.renderRest, - renderRawRest = props.renderRawRest, - suffix = props.suffix, - _props$component = props.component, - Component = _props$component === void 0 ? 'div' : _props$component, - itemComponent = props.itemComponent, - onVisibleChange = props.onVisibleChange, - restProps = (0,objectWithoutProperties/* default */.Z)(props, Overflow_excluded); - - var createUseState = useBatchFrameState(); - var fullySSR = ssr === 'full'; - - var _createUseState = createUseState(null), - _createUseState2 = (0,slicedToArray/* default */.Z)(_createUseState, 2), - containerWidth = _createUseState2[0], - setContainerWidth = _createUseState2[1]; - - var mergedContainerWidth = containerWidth || 0; - - var _createUseState3 = createUseState(new Map()), - _createUseState4 = (0,slicedToArray/* default */.Z)(_createUseState3, 2), - itemWidths = _createUseState4[0], - setItemWidths = _createUseState4[1]; - - var _createUseState5 = createUseState(0), - _createUseState6 = (0,slicedToArray/* default */.Z)(_createUseState5, 2), - prevRestWidth = _createUseState6[0], - setPrevRestWidth = _createUseState6[1]; - - var _createUseState7 = createUseState(0), - _createUseState8 = (0,slicedToArray/* default */.Z)(_createUseState7, 2), - restWidth = _createUseState8[0], - setRestWidth = _createUseState8[1]; - - var _createUseState9 = createUseState(0), - _createUseState10 = (0,slicedToArray/* default */.Z)(_createUseState9, 2), - suffixWidth = _createUseState10[0], - setSuffixWidth = _createUseState10[1]; - - var _useState = (0,react.useState)(null), - _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), - suffixFixedStart = _useState2[0], - setSuffixFixedStart = _useState2[1]; - - var _useState3 = (0,react.useState)(null), - _useState4 = (0,slicedToArray/* default */.Z)(_useState3, 2), - displayCount = _useState4[0], - setDisplayCount = _useState4[1]; - - var mergedDisplayCount = react.useMemo(function () { - if (displayCount === null && fullySSR) { - return Number.MAX_SAFE_INTEGER; - } - - return displayCount || 0; - }, [displayCount, containerWidth]); - - var _useState5 = (0,react.useState)(false), - _useState6 = (0,slicedToArray/* default */.Z)(_useState5, 2), - restReady = _useState6[0], - setRestReady = _useState6[1]; - - var itemPrefixCls = "".concat(prefixCls, "-item"); // Always use the max width to avoid blink - - var mergedRestWidth = Math.max(prevRestWidth, restWidth); // ================================= Data ================================= - - var isResponsive = maxCount === RESPONSIVE; - var shouldResponsive = data.length && isResponsive; - var invalidate = maxCount === INVALIDATE; - /** - * When is `responsive`, we will always render rest node to get the real width of it for calculation - */ - - var showRest = shouldResponsive || typeof maxCount === 'number' && data.length > maxCount; - var mergedData = (0,react.useMemo)(function () { - var items = data; - - if (shouldResponsive) { - if (containerWidth === null && fullySSR) { - items = data; - } else { - items = data.slice(0, Math.min(data.length, mergedContainerWidth / itemWidth)); - } - } else if (typeof maxCount === 'number') { - items = data.slice(0, maxCount); - } - - return items; - }, [data, itemWidth, containerWidth, maxCount, shouldResponsive]); - var omittedItems = (0,react.useMemo)(function () { - if (shouldResponsive) { - return data.slice(mergedDisplayCount + 1); - } - - return data.slice(mergedData.length); - }, [data, mergedData, shouldResponsive, mergedDisplayCount]); // ================================= Item ================================= - - var getKey = (0,react.useCallback)(function (item, index) { - var _ref; - - if (typeof itemKey === 'function') { - return itemKey(item); - } - - return (_ref = itemKey && (item === null || item === void 0 ? void 0 : item[itemKey])) !== null && _ref !== void 0 ? _ref : index; - }, [itemKey]); - var mergedRenderItem = (0,react.useCallback)(renderItem || function (item) { - return item; - }, [renderItem]); - - function updateDisplayCount(count, suffixFixedStartVal, notReady) { - // React 18 will sync render even when the value is same in some case. - // We take `mergedData` as deps which may cause dead loop if it's dynamic generate. - // ref: https://github.com/ant-design/ant-design/issues/36559 - if (displayCount === count && (suffixFixedStartVal === undefined || suffixFixedStartVal === suffixFixedStart)) { - return; - } - - setDisplayCount(count); - - if (!notReady) { - setRestReady(count < data.length - 1); - onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(count); - } - - if (suffixFixedStartVal !== undefined) { - setSuffixFixedStart(suffixFixedStartVal); - } - } // ================================= Size ================================= - - - function onOverflowResize(_, element) { - setContainerWidth(element.clientWidth); - } - - function registerSize(key, width) { - setItemWidths(function (origin) { - var clone = new Map(origin); - - if (width === null) { - clone.delete(key); - } else { - clone.set(key, width); - } - - return clone; - }); - } - - function registerOverflowSize(_, width) { - setRestWidth(width); - setPrevRestWidth(restWidth); - } - - function registerSuffixSize(_, width) { - setSuffixWidth(width); - } // ================================ Effect ================================ - - - function getItemWidth(index) { - return itemWidths.get(getKey(mergedData[index], index)); - } - - (0,useLayoutEffect/* default */.Z)(function () { - if (mergedContainerWidth && mergedRestWidth && mergedData) { - var totalWidth = suffixWidth; - var len = mergedData.length; - var lastIndex = len - 1; // When data count change to 0, reset this since not loop will reach - - if (!len) { - updateDisplayCount(0, null); - return; - } - - for (var i = 0; i < len; i += 1) { - var currentItemWidth = getItemWidth(i); // Fully will always render - - if (fullySSR) { - currentItemWidth = currentItemWidth || 0; - } // Break since data not ready - - - if (currentItemWidth === undefined) { - updateDisplayCount(i - 1, undefined, true); - break; - } // Find best match - - - totalWidth += currentItemWidth; - - if ( // Only one means `totalWidth` is the final width - lastIndex === 0 && totalWidth <= mergedContainerWidth || // Last two width will be the final width - i === lastIndex - 1 && totalWidth + getItemWidth(lastIndex) <= mergedContainerWidth) { - // Additional check if match the end - updateDisplayCount(lastIndex, null); - break; - } else if (totalWidth + mergedRestWidth > mergedContainerWidth) { - // Can not hold all the content to show rest - updateDisplayCount(i - 1, totalWidth - currentItemWidth - suffixWidth + restWidth); - break; - } - } - - if (suffix && getItemWidth(0) + suffixWidth > mergedContainerWidth) { - setSuffixFixedStart(null); - } - } - }, [mergedContainerWidth, itemWidths, restWidth, suffixWidth, getKey, mergedData]); // ================================ Render ================================ - - var displayRest = restReady && !!omittedItems.length; - var suffixStyle = {}; - - if (suffixFixedStart !== null && shouldResponsive) { - suffixStyle = { - position: 'absolute', - left: suffixFixedStart, - top: 0 - }; - } - - var itemSharedProps = { - prefixCls: itemPrefixCls, - responsive: shouldResponsive, - component: itemComponent, - invalidate: invalidate - }; // >>>>> Choice render fun by `renderRawItem` - - var internalRenderItemNode = renderRawItem ? function (item, index) { - var key = getKey(item, index); - return /*#__PURE__*/react.createElement(OverflowContext.Provider, { - key: key, - value: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, itemSharedProps), {}, { - order: index, - item: item, - itemKey: key, - registerSize: registerSize, - display: index <= mergedDisplayCount - }) - }, renderRawItem(item, index)); - } : function (item, index) { - var key = getKey(item, index); - return /*#__PURE__*/react.createElement(es_Item, (0,esm_extends/* default */.Z)({}, itemSharedProps, { - order: index, - key: key, - item: item, - renderItem: mergedRenderItem, - itemKey: key, - registerSize: registerSize, - display: index <= mergedDisplayCount - })); - }; // >>>>> Rest node - - var restNode; - var restContextProps = { - order: displayRest ? mergedDisplayCount : Number.MAX_SAFE_INTEGER, - className: "".concat(itemPrefixCls, "-rest"), - registerSize: registerOverflowSize, - display: displayRest - }; - - if (!renderRawRest) { - var mergedRenderRest = renderRest || defaultRenderRest; - restNode = /*#__PURE__*/react.createElement(es_Item, (0,esm_extends/* default */.Z)({}, itemSharedProps, restContextProps), typeof mergedRenderRest === 'function' ? mergedRenderRest(omittedItems) : mergedRenderRest); - } else if (renderRawRest) { - restNode = /*#__PURE__*/react.createElement(OverflowContext.Provider, { - value: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, itemSharedProps), restContextProps) - }, renderRawRest(omittedItems)); - } - - var overflowNode = /*#__PURE__*/react.createElement(Component, (0,esm_extends/* default */.Z)({ - className: classnames_default()(!invalidate && prefixCls, className), - style: style, - ref: ref - }, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /*#__PURE__*/react.createElement(es_Item, (0,esm_extends/* default */.Z)({}, itemSharedProps, { - responsive: isResponsive, - responsiveDisabled: !shouldResponsive, - order: mergedDisplayCount, - className: "".concat(itemPrefixCls, "-suffix"), - registerSize: registerSuffixSize, - display: true, - style: suffixStyle - }), suffix)); - - if (isResponsive) { - overflowNode = /*#__PURE__*/react.createElement(es/* default */.Z, { - onResize: onOverflowResize, - disabled: !shouldResponsive - }, overflowNode); - } - - return overflowNode; -} - -var ForwardOverflow = /*#__PURE__*/react.forwardRef(Overflow); -ForwardOverflow.displayName = 'Overflow'; -ForwardOverflow.Item = es_RawItem; -ForwardOverflow.RESPONSIVE = RESPONSIVE; -ForwardOverflow.INVALIDATE = INVALIDATE; // Convert to generic type - -/* harmony default export */ var es_Overflow = (ForwardOverflow); -;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/index.js - -/* harmony default export */ var rc_overflow_es = (es_Overflow); - -/***/ }) - -}]); \ No newline at end of file diff --git a/39146.async.js b/39146.async.js index 16d95b831d..e789d6d63e 100644 --- a/39146.async.js +++ b/39146.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[39146,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[39146],{ /***/ 32857: /*!********************************************************************!*\ diff --git a/39430.async.js b/39430.async.js index 464fe5ac3a..76c8a2a1b0 100644 --- a/39430.async.js +++ b/39430.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[39430,34180,25619,7303,79779],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[39430,34180,25619,79779],{ /***/ 79090: /*!********************************************************************!*\ diff --git a/40018.async.js b/40018.async.js index b3ea8a5652..f7aee00e7a 100644 --- a/40018.async.js +++ b/40018.async.js @@ -942,6 +942,195 @@ var style = __webpack_require__(38390); // style dependencies +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/50745.async.js b/40722.async.js similarity index 78% rename from 50745.async.js rename to 40722.async.js index aaaf9d480d..26833b9dc8 100644 --- a/50745.async.js +++ b/40722.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[50745,42573,32640,88975,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[40722,42573,17942,6812,88975,99491,97141,88092,95946,87388],{ /***/ 82826: /*!**********************************************************************************!*\ @@ -370,6 +370,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: diff --git a/42255.async.js b/42255.async.js index 4419e03d84..25d616f71b 100644 --- a/42255.async.js +++ b/42255.async.js @@ -1590,6 +1590,195 @@ SearchOutlined.displayName = 'SearchOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 43159: /*!**************************************************!*\ !*** ./node_modules/rc-tooltip/es/placements.js ***! diff --git a/58240.async.js b/42268.async.js similarity index 72% rename from 58240.async.js rename to 42268.async.js index 4dd1a9572e..810738917c 100644 --- a/58240.async.js +++ b/42268.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[58240],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[42268,21104],{ /***/ 26554: /*!*******************************************************************!*\ @@ -573,6 +573,303 @@ var PresetColorTypes = (0,_type__WEBPACK_IMPORTED_MODULE_0__/* .tuple */ .b)('pi /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 75008: /*!*********************************************************!*\ !*** ./node_modules/antd/es/input/index.js + 5 modules ***! @@ -1230,6 +1527,195 @@ var RightOutlined = function RightOutlined(props, ref) { RightOutlined.displayName = 'RightOutlined'; /* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(RightOutlined)); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/42573.async.js b/42573.async.js index 25439e7d83..3e704fa1d4 100644 --- a/42573.async.js +++ b/42573.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[42573,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[42573,95946,87388],{ /***/ 58492: /*!**************************************************************!*\ diff --git a/43025.async.js b/43025.async.js index 60ee7a9866..4183d022bc 100644 --- a/43025.async.js +++ b/43025.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[43025,34180,25619,7303,79779],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[43025,34180,25619,79779],{ /***/ 7918: /*!******************************************************************************!*\ diff --git a/43295.async.js b/43295.async.js index 422dc9cf75..7d916d18d7 100644 --- a/43295.async.js +++ b/43295.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[43295,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[43295],{ /***/ 48898: /*!*************************************************************************!*\ diff --git a/43525.async.js b/43525.async.js new file mode 100644 index 0000000000..d173de7595 --- /dev/null +++ b/43525.async.js @@ -0,0 +1,777 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[43525],{ + +/***/ 87588: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined)); + +/***/ }), + +/***/ 5467: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } +/* harmony export */ }); +function getDataOrAriaProps(props) { + return Object.keys(props).reduce(function (prev, key) { + if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { + prev[key] = props[key]; + } + return prev; + }, {}); +} + +/***/ }), + +/***/ 97183: +/*!**********************************************!*\ + !*** ./node_modules/antd/es/layout/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 2897); +/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 10130); + + +var Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP; +Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4; +Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_; +Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY; +Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; +/* harmony default export */ __webpack_exports__["Z"] = (Layout); + +/***/ }), + +/***/ 27221: +/*!****************************************************************!*\ + !*** ./node_modules/antd/es/layout/style/index.js + 1 modules ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.js + + + +/***/ }), + +/***/ 37029: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/locale/zh_CN.js + 4 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_locale_zh_CN; } +}); + +// EXTERNAL MODULE: ./node_modules/rc-pagination/es/locale/zh_CN.js +var zh_CN = __webpack_require__(81626); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/rc-picker/es/locale/zh_CN.js +var locale = { + locale: 'zh_CN', + today: '今天', + now: '此刻', + backToToday: '返回今天', + ok: '确定', + timeSelect: '选择时间', + dateSelect: '选择日期', + weekSelect: '选择周', + clear: '清除', + month: '月', + year: '年', + previousMonth: '上个月 (翻页上键)', + nextMonth: '下个月 (翻页下键)', + monthSelect: '选择月份', + yearSelect: '选择年份', + decadeSelect: '选择年代', + yearFormat: 'YYYY年', + dayFormat: 'D日', + dateFormat: 'YYYY年M月D日', + dateTimeFormat: 'YYYY年M月D日 HH时mm分ss秒', + previousYear: '上一年 (Control键加左方向键)', + nextYear: '下一年 (Control键加右方向键)', + previousDecade: '上一年代', + nextDecade: '下一年代', + previousCentury: '上一世纪', + nextCentury: '下一世纪' +}; +/* harmony default export */ var locale_zh_CN = (locale); +;// CONCATENATED MODULE: ./node_modules/antd/es/time-picker/locale/zh_CN.js +var zh_CN_locale = { + placeholder: '请选择时间', + rangePlaceholder: ['开始时间', '结束时间'] +}; +/* harmony default export */ var time_picker_locale_zh_CN = (zh_CN_locale); +;// CONCATENATED MODULE: ./node_modules/antd/es/date-picker/locale/zh_CN.js + + + +// 统一合并为完整的 Locale +var locale_zh_CN_locale = { + lang: (0,esm_extends/* default */.Z)({ + placeholder: '请选择日期', + yearPlaceholder: '请选择年份', + quarterPlaceholder: '请选择季度', + monthPlaceholder: '请选择月份', + weekPlaceholder: '请选择周', + rangePlaceholder: ['开始日期', '结束日期'], + rangeYearPlaceholder: ['开始年份', '结束年份'], + rangeMonthPlaceholder: ['开始月份', '结束月份'], + rangeQuarterPlaceholder: ['开始季度', '结束季度'], + rangeWeekPlaceholder: ['开始周', '结束周'] + }, locale_zh_CN), + timePickerLocale: (0,esm_extends/* default */.Z)({}, time_picker_locale_zh_CN) +}; +// should add whitespace between char in Button +locale_zh_CN_locale.lang.ok = '确定'; +// All settings at: +// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json +/* harmony default export */ var date_picker_locale_zh_CN = (locale_zh_CN_locale); +;// CONCATENATED MODULE: ./node_modules/antd/es/calendar/locale/zh_CN.js + +/* harmony default export */ var calendar_locale_zh_CN = (date_picker_locale_zh_CN); +;// CONCATENATED MODULE: ./node_modules/antd/es/locale/zh_CN.js +/* eslint-disable no-template-curly-in-string */ + + + + +var typeTemplate = '${label}不是一个有效的${type}'; +var localeValues = { + locale: 'zh-cn', + Pagination: zh_CN/* default */.Z, + DatePicker: date_picker_locale_zh_CN, + TimePicker: time_picker_locale_zh_CN, + Calendar: calendar_locale_zh_CN, + // locales for all components + global: { + placeholder: '请选择' + }, + Table: { + filterTitle: '筛选', + filterConfirm: '确定', + filterReset: '重置', + filterEmptyText: '无筛选项', + filterCheckall: '全选', + filterSearchPlaceholder: '在筛选项中搜索', + selectAll: '全选当页', + selectInvert: '反选当页', + selectNone: '清空所有', + selectionAll: '全选所有', + sortTitle: '排序', + expand: '展开行', + collapse: '关闭行', + triggerDesc: '点击降序', + triggerAsc: '点击升序', + cancelSort: '取消排序' + }, + Modal: { + okText: '确定', + cancelText: '取消', + justOkText: '知道了' + }, + Popconfirm: { + cancelText: '取消', + okText: '确定' + }, + Transfer: { + titles: ['', ''], + searchPlaceholder: '请输入搜索内容', + itemUnit: '项', + itemsUnit: '项', + remove: '删除', + selectCurrent: '全选当页', + removeCurrent: '删除当页', + selectAll: '全选所有', + removeAll: '删除全部', + selectInvert: '反选当页' + }, + Upload: { + uploading: '文件上传中', + removeFile: '删除文件', + uploadError: '上传错误', + previewFile: '预览文件', + downloadFile: '下载文件' + }, + Empty: { + description: '暂无数据' + }, + Icon: { + icon: '图标' + }, + Text: { + edit: '编辑', + copy: '复制', + copied: '复制成功', + expand: '展开' + }, + PageHeader: { + back: '返回' + }, + Form: { + optional: '(可选)', + defaultValidateMessages: { + "default": '字段验证错误${label}', + required: '请输入${label}', + "enum": '${label}必须是其中一个[${enum}]', + whitespace: '${label}不能为空字符', + date: { + format: '${label}日期格式无效', + parse: '${label}不能转换为日期', + invalid: '${label}是一个无效日期' + }, + types: { + string: typeTemplate, + method: typeTemplate, + array: typeTemplate, + object: typeTemplate, + number: typeTemplate, + date: typeTemplate, + "boolean": typeTemplate, + integer: typeTemplate, + "float": typeTemplate, + regexp: typeTemplate, + email: typeTemplate, + url: typeTemplate, + hex: typeTemplate + }, + string: { + len: '${label}须为${len}个字符', + min: '${label}最少${min}个字符', + max: '${label}最多${max}个字符', + range: '${label}须在${min}-${max}字符之间' + }, + number: { + len: '${label}必须等于${len}', + min: '${label}最小值为${min}', + max: '${label}最大值为${max}', + range: '${label}须在${min}-${max}之间' + }, + array: { + len: '须为${len}个${label}', + min: '最少${min}个${label}', + max: '最多${max}个${label}', + range: '${label}数量须在${min}-${max}之间' + }, + pattern: { + mismatch: '${label}与模式不匹配${pattern}' + } + } + }, + Image: { + preview: '预览' + } +}; +/* harmony default export */ var es_locale_zh_CN = (localeValues); + +/***/ }), + +/***/ 29924: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "ZP": function() { return /* binding */ es_radio; } +}); + +// UNUSED EXPORTS: Button, Group + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js +var SizeContext = __webpack_require__(97647); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js +var getDataOrAriaProps = __webpack_require__(5467); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js + +var RadioGroupContext = /*#__PURE__*/react.createContext(null); +var RadioGroupContextProvider = RadioGroupContext.Provider; +/* harmony default export */ var radio_context = (RadioGroupContext); +var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); +var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js +var es = __webpack_require__(50132); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var InternalRadio = function InternalRadio(props, ref) { + var _classNames; + var groupContext = react.useContext(radio_context); + var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var innerRef = react.useRef(); + var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); + var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + false ? 0 : void 0; + var onChange = function onChange(e) { + var _a, _b; + (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); + (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); + }; + var customizePrefixCls = props.prefixCls, + className = props.className, + children = props.children, + style = props.style, + customDisabled = props.disabled, + restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); + var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); + var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; + var radioProps = (0,esm_extends/* default */.Z)({}, restProps); + // ===================== Disabled ===================== + var disabled = react.useContext(DisabledContext/* default */.Z); + radioProps.disabled = customDisabled || disabled; + if (groupContext) { + radioProps.name = groupContext.name; + radioProps.onChange = onChange; + radioProps.checked = props.value === groupContext.value; + radioProps.disabled = radioProps.disabled || groupContext.disabled; + } + var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: wrapperClassString, + style: style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { + type: "radio", + prefixCls: prefixCls, + ref: mergedRef + })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) + ); +}; +var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); +if (false) {} +/* harmony default export */ var radio_radio = (Radio); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js + + + + + + + + + + + +var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var size = react.useContext(SizeContext/* default */.Z); + var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { + value: props.value + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var onRadioChange = function onRadioChange(ev) { + var lastValue = value; + var val = ev.target.value; + if (!('value' in props)) { + setValue(val); + } + var onChange = props.onChange; + if (onChange && val !== lastValue) { + onChange(ev); + } + }; + var customizePrefixCls = props.prefixCls, + _props$className = props.className, + className = _props$className === void 0 ? '' : _props$className, + options = props.options, + _props$buttonStyle = props.buttonStyle, + buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, + disabled = props.disabled, + children = props.children, + customizeSize = props.size, + style = props.style, + id = props.id, + onMouseEnter = props.onMouseEnter, + onMouseLeave = props.onMouseLeave, + onFocus = props.onFocus, + onBlur = props.onBlur; + var prefixCls = getPrefixCls('radio', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var childrenToRender = children; + // 如果存在 options, 优先使用 + if (options && options.length > 0) { + childrenToRender = options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + // 此处类型自动推导为 string + return /*#__PURE__*/react.createElement(radio_radio, { + key: option.toString(), + prefixCls: prefixCls, + disabled: disabled, + value: option, + checked: value === option + }, option); + } + // 此处类型自动推导为 { label: string value: string } + return /*#__PURE__*/react.createElement(radio_radio, { + key: "radio-group-value-options-".concat(option.value), + prefixCls: prefixCls, + disabled: option.disabled || disabled, + value: option.value, + checked: value === option.value, + style: option.style + }, option.label); + }); + } + var mergedSize = customizeSize || size; + var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave, + onFocus: onFocus, + onBlur: onBlur, + id: id, + ref: ref + }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { + value: { + onChange: onRadioChange, + value: value, + disabled: props.disabled, + name: props.name, + optionType: props.optionType + } + }, childrenToRender)); +}); +/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js + +var radioButton_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + +var RadioButton = function RadioButton(props, ref) { + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var customizePrefixCls = props.prefixCls, + radioProps = radioButton_rest(props, ["prefixCls"]); + var prefixCls = getPrefixCls('radio', customizePrefixCls); + return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { + value: "button" + }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ + prefixCls: prefixCls + }, radioProps, { + type: "radio", + ref: ref + }))); +}; +/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js + + + + +var radio_Radio = radio_radio; +radio_Radio.Button = radioButton; +radio_Radio.Group = group; +radio_Radio.__ANT_RADIO = true; +/* harmony default export */ var es_radio = (radio_Radio); + +/***/ }), + +/***/ 83822: +/*!***************************************************************!*\ + !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js + + +// deps-lint-skip: form + +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }) + +}]); \ No newline at end of file diff --git a/43778.async.js b/43778.async.js index 92b6ac3451..4a9c25cf15 100644 --- a/43778.async.js +++ b/43778.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[43778,47638,3446],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[43778,47638,3446,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1470,6 +1470,195 @@ var style = __webpack_require__(38390); // style dependencies +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/99608.async.js b/4434.async.js similarity index 76% rename from 99608.async.js rename to 4434.async.js index adf7a005b1..2d87aee837 100644 --- a/99608.async.js +++ b/4434.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[99608],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[4434],{ /***/ 50756: /*!********************************************************************!*\ @@ -106,6 +106,303 @@ function useForceUpdate() { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 34041: /*!**********************************************!*\ !*** ./node_modules/antd/es/select/index.js ***! diff --git a/45061.async.js b/45061.async.js index 4527fde988..b8e463974e 100644 --- a/45061.async.js +++ b/45061.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[45061,42573,45886,92785,88975,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[45061,42573,45886,92785,88975,99491,97141,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ diff --git a/45886.async.js b/45886.async.js index 1cf5e6e35d..e91a3cc70d 100644 --- a/45886.async.js +++ b/45886.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[45886,42573,45061,92785,88975,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[45886,42573,45061,92785,88975,99491,97141,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ diff --git a/46059.async.js b/46059.async.js index 0d071e415d..a8312fe592 100644 --- a/46059.async.js +++ b/46059.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[46059,34180,72693,25619,7303,79779],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[46059,34180,72693,25619,79779,21104],{ /***/ 26554: /*!*******************************************************************!*\ @@ -2192,6 +2192,195 @@ RightOutlined.displayName = 'RightOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 43159: /*!**************************************************!*\ !*** ./node_modules/rc-tooltip/es/placements.js ***! diff --git a/11004.async.js b/46981.async.js similarity index 59% rename from 11004.async.js rename to 46981.async.js index 00beff7ea5..730835284b 100644 --- a/11004.async.js +++ b/46981.async.js @@ -1,309 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[11004],{ - -/***/ 5467: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } -/* harmony export */ }); -function getDataOrAriaProps(props) { - return Object.keys(props).reduce(function (prev, key) { - if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { - prev[key] = props[key]; - } - return prev; - }, {}); -} - -/***/ }), - -/***/ 29924: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "ZP": function() { return /* binding */ es_radio; } -}); - -// UNUSED EXPORTS: Button, Group - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(21770); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js -var getDataOrAriaProps = __webpack_require__(5467); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js - -var RadioGroupContext = /*#__PURE__*/react.createContext(null); -var RadioGroupContextProvider = RadioGroupContext.Provider; -/* harmony default export */ var radio_context = (RadioGroupContext); -var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); -var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; -// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js -var es = __webpack_require__(50132); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js -var DisabledContext = __webpack_require__(98866); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var InternalRadio = function InternalRadio(props, ref) { - var _classNames; - var groupContext = react.useContext(radio_context); - var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var innerRef = react.useRef(); - var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); - var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), - isFormItemInput = _useContext.isFormItemInput; - false ? 0 : void 0; - var onChange = function onChange(e) { - var _a, _b; - (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); - (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); - }; - var customizePrefixCls = props.prefixCls, - className = props.className, - children = props.children, - style = props.style, - customDisabled = props.disabled, - restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); - var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); - var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; - var radioProps = (0,esm_extends/* default */.Z)({}, restProps); - // ===================== Disabled ===================== - var disabled = react.useContext(DisabledContext/* default */.Z); - radioProps.disabled = customDisabled || disabled; - if (groupContext) { - radioProps.name = groupContext.name; - radioProps.onChange = onChange; - radioProps.checked = props.value === groupContext.value; - radioProps.disabled = radioProps.disabled || groupContext.disabled; - } - var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); - return ( - /*#__PURE__*/ - // eslint-disable-next-line jsx-a11y/label-has-associated-control - react.createElement("label", { - className: wrapperClassString, - style: style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave - }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { - type: "radio", - prefixCls: prefixCls, - ref: mergedRef - })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) - ); -}; -var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); -if (false) {} -/* harmony default export */ var radio_radio = (Radio); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js - - - - - - - - - - - -var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var size = react.useContext(SizeContext/* default */.Z); - var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { - value: props.value - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - value = _useMergedState2[0], - setValue = _useMergedState2[1]; - var onRadioChange = function onRadioChange(ev) { - var lastValue = value; - var val = ev.target.value; - if (!('value' in props)) { - setValue(val); - } - var onChange = props.onChange; - if (onChange && val !== lastValue) { - onChange(ev); - } - }; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className, - options = props.options, - _props$buttonStyle = props.buttonStyle, - buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, - disabled = props.disabled, - children = props.children, - customizeSize = props.size, - style = props.style, - id = props.id, - onMouseEnter = props.onMouseEnter, - onMouseLeave = props.onMouseLeave, - onFocus = props.onFocus, - onBlur = props.onBlur; - var prefixCls = getPrefixCls('radio', customizePrefixCls); - var groupPrefixCls = "".concat(prefixCls, "-group"); - var childrenToRender = children; - // 如果存在 options, 优先使用 - if (options && options.length > 0) { - childrenToRender = options.map(function (option) { - if (typeof option === 'string' || typeof option === 'number') { - // 此处类型自动推导为 string - return /*#__PURE__*/react.createElement(radio_radio, { - key: option.toString(), - prefixCls: prefixCls, - disabled: disabled, - value: option, - checked: value === option - }, option); - } - // 此处类型自动推导为 { label: string value: string } - return /*#__PURE__*/react.createElement(radio_radio, { - key: "radio-group-value-options-".concat(option.value), - prefixCls: prefixCls, - disabled: option.disabled || disabled, - value: option.value, - checked: value === option.value, - style: option.style - }, option.label); - }); - } - var mergedSize = customizeSize || size; - var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { - className: classString, - style: style, - onMouseEnter: onMouseEnter, - onMouseLeave: onMouseLeave, - onFocus: onFocus, - onBlur: onBlur, - id: id, - ref: ref - }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { - value: { - onChange: onRadioChange, - value: value, - disabled: props.disabled, - name: props.name, - optionType: props.optionType - } - }, childrenToRender)); -}); -/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js - -var radioButton_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - -var RadioButton = function RadioButton(props, ref) { - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var customizePrefixCls = props.prefixCls, - radioProps = radioButton_rest(props, ["prefixCls"]); - var prefixCls = getPrefixCls('radio', customizePrefixCls); - return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { - value: "button" - }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ - prefixCls: prefixCls - }, radioProps, { - type: "radio", - ref: ref - }))); -}; -/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js - - - - -var radio_Radio = radio_radio; -radio_Radio.Button = radioButton; -radio_Radio.Group = group; -radio_Radio.__ANT_RADIO = true; -/* harmony default export */ var es_radio = (radio_Radio); - -/***/ }), - -/***/ 83822: -/*!***************************************************************!*\ - !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js - - -// deps-lint-skip: form - -/***/ }), +(self["webpackChunk"] = self["webpackChunk"] || []).push([[46981,36579,23805],{ /***/ 73481: /*!*************************************************************!*\ @@ -740,6 +436,195 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/62654.chunk.css b/46981.chunk.css similarity index 100% rename from 62654.chunk.css rename to 46981.chunk.css diff --git a/47501.async.js b/47501.async.js index 2d1ad55472..aa0e8260f7 100644 --- a/47501.async.js +++ b/47501.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[47501,79256],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[47501,79256,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1268,6 +1268,195 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }), /***/ 60865: diff --git a/47638.async.js b/47638.async.js index 9ab8aca0fa..663561fc11 100644 --- a/47638.async.js +++ b/47638.async.js @@ -942,6 +942,195 @@ var style = __webpack_require__(38390); // style dependencies +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/47824.chunk.css b/47824.chunk.css deleted file mode 100644 index 77017c14e7..0000000000 --- a/47824.chunk.css +++ /dev/null @@ -1,847 +0,0 @@ -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/divider/style/index.less ***! - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-divider { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - border-top: 1px solid rgba(0, 0, 0, 0.06); -} -.ant-divider-vertical { - position: relative; - top: -0.06em; - display: inline-block; - height: 0.9em; - margin: 0 8px; - vertical-align: middle; - border-top: 0; - border-left: 1px solid rgba(0, 0, 0, 0.06); -} -.ant-divider-horizontal { - display: flex; - clear: both; - width: 100%; - min-width: 100%; - margin: 24px 0; -} -.ant-divider-horizontal.ant-divider-with-text { - display: flex; - align-items: center; - margin: 16px 0; - color: rgba(0, 0, 0, 0.85); - font-weight: 500; - font-size: 14px; - white-space: nowrap; - text-align: center; - border-top: 0; - border-top-color: rgba(0, 0, 0, 0.06); -} -.ant-divider-horizontal.ant-divider-with-text::before, -.ant-divider-horizontal.ant-divider-with-text::after { - position: relative; - width: 50%; - border-top: 1px solid transparent; - border-top-color: inherit; - border-bottom: 0; - transform: translateY(50%); - content: ''; -} -.ant-divider-horizontal.ant-divider-with-text-left::before { - width: 5%; -} -.ant-divider-horizontal.ant-divider-with-text-left::after { - width: 95%; -} -.ant-divider-horizontal.ant-divider-with-text-right::before { - width: 95%; -} -.ant-divider-horizontal.ant-divider-with-text-right::after { - width: 5%; -} -.ant-divider-inner-text { - display: inline-block; - padding: 0 1em; -} -.ant-divider-dashed { - background: none; - border-color: rgba(0, 0, 0, 0.06); - border-style: dashed; - border-width: 1px 0 0; -} -.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::before, -.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::after { - border-style: dashed none none; -} -.ant-divider-vertical.ant-divider-dashed { - border-width: 0 0 0 1px; -} -.ant-divider-plain.ant-divider-with-text { - color: rgba(0, 0, 0, 0.85); - font-weight: normal; - font-size: 12px; -} -.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::before { - width: 0; -} -.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::after { - width: 100%; -} -.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text { - padding-left: 0; -} -.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::before { - width: 100%; -} -.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::after { - width: 0; -} -.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text { - padding-right: 0; -} -.ant-divider-rtl { - direction: rtl; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::before { - width: 95%; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::after { - width: 5%; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::before { - width: 5%; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after { - width: 95%; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-breadcrumb { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - color: rgba(0, 0, 0, 0.45); - font-size: 12px; -} -.ant-breadcrumb .anticon { - font-size: 12px; -} -.ant-breadcrumb ol { - display: flex; - flex-wrap: wrap; - margin: 0; - padding: 0; - list-style: none; -} -.ant-breadcrumb a { - color: rgba(0, 0, 0, 0.45); - transition: color 0.3s; -} -.ant-breadcrumb a:hover { - color: rgba(0, 0, 0, 0.85); -} -.ant-breadcrumb li:last-child { - color: rgba(0, 0, 0, 0.85); -} -.ant-breadcrumb li:last-child a { - color: rgba(0, 0, 0, 0.85); -} -li:last-child > .ant-breadcrumb-separator { - display: none; -} -.ant-breadcrumb-separator { - margin: 0 4px; - color: rgba(0, 0, 0, 0.45); -} -.ant-breadcrumb-link > .anticon + span, -.ant-breadcrumb-link > .anticon + a { - margin-left: 4px; -} -.ant-breadcrumb-overlay-link > .anticon { - margin-left: 4px; -} -.ant-breadcrumb-rtl { - direction: rtl; -} -.ant-breadcrumb-rtl::before { - display: table; - content: ''; -} -.ant-breadcrumb-rtl::after { - display: table; - clear: both; - content: ''; -} -.ant-breadcrumb-rtl > span { - float: right; -} -.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span, -.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a { - margin-right: 4px; - margin-left: 0; -} -.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon { - margin-right: 4px; - margin-left: 0; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/statistic/style/index.less ***! - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-statistic { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; -} -.ant-statistic-title { - margin-bottom: 0px; - color: rgba(0, 0, 0, 0.45); - font-size: 12px; -} -.ant-statistic-skeleton { - padding-top: 8px; -} -.ant-statistic-content { - color: rgba(0, 0, 0, 0.85); - font-size: 20px; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; -} -.ant-statistic-content-value { - display: inline-block; - direction: ltr; -} -.ant-statistic-content-prefix, -.ant-statistic-content-suffix { - display: inline-block; -} -.ant-statistic-content-prefix { - margin-right: 4px; -} -.ant-statistic-content-suffix { - margin-left: 4px; -} -.ant-statistic-rtl { - direction: rtl; -} -.ant-statistic-rtl .ant-statistic-content-prefix { - margin-right: 0; - margin-left: 4px; -} -.ant-statistic-rtl .ant-statistic-content-suffix { - margin-right: 4px; - margin-left: 0; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/skeleton/style/index.less ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-skeleton { - display: table; - width: 100%; -} -.ant-skeleton-header { - display: table-cell; - padding-right: 8px; - vertical-align: top; -} -.ant-skeleton-header .ant-skeleton-avatar { - display: inline-block; - vertical-align: top; - background: rgba(190, 190, 190, 0.2); - width: 28px; - height: 28px; - line-height: 28px; -} -.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-header .ant-skeleton-avatar-lg { - width: 32px; - height: 32px; - line-height: 32px; -} -.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-header .ant-skeleton-avatar-sm { - width: 22px; - height: 22px; - line-height: 22px; -} -.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-content { - display: table-cell; - width: 100%; - vertical-align: top; -} -.ant-skeleton-content .ant-skeleton-title { - width: 100%; - height: 14px; - background: rgba(190, 190, 190, 0.2); - border-radius: 2px; -} -.ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph { - margin-top: 20px; -} -.ant-skeleton-content .ant-skeleton-paragraph { - padding: 0; -} -.ant-skeleton-content .ant-skeleton-paragraph > li { - width: 100%; - height: 14px; - list-style: none; - background: rgba(190, 190, 190, 0.2); - border-radius: 2px; -} -.ant-skeleton-content .ant-skeleton-paragraph > li:last-child:not(:first-child):not(:nth-child(2)) { - width: 61%; -} -.ant-skeleton-content .ant-skeleton-paragraph > li + li { - margin-top: 12px; -} -.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title { - margin-top: 8px; -} -.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph { - margin-top: 20px; -} -.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title, -.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph > li { - border-radius: 100px; -} -.ant-skeleton-active .ant-skeleton-title, -.ant-skeleton-active .ant-skeleton-paragraph > li, -.ant-skeleton-active .ant-skeleton-avatar, -.ant-skeleton-active .ant-skeleton-button, -.ant-skeleton-active .ant-skeleton-input, -.ant-skeleton-active .ant-skeleton-image { - position: relative; - /* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */ - z-index: 0; - overflow: hidden; - background: transparent; -} -.ant-skeleton-active .ant-skeleton-title::after, -.ant-skeleton-active .ant-skeleton-paragraph > li::after, -.ant-skeleton-active .ant-skeleton-avatar::after, -.ant-skeleton-active .ant-skeleton-button::after, -.ant-skeleton-active .ant-skeleton-input::after, -.ant-skeleton-active .ant-skeleton-image::after { - position: absolute; - top: 0; - right: -150%; - bottom: 0; - left: -150%; - background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%); - animation: ant-skeleton-loading 1.4s ease infinite; - content: ''; -} -.ant-skeleton.ant-skeleton-block { - width: 100%; -} -.ant-skeleton.ant-skeleton-block .ant-skeleton-button { - width: 100%; -} -.ant-skeleton.ant-skeleton-block .ant-skeleton-input { - width: 100%; -} -.ant-skeleton-element { - display: inline-block; - width: auto; -} -.ant-skeleton-element .ant-skeleton-button { - display: inline-block; - vertical-align: top; - background: rgba(190, 190, 190, 0.2); - border-radius: 2px; - width: 56px; - min-width: 56px; - height: 28px; - line-height: 28px; -} -.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-square { - width: 28px; - min-width: 28px; -} -.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle { - width: 28px; - min-width: 28px; - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round { - border-radius: 28px; -} -.ant-skeleton-element .ant-skeleton-button-lg { - width: 64px; - min-width: 64px; - height: 32px; - line-height: 32px; -} -.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-square { - width: 32px; - min-width: 32px; -} -.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle { - width: 32px; - min-width: 32px; - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round { - border-radius: 32px; -} -.ant-skeleton-element .ant-skeleton-button-sm { - width: 44px; - min-width: 44px; - height: 22px; - line-height: 22px; -} -.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-square { - width: 22px; - min-width: 22px; -} -.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle { - width: 22px; - min-width: 22px; - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round { - border-radius: 22px; -} -.ant-skeleton-element .ant-skeleton-avatar { - display: inline-block; - vertical-align: top; - background: rgba(190, 190, 190, 0.2); - width: 28px; - height: 28px; - line-height: 28px; -} -.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-avatar-lg { - width: 32px; - height: 32px; - line-height: 32px; -} -.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-avatar-sm { - width: 22px; - height: 22px; - line-height: 22px; -} -.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-input { - display: inline-block; - vertical-align: top; - background: rgba(190, 190, 190, 0.2); - width: 140px; - min-width: 140px; - height: 28px; - line-height: 28px; -} -.ant-skeleton-element .ant-skeleton-input-lg { - width: 160px; - min-width: 160px; - height: 32px; - line-height: 32px; -} -.ant-skeleton-element .ant-skeleton-input-sm { - width: 110px; - min-width: 110px; - height: 22px; - line-height: 22px; -} -.ant-skeleton-element .ant-skeleton-image { - display: flex; - align-items: center; - justify-content: center; - vertical-align: top; - background: rgba(190, 190, 190, 0.2); - width: 96px; - height: 96px; - line-height: 96px; -} -.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle { - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-image-path { - fill: #bfbfbf; -} -.ant-skeleton-element .ant-skeleton-image-svg { - width: 48px; - height: 48px; - line-height: 48px; - max-width: 192px; - max-height: 192px; -} -.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle { - border-radius: 50%; -} -@keyframes ant-skeleton-loading { - 0% { - transform: translateX(-37.5%); - } - 100% { - transform: translateX(37.5%); - } -} -.ant-skeleton-rtl { - direction: rtl; -} -.ant-skeleton-rtl .ant-skeleton-header { - padding-right: 0; - padding-left: 16px; -} -.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title, -.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li { - animation-name: ant-skeleton-loading-rtl; -} -.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar { - animation-name: ant-skeleton-loading-rtl; -} -@keyframes ant-skeleton-loading-rtl { - 0% { - background-position: 0% 50%; - } - 100% { - background-position: 100% 50%; - } -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/anchor/style/index.less ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-anchor { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - position: relative; - padding-left: 2px; -} -.ant-anchor-wrapper { - margin-left: -4px; - padding-left: 4px; - overflow: auto; - background-color: transparent; -} -.ant-anchor-ink { - position: absolute; - top: 0; - left: 0; - height: 100%; -} -.ant-anchor-ink::before { - position: relative; - display: block; - width: 2px; - height: 100%; - margin: 0 auto; - background-color: #f0f0f0; - content: ' '; -} -.ant-anchor-ink-ball { - position: absolute; - left: 50%; - display: none; - width: 8px; - height: 8px; - background-color: #fff; - border: 2px solid #3061D0; - border-radius: 8px; - transform: translateX(-50%); - transition: top 0.3s ease-in-out; -} -.ant-anchor-ink-ball.ant-anchor-ink-ball-visible { - display: inline-block; -} -.ant-anchor-fixed .ant-anchor-ink .ant-anchor-ink-ball { - display: none; -} -.ant-anchor-link { - padding: 4px 0 4px 16px; -} -.ant-anchor-link-title { - position: relative; - display: block; - margin-bottom: 3px; - overflow: hidden; - color: rgba(0, 0, 0, 0.85); - white-space: nowrap; - text-overflow: ellipsis; - transition: all 0.3s; -} -.ant-anchor-link-title:only-child { - margin-bottom: 0; -} -.ant-anchor-link-active > .ant-anchor-link-title { - color: #3061D0; -} -.ant-anchor-link .ant-anchor-link { - padding-top: 2px; - padding-bottom: 2px; -} -.ant-anchor-rtl { - direction: rtl; -} -.ant-anchor-rtl.ant-anchor-wrapper { - margin-right: -4px; - margin-left: 0; - padding-right: 4px; - padding-left: 0; -} -.ant-anchor-rtl .ant-anchor-ink { - right: 0; - left: auto; -} -.ant-anchor-rtl .ant-anchor-ink-ball { - right: 50%; - left: 0; - transform: translateX(50%); -} -.ant-anchor-rtl .ant-anchor-link { - padding: 4px 16px 4px 0; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/affix/style/index.less ***! - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-affix { - position: fixed; - z-index: 10; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/alert/style/index.less ***! - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-alert { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - position: relative; - display: flex; - align-items: center; - padding: 4px 7px; - word-wrap: break-word; - border-radius: 2px; -} -.ant-alert-content { - flex: 1 1; - min-width: 0; -} -.ant-alert-icon { - margin-right: 4px; -} -.ant-alert-description { - display: none; - font-size: 12px; - line-height: 20px; -} -.ant-alert-success { - background-color: #f6ffed; - border: 1px solid #b7eb8f; -} -.ant-alert-success .ant-alert-icon { - color: #52c41a; -} -.ant-alert-info { - background-color: #f0f7ff; - border: 1px solid #b0ccf7; -} -.ant-alert-info .ant-alert-icon { - color: #3061D0; -} -.ant-alert-warning { - background-color: #fffbe6; - border: 1px solid #ffe58f; -} -.ant-alert-warning .ant-alert-icon { - color: #faad14; -} -.ant-alert-error { - background-color: #fff2f0; - border: 1px solid #ffccc7; -} -.ant-alert-error .ant-alert-icon { - color: #ff4d4f; -} -.ant-alert-error .ant-alert-description > pre { - margin: 0; - padding: 0; -} -.ant-alert-action { - margin-left: 4px; -} -.ant-alert-close-icon { - margin-left: 4px; - padding: 0; - overflow: hidden; - font-size: 12px; - line-height: 12px; - background-color: transparent; - border: none; - outline: none; - cursor: pointer; -} -.ant-alert-close-icon .anticon-close { - color: rgba(0, 0, 0, 0.45); - transition: color 0.3s; -} -.ant-alert-close-icon .anticon-close:hover { - color: rgba(0, 0, 0, 0.75); -} -.ant-alert-close-text { - color: rgba(0, 0, 0, 0.45); - transition: color 0.3s; -} -.ant-alert-close-text:hover { - color: rgba(0, 0, 0, 0.75); -} -.ant-alert-with-description { - align-items: flex-start; - padding: 11px 15px 7px 20px; -} -.ant-alert-with-description.ant-alert-no-icon { - padding: 7px 15px; -} -.ant-alert-with-description .ant-alert-icon { - margin-right: 11px; - font-size: 20px; -} -.ant-alert-with-description .ant-alert-message { - display: block; - margin-bottom: 4px; - color: rgba(0, 0, 0, 0.85); - font-size: 14px; -} -.ant-alert-message { - color: rgba(0, 0, 0, 0.85); -} -.ant-alert-with-description .ant-alert-description { - display: block; -} -.ant-alert.ant-alert-motion-leave { - overflow: hidden; - opacity: 1; - transition: max-height 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), opacity 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-top 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), margin-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); -} -.ant-alert.ant-alert-motion-leave-active { - max-height: 0; - margin-bottom: 0 !important; - padding-top: 0; - padding-bottom: 0; - opacity: 0; -} -.ant-alert-banner { - margin-bottom: 0; - border: 0; - border-radius: 0; -} -.ant-alert.ant-alert-rtl { - direction: rtl; -} -.ant-alert-rtl .ant-alert-icon { - margin-right: auto; - margin-left: 4px; -} -.ant-alert-rtl .ant-alert-action { - margin-right: 4px; - margin-left: auto; -} -.ant-alert-rtl .ant-alert-close-icon { - margin-right: 4px; - margin-left: auto; -} -.ant-alert-rtl.ant-alert-with-description { - padding-right: 20px; - padding-left: 11px; -} -.ant-alert-rtl.ant-alert-with-description .ant-alert-icon { - margin-right: auto; - margin-left: 11px; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - diff --git a/48896.async.js b/48896.async.js index a020041b3d..a696b44e91 100644 --- a/48896.async.js +++ b/48896.async.js @@ -942,6 +942,195 @@ var style = __webpack_require__(38390); // style dependencies +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/49666.async.js b/49666.async.js index 4f7fd0e10c..827c93691c 100644 --- a/49666.async.js +++ b/49666.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[49666,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[49666,36579,23805],{ /***/ 32857: /*!********************************************************************!*\ diff --git a/4967.async.js b/4967.async.js index a11af042b4..4d25b4c0a6 100644 --- a/4967.async.js +++ b/4967.async.js @@ -1513,6 +1513,195 @@ RightOutlined.displayName = 'RightOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 48555: /*!*****************************************************************!*\ !*** ./node_modules/rc-resize-observer/es/index.js + 4 modules ***! diff --git a/49960.async.js b/49960.async.js index 310ef1c994..0b4a42555b 100644 --- a/49960.async.js +++ b/49960.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[49960,77566,2282,72693,794,48896,47638,3446,81425,80670],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[49960,77566,2282,72693,794,48896,47638,3446,81425,21104,80670],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1611,6 +1611,196 @@ var style = __webpack_require__(38390); // style dependencies +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }), /***/ 57761: diff --git a/16804.async.js b/49971.async.js similarity index 71% rename from 16804.async.js rename to 49971.async.js index e2077e39a0..973a140292 100644 --- a/16804.async.js +++ b/49971.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[16804],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[49971],{ /***/ 51042: /*!*****************************************************************!*\ @@ -28,6 +28,303 @@ PlusOutlined.displayName = 'PlusOutlined'; /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 34041: /*!**********************************************!*\ !*** ./node_modules/antd/es/select/index.js ***! diff --git a/51326.async.js b/51326.async.js index 6a17173b0e..d9dbd9e3fe 100644 --- a/51326.async.js +++ b/51326.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[51326,42573,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[51326,42573,95946,87388],{ /***/ 47046: /*!*********************************************************************!*\ diff --git a/51370.async.js b/51370.async.js index 4f7ed22eb5..157fdfb0b0 100644 --- a/51370.async.js +++ b/51370.async.js @@ -1565,6 +1565,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/63183.async.js b/52137.async.js similarity index 78% rename from 63183.async.js rename to 52137.async.js index 9fe030c915..6e6e60d78c 100644 --- a/63183.async.js +++ b/52137.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[63183,36740,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[52137,29254,36740,16484],{ /***/ 66023: /*!*******************************************************************!*\ @@ -458,6 +458,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: @@ -1251,6 +1548,195 @@ SearchOutlined.displayName = 'SearchOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 34243: /*!**********************************************************!*\ !*** ./node_modules/rc-overflow/es/index.js + 4 modules ***! diff --git a/33172.async.js b/53267.async.js similarity index 60% rename from 33172.async.js rename to 53267.async.js index ed3a7c2c23..0f9d53dbe8 100644 --- a/33172.async.js +++ b/53267.async.js @@ -1,64 +1,320 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[33172],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[53267],{ -/***/ 77171: -/*!**********************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + 1 modules ***! - \**********************************************************************************/ +/***/ 5467: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } +/* harmony export */ }); +function getDataOrAriaProps(props) { + return Object.keys(props).reduce(function (prev, key) { + if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { + prev[key] = props[key]; + } + return prev; + }, {}); +} + +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { // EXPORTS __webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_ArrowDownOutlined; } + "Z": function() { return /* binding */ es_checkbox; } }); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ArrowDownOutlined.js -// This icon file is generated automatically. -var ArrowDownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z" } }] }, "name": "arrow-down", "theme": "outlined" }; -/* harmony default export */ var asn_ArrowDownOutlined = (ArrowDownOutlined); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules -var AntdIcon = __webpack_require__(7918); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; -var ArrowDownOutlined_ArrowDownOutlined = function ArrowDownOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_ArrowDownOutlined - })); + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); }; -ArrowDownOutlined_ArrowDownOutlined.displayName = 'ArrowDownOutlined'; -/* harmony default export */ var icons_ArrowDownOutlined = (/*#__PURE__*/react.forwardRef(ArrowDownOutlined_ArrowDownOutlined)); +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js -/***/ }), -/***/ 5467: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +var Checkbox_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; +}; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } -/* harmony export */ }); -function getDataOrAriaProps(props) { - return Object.keys(props).reduce(function (prev, key) { - if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { - prev[key] = props[key]; + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + if (skipGroup) { + return; } - return prev; - }, {}); -} + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form /***/ }), @@ -781,6 +1037,195 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/11004.chunk.css b/53267.chunk.css similarity index 84% rename from 11004.chunk.css rename to 53267.chunk.css index e5dd7e422c..e969739bf2 100644 --- a/11004.chunk.css +++ b/53267.chunk.css @@ -849,6 +849,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/radio/style/index.less ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/53270.async.js b/53270.async.js new file mode 100644 index 0000000000..b2b53e5e88 --- /dev/null +++ b/53270.async.js @@ -0,0 +1,1192 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[53270],{ + +/***/ 68269: +/*!*****************************************************************!*\ + !*** ./src/components/User/RegisterPanel/index.tsx + 1 modules ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ RegisterPanel; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules +var style = __webpack_require__(14934); +// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules +var es_message = __webpack_require__(12461); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js + 1 modules +var checkbox_style = __webpack_require__(82000); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules +var es_checkbox = __webpack_require__(32808); +// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules +var button_style = __webpack_require__(29913); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js + 1 modules +var input_style = __webpack_require__(69463); +// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules +var input = __webpack_require__(75008); +// 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/antd/es/form/style/index.js + 1 modules +var form_style = __webpack_require__(75627); +// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules +var es_form = __webpack_require__(51018); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(42122); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./src/components/User/RegisterPanel/unlock.tsx + 1 modules +var unlock = __webpack_require__(61854); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(29427); +// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules +var _umi_production_exports = __webpack_require__(89214); +;// CONCATENATED MODULE: ./src/components/User/RegisterPanel/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var RegisterPanelmodules = ({"wrap":"wrap___FgHHn","formWrapper":"formWrapper___FFsPt","link":"link___Z6mDj"}); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/User/RegisterPanel/index.tsx + + + + + + + + + + + + + + + + + + + + + +var inputStyle = { + height: 46, + borderRadius: 4 +}; +var loginRegex = /(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i; +var initialState = { + timer: 0 +}; +var Types; +(function (Types) { + Types[Types["setTimer"] = 0] = "setTimer"; +})(Types || (Types = {})); +function reducer(state, action) { + switch (action.type) { + case Types.setTimer: + return objectSpread2_default()(objectSpread2_default()({}, state), {}, { + timer: action.payload + }); + default: + throw new Error(); + } +} +var RegisterComponent = function RegisterComponent(_ref) { + var _globalSetting$settin, _globalSetting$settin2; + var validateName = _ref.validateName, + getCode = _ref.getCode, + register = _ref.register, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style, + _ref$buttonText = _ref.buttonText, + buttonText = _ref$buttonText === void 0 ? '注册' : _ref$buttonText, + globalSetting = _ref.globalSetting; + var _Form$useForm = es_form/* default.useForm */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var _useReducer = (0,react.useReducer)(reducer, initialState), + _useReducer2 = slicedToArray_default()(_useReducer, 2), + state = _useReducer2[0], + dispatch = _useReducer2[1]; + var _useState = (0,react.useState)(false), + _useState2 = slicedToArray_default()(_useState, 2), + codeLoading = _useState2[0], + setCodeLoading = _useState2[1]; + var timer = state.timer; + function onFinish(_x) { + return _onFinish.apply(this, arguments); + } + function _onFinish() { + _onFinish = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(values) { + var login, password, code, _yield$register, message, status, addinfo, href; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + login = values.login, password = values.password, code = values.code; + _context2.next = 3; + return register({ + login: login, + password: password, + code: code + }); + case 3: + _yield$register = _context2.sent; + message = _yield$register.message; + status = _yield$register.status; + if (!(status < 0)) { + _context2.next = 9; + break; + } + form.setFields([{ + name: 'code', + errors: [message] + }]); + return _context2.abrupt("return"); + case 9: + localStorage.removeItem('extension-modal'); + es_message/* default.info */.ZP.info('注册成功'); + addinfo = localStorage.getItem('addinfo'); + if (addinfo === '2') { + localStorage.setItem('addinfo', '2'); + href = localStorage.getItem('classromeurl'); + _umi_production_exports.history.replace(href); + } else { + _umi_production_exports.history.replace('/'); + } + case 13: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return _onFinish.apply(this, arguments); + } + function onValidateName() { + return _onValidateName.apply(this, arguments); + } + function _onValidateName() { + _onValidateName = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var login, flag, _yield$validateName, status, message, isOk; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + login = form.getFieldValue('login'); + flag = 0; + if (!(!loginRegex.test(login) || login.indexOf(" ") > -1)) { + _context3.next = 6; + break; + } + form.setFields([{ + name: 'login', + errors: ['请输入正确的手机号或邮箱'] + }]); + flag = 1; + return _context3.abrupt("return", flag); + case 6: + _context3.next = 8; + return validateName({ + login: login, + type: 1 + }); + case 8: + _yield$validateName = _context3.sent; + status = _yield$validateName.status; + message = _yield$validateName.message; + isOk = status > 0; + if (isOk) { + flag = 2; + } else { + form.setFields([{ + name: 'login', + errors: [message] + }]); + flag = 1; + } + return _context3.abrupt("return", flag); + case 14: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return _onValidateName.apply(this, arguments); + } + var onGetCode = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var verify, login, _yield$getCode, status, message; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + verify = form.getFieldValue('verify'); + login = form.getFieldValue('login'); + if (verify) { + _context.next = 6; + break; + } + form.validateFields(['verify']); + _context.next = 15; + break; + case 6: + setCodeLoading(true); + _context.next = 9; + return getCode({ + login: login, + type: 1, + smscode: (0,util/* setmiyah */.M)(login) + }); + case 9: + _yield$getCode = _context.sent; + status = _yield$getCode.status; + message = _yield$getCode.message; + if (status < 0) { + form.setFields([{ + name: 'code', + errors: [message] + }]); + } + dispatch({ + type: Types.setTimer, + payload: 60 + }); + setCodeLoading(false); + case 15: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function onGetCode() { + return _ref2.apply(this, arguments); + }; + }(); + function validatePassword(_, value) { + if (!value) { + return Promise.resolve(); + } + if (value.indexOf(" ") > -1) { + return Promise.reject('请输入8-16位密码,区分大小写、不能使用空格'); + } + var len = value.length; + if (len >= 8 && len <= 16) { + return Promise.resolve(); + } else { + return Promise.reject('请输入8-16位密码,区分大小写、不能使用空格'); + } + } + var verifyValidate = function verifyValidate(_, value) { + return value ? Promise.resolve() : Promise.reject('请拖动滑块验证'); + }; + (0,react.useEffect)(function () { + if (timer > 0) { + setTimeout(function () { + dispatch({ + type: Types.setTimer, + payload: timer - 1 + }); + }, 1000); + } + }, [timer]); + var LoginValidate = function LoginValidate(_, value) { + if (!value) { + return Promise.resolve(); + } + if (value.indexOf(" ") > -1) { + return Promise.reject('请输入正确的手机号或邮箱'); + } + if (loginRegex.test(value)) { + return Promise.resolve(); + } else { + return Promise.reject('请输入正确的手机号或邮箱'); + } + }; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: RegisterPanelmodules.wrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + layout: "vertical", + form: form, + className: RegisterPanelmodules.formWrapper, + style: style, + initialValues: { + autologin: true, + protool: false + }, + onFinish: onFinish, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "login", + label: "\u8D26\u53F7", + required: false, + rules: [{ + required: true, + message: '请输入正确的手机号或邮箱' + }, { + validator: LoginValidate + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + style: inputStyle, + autoComplete: "new-login", + size: "large", + placeholder: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7", + onChange: function onChange() { + return form.setFieldsValue({ + verify: 0 + }); + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "verify", + rules: [{ + validator: verifyValidate + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(unlock/* default */.Z, { + onValidate: onValidateName + }) + }), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin = globalSetting.setting) !== null && _globalSetting$settin !== void 0 && _globalSetting$settin.is_local) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u9A8C\u8BC1\u7801", + required: false, + name: "code", + rules: [{ + required: true, + message: '请输入验证码' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + suffix: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + loading: codeLoading, + type: "link", + onClick: onGetCode, + disabled: timer > 0, + children: [" ", timer === 0 ? '获取验证码' : "".concat(timer, "\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6")] + }), + style: { + paddingRight: 2, + height: 48, + borderRadius: 4 + }, + placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", + size: "large" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u5BC6\u7801", + name: "password", + required: false, + rules: [{ + required: true, + message: '请输入8-16位密码,区分大小写、不能使用空格' + }, { + validator: validatePassword + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Password */.Z.Password, { + autoComplete: "new-password", + style: inputStyle, + size: "large", + placeholder: "\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199", + visibilityToggle: false + }) + }), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin2 = globalSetting.setting) !== null && _globalSetting$settin2 !== void 0 && _globalSetting$settin2.is_local) && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default.Item */.Z.Item, { + className: "service-terms", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + noStyle: true, + name: "protool", + valuePropName: "checked", + rules: [{ + validator: function validator(_, value) { + return value ? Promise.resolve() : Promise.reject('请同意《服务协议条款》'); + } + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { + style: { + marginRight: 10 + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#666666', + fontSize: 14 + }, + children: "\u6211\u5DF2\u9605\u8BFB\u5E76\u540C\u610F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + className: "font14", + href: "https://engineer.educoder.net/help?index=4", + target: "_blank", + children: "\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + size: "large", + type: "primary", + htmlType: "submit", + block: true, + style: inputStyle, + className: "font16", + children: [" ", buttonText, " "] + }) + })] + }) + }); +}; +/* harmony default export */ var RegisterPanel = ((0,_umi_production_exports.connect)(function (_ref3) { + var globalSetting = _ref3.globalSetting; + return { + globalSetting: globalSetting + }; +})(RegisterComponent)); + +/***/ }), + +/***/ 61854: +/*!******************************************************************!*\ + !*** ./src/components/User/RegisterPanel/unlock.tsx + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ unlock; } +}); + +// 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/@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(42122); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./src/components/User/RegisterPanel/unlock.less +// extracted by mini-css-extract-plugin + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js +var CloseOutlined = __webpack_require__(28508); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CheckOutlined.js +var CheckOutlined = __webpack_require__(88284); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/DoubleRightOutlined.js +var DoubleRightOutlined = __webpack_require__(43183); +// 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/components/User/RegisterPanel/unlock.tsx + + + + + + + + + + +var initialState = { + moveX: 0, + verify: 0 +}; +var Types; +(function (Types) { + Types[Types["SET_MOVEX"] = 0] = "SET_MOVEX"; + Types[Types["VERIFY"] = 1] = "VERIFY"; +})(Types || (Types = {})); +function reducer(state, action) { + switch (action.type) { + case Types.SET_MOVEX: + return objectSpread2_default()(objectSpread2_default()({}, state), {}, { + moveX: action.payload + }); + case Types.VERIFY: + return objectSpread2_default()(objectSpread2_default()({}, state), action.payload); + default: + throw new Error(); + } +} + +//antd 自定义表单项 +/* harmony default export */ var unlock = (function (_ref) { + var value = _ref.value, + onChange = _ref.onChange, + onValidate = _ref.onValidate; + var _useReducer = (0,react.useReducer)(reducer, initialState), + _useReducer2 = slicedToArray_default()(_useReducer, 2), + state = _useReducer2[0], + dispatch = _useReducer2[1]; + var moveX = state.moveX, + verify = state.verify; + var handlerEl = (0,react.useRef)(); + var wrapperEL = (0,react.useRef)(); + var bgEl = (0,react.useRef)(); + var startDrag = (0,react.useRef)(); + var wrapperRect = (0,react.useMemo)(function () { + if (wrapperEL.current) { + return wrapperEL.current.getBoundingClientRect(); + } + }, [wrapperEL.current]); + (0,react.useEffect)(function () { + if (wrapperRect) { + var onMove = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(e) { + var pageX; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (!startDrag.current) { + _context.next = 15; + break; + } + pageX = e.pageX - left; + if (isMobile) { + pageX = e.changedTouches[0].pageX - left; + } + if (pageX < 0) { + pageX = 0; + } + if (!(pageX >= distance)) { + _context.next = 14; + break; + } + startDrag.current = false; + pageX = distance; + _context.next = 9; + return onValidate(); + case 9: + flag = _context.sent; + dispatch({ + type: Types.VERIFY, + payload: { + moveX: pageX, + verify: flag + } + }); + onChange(flag); + _context.next = 15; + break; + case 14: + dispatch({ + type: Types.SET_MOVEX, + payload: pageX + }); + case 15: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function onMove(_x) { + return _ref2.apply(this, arguments); + }; + }(); + var onMouseUp = function onMouseUp() { + startDrag.current = false; + if (flag === 0) { + handlerEl.current.style.transition = 'left .5s ease'; + bgEl.current.style.transition = 'width .5s ease'; + dispatch({ + type: Types.VERIFY, + payload: { + moveX: 0 + } + }); + } + }; + var flag = 0; + var width = wrapperRect.width, + left = wrapperRect.left; + var distance = width - 48; + var isMobile = !(0,util/* isPc */.b9)(); + if (!isMobile) { + window.addEventListener('mousemove', onMove); + window.addEventListener('mouseup', onMouseUp); + } else { + window.addEventListener('touchmove', onMove); + window.addEventListener('touchend', onMouseUp); + } + return function () { + if (!isMobile) { + window.removeEventListener('mousemove', onMove); + window.removeEventListener('mouseup', onMouseUp); + } else { + window.removeEventListener('touchmove', onMove); + window.removeEventListener('touchend', onMouseUp); + } + }; + } + }, [wrapperRect, util/* isPc */.b9]); + (0,react.useEffect)(function () { + dispatch({ + type: Types.VERIFY, + payload: { + verify: value, + moveX: value ? (wrapperRect === null || wrapperRect === void 0 ? void 0 : wrapperRect.width) - 48 : 0 + } + }); + }, [value]); + function onStartDrag() { + if (!verify) { + startDrag.current = true; + handlerEl.current.style.transition = ''; + bgEl.current.style.transition = ''; + } + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + ref: wrapperEL, + className: "unlock-wrapper", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + ref: bgEl, + className: verify === 1 ? 'unlock-error-bg' : 'unlock-bg', + style: { + width: moveX + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "unlock-text", + children: verify ? verify === 1 ? '验证失败' : '验证通过' : '拖动滑块至右侧验证' + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + ref: handlerEl, + onTouchStart: onStartDrag, + onMouseDown: onStartDrag, + style: { + left: moveX + }, + className: "unlock-handler", + children: verify ? verify === 1 ? /*#__PURE__*/(0,jsx_runtime.jsx)(CloseOutlined/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(CheckOutlined/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(DoubleRightOutlined/* default */.Z, {}) + })] + }); +}); + +/***/ }), + +/***/ 88063: +/*!********************************************!*\ + !*** ./src/pages/User/Register/service.ts ***! + \********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Ol": function() { return /* binding */ validateName; }, +/* harmony export */ "c0": function() { return /* binding */ resetPassword; }, +/* harmony export */ "o1": function() { return /* binding */ getValidateCode; }, +/* harmony export */ "ry": function() { return /* binding */ wechatRegister; }, +/* harmony export */ "z2": function() { return /* binding */ register; } +/* harmony export */ }); +/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/utils/fetch */ 84519); + +//type 1 表示用户注册 2 忘记密码 3 绑定手机/邮箱 +function validateName(params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .get */ .U2)('accounts/valid_email_and_phone.json', params); +} +//type 1:用户注册注册 2:忘记密码 3:绑定手机 4: 绑定邮箱,5: 验收手机号有效 +function getValidateCode(params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .get */ .U2)('accounts/get_verification_code.json', params); +} +function register(params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .post */ .v_)('accounts/register.json', params); +} +function wechatRegister(params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .post */ .v_)('weapps/register.json', params); +} +function resetPassword(params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .post */ .v_)('accounts/reset_password.json', params); +} + +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }) + +}]); \ No newline at end of file diff --git a/53440.async.js b/53440.async.js index 3850674140..8e1c69fc3c 100644 --- a/53440.async.js +++ b/53440.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[53440,71514,5506,97073,88201,32415,95112],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[53440,71514,5506,97073,32415],{ /***/ 7918: /*!******************************************************************************!*\ diff --git a/54285.async.js b/54285.async.js index 09663103b5..dbb4204340 100644 --- a/54285.async.js +++ b/54285.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[54285,36579,72693,23805,62654,79256,80670],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[54285,36579,72693,46981,23805,79256,21104,80670],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1400,6 +1400,195 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/5506.async.js b/5506.async.js index f7491e7ad0..d18b98bebd 100644 --- a/5506.async.js +++ b/5506.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[5506,71514,97073,88201,32415,95112],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[5506,71514,97073,32415],{ /***/ 7918: /*!******************************************************************************!*\ diff --git a/88201.async.js b/56885.async.js similarity index 73% rename from 88201.async.js rename to 56885.async.js index b4c39bc5ba..80d08f72b4 100644 --- a/88201.async.js +++ b/56885.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[88201,71514,5506,97073,32415,95112],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[56885,71514,12819,5506,97073,32415,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -529,6 +529,303 @@ ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 13013: /*!************************************************!*\ !*** ./node_modules/antd/es/dropdown/index.js ***! @@ -1594,6 +1891,195 @@ var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; /* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/88551.chunk.css b/56885.chunk.css similarity index 82% rename from 88551.chunk.css rename to 56885.chunk.css index 2a74de1e05..a53c6dfb95 100644 --- a/88551.chunk.css +++ b/56885.chunk.css @@ -560,135 +560,6 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/divider/style/index.less ***! - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-divider { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - border-top: 1px solid rgba(0, 0, 0, 0.06); -} -.ant-divider-vertical { - position: relative; - top: -0.06em; - display: inline-block; - height: 0.9em; - margin: 0 8px; - vertical-align: middle; - border-top: 0; - border-left: 1px solid rgba(0, 0, 0, 0.06); -} -.ant-divider-horizontal { - display: flex; - clear: both; - width: 100%; - min-width: 100%; - margin: 24px 0; -} -.ant-divider-horizontal.ant-divider-with-text { - display: flex; - align-items: center; - margin: 16px 0; - color: rgba(0, 0, 0, 0.85); - font-weight: 500; - font-size: 14px; - white-space: nowrap; - text-align: center; - border-top: 0; - border-top-color: rgba(0, 0, 0, 0.06); -} -.ant-divider-horizontal.ant-divider-with-text::before, -.ant-divider-horizontal.ant-divider-with-text::after { - position: relative; - width: 50%; - border-top: 1px solid transparent; - border-top-color: inherit; - border-bottom: 0; - transform: translateY(50%); - content: ''; -} -.ant-divider-horizontal.ant-divider-with-text-left::before { - width: 5%; -} -.ant-divider-horizontal.ant-divider-with-text-left::after { - width: 95%; -} -.ant-divider-horizontal.ant-divider-with-text-right::before { - width: 95%; -} -.ant-divider-horizontal.ant-divider-with-text-right::after { - width: 5%; -} -.ant-divider-inner-text { - display: inline-block; - padding: 0 1em; -} -.ant-divider-dashed { - background: none; - border-color: rgba(0, 0, 0, 0.06); - border-style: dashed; - border-width: 1px 0 0; -} -.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::before, -.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::after { - border-style: dashed none none; -} -.ant-divider-vertical.ant-divider-dashed { - border-width: 0 0 0 1px; -} -.ant-divider-plain.ant-divider-with-text { - color: rgba(0, 0, 0, 0.85); - font-weight: normal; - font-size: 12px; -} -.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::before { - width: 0; -} -.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::after { - width: 100%; -} -.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text { - padding-left: 0; -} -.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::before { - width: 100%; -} -.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::after { - width: 0; -} -.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text { - padding-right: 0; -} -.ant-divider-rtl { - direction: rtl; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::before { - width: 95%; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::after { - width: 5%; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::before { - width: 5%; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after { - width: 95%; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/rate/style/index.less ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -790,3 +661,235 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/56379.async.js b/59295.async.js similarity index 68% rename from 56379.async.js rename to 59295.async.js index 7bd8228782..0bded7560c 100644 --- a/56379.async.js +++ b/59295.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[56379,4390],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[59295,4390,61437,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -529,6 +529,303 @@ ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 27049: /*!***********************************************!*\ !*** ./node_modules/antd/es/divider/index.js ***! @@ -1029,6 +1326,195 @@ var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; /* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/56379.chunk.css b/59295.chunk.css similarity index 87% rename from 56379.chunk.css rename to 59295.chunk.css index 1b6ed823a7..1d5d33f660 100644 --- a/56379.chunk.css +++ b/59295.chunk.css @@ -961,6 +961,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/form/style/index.less ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/60578.async.js b/60578.async.js deleted file mode 100644 index 8653dc069b..0000000000 --- a/60578.async.js +++ /dev/null @@ -1,691 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[60578],{ - -/***/ 50675: -/*!**********************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js ***! - \**********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_CheckCircleFilled__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/CheckCircleFilled */ 72961); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var CheckCircleFilled = function CheckCircleFilled(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_CheckCircleFilled__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -CheckCircleFilled.displayName = 'CheckCircleFilled'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CheckCircleFilled)); - -/***/ }), - -/***/ 38900: -/*!**********************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js ***! - \**********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_CloseCircleFilled__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/CloseCircleFilled */ 1085); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var CloseCircleFilled = function CloseCircleFilled(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_CloseCircleFilled__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -CloseCircleFilled.displayName = 'CloseCircleFilled'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CloseCircleFilled)); - -/***/ }), - -/***/ 28508: -/*!******************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js ***! - \******************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_CloseOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/CloseOutlined */ 89503); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var CloseOutlined = function CloseOutlined(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_CloseOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -CloseOutlined.displayName = 'CloseOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CloseOutlined)); - -/***/ }), - -/***/ 87588: -/*!******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***! - \******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined)); - -/***/ }), - -/***/ 64082: -/*!******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + 1 modules ***! - \******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_InboxOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/InboxOutlined.js -// This icon file is generated automatically. -var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z" } }] }, "name": "inbox", "theme": "outlined" }; -/* harmony default export */ var asn_InboxOutlined = (InboxOutlined); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules -var AntdIcon = __webpack_require__(7918); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var InboxOutlined_InboxOutlined = function InboxOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_InboxOutlined - })); -}; -InboxOutlined_InboxOutlined.displayName = 'InboxOutlined'; -/* harmony default export */ var icons_InboxOutlined = (/*#__PURE__*/react.forwardRef(InboxOutlined_InboxOutlined)); - -/***/ }), - -/***/ 37653: -/*!*****************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js ***! - \*****************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_LeftOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/LeftOutlined */ 26554); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var LeftOutlined = function LeftOutlined(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_LeftOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -LeftOutlined.displayName = 'LeftOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(LeftOutlined)); - -/***/ }), - -/***/ 43929: -/*!******************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/RightOutlined.js ***! - \******************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_RightOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/RightOutlined */ 50756); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var RightOutlined = function RightOutlined(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_RightOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -RightOutlined.displayName = 'RightOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(RightOutlined)); - -/***/ }), - -/***/ 49288: -/*!*****************************************************!*\ - !*** ./node_modules/antd/es/auto-complete/index.js ***! - \*****************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); -/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 71002); -/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ 97685); -/* 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_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 50344); -/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rc-util/es/omit */ 98423); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider */ 53124); -/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../select */ 34041); -/* harmony import */ var _util_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/reactNode */ 96159); - - - -/** - * TODO: 4.0 - * - * - Remove `dataSource` - * - `size` not work with customizeInput - * - CustomizeInput not feedback `ENTER` key since accessibility enhancement - */ - - - - - - - - -var Option = _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"].Option */ .Z.Option; -function isSelectOptionOrSelectOptGroup(child) { - return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup); -} -var AutoComplete = function AutoComplete(props, ref) { - var customizePrefixCls = props.prefixCls, - className = props.className, - popupClassName = props.popupClassName, - dropdownClassName = props.dropdownClassName, - children = props.children, - dataSource = props.dataSource; - var childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children); - // ============================= Input ============================= - var customizeInput; - if (childNodes.length === 1 && (0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) { - var _childNodes = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(childNodes, 1); - customizeInput = _childNodes[0]; - } - var getInputElement = customizeInput ? function () { - return customizeInput; - } : undefined; - // ============================ Options ============================ - var optionChildren; - // [Legacy] convert `children` or `dataSource` into option children - if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) { - optionChildren = children; - } else { - optionChildren = dataSource ? dataSource.map(function (item) { - if ((0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(item)) { - return item; - } - switch ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(item)) { - case 'string': - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { - key: item, - value: item - }, item); - case 'object': - { - var optionValue = item.value; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { - key: optionValue, - value: optionValue - }, item.text); - } - default: - false ? 0 : void 0; - return undefined; - } - }) : []; - } - false ? 0 : void 0; - false ? 0 : void 0; - false ? 0 : void 0; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_config_provider__WEBPACK_IMPORTED_MODULE_7__/* .ConfigConsumer */ .C, null, function (_ref) { - var getPrefixCls = _ref.getPrefixCls; - var prefixCls = getPrefixCls('select', customizePrefixCls); - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)({ - ref: ref - }, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(props, ['dataSource']), { - prefixCls: prefixCls, - popupClassName: popupClassName || dropdownClassName, - className: classnames__WEBPACK_IMPORTED_MODULE_0___default()("".concat(prefixCls, "-auto-complete"), className), - mode: _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"].SECRET_COMBOBOX_MODE_DO_NOT_USE */ .Z.SECRET_COMBOBOX_MODE_DO_NOT_USE - }, { - // Internal api - getInputElement: getInputElement - }), optionChildren); - }); -}; -var RefAutoComplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(AutoComplete); -RefAutoComplete.Option = Option; -/* harmony default export */ __webpack_exports__["Z"] = (RefAutoComplete); - -/***/ }), - -/***/ 19070: -/*!***********************************************************************!*\ - !*** ./node_modules/antd/es/auto-complete/style/index.js + 1 modules ***! - \***********************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/auto-complete/style/index.less -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/antd/es/select/style/index.js + 1 modules -var style = __webpack_require__(95985); -;// CONCATENATED MODULE: ./node_modules/antd/es/auto-complete/style/index.js - - -// style dependencies - - -/***/ }), - -/***/ 58492: -/*!**************************************************************!*\ - !*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***! - \**************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ breadcrumb; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(74902); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js -var toArray = __webpack_require__(50344); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules -var menu = __webpack_require__(66516); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js -var reactNode = __webpack_require__(96159); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js -var DownOutlined = __webpack_require__(13622); -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules -var dropdown = __webpack_require__(18562); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - -var BreadcrumbItem = function BreadcrumbItem(props) { - var customizePrefixCls = props.prefixCls, - _props$separator = props.separator, - separator = _props$separator === void 0 ? '/' : _props$separator, - children = props.children, - menu = props.menu, - overlay = props.overlay, - dropdownProps = props.dropdownProps, - restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); - // Warning for deprecated usage - if (false) {} - /** If overlay is have Wrap a Dropdown */ - var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) { - if (menu || overlay) { - return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({ - menu: menu, - overlay: overlay, - placement: "bottom" - }, dropdownProps), /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-overlay-link") - }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); - } - return breadcrumbItem; - }; - var link; - if ('href' in restProps) { - link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({ - className: "".concat(prefixCls, "-link") - }, restProps), children); - } else { - link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ - className: "".concat(prefixCls, "-link") - }, restProps), children); - } - // wrap to dropDown - link = renderBreadcrumbNode(link); - if (children !== undefined && children !== null) { - return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-separator") - }, separator)); - } - return null; -}; -BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; -/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js - - -var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) { - var children = _ref.children; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('breadcrumb'); - return /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-separator") - }, children || '/'); -}; -BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; -/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js - - - -var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - -function getBreadcrumbName(route, params) { - if (!route.breadcrumbName) { - return null; - } - var paramsKeys = Object.keys(params).join('|'); - var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) { - return params[key] || replacement; - }); - return name; -} -function defaultItemRender(route, params, routes, paths) { - var isLastItem = routes.indexOf(route) === routes.length - 1; - var name = getBreadcrumbName(route, params); - return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", { - href: "#/".concat(paths.join('/')) - }, name); -} -var getPath = function getPath(path, params) { - path = (path || '').replace(/^\//, ''); - Object.keys(params).forEach(function (key) { - path = path.replace(":".concat(key), params[key]); - }); - return path; -}; -var addChildPath = function addChildPath(paths, childPath, params) { - var originalPaths = (0,toConsumableArray/* default */.Z)(paths); - var path = getPath(childPath || '', params); - if (path) { - originalPaths.push(path); - } - return originalPaths; -}; -var Breadcrumb = function Breadcrumb(_a) { - var customizePrefixCls = _a.prefixCls, - _a$separator = _a.separator, - separator = _a$separator === void 0 ? '/' : _a$separator, - style = _a.style, - className = _a.className, - routes = _a.routes, - children = _a.children, - _a$itemRender = _a.itemRender, - itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender, - _a$params = _a.params, - params = _a$params === void 0 ? {} : _a$params, - restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var crumbs; - var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); - if (routes && routes.length > 0) { - // generated by route - var paths = []; - crumbs = routes.map(function (route) { - var path = getPath(route.path, params); - if (path) { - paths.push(path); - } - // generated overlay by route.children - var overlay; - if (route.children && route.children.length) { - overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, { - items: route.children.map(function (child) { - return { - key: child.path || child.breadcrumbName, - label: itemRender(child, params, routes, addChildPath(paths, child.path, params)) - }; - }) - }); - } - var itemProps = { - separator: separator - }; - if (overlay) { - itemProps.overlay = overlay; - } - return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, { - key: path || route.breadcrumbName - }), itemRender(route, params, routes, paths)); - }); - } else if (children) { - crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) { - if (!element) { - return element; - } - false ? 0 : void 0; - return (0,reactNode/* cloneElement */.Tm)(element, { - separator: separator, - key: index - }); - }); - } - var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className); - return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({ - className: breadcrumbClassName, - style: style - }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs)); -}; -Breadcrumb.Item = breadcrumb_BreadcrumbItem; -Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; -/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js - -/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); - -/***/ }), - -/***/ 63102: -/*!********************************************************************!*\ - !*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***! - \********************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules -var style = __webpack_require__(68018); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules -var menu_style = __webpack_require__(83736); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js - - -// style dependencies - - - -/***/ }), - -/***/ 27049: -/*!***********************************************!*\ - !*** ./node_modules/antd/es/divider/index.js ***! - \***********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); -/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ 53124); - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - -var Divider = function Divider(props) { - var _classNames; - var _React$useContext = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__/* .ConfigContext */ .E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var customizePrefixCls = props.prefixCls, - _props$type = props.type, - type = _props$type === void 0 ? 'horizontal' : _props$type, - _props$orientation = props.orientation, - orientation = _props$orientation === void 0 ? 'center' : _props$orientation, - orientationMargin = props.orientationMargin, - className = props.className, - children = props.children, - dashed = props.dashed, - plain = props.plain, - restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"]); - var prefixCls = getPrefixCls('divider', customizePrefixCls); - var orientationPrefix = orientation.length > 0 ? "-".concat(orientation) : orientation; - var hasChildren = !!children; - var hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; - var hasCustomMarginRight = orientation === 'right' && orientationMargin != null; - var classString = classnames__WEBPACK_IMPORTED_MODULE_0___default()(prefixCls, "".concat(prefixCls, "-").concat(type), (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text"), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text").concat(orientationPrefix), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-dashed"), !!dashed), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-plain"), !!plain), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-left"), hasCustomMarginLeft), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-right"), hasCustomMarginRight), _classNames), className); - var innerStyle = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, hasCustomMarginLeft && { - marginLeft: orientationMargin - }), hasCustomMarginRight && { - marginRight: orientationMargin - }); - // Warning children not work in vertical mode - if (false) {} - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - className: classString - }, restProps, { - role: "separator" - }), children && type !== 'vertical' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { - className: "".concat(prefixCls, "-inner-text"), - style: innerStyle - }, children)); -}; -/* harmony default export */ __webpack_exports__["Z"] = (Divider); - -/***/ }), - -/***/ 98541: -/*!*****************************************************************!*\ - !*** ./node_modules/antd/es/divider/style/index.js + 1 modules ***! - \*****************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js - - - -/***/ }) - -}]); \ No newline at end of file diff --git a/60578.chunk.css b/60578.chunk.css deleted file mode 100644 index aebf0fe237..0000000000 --- a/60578.chunk.css +++ /dev/null @@ -1,1442 +0,0 @@ -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-breadcrumb { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - color: rgba(0, 0, 0, 0.45); - font-size: 12px; -} -.ant-breadcrumb .anticon { - font-size: 12px; -} -.ant-breadcrumb ol { - display: flex; - flex-wrap: wrap; - margin: 0; - padding: 0; - list-style: none; -} -.ant-breadcrumb a { - color: rgba(0, 0, 0, 0.45); - transition: color 0.3s; -} -.ant-breadcrumb a:hover { - color: rgba(0, 0, 0, 0.85); -} -.ant-breadcrumb li:last-child { - color: rgba(0, 0, 0, 0.85); -} -.ant-breadcrumb li:last-child a { - color: rgba(0, 0, 0, 0.85); -} -li:last-child > .ant-breadcrumb-separator { - display: none; -} -.ant-breadcrumb-separator { - margin: 0 4px; - color: rgba(0, 0, 0, 0.45); -} -.ant-breadcrumb-link > .anticon + span, -.ant-breadcrumb-link > .anticon + a { - margin-left: 4px; -} -.ant-breadcrumb-overlay-link > .anticon { - margin-left: 4px; -} -.ant-breadcrumb-rtl { - direction: rtl; -} -.ant-breadcrumb-rtl::before { - display: table; - content: ''; -} -.ant-breadcrumb-rtl::after { - display: table; - clear: both; - content: ''; -} -.ant-breadcrumb-rtl > span { - float: right; -} -.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span, -.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a { - margin-right: 4px; - margin-left: 0; -} -.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon { - margin-right: 4px; - margin-left: 0; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/carousel/style/index.less ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-carousel { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; -} -.ant-carousel .slick-slider { - position: relative; - display: block; - box-sizing: border-box; - touch-action: pan-y; - -webkit-touch-callout: none; - -webkit-tap-highlight-color: transparent; -} -.ant-carousel .slick-list { - position: relative; - display: block; - margin: 0; - padding: 0; - overflow: hidden; -} -.ant-carousel .slick-list:focus { - outline: none; -} -.ant-carousel .slick-list.dragging { - cursor: pointer; -} -.ant-carousel .slick-list .slick-slide { - pointer-events: none; -} -.ant-carousel .slick-list .slick-slide input.ant-radio-input, -.ant-carousel .slick-list .slick-slide input.ant-checkbox-input { - visibility: hidden; -} -.ant-carousel .slick-list .slick-slide.slick-active { - pointer-events: auto; -} -.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input, -.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input { - visibility: visible; -} -.ant-carousel .slick-list .slick-slide > div > div { - vertical-align: bottom; -} -.ant-carousel .slick-slider .slick-track, -.ant-carousel .slick-slider .slick-list { - transform: translate3d(0, 0, 0); - touch-action: pan-y; -} -.ant-carousel .slick-track { - position: relative; - top: 0; - left: 0; - display: block; -} -.ant-carousel .slick-track::before, -.ant-carousel .slick-track::after { - display: table; - content: ''; -} -.ant-carousel .slick-track::after { - clear: both; -} -.slick-loading .ant-carousel .slick-track { - visibility: hidden; -} -.ant-carousel .slick-slide { - display: none; - float: left; - height: 100%; - min-height: 1px; -} -.ant-carousel .slick-slide img { - display: block; -} -.ant-carousel .slick-slide.slick-loading img { - display: none; -} -.ant-carousel .slick-slide.dragging img { - pointer-events: none; -} -.ant-carousel .slick-initialized .slick-slide { - display: block; -} -.ant-carousel .slick-loading .slick-slide { - visibility: hidden; -} -.ant-carousel .slick-vertical .slick-slide { - display: block; - height: auto; -} -.ant-carousel .slick-arrow.slick-hidden { - display: none; -} -.ant-carousel .slick-prev, -.ant-carousel .slick-next { - position: absolute; - top: 50%; - display: block; - width: 20px; - height: 20px; - margin-top: -10px; - padding: 0; - color: transparent; - font-size: 0; - line-height: 0; - background: transparent; - border: 0; - outline: none; - cursor: pointer; -} -.ant-carousel .slick-prev:hover, -.ant-carousel .slick-next:hover, -.ant-carousel .slick-prev:focus, -.ant-carousel .slick-next:focus { - color: transparent; - background: transparent; - outline: none; -} -.ant-carousel .slick-prev:hover::before, -.ant-carousel .slick-next:hover::before, -.ant-carousel .slick-prev:focus::before, -.ant-carousel .slick-next:focus::before { - opacity: 1; -} -.ant-carousel .slick-prev.slick-disabled::before, -.ant-carousel .slick-next.slick-disabled::before { - opacity: 0.25; -} -.ant-carousel .slick-prev { - left: -25px; -} -.ant-carousel .slick-prev::before { - content: '←'; -} -.ant-carousel .slick-next { - right: -25px; -} -.ant-carousel .slick-next::before { - content: '→'; -} -.ant-carousel .slick-dots { - position: absolute; - right: 0; - bottom: 0; - left: 0; - z-index: 15; - display: flex !important; - justify-content: center; - margin-right: 15%; - margin-bottom: 0; - margin-left: 15%; - padding-left: 0; - list-style: none; -} -.ant-carousel .slick-dots-bottom { - bottom: 12px; -} -.ant-carousel .slick-dots-top { - top: 12px; - bottom: auto; -} -.ant-carousel .slick-dots li { - position: relative; - display: inline-block; - flex: 0 1 auto; - box-sizing: content-box; - width: 16px; - height: 3px; - margin: 0 4px; - padding: 0; - text-align: center; - text-indent: -999px; - vertical-align: top; - transition: all 0.5s; -} -.ant-carousel .slick-dots li button { - position: relative; - display: block; - width: 100%; - height: 3px; - padding: 0; - color: transparent; - font-size: 0; - background: #fff; - border: 0; - border-radius: 1px; - outline: none; - cursor: pointer; - opacity: 0.3; - transition: all 0.5s; -} -.ant-carousel .slick-dots li button:hover, -.ant-carousel .slick-dots li button:focus { - opacity: 0.75; -} -.ant-carousel .slick-dots li button::after { - position: absolute; - top: -4px; - right: -4px; - bottom: -4px; - left: -4px; - content: ''; -} -.ant-carousel .slick-dots li.slick-active { - width: 24px; -} -.ant-carousel .slick-dots li.slick-active button { - background: #fff; - opacity: 1; -} -.ant-carousel .slick-dots li.slick-active:hover, -.ant-carousel .slick-dots li.slick-active:focus { - opacity: 1; -} -.ant-carousel-vertical .slick-dots { - top: 50%; - bottom: auto; - flex-direction: column; - width: 3px; - height: auto; - margin: 0; - transform: translateY(-50%); -} -.ant-carousel-vertical .slick-dots-left { - right: auto; - left: 12px; -} -.ant-carousel-vertical .slick-dots-right { - right: 12px; - left: auto; -} -.ant-carousel-vertical .slick-dots li { - width: 3px; - height: 16px; - margin: 4px 0; - vertical-align: baseline; -} -.ant-carousel-vertical .slick-dots li button { - width: 3px; - height: 16px; -} -.ant-carousel-vertical .slick-dots li.slick-active { - width: 3px; - height: 24px; -} -.ant-carousel-vertical .slick-dots li.slick-active button { - width: 3px; - height: 24px; -} -.ant-carousel-rtl { - direction: rtl; -} -.ant-carousel-rtl .ant-carousel .slick-track { - right: 0; - left: auto; -} -.ant-carousel-rtl .ant-carousel .slick-prev { - right: -25px; - left: auto; -} -.ant-carousel-rtl .ant-carousel .slick-prev::before { - content: '→'; -} -.ant-carousel-rtl .ant-carousel .slick-next { - right: auto; - left: -25px; -} -.ant-carousel-rtl .ant-carousel .slick-next::before { - content: '←'; -} -.ant-carousel-rtl.ant-carousel .slick-dots { - flex-direction: row-reverse; -} -.ant-carousel-rtl.ant-carousel-vertical .slick-dots { - flex-direction: column; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/card/style/index.less ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-card { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - position: relative; - background: #fff; - border-radius: 2px; -} -.ant-card-rtl { - direction: rtl; -} -.ant-card-hoverable { - cursor: pointer; - transition: box-shadow 0.3s, border-color 0.3s; -} -.ant-card-hoverable:hover { - border-color: transparent; - box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09); -} -.ant-card-bordered { - border: 1px solid #f0f0f0; -} -.ant-card-head { - min-height: 36px; - margin-bottom: -1px; - padding: 0 12px; - color: rgba(0, 0, 0, 0.85); - font-weight: 500; - font-size: 12px; - background: transparent; - border-bottom: 1px solid #f0f0f0; - border-radius: 2px 2px 0 0; -} -.ant-card-head::before { - display: table; - content: ''; -} -.ant-card-head::after { - display: table; - clear: both; - content: ''; -} -.ant-card-head-wrapper { - display: flex; - align-items: center; -} -.ant-card-head-title { - display: inline-block; - flex: 1 1; - padding: 8.5px 0; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} -.ant-card-head-title > .ant-typography, -.ant-card-head-title > .ant-typography-edit-content { - left: 0; - margin-top: 0; - margin-bottom: 0; -} -.ant-card-head .ant-tabs-top { - clear: both; - margin-bottom: -9px; - color: rgba(0, 0, 0, 0.85); - font-weight: normal; - font-size: 12px; -} -.ant-card-head .ant-tabs-top-bar { - border-bottom: 1px solid #f0f0f0; -} -.ant-card-extra { - margin-left: auto; - padding: 8.5px 0; - color: rgba(0, 0, 0, 0.85); - font-weight: normal; - font-size: 12px; -} -.ant-card-rtl .ant-card-extra { - margin-right: auto; - margin-left: 0; -} -.ant-card-body { - padding: 12px; -} -.ant-card-body::before { - display: table; - content: ''; -} -.ant-card-body::after { - display: table; - clear: both; - content: ''; -} -.ant-card-contain-grid .ant-card-body { - display: flex; - flex-wrap: wrap; -} -.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body { - margin: -1px 0 0 -1px; - padding: 0; -} -.ant-card-grid { - width: 33.33%; - padding: 12px; - border: 0; - border-radius: 0; - box-shadow: 1px 0 0 0 #f0f0f0, 0 1px 0 0 #f0f0f0, 1px 1px 0 0 #f0f0f0, 1px 0 0 0 #f0f0f0 inset, 0 1px 0 0 #f0f0f0 inset; - transition: all 0.3s; -} -.ant-card-grid-hoverable:hover { - position: relative; - z-index: 1; - box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09); -} -.ant-card-contain-tabs > .ant-card-head .ant-card-head-title { - min-height: 27.5px; - padding-bottom: 0; -} -.ant-card-contain-tabs > .ant-card-head .ant-card-extra { - padding-bottom: 0; -} -.ant-card-bordered .ant-card-cover { - margin-top: -1px; - margin-right: -1px; - margin-left: -1px; -} -.ant-card-cover > * { - display: block; - width: 100%; -} -.ant-card-cover img { - border-radius: 2px 2px 0 0; -} -.ant-card-actions { - display: flex; - margin: 0; - padding: 0; - list-style: none; - background: #fff; - border-top: 1px solid #f0f0f0; -} -.ant-card-actions::before { - display: table; - content: ''; -} -.ant-card-actions::after { - display: table; - clear: both; - content: ''; -} -.ant-card-actions > li { - margin: 4px 0; - color: rgba(0, 0, 0, 0.45); - text-align: center; -} -.ant-card-actions > li > span { - position: relative; - display: block; - min-width: 32px; - font-size: 12px; - line-height: 1.66667; - cursor: pointer; -} -.ant-card-actions > li > span:hover { - color: #3061D0; - transition: color 0.3s; -} -.ant-card-actions > li > span a:not(.ant-btn), -.ant-card-actions > li > span > .anticon { - display: inline-block; - width: 100%; - color: rgba(0, 0, 0, 0.45); - line-height: 22px; - transition: color 0.3s; -} -.ant-card-actions > li > span a:not(.ant-btn):hover, -.ant-card-actions > li > span > .anticon:hover { - color: #3061D0; -} -.ant-card-actions > li > span > .anticon { - font-size: 16px; - line-height: 22px; -} -.ant-card-actions > li:not(:last-child) { - border-right: 1px solid #f0f0f0; -} -.ant-card-rtl .ant-card-actions > li:not(:last-child) { - border-right: none; - border-left: 1px solid #f0f0f0; -} -.ant-card-type-inner .ant-card-head { - padding: 0 12px; - background: #fafafa; -} -.ant-card-type-inner .ant-card-head-title { - padding: 12px 0; - font-size: 12px; -} -.ant-card-type-inner .ant-card-body { - padding: 16px 12px; -} -.ant-card-type-inner .ant-card-extra { - padding: 13.5px 0; -} -.ant-card-meta { - display: flex; - margin: -4px 0; -} -.ant-card-meta::before { - display: table; - content: ''; -} -.ant-card-meta::after { - display: table; - clear: both; - content: ''; -} -.ant-card-meta-avatar { - padding-right: 16px; -} -.ant-card-rtl .ant-card-meta-avatar { - padding-right: 0; - padding-left: 16px; -} -.ant-card-meta-detail { - flex: 1 1; - overflow: hidden; -} -.ant-card-meta-detail > div:not(:last-child) { - margin-bottom: 4px; -} -.ant-card-meta-title { - overflow: hidden; - color: rgba(0, 0, 0, 0.85); - font-weight: 500; - font-size: 14px; - white-space: nowrap; - text-overflow: ellipsis; -} -.ant-card-meta-description { - color: rgba(0, 0, 0, 0.45); -} -.ant-card-loading { - overflow: hidden; -} -.ant-card-loading .ant-card-body { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-card-small > .ant-card-head { - min-height: 30px; - padding: 0 12px; - font-size: 12px; -} -.ant-card-small > .ant-card-head > .ant-card-head-wrapper > .ant-card-head-title { - padding: 6px 0; -} -.ant-card-small > .ant-card-head > .ant-card-head-wrapper > .ant-card-extra { - padding: 6px 0; - font-size: 12px; -} -.ant-card-small > .ant-card-body { - padding: 12px; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/skeleton/style/index.less ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-skeleton { - display: table; - width: 100%; -} -.ant-skeleton-header { - display: table-cell; - padding-right: 8px; - vertical-align: top; -} -.ant-skeleton-header .ant-skeleton-avatar { - display: inline-block; - vertical-align: top; - background: rgba(190, 190, 190, 0.2); - width: 28px; - height: 28px; - line-height: 28px; -} -.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-header .ant-skeleton-avatar-lg { - width: 32px; - height: 32px; - line-height: 32px; -} -.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-header .ant-skeleton-avatar-sm { - width: 22px; - height: 22px; - line-height: 22px; -} -.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-content { - display: table-cell; - width: 100%; - vertical-align: top; -} -.ant-skeleton-content .ant-skeleton-title { - width: 100%; - height: 14px; - background: rgba(190, 190, 190, 0.2); - border-radius: 2px; -} -.ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph { - margin-top: 20px; -} -.ant-skeleton-content .ant-skeleton-paragraph { - padding: 0; -} -.ant-skeleton-content .ant-skeleton-paragraph > li { - width: 100%; - height: 14px; - list-style: none; - background: rgba(190, 190, 190, 0.2); - border-radius: 2px; -} -.ant-skeleton-content .ant-skeleton-paragraph > li:last-child:not(:first-child):not(:nth-child(2)) { - width: 61%; -} -.ant-skeleton-content .ant-skeleton-paragraph > li + li { - margin-top: 12px; -} -.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title { - margin-top: 8px; -} -.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph { - margin-top: 20px; -} -.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title, -.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph > li { - border-radius: 100px; -} -.ant-skeleton-active .ant-skeleton-title, -.ant-skeleton-active .ant-skeleton-paragraph > li, -.ant-skeleton-active .ant-skeleton-avatar, -.ant-skeleton-active .ant-skeleton-button, -.ant-skeleton-active .ant-skeleton-input, -.ant-skeleton-active .ant-skeleton-image { - position: relative; - /* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */ - z-index: 0; - overflow: hidden; - background: transparent; -} -.ant-skeleton-active .ant-skeleton-title::after, -.ant-skeleton-active .ant-skeleton-paragraph > li::after, -.ant-skeleton-active .ant-skeleton-avatar::after, -.ant-skeleton-active .ant-skeleton-button::after, -.ant-skeleton-active .ant-skeleton-input::after, -.ant-skeleton-active .ant-skeleton-image::after { - position: absolute; - top: 0; - right: -150%; - bottom: 0; - left: -150%; - background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%); - animation: ant-skeleton-loading 1.4s ease infinite; - content: ''; -} -.ant-skeleton.ant-skeleton-block { - width: 100%; -} -.ant-skeleton.ant-skeleton-block .ant-skeleton-button { - width: 100%; -} -.ant-skeleton.ant-skeleton-block .ant-skeleton-input { - width: 100%; -} -.ant-skeleton-element { - display: inline-block; - width: auto; -} -.ant-skeleton-element .ant-skeleton-button { - display: inline-block; - vertical-align: top; - background: rgba(190, 190, 190, 0.2); - border-radius: 2px; - width: 56px; - min-width: 56px; - height: 28px; - line-height: 28px; -} -.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-square { - width: 28px; - min-width: 28px; -} -.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle { - width: 28px; - min-width: 28px; - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round { - border-radius: 28px; -} -.ant-skeleton-element .ant-skeleton-button-lg { - width: 64px; - min-width: 64px; - height: 32px; - line-height: 32px; -} -.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-square { - width: 32px; - min-width: 32px; -} -.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle { - width: 32px; - min-width: 32px; - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round { - border-radius: 32px; -} -.ant-skeleton-element .ant-skeleton-button-sm { - width: 44px; - min-width: 44px; - height: 22px; - line-height: 22px; -} -.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-square { - width: 22px; - min-width: 22px; -} -.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle { - width: 22px; - min-width: 22px; - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round { - border-radius: 22px; -} -.ant-skeleton-element .ant-skeleton-avatar { - display: inline-block; - vertical-align: top; - background: rgba(190, 190, 190, 0.2); - width: 28px; - height: 28px; - line-height: 28px; -} -.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-avatar-lg { - width: 32px; - height: 32px; - line-height: 32px; -} -.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-avatar-sm { - width: 22px; - height: 22px; - line-height: 22px; -} -.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle { - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-input { - display: inline-block; - vertical-align: top; - background: rgba(190, 190, 190, 0.2); - width: 140px; - min-width: 140px; - height: 28px; - line-height: 28px; -} -.ant-skeleton-element .ant-skeleton-input-lg { - width: 160px; - min-width: 160px; - height: 32px; - line-height: 32px; -} -.ant-skeleton-element .ant-skeleton-input-sm { - width: 110px; - min-width: 110px; - height: 22px; - line-height: 22px; -} -.ant-skeleton-element .ant-skeleton-image { - display: flex; - align-items: center; - justify-content: center; - vertical-align: top; - background: rgba(190, 190, 190, 0.2); - width: 96px; - height: 96px; - line-height: 96px; -} -.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle { - border-radius: 50%; -} -.ant-skeleton-element .ant-skeleton-image-path { - fill: #bfbfbf; -} -.ant-skeleton-element .ant-skeleton-image-svg { - width: 48px; - height: 48px; - line-height: 48px; - max-width: 192px; - max-height: 192px; -} -.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle { - border-radius: 50%; -} -@keyframes ant-skeleton-loading { - 0% { - transform: translateX(-37.5%); - } - 100% { - transform: translateX(37.5%); - } -} -.ant-skeleton-rtl { - direction: rtl; -} -.ant-skeleton-rtl .ant-skeleton-header { - padding-right: 0; - padding-left: 16px; -} -.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title, -.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li { - animation-name: ant-skeleton-loading-rtl; -} -.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar { - animation-name: ant-skeleton-loading-rtl; -} -@keyframes ant-skeleton-loading-rtl { - 0% { - background-position: 0% 50%; - } - 100% { - background-position: 100% 50%; - } -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/divider/style/index.less ***! - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-divider { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - border-top: 1px solid rgba(0, 0, 0, 0.06); -} -.ant-divider-vertical { - position: relative; - top: -0.06em; - display: inline-block; - height: 0.9em; - margin: 0 8px; - vertical-align: middle; - border-top: 0; - border-left: 1px solid rgba(0, 0, 0, 0.06); -} -.ant-divider-horizontal { - display: flex; - clear: both; - width: 100%; - min-width: 100%; - margin: 24px 0; -} -.ant-divider-horizontal.ant-divider-with-text { - display: flex; - align-items: center; - margin: 16px 0; - color: rgba(0, 0, 0, 0.85); - font-weight: 500; - font-size: 14px; - white-space: nowrap; - text-align: center; - border-top: 0; - border-top-color: rgba(0, 0, 0, 0.06); -} -.ant-divider-horizontal.ant-divider-with-text::before, -.ant-divider-horizontal.ant-divider-with-text::after { - position: relative; - width: 50%; - border-top: 1px solid transparent; - border-top-color: inherit; - border-bottom: 0; - transform: translateY(50%); - content: ''; -} -.ant-divider-horizontal.ant-divider-with-text-left::before { - width: 5%; -} -.ant-divider-horizontal.ant-divider-with-text-left::after { - width: 95%; -} -.ant-divider-horizontal.ant-divider-with-text-right::before { - width: 95%; -} -.ant-divider-horizontal.ant-divider-with-text-right::after { - width: 5%; -} -.ant-divider-inner-text { - display: inline-block; - padding: 0 1em; -} -.ant-divider-dashed { - background: none; - border-color: rgba(0, 0, 0, 0.06); - border-style: dashed; - border-width: 1px 0 0; -} -.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::before, -.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::after { - border-style: dashed none none; -} -.ant-divider-vertical.ant-divider-dashed { - border-width: 0 0 0 1px; -} -.ant-divider-plain.ant-divider-with-text { - color: rgba(0, 0, 0, 0.85); - font-weight: normal; - font-size: 12px; -} -.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::before { - width: 0; -} -.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::after { - width: 100%; -} -.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text { - padding-left: 0; -} -.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::before { - width: 100%; -} -.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::after { - width: 0; -} -.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text { - padding-right: 0; -} -.ant-divider-rtl { - direction: rtl; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::before { - width: 95%; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::after { - width: 5%; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::before { - width: 5%; -} -.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after { - width: 95%; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/auto-complete/style/index.less ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-select-auto-complete { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; -} -.ant-select-auto-complete .ant-select-clear { - right: 13px; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/cascader/style/index.less ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -@keyframes antCheckboxEffect { - 0% { - transform: scale(1); - opacity: 0.5; - } - 100% { - transform: scale(1.6); - opacity: 0; - } -} -.ant-cascader-checkbox { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - position: relative; - top: 0.2em; - line-height: 1; - white-space: nowrap; - outline: none; - cursor: pointer; -} -.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner, -.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner, -.ant-cascader-checkbox-input:focus + .ant-cascader-checkbox-inner { - border-color: #3061D0; -} -.ant-cascader-checkbox-checked::after { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - border: 1px solid #3061D0; - border-radius: 2px; - visibility: hidden; - animation: antCheckboxEffect 0.36s ease-in-out; - animation-fill-mode: backwards; - content: ''; -} -.ant-cascader-checkbox:hover::after, -.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox::after { - visibility: visible; -} -.ant-cascader-checkbox-inner { - position: relative; - top: 0; - left: 0; - display: block; - width: 14px; - height: 14px; - direction: ltr; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - border-collapse: separate; - transition: all 0.3s; -} -.ant-cascader-checkbox-inner::after { - position: absolute; - top: 50%; - left: 21.5%; - display: table; - width: 5px; - height: 8px; - border: 2px solid #fff; - border-top: 0; - border-left: 0; - transform: rotate(45deg) scale(0) translate(-50%, -50%); - opacity: 0; - transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; - content: ' '; -} -.ant-cascader-checkbox-input { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1; - width: 100%; - height: 100%; - cursor: pointer; - opacity: 0; -} -.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner::after { - position: absolute; - display: table; - border: 2px solid #fff; - border-top: 0; - border-left: 0; - transform: rotate(45deg) scale(1) translate(-50%, -50%); - opacity: 1; - transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; - content: ' '; -} -.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner { - background-color: #3061D0; - border-color: #3061D0; -} -.ant-cascader-checkbox-disabled { - cursor: not-allowed; -} -.ant-cascader-checkbox-disabled.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner::after { - border-color: rgba(0, 0, 0, 0.25); - animation-name: none; -} -.ant-cascader-checkbox-disabled .ant-cascader-checkbox-input { - cursor: not-allowed; - pointer-events: none; -} -.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner { - background-color: #f5f5f5; - border-color: #d9d9d9 !important; -} -.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner::after { - border-color: #f5f5f5; - border-collapse: separate; - animation-name: none; -} -.ant-cascader-checkbox-disabled + span { - color: rgba(0, 0, 0, 0.25); - cursor: not-allowed; -} -.ant-cascader-checkbox-disabled:hover::after, -.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-disabled::after { - visibility: hidden; -} -.ant-cascader-checkbox-wrapper { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - display: inline-flex; - align-items: baseline; - line-height: inherit; - cursor: pointer; -} -.ant-cascader-checkbox-wrapper::after { - display: inline-block; - width: 0; - overflow: hidden; - content: '\a0'; -} -.ant-cascader-checkbox-wrapper.ant-cascader-checkbox-wrapper-disabled { - cursor: not-allowed; -} -.ant-cascader-checkbox-wrapper + .ant-cascader-checkbox-wrapper { - margin-left: 8px; -} -.ant-cascader-checkbox-wrapper.ant-cascader-checkbox-wrapper-in-form-item input[type='checkbox'] { - width: 14px; - height: 14px; -} -.ant-cascader-checkbox + span { - padding-right: 8px; - padding-left: 8px; -} -.ant-cascader-checkbox-group { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - display: inline-block; -} -.ant-cascader-checkbox-group-item { - margin-right: 6px; -} -.ant-cascader-checkbox-group-item:last-child { - margin-right: 0; -} -.ant-cascader-checkbox-group-item + .ant-cascader-checkbox-group-item { - margin-left: 0; -} -.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner { - background-color: #fff; - border-color: #d9d9d9; -} -.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner::after { - top: 50%; - left: 50%; - width: 6px; - height: 6px; - background-color: #3061D0; - border: 0; - transform: translate(-50%, -50%) scale(1); - opacity: 1; - content: ' '; -} -.ant-cascader-checkbox-indeterminate.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner::after { - background-color: rgba(0, 0, 0, 0.25); - border-color: rgba(0, 0, 0, 0.25); -} -.ant-cascader { - width: 184px; -} -.ant-cascader-checkbox { - top: 0; - margin-right: 4px; -} -.ant-cascader-menus { - display: flex; - flex-wrap: nowrap; - align-items: flex-start; -} -.ant-cascader-menus.ant-cascader-menu-empty .ant-cascader-menu { - width: 100%; - height: auto; -} -.ant-cascader-menu { - flex-grow: 1; - min-width: 111px; - height: 180px; - margin: 0; - margin: -4px 0; - padding: 4px 0; - overflow: auto; - vertical-align: top; - list-style: none; - border-right: 1px solid #f0f0f0; - -ms-overflow-style: -ms-autohiding-scrollbar; -} -.ant-cascader-menu-item { - display: flex; - flex-wrap: nowrap; - align-items: center; - padding: 5px 8px; - overflow: hidden; - line-height: 18px; - white-space: nowrap; - text-overflow: ellipsis; - cursor: pointer; - transition: all 0.3s; -} -.ant-cascader-menu-item:hover { - background: #f5f5f5; -} -.ant-cascader-menu-item-disabled { - color: rgba(0, 0, 0, 0.25); - cursor: not-allowed; -} -.ant-cascader-menu-item-disabled:hover { - background: transparent; -} -.ant-cascader-menu-empty .ant-cascader-menu-item { - color: rgba(0, 0, 0, 0.25); - cursor: default; - pointer-events: none; -} -.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled), -.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover { - font-weight: 600; - background-color: #f0f7ff; -} -.ant-cascader-menu-item-content { - flex: auto; -} -.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon, -.ant-cascader-menu-item-loading-icon { - margin-left: 0px; - color: rgba(0, 0, 0, 0.45); - font-size: 10px; -} -.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon, -.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon { - color: rgba(0, 0, 0, 0.25); -} -.ant-cascader-menu-item-keyword { - color: #ff4d4f; -} -.ant-cascader-compact-item:not(.ant-cascader-compact-last-item):not(.ant-cascader-compact-item-rtl) { - margin-right: -1px; -} -.ant-cascader-compact-item:not(.ant-cascader-compact-last-item).ant-cascader-compact-item-rtl { - margin-left: -1px; -} -.ant-cascader-compact-item:hover, -.ant-cascader-compact-item:focus, -.ant-cascader-compact-item:active { - z-index: 2; -} -.ant-cascader-compact-item[disabled] { - z-index: 0; -} -.ant-cascader-compact-item:not(.ant-cascader-compact-first-item):not(.ant-cascader-compact-last-item).ant-cascader { - border-radius: 0; -} -.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-first-item:not(.ant-cascader-compact-last-item):not(.ant-cascader-compact-item-rtl) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-last-item:not(.ant-cascader-compact-first-item):not(.ant-cascader-compact-item-rtl) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-item-rtl.ant-cascader-compact-first-item:not(.ant-cascader-compact-last-item) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-item-rtl.ant-cascader-compact-last-item:not(.ant-cascader-compact-first-item) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.ant-cascader-rtl .ant-cascader-menu-item-expand-icon, -.ant-cascader-rtl .ant-cascader-menu-item-loading-icon { - margin-right: 0px; - margin-left: 0; -} -.ant-cascader-rtl .ant-cascader-checkbox { - top: 0; - margin-right: 0; - margin-left: 4px; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - diff --git a/29848.async.js b/60887.async.js similarity index 79% rename from 29848.async.js rename to 60887.async.js index 5b048b0f19..2cf98b8a17 100644 --- a/29848.async.js +++ b/60887.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[29848,42573,1264,68661,69245,88975,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[60887,42573,16346,95369,77248,6812,88975,99491,97141,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ @@ -411,6 +411,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: diff --git a/61193.async.js b/61193.async.js new file mode 100644 index 0000000000..486da7ec55 --- /dev/null +++ b/61193.async.js @@ -0,0 +1,1851 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[61193],{ + +/***/ 86010: +/*!******************************************!*\ + !*** ./node_modules/clsx/dist/clsx.m.js ***! + \******************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "clsx": function() { return /* binding */ clsx; } +/* harmony export */ }); +function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } + +function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + +function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } + +function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +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; } + +function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + +function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +// +// Define +// +var Draggable = /*#__PURE__*/function (_React$Component) { + _inherits(Draggable, _React$Component); + + var _super = _createSuper(Draggable); + + function Draggable(props + /*: DraggableProps*/ + ) { + var _this; + + _classCallCheck(this, Draggable); + + _this = _super.call(this, props); + + _defineProperty(_assertThisInitialized(_this), "onDragStart", function (e, coreData) { + (0, _log.default)('Draggable: onDragStart: %j', coreData); // Short-circuit if user's callback killed it. + + var shouldStart = _this.props.onStart(e, (0, _positionFns.createDraggableData)(_assertThisInitialized(_this), coreData)); // Kills start event on core as well, so move handlers are never bound. + + + if (shouldStart === false) return false; + + _this.setState({ + dragging: true, + dragged: true + }); + }); + + _defineProperty(_assertThisInitialized(_this), "onDrag", function (e, coreData) { + if (!_this.state.dragging) return false; + (0, _log.default)('Draggable: onDrag: %j', coreData); + var uiData = (0, _positionFns.createDraggableData)(_assertThisInitialized(_this), coreData); + var newState + /*: $Shape*/ + = { + x: uiData.x, + y: uiData.y + }; // Keep within bounds. + + if (_this.props.bounds) { + // Save original x and y. + var x = newState.x, + y = newState.y; // Add slack to the values used to calculate bound position. This will ensure that if + // we start removing slack, the element won't react to it right away until it's been + // completely removed. + + newState.x += _this.state.slackX; + newState.y += _this.state.slackY; // Get bound position. This will ceil/floor the x and y within the boundaries. + + var _getBoundPosition = (0, _positionFns.getBoundPosition)(_assertThisInitialized(_this), newState.x, newState.y), + _getBoundPosition2 = _slicedToArray(_getBoundPosition, 2), + newStateX = _getBoundPosition2[0], + newStateY = _getBoundPosition2[1]; + + newState.x = newStateX; + newState.y = newStateY; // Recalculate slack by noting how much was shaved by the boundPosition handler. + + newState.slackX = _this.state.slackX + (x - newState.x); + newState.slackY = _this.state.slackY + (y - newState.y); // Update the event we fire to reflect what really happened after bounds took effect. + + uiData.x = newState.x; + uiData.y = newState.y; + uiData.deltaX = newState.x - _this.state.x; + uiData.deltaY = newState.y - _this.state.y; + } // Short-circuit if user's callback killed it. + + + var shouldUpdate = _this.props.onDrag(e, uiData); + + if (shouldUpdate === false) return false; + + _this.setState(newState); + }); + + _defineProperty(_assertThisInitialized(_this), "onDragStop", function (e, coreData) { + if (!_this.state.dragging) return false; // Short-circuit if user's callback killed it. + + var shouldContinue = _this.props.onStop(e, (0, _positionFns.createDraggableData)(_assertThisInitialized(_this), coreData)); + + if (shouldContinue === false) return false; + (0, _log.default)('Draggable: onDragStop: %j', coreData); + var newState + /*: $Shape*/ + = { + dragging: false, + slackX: 0, + slackY: 0 + }; // If this is a controlled component, the result of this operation will be to + // revert back to the old position. We expect a handler on `onDragStop`, at the least. + + var controlled = Boolean(_this.props.position); + + if (controlled) { + var _this$props$position = _this.props.position, + x = _this$props$position.x, + y = _this$props$position.y; + newState.x = x; + newState.y = y; + } + + _this.setState(newState); + }); + + _this.state = { + // Whether or not we are currently dragging. + dragging: false, + // Whether or not we have been dragged before. + dragged: false, + // Current transform x and y. + x: props.position ? props.position.x : props.defaultPosition.x, + y: props.position ? props.position.y : props.defaultPosition.y, + prevPropsPosition: _objectSpread({}, props.position), + // Used for compensating for out-of-bounds drags + slackX: 0, + slackY: 0, + // Can only determine if SVG after mounting + isElementSVG: false + }; + + if (props.position && !(props.onDrag || props.onStop)) { + // eslint-disable-next-line no-console + console.warn('A `position` was applied to this , without drag handlers. This will make this ' + 'component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the ' + '`position` of this element.'); + } + + return _this; + } + + _createClass(Draggable, [{ + key: "componentDidMount", + value: function componentDidMount() { + // Check to see if the element passed is an instanceof SVGElement + if (typeof window.SVGElement !== 'undefined' && this.findDOMNode() instanceof window.SVGElement) { + this.setState({ + isElementSVG: true + }); + } + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.setState({ + dragging: false + }); // prevents invariant if unmounted while dragging + } // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find + // the underlying DOM node ourselves. See the README for more information. + + }, { + key: "findDOMNode", + value: function findDOMNode() + /*: ?HTMLElement*/ + { + var _this$props$nodeRef$c, _this$props, _this$props$nodeRef; + + return (_this$props$nodeRef$c = (_this$props = this.props) === null || _this$props === void 0 ? void 0 : (_this$props$nodeRef = _this$props.nodeRef) === null || _this$props$nodeRef === void 0 ? void 0 : _this$props$nodeRef.current) !== null && _this$props$nodeRef$c !== void 0 ? _this$props$nodeRef$c : _reactDom.default.findDOMNode(this); + } + }, { + key: "render", + value: function render() + /*: ReactElement*/ + { + var _clsx; + + var _this$props2 = this.props, + axis = _this$props2.axis, + bounds = _this$props2.bounds, + children = _this$props2.children, + defaultPosition = _this$props2.defaultPosition, + defaultClassName = _this$props2.defaultClassName, + defaultClassNameDragging = _this$props2.defaultClassNameDragging, + defaultClassNameDragged = _this$props2.defaultClassNameDragged, + position = _this$props2.position, + positionOffset = _this$props2.positionOffset, + scale = _this$props2.scale, + draggableCoreProps = _objectWithoutProperties(_this$props2, _excluded); + + var style = {}; + var svgTransform = null; // If this is controlled, we don't want to move it - unless it's dragging. + + var controlled = Boolean(position); + var draggable = !controlled || this.state.dragging; + var validPosition = position || defaultPosition; + var transformOpts = { + // Set left if horizontal drag is enabled + x: (0, _positionFns.canDragX)(this) && draggable ? this.state.x : validPosition.x, + // Set top if vertical drag is enabled + y: (0, _positionFns.canDragY)(this) && draggable ? this.state.y : validPosition.y + }; // If this element was SVG, we use the `transform` attribute. + + if (this.state.isElementSVG) { + svgTransform = (0, _domFns.createSVGTransform)(transformOpts, positionOffset); + } else { + // Add a CSS transform to move the element around. This allows us to move the element around + // without worrying about whether or not it is relatively or absolutely positioned. + // If the item you are dragging already has a transform set, wrap it in a so + // has a clean slate. + style = (0, _domFns.createCSSTransform)(transformOpts, positionOffset); + } // Mark with class while dragging + + + var className = (0, _clsx2.default)(children.props.className || '', defaultClassName, (_clsx = {}, _defineProperty(_clsx, defaultClassNameDragging, this.state.dragging), _defineProperty(_clsx, defaultClassNameDragged, this.state.dragged), _clsx)); // Reuse the child provided + // This makes it flexible to use whatever element is wanted (div, ul, etc) + + return /*#__PURE__*/React.createElement(_DraggableCore.default, _extends({}, draggableCoreProps, { + onStart: this.onDragStart, + onDrag: this.onDrag, + onStop: this.onDragStop + }), /*#__PURE__*/React.cloneElement(React.Children.only(children), { + className: className, + style: _objectSpread(_objectSpread({}, children.props.style), style), + transform: svgTransform + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: // React 16.3+ + // Arity (props, state) + function getDerivedStateFromProps(_ref, _ref2) + /*: ?$Shape*/ + { + var position = _ref.position; + var prevPropsPosition = _ref2.prevPropsPosition; + + // Set x/y if a new position is provided in props that is different than the previous. + if (position && (!prevPropsPosition || position.x !== prevPropsPosition.x || position.y !== prevPropsPosition.y)) { + (0, _log.default)('Draggable: getDerivedStateFromProps %j', { + position: position, + prevPropsPosition: prevPropsPosition + }); + return { + x: position.x, + y: position.y, + prevPropsPosition: _objectSpread({}, position) + }; + } + + return null; + } + }]); + + return Draggable; +}(React.Component); + +exports["default"] = Draggable; + +_defineProperty(Draggable, "displayName", 'Draggable'); + +_defineProperty(Draggable, "propTypes", _objectSpread(_objectSpread({}, _DraggableCore.default.propTypes), {}, { + /** + * `axis` determines which axis the draggable can move. + * + * Note that all callbacks will still return data as normal. This only + * controls flushing to the DOM. + * + * 'both' allows movement horizontally and vertically. + * 'x' limits movement to horizontal axis. + * 'y' limits movement to vertical axis. + * 'none' limits all movement. + * + * Defaults to 'both'. + */ + axis: _propTypes.default.oneOf(['both', 'x', 'y', 'none']), + + /** + * `bounds` determines the range of movement available to the element. + * Available values are: + * + * 'parent' restricts movement within the Draggable's parent node. + * + * Alternatively, pass an object with the following properties, all of which are optional: + * + * {left: LEFT_BOUND, right: RIGHT_BOUND, bottom: BOTTOM_BOUND, top: TOP_BOUND} + * + * All values are in px. + * + * Example: + * + * ```jsx + * let App = React.createClass({ + * render: function () { + * return ( + * + *
Content
+ *
+ * ); + * } + * }); + * ``` + */ + bounds: _propTypes.default.oneOfType([_propTypes.default.shape({ + left: _propTypes.default.number, + right: _propTypes.default.number, + top: _propTypes.default.number, + bottom: _propTypes.default.number + }), _propTypes.default.string, _propTypes.default.oneOf([false])]), + defaultClassName: _propTypes.default.string, + defaultClassNameDragging: _propTypes.default.string, + defaultClassNameDragged: _propTypes.default.string, + + /** + * `defaultPosition` specifies the x and y that the dragged item should start at + * + * Example: + * + * ```jsx + * let App = React.createClass({ + * render: function () { + * return ( + * + *
I start with transformX: 25px and transformY: 25px;
+ *
+ * ); + * } + * }); + * ``` + */ + defaultPosition: _propTypes.default.shape({ + x: _propTypes.default.number, + y: _propTypes.default.number + }), + positionOffset: _propTypes.default.shape({ + x: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]), + y: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]) + }), + + /** + * `position`, if present, defines the current position of the element. + * + * This is similar to how form elements in React work - if no `position` is supplied, the component + * is uncontrolled. + * + * Example: + * + * ```jsx + * let App = React.createClass({ + * render: function () { + * return ( + * + *
I start with transformX: 25px and transformY: 25px;
+ *
+ * ); + * } + * }); + * ``` + */ + position: _propTypes.default.shape({ + x: _propTypes.default.number, + y: _propTypes.default.number + }), + + /** + * These properties should be defined on the child, not here. + */ + className: _shims.dontSetMe, + style: _shims.dontSetMe, + transform: _shims.dontSetMe +})); + +_defineProperty(Draggable, "defaultProps", _objectSpread(_objectSpread({}, _DraggableCore.default.defaultProps), {}, { + axis: 'both', + bounds: false, + defaultClassName: 'react-draggable', + defaultClassNameDragging: 'react-draggable-dragging', + defaultClassNameDragged: 'react-draggable-dragged', + defaultPosition: { + x: 0, + y: 0 + }, + scale: 1 +})); + +/***/ }), + +/***/ 80783: +/*!*****************************************************************!*\ + !*** ./node_modules/react-draggable/build/cjs/DraggableCore.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var React = _interopRequireWildcard(__webpack_require__(/*! react */ 67294)); + +var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ 45697)); + +var _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ 73935)); + +var _domFns = __webpack_require__(/*! ./utils/domFns */ 81825); + +var _positionFns = __webpack_require__(/*! ./utils/positionFns */ 2849); + +var _shims = __webpack_require__(/*! ./utils/shims */ 9280); + +var _log = _interopRequireDefault(__webpack_require__(/*! ./utils/log */ 55904)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } + +function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +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; } + +function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + +function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +// Simple abstraction for dragging events names. +var eventsFor = { + touch: { + start: 'touchstart', + move: 'touchmove', + stop: 'touchend' + }, + mouse: { + start: 'mousedown', + move: 'mousemove', + stop: 'mouseup' + } +}; // Default to mouse events. + +var dragEventFor = eventsFor.mouse; +/*:: type DraggableCoreState = { + dragging: boolean, + lastX: number, + lastY: number, + touchIdentifier: ?number +};*/ + +/*:: export type DraggableData = { + node: HTMLElement, + x: number, y: number, + deltaX: number, deltaY: number, + lastX: number, lastY: number, +};*/ + +/*:: export type DraggableEventHandler = (e: MouseEvent, data: DraggableData) => void | false;*/ + +/*:: export type ControlPosition = {x: number, y: number};*/ + +/*:: export type PositionOffsetControlPosition = {x: number|string, y: number|string};*/ + +/*:: export type DraggableCoreDefaultProps = { + allowAnyClick: boolean, + disabled: boolean, + enableUserSelectHack: boolean, + onStart: DraggableEventHandler, + onDrag: DraggableEventHandler, + onStop: DraggableEventHandler, + onMouseDown: (e: MouseEvent) => void, + scale: number, +};*/ + +/*:: export type DraggableCoreProps = { + ...DraggableCoreDefaultProps, + cancel: string, + children: ReactElement, + offsetParent: HTMLElement, + grid: [number, number], + handle: string, + nodeRef?: ?React.ElementRef, +};*/ + +// +// Define . +// +// is for advanced usage of . It maintains minimal internal state so it can +// work well with libraries that require more control over the element. +// +var DraggableCore = /*#__PURE__*/function (_React$Component) { + _inherits(DraggableCore, _React$Component); + + var _super = _createSuper(DraggableCore); + + function DraggableCore() { + var _this; + + _classCallCheck(this, DraggableCore); + + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + _this = _super.call.apply(_super, [this].concat(args)); + + _defineProperty(_assertThisInitialized(_this), "state", { + dragging: false, + // Used while dragging to determine deltas. + lastX: NaN, + lastY: NaN, + touchIdentifier: null + }); + + _defineProperty(_assertThisInitialized(_this), "mounted", false); + + _defineProperty(_assertThisInitialized(_this), "handleDragStart", function (e) { + // Make it possible to attach event handlers on top of this one. + _this.props.onMouseDown(e); // Only accept left-clicks. + + + if (!_this.props.allowAnyClick && typeof e.button === 'number' && e.button !== 0) return false; // Get nodes. Be sure to grab relative document (could be iframed) + + var thisNode = _this.findDOMNode(); + + if (!thisNode || !thisNode.ownerDocument || !thisNode.ownerDocument.body) { + throw new Error(' not mounted on DragStart!'); + } + + var ownerDocument = thisNode.ownerDocument; // Short circuit if handle or cancel prop was provided and selector doesn't match. + + if (_this.props.disabled || !(e.target instanceof ownerDocument.defaultView.Node) || _this.props.handle && !(0, _domFns.matchesSelectorAndParentsTo)(e.target, _this.props.handle, thisNode) || _this.props.cancel && (0, _domFns.matchesSelectorAndParentsTo)(e.target, _this.props.cancel, thisNode)) { + return; + } // Prevent scrolling on mobile devices, like ipad/iphone. + // Important that this is after handle/cancel. + + + if (e.type === 'touchstart') e.preventDefault(); // Set touch identifier in component state if this is a touch event. This allows us to + // distinguish between individual touches on multitouch screens by identifying which + // touchpoint was set to this element. + + var touchIdentifier = (0, _domFns.getTouchIdentifier)(e); + + _this.setState({ + touchIdentifier: touchIdentifier + }); // Get the current drag point from the event. This is used as the offset. + + + var position = (0, _positionFns.getControlPosition)(e, touchIdentifier, _assertThisInitialized(_this)); + if (position == null) return; // not possible but satisfies flow + + var x = position.x, + y = position.y; // Create an event object with all the data parents need to make a decision here. + + var coreEvent = (0, _positionFns.createCoreData)(_assertThisInitialized(_this), x, y); + (0, _log.default)('DraggableCore: handleDragStart: %j', coreEvent); // Call event handler. If it returns explicit false, cancel. + + (0, _log.default)('calling', _this.props.onStart); + + var shouldUpdate = _this.props.onStart(e, coreEvent); + + if (shouldUpdate === false || _this.mounted === false) return; // Add a style to the body to disable user-select. This prevents text from + // being selected all over the page. + + if (_this.props.enableUserSelectHack) (0, _domFns.addUserSelectStyles)(ownerDocument); // Initiate dragging. Set the current x and y as offsets + // so we know how much we've moved during the drag. This allows us + // to drag elements around even if they have been moved, without issue. + + _this.setState({ + dragging: true, + lastX: x, + lastY: y + }); // Add events to the document directly so we catch when the user's mouse/touch moves outside of + // this element. We use different events depending on whether or not we have detected that this + // is a touch-capable device. + + + (0, _domFns.addEvent)(ownerDocument, dragEventFor.move, _this.handleDrag); + (0, _domFns.addEvent)(ownerDocument, dragEventFor.stop, _this.handleDragStop); + }); + + _defineProperty(_assertThisInitialized(_this), "handleDrag", function (e) { + // Get the current drag point from the event. This is used as the offset. + var position = (0, _positionFns.getControlPosition)(e, _this.state.touchIdentifier, _assertThisInitialized(_this)); + if (position == null) return; + var x = position.x, + y = position.y; // Snap to grid if prop has been provided + + if (Array.isArray(_this.props.grid)) { + var deltaX = x - _this.state.lastX, + deltaY = y - _this.state.lastY; + + var _snapToGrid = (0, _positionFns.snapToGrid)(_this.props.grid, deltaX, deltaY); + + var _snapToGrid2 = _slicedToArray(_snapToGrid, 2); + + deltaX = _snapToGrid2[0]; + deltaY = _snapToGrid2[1]; + if (!deltaX && !deltaY) return; // skip useless drag + + x = _this.state.lastX + deltaX, y = _this.state.lastY + deltaY; + } + + var coreEvent = (0, _positionFns.createCoreData)(_assertThisInitialized(_this), x, y); + (0, _log.default)('DraggableCore: handleDrag: %j', coreEvent); // Call event handler. If it returns explicit false, trigger end. + + var shouldUpdate = _this.props.onDrag(e, coreEvent); + + if (shouldUpdate === false || _this.mounted === false) { + try { + // $FlowIgnore + _this.handleDragStop(new MouseEvent('mouseup')); + } catch (err) { + // Old browsers + var event = ((document.createEvent('MouseEvents') + /*: any*/ + ) + /*: MouseTouchEvent*/ + ); // I see why this insanity was deprecated + // $FlowIgnore + + event.initMouseEvent('mouseup', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); + + _this.handleDragStop(event); + } + + return; + } + + _this.setState({ + lastX: x, + lastY: y + }); + }); + + _defineProperty(_assertThisInitialized(_this), "handleDragStop", function (e) { + if (!_this.state.dragging) return; + var position = (0, _positionFns.getControlPosition)(e, _this.state.touchIdentifier, _assertThisInitialized(_this)); + if (position == null) return; + var x = position.x, + y = position.y; // Snap to grid if prop has been provided + + if (Array.isArray(_this.props.grid)) { + var deltaX = x - _this.state.lastX || 0; + var deltaY = y - _this.state.lastY || 0; + + var _snapToGrid3 = (0, _positionFns.snapToGrid)(_this.props.grid, deltaX, deltaY); + + var _snapToGrid4 = _slicedToArray(_snapToGrid3, 2); + + deltaX = _snapToGrid4[0]; + deltaY = _snapToGrid4[1]; + x = _this.state.lastX + deltaX, y = _this.state.lastY + deltaY; + } + + var coreEvent = (0, _positionFns.createCoreData)(_assertThisInitialized(_this), x, y); // Call event handler + + var shouldContinue = _this.props.onStop(e, coreEvent); + + if (shouldContinue === false || _this.mounted === false) return false; + + var thisNode = _this.findDOMNode(); + + if (thisNode) { + // Remove user-select hack + if (_this.props.enableUserSelectHack) (0, _domFns.removeUserSelectStyles)(thisNode.ownerDocument); + } + + (0, _log.default)('DraggableCore: handleDragStop: %j', coreEvent); // Reset the el. + + _this.setState({ + dragging: false, + lastX: NaN, + lastY: NaN + }); + + if (thisNode) { + // Remove event handlers + (0, _log.default)('DraggableCore: Removing handlers'); + (0, _domFns.removeEvent)(thisNode.ownerDocument, dragEventFor.move, _this.handleDrag); + (0, _domFns.removeEvent)(thisNode.ownerDocument, dragEventFor.stop, _this.handleDragStop); + } + }); + + _defineProperty(_assertThisInitialized(_this), "onMouseDown", function (e) { + dragEventFor = eventsFor.mouse; // on touchscreen laptops we could switch back to mouse + + return _this.handleDragStart(e); + }); + + _defineProperty(_assertThisInitialized(_this), "onMouseUp", function (e) { + dragEventFor = eventsFor.mouse; + return _this.handleDragStop(e); + }); + + _defineProperty(_assertThisInitialized(_this), "onTouchStart", function (e) { + // We're on a touch device now, so change the event handlers + dragEventFor = eventsFor.touch; + return _this.handleDragStart(e); + }); + + _defineProperty(_assertThisInitialized(_this), "onTouchEnd", function (e) { + // We're on a touch device now, so change the event handlers + dragEventFor = eventsFor.touch; + return _this.handleDragStop(e); + }); + + return _this; + } + + _createClass(DraggableCore, [{ + key: "componentDidMount", + value: function componentDidMount() { + this.mounted = true; // Touch handlers must be added with {passive: false} to be cancelable. + // https://developers.google.com/web/updates/2017/01/scrolling-intervention + + var thisNode = this.findDOMNode(); + + if (thisNode) { + (0, _domFns.addEvent)(thisNode, eventsFor.touch.start, this.onTouchStart, { + passive: false + }); + } + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.mounted = false; // Remove any leftover event handlers. Remove both touch and mouse handlers in case + // some browser quirk caused a touch event to fire during a mouse move, or vice versa. + + var thisNode = this.findDOMNode(); + + if (thisNode) { + var ownerDocument = thisNode.ownerDocument; + (0, _domFns.removeEvent)(ownerDocument, eventsFor.mouse.move, this.handleDrag); + (0, _domFns.removeEvent)(ownerDocument, eventsFor.touch.move, this.handleDrag); + (0, _domFns.removeEvent)(ownerDocument, eventsFor.mouse.stop, this.handleDragStop); + (0, _domFns.removeEvent)(ownerDocument, eventsFor.touch.stop, this.handleDragStop); + (0, _domFns.removeEvent)(thisNode, eventsFor.touch.start, this.onTouchStart, { + passive: false + }); + if (this.props.enableUserSelectHack) (0, _domFns.removeUserSelectStyles)(ownerDocument); + } + } // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find + // the underlying DOM node ourselves. See the README for more information. + + }, { + key: "findDOMNode", + value: function findDOMNode() + /*: ?HTMLElement*/ + { + var _this$props, _this$props2, _this$props2$nodeRef; + + return (_this$props = this.props) !== null && _this$props !== void 0 && _this$props.nodeRef ? (_this$props2 = this.props) === null || _this$props2 === void 0 ? void 0 : (_this$props2$nodeRef = _this$props2.nodeRef) === null || _this$props2$nodeRef === void 0 ? void 0 : _this$props2$nodeRef.current : _reactDom.default.findDOMNode(this); + } + }, { + key: "render", + value: function render() + /*: React.Element*/ + { + // Reuse the child provided + // This makes it flexible to use whatever element is wanted (div, ul, etc) + return /*#__PURE__*/React.cloneElement(React.Children.only(this.props.children), { + // Note: mouseMove handler is attached to document so it will still function + // when the user drags quickly and leaves the bounds of the element. + onMouseDown: this.onMouseDown, + onMouseUp: this.onMouseUp, + // onTouchStart is added on `componentDidMount` so they can be added with + // {passive: false}, which allows it to cancel. See + // https://developers.google.com/web/updates/2017/01/scrolling-intervention + onTouchEnd: this.onTouchEnd + }); + } + }]); + + return DraggableCore; +}(React.Component); + +exports["default"] = DraggableCore; + +_defineProperty(DraggableCore, "displayName", 'DraggableCore'); + +_defineProperty(DraggableCore, "propTypes", { + /** + * `allowAnyClick` allows dragging using any mouse button. + * By default, we only accept the left button. + * + * Defaults to `false`. + */ + allowAnyClick: _propTypes.default.bool, + + /** + * `disabled`, if true, stops the from dragging. All handlers, + * with the exception of `onMouseDown`, will not fire. + */ + disabled: _propTypes.default.bool, + + /** + * By default, we add 'user-select:none' attributes to the document body + * to prevent ugly text selection during drag. If this is causing problems + * for your app, set this to `false`. + */ + enableUserSelectHack: _propTypes.default.bool, + + /** + * `offsetParent`, if set, uses the passed DOM node to compute drag offsets + * instead of using the parent node. + */ + offsetParent: function offsetParent(props + /*: DraggableCoreProps*/ + , propName + /*: $Keys*/ + ) { + if (props[propName] && props[propName].nodeType !== 1) { + throw new Error('Draggable\'s offsetParent must be a DOM Node.'); + } + }, + + /** + * `grid` specifies the x and y that dragging should snap to. + */ + grid: _propTypes.default.arrayOf(_propTypes.default.number), + + /** + * `handle` specifies a selector to be used as the handle that initiates drag. + * + * Example: + * + * ```jsx + * let App = React.createClass({ + * render: function () { + * return ( + * + *
+ *
Click me to drag
+ *
This is some other content
+ *
+ *
+ * ); + * } + * }); + * ``` + */ + handle: _propTypes.default.string, + + /** + * `cancel` specifies a selector to be used to prevent drag initialization. + * + * Example: + * + * ```jsx + * let App = React.createClass({ + * render: function () { + * return( + * + *
+ *
You can't drag from here
+ *
Dragging here works fine
+ *
+ *
+ * ); + * } + * }); + * ``` + */ + cancel: _propTypes.default.string, + + /* If running in React Strict mode, ReactDOM.findDOMNode() is deprecated. + * Unfortunately, in order for to work properly, we need raw access + * to the underlying DOM node. If you want to avoid the warning, pass a `nodeRef` + * as in this example: + * + * function MyComponent() { + * const nodeRef = React.useRef(null); + * return ( + * + *
Example Target
+ *
+ * ); + * } + * + * This can be used for arbitrarily nested components, so long as the ref ends up + * pointing to the actual child DOM node and not a custom component. + */ + nodeRef: _propTypes.default.object, + + /** + * Called when dragging starts. + * If this function returns the boolean false, dragging will be canceled. + */ + onStart: _propTypes.default.func, + + /** + * Called while dragging. + * If this function returns the boolean false, dragging will be canceled. + */ + onDrag: _propTypes.default.func, + + /** + * Called when dragging stops. + * If this function returns the boolean false, the drag will remain active. + */ + onStop: _propTypes.default.func, + + /** + * A workaround option which can be passed if onMouseDown needs to be accessed, + * since it'll always be blocked (as there is internal use of onMouseDown) + */ + onMouseDown: _propTypes.default.func, + + /** + * `scale`, if set, applies scaling while dragging an element + */ + scale: _propTypes.default.number, + + /** + * These properties should be defined on the child, not here. + */ + className: _shims.dontSetMe, + style: _shims.dontSetMe, + transform: _shims.dontSetMe +}); + +_defineProperty(DraggableCore, "defaultProps", { + allowAnyClick: false, + // by default only accept left click + disabled: false, + enableUserSelectHack: true, + onStart: function onStart() {}, + onDrag: function onDrag() {}, + onStop: function onStop() {}, + onMouseDown: function onMouseDown() {}, + scale: 1 +}); + +/***/ }), + +/***/ 61193: +/*!*******************************************************!*\ + !*** ./node_modules/react-draggable/build/cjs/cjs.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + + + +var _require = __webpack_require__(/*! ./Draggable */ 75668), + Draggable = _require.default, + DraggableCore = _require.DraggableCore; // Previous versions of this lib exported as the root export. As to no-// them, or TypeScript, we export *both* as the root and as 'default'. +// See https://github.com/mzabriskie/react-draggable/pull/254 +// and https://github.com/mzabriskie/react-draggable/issues/266 + + +module.exports = Draggable; +module.exports["default"] = Draggable; +module.exports.DraggableCore = DraggableCore; + +/***/ }), + +/***/ 81825: +/*!****************************************************************!*\ + !*** ./node_modules/react-draggable/build/cjs/utils/domFns.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.addClassName = addClassName; +exports.addEvent = addEvent; +exports.addUserSelectStyles = addUserSelectStyles; +exports.createCSSTransform = createCSSTransform; +exports.createSVGTransform = createSVGTransform; +exports.getTouch = getTouch; +exports.getTouchIdentifier = getTouchIdentifier; +exports.getTranslation = getTranslation; +exports.innerHeight = innerHeight; +exports.innerWidth = innerWidth; +exports.matchesSelector = matchesSelector; +exports.matchesSelectorAndParentsTo = matchesSelectorAndParentsTo; +exports.offsetXYFromParent = offsetXYFromParent; +exports.outerHeight = outerHeight; +exports.outerWidth = outerWidth; +exports.removeClassName = removeClassName; +exports.removeEvent = removeEvent; +exports.removeUserSelectStyles = removeUserSelectStyles; + +var _shims = __webpack_require__(/*! ./shims */ 9280); + +var _getPrefix = _interopRequireWildcard(__webpack_require__(/*! ./getPrefix */ 38650)); + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +var matchesSelectorFunc = ''; + +function matchesSelector(el +/*: Node*/ +, selector +/*: string*/ +) +/*: boolean*/ +{ + if (!matchesSelectorFunc) { + matchesSelectorFunc = (0, _shims.findInArray)(['matches', 'webkitMatchesSelector', 'mozMatchesSelector', 'msMatchesSelector', 'oMatchesSelector'], function (method) { + // $FlowIgnore: Doesn't think elements are indexable + return (0, _shims.isFunction)(el[method]); + }); + } // Might not be found entirely (not an Element?) - in that case, bail + // $FlowIgnore: Doesn't think elements are indexable + + + if (!(0, _shims.isFunction)(el[matchesSelectorFunc])) return false; // $FlowIgnore: Doesn't think elements are indexable + + return el[matchesSelectorFunc](selector); +} // Works up the tree to the draggable itself attempting to match selector. + + +function matchesSelectorAndParentsTo(el +/*: Node*/ +, selector +/*: string*/ +, baseNode +/*: Node*/ +) +/*: boolean*/ +{ + var node = el; + + do { + if (matchesSelector(node, selector)) return true; + if (node === baseNode) return false; + node = node.parentNode; + } while (node); + + return false; +} + +function addEvent(el +/*: ?Node*/ +, event +/*: string*/ +, handler +/*: Function*/ +, inputOptions +/*: Object*/ +) +/*: void*/ +{ + if (!el) return; + + var options = _objectSpread({ + capture: true + }, inputOptions); // $FlowIgnore[method-unbinding] + + + if (el.addEventListener) { + el.addEventListener(event, handler, options); + } else if (el.attachEvent) { + el.attachEvent('on' + event, handler); + } else { + // $FlowIgnore: Doesn't think elements are indexable + el['on' + event] = handler; + } +} + +function removeEvent(el +/*: ?Node*/ +, event +/*: string*/ +, handler +/*: Function*/ +, inputOptions +/*: Object*/ +) +/*: void*/ +{ + if (!el) return; + + var options = _objectSpread({ + capture: true + }, inputOptions); // $FlowIgnore[method-unbinding] + + + if (el.removeEventListener) { + el.removeEventListener(event, handler, options); + } else if (el.detachEvent) { + el.detachEvent('on' + event, handler); + } else { + // $FlowIgnore: Doesn't think elements are indexable + el['on' + event] = null; + } +} + +function outerHeight(node +/*: HTMLElement*/ +) +/*: number*/ +{ + // This is deliberately excluding margin for our calculations, since we are using + // offsetTop which is including margin. See getBoundPosition + var height = node.clientHeight; + var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node); + height += (0, _shims.int)(computedStyle.borderTopWidth); + height += (0, _shims.int)(computedStyle.borderBottomWidth); + return height; +} + +function outerWidth(node +/*: HTMLElement*/ +) +/*: number*/ +{ + // This is deliberately excluding margin for our calculations, since we are using + // offsetLeft which is including margin. See getBoundPosition + var width = node.clientWidth; + var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node); + width += (0, _shims.int)(computedStyle.borderLeftWidth); + width += (0, _shims.int)(computedStyle.borderRightWidth); + return width; +} + +function innerHeight(node +/*: HTMLElement*/ +) +/*: number*/ +{ + var height = node.clientHeight; + var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node); + height -= (0, _shims.int)(computedStyle.paddingTop); + height -= (0, _shims.int)(computedStyle.paddingBottom); + return height; +} + +function innerWidth(node +/*: HTMLElement*/ +) +/*: number*/ +{ + var width = node.clientWidth; + var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node); + width -= (0, _shims.int)(computedStyle.paddingLeft); + width -= (0, _shims.int)(computedStyle.paddingRight); + return width; +} +/*:: interface EventWithOffset { + clientX: number, clientY: number +}*/ + + +// Get from offsetParent +function offsetXYFromParent(evt +/*: EventWithOffset*/ +, offsetParent +/*: HTMLElement*/ +, scale +/*: number*/ +) +/*: ControlPosition*/ +{ + var isBody = offsetParent === offsetParent.ownerDocument.body; + var offsetParentRect = isBody ? { + left: 0, + top: 0 + } : offsetParent.getBoundingClientRect(); + var x = (evt.clientX + offsetParent.scrollLeft - offsetParentRect.left) / scale; + var y = (evt.clientY + offsetParent.scrollTop - offsetParentRect.top) / scale; + return { + x: x, + y: y + }; +} + +function createCSSTransform(controlPos +/*: ControlPosition*/ +, positionOffset +/*: PositionOffsetControlPosition*/ +) +/*: Object*/ +{ + var translation = getTranslation(controlPos, positionOffset, 'px'); + return _defineProperty({}, (0, _getPrefix.browserPrefixToKey)('transform', _getPrefix.default), translation); +} + +function createSVGTransform(controlPos +/*: ControlPosition*/ +, positionOffset +/*: PositionOffsetControlPosition*/ +) +/*: string*/ +{ + var translation = getTranslation(controlPos, positionOffset, ''); + return translation; +} + +function getTranslation(_ref2, positionOffset +/*: PositionOffsetControlPosition*/ +, unitSuffix +/*: string*/ +) +/*: string*/ +{ + var x = _ref2.x, + y = _ref2.y; + var translation = "translate(".concat(x).concat(unitSuffix, ",").concat(y).concat(unitSuffix, ")"); + + if (positionOffset) { + var defaultX = "".concat(typeof positionOffset.x === 'string' ? positionOffset.x : positionOffset.x + unitSuffix); + var defaultY = "".concat(typeof positionOffset.y === 'string' ? positionOffset.y : positionOffset.y + unitSuffix); + translation = "translate(".concat(defaultX, ", ").concat(defaultY, ")") + translation; + } + + return translation; +} + +function getTouch(e +/*: MouseTouchEvent*/ +, identifier +/*: number*/ +) +/*: ?{clientX: number, clientY: number}*/ +{ + return e.targetTouches && (0, _shims.findInArray)(e.targetTouches, function (t) { + return identifier === t.identifier; + }) || e.changedTouches && (0, _shims.findInArray)(e.changedTouches, function (t) { + return identifier === t.identifier; + }); +} + +function getTouchIdentifier(e +/*: MouseTouchEvent*/ +) +/*: ?number*/ +{ + if (e.targetTouches && e.targetTouches[0]) return e.targetTouches[0].identifier; + if (e.changedTouches && e.changedTouches[0]) return e.changedTouches[0].identifier; +} // User-select Hacks: +// +// Useful for preventing blue highlights all over everything when dragging. +// Note we're passing `document` b/c we could be iframed + + +function addUserSelectStyles(doc +/*: ?Document*/ +) { + if (!doc) return; + var styleEl = doc.getElementById('react-draggable-style-el'); + + if (!styleEl) { + styleEl = doc.createElement('style'); + styleEl.type = 'text/css'; + styleEl.id = 'react-draggable-style-el'; + styleEl.innerHTML = '.react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n'; + styleEl.innerHTML += '.react-draggable-transparent-selection *::selection {all: inherit;}\n'; + doc.getElementsByTagName('head')[0].appendChild(styleEl); + } + + if (doc.body) addClassName(doc.body, 'react-draggable-transparent-selection'); +} + +function removeUserSelectStyles(doc +/*: ?Document*/ +) { + if (!doc) return; + + try { + if (doc.body) removeClassName(doc.body, 'react-draggable-transparent-selection'); // $FlowIgnore: IE + + if (doc.selection) { + // $FlowIgnore: IE + doc.selection.empty(); + } else { + // Remove selection caused by scroll, unless it's a focused input + // (we use doc.defaultView in case we're in an iframe) + var selection = (doc.defaultView || window).getSelection(); + + if (selection && selection.type !== 'Caret') { + selection.removeAllRanges(); + } + } + } catch (e) {// probably IE + } +} + +function addClassName(el +/*: HTMLElement*/ +, className +/*: string*/ +) { + if (el.classList) { + el.classList.add(className); + } else { + if (!el.className.match(new RegExp("(?:^|\\s)".concat(className, "(?!\\S)")))) { + el.className += " ".concat(className); + } + } +} + +function removeClassName(el +/*: HTMLElement*/ +, className +/*: string*/ +) { + if (el.classList) { + el.classList.remove(className); + } else { + el.className = el.className.replace(new RegExp("(?:^|\\s)".concat(className, "(?!\\S)"), 'g'), ''); + } +} + +/***/ }), + +/***/ 38650: +/*!*******************************************************************!*\ + !*** ./node_modules/react-draggable/build/cjs/utils/getPrefix.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.browserPrefixToKey = browserPrefixToKey; +exports.browserPrefixToStyle = browserPrefixToStyle; +exports["default"] = void 0; +exports.getPrefix = getPrefix; +var prefixes = ['Moz', 'Webkit', 'O', 'ms']; + +function getPrefix() +/*: string*/ +{ + var _window$document, _window$document$docu; + + var prop + /*: string*/ + = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'transform'; + // Ensure we're running in an environment where there is actually a global + // `window` obj + if (typeof window === 'undefined') return ''; // If we're in a pseudo-browser server-side environment, this access + // path may not exist, so bail out if it doesn't. + + var style = (_window$document = window.document) === null || _window$document === void 0 ? void 0 : (_window$document$docu = _window$document.documentElement) === null || _window$document$docu === void 0 ? void 0 : _window$document$docu.style; + if (!style) return ''; + if (prop in style) return ''; + + for (var i = 0; i < prefixes.length; i++) { + if (browserPrefixToKey(prop, prefixes[i]) in style) return prefixes[i]; + } + + return ''; +} + +function browserPrefixToKey(prop +/*: string*/ +, prefix +/*: string*/ +) +/*: string*/ +{ + return prefix ? "".concat(prefix).concat(kebabToTitleCase(prop)) : prop; +} + +function browserPrefixToStyle(prop +/*: string*/ +, prefix +/*: string*/ +) +/*: string*/ +{ + return prefix ? "-".concat(prefix.toLowerCase(), "-").concat(prop) : prop; +} + +function kebabToTitleCase(str +/*: string*/ +) +/*: string*/ +{ + var out = ''; + var shouldCapitalize = true; + + for (var i = 0; i < str.length; i++) { + if (shouldCapitalize) { + out += str[i].toUpperCase(); + shouldCapitalize = false; + } else if (str[i] === '-') { + shouldCapitalize = true; + } else { + out += str[i]; + } + } + + return out; +} // Default export is the prefix itself, like 'Moz', 'Webkit', etc +// Note that you may have to re-test for certain things; for instance, Chrome 50 +// can handle unprefixed `transform`, but not unprefixed `user-select` + + +var _default = (getPrefix() +/*: string*/ +); + +exports["default"] = _default; + +/***/ }), + +/***/ 55904: +/*!*************************************************************!*\ + !*** ./node_modules/react-draggable/build/cjs/utils/log.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = log; + +/*eslint no-console:0*/ +function log() { + var _console; + + if (false) {} +} + +/***/ }), + +/***/ 2849: +/*!*********************************************************************!*\ + !*** ./node_modules/react-draggable/build/cjs/utils/positionFns.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.canDragX = canDragX; +exports.canDragY = canDragY; +exports.createCoreData = createCoreData; +exports.createDraggableData = createDraggableData; +exports.getBoundPosition = getBoundPosition; +exports.getControlPosition = getControlPosition; +exports.snapToGrid = snapToGrid; + +var _shims = __webpack_require__(/*! ./shims */ 9280); + +var _domFns = __webpack_require__(/*! ./domFns */ 81825); + +function getBoundPosition(draggable +/*: Draggable*/ +, x +/*: number*/ +, y +/*: number*/ +) +/*: [number, number]*/ +{ + // If no bounds, short-circuit and move on + if (!draggable.props.bounds) return [x, y]; // Clone new bounds + + var bounds = draggable.props.bounds; + bounds = typeof bounds === 'string' ? bounds : cloneBounds(bounds); + var node = findDOMNode(draggable); + + if (typeof bounds === 'string') { + var ownerDocument = node.ownerDocument; + var ownerWindow = ownerDocument.defaultView; + var boundNode; + + if (bounds === 'parent') { + boundNode = node.parentNode; + } else { + boundNode = ownerDocument.querySelector(bounds); + } + + if (!(boundNode instanceof ownerWindow.HTMLElement)) { + throw new Error('Bounds selector "' + bounds + '" could not find an element.'); + } + + var boundNodeEl + /*: HTMLElement*/ + = boundNode; // for Flow, can't seem to refine correctly + + var nodeStyle = ownerWindow.getComputedStyle(node); + var boundNodeStyle = ownerWindow.getComputedStyle(boundNodeEl); // Compute bounds. This is a pain with padding and offsets but this gets it exactly right. + + bounds = { + left: -node.offsetLeft + (0, _shims.int)(boundNodeStyle.paddingLeft) + (0, _shims.int)(nodeStyle.marginLeft), + top: -node.offsetTop + (0, _shims.int)(boundNodeStyle.paddingTop) + (0, _shims.int)(nodeStyle.marginTop), + right: (0, _domFns.innerWidth)(boundNodeEl) - (0, _domFns.outerWidth)(node) - node.offsetLeft + (0, _shims.int)(boundNodeStyle.paddingRight) - (0, _shims.int)(nodeStyle.marginRight), + bottom: (0, _domFns.innerHeight)(boundNodeEl) - (0, _domFns.outerHeight)(node) - node.offsetTop + (0, _shims.int)(boundNodeStyle.paddingBottom) - (0, _shims.int)(nodeStyle.marginBottom) + }; + } // Keep x and y below right and bottom limits... + + + if ((0, _shims.isNum)(bounds.right)) x = Math.min(x, bounds.right); + if ((0, _shims.isNum)(bounds.bottom)) y = Math.min(y, bounds.bottom); // But above left and top limits. + + if ((0, _shims.isNum)(bounds.left)) x = Math.max(x, bounds.left); + if ((0, _shims.isNum)(bounds.top)) y = Math.max(y, bounds.top); + return [x, y]; +} + +function snapToGrid(grid +/*: [number, number]*/ +, pendingX +/*: number*/ +, pendingY +/*: number*/ +) +/*: [number, number]*/ +{ + var x = Math.round(pendingX / grid[0]) * grid[0]; + var y = Math.round(pendingY / grid[1]) * grid[1]; + return [x, y]; +} + +function canDragX(draggable +/*: Draggable*/ +) +/*: boolean*/ +{ + return draggable.props.axis === 'both' || draggable.props.axis === 'x'; +} + +function canDragY(draggable +/*: Draggable*/ +) +/*: boolean*/ +{ + return draggable.props.axis === 'both' || draggable.props.axis === 'y'; +} // Get {x, y} positions from event. + + +function getControlPosition(e +/*: MouseTouchEvent*/ +, touchIdentifier +/*: ?number*/ +, draggableCore +/*: DraggableCore*/ +) +/*: ?ControlPosition*/ +{ + var touchObj = typeof touchIdentifier === 'number' ? (0, _domFns.getTouch)(e, touchIdentifier) : null; + if (typeof touchIdentifier === 'number' && !touchObj) return null; // not the right touch + + var node = findDOMNode(draggableCore); // User can provide an offsetParent if desired. + + var offsetParent = draggableCore.props.offsetParent || node.offsetParent || node.ownerDocument.body; + return (0, _domFns.offsetXYFromParent)(touchObj || e, offsetParent, draggableCore.props.scale); +} // Create an data object exposed by 's events + + +function createCoreData(draggable +/*: DraggableCore*/ +, x +/*: number*/ +, y +/*: number*/ +) +/*: DraggableData*/ +{ + var state = draggable.state; + var isStart = !(0, _shims.isNum)(state.lastX); + var node = findDOMNode(draggable); + + if (isStart) { + // If this is our first move, use the x and y as last coords. + return { + node: node, + deltaX: 0, + deltaY: 0, + lastX: x, + lastY: y, + x: x, + y: y + }; + } else { + // Otherwise calculate proper values. + return { + node: node, + deltaX: x - state.lastX, + deltaY: y - state.lastY, + lastX: state.lastX, + lastY: state.lastY, + x: x, + y: y + }; + } +} // Create an data exposed by 's events + + +function createDraggableData(draggable +/*: Draggable*/ +, coreData +/*: DraggableData*/ +) +/*: DraggableData*/ +{ + var scale = draggable.props.scale; + return { + node: coreData.node, + x: draggable.state.x + coreData.deltaX / scale, + y: draggable.state.y + coreData.deltaY / scale, + deltaX: coreData.deltaX / scale, + deltaY: coreData.deltaY / scale, + lastX: draggable.state.x, + lastY: draggable.state.y + }; +} // A lot faster than stringify/parse + + +function cloneBounds(bounds +/*: Bounds*/ +) +/*: Bounds*/ +{ + return { + left: bounds.left, + top: bounds.top, + right: bounds.right, + bottom: bounds.bottom + }; +} + +function findDOMNode(draggable +/*: Draggable | DraggableCore*/ +) +/*: HTMLElement*/ +{ + var node = draggable.findDOMNode(); + + if (!node) { + throw new Error(': Unmounted during event!'); + } // $FlowIgnore we can't assert on HTMLElement due to tests... FIXME + + + return node; +} + +/***/ }), + +/***/ 9280: +/*!***************************************************************!*\ + !*** ./node_modules/react-draggable/build/cjs/utils/shims.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.dontSetMe = dontSetMe; +exports.findInArray = findInArray; +exports.int = int; +exports.isFunction = isFunction; +exports.isNum = isNum; + +// @credits https://gist.github.com/rogozhnikoff/a43cfed27c41e4e68cdc +function findInArray(array +/*: Array | TouchList*/ +, callback +/*: Function*/ +) +/*: any*/ +{ + for (var i = 0, length = array.length; i < length; i++) { + if (callback.apply(callback, [array[i], i, array])) return array[i]; + } +} + +function isFunction(func +/*: any*/ +) +/*: boolean %checks*/ +{ + // $FlowIgnore[method-unbinding] + return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]'; +} + +function isNum(num +/*: any*/ +) +/*: boolean %checks*/ +{ + return typeof num === 'number' && !isNaN(num); +} + +function int(a +/*: string*/ +) +/*: number*/ +{ + return parseInt(a, 10); +} + +function dontSetMe(props +/*: Object*/ +, propName +/*: string*/ +, componentName +/*: string*/ +) +/*: ?Error*/ +{ + if (props[propName]) { + return new Error("Invalid prop ".concat(propName, " passed to ").concat(componentName, " - do not set this, set it on the child.")); + } +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/61437.chunk.css b/61437.chunk.css new file mode 100644 index 0000000000..0153311609 --- /dev/null +++ b/61437.chunk.css @@ -0,0 +1,821 @@ +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/form/style/index.less ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-form-item .ant-input-number + .ant-form-text { + margin-left: 8px; +} +.ant-form-inline { + display: flex; + flex-wrap: wrap; +} +.ant-form-inline .ant-form-item { + flex: none; + flex-wrap: nowrap; + margin-right: 16px; + margin-bottom: 0; +} +.ant-form-inline .ant-form-item-with-help { + margin-bottom: 16px; +} +.ant-form-inline .ant-form-item > .ant-form-item-label, +.ant-form-inline .ant-form-item > .ant-form-item-control { + display: inline-block; + vertical-align: top; +} +.ant-form-inline .ant-form-item > .ant-form-item-label { + flex: none; +} +.ant-form-inline .ant-form-item .ant-form-text { + display: inline-block; +} +.ant-form-inline .ant-form-item .ant-form-item-has-feedback { + display: inline-block; +} +.ant-form-horizontal .ant-form-item-label { + flex-grow: 0; +} +.ant-form-horizontal .ant-form-item-control { + flex: 1 1; + min-width: 0; +} +.ant-form-horizontal .ant-form-item-label[class$='-24'] + .ant-form-item-control, +.ant-form-horizontal .ant-form-item-label[class*='-24 '] + .ant-form-item-control { + min-width: 0; + min-width: initial; +} +.ant-form-vertical .ant-form-item-row { + flex-direction: column; +} +.ant-form-vertical .ant-form-item-label > label { + height: auto; +} +.ant-form-vertical .ant-form-item .ant-form-item-control { + width: 100%; +} +.ant-form-vertical .ant-form-item-label, +.ant-col-24.ant-form-item-label, +.ant-col-xl-24.ant-form-item-label { + padding: 0 0 4px; + line-height: 1.66667; + white-space: normal; + white-space: initial; + text-align: left; +} +.ant-form-vertical .ant-form-item-label > label, +.ant-col-24.ant-form-item-label > label, +.ant-col-xl-24.ant-form-item-label > label { + margin: 0; +} +.ant-form-vertical .ant-form-item-label > label::after, +.ant-col-24.ant-form-item-label > label::after, +.ant-col-xl-24.ant-form-item-label > label::after { + display: none; +} +.ant-form-rtl.ant-form-vertical .ant-form-item-label, +.ant-form-rtl.ant-col-24.ant-form-item-label, +.ant-form-rtl.ant-col-xl-24.ant-form-item-label { + text-align: right; +} +@media (max-width: 575px) { + .ant-form-item .ant-form-item-label { + padding: 0 0 4px; + line-height: 1.66667; + white-space: normal; + white-space: initial; + text-align: left; + } + .ant-form-item .ant-form-item-label > label { + margin: 0; + } + .ant-form-item .ant-form-item-label > label::after { + display: none; + } + .ant-form-rtl.ant-form-item .ant-form-item-label { + text-align: right; + } + .ant-form .ant-form-item { + flex-wrap: wrap; + } + .ant-form .ant-form-item .ant-form-item-label, + .ant-form .ant-form-item .ant-form-item-control { + flex: 0 0 100%; + max-width: 100%; + } + .ant-col-xs-24.ant-form-item-label { + padding: 0 0 4px; + line-height: 1.66667; + white-space: normal; + white-space: initial; + text-align: left; + } + .ant-col-xs-24.ant-form-item-label > label { + margin: 0; + } + .ant-col-xs-24.ant-form-item-label > label::after { + display: none; + } + .ant-form-rtl.ant-col-xs-24.ant-form-item-label { + text-align: right; + } +} +@media (max-width: 767px) { + .ant-col-sm-24.ant-form-item-label { + padding: 0 0 4px; + line-height: 1.66667; + white-space: normal; + white-space: initial; + text-align: left; + } + .ant-col-sm-24.ant-form-item-label > label { + margin: 0; + } + .ant-col-sm-24.ant-form-item-label > label::after { + display: none; + } + .ant-form-rtl.ant-col-sm-24.ant-form-item-label { + text-align: right; + } +} +@media (max-width: 991px) { + .ant-col-md-24.ant-form-item-label { + padding: 0 0 4px; + line-height: 1.66667; + white-space: normal; + white-space: initial; + text-align: left; + } + .ant-col-md-24.ant-form-item-label > label { + margin: 0; + } + .ant-col-md-24.ant-form-item-label > label::after { + display: none; + } + .ant-form-rtl.ant-col-md-24.ant-form-item-label { + text-align: right; + } +} +@media (max-width: 1199px) { + .ant-col-lg-24.ant-form-item-label { + padding: 0 0 4px; + line-height: 1.66667; + white-space: normal; + white-space: initial; + text-align: left; + } + .ant-col-lg-24.ant-form-item-label > label { + margin: 0; + } + .ant-col-lg-24.ant-form-item-label > label::after { + display: none; + } + .ant-form-rtl.ant-col-lg-24.ant-form-item-label { + text-align: right; + } +} +@media (max-width: 1599px) { + .ant-col-xl-24.ant-form-item-label { + padding: 0 0 4px; + line-height: 1.66667; + white-space: normal; + white-space: initial; + text-align: left; + } + .ant-col-xl-24.ant-form-item-label > label { + margin: 0; + } + .ant-col-xl-24.ant-form-item-label > label::after { + display: none; + } + .ant-form-rtl.ant-col-xl-24.ant-form-item-label { + text-align: right; + } +} +.ant-form-item { + /* Some non-status related component style is in `components.less` */ + /* To support leave along ErrorList. We add additional className to handle explain style */ +} +.ant-form-item-explain-error { + color: #ff4d4f; +} +.ant-form-item-explain-warning { + color: #faad14; +} +.ant-form-item-has-feedback .ant-switch { + margin: 2px 0 4px; +} +.ant-form-item-has-warning .ant-form-item-split { + color: #faad14; +} +.ant-form-item-has-error .ant-form-item-split { + color: #ff4d4f; +} +.ant-form { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; +} +.ant-form legend { + display: block; + width: 100%; + margin-bottom: 20px; + padding: 0; + color: rgba(0, 0, 0, 0.45); + font-size: 14px; + line-height: inherit; + border: 0; + border-bottom: 1px solid #d9d9d9; +} +.ant-form label { + font-size: 12px; +} +.ant-form input[type='search'] { + box-sizing: border-box; +} +.ant-form input[type='radio'], +.ant-form input[type='checkbox'] { + line-height: normal; +} +.ant-form input[type='file'] { + display: block; +} +.ant-form input[type='range'] { + display: block; + width: 100%; +} +.ant-form select[multiple], +.ant-form select[size] { + height: auto; +} +.ant-form input[type='file']:focus, +.ant-form input[type='radio']:focus, +.ant-form input[type='checkbox']:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.ant-form output { + display: block; + padding-top: 15px; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + line-height: 1.66667; +} +.ant-form .ant-form-text { + display: inline-block; + padding-right: 8px; +} +.ant-form-small .ant-form-item-label > label { + height: 22px; +} +.ant-form-small .ant-form-item-control-input { + min-height: 22px; +} +.ant-form-large .ant-form-item-label > label { + height: 32px; +} +.ant-form-large .ant-form-item-control-input { + min-height: 32px; +} +.ant-form-item { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + margin-bottom: 16px; + vertical-align: top; +} +.ant-form-item-with-help { + transition: none; +} +.ant-form-item-hidden, +.ant-form-item-hidden.ant-row { + display: none; +} +.ant-form-item-label { + display: inline-block; + flex-grow: 0; + overflow: hidden; + white-space: nowrap; + text-align: right; + vertical-align: middle; +} +.ant-form-item-label-left { + text-align: left; +} +.ant-form-item-label-wrap { + overflow: visible; + overflow: initial; + line-height: 1.41667em; + white-space: inherit; +} +.ant-form-item-label > label { + position: relative; + display: inline-flex; + align-items: center; + max-width: 100%; + height: 28px; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; +} +.ant-form-item-label > label > .anticon { + font-size: 12px; + vertical-align: top; +} +.ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before { + display: inline-block; + margin-right: 4px; + color: #ff4d4f; + font-size: 12px; + font-family: SimSun, sans-serif; + line-height: 1; + content: '*'; +} +.ant-form-hide-required-mark .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before { + display: none; +} +.ant-form-item-label > label .ant-form-item-optional { + display: inline-block; + margin-left: 0px; + color: rgba(0, 0, 0, 0.45); +} +.ant-form-hide-required-mark .ant-form-item-label > label .ant-form-item-optional { + display: none; +} +.ant-form-item-label > label .ant-form-item-tooltip { + color: rgba(0, 0, 0, 0.45); + cursor: help; + -webkit-writing-mode: horizontal-tb; + -ms-writing-mode: lr-tb; + writing-mode: horizontal-tb; + -webkit-margin-start: 0px; + margin-inline-start: 0px; +} +.ant-form-item-label > label::after { + content: ':'; + position: relative; + top: -0.5px; + margin: 0 8px 0 2px; +} +.ant-form-item-label > label.ant-form-item-no-colon::after { + content: ' '; +} +.ant-form-item-control { + display: flex; + flex-direction: column; + flex-grow: 1; +} +.ant-form-item-control:first-child:not([class^='ant-col-']):not([class*=' ant-col-']) { + width: 100%; +} +.ant-form-item-control-input { + position: relative; + display: flex; + align-items: center; + min-height: 28px; +} +.ant-form-item-control-input-content { + flex: auto; + max-width: 100%; +} +.ant-form-item-explain, +.ant-form-item-extra { + clear: both; + color: rgba(0, 0, 0, 0.45); + font-size: 12px; + line-height: 1.66667; + transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1); +} +.ant-form-item-explain-connected { + width: 100%; +} +.ant-form-item-extra { + min-height: 16px; +} +.ant-form-item-with-help .ant-form-item-explain { + height: auto; + opacity: 1; +} +.ant-form-item-feedback-icon { + font-size: 12px; + text-align: center; + visibility: visible; + animation: zoomIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46); + pointer-events: none; +} +.ant-form-item-feedback-icon-success { + color: #52c41a; +} +.ant-form-item-feedback-icon-error { + color: #ff4d4f; +} +.ant-form-item-feedback-icon-warning { + color: #faad14; +} +.ant-form-item-feedback-icon-validating { + color: #3061D0; +} +.ant-show-help { + transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); +} +.ant-show-help-appear, +.ant-show-help-enter { + opacity: 0; +} +.ant-show-help-appear-active, +.ant-show-help-enter-active { + opacity: 1; +} +.ant-show-help-leave { + opacity: 1; +} +.ant-show-help-leave-active { + opacity: 0; +} +.ant-show-help-item { + overflow: hidden; + transition: height 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) !important; +} +.ant-show-help-item-appear, +.ant-show-help-item-enter { + transform: translateY(-5px); + opacity: 0; +} +.ant-show-help-item-appear-active, +.ant-show-help-item-enter-active { + transform: translateY(0); + opacity: 1; +} +.ant-show-help-item-leave { + transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important; +} +.ant-show-help-item-leave-active { + transform: translateY(-5px); +} +@keyframes diffZoomIn1 { + 0% { + transform: scale(0); + opacity: 0; + } + 100% { + transform: scale(1); + opacity: 1; + } +} +@keyframes diffZoomIn2 { + 0% { + transform: scale(0); + opacity: 0; + } + 100% { + transform: scale(1); + opacity: 1; + } +} +@keyframes diffZoomIn3 { + 0% { + transform: scale(0); + opacity: 0; + } + 100% { + transform: scale(1); + opacity: 1; + } +} +.ant-form-rtl { + direction: rtl; +} +.ant-form-rtl .ant-form-item-label { + text-align: left; +} +.ant-form-rtl .ant-form-item-label > label.ant-form-item-required::before { + margin-right: 0; + margin-left: 4px; +} +.ant-form-rtl .ant-form-item-label > label::after { + margin: 0 2px 0 8px; +} +.ant-form-rtl .ant-form-item-label > label .ant-form-item-optional { + margin-right: 0px; + margin-left: 0; +} +.ant-col-rtl .ant-form-item-control:first-child { + width: 100%; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-input { + padding-right: 7px; + padding-left: 24px; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix { + padding-right: 7px; + padding-left: 18px; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input { + padding: 0; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-input-number-affix-wrapper .ant-input-number { + padding: 0; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix { + right: auto; + left: 28px; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-input-number { + padding-left: 18px; +} +.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-arrow, +.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-clear, +.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-arrow, +.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-clear, +.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon) > .ant-select .ant-select-arrow, +.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon) > .ant-select .ant-select-clear { + right: auto; + left: 32px; +} +.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-selection-selected-value, +.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection-selected-value, +.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon) > .ant-select .ant-select-selection-selected-value { + padding-right: 0; + padding-left: 42px; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow { + margin-right: 0; + margin-left: 19px; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear { + right: auto; + left: 32px; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-picker { + padding-right: 7px; + padding-left: 22.6px; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large { + padding-right: 11px; + padding-left: 26.6px; +} +.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small { + padding-right: 7px; + padding-left: 22.6px; +} +.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon, +.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon, +.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon, +.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon { + right: auto; + left: 0; +} +.ant-form-rtl.ant-form-inline .ant-form-item { + margin-right: 0; + margin-left: 16px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/61655.async.js b/61655.async.js index a586d66208..892736ec7d 100644 --- a/61655.async.js +++ b/61655.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[61655,34180,7713,44666,79256],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[61655,34180,7713,44666,79256,21104],{ /***/ 26554: /*!*******************************************************************!*\ @@ -2302,6 +2302,195 @@ RightOutlined.displayName = 'RightOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 43159: /*!**************************************************!*\ !*** ./node_modules/rc-tooltip/es/placements.js ***! diff --git a/45818.async.js b/62629.async.js similarity index 79% rename from 45818.async.js rename to 62629.async.js index f8752fe9b3..c19fea2593 100644 --- a/45818.async.js +++ b/62629.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[45818],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[62629],{ /***/ 48898: /*!*************************************************************************!*\ @@ -101,6 +101,303 @@ var getRenderPropValue = function getRenderPropValue(propValue) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 27049: /*!***********************************************!*\ !*** ./node_modules/antd/es/divider/index.js ***! diff --git a/45818.chunk.css b/62629.chunk.css similarity index 85% rename from 45818.chunk.css rename to 62629.chunk.css index cf9d4fadd2..25ae20d420 100644 --- a/45818.chunk.css +++ b/62629.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/tree/style/index.less ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/63543.async.js b/63543.async.js index b2b17f02f8..ab399dfc4e 100644 --- a/63543.async.js +++ b/63543.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[63543,40018,47638,3446],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[63543,40018,47638,3446,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1470,6 +1470,195 @@ var style = __webpack_require__(38390); // style dependencies +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/8631.async.js b/64339.async.js similarity index 82% rename from 8631.async.js rename to 64339.async.js index 9c35578125..6d581bae6e 100644 --- a/8631.async.js +++ b/64339.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[8631,34180,7713],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[64339,34180,7713,21104],{ /***/ 32857: /*!********************************************************************!*\ @@ -719,6 +719,303 @@ function getPlacements(config) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 75008: /*!*********************************************************!*\ !*** ./node_modules/antd/es/input/index.js + 5 modules ***! @@ -2299,6 +2596,195 @@ SearchOutlined.displayName = 'SearchOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 43159: /*!**************************************************!*\ !*** ./node_modules/rc-tooltip/es/placements.js ***! diff --git a/64742.async.js b/64742.async.js new file mode 100644 index 0000000000..dcc93128e1 --- /dev/null +++ b/64742.async.js @@ -0,0 +1,1883 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[64742],{ + +/***/ 98787: +/*!**********************************************!*\ + !*** ./node_modules/antd/es/_util/colors.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "E": function() { return /* binding */ PresetStatusColorTypes; }, +/* harmony export */ "Y": function() { return /* binding */ PresetColorTypes; } +/* harmony export */ }); +/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./type */ 93355); + +var PresetStatusColorTypes = (0,_type__WEBPACK_IMPORTED_MODULE_0__/* .tuple */ .b)('success', 'processing', 'error', 'default', 'warning'); +// eslint-disable-next-line import/prefer-default-export +var PresetColorTypes = (0,_type__WEBPACK_IMPORTED_MODULE_0__/* .tuple */ .b)('pink', 'red', 'yellow', 'orange', 'cyan', 'green', 'blue', 'purple', 'geekblue', 'magenta', 'volcano', 'gold', 'lime'); + +/***/ }), + +/***/ 80636: +/*!**************************************************!*\ + !*** ./node_modules/antd/es/_util/placements.js ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getPlacements; } +/* harmony export */ }); +/* unused harmony export getOverflowOptions */ +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var rc_tooltip_es_placements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-tooltip/es/placements */ 43159); + + +var autoAdjustOverflowEnabled = { + adjustX: 1, + adjustY: 1 +}; +var autoAdjustOverflowDisabled = { + adjustX: 0, + adjustY: 0 +}; +var targetOffset = [0, 0]; +function getOverflowOptions(autoAdjustOverflow) { + if (typeof autoAdjustOverflow === 'boolean') { + return autoAdjustOverflow ? autoAdjustOverflowEnabled : autoAdjustOverflowDisabled; + } + return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, autoAdjustOverflowDisabled), autoAdjustOverflow); +} +function getPlacements(config) { + var _config$arrowWidth = config.arrowWidth, + arrowWidth = _config$arrowWidth === void 0 ? 4 : _config$arrowWidth, + _config$horizontalArr = config.horizontalArrowShift, + horizontalArrowShift = _config$horizontalArr === void 0 ? 16 : _config$horizontalArr, + _config$verticalArrow = config.verticalArrowShift, + verticalArrowShift = _config$verticalArrow === void 0 ? 8 : _config$verticalArrow, + autoAdjustOverflow = config.autoAdjustOverflow, + arrowPointAtCenter = config.arrowPointAtCenter; + var placementMap = { + left: { + points: ['cr', 'cl'], + offset: [-4, 0] + }, + right: { + points: ['cl', 'cr'], + offset: [4, 0] + }, + top: { + points: ['bc', 'tc'], + offset: [0, -4] + }, + bottom: { + points: ['tc', 'bc'], + offset: [0, 4] + }, + topLeft: { + points: ['bl', 'tc'], + offset: [-(horizontalArrowShift + arrowWidth), -4] + }, + leftTop: { + points: ['tr', 'cl'], + offset: [-4, -(verticalArrowShift + arrowWidth)] + }, + topRight: { + points: ['br', 'tc'], + offset: [horizontalArrowShift + arrowWidth, -4] + }, + rightTop: { + points: ['tl', 'cr'], + offset: [4, -(verticalArrowShift + arrowWidth)] + }, + bottomRight: { + points: ['tr', 'bc'], + offset: [horizontalArrowShift + arrowWidth, 4] + }, + rightBottom: { + points: ['bl', 'cr'], + offset: [4, verticalArrowShift + arrowWidth] + }, + bottomLeft: { + points: ['tl', 'bc'], + offset: [-(horizontalArrowShift + arrowWidth), 4] + }, + leftBottom: { + points: ['br', 'cl'], + offset: [-4, verticalArrowShift + arrowWidth] + } + }; + Object.keys(placementMap).forEach(function (key) { + placementMap[key] = arrowPointAtCenter ? (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, placementMap[key]), { + overflow: getOverflowOptions(autoAdjustOverflow), + targetOffset: targetOffset + }) : (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, rc_tooltip_es_placements__WEBPACK_IMPORTED_MODULE_0__/* .placements */ .C[key]), { + overflow: getOverflowOptions(autoAdjustOverflow) + }); + placementMap[key].ignoreShake = true; + }); + return placementMap; +} + +/***/ }), + +/***/ 9708: +/*!***************************************************!*\ + !*** ./node_modules/antd/es/_util/statusUtils.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "F": function() { return /* binding */ getMergedStatus; }, +/* harmony export */ "Z": function() { return /* binding */ getStatusClassNames; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./type */ 93355); + + + +var InputStatuses = (0,_type__WEBPACK_IMPORTED_MODULE_1__/* .tuple */ .b)('warning', 'error', ''); +function getStatusClassNames(prefixCls, status, hasFeedback) { + var _classNames; + return classnames__WEBPACK_IMPORTED_MODULE_0___default()((_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-status-success"), status === 'success'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-status-warning"), status === 'warning'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-status-error"), status === 'error'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-status-validating"), status === 'validating'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-has-feedback"), hasFeedback), _classNames)); +} +var getMergedStatus = function getMergedStatus(contextStatus, customStatus) { + return customStatus || contextStatus; +}; + +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + +/***/ 34041: +/*!**********************************************!*\ + !*** ./node_modules/antd/es/select/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* 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_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 7752); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 98423); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 88258); +/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 98866); +/* harmony import */ var _config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider/SizeContext */ 97647); +/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../form/context */ 65223); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_util/motion */ 33603); +/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/statusUtils */ 9708); +/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/iconUtil */ 46163); +/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../space/Compact */ 4173); + + +// TODO: 4.0 - codemod should help to change `filterOption` to support node props. +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + + + + +var SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE'; +var InternalSelect = function InternalSelect(_a, ref) { + var _classNames2; + var customizePrefixCls = _a.prefixCls, + _a$bordered = _a.bordered, + bordered = _a$bordered === void 0 ? true : _a$bordered, + className = _a.className, + getPopupContainer = _a.getPopupContainer, + dropdownClassName = _a.dropdownClassName, + popupClassName = _a.popupClassName, + _a$listHeight = _a.listHeight, + listHeight = _a$listHeight === void 0 ? 256 : _a$listHeight, + placement = _a.placement, + _a$listItemHeight = _a.listItemHeight, + listItemHeight = _a$listItemHeight === void 0 ? 24 : _a$listItemHeight, + customizeSize = _a.size, + customDisabled = _a.disabled, + notFoundContent = _a.notFoundContent, + customStatus = _a.status, + showArrow = _a.showArrow, + props = __rest(_a, ["prefixCls", "bordered", "className", "getPopupContainer", "dropdownClassName", "popupClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "showArrow"]); + var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_), + getContextPopupContainer = _React$useContext.getPopupContainer, + getPrefixCls = _React$useContext.getPrefixCls, + renderEmpty = _React$useContext.renderEmpty, + direction = _React$useContext.direction, + virtual = _React$useContext.virtual, + dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth; + var size = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z); + var prefixCls = getPrefixCls('select', customizePrefixCls); + var rootPrefixCls = getPrefixCls(); + var _useCompactItemContex = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_5__/* .useCompactItemContext */ .ri)(prefixCls, direction), + compactSize = _useCompactItemContex.compactSize, + compactItemClassnames = _useCompactItemContex.compactItemClassnames; + var mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(function () { + var m = props.mode; + if (m === 'combobox') { + return undefined; + } + if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) { + return 'combobox'; + } + return m; + }, [props.mode]); + var isMultiple = mode === 'multiple' || mode === 'tags'; + var mergedShowArrow = showArrow !== undefined ? showArrow : props.loading || !(isMultiple || mode === 'combobox'); + // =================== Warning ===================== + false ? 0 : void 0; + // ===================== Form Status ===================== + var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_form_context__WEBPACK_IMPORTED_MODULE_6__/* .FormItemInputContext */ .aM), + contextStatus = _useContext.status, + hasFeedback = _useContext.hasFeedback, + isFormItemInput = _useContext.isFormItemInput, + feedbackIcon = _useContext.feedbackIcon; + var mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getMergedStatus */ .F)(contextStatus, customStatus); + // ===================== Empty ===================== + var mergedNotFound; + if (notFoundContent !== undefined) { + mergedNotFound = notFoundContent; + } else if (mode === 'combobox') { + mergedNotFound = null; + } else { + mergedNotFound = (renderEmpty || _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)('Select'); + } + // ===================== Icons ===================== + var _getIcons = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({}, props), { + multiple: isMultiple, + hasFeedback: hasFeedback, + feedbackIcon: feedbackIcon, + showArrow: mergedShowArrow, + prefixCls: prefixCls + })), + suffixIcon = _getIcons.suffixIcon, + itemIcon = _getIcons.itemIcon, + removeIcon = _getIcons.removeIcon, + clearIcon = _getIcons.clearIcon; + var selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']); + var rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl')); + var mergedSize = compactSize || customizeSize || size; + // ===================== Disabled ===================== + var disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z); + var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled; + var mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()((_classNames2 = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-in-form-item"), isFormItemInput), _classNames2), (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, className); + // ===================== Placement ===================== + var getPlacement = function getPlacement() { + if (placement !== undefined) { + return placement; + } + return direction === 'rtl' ? 'bottomRight' : 'bottomLeft'; + }; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({ + ref: ref, + virtual: virtual, + dropdownMatchSelectWidth: dropdownMatchSelectWidth + }, selectProps, { + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionName */ .mL)(rootPrefixCls, (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionDirection */ .q0)(placement), props.transitionName), + listHeight: listHeight, + listItemHeight: listItemHeight, + mode: mode, + prefixCls: prefixCls, + placement: getPlacement(), + direction: direction, + inputIcon: suffixIcon, + menuItemSelectedIcon: itemIcon, + removeIcon: removeIcon, + clearIcon: clearIcon, + notFoundContent: mergedNotFound, + className: mergedClassName, + getPopupContainer: getPopupContainer || getContextPopupContainer, + dropdownClassName: rcSelectRtlDropdownClassName, + showArrow: hasFeedback || showArrow, + disabled: mergedDisabled + })); +}; +var Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect); +Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE; +Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx; +Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo; +/* harmony default export */ __webpack_exports__["Z"] = (Select); + +/***/ }), + +/***/ 84908: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/tooltip/index.js + 3 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ tooltip; } +}); + +// 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/extends.js +var esm_extends = __webpack_require__(87462); +// 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/typeof.js +var esm_typeof = __webpack_require__(71002); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/rc-trigger/es/index.js + 15 modules +var es = __webpack_require__(81263); +// EXTERNAL MODULE: ./node_modules/rc-tooltip/es/placements.js +var placements = __webpack_require__(43159); +;// CONCATENATED MODULE: ./node_modules/rc-tooltip/es/Popup.js + + +function Popup(props) { + var showArrow = props.showArrow, + arrowContent = props.arrowContent, + children = props.children, + prefixCls = props.prefixCls, + id = props.id, + overlayInnerStyle = props.overlayInnerStyle, + className = props.className, + style = props.style; + return /*#__PURE__*/react.createElement("div", { + className: classnames_default()("".concat(prefixCls, "-content"), className), + style: style + }, showArrow !== false && /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-arrow"), + key: "arrow" + }, arrowContent), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-inner"), + id: id, + role: "tooltip", + style: overlayInnerStyle + }, typeof children === 'function' ? children() : children)); +} +;// CONCATENATED MODULE: ./node_modules/rc-tooltip/es/Tooltip.js + + + + + + + + + + +var Tooltip = function Tooltip(props, ref) { + var overlayClassName = props.overlayClassName, + _props$trigger = props.trigger, + trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger, + _props$mouseEnterDela = props.mouseEnterDelay, + mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela, + _props$mouseLeaveDela = props.mouseLeaveDelay, + mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, + overlayStyle = props.overlayStyle, + _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-tooltip' : _props$prefixCls, + children = props.children, + onVisibleChange = props.onVisibleChange, + afterVisibleChange = props.afterVisibleChange, + transitionName = props.transitionName, + animation = props.animation, + motion = props.motion, + _props$placement = props.placement, + placement = _props$placement === void 0 ? 'right' : _props$placement, + _props$align = props.align, + align = _props$align === void 0 ? {} : _props$align, + _props$destroyTooltip = props.destroyTooltipOnHide, + destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip, + defaultVisible = props.defaultVisible, + getTooltipContainer = props.getTooltipContainer, + overlayInnerStyle = props.overlayInnerStyle, + arrowContent = props.arrowContent, + overlay = props.overlay, + id = props.id, + showArrow = props.showArrow, + restProps = (0,objectWithoutProperties/* default */.Z)(props, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow"]); + + var domRef = (0,react.useRef)(null); + (0,react.useImperativeHandle)(ref, function () { + return domRef.current; + }); + + var extraProps = (0,objectSpread2/* default */.Z)({}, restProps); + + if ('visible' in props) { + extraProps.popupVisible = props.visible; + } + + var getPopupElement = function getPopupElement() { + return /*#__PURE__*/react.createElement(Popup, { + showArrow: showArrow, + arrowContent: arrowContent, + key: "content", + prefixCls: prefixCls, + id: id, + overlayInnerStyle: overlayInnerStyle + }, overlay); + }; + + var destroyTooltip = false; + var autoDestroy = false; + + if (typeof destroyTooltipOnHide === 'boolean') { + destroyTooltip = destroyTooltipOnHide; + } else if (destroyTooltipOnHide && (0,esm_typeof/* default */.Z)(destroyTooltipOnHide) === 'object') { + var keepParent = destroyTooltipOnHide.keepParent; + destroyTooltip = keepParent === true; + autoDestroy = keepParent === false; + } + + return /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + popupClassName: overlayClassName, + prefixCls: prefixCls, + popup: getPopupElement, + action: trigger, + builtinPlacements: placements/* placements */.C, + popupPlacement: placement, + ref: domRef, + popupAlign: align, + getPopupContainer: getTooltipContainer, + onPopupVisibleChange: onVisibleChange, + afterPopupVisibleChange: afterVisibleChange, + popupTransitionName: transitionName, + popupAnimation: animation, + popupMotion: motion, + defaultPopupVisible: defaultVisible, + destroyPopupOnHide: destroyTooltip, + autoDestroy: autoDestroy, + mouseLeaveDelay: mouseLeaveDelay, + popupStyle: overlayStyle, + mouseEnterDelay: mouseEnterDelay + }, extraProps), children); +}; + +/* harmony default export */ var es_Tooltip = (/*#__PURE__*/(0,react.forwardRef)(Tooltip)); +;// CONCATENATED MODULE: ./node_modules/rc-tooltip/es/index.js + + + +/* harmony default export */ var rc_tooltip_es = (es_Tooltip); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/colors.js +var colors = __webpack_require__(98787); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/motion.js +var motion = __webpack_require__(33603); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/placements.js +var _util_placements = __webpack_require__(80636); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +;// CONCATENATED MODULE: ./node_modules/antd/es/tooltip/index.js + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var splitObject = function splitObject(obj, keys) { + var picked = {}; + var omitted = (0,esm_extends/* default */.Z)({}, obj); + keys.forEach(function (key) { + if (obj && key in obj) { + picked[key] = obj[key]; + delete omitted[key]; + } + }); + return { + picked: picked, + omitted: omitted + }; +}; +var PresetColorRegex = new RegExp("^(".concat(colors/* PresetColorTypes.join */.Y.join('|'), ")(-inverse)?$")); +// Fix Tooltip won't hide at disabled button +// mouse events don't trigger at disabled button in Chrome +// https://github.com/react-component/tooltip/issues/18 +function getDisabledCompatibleChildren(element, prefixCls) { + var elementType = element.type; + if ((elementType.__ANT_BUTTON === true || element.type === 'button') && element.props.disabled || elementType.__ANT_SWITCH === true && (element.props.disabled || element.props.loading) || elementType.__ANT_RADIO === true && element.props.disabled) { + // Pick some layout related style properties up to span + // Prevent layout bugs like https://github.com/ant-design/ant-design/issues/5254 + var _splitObject = splitObject(element.props.style, ['position', 'left', 'right', 'top', 'bottom', 'float', 'display', 'zIndex']), + picked = _splitObject.picked, + omitted = _splitObject.omitted; + var spanStyle = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({ + display: 'inline-block' + }, picked), { + cursor: 'not-allowed', + width: element.props.block ? '100%' : undefined + }); + var buttonStyle = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, omitted), { + pointerEvents: 'none' + }); + var child = (0,reactNode/* cloneElement */.Tm)(element, { + style: buttonStyle, + className: null + }); + return /*#__PURE__*/react.createElement("span", { + style: spanStyle, + className: classnames_default()(element.props.className, "".concat(prefixCls, "-disabled-compatible-wrapper")) + }, child); + } + return element; +} +var tooltip_Tooltip = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames2; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getContextPopupContainer = _React$useContext.getPopupContainer, + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + // Warning for deprecated usage + if (false) {} + var _useMergedState = (0,useMergedState/* default */.Z)(false, { + value: props.open !== undefined ? props.open : props.visible, + defaultValue: props.defaultOpen !== undefined ? props.defaultOpen : props.defaultVisible + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + open = _useMergedState2[0], + setOpen = _useMergedState2[1]; + var isNoTitle = function isNoTitle() { + var title = props.title, + overlay = props.overlay; + return !title && !overlay && title !== 0; // overlay for old version compatibility + }; + + var onOpenChange = function onOpenChange(vis) { + var _a, _b; + setOpen(isNoTitle() ? false : vis); + if (!isNoTitle()) { + (_a = props.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(props, vis); + (_b = props.onVisibleChange) === null || _b === void 0 ? void 0 : _b.call(props, vis); + } + }; + var getTooltipPlacements = function getTooltipPlacements() { + var builtinPlacements = props.builtinPlacements, + _props$arrowPointAtCe = props.arrowPointAtCenter, + arrowPointAtCenter = _props$arrowPointAtCe === void 0 ? false : _props$arrowPointAtCe, + _props$autoAdjustOver = props.autoAdjustOverflow, + autoAdjustOverflow = _props$autoAdjustOver === void 0 ? true : _props$autoAdjustOver; + return builtinPlacements || (0,_util_placements/* default */.Z)({ + arrowPointAtCenter: arrowPointAtCenter, + autoAdjustOverflow: autoAdjustOverflow + }); + }; + // 动态设置动画点 + var onPopupAlign = function onPopupAlign(domNode, align) { + var placements = getTooltipPlacements(); + // 当前返回的位置 + var placement = Object.keys(placements).find(function (key) { + var _a, _b; + return placements[key].points[0] === ((_a = align.points) === null || _a === void 0 ? void 0 : _a[0]) && placements[key].points[1] === ((_b = align.points) === null || _b === void 0 ? void 0 : _b[1]); + }); + if (!placement) { + return; + } + // 根据当前坐标设置动画点 + var rect = domNode.getBoundingClientRect(); + var transformOrigin = { + top: '50%', + left: '50%' + }; + if (/top|Bottom/.test(placement)) { + transformOrigin.top = "".concat(rect.height - align.offset[1], "px"); + } else if (/Top|bottom/.test(placement)) { + transformOrigin.top = "".concat(-align.offset[1], "px"); + } + if (/left|Right/.test(placement)) { + transformOrigin.left = "".concat(rect.width - align.offset[0], "px"); + } else if (/right|Left/.test(placement)) { + transformOrigin.left = "".concat(-align.offset[0], "px"); + } + domNode.style.transformOrigin = "".concat(transformOrigin.left, " ").concat(transformOrigin.top); + }; + var getOverlay = function getOverlay() { + var title = props.title, + overlay = props.overlay; + if (title === 0) { + return title; + } + return overlay || title || ''; + }; + var getPopupContainer = props.getPopupContainer, + _props$placement = props.placement, + placement = _props$placement === void 0 ? 'top' : _props$placement, + _props$mouseEnterDela = props.mouseEnterDelay, + mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela, + _props$mouseLeaveDela = props.mouseLeaveDelay, + mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, + otherProps = __rest(props, ["getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay"]); + var customizePrefixCls = props.prefixCls, + openClassName = props.openClassName, + getTooltipContainer = props.getTooltipContainer, + overlayClassName = props.overlayClassName, + color = props.color, + overlayInnerStyle = props.overlayInnerStyle, + children = props.children; + var prefixCls = getPrefixCls('tooltip', customizePrefixCls); + var rootPrefixCls = getPrefixCls(); + var tempOpen = open; + // Hide tooltip when there is no title + if (!('open' in props) && !('visible' in props) && isNoTitle()) { + tempOpen = false; + } + var child = getDisabledCompatibleChildren((0,reactNode/* isValidElement */.l$)(children) && !(0,reactNode/* isFragment */.M2)(children) ? children : /*#__PURE__*/react.createElement("span", null, children), prefixCls); + var childProps = child.props; + var childCls = !childProps.className || typeof childProps.className === 'string' ? classnames_default()(childProps.className, (0,defineProperty/* default */.Z)({}, openClassName || "".concat(prefixCls, "-open"), true)) : childProps.className; + var customOverlayClassName = classnames_default()(overlayClassName, (_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-").concat(color), color && PresetColorRegex.test(color)), _classNames2)); + var formattedOverlayInnerStyle = overlayInnerStyle; + var arrowContentStyle = {}; + if (color && !PresetColorRegex.test(color)) { + formattedOverlayInnerStyle = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, overlayInnerStyle), { + background: color + }); + // @ts-ignore + arrowContentStyle = { + '--antd-arrow-background-color': color + }; + } + return /*#__PURE__*/react.createElement(rc_tooltip_es, (0,esm_extends/* default */.Z)({}, otherProps, { + placement: placement, + mouseEnterDelay: mouseEnterDelay, + mouseLeaveDelay: mouseLeaveDelay, + prefixCls: prefixCls, + overlayClassName: customOverlayClassName, + getTooltipContainer: getPopupContainer || getTooltipContainer || getContextPopupContainer, + ref: ref, + builtinPlacements: getTooltipPlacements(), + overlay: getOverlay(), + visible: tempOpen, + onVisibleChange: onOpenChange, + onPopupAlign: onPopupAlign, + overlayInnerStyle: formattedOverlayInnerStyle, + arrowContent: /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-arrow-content"), + style: arrowContentStyle + }), + motion: { + motionName: (0,motion/* getTransitionName */.mL)(rootPrefixCls, 'zoom-big-fast', props.transitionName), + motionDeadline: 1000 + } + }), tempOpen ? (0,reactNode/* cloneElement */.Tm)(child, { + className: childCls + }) : child); +}); +if (false) {} +/* harmony default export */ var tooltip = (tooltip_Tooltip); + +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + +/***/ 60057: +/*!**********************************************************!*\ + !*** ./node_modules/rc-dropdown/es/index.js + 3 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rc_dropdown_es; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// 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/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/rc-trigger/es/index.js + 15 modules +var es = __webpack_require__(81263); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +;// CONCATENATED MODULE: ./node_modules/rc-dropdown/es/placements.js +var autoAdjustOverflow = { + adjustX: 1, + adjustY: 1 +}; +var targetOffset = [0, 0]; +var placements = { + topLeft: { + points: ['bl', 'tl'], + overflow: autoAdjustOverflow, + offset: [0, -4], + targetOffset: targetOffset + }, + topCenter: { + points: ['bc', 'tc'], + overflow: autoAdjustOverflow, + offset: [0, -4], + targetOffset: targetOffset + }, + topRight: { + points: ['br', 'tr'], + overflow: autoAdjustOverflow, + offset: [0, -4], + targetOffset: targetOffset + }, + bottomLeft: { + points: ['tl', 'bl'], + overflow: autoAdjustOverflow, + offset: [0, 4], + targetOffset: targetOffset + }, + bottomCenter: { + points: ['tc', 'bc'], + overflow: autoAdjustOverflow, + offset: [0, 4], + targetOffset: targetOffset + }, + bottomRight: { + points: ['tr', 'br'], + overflow: autoAdjustOverflow, + offset: [0, 4], + targetOffset: targetOffset + } +}; +/* harmony default export */ var es_placements = (placements); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/raf.js +var raf = __webpack_require__(75164); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/focus.js +var Dom_focus = __webpack_require__(88603); +;// CONCATENATED MODULE: ./node_modules/rc-dropdown/es/hooks/useAccessibility.js + + + + +var ESC = KeyCode/* default.ESC */.Z.ESC, + TAB = KeyCode/* default.TAB */.Z.TAB; +function useAccessibility(_ref) { + var visible = _ref.visible, + setTriggerVisible = _ref.setTriggerVisible, + triggerRef = _ref.triggerRef, + onVisibleChange = _ref.onVisibleChange, + autoFocus = _ref.autoFocus; + var focusMenuRef = react.useRef(false); + + var handleCloseMenuAndReturnFocus = function handleCloseMenuAndReturnFocus() { + if (visible && triggerRef.current) { + var _triggerRef$current, _triggerRef$current$t, _triggerRef$current$t2, _triggerRef$current$t3; + + (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : (_triggerRef$current$t = _triggerRef$current.triggerRef) === null || _triggerRef$current$t === void 0 ? void 0 : (_triggerRef$current$t2 = _triggerRef$current$t.current) === null || _triggerRef$current$t2 === void 0 ? void 0 : (_triggerRef$current$t3 = _triggerRef$current$t2.focus) === null || _triggerRef$current$t3 === void 0 ? void 0 : _triggerRef$current$t3.call(_triggerRef$current$t2); + setTriggerVisible(false); + + if (typeof onVisibleChange === 'function') { + onVisibleChange(false); + } + } + }; + + var focusMenu = function focusMenu() { + var _triggerRef$current2, _triggerRef$current2$, _triggerRef$current2$2, _triggerRef$current2$3; + + var elements = (0,Dom_focus/* getFocusNodeList */.tS)((_triggerRef$current2 = triggerRef.current) === null || _triggerRef$current2 === void 0 ? void 0 : (_triggerRef$current2$ = _triggerRef$current2.popupRef) === null || _triggerRef$current2$ === void 0 ? void 0 : (_triggerRef$current2$2 = _triggerRef$current2$.current) === null || _triggerRef$current2$2 === void 0 ? void 0 : (_triggerRef$current2$3 = _triggerRef$current2$2.getElement) === null || _triggerRef$current2$3 === void 0 ? void 0 : _triggerRef$current2$3.call(_triggerRef$current2$2)); + var firstElement = elements[0]; + + if (firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus) { + firstElement.focus(); + focusMenuRef.current = true; + return true; + } + + return false; + }; + + var handleKeyDown = function handleKeyDown(event) { + switch (event.keyCode) { + case ESC: + handleCloseMenuAndReturnFocus(); + break; + + case TAB: + { + var focusResult = false; + + if (!focusMenuRef.current) { + focusResult = focusMenu(); + } + + if (focusResult) { + event.preventDefault(); + } else { + handleCloseMenuAndReturnFocus(); + } + + break; + } + } + }; + + react.useEffect(function () { + if (visible) { + window.addEventListener('keydown', handleKeyDown); + + if (autoFocus) { + // FIXME: hack with raf + (0,raf/* default */.Z)(focusMenu, 3); + } + + return function () { + window.removeEventListener('keydown', handleKeyDown); + focusMenuRef.current = false; + }; + } + + return function () { + focusMenuRef.current = false; + }; + }, [visible]); // eslint-disable-line react-hooks/exhaustive-deps +} +;// CONCATENATED MODULE: ./node_modules/rc-dropdown/es/Dropdown.js + + + + +var _excluded = ["arrow", "prefixCls", "transitionName", "animation", "align", "placement", "placements", "getPopupContainer", "showAction", "hideAction", "overlayClassName", "overlayStyle", "visible", "trigger", "autoFocus"]; + + + + + + +function Dropdown(props, ref) { + var _props$arrow = props.arrow, + arrow = _props$arrow === void 0 ? false : _props$arrow, + _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-dropdown' : _props$prefixCls, + transitionName = props.transitionName, + animation = props.animation, + align = props.align, + _props$placement = props.placement, + placement = _props$placement === void 0 ? 'bottomLeft' : _props$placement, + _props$placements = props.placements, + placements = _props$placements === void 0 ? es_placements : _props$placements, + getPopupContainer = props.getPopupContainer, + showAction = props.showAction, + hideAction = props.hideAction, + overlayClassName = props.overlayClassName, + overlayStyle = props.overlayStyle, + visible = props.visible, + _props$trigger = props.trigger, + trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger, + autoFocus = props.autoFocus, + otherProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + + var _React$useState = react.useState(), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + triggerVisible = _React$useState2[0], + setTriggerVisible = _React$useState2[1]; + + var mergedVisible = 'visible' in props ? visible : triggerVisible; + var triggerRef = react.useRef(null); + react.useImperativeHandle(ref, function () { + return triggerRef.current; + }); + useAccessibility({ + visible: mergedVisible, + setTriggerVisible: setTriggerVisible, + triggerRef: triggerRef, + onVisibleChange: props.onVisibleChange, + autoFocus: autoFocus + }); + + var getOverlayElement = function getOverlayElement() { + var overlay = props.overlay; + var overlayElement; + + if (typeof overlay === 'function') { + overlayElement = overlay(); + } else { + overlayElement = overlay; + } + + return overlayElement; + }; + + var onClick = function onClick(e) { + var onOverlayClick = props.onOverlayClick; + setTriggerVisible(false); + + if (onOverlayClick) { + onOverlayClick(e); + } + }; + + var onVisibleChange = function onVisibleChange(newVisible) { + var onVisibleChangeProp = props.onVisibleChange; + setTriggerVisible(newVisible); + + if (typeof onVisibleChangeProp === 'function') { + onVisibleChangeProp(newVisible); + } + }; + + var getMenuElement = function getMenuElement() { + var overlayElement = getOverlayElement(); + return /*#__PURE__*/react.createElement(react.Fragment, null, arrow && /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-arrow") + }), overlayElement); + }; + + var getMenuElementOrLambda = function getMenuElementOrLambda() { + var overlay = props.overlay; + + if (typeof overlay === 'function') { + return getMenuElement; + } + + return getMenuElement(); + }; + + var getMinOverlayWidthMatchTrigger = function getMinOverlayWidthMatchTrigger() { + var minOverlayWidthMatchTrigger = props.minOverlayWidthMatchTrigger, + alignPoint = props.alignPoint; + + if ('minOverlayWidthMatchTrigger' in props) { + return minOverlayWidthMatchTrigger; + } + + return !alignPoint; + }; + + var getOpenClassName = function getOpenClassName() { + var openClassName = props.openClassName; + + if (openClassName !== undefined) { + return openClassName; + } + + return "".concat(prefixCls, "-open"); + }; + + var renderChildren = function renderChildren() { + var children = props.children; + var childrenProps = children.props ? children.props : {}; + var childClassName = classnames_default()(childrenProps.className, getOpenClassName()); + return mergedVisible && children ? /*#__PURE__*/react.cloneElement(children, { + className: childClassName + }) : children; + }; + + var triggerHideAction = hideAction; + + if (!triggerHideAction && trigger.indexOf('contextMenu') !== -1) { + triggerHideAction = ['click']; + } + + return /*#__PURE__*/react.createElement(es/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + builtinPlacements: placements + }, otherProps), {}, { + prefixCls: prefixCls, + ref: triggerRef, + popupClassName: classnames_default()(overlayClassName, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-show-arrow"), arrow)), + popupStyle: overlayStyle, + action: trigger, + showAction: showAction, + hideAction: triggerHideAction || [], + popupPlacement: placement, + popupAlign: align, + popupTransitionName: transitionName, + popupAnimation: animation, + popupVisible: mergedVisible, + stretch: getMinOverlayWidthMatchTrigger() ? 'minWidth' : '', + popup: getMenuElementOrLambda(), + onPopupVisibleChange: onVisibleChange, + onPopupClick: onClick, + getPopupContainer: getPopupContainer + }), renderChildren()); +} + +/* harmony default export */ var es_Dropdown = (/*#__PURE__*/react.forwardRef(Dropdown)); +;// CONCATENATED MODULE: ./node_modules/rc-dropdown/es/index.js + +/* harmony default export */ var rc_dropdown_es = (es_Dropdown); + +/***/ }), + +/***/ 48555: +/*!*****************************************************************!*\ + !*** ./node_modules/rc-resize-observer/es/index.js + 4 modules ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es; } +}); + +// UNUSED EXPORTS: _rs + +// 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); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(50344); +// EXTERNAL MODULE: ./node_modules/rc-util/es/warning.js +var warning = __webpack_require__(80334); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/findDOMNode.js +var findDOMNode = __webpack_require__(34203); +// EXTERNAL MODULE: ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +var ResizeObserver_es = __webpack_require__(91033); +;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/utils/observerUtil.js + +// =============================== Const =============================== +var elementListeners = new Map(); +function onResize(entities) { + entities.forEach(function (entity) { + var _elementListeners$get; + var target = entity.target; + (_elementListeners$get = elementListeners.get(target)) === null || _elementListeners$get === void 0 ? void 0 : _elementListeners$get.forEach(function (listener) { + return listener(target); + }); + }); +} +// Note: ResizeObserver polyfill not support option to measure border-box resize +var resizeObserver = new ResizeObserver_es/* default */.Z(onResize); +// Dev env only +var _el = (/* unused pure expression or super */ null && ( false ? 0 : null)); // eslint-disable-line +var _rs = (/* unused pure expression or super */ null && ( false ? 0 : null)); // eslint-disable-line +// ============================== Observe ============================== +function observe(element, callback) { + if (!elementListeners.has(element)) { + elementListeners.set(element, new Set()); + resizeObserver.observe(element); + } + elementListeners.get(element).add(callback); +} +function unobserve(element, callback) { + if (elementListeners.has(element)) { + elementListeners.get(element).delete(callback); + if (!elementListeners.get(element).size) { + resizeObserver.unobserve(element); + elementListeners.delete(element); + } + } +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(15671); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(43144); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(60136); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(51630); +;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js + + + + + +/** + * Fallback to findDOMNode if origin ref do not provide any dom element + */ +var DomWrapper = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(DomWrapper, _React$Component); + var _super = (0,createSuper/* default */.Z)(DomWrapper); + function DomWrapper() { + (0,classCallCheck/* default */.Z)(this, DomWrapper); + return _super.apply(this, arguments); + } + (0,createClass/* default */.Z)(DomWrapper, [{ + key: "render", + value: function render() { + return this.props.children; + } + }]); + return DomWrapper; +}(react.Component); + +;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/Collection.js + +var CollectionContext = /*#__PURE__*/react.createContext(null); +/** + * Collect all the resize event from children ResizeObserver + */ +function Collection(_ref) { + var children = _ref.children, + onBatchResize = _ref.onBatchResize; + var resizeIdRef = react.useRef(0); + var resizeInfosRef = react.useRef([]); + var onCollectionResize = react.useContext(CollectionContext); + var onResize = react.useCallback(function (size, element, data) { + resizeIdRef.current += 1; + var currentId = resizeIdRef.current; + resizeInfosRef.current.push({ + size: size, + element: element, + data: data + }); + Promise.resolve().then(function () { + if (currentId === resizeIdRef.current) { + onBatchResize === null || onBatchResize === void 0 ? void 0 : onBatchResize(resizeInfosRef.current); + resizeInfosRef.current = []; + } + }); + // Continue bubbling if parent exist + onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(size, element, data); + }, [onBatchResize, onCollectionResize]); + return /*#__PURE__*/react.createElement(CollectionContext.Provider, { + value: onResize + }, children); +} +;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/SingleObserver/index.js + + + + + + + +function SingleObserver(props, ref) { + var children = props.children, + disabled = props.disabled; + var elementRef = react.useRef(null); + var wrapperRef = react.useRef(null); + var onCollectionResize = react.useContext(CollectionContext); + // =========================== Children =========================== + var isRenderProps = typeof children === 'function'; + var mergedChildren = isRenderProps ? children(elementRef) : children; + // ============================= Size ============================= + var sizeRef = react.useRef({ + width: -1, + height: -1, + offsetWidth: -1, + offsetHeight: -1 + }); + // ============================= Ref ============================== + var canRef = !isRenderProps && /*#__PURE__*/react.isValidElement(mergedChildren) && (0,es_ref/* supportRef */.Yr)(mergedChildren); + var originRef = canRef ? mergedChildren.ref : null; + var mergedRef = react.useMemo(function () { + return (0,es_ref/* composeRef */.sQ)(originRef, elementRef); + }, [originRef, elementRef]); + var getDom = function getDom() { + return (0,findDOMNode/* default */.Z)(elementRef.current) || (0,findDOMNode/* default */.Z)(wrapperRef.current); + }; + react.useImperativeHandle(ref, function () { + return getDom(); + }); + // =========================== Observe ============================ + var propsRef = react.useRef(props); + propsRef.current = props; + // Handler + var onInternalResize = react.useCallback(function (target) { + var _propsRef$current = propsRef.current, + onResize = _propsRef$current.onResize, + data = _propsRef$current.data; + var _target$getBoundingCl = target.getBoundingClientRect(), + width = _target$getBoundingCl.width, + height = _target$getBoundingCl.height; + var offsetWidth = target.offsetWidth, + offsetHeight = target.offsetHeight; + /** + * Resize observer trigger when content size changed. + * In most case we just care about element size, + * let's use `boundary` instead of `contentRect` here to avoid shaking. + */ + var fixedWidth = Math.floor(width); + var fixedHeight = Math.floor(height); + if (sizeRef.current.width !== fixedWidth || sizeRef.current.height !== fixedHeight || sizeRef.current.offsetWidth !== offsetWidth || sizeRef.current.offsetHeight !== offsetHeight) { + var size = { + width: fixedWidth, + height: fixedHeight, + offsetWidth: offsetWidth, + offsetHeight: offsetHeight + }; + sizeRef.current = size; + // IE is strange, right? + var mergedOffsetWidth = offsetWidth === Math.round(width) ? width : offsetWidth; + var mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight; + var sizeInfo = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, size), {}, { + offsetWidth: mergedOffsetWidth, + offsetHeight: mergedOffsetHeight + }); + // Let collection know what happened + onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(sizeInfo, target, data); + if (onResize) { + // defer the callback but not defer to next frame + Promise.resolve().then(function () { + onResize(sizeInfo, target); + }); + } + } + }, []); + // Dynamic observe + react.useEffect(function () { + var currentElement = getDom(); + if (currentElement && !disabled) { + observe(currentElement, onInternalResize); + } + return function () { + return unobserve(currentElement, onInternalResize); + }; + }, [elementRef.current, disabled]); + // ============================ Render ============================ + return /*#__PURE__*/react.createElement(DomWrapper, { + ref: wrapperRef + }, canRef ? /*#__PURE__*/react.cloneElement(mergedChildren, { + ref: mergedRef + }) : mergedChildren); +} +var RefSingleObserver = /*#__PURE__*/react.forwardRef(SingleObserver); +if (false) {} +/* harmony default export */ var es_SingleObserver = (RefSingleObserver); +;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/index.js + + + + + + +var INTERNAL_PREFIX_KEY = 'rc-observer-key'; + + +function ResizeObserver(props, ref) { + var children = props.children; + var childNodes = typeof children === 'function' ? [children] : (0,toArray/* default */.Z)(children); + if (false) {} + return childNodes.map(function (child, index) { + var key = (child === null || child === void 0 ? void 0 : child.key) || "".concat(INTERNAL_PREFIX_KEY, "-").concat(index); + return /*#__PURE__*/react.createElement(es_SingleObserver, (0,esm_extends/* default */.Z)({}, props, { + key: key, + ref: index === 0 ? ref : undefined + }), child); + }); +} +var RefResizeObserver = /*#__PURE__*/react.forwardRef(ResizeObserver); +if (false) {} +RefResizeObserver.Collection = Collection; +/* harmony default export */ var es = (RefResizeObserver); + +/***/ }), + +/***/ 43159: +/*!**************************************************!*\ + !*** ./node_modules/rc-tooltip/es/placements.js ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "C": function() { return /* binding */ placements; } +/* harmony export */ }); +var autoAdjustOverflow = { + adjustX: 1, + adjustY: 1 +}; +var targetOffset = [0, 0]; +var placements = { + left: { + points: ['cr', 'cl'], + overflow: autoAdjustOverflow, + offset: [-4, 0], + targetOffset: targetOffset + }, + right: { + points: ['cl', 'cr'], + overflow: autoAdjustOverflow, + offset: [4, 0], + targetOffset: targetOffset + }, + top: { + points: ['bc', 'tc'], + overflow: autoAdjustOverflow, + offset: [0, -4], + targetOffset: targetOffset + }, + bottom: { + points: ['tc', 'bc'], + overflow: autoAdjustOverflow, + offset: [0, 4], + targetOffset: targetOffset + }, + topLeft: { + points: ['bl', 'tl'], + overflow: autoAdjustOverflow, + offset: [0, -4], + targetOffset: targetOffset + }, + leftTop: { + points: ['tr', 'tl'], + overflow: autoAdjustOverflow, + offset: [-4, 0], + targetOffset: targetOffset + }, + topRight: { + points: ['br', 'tr'], + overflow: autoAdjustOverflow, + offset: [0, -4], + targetOffset: targetOffset + }, + rightTop: { + points: ['tl', 'tr'], + overflow: autoAdjustOverflow, + offset: [4, 0], + targetOffset: targetOffset + }, + bottomRight: { + points: ['tr', 'br'], + overflow: autoAdjustOverflow, + offset: [0, 4], + targetOffset: targetOffset + }, + rightBottom: { + points: ['bl', 'br'], + overflow: autoAdjustOverflow, + offset: [4, 0], + targetOffset: targetOffset + }, + bottomLeft: { + points: ['tl', 'bl'], + overflow: autoAdjustOverflow, + offset: [0, 4], + targetOffset: targetOffset + }, + leftBottom: { + points: ['br', 'bl'], + overflow: autoAdjustOverflow, + offset: [-4, 0], + targetOffset: targetOffset + } +}; +/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (placements))); + +/***/ }) + +}]); \ No newline at end of file diff --git a/65814.async.js b/65814.async.js index 4347f6c8a4..5a072aac7e 100644 --- a/65814.async.js +++ b/65814.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[65814,42573,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[65814,42573,95946,87388],{ /***/ 37653: /*!*****************************************************************!*\ diff --git a/65911.async.js b/65911.async.js index cfc034f305..db46c3b3df 100644 --- a/65911.async.js +++ b/65911.async.js @@ -678,1853 +678,6 @@ var style_default = __webpack_require__(43146); /***/ }), -/***/ 86010: -/*!******************************************!*\ - !*** ./node_modules/clsx/dist/clsx.m.js ***! - \******************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "clsx": function() { return /* binding */ clsx; } -/* harmony export */ }); -function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } - -function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } - -function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } - -function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - -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; } - -function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } - -function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } - -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } - -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } - -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -// -// Define -// -var Draggable = /*#__PURE__*/function (_React$Component) { - _inherits(Draggable, _React$Component); - - var _super = _createSuper(Draggable); - - function Draggable(props - /*: DraggableProps*/ - ) { - var _this; - - _classCallCheck(this, Draggable); - - _this = _super.call(this, props); - - _defineProperty(_assertThisInitialized(_this), "onDragStart", function (e, coreData) { - (0, _log.default)('Draggable: onDragStart: %j', coreData); // Short-circuit if user's callback killed it. - - var shouldStart = _this.props.onStart(e, (0, _positionFns.createDraggableData)(_assertThisInitialized(_this), coreData)); // Kills start event on core as well, so move handlers are never bound. - - - if (shouldStart === false) return false; - - _this.setState({ - dragging: true, - dragged: true - }); - }); - - _defineProperty(_assertThisInitialized(_this), "onDrag", function (e, coreData) { - if (!_this.state.dragging) return false; - (0, _log.default)('Draggable: onDrag: %j', coreData); - var uiData = (0, _positionFns.createDraggableData)(_assertThisInitialized(_this), coreData); - var newState - /*: $Shape*/ - = { - x: uiData.x, - y: uiData.y - }; // Keep within bounds. - - if (_this.props.bounds) { - // Save original x and y. - var x = newState.x, - y = newState.y; // Add slack to the values used to calculate bound position. This will ensure that if - // we start removing slack, the element won't react to it right away until it's been - // completely removed. - - newState.x += _this.state.slackX; - newState.y += _this.state.slackY; // Get bound position. This will ceil/floor the x and y within the boundaries. - - var _getBoundPosition = (0, _positionFns.getBoundPosition)(_assertThisInitialized(_this), newState.x, newState.y), - _getBoundPosition2 = _slicedToArray(_getBoundPosition, 2), - newStateX = _getBoundPosition2[0], - newStateY = _getBoundPosition2[1]; - - newState.x = newStateX; - newState.y = newStateY; // Recalculate slack by noting how much was shaved by the boundPosition handler. - - newState.slackX = _this.state.slackX + (x - newState.x); - newState.slackY = _this.state.slackY + (y - newState.y); // Update the event we fire to reflect what really happened after bounds took effect. - - uiData.x = newState.x; - uiData.y = newState.y; - uiData.deltaX = newState.x - _this.state.x; - uiData.deltaY = newState.y - _this.state.y; - } // Short-circuit if user's callback killed it. - - - var shouldUpdate = _this.props.onDrag(e, uiData); - - if (shouldUpdate === false) return false; - - _this.setState(newState); - }); - - _defineProperty(_assertThisInitialized(_this), "onDragStop", function (e, coreData) { - if (!_this.state.dragging) return false; // Short-circuit if user's callback killed it. - - var shouldContinue = _this.props.onStop(e, (0, _positionFns.createDraggableData)(_assertThisInitialized(_this), coreData)); - - if (shouldContinue === false) return false; - (0, _log.default)('Draggable: onDragStop: %j', coreData); - var newState - /*: $Shape*/ - = { - dragging: false, - slackX: 0, - slackY: 0 - }; // If this is a controlled component, the result of this operation will be to - // revert back to the old position. We expect a handler on `onDragStop`, at the least. - - var controlled = Boolean(_this.props.position); - - if (controlled) { - var _this$props$position = _this.props.position, - x = _this$props$position.x, - y = _this$props$position.y; - newState.x = x; - newState.y = y; - } - - _this.setState(newState); - }); - - _this.state = { - // Whether or not we are currently dragging. - dragging: false, - // Whether or not we have been dragged before. - dragged: false, - // Current transform x and y. - x: props.position ? props.position.x : props.defaultPosition.x, - y: props.position ? props.position.y : props.defaultPosition.y, - prevPropsPosition: _objectSpread({}, props.position), - // Used for compensating for out-of-bounds drags - slackX: 0, - slackY: 0, - // Can only determine if SVG after mounting - isElementSVG: false - }; - - if (props.position && !(props.onDrag || props.onStop)) { - // eslint-disable-next-line no-console - console.warn('A `position` was applied to this , without drag handlers. This will make this ' + 'component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the ' + '`position` of this element.'); - } - - return _this; - } - - _createClass(Draggable, [{ - key: "componentDidMount", - value: function componentDidMount() { - // Check to see if the element passed is an instanceof SVGElement - if (typeof window.SVGElement !== 'undefined' && this.findDOMNode() instanceof window.SVGElement) { - this.setState({ - isElementSVG: true - }); - } - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.setState({ - dragging: false - }); // prevents invariant if unmounted while dragging - } // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find - // the underlying DOM node ourselves. See the README for more information. - - }, { - key: "findDOMNode", - value: function findDOMNode() - /*: ?HTMLElement*/ - { - var _this$props$nodeRef$c, _this$props, _this$props$nodeRef; - - return (_this$props$nodeRef$c = (_this$props = this.props) === null || _this$props === void 0 ? void 0 : (_this$props$nodeRef = _this$props.nodeRef) === null || _this$props$nodeRef === void 0 ? void 0 : _this$props$nodeRef.current) !== null && _this$props$nodeRef$c !== void 0 ? _this$props$nodeRef$c : _reactDom.default.findDOMNode(this); - } - }, { - key: "render", - value: function render() - /*: ReactElement*/ - { - var _clsx; - - var _this$props2 = this.props, - axis = _this$props2.axis, - bounds = _this$props2.bounds, - children = _this$props2.children, - defaultPosition = _this$props2.defaultPosition, - defaultClassName = _this$props2.defaultClassName, - defaultClassNameDragging = _this$props2.defaultClassNameDragging, - defaultClassNameDragged = _this$props2.defaultClassNameDragged, - position = _this$props2.position, - positionOffset = _this$props2.positionOffset, - scale = _this$props2.scale, - draggableCoreProps = _objectWithoutProperties(_this$props2, _excluded); - - var style = {}; - var svgTransform = null; // If this is controlled, we don't want to move it - unless it's dragging. - - var controlled = Boolean(position); - var draggable = !controlled || this.state.dragging; - var validPosition = position || defaultPosition; - var transformOpts = { - // Set left if horizontal drag is enabled - x: (0, _positionFns.canDragX)(this) && draggable ? this.state.x : validPosition.x, - // Set top if vertical drag is enabled - y: (0, _positionFns.canDragY)(this) && draggable ? this.state.y : validPosition.y - }; // If this element was SVG, we use the `transform` attribute. - - if (this.state.isElementSVG) { - svgTransform = (0, _domFns.createSVGTransform)(transformOpts, positionOffset); - } else { - // Add a CSS transform to move the element around. This allows us to move the element around - // without worrying about whether or not it is relatively or absolutely positioned. - // If the item you are dragging already has a transform set, wrap it in a so - // has a clean slate. - style = (0, _domFns.createCSSTransform)(transformOpts, positionOffset); - } // Mark with class while dragging - - - var className = (0, _clsx2.default)(children.props.className || '', defaultClassName, (_clsx = {}, _defineProperty(_clsx, defaultClassNameDragging, this.state.dragging), _defineProperty(_clsx, defaultClassNameDragged, this.state.dragged), _clsx)); // Reuse the child provided - // This makes it flexible to use whatever element is wanted (div, ul, etc) - - return /*#__PURE__*/React.createElement(_DraggableCore.default, _extends({}, draggableCoreProps, { - onStart: this.onDragStart, - onDrag: this.onDrag, - onStop: this.onDragStop - }), /*#__PURE__*/React.cloneElement(React.Children.only(children), { - className: className, - style: _objectSpread(_objectSpread({}, children.props.style), style), - transform: svgTransform - })); - } - }], [{ - key: "getDerivedStateFromProps", - value: // React 16.3+ - // Arity (props, state) - function getDerivedStateFromProps(_ref, _ref2) - /*: ?$Shape*/ - { - var position = _ref.position; - var prevPropsPosition = _ref2.prevPropsPosition; - - // Set x/y if a new position is provided in props that is different than the previous. - if (position && (!prevPropsPosition || position.x !== prevPropsPosition.x || position.y !== prevPropsPosition.y)) { - (0, _log.default)('Draggable: getDerivedStateFromProps %j', { - position: position, - prevPropsPosition: prevPropsPosition - }); - return { - x: position.x, - y: position.y, - prevPropsPosition: _objectSpread({}, position) - }; - } - - return null; - } - }]); - - return Draggable; -}(React.Component); - -exports["default"] = Draggable; - -_defineProperty(Draggable, "displayName", 'Draggable'); - -_defineProperty(Draggable, "propTypes", _objectSpread(_objectSpread({}, _DraggableCore.default.propTypes), {}, { - /** - * `axis` determines which axis the draggable can move. - * - * Note that all callbacks will still return data as normal. This only - * controls flushing to the DOM. - * - * 'both' allows movement horizontally and vertically. - * 'x' limits movement to horizontal axis. - * 'y' limits movement to vertical axis. - * 'none' limits all movement. - * - * Defaults to 'both'. - */ - axis: _propTypes.default.oneOf(['both', 'x', 'y', 'none']), - - /** - * `bounds` determines the range of movement available to the element. - * Available values are: - * - * 'parent' restricts movement within the Draggable's parent node. - * - * Alternatively, pass an object with the following properties, all of which are optional: - * - * {left: LEFT_BOUND, right: RIGHT_BOUND, bottom: BOTTOM_BOUND, top: TOP_BOUND} - * - * All values are in px. - * - * Example: - * - * ```jsx - * let App = React.createClass({ - * render: function () { - * return ( - * - *
Content
- *
- * ); - * } - * }); - * ``` - */ - bounds: _propTypes.default.oneOfType([_propTypes.default.shape({ - left: _propTypes.default.number, - right: _propTypes.default.number, - top: _propTypes.default.number, - bottom: _propTypes.default.number - }), _propTypes.default.string, _propTypes.default.oneOf([false])]), - defaultClassName: _propTypes.default.string, - defaultClassNameDragging: _propTypes.default.string, - defaultClassNameDragged: _propTypes.default.string, - - /** - * `defaultPosition` specifies the x and y that the dragged item should start at - * - * Example: - * - * ```jsx - * let App = React.createClass({ - * render: function () { - * return ( - * - *
I start with transformX: 25px and transformY: 25px;
- *
- * ); - * } - * }); - * ``` - */ - defaultPosition: _propTypes.default.shape({ - x: _propTypes.default.number, - y: _propTypes.default.number - }), - positionOffset: _propTypes.default.shape({ - x: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]), - y: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]) - }), - - /** - * `position`, if present, defines the current position of the element. - * - * This is similar to how form elements in React work - if no `position` is supplied, the component - * is uncontrolled. - * - * Example: - * - * ```jsx - * let App = React.createClass({ - * render: function () { - * return ( - * - *
I start with transformX: 25px and transformY: 25px;
- *
- * ); - * } - * }); - * ``` - */ - position: _propTypes.default.shape({ - x: _propTypes.default.number, - y: _propTypes.default.number - }), - - /** - * These properties should be defined on the child, not here. - */ - className: _shims.dontSetMe, - style: _shims.dontSetMe, - transform: _shims.dontSetMe -})); - -_defineProperty(Draggable, "defaultProps", _objectSpread(_objectSpread({}, _DraggableCore.default.defaultProps), {}, { - axis: 'both', - bounds: false, - defaultClassName: 'react-draggable', - defaultClassNameDragging: 'react-draggable-dragging', - defaultClassNameDragged: 'react-draggable-dragged', - defaultPosition: { - x: 0, - y: 0 - }, - scale: 1 -})); - -/***/ }), - -/***/ 80783: -/*!*****************************************************************!*\ - !*** ./node_modules/react-draggable/build/cjs/DraggableCore.js ***! - \*****************************************************************/ -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { - - - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var React = _interopRequireWildcard(__webpack_require__(/*! react */ 67294)); - -var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ 45697)); - -var _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ 73935)); - -var _domFns = __webpack_require__(/*! ./utils/domFns */ 81825); - -var _positionFns = __webpack_require__(/*! ./utils/positionFns */ 2849); - -var _shims = __webpack_require__(/*! ./utils/shims */ 9280); - -var _log = _interopRequireDefault(__webpack_require__(/*! ./utils/log */ 55904)); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } - -function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } - -function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - -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; } - -function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } - -function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } - -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } - -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } - -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -// Simple abstraction for dragging events names. -var eventsFor = { - touch: { - start: 'touchstart', - move: 'touchmove', - stop: 'touchend' - }, - mouse: { - start: 'mousedown', - move: 'mousemove', - stop: 'mouseup' - } -}; // Default to mouse events. - -var dragEventFor = eventsFor.mouse; -/*:: type DraggableCoreState = { - dragging: boolean, - lastX: number, - lastY: number, - touchIdentifier: ?number -};*/ - -/*:: export type DraggableData = { - node: HTMLElement, - x: number, y: number, - deltaX: number, deltaY: number, - lastX: number, lastY: number, -};*/ - -/*:: export type DraggableEventHandler = (e: MouseEvent, data: DraggableData) => void | false;*/ - -/*:: export type ControlPosition = {x: number, y: number};*/ - -/*:: export type PositionOffsetControlPosition = {x: number|string, y: number|string};*/ - -/*:: export type DraggableCoreDefaultProps = { - allowAnyClick: boolean, - disabled: boolean, - enableUserSelectHack: boolean, - onStart: DraggableEventHandler, - onDrag: DraggableEventHandler, - onStop: DraggableEventHandler, - onMouseDown: (e: MouseEvent) => void, - scale: number, -};*/ - -/*:: export type DraggableCoreProps = { - ...DraggableCoreDefaultProps, - cancel: string, - children: ReactElement, - offsetParent: HTMLElement, - grid: [number, number], - handle: string, - nodeRef?: ?React.ElementRef, -};*/ - -// -// Define . -// -// is for advanced usage of . It maintains minimal internal state so it can -// work well with libraries that require more control over the element. -// -var DraggableCore = /*#__PURE__*/function (_React$Component) { - _inherits(DraggableCore, _React$Component); - - var _super = _createSuper(DraggableCore); - - function DraggableCore() { - var _this; - - _classCallCheck(this, DraggableCore); - - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - _this = _super.call.apply(_super, [this].concat(args)); - - _defineProperty(_assertThisInitialized(_this), "state", { - dragging: false, - // Used while dragging to determine deltas. - lastX: NaN, - lastY: NaN, - touchIdentifier: null - }); - - _defineProperty(_assertThisInitialized(_this), "mounted", false); - - _defineProperty(_assertThisInitialized(_this), "handleDragStart", function (e) { - // Make it possible to attach event handlers on top of this one. - _this.props.onMouseDown(e); // Only accept left-clicks. - - - if (!_this.props.allowAnyClick && typeof e.button === 'number' && e.button !== 0) return false; // Get nodes. Be sure to grab relative document (could be iframed) - - var thisNode = _this.findDOMNode(); - - if (!thisNode || !thisNode.ownerDocument || !thisNode.ownerDocument.body) { - throw new Error(' not mounted on DragStart!'); - } - - var ownerDocument = thisNode.ownerDocument; // Short circuit if handle or cancel prop was provided and selector doesn't match. - - if (_this.props.disabled || !(e.target instanceof ownerDocument.defaultView.Node) || _this.props.handle && !(0, _domFns.matchesSelectorAndParentsTo)(e.target, _this.props.handle, thisNode) || _this.props.cancel && (0, _domFns.matchesSelectorAndParentsTo)(e.target, _this.props.cancel, thisNode)) { - return; - } // Prevent scrolling on mobile devices, like ipad/iphone. - // Important that this is after handle/cancel. - - - if (e.type === 'touchstart') e.preventDefault(); // Set touch identifier in component state if this is a touch event. This allows us to - // distinguish between individual touches on multitouch screens by identifying which - // touchpoint was set to this element. - - var touchIdentifier = (0, _domFns.getTouchIdentifier)(e); - - _this.setState({ - touchIdentifier: touchIdentifier - }); // Get the current drag point from the event. This is used as the offset. - - - var position = (0, _positionFns.getControlPosition)(e, touchIdentifier, _assertThisInitialized(_this)); - if (position == null) return; // not possible but satisfies flow - - var x = position.x, - y = position.y; // Create an event object with all the data parents need to make a decision here. - - var coreEvent = (0, _positionFns.createCoreData)(_assertThisInitialized(_this), x, y); - (0, _log.default)('DraggableCore: handleDragStart: %j', coreEvent); // Call event handler. If it returns explicit false, cancel. - - (0, _log.default)('calling', _this.props.onStart); - - var shouldUpdate = _this.props.onStart(e, coreEvent); - - if (shouldUpdate === false || _this.mounted === false) return; // Add a style to the body to disable user-select. This prevents text from - // being selected all over the page. - - if (_this.props.enableUserSelectHack) (0, _domFns.addUserSelectStyles)(ownerDocument); // Initiate dragging. Set the current x and y as offsets - // so we know how much we've moved during the drag. This allows us - // to drag elements around even if they have been moved, without issue. - - _this.setState({ - dragging: true, - lastX: x, - lastY: y - }); // Add events to the document directly so we catch when the user's mouse/touch moves outside of - // this element. We use different events depending on whether or not we have detected that this - // is a touch-capable device. - - - (0, _domFns.addEvent)(ownerDocument, dragEventFor.move, _this.handleDrag); - (0, _domFns.addEvent)(ownerDocument, dragEventFor.stop, _this.handleDragStop); - }); - - _defineProperty(_assertThisInitialized(_this), "handleDrag", function (e) { - // Get the current drag point from the event. This is used as the offset. - var position = (0, _positionFns.getControlPosition)(e, _this.state.touchIdentifier, _assertThisInitialized(_this)); - if (position == null) return; - var x = position.x, - y = position.y; // Snap to grid if prop has been provided - - if (Array.isArray(_this.props.grid)) { - var deltaX = x - _this.state.lastX, - deltaY = y - _this.state.lastY; - - var _snapToGrid = (0, _positionFns.snapToGrid)(_this.props.grid, deltaX, deltaY); - - var _snapToGrid2 = _slicedToArray(_snapToGrid, 2); - - deltaX = _snapToGrid2[0]; - deltaY = _snapToGrid2[1]; - if (!deltaX && !deltaY) return; // skip useless drag - - x = _this.state.lastX + deltaX, y = _this.state.lastY + deltaY; - } - - var coreEvent = (0, _positionFns.createCoreData)(_assertThisInitialized(_this), x, y); - (0, _log.default)('DraggableCore: handleDrag: %j', coreEvent); // Call event handler. If it returns explicit false, trigger end. - - var shouldUpdate = _this.props.onDrag(e, coreEvent); - - if (shouldUpdate === false || _this.mounted === false) { - try { - // $FlowIgnore - _this.handleDragStop(new MouseEvent('mouseup')); - } catch (err) { - // Old browsers - var event = ((document.createEvent('MouseEvents') - /*: any*/ - ) - /*: MouseTouchEvent*/ - ); // I see why this insanity was deprecated - // $FlowIgnore - - event.initMouseEvent('mouseup', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); - - _this.handleDragStop(event); - } - - return; - } - - _this.setState({ - lastX: x, - lastY: y - }); - }); - - _defineProperty(_assertThisInitialized(_this), "handleDragStop", function (e) { - if (!_this.state.dragging) return; - var position = (0, _positionFns.getControlPosition)(e, _this.state.touchIdentifier, _assertThisInitialized(_this)); - if (position == null) return; - var x = position.x, - y = position.y; // Snap to grid if prop has been provided - - if (Array.isArray(_this.props.grid)) { - var deltaX = x - _this.state.lastX || 0; - var deltaY = y - _this.state.lastY || 0; - - var _snapToGrid3 = (0, _positionFns.snapToGrid)(_this.props.grid, deltaX, deltaY); - - var _snapToGrid4 = _slicedToArray(_snapToGrid3, 2); - - deltaX = _snapToGrid4[0]; - deltaY = _snapToGrid4[1]; - x = _this.state.lastX + deltaX, y = _this.state.lastY + deltaY; - } - - var coreEvent = (0, _positionFns.createCoreData)(_assertThisInitialized(_this), x, y); // Call event handler - - var shouldContinue = _this.props.onStop(e, coreEvent); - - if (shouldContinue === false || _this.mounted === false) return false; - - var thisNode = _this.findDOMNode(); - - if (thisNode) { - // Remove user-select hack - if (_this.props.enableUserSelectHack) (0, _domFns.removeUserSelectStyles)(thisNode.ownerDocument); - } - - (0, _log.default)('DraggableCore: handleDragStop: %j', coreEvent); // Reset the el. - - _this.setState({ - dragging: false, - lastX: NaN, - lastY: NaN - }); - - if (thisNode) { - // Remove event handlers - (0, _log.default)('DraggableCore: Removing handlers'); - (0, _domFns.removeEvent)(thisNode.ownerDocument, dragEventFor.move, _this.handleDrag); - (0, _domFns.removeEvent)(thisNode.ownerDocument, dragEventFor.stop, _this.handleDragStop); - } - }); - - _defineProperty(_assertThisInitialized(_this), "onMouseDown", function (e) { - dragEventFor = eventsFor.mouse; // on touchscreen laptops we could switch back to mouse - - return _this.handleDragStart(e); - }); - - _defineProperty(_assertThisInitialized(_this), "onMouseUp", function (e) { - dragEventFor = eventsFor.mouse; - return _this.handleDragStop(e); - }); - - _defineProperty(_assertThisInitialized(_this), "onTouchStart", function (e) { - // We're on a touch device now, so change the event handlers - dragEventFor = eventsFor.touch; - return _this.handleDragStart(e); - }); - - _defineProperty(_assertThisInitialized(_this), "onTouchEnd", function (e) { - // We're on a touch device now, so change the event handlers - dragEventFor = eventsFor.touch; - return _this.handleDragStop(e); - }); - - return _this; - } - - _createClass(DraggableCore, [{ - key: "componentDidMount", - value: function componentDidMount() { - this.mounted = true; // Touch handlers must be added with {passive: false} to be cancelable. - // https://developers.google.com/web/updates/2017/01/scrolling-intervention - - var thisNode = this.findDOMNode(); - - if (thisNode) { - (0, _domFns.addEvent)(thisNode, eventsFor.touch.start, this.onTouchStart, { - passive: false - }); - } - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.mounted = false; // Remove any leftover event handlers. Remove both touch and mouse handlers in case - // some browser quirk caused a touch event to fire during a mouse move, or vice versa. - - var thisNode = this.findDOMNode(); - - if (thisNode) { - var ownerDocument = thisNode.ownerDocument; - (0, _domFns.removeEvent)(ownerDocument, eventsFor.mouse.move, this.handleDrag); - (0, _domFns.removeEvent)(ownerDocument, eventsFor.touch.move, this.handleDrag); - (0, _domFns.removeEvent)(ownerDocument, eventsFor.mouse.stop, this.handleDragStop); - (0, _domFns.removeEvent)(ownerDocument, eventsFor.touch.stop, this.handleDragStop); - (0, _domFns.removeEvent)(thisNode, eventsFor.touch.start, this.onTouchStart, { - passive: false - }); - if (this.props.enableUserSelectHack) (0, _domFns.removeUserSelectStyles)(ownerDocument); - } - } // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find - // the underlying DOM node ourselves. See the README for more information. - - }, { - key: "findDOMNode", - value: function findDOMNode() - /*: ?HTMLElement*/ - { - var _this$props, _this$props2, _this$props2$nodeRef; - - return (_this$props = this.props) !== null && _this$props !== void 0 && _this$props.nodeRef ? (_this$props2 = this.props) === null || _this$props2 === void 0 ? void 0 : (_this$props2$nodeRef = _this$props2.nodeRef) === null || _this$props2$nodeRef === void 0 ? void 0 : _this$props2$nodeRef.current : _reactDom.default.findDOMNode(this); - } - }, { - key: "render", - value: function render() - /*: React.Element*/ - { - // Reuse the child provided - // This makes it flexible to use whatever element is wanted (div, ul, etc) - return /*#__PURE__*/React.cloneElement(React.Children.only(this.props.children), { - // Note: mouseMove handler is attached to document so it will still function - // when the user drags quickly and leaves the bounds of the element. - onMouseDown: this.onMouseDown, - onMouseUp: this.onMouseUp, - // onTouchStart is added on `componentDidMount` so they can be added with - // {passive: false}, which allows it to cancel. See - // https://developers.google.com/web/updates/2017/01/scrolling-intervention - onTouchEnd: this.onTouchEnd - }); - } - }]); - - return DraggableCore; -}(React.Component); - -exports["default"] = DraggableCore; - -_defineProperty(DraggableCore, "displayName", 'DraggableCore'); - -_defineProperty(DraggableCore, "propTypes", { - /** - * `allowAnyClick` allows dragging using any mouse button. - * By default, we only accept the left button. - * - * Defaults to `false`. - */ - allowAnyClick: _propTypes.default.bool, - - /** - * `disabled`, if true, stops the from dragging. All handlers, - * with the exception of `onMouseDown`, will not fire. - */ - disabled: _propTypes.default.bool, - - /** - * By default, we add 'user-select:none' attributes to the document body - * to prevent ugly text selection during drag. If this is causing problems - * for your app, set this to `false`. - */ - enableUserSelectHack: _propTypes.default.bool, - - /** - * `offsetParent`, if set, uses the passed DOM node to compute drag offsets - * instead of using the parent node. - */ - offsetParent: function offsetParent(props - /*: DraggableCoreProps*/ - , propName - /*: $Keys*/ - ) { - if (props[propName] && props[propName].nodeType !== 1) { - throw new Error('Draggable\'s offsetParent must be a DOM Node.'); - } - }, - - /** - * `grid` specifies the x and y that dragging should snap to. - */ - grid: _propTypes.default.arrayOf(_propTypes.default.number), - - /** - * `handle` specifies a selector to be used as the handle that initiates drag. - * - * Example: - * - * ```jsx - * let App = React.createClass({ - * render: function () { - * return ( - * - *
- *
Click me to drag
- *
This is some other content
- *
- *
- * ); - * } - * }); - * ``` - */ - handle: _propTypes.default.string, - - /** - * `cancel` specifies a selector to be used to prevent drag initialization. - * - * Example: - * - * ```jsx - * let App = React.createClass({ - * render: function () { - * return( - * - *
- *
You can't drag from here
- *
Dragging here works fine
- *
- *
- * ); - * } - * }); - * ``` - */ - cancel: _propTypes.default.string, - - /* If running in React Strict mode, ReactDOM.findDOMNode() is deprecated. - * Unfortunately, in order for to work properly, we need raw access - * to the underlying DOM node. If you want to avoid the warning, pass a `nodeRef` - * as in this example: - * - * function MyComponent() { - * const nodeRef = React.useRef(null); - * return ( - * - *
Example Target
- *
- * ); - * } - * - * This can be used for arbitrarily nested components, so long as the ref ends up - * pointing to the actual child DOM node and not a custom component. - */ - nodeRef: _propTypes.default.object, - - /** - * Called when dragging starts. - * If this function returns the boolean false, dragging will be canceled. - */ - onStart: _propTypes.default.func, - - /** - * Called while dragging. - * If this function returns the boolean false, dragging will be canceled. - */ - onDrag: _propTypes.default.func, - - /** - * Called when dragging stops. - * If this function returns the boolean false, the drag will remain active. - */ - onStop: _propTypes.default.func, - - /** - * A workaround option which can be passed if onMouseDown needs to be accessed, - * since it'll always be blocked (as there is internal use of onMouseDown) - */ - onMouseDown: _propTypes.default.func, - - /** - * `scale`, if set, applies scaling while dragging an element - */ - scale: _propTypes.default.number, - - /** - * These properties should be defined on the child, not here. - */ - className: _shims.dontSetMe, - style: _shims.dontSetMe, - transform: _shims.dontSetMe -}); - -_defineProperty(DraggableCore, "defaultProps", { - allowAnyClick: false, - // by default only accept left click - disabled: false, - enableUserSelectHack: true, - onStart: function onStart() {}, - onDrag: function onDrag() {}, - onStop: function onStop() {}, - onMouseDown: function onMouseDown() {}, - scale: 1 -}); - -/***/ }), - -/***/ 61193: -/*!*******************************************************!*\ - !*** ./node_modules/react-draggable/build/cjs/cjs.js ***! - \*******************************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - - - -var _require = __webpack_require__(/*! ./Draggable */ 75668), - Draggable = _require.default, - DraggableCore = _require.DraggableCore; // Previous versions of this lib exported as the root export. As to no-// them, or TypeScript, we export *both* as the root and as 'default'. -// See https://github.com/mzabriskie/react-draggable/pull/254 -// and https://github.com/mzabriskie/react-draggable/issues/266 - - -module.exports = Draggable; -module.exports["default"] = Draggable; -module.exports.DraggableCore = DraggableCore; - -/***/ }), - -/***/ 81825: -/*!****************************************************************!*\ - !*** ./node_modules/react-draggable/build/cjs/utils/domFns.js ***! - \****************************************************************/ -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { - - - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports.addClassName = addClassName; -exports.addEvent = addEvent; -exports.addUserSelectStyles = addUserSelectStyles; -exports.createCSSTransform = createCSSTransform; -exports.createSVGTransform = createSVGTransform; -exports.getTouch = getTouch; -exports.getTouchIdentifier = getTouchIdentifier; -exports.getTranslation = getTranslation; -exports.innerHeight = innerHeight; -exports.innerWidth = innerWidth; -exports.matchesSelector = matchesSelector; -exports.matchesSelectorAndParentsTo = matchesSelectorAndParentsTo; -exports.offsetXYFromParent = offsetXYFromParent; -exports.outerHeight = outerHeight; -exports.outerWidth = outerWidth; -exports.removeClassName = removeClassName; -exports.removeEvent = removeEvent; -exports.removeUserSelectStyles = removeUserSelectStyles; - -var _shims = __webpack_require__(/*! ./shims */ 9280); - -var _getPrefix = _interopRequireWildcard(__webpack_require__(/*! ./getPrefix */ 38650)); - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var matchesSelectorFunc = ''; - -function matchesSelector(el -/*: Node*/ -, selector -/*: string*/ -) -/*: boolean*/ -{ - if (!matchesSelectorFunc) { - matchesSelectorFunc = (0, _shims.findInArray)(['matches', 'webkitMatchesSelector', 'mozMatchesSelector', 'msMatchesSelector', 'oMatchesSelector'], function (method) { - // $FlowIgnore: Doesn't think elements are indexable - return (0, _shims.isFunction)(el[method]); - }); - } // Might not be found entirely (not an Element?) - in that case, bail - // $FlowIgnore: Doesn't think elements are indexable - - - if (!(0, _shims.isFunction)(el[matchesSelectorFunc])) return false; // $FlowIgnore: Doesn't think elements are indexable - - return el[matchesSelectorFunc](selector); -} // Works up the tree to the draggable itself attempting to match selector. - - -function matchesSelectorAndParentsTo(el -/*: Node*/ -, selector -/*: string*/ -, baseNode -/*: Node*/ -) -/*: boolean*/ -{ - var node = el; - - do { - if (matchesSelector(node, selector)) return true; - if (node === baseNode) return false; - node = node.parentNode; - } while (node); - - return false; -} - -function addEvent(el -/*: ?Node*/ -, event -/*: string*/ -, handler -/*: Function*/ -, inputOptions -/*: Object*/ -) -/*: void*/ -{ - if (!el) return; - - var options = _objectSpread({ - capture: true - }, inputOptions); // $FlowIgnore[method-unbinding] - - - if (el.addEventListener) { - el.addEventListener(event, handler, options); - } else if (el.attachEvent) { - el.attachEvent('on' + event, handler); - } else { - // $FlowIgnore: Doesn't think elements are indexable - el['on' + event] = handler; - } -} - -function removeEvent(el -/*: ?Node*/ -, event -/*: string*/ -, handler -/*: Function*/ -, inputOptions -/*: Object*/ -) -/*: void*/ -{ - if (!el) return; - - var options = _objectSpread({ - capture: true - }, inputOptions); // $FlowIgnore[method-unbinding] - - - if (el.removeEventListener) { - el.removeEventListener(event, handler, options); - } else if (el.detachEvent) { - el.detachEvent('on' + event, handler); - } else { - // $FlowIgnore: Doesn't think elements are indexable - el['on' + event] = null; - } -} - -function outerHeight(node -/*: HTMLElement*/ -) -/*: number*/ -{ - // This is deliberately excluding margin for our calculations, since we are using - // offsetTop which is including margin. See getBoundPosition - var height = node.clientHeight; - var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node); - height += (0, _shims.int)(computedStyle.borderTopWidth); - height += (0, _shims.int)(computedStyle.borderBottomWidth); - return height; -} - -function outerWidth(node -/*: HTMLElement*/ -) -/*: number*/ -{ - // This is deliberately excluding margin for our calculations, since we are using - // offsetLeft which is including margin. See getBoundPosition - var width = node.clientWidth; - var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node); - width += (0, _shims.int)(computedStyle.borderLeftWidth); - width += (0, _shims.int)(computedStyle.borderRightWidth); - return width; -} - -function innerHeight(node -/*: HTMLElement*/ -) -/*: number*/ -{ - var height = node.clientHeight; - var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node); - height -= (0, _shims.int)(computedStyle.paddingTop); - height -= (0, _shims.int)(computedStyle.paddingBottom); - return height; -} - -function innerWidth(node -/*: HTMLElement*/ -) -/*: number*/ -{ - var width = node.clientWidth; - var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node); - width -= (0, _shims.int)(computedStyle.paddingLeft); - width -= (0, _shims.int)(computedStyle.paddingRight); - return width; -} -/*:: interface EventWithOffset { - clientX: number, clientY: number -}*/ - - -// Get from offsetParent -function offsetXYFromParent(evt -/*: EventWithOffset*/ -, offsetParent -/*: HTMLElement*/ -, scale -/*: number*/ -) -/*: ControlPosition*/ -{ - var isBody = offsetParent === offsetParent.ownerDocument.body; - var offsetParentRect = isBody ? { - left: 0, - top: 0 - } : offsetParent.getBoundingClientRect(); - var x = (evt.clientX + offsetParent.scrollLeft - offsetParentRect.left) / scale; - var y = (evt.clientY + offsetParent.scrollTop - offsetParentRect.top) / scale; - return { - x: x, - y: y - }; -} - -function createCSSTransform(controlPos -/*: ControlPosition*/ -, positionOffset -/*: PositionOffsetControlPosition*/ -) -/*: Object*/ -{ - var translation = getTranslation(controlPos, positionOffset, 'px'); - return _defineProperty({}, (0, _getPrefix.browserPrefixToKey)('transform', _getPrefix.default), translation); -} - -function createSVGTransform(controlPos -/*: ControlPosition*/ -, positionOffset -/*: PositionOffsetControlPosition*/ -) -/*: string*/ -{ - var translation = getTranslation(controlPos, positionOffset, ''); - return translation; -} - -function getTranslation(_ref2, positionOffset -/*: PositionOffsetControlPosition*/ -, unitSuffix -/*: string*/ -) -/*: string*/ -{ - var x = _ref2.x, - y = _ref2.y; - var translation = "translate(".concat(x).concat(unitSuffix, ",").concat(y).concat(unitSuffix, ")"); - - if (positionOffset) { - var defaultX = "".concat(typeof positionOffset.x === 'string' ? positionOffset.x : positionOffset.x + unitSuffix); - var defaultY = "".concat(typeof positionOffset.y === 'string' ? positionOffset.y : positionOffset.y + unitSuffix); - translation = "translate(".concat(defaultX, ", ").concat(defaultY, ")") + translation; - } - - return translation; -} - -function getTouch(e -/*: MouseTouchEvent*/ -, identifier -/*: number*/ -) -/*: ?{clientX: number, clientY: number}*/ -{ - return e.targetTouches && (0, _shims.findInArray)(e.targetTouches, function (t) { - return identifier === t.identifier; - }) || e.changedTouches && (0, _shims.findInArray)(e.changedTouches, function (t) { - return identifier === t.identifier; - }); -} - -function getTouchIdentifier(e -/*: MouseTouchEvent*/ -) -/*: ?number*/ -{ - if (e.targetTouches && e.targetTouches[0]) return e.targetTouches[0].identifier; - if (e.changedTouches && e.changedTouches[0]) return e.changedTouches[0].identifier; -} // User-select Hacks: -// -// Useful for preventing blue highlights all over everything when dragging. -// Note we're passing `document` b/c we could be iframed - - -function addUserSelectStyles(doc -/*: ?Document*/ -) { - if (!doc) return; - var styleEl = doc.getElementById('react-draggable-style-el'); - - if (!styleEl) { - styleEl = doc.createElement('style'); - styleEl.type = 'text/css'; - styleEl.id = 'react-draggable-style-el'; - styleEl.innerHTML = '.react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n'; - styleEl.innerHTML += '.react-draggable-transparent-selection *::selection {all: inherit;}\n'; - doc.getElementsByTagName('head')[0].appendChild(styleEl); - } - - if (doc.body) addClassName(doc.body, 'react-draggable-transparent-selection'); -} - -function removeUserSelectStyles(doc -/*: ?Document*/ -) { - if (!doc) return; - - try { - if (doc.body) removeClassName(doc.body, 'react-draggable-transparent-selection'); // $FlowIgnore: IE - - if (doc.selection) { - // $FlowIgnore: IE - doc.selection.empty(); - } else { - // Remove selection caused by scroll, unless it's a focused input - // (we use doc.defaultView in case we're in an iframe) - var selection = (doc.defaultView || window).getSelection(); - - if (selection && selection.type !== 'Caret') { - selection.removeAllRanges(); - } - } - } catch (e) {// probably IE - } -} - -function addClassName(el -/*: HTMLElement*/ -, className -/*: string*/ -) { - if (el.classList) { - el.classList.add(className); - } else { - if (!el.className.match(new RegExp("(?:^|\\s)".concat(className, "(?!\\S)")))) { - el.className += " ".concat(className); - } - } -} - -function removeClassName(el -/*: HTMLElement*/ -, className -/*: string*/ -) { - if (el.classList) { - el.classList.remove(className); - } else { - el.className = el.className.replace(new RegExp("(?:^|\\s)".concat(className, "(?!\\S)"), 'g'), ''); - } -} - -/***/ }), - -/***/ 38650: -/*!*******************************************************************!*\ - !*** ./node_modules/react-draggable/build/cjs/utils/getPrefix.js ***! - \*******************************************************************/ -/***/ (function(__unused_webpack_module, exports) { - - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports.browserPrefixToKey = browserPrefixToKey; -exports.browserPrefixToStyle = browserPrefixToStyle; -exports["default"] = void 0; -exports.getPrefix = getPrefix; -var prefixes = ['Moz', 'Webkit', 'O', 'ms']; - -function getPrefix() -/*: string*/ -{ - var _window$document, _window$document$docu; - - var prop - /*: string*/ - = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'transform'; - // Ensure we're running in an environment where there is actually a global - // `window` obj - if (typeof window === 'undefined') return ''; // If we're in a pseudo-browser server-side environment, this access - // path may not exist, so bail out if it doesn't. - - var style = (_window$document = window.document) === null || _window$document === void 0 ? void 0 : (_window$document$docu = _window$document.documentElement) === null || _window$document$docu === void 0 ? void 0 : _window$document$docu.style; - if (!style) return ''; - if (prop in style) return ''; - - for (var i = 0; i < prefixes.length; i++) { - if (browserPrefixToKey(prop, prefixes[i]) in style) return prefixes[i]; - } - - return ''; -} - -function browserPrefixToKey(prop -/*: string*/ -, prefix -/*: string*/ -) -/*: string*/ -{ - return prefix ? "".concat(prefix).concat(kebabToTitleCase(prop)) : prop; -} - -function browserPrefixToStyle(prop -/*: string*/ -, prefix -/*: string*/ -) -/*: string*/ -{ - return prefix ? "-".concat(prefix.toLowerCase(), "-").concat(prop) : prop; -} - -function kebabToTitleCase(str -/*: string*/ -) -/*: string*/ -{ - var out = ''; - var shouldCapitalize = true; - - for (var i = 0; i < str.length; i++) { - if (shouldCapitalize) { - out += str[i].toUpperCase(); - shouldCapitalize = false; - } else if (str[i] === '-') { - shouldCapitalize = true; - } else { - out += str[i]; - } - } - - return out; -} // Default export is the prefix itself, like 'Moz', 'Webkit', etc -// Note that you may have to re-test for certain things; for instance, Chrome 50 -// can handle unprefixed `transform`, but not unprefixed `user-select` - - -var _default = (getPrefix() -/*: string*/ -); - -exports["default"] = _default; - -/***/ }), - -/***/ 55904: -/*!*************************************************************!*\ - !*** ./node_modules/react-draggable/build/cjs/utils/log.js ***! - \*************************************************************/ -/***/ (function(__unused_webpack_module, exports) { - - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = log; - -/*eslint no-console:0*/ -function log() { - var _console; - - if (false) {} -} - -/***/ }), - -/***/ 2849: -/*!*********************************************************************!*\ - !*** ./node_modules/react-draggable/build/cjs/utils/positionFns.js ***! - \*********************************************************************/ -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { - - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports.canDragX = canDragX; -exports.canDragY = canDragY; -exports.createCoreData = createCoreData; -exports.createDraggableData = createDraggableData; -exports.getBoundPosition = getBoundPosition; -exports.getControlPosition = getControlPosition; -exports.snapToGrid = snapToGrid; - -var _shims = __webpack_require__(/*! ./shims */ 9280); - -var _domFns = __webpack_require__(/*! ./domFns */ 81825); - -function getBoundPosition(draggable -/*: Draggable*/ -, x -/*: number*/ -, y -/*: number*/ -) -/*: [number, number]*/ -{ - // If no bounds, short-circuit and move on - if (!draggable.props.bounds) return [x, y]; // Clone new bounds - - var bounds = draggable.props.bounds; - bounds = typeof bounds === 'string' ? bounds : cloneBounds(bounds); - var node = findDOMNode(draggable); - - if (typeof bounds === 'string') { - var ownerDocument = node.ownerDocument; - var ownerWindow = ownerDocument.defaultView; - var boundNode; - - if (bounds === 'parent') { - boundNode = node.parentNode; - } else { - boundNode = ownerDocument.querySelector(bounds); - } - - if (!(boundNode instanceof ownerWindow.HTMLElement)) { - throw new Error('Bounds selector "' + bounds + '" could not find an element.'); - } - - var boundNodeEl - /*: HTMLElement*/ - = boundNode; // for Flow, can't seem to refine correctly - - var nodeStyle = ownerWindow.getComputedStyle(node); - var boundNodeStyle = ownerWindow.getComputedStyle(boundNodeEl); // Compute bounds. This is a pain with padding and offsets but this gets it exactly right. - - bounds = { - left: -node.offsetLeft + (0, _shims.int)(boundNodeStyle.paddingLeft) + (0, _shims.int)(nodeStyle.marginLeft), - top: -node.offsetTop + (0, _shims.int)(boundNodeStyle.paddingTop) + (0, _shims.int)(nodeStyle.marginTop), - right: (0, _domFns.innerWidth)(boundNodeEl) - (0, _domFns.outerWidth)(node) - node.offsetLeft + (0, _shims.int)(boundNodeStyle.paddingRight) - (0, _shims.int)(nodeStyle.marginRight), - bottom: (0, _domFns.innerHeight)(boundNodeEl) - (0, _domFns.outerHeight)(node) - node.offsetTop + (0, _shims.int)(boundNodeStyle.paddingBottom) - (0, _shims.int)(nodeStyle.marginBottom) - }; - } // Keep x and y below right and bottom limits... - - - if ((0, _shims.isNum)(bounds.right)) x = Math.min(x, bounds.right); - if ((0, _shims.isNum)(bounds.bottom)) y = Math.min(y, bounds.bottom); // But above left and top limits. - - if ((0, _shims.isNum)(bounds.left)) x = Math.max(x, bounds.left); - if ((0, _shims.isNum)(bounds.top)) y = Math.max(y, bounds.top); - return [x, y]; -} - -function snapToGrid(grid -/*: [number, number]*/ -, pendingX -/*: number*/ -, pendingY -/*: number*/ -) -/*: [number, number]*/ -{ - var x = Math.round(pendingX / grid[0]) * grid[0]; - var y = Math.round(pendingY / grid[1]) * grid[1]; - return [x, y]; -} - -function canDragX(draggable -/*: Draggable*/ -) -/*: boolean*/ -{ - return draggable.props.axis === 'both' || draggable.props.axis === 'x'; -} - -function canDragY(draggable -/*: Draggable*/ -) -/*: boolean*/ -{ - return draggable.props.axis === 'both' || draggable.props.axis === 'y'; -} // Get {x, y} positions from event. - - -function getControlPosition(e -/*: MouseTouchEvent*/ -, touchIdentifier -/*: ?number*/ -, draggableCore -/*: DraggableCore*/ -) -/*: ?ControlPosition*/ -{ - var touchObj = typeof touchIdentifier === 'number' ? (0, _domFns.getTouch)(e, touchIdentifier) : null; - if (typeof touchIdentifier === 'number' && !touchObj) return null; // not the right touch - - var node = findDOMNode(draggableCore); // User can provide an offsetParent if desired. - - var offsetParent = draggableCore.props.offsetParent || node.offsetParent || node.ownerDocument.body; - return (0, _domFns.offsetXYFromParent)(touchObj || e, offsetParent, draggableCore.props.scale); -} // Create an data object exposed by 's events - - -function createCoreData(draggable -/*: DraggableCore*/ -, x -/*: number*/ -, y -/*: number*/ -) -/*: DraggableData*/ -{ - var state = draggable.state; - var isStart = !(0, _shims.isNum)(state.lastX); - var node = findDOMNode(draggable); - - if (isStart) { - // If this is our first move, use the x and y as last coords. - return { - node: node, - deltaX: 0, - deltaY: 0, - lastX: x, - lastY: y, - x: x, - y: y - }; - } else { - // Otherwise calculate proper values. - return { - node: node, - deltaX: x - state.lastX, - deltaY: y - state.lastY, - lastX: state.lastX, - lastY: state.lastY, - x: x, - y: y - }; - } -} // Create an data exposed by 's events - - -function createDraggableData(draggable -/*: Draggable*/ -, coreData -/*: DraggableData*/ -) -/*: DraggableData*/ -{ - var scale = draggable.props.scale; - return { - node: coreData.node, - x: draggable.state.x + coreData.deltaX / scale, - y: draggable.state.y + coreData.deltaY / scale, - deltaX: coreData.deltaX / scale, - deltaY: coreData.deltaY / scale, - lastX: draggable.state.x, - lastY: draggable.state.y - }; -} // A lot faster than stringify/parse - - -function cloneBounds(bounds -/*: Bounds*/ -) -/*: Bounds*/ -{ - return { - left: bounds.left, - top: bounds.top, - right: bounds.right, - bottom: bounds.bottom - }; -} - -function findDOMNode(draggable -/*: Draggable | DraggableCore*/ -) -/*: HTMLElement*/ -{ - var node = draggable.findDOMNode(); - - if (!node) { - throw new Error(': Unmounted during event!'); - } // $FlowIgnore we can't assert on HTMLElement due to tests... FIXME - - - return node; -} - -/***/ }), - -/***/ 9280: -/*!***************************************************************!*\ - !*** ./node_modules/react-draggable/build/cjs/utils/shims.js ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, exports) { - - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports.dontSetMe = dontSetMe; -exports.findInArray = findInArray; -exports.int = int; -exports.isFunction = isFunction; -exports.isNum = isNum; - -// @credits https://gist.github.com/rogozhnikoff/a43cfed27c41e4e68cdc -function findInArray(array -/*: Array | TouchList*/ -, callback -/*: Function*/ -) -/*: any*/ -{ - for (var i = 0, length = array.length; i < length; i++) { - if (callback.apply(callback, [array[i], i, array])) return array[i]; - } -} - -function isFunction(func -/*: any*/ -) -/*: boolean %checks*/ -{ - // $FlowIgnore[method-unbinding] - return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]'; -} - -function isNum(num -/*: any*/ -) -/*: boolean %checks*/ -{ - return typeof num === 'number' && !isNaN(num); -} - -function int(a -/*: string*/ -) -/*: number*/ -{ - return parseInt(a, 10); -} - -function dontSetMe(props -/*: Object*/ -, propName -/*: string*/ -, componentName -/*: string*/ -) -/*: ?Error*/ -{ - if (props[propName]) { - return new Error("Invalid prop ".concat(propName, " passed to ").concat(componentName, " - do not set this, set it on the child.")); - } -} - -/***/ }), - /***/ 22827: /*!*********************************************************!*\ !*** ./node_modules/react-resizable/build/Resizable.js ***! diff --git a/66582.async.js b/66582.async.js index 0b0a934d12..a9bda5f030 100644 --- a/66582.async.js +++ b/66582.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[66582,98991,79256,47638,3446],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[66582,98991,79256,47638,3446,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1907,6 +1907,195 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/29353.async.js b/67068.async.js similarity index 95% rename from 29353.async.js rename to 67068.async.js index 9e1f2d0f18..dc107c6b49 100644 --- a/29353.async.js +++ b/67068.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[29353],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[67068],{ /***/ 85368: /*!*************************************************************************!*\ @@ -681,6 +681,305 @@ var bounds = [ /* harmony default export */ var public_api = (dist_module/* tinycolor */.H); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 94594: diff --git a/67570.async.js b/67570.async.js index e9bcd6838e..1b702598e3 100644 --- a/67570.async.js +++ b/67570.async.js @@ -1264,7 +1264,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } diff --git a/7303.async.js b/67921.async.js similarity index 81% rename from 7303.async.js rename to 67921.async.js index d8a9a72cdc..530a973c33 100644 --- a/7303.async.js +++ b/67921.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[7303,34180,25619,79779],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[67921,34180,25619,79779],{ /***/ 98787: /*!**********************************************!*\ @@ -145,6 +145,303 @@ function getPlacements(config) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 75008: /*!*********************************************************!*\ !*** ./node_modules/antd/es/input/index.js + 5 modules ***! diff --git a/6812.async.js b/6812.async.js new file mode 100644 index 0000000000..3ab1273a37 --- /dev/null +++ b/6812.async.js @@ -0,0 +1,1176 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[6812,42573,88092,95946,87388],{ + +/***/ 57838: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/_util/hooks/useForceUpdate.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ useForceUpdate; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ 97685); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + + +function useForceUpdate() { + var _React$useReducer = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(function (x) { + return x + 1; + }, 0), + _React$useReducer2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_React$useReducer, 2), + forceUpdate = _React$useReducer2[1]; + return forceUpdate; +} + +/***/ }), + +/***/ 58492: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ breadcrumb; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(50344); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules +var menu = __webpack_require__(66516); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js +var DownOutlined = __webpack_require__(13622); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules +var dropdown = __webpack_require__(18562); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var BreadcrumbItem = function BreadcrumbItem(props) { + var customizePrefixCls = props.prefixCls, + _props$separator = props.separator, + separator = _props$separator === void 0 ? '/' : _props$separator, + children = props.children, + menu = props.menu, + overlay = props.overlay, + dropdownProps = props.dropdownProps, + restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + // Warning for deprecated usage + if (false) {} + /** If overlay is have Wrap a Dropdown */ + var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) { + if (menu || overlay) { + return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({ + menu: menu, + overlay: overlay, + placement: "bottom" + }, dropdownProps), /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-overlay-link") + }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); + } + return breadcrumbItem; + }; + var link; + if ('href' in restProps) { + link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({ + className: "".concat(prefixCls, "-link") + }, restProps), children); + } else { + link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + className: "".concat(prefixCls, "-link") + }, restProps), children); + } + // wrap to dropDown + link = renderBreadcrumbNode(link); + if (children !== undefined && children !== null) { + return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-separator") + }, separator)); + } + return null; +}; +BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; +/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js + + +var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) { + var children = _ref.children; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('breadcrumb'); + return /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-separator") + }, children || '/'); +}; +BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; +/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js + + + +var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +function getBreadcrumbName(route, params) { + if (!route.breadcrumbName) { + return null; + } + var paramsKeys = Object.keys(params).join('|'); + var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) { + return params[key] || replacement; + }); + return name; +} +function defaultItemRender(route, params, routes, paths) { + var isLastItem = routes.indexOf(route) === routes.length - 1; + var name = getBreadcrumbName(route, params); + return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", { + href: "#/".concat(paths.join('/')) + }, name); +} +var getPath = function getPath(path, params) { + path = (path || '').replace(/^\//, ''); + Object.keys(params).forEach(function (key) { + path = path.replace(":".concat(key), params[key]); + }); + return path; +}; +var addChildPath = function addChildPath(paths, childPath, params) { + var originalPaths = (0,toConsumableArray/* default */.Z)(paths); + var path = getPath(childPath || '', params); + if (path) { + originalPaths.push(path); + } + return originalPaths; +}; +var Breadcrumb = function Breadcrumb(_a) { + var customizePrefixCls = _a.prefixCls, + _a$separator = _a.separator, + separator = _a$separator === void 0 ? '/' : _a$separator, + style = _a.style, + className = _a.className, + routes = _a.routes, + children = _a.children, + _a$itemRender = _a.itemRender, + itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender, + _a$params = _a.params, + params = _a$params === void 0 ? {} : _a$params, + restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var crumbs; + var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + if (routes && routes.length > 0) { + // generated by route + var paths = []; + crumbs = routes.map(function (route) { + var path = getPath(route.path, params); + if (path) { + paths.push(path); + } + // generated overlay by route.children + var overlay; + if (route.children && route.children.length) { + overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, { + items: route.children.map(function (child) { + return { + key: child.path || child.breadcrumbName, + label: itemRender(child, params, routes, addChildPath(paths, child.path, params)) + }; + }) + }); + } + var itemProps = { + separator: separator + }; + if (overlay) { + itemProps.overlay = overlay; + } + return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, { + key: path || route.breadcrumbName + }), itemRender(route, params, routes, paths)); + }); + } else if (children) { + crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) { + if (!element) { + return element; + } + false ? 0 : void 0; + return (0,reactNode/* cloneElement */.Tm)(element, { + separator: separator, + key: index + }); + }); + } + var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({ + className: breadcrumbClassName, + style: style + }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs)); +}; +Breadcrumb.Item = breadcrumb_BreadcrumbItem; +Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; +/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js + +/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); + +/***/ }), + +/***/ 63102: +/*!********************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less +// extracted by mini-css-extract-plugin + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(68018); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules +var menu_style = __webpack_require__(83736); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + + +// style dependencies + + + +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + +/***/ 75008: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +var Group = function Group(props) { + var _classNames; + var _useContext = (0,react.useContext)(context/* ConfigContext */.E_), + getPrefixCls = _useContext.getPrefixCls, + direction = _useContext.direction; + var customizePrefixCls = props.prefixCls, + _props$className = props.className, + className = _props$className === void 0 ? '' : _props$className; + var prefixCls = getPrefixCls('input-group', customizePrefixCls); + var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), props.size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), props.size === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-compact"), props.compact), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); + var formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + var groupFormItemContext = (0,react.useMemo)(function () { + return (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, formItemContext), { + isFormItemInput: false + }); + }, [formItemContext]); + return /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children)); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(93771); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +EyeInvisibleOutlined_EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined'; +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(7124); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var defaultIconRender = function defaultIconRender(visible) { + return visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +}; +var ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +var Password = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _props$visibilityTogg = props.visibilityToggle, + visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg; + var visibilityControlled = (0,esm_typeof/* default */.Z)(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined; + var _useState = (0,react.useState)(function () { + return visibilityControlled ? visibilityToggle.visible : false; + }), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + visible = _useState2[0], + setVisible = _useState2[1]; + var inputRef = (0,react.useRef)(null); + react.useEffect(function () { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + var removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + var onVisibleChange = function onVisibleChange() { + var disabled = props.disabled; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(function (prevState) { + var _a; + var newState = !prevState; + if ((0,esm_typeof/* default */.Z)(visibilityToggle) === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + var getIcon = function getIcon(prefixCls) { + var _iconProps; + var _props$action = props.action, + action = _props$action === void 0 ? 'click' : _props$action, + _props$iconRender = props.iconRender, + iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender; + var iconTrigger = ActionMap[action] || ''; + var icon = iconRender(visible); + var iconProps = (_iconProps = {}, (0,defineProperty/* default */.Z)(_iconProps, iconTrigger, onVisibleChange), (0,defineProperty/* default */.Z)(_iconProps, "className", "".concat(prefixCls, "-icon")), (0,defineProperty/* default */.Z)(_iconProps, "key", 'passwordIcon'), (0,defineProperty/* default */.Z)(_iconProps, "onMouseDown", function onMouseDown(e) { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }), (0,defineProperty/* default */.Z)(_iconProps, "onMouseUp", function onMouseUp(e) { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + }), _iconProps); + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + var renderPassword = function renderPassword(_ref) { + var getPrefixCls = _ref.getPrefixCls; + var className = props.className, + customizePrefixCls = props.prefixCls, + customizeInputPrefixCls = props.inputPrefixCls, + size = props.size, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + var prefixCls = getPrefixCls('input-password', customizePrefixCls); + var suffixIcon = visibilityToggle && getIcon(prefixCls); + var inputClassName = classnames_default()(prefixCls, className, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-").concat(size), !!size)); + var omittedProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); + }; + return /*#__PURE__*/react.createElement(context/* ConfigConsumer */.C, null, renderPassword); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js +var SearchOutlined = __webpack_require__(25783); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js +var SizeContext = __webpack_require__(97647); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js + + +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var Search = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var customizePrefixCls = props.prefixCls, + customizeInputPrefixCls = props.inputPrefixCls, + className = props.className, + customizeSize = props.size, + suffix = props.suffix, + _props$enterButton = props.enterButton, + enterButton = _props$enterButton === void 0 ? false : _props$enterButton, + addonAfter = props.addonAfter, + loading = props.loading, + disabled = props.disabled, + customOnSearch = props.onSearch, + customOnChange = props.onChange, + onCompositionStart = props.onCompositionStart, + onCompositionEnd = props.onCompositionEnd, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var contextSize = react.useContext(SizeContext/* default */.Z); + var composedRef = react.useRef(false); + var prefixCls = getPrefixCls('input-search', customizePrefixCls); + var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + var _useCompactItemContex = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction), + compactSize = _useCompactItemContex.compactSize; + var size = compactSize || customizeSize || contextSize; + var inputRef = react.useRef(null); + var onChange = function onChange(e) { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + var onMouseDown = function onMouseDown(e) { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + var onSearch = function onSearch(e) { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + var onPressEnter = function onPressEnter(e) { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + var btnClassName = "".concat(prefixCls, "-button"); + var button; + var enterButtonAsElement = enterButton || {}; + var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, (0,esm_extends/* default */.Z)({ + onMouseDown: onMouseDown, + onClick: function onClick(e) { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size: size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.Z, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), !!size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-button"), !!enterButton), _classNames), className); + var handleOnCompositionStart = function handleOnCompositionStart(e) { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + var handleOnCompositionEnd = function handleOnCompositionEnd(e) { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js + 1 modules +var TextArea = __webpack_require__(80173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js + + + + + +var input_Input = Input/* default */.ZP; +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 34041: +/*!**********************************************!*\ + !*** ./node_modules/antd/es/select/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* 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_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 7752); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 98423); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 88258); +/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 98866); +/* harmony import */ var _config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider/SizeContext */ 97647); +/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../form/context */ 65223); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_util/motion */ 33603); +/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/statusUtils */ 9708); +/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/iconUtil */ 46163); +/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../space/Compact */ 4173); + + +// TODO: 4.0 - codemod should help to change `filterOption` to support node props. +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + + + + +var SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE'; +var InternalSelect = function InternalSelect(_a, ref) { + var _classNames2; + var customizePrefixCls = _a.prefixCls, + _a$bordered = _a.bordered, + bordered = _a$bordered === void 0 ? true : _a$bordered, + className = _a.className, + getPopupContainer = _a.getPopupContainer, + dropdownClassName = _a.dropdownClassName, + popupClassName = _a.popupClassName, + _a$listHeight = _a.listHeight, + listHeight = _a$listHeight === void 0 ? 256 : _a$listHeight, + placement = _a.placement, + _a$listItemHeight = _a.listItemHeight, + listItemHeight = _a$listItemHeight === void 0 ? 24 : _a$listItemHeight, + customizeSize = _a.size, + customDisabled = _a.disabled, + notFoundContent = _a.notFoundContent, + customStatus = _a.status, + showArrow = _a.showArrow, + props = __rest(_a, ["prefixCls", "bordered", "className", "getPopupContainer", "dropdownClassName", "popupClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "showArrow"]); + var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_), + getContextPopupContainer = _React$useContext.getPopupContainer, + getPrefixCls = _React$useContext.getPrefixCls, + renderEmpty = _React$useContext.renderEmpty, + direction = _React$useContext.direction, + virtual = _React$useContext.virtual, + dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth; + var size = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z); + var prefixCls = getPrefixCls('select', customizePrefixCls); + var rootPrefixCls = getPrefixCls(); + var _useCompactItemContex = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_5__/* .useCompactItemContext */ .ri)(prefixCls, direction), + compactSize = _useCompactItemContex.compactSize, + compactItemClassnames = _useCompactItemContex.compactItemClassnames; + var mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(function () { + var m = props.mode; + if (m === 'combobox') { + return undefined; + } + if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) { + return 'combobox'; + } + return m; + }, [props.mode]); + var isMultiple = mode === 'multiple' || mode === 'tags'; + var mergedShowArrow = showArrow !== undefined ? showArrow : props.loading || !(isMultiple || mode === 'combobox'); + // =================== Warning ===================== + false ? 0 : void 0; + // ===================== Form Status ===================== + var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_form_context__WEBPACK_IMPORTED_MODULE_6__/* .FormItemInputContext */ .aM), + contextStatus = _useContext.status, + hasFeedback = _useContext.hasFeedback, + isFormItemInput = _useContext.isFormItemInput, + feedbackIcon = _useContext.feedbackIcon; + var mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getMergedStatus */ .F)(contextStatus, customStatus); + // ===================== Empty ===================== + var mergedNotFound; + if (notFoundContent !== undefined) { + mergedNotFound = notFoundContent; + } else if (mode === 'combobox') { + mergedNotFound = null; + } else { + mergedNotFound = (renderEmpty || _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)('Select'); + } + // ===================== Icons ===================== + var _getIcons = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({}, props), { + multiple: isMultiple, + hasFeedback: hasFeedback, + feedbackIcon: feedbackIcon, + showArrow: mergedShowArrow, + prefixCls: prefixCls + })), + suffixIcon = _getIcons.suffixIcon, + itemIcon = _getIcons.itemIcon, + removeIcon = _getIcons.removeIcon, + clearIcon = _getIcons.clearIcon; + var selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']); + var rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl')); + var mergedSize = compactSize || customizeSize || size; + // ===================== Disabled ===================== + var disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z); + var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled; + var mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()((_classNames2 = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-in-form-item"), isFormItemInput), _classNames2), (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, className); + // ===================== Placement ===================== + var getPlacement = function getPlacement() { + if (placement !== undefined) { + return placement; + } + return direction === 'rtl' ? 'bottomRight' : 'bottomLeft'; + }; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({ + ref: ref, + virtual: virtual, + dropdownMatchSelectWidth: dropdownMatchSelectWidth + }, selectProps, { + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionName */ .mL)(rootPrefixCls, (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionDirection */ .q0)(placement), props.transitionName), + listHeight: listHeight, + listItemHeight: listItemHeight, + mode: mode, + prefixCls: prefixCls, + placement: getPlacement(), + direction: direction, + inputIcon: suffixIcon, + menuItemSelectedIcon: itemIcon, + removeIcon: removeIcon, + clearIcon: clearIcon, + notFoundContent: mergedNotFound, + className: mergedClassName, + getPopupContainer: getPopupContainer || getContextPopupContainer, + dropdownClassName: rcSelectRtlDropdownClassName, + showArrow: hasFeedback || showArrow, + disabled: mergedDisabled + })); +}; +var Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect); +Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE; +Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx; +Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo; +/* harmony default export */ __webpack_exports__["Z"] = (Select); + +/***/ }), + +/***/ 7124: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(93771); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/68369.async.js b/68369.async.js index 8d38eb24a3..b42f73a6e5 100644 --- a/68369.async.js +++ b/68369.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[68369,34180,25619,43025,7303,79779],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[68369,34180,43025,25619,79779],{ /***/ 48898: /*!*************************************************************************!*\ diff --git a/69085.async.js b/69085.async.js index e35a0ecb07..fee0008902 100644 --- a/69085.async.js +++ b/69085.async.js @@ -1005,6 +1005,195 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/47824.async.js b/69491.async.js similarity index 59% rename from 47824.async.js rename to 69491.async.js index fb54cbd6e8..9a8e3b20a9 100644 --- a/47824.async.js +++ b/69491.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[47824],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[69491],{ /***/ 99011: /*!**************************************************************************!*\ @@ -14,46 +14,18 @@ var ClockCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 /***/ }), -/***/ 82826: -/*!**********************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + 1 modules ***! - \**********************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ 42110: +/*!*******************************************************************!*\ + !*** ./node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { "use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_ArrowLeftOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.js // This icon file is generated automatically. -var ArrowLeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, "name": "arrow-left", "theme": "outlined" }; -/* harmony default export */ var asn_ArrowLeftOutlined = (ArrowLeftOutlined); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules -var AntdIcon = __webpack_require__(7918); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - +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 */ __webpack_exports__["Z"] = (PlusOutlined); -var ArrowLeftOutlined_ArrowLeftOutlined = function ArrowLeftOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_ArrowLeftOutlined - })); -}; -ArrowLeftOutlined_ArrowLeftOutlined.displayName = 'ArrowLeftOutlined'; -/* harmony default export */ var icons_ArrowLeftOutlined = (/*#__PURE__*/react.forwardRef(ArrowLeftOutlined_ArrowLeftOutlined)); - /***/ }), /***/ 30071: @@ -84,45 +56,45 @@ ClockCircleOutlined.displayName = 'ClockCircleOutlined'; /***/ }), -/***/ 95604: -/*!*******************************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/DeliveredProcedureOutlined.js + 1 modules ***! - \*******************************************************************************************/ +/***/ 52745: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/MinusOutlined.js + 1 modules ***! + \******************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_DeliveredProcedureOutlined; } + "Z": function() { return /* binding */ icons_MinusOutlined; } }); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js var objectSpread2 = __webpack_require__(1413); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DeliveredProcedureOutlined.js +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/MinusOutlined.js // This icon file is generated automatically. -var DeliveredProcedureOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z" } }] }, "name": "delivered-procedure", "theme": "outlined" }; -/* harmony default export */ var asn_DeliveredProcedureOutlined = (DeliveredProcedureOutlined); +var MinusOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, "name": "minus", "theme": "outlined" }; +/* harmony default export */ var asn_MinusOutlined = (MinusOutlined); // EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules var AntdIcon = __webpack_require__(7918); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DeliveredProcedureOutlined.js +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/MinusOutlined.js // GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY -var DeliveredProcedureOutlined_DeliveredProcedureOutlined = function DeliveredProcedureOutlined(props, ref) { +var MinusOutlined_MinusOutlined = function MinusOutlined(props, ref) { return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { ref: ref, - icon: asn_DeliveredProcedureOutlined + icon: asn_MinusOutlined })); }; -DeliveredProcedureOutlined_DeliveredProcedureOutlined.displayName = 'DeliveredProcedureOutlined'; -/* harmony default export */ var icons_DeliveredProcedureOutlined = (/*#__PURE__*/react.forwardRef(DeliveredProcedureOutlined_DeliveredProcedureOutlined)); +MinusOutlined_MinusOutlined.displayName = 'MinusOutlined'; +/* harmony default export */ var icons_MinusOutlined = (/*#__PURE__*/react.forwardRef(MinusOutlined_MinusOutlined)); /***/ }), @@ -154,6 +126,34 @@ MinusSquareOutlined.displayName = 'MinusSquareOutlined'; /***/ }), +/***/ 51042: +/*!*****************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/PlusOutlined.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_PlusOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/PlusOutlined */ 42110); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var PlusOutlined = function PlusOutlined(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_PlusOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +PlusOutlined.displayName = 'PlusOutlined'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(PlusOutlined)); + +/***/ }), + /***/ 30723: /*!***********************************************************************!*\ !*** ./node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js ***! @@ -486,361 +486,6 @@ var style_default = __webpack_require__(43146); -/***/ }), - -/***/ 58492: -/*!**************************************************************!*\ - !*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***! - \**************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ breadcrumb; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(74902); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js -var toArray = __webpack_require__(50344); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules -var menu = __webpack_require__(66516); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js -var reactNode = __webpack_require__(96159); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js -var DownOutlined = __webpack_require__(13622); -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules -var dropdown = __webpack_require__(18562); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - -var BreadcrumbItem = function BreadcrumbItem(props) { - var customizePrefixCls = props.prefixCls, - _props$separator = props.separator, - separator = _props$separator === void 0 ? '/' : _props$separator, - children = props.children, - menu = props.menu, - overlay = props.overlay, - dropdownProps = props.dropdownProps, - restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); - // Warning for deprecated usage - if (false) {} - /** If overlay is have Wrap a Dropdown */ - var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) { - if (menu || overlay) { - return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({ - menu: menu, - overlay: overlay, - placement: "bottom" - }, dropdownProps), /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-overlay-link") - }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); - } - return breadcrumbItem; - }; - var link; - if ('href' in restProps) { - link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({ - className: "".concat(prefixCls, "-link") - }, restProps), children); - } else { - link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ - className: "".concat(prefixCls, "-link") - }, restProps), children); - } - // wrap to dropDown - link = renderBreadcrumbNode(link); - if (children !== undefined && children !== null) { - return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-separator") - }, separator)); - } - return null; -}; -BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; -/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js - - -var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) { - var children = _ref.children; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('breadcrumb'); - return /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-separator") - }, children || '/'); -}; -BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; -/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js - - - -var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - -function getBreadcrumbName(route, params) { - if (!route.breadcrumbName) { - return null; - } - var paramsKeys = Object.keys(params).join('|'); - var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) { - return params[key] || replacement; - }); - return name; -} -function defaultItemRender(route, params, routes, paths) { - var isLastItem = routes.indexOf(route) === routes.length - 1; - var name = getBreadcrumbName(route, params); - return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", { - href: "#/".concat(paths.join('/')) - }, name); -} -var getPath = function getPath(path, params) { - path = (path || '').replace(/^\//, ''); - Object.keys(params).forEach(function (key) { - path = path.replace(":".concat(key), params[key]); - }); - return path; -}; -var addChildPath = function addChildPath(paths, childPath, params) { - var originalPaths = (0,toConsumableArray/* default */.Z)(paths); - var path = getPath(childPath || '', params); - if (path) { - originalPaths.push(path); - } - return originalPaths; -}; -var Breadcrumb = function Breadcrumb(_a) { - var customizePrefixCls = _a.prefixCls, - _a$separator = _a.separator, - separator = _a$separator === void 0 ? '/' : _a$separator, - style = _a.style, - className = _a.className, - routes = _a.routes, - children = _a.children, - _a$itemRender = _a.itemRender, - itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender, - _a$params = _a.params, - params = _a$params === void 0 ? {} : _a$params, - restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var crumbs; - var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); - if (routes && routes.length > 0) { - // generated by route - var paths = []; - crumbs = routes.map(function (route) { - var path = getPath(route.path, params); - if (path) { - paths.push(path); - } - // generated overlay by route.children - var overlay; - if (route.children && route.children.length) { - overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, { - items: route.children.map(function (child) { - return { - key: child.path || child.breadcrumbName, - label: itemRender(child, params, routes, addChildPath(paths, child.path, params)) - }; - }) - }); - } - var itemProps = { - separator: separator - }; - if (overlay) { - itemProps.overlay = overlay; - } - return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, { - key: path || route.breadcrumbName - }), itemRender(route, params, routes, paths)); - }); - } else if (children) { - crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) { - if (!element) { - return element; - } - false ? 0 : void 0; - return (0,reactNode/* cloneElement */.Tm)(element, { - separator: separator, - key: index - }); - }); - } - var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className); - return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({ - className: breadcrumbClassName, - style: style - }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs)); -}; -Breadcrumb.Item = breadcrumb_BreadcrumbItem; -Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; -/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js - -/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); - -/***/ }), - -/***/ 63102: -/*!********************************************************************!*\ - !*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***! - \********************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules -var style = __webpack_require__(68018); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules -var menu_style = __webpack_require__(83736); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js - - -// style dependencies - - - -/***/ }), - -/***/ 27049: -/*!***********************************************!*\ - !*** ./node_modules/antd/es/divider/index.js ***! - \***********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); -/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ 53124); - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - -var Divider = function Divider(props) { - var _classNames; - var _React$useContext = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__/* .ConfigContext */ .E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var customizePrefixCls = props.prefixCls, - _props$type = props.type, - type = _props$type === void 0 ? 'horizontal' : _props$type, - _props$orientation = props.orientation, - orientation = _props$orientation === void 0 ? 'center' : _props$orientation, - orientationMargin = props.orientationMargin, - className = props.className, - children = props.children, - dashed = props.dashed, - plain = props.plain, - restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"]); - var prefixCls = getPrefixCls('divider', customizePrefixCls); - var orientationPrefix = orientation.length > 0 ? "-".concat(orientation) : orientation; - var hasChildren = !!children; - var hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; - var hasCustomMarginRight = orientation === 'right' && orientationMargin != null; - var classString = classnames__WEBPACK_IMPORTED_MODULE_0___default()(prefixCls, "".concat(prefixCls, "-").concat(type), (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text"), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text").concat(orientationPrefix), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-dashed"), !!dashed), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-plain"), !!plain), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-left"), hasCustomMarginLeft), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-right"), hasCustomMarginRight), _classNames), className); - var innerStyle = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, hasCustomMarginLeft && { - marginLeft: orientationMargin - }), hasCustomMarginRight && { - marginRight: orientationMargin - }); - // Warning children not work in vertical mode - if (false) {} - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - className: classString - }, restProps, { - role: "separator" - }), children && type !== 'vertical' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { - className: "".concat(prefixCls, "-inner-text"), - style: innerStyle - }, children)); -}; -/* harmony default export */ __webpack_exports__["Z"] = (Divider); - -/***/ }), - -/***/ 98541: -/*!*****************************************************************!*\ - !*** ./node_modules/antd/es/divider/style/index.js + 1 modules ***! - \*****************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js - - - /***/ }), /***/ 19575: diff --git a/27078.async.js b/69561.async.js similarity index 77% rename from 27078.async.js rename to 69561.async.js index 6db011933b..34fbb3b603 100644 --- a/27078.async.js +++ b/69561.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[27078],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[69561],{ /***/ 48898: /*!*************************************************************************!*\ @@ -41,6 +41,303 @@ ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 75008: /*!*********************************************************!*\ !*** ./node_modules/antd/es/input/index.js + 5 modules ***! diff --git a/27078.chunk.css b/69561.chunk.css similarity index 83% rename from 27078.chunk.css rename to 69561.chunk.css index 1d0e99d517..e86cdbfc2b 100644 --- a/27078.chunk.css +++ b/69561.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/popover/style/index.less ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/71896.async.js b/71896.async.js new file mode 100644 index 0000000000..a7e2b29470 --- /dev/null +++ b/71896.async.js @@ -0,0 +1,731 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[71896],{ + +/***/ 509: +/*!*********************************************************************!*\ + !*** ./node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +// This icon file is generated automatically. +var SearchOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" }; +/* harmony default export */ __webpack_exports__["Z"] = (SearchOutlined); + + +/***/ }), + +/***/ 5467: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } +/* harmony export */ }); +function getDataOrAriaProps(props) { + return Object.keys(props).reduce(function (prev, key) { + if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { + prev[key] = props[key]; + } + return prev; + }, {}); +} + +/***/ }), + +/***/ 29924: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "ZP": function() { return /* binding */ es_radio; } +}); + +// UNUSED EXPORTS: Button, Group + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js +var SizeContext = __webpack_require__(97647); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js +var getDataOrAriaProps = __webpack_require__(5467); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js + +var RadioGroupContext = /*#__PURE__*/react.createContext(null); +var RadioGroupContextProvider = RadioGroupContext.Provider; +/* harmony default export */ var radio_context = (RadioGroupContext); +var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); +var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js +var es = __webpack_require__(50132); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var InternalRadio = function InternalRadio(props, ref) { + var _classNames; + var groupContext = react.useContext(radio_context); + var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var innerRef = react.useRef(); + var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); + var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + false ? 0 : void 0; + var onChange = function onChange(e) { + var _a, _b; + (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); + (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); + }; + var customizePrefixCls = props.prefixCls, + className = props.className, + children = props.children, + style = props.style, + customDisabled = props.disabled, + restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); + var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); + var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; + var radioProps = (0,esm_extends/* default */.Z)({}, restProps); + // ===================== Disabled ===================== + var disabled = react.useContext(DisabledContext/* default */.Z); + radioProps.disabled = customDisabled || disabled; + if (groupContext) { + radioProps.name = groupContext.name; + radioProps.onChange = onChange; + radioProps.checked = props.value === groupContext.value; + radioProps.disabled = radioProps.disabled || groupContext.disabled; + } + var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: wrapperClassString, + style: style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { + type: "radio", + prefixCls: prefixCls, + ref: mergedRef + })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) + ); +}; +var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); +if (false) {} +/* harmony default export */ var radio_radio = (Radio); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js + + + + + + + + + + + +var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var size = react.useContext(SizeContext/* default */.Z); + var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { + value: props.value + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var onRadioChange = function onRadioChange(ev) { + var lastValue = value; + var val = ev.target.value; + if (!('value' in props)) { + setValue(val); + } + var onChange = props.onChange; + if (onChange && val !== lastValue) { + onChange(ev); + } + }; + var customizePrefixCls = props.prefixCls, + _props$className = props.className, + className = _props$className === void 0 ? '' : _props$className, + options = props.options, + _props$buttonStyle = props.buttonStyle, + buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, + disabled = props.disabled, + children = props.children, + customizeSize = props.size, + style = props.style, + id = props.id, + onMouseEnter = props.onMouseEnter, + onMouseLeave = props.onMouseLeave, + onFocus = props.onFocus, + onBlur = props.onBlur; + var prefixCls = getPrefixCls('radio', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var childrenToRender = children; + // 如果存在 options, 优先使用 + if (options && options.length > 0) { + childrenToRender = options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + // 此处类型自动推导为 string + return /*#__PURE__*/react.createElement(radio_radio, { + key: option.toString(), + prefixCls: prefixCls, + disabled: disabled, + value: option, + checked: value === option + }, option); + } + // 此处类型自动推导为 { label: string value: string } + return /*#__PURE__*/react.createElement(radio_radio, { + key: "radio-group-value-options-".concat(option.value), + prefixCls: prefixCls, + disabled: option.disabled || disabled, + value: option.value, + checked: value === option.value, + style: option.style + }, option.label); + }); + } + var mergedSize = customizeSize || size; + var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave, + onFocus: onFocus, + onBlur: onBlur, + id: id, + ref: ref + }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { + value: { + onChange: onRadioChange, + value: value, + disabled: props.disabled, + name: props.name, + optionType: props.optionType + } + }, childrenToRender)); +}); +/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js + +var radioButton_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + +var RadioButton = function RadioButton(props, ref) { + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var customizePrefixCls = props.prefixCls, + radioProps = radioButton_rest(props, ["prefixCls"]); + var prefixCls = getPrefixCls('radio', customizePrefixCls); + return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { + value: "button" + }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ + prefixCls: prefixCls + }, radioProps, { + type: "radio", + ref: ref + }))); +}; +/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js + + + + +var radio_Radio = radio_radio; +radio_Radio.Button = radioButton; +radio_Radio.Group = group; +radio_Radio.__ANT_RADIO = true; +/* harmony default export */ var es_radio = (radio_Radio); + +/***/ }), + +/***/ 83822: +/*!***************************************************************!*\ + !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js + + +// deps-lint-skip: form + +/***/ }), + +/***/ 94594: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/switch/index.js + 1 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_switch; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js +var LoadingOutlined = __webpack_require__(19267); +// 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/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/react/index.js +var react = __webpack_require__(67294); +// 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); +;// CONCATENATED MODULE: ./node_modules/rc-switch/es/index.js + + + + + + + +var Switch = react.forwardRef(function (_ref, ref) { + var _classNames; + + var _ref$prefixCls = _ref.prefixCls, + prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls, + className = _ref.className, + checked = _ref.checked, + defaultChecked = _ref.defaultChecked, + disabled = _ref.disabled, + loadingIcon = _ref.loadingIcon, + checkedChildren = _ref.checkedChildren, + unCheckedChildren = _ref.unCheckedChildren, + onClick = _ref.onClick, + onChange = _ref.onChange, + onKeyDown = _ref.onKeyDown, + restProps = (0,objectWithoutProperties/* default */.Z)(_ref, ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"]); + + var _useMergedState = (0,useMergedState/* default */.Z)(false, { + value: checked, + defaultValue: defaultChecked + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + innerChecked = _useMergedState2[0], + setInnerChecked = _useMergedState2[1]; + + function triggerChange(newChecked, event) { + var mergedChecked = innerChecked; + + if (!disabled) { + mergedChecked = newChecked; + setInnerChecked(mergedChecked); + onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event); + } + + return mergedChecked; + } + + function onInternalKeyDown(e) { + if (e.which === KeyCode/* default.LEFT */.Z.LEFT) { + triggerChange(false, e); + } else if (e.which === KeyCode/* default.RIGHT */.Z.RIGHT) { + triggerChange(true, e); + } + + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e); + } + + function onInternalClick(e) { + var ret = triggerChange(!innerChecked, e); // [Legacy] trigger onClick with value + + onClick === null || onClick === void 0 ? void 0 : onClick(ret, e); + } + + var switchClassName = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), innerChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return react.createElement("button", Object.assign({}, restProps, { + type: "button", + role: "switch", + "aria-checked": innerChecked, + disabled: disabled, + className: switchClassName, + ref: ref, + onKeyDown: onInternalKeyDown, + onClick: onInternalClick + }), loadingIcon, react.createElement("span", { + className: "".concat(prefixCls, "-inner") + }, innerChecked ? checkedChildren : unCheckedChildren)); +}); +Switch.displayName = 'Switch'; +/* harmony default export */ var es = (Switch); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var 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/config-provider/SizeContext.js +var SizeContext = __webpack_require__(97647); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/wave.js + 1 modules +var wave = __webpack_require__(68349); +;// CONCATENATED MODULE: ./node_modules/antd/es/switch/index.js + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var switch_Switch = /*#__PURE__*/react.forwardRef(function (_a, ref) { + var _classNames; + var customizePrefixCls = _a.prefixCls, + customizeSize = _a.size, + customDisabled = _a.disabled, + loading = _a.loading, + _a$className = _a.className, + className = _a$className === void 0 ? '' : _a$className, + props = __rest(_a, ["prefixCls", "size", "disabled", "loading", "className"]); + false ? 0 : void 0; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var size = react.useContext(SizeContext/* default */.Z); + // ===================== Disabled ===================== + var disabled = react.useContext(DisabledContext/* default */.Z); + var mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading; + var prefixCls = getPrefixCls('switch', customizePrefixCls); + var loadingIcon = /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-handle") + }, loading && /*#__PURE__*/react.createElement(LoadingOutlined/* default */.Z, { + className: "".concat(prefixCls, "-loading-icon") + })); + var classes = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-small"), (customizeSize || size) === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-loading"), loading), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); + return /*#__PURE__*/react.createElement(wave/* default */.Z, { + insertExtraNode: true + }, /*#__PURE__*/react.createElement(es, (0,esm_extends/* default */.Z)({}, props, { + prefixCls: prefixCls, + className: classes, + disabled: mergedDisabled, + ref: ref, + loadingIcon: loadingIcon + }))); +}); +switch_Switch.__ANT_SWITCH = true; +if (false) {} +/* harmony default export */ var es_switch = (switch_Switch); + +/***/ }), + +/***/ 5812: +/*!****************************************************************!*\ + !*** ./node_modules/antd/es/switch/style/index.js + 1 modules ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/switch/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/switch/style/index.js + + + +/***/ }), + +/***/ 25783: +/*!*************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/SearchOutlined */ 509); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 93771); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var SearchOutlined = function SearchOutlined(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +SearchOutlined.displayName = 'SearchOutlined'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SearchOutlined)); + +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }) + +}]); \ No newline at end of file diff --git a/72693.async.js b/72693.async.js index 5adc06ad85..470dabbf1f 100644 --- a/72693.async.js +++ b/72693.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[72693],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[72693,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -804,6 +804,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/73718.async.js b/73718.async.js index 2fad825d3e..82b4b4b931 100644 --- a/73718.async.js +++ b/73718.async.js @@ -840,7 +840,7 @@ function reducer(state, action) { doResize(); } new Promise( /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - var params, res, _res$data5, _res$data6, _res$data7, urlParser, protocol, searchParams, host; + var params, res, _res$data5, _res$data5$link_url, _res$data6, character, _res$data7, _res$data8, urlParser, protocol, searchParams, host; return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: @@ -850,28 +850,29 @@ function reducer(state, action) { case 3: res = _context4.sent; if (!(linux_vnc || virtual_machine)) { - _context4.next = 10; + _context4.next = 11; break; } - iframeRef.current.src = (res === null || res === void 0 ? void 0 : (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.link_url) + '&time=' + Date.now(); + character = res !== null && res !== void 0 && (_res$data5 = res.data) !== null && _res$data5 !== void 0 && (_res$data5$link_url = _res$data5.link_url) !== null && _res$data5$link_url !== void 0 && _res$data5$link_url.includes('?') ? "&" : "?"; + iframeRef.current.src = (res === null || res === void 0 ? void 0 : (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.link_url) + character + 'time=' + Date.now(); dispatch({ type: Types.SET_LOADING, payload: false }); return _context4.abrupt("return"); - case 10: + case 11: if (window_vnc_url) { passwordRef.current = 'Edu123'; - socketUrlRef.current = decodeURIComponent(res === null || res === void 0 ? void 0 : (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.link_url); + socketUrlRef.current = decodeURIComponent(res === null || res === void 0 ? void 0 : (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.link_url); } else { - urlParser = new URL(decodeURIComponent(res === null || res === void 0 ? void 0 : (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.link_url)); //no IE11 support + urlParser = new URL(decodeURIComponent(res === null || res === void 0 ? void 0 : (_res$data8 = res.data) === null || _res$data8 === void 0 ? void 0 : _res$data8.link_url)); //no IE11 support protocol = urlParser.protocol, searchParams = urlParser.searchParams, host = urlParser.host; passwordRef.current = searchParams.get('password'); socketUrlRef.current = "".concat(protocol === 'https:' ? 'wss' : 'ws', "://").concat(host, "/").concat(params.path || 'websockify'); } - case 11: + case 12: if (!(instance_startup_type === 2)) { - _context4.next = 14; + _context4.next = 15; break; } setTimeout(function () { @@ -885,9 +886,9 @@ function reducer(state, action) { }); }, 5000); return _context4.abrupt("return"); - case 14: - toConnect(); case 15: + toConnect(); + case 16: case "end": return _context4.stop(); } diff --git a/99848.async.js b/74515.async.js similarity index 58% rename from 99848.async.js rename to 74515.async.js index 2e345f3bdd..5cd70e917f 100644 --- a/99848.async.js +++ b/74515.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[99848,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[74515],{ /***/ 47046: /*!*********************************************************************!*\ @@ -377,437 +377,6 @@ var menu_style = __webpack_require__(83736); -/***/ }), - -/***/ 13013: -/*!************************************************!*\ - !*** ./node_modules/antd/es/dropdown/index.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ 18562); - -/* harmony default export */ __webpack_exports__["Z"] = (_dropdown__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); - -/***/ }), - -/***/ 75008: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/input/index.js + 5 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ input; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js - - - - - - - -var Group = function Group(props) { - var _classNames; - var _useContext = (0,react.useContext)(context/* ConfigContext */.E_), - getPrefixCls = _useContext.getPrefixCls, - direction = _useContext.direction; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className; - var prefixCls = getPrefixCls('input-group', customizePrefixCls); - var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), props.size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), props.size === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-compact"), props.compact), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - var formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); - var groupFormItemContext = (0,react.useMemo)(function () { - return (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, formItemContext), { - isFormItemInput: false - }); - }, [formItemContext]); - return /*#__PURE__*/react.createElement("span", { - className: cls, - style: props.style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave, - onFocus: props.onFocus, - onBlur: props.onBlur - }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { - value: groupFormItemContext - }, props.children)); -}; -/* harmony default export */ var input_Group = (Group); -// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules -var Input = __webpack_require__(82586); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(71002); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js -// This icon file is generated automatically. -var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; -/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); - -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(93771); -;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_EyeInvisibleOutlined - })); -}; -EyeInvisibleOutlined_EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined'; -/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules -var EyeOutlined = __webpack_require__(7124); -// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js -var omit = __webpack_require__(98423); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js -var useRemovePasswordTimeout = __webpack_require__(72922); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js - - - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var defaultIconRender = function defaultIconRender(visible) { - return visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); -}; -var ActionMap = { - click: 'onClick', - hover: 'onMouseOver' -}; -var Password = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _props$visibilityTogg = props.visibilityToggle, - visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg; - var visibilityControlled = (0,esm_typeof/* default */.Z)(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined; - var _useState = (0,react.useState)(function () { - return visibilityControlled ? visibilityToggle.visible : false; - }), - _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), - visible = _useState2[0], - setVisible = _useState2[1]; - var inputRef = (0,react.useRef)(null); - react.useEffect(function () { - if (visibilityControlled) { - setVisible(visibilityToggle.visible); - } - }, [visibilityControlled, visibilityToggle]); - // Remove Password value - var removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); - var onVisibleChange = function onVisibleChange() { - var disabled = props.disabled; - if (disabled) { - return; - } - if (visible) { - removePasswordTimeout(); - } - setVisible(function (prevState) { - var _a; - var newState = !prevState; - if ((0,esm_typeof/* default */.Z)(visibilityToggle) === 'object') { - (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); - } - return newState; - }); - }; - var getIcon = function getIcon(prefixCls) { - var _iconProps; - var _props$action = props.action, - action = _props$action === void 0 ? 'click' : _props$action, - _props$iconRender = props.iconRender, - iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender; - var iconTrigger = ActionMap[action] || ''; - var icon = iconRender(visible); - var iconProps = (_iconProps = {}, (0,defineProperty/* default */.Z)(_iconProps, iconTrigger, onVisibleChange), (0,defineProperty/* default */.Z)(_iconProps, "className", "".concat(prefixCls, "-icon")), (0,defineProperty/* default */.Z)(_iconProps, "key", 'passwordIcon'), (0,defineProperty/* default */.Z)(_iconProps, "onMouseDown", function onMouseDown(e) { - // Prevent focused state lost - // https://github.com/ant-design/ant-design/issues/15173 - e.preventDefault(); - }), (0,defineProperty/* default */.Z)(_iconProps, "onMouseUp", function onMouseUp(e) { - // Prevent caret position change - // https://github.com/ant-design/ant-design/issues/23524 - e.preventDefault(); - }), _iconProps); - return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); - }; - var renderPassword = function renderPassword(_ref) { - var getPrefixCls = _ref.getPrefixCls; - var className = props.className, - customizePrefixCls = props.prefixCls, - customizeInputPrefixCls = props.inputPrefixCls, - size = props.size, - restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); - var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); - var prefixCls = getPrefixCls('input-password', customizePrefixCls); - var suffixIcon = visibilityToggle && getIcon(prefixCls); - var inputClassName = classnames_default()(prefixCls, className, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-").concat(size), !!size)); - var omittedProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { - type: visible ? 'text' : 'password', - className: inputClassName, - prefixCls: inputPrefixCls, - suffix: suffixIcon - }); - if (size) { - omittedProps.size = size; - } - return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ - ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) - }, omittedProps)); - }; - return /*#__PURE__*/react.createElement(context/* ConfigConsumer */.C, null, renderPassword); -}); -if (false) {} -/* harmony default export */ var input_Password = (Password); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js -var SearchOutlined = __webpack_require__(25783); -// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js -var es_button = __webpack_require__(71577); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js -var Compact = __webpack_require__(4173); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js -var reactNode = __webpack_require__(96159); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js - - -var Search_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var Search = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var customizePrefixCls = props.prefixCls, - customizeInputPrefixCls = props.inputPrefixCls, - className = props.className, - customizeSize = props.size, - suffix = props.suffix, - _props$enterButton = props.enterButton, - enterButton = _props$enterButton === void 0 ? false : _props$enterButton, - addonAfter = props.addonAfter, - loading = props.loading, - disabled = props.disabled, - customOnSearch = props.onSearch, - customOnChange = props.onChange, - onCompositionStart = props.onCompositionStart, - onCompositionEnd = props.onCompositionEnd, - restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var contextSize = react.useContext(SizeContext/* default */.Z); - var composedRef = react.useRef(false); - var prefixCls = getPrefixCls('input-search', customizePrefixCls); - var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); - var _useCompactItemContex = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction), - compactSize = _useCompactItemContex.compactSize; - var size = compactSize || customizeSize || contextSize; - var inputRef = react.useRef(null); - var onChange = function onChange(e) { - if (e && e.target && e.type === 'click' && customOnSearch) { - customOnSearch(e.target.value, e); - } - if (customOnChange) { - customOnChange(e); - } - }; - var onMouseDown = function onMouseDown(e) { - var _a; - if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { - e.preventDefault(); - } - }; - var onSearch = function onSearch(e) { - var _a, _b; - if (customOnSearch) { - customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); - } - }; - var onPressEnter = function onPressEnter(e) { - if (composedRef.current || loading) { - return; - } - onSearch(e); - }; - var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; - var btnClassName = "".concat(prefixCls, "-button"); - var button; - var enterButtonAsElement = enterButton || {}; - var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; - if (isAntdButton || enterButtonAsElement.type === 'button') { - button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, (0,esm_extends/* default */.Z)({ - onMouseDown: onMouseDown, - onClick: function onClick(e) { - var _a, _b; - (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); - onSearch(e); - }, - key: 'enterButton' - }, isAntdButton ? { - className: btnClassName, - size: size - } : {})); - } else { - button = /*#__PURE__*/react.createElement(es_button/* default */.Z, { - className: btnClassName, - type: enterButton ? 'primary' : undefined, - size: size, - disabled: disabled, - key: "enterButton", - onMouseDown: onMouseDown, - onClick: onSearch, - loading: loading, - icon: searchIcon - }, enterButton); - } - if (addonAfter) { - button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { - key: 'addonAfter' - })]; - } - var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), !!size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-button"), !!enterButton), _classNames), className); - var handleOnCompositionStart = function handleOnCompositionStart(e) { - composedRef.current = true; - onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); - }; - var handleOnCompositionEnd = function handleOnCompositionEnd(e) { - composedRef.current = false; - onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); - }; - return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ - ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), - onPressEnter: onPressEnter - }, restProps, { - size: size, - onCompositionStart: handleOnCompositionStart, - onCompositionEnd: handleOnCompositionEnd, - prefixCls: inputPrefixCls, - addonAfter: button, - suffix: suffix, - onChange: onChange, - className: cls, - disabled: disabled - })); -}); -if (false) {} -/* harmony default export */ var input_Search = (Search); -// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js + 1 modules -var TextArea = __webpack_require__(80173); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js - - - - - -var input_Input = Input/* default */.ZP; -input_Input.Group = input_Group; -input_Input.Search = input_Search; -input_Input.TextArea = TextArea/* default */.Z; -input_Input.Password = input_Password; -/* harmony default export */ var input = (input_Input); - -/***/ }), - -/***/ 7124: -/*!**********************************************************************************************!*\ - !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! - \**********************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_EyeOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js -// This icon file is generated automatically. -var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; -/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); - -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(93771); -;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_EyeOutlined - })); -}; -EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; -/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); - /***/ }), /***/ 57761: diff --git a/75014.async.js b/75014.async.js new file mode 100644 index 0000000000..5c3e0b20b9 --- /dev/null +++ b/75014.async.js @@ -0,0 +1,1772 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[75014,8930,42573,29254,92785,95946,87388],{ + +/***/ 64789: +/*!***********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_PlusCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/PlusCircleOutlined.js +// This icon file is generated automatically. +var PlusCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "plus-circle", "theme": "outlined" }; +/* harmony default export */ var asn_PlusCircleOutlined = (PlusCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules +var AntdIcon = __webpack_require__(7918); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var PlusCircleOutlined_PlusCircleOutlined = function PlusCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + ref: ref, + icon: asn_PlusCircleOutlined + })); +}; +PlusCircleOutlined_PlusCircleOutlined.displayName = 'PlusCircleOutlined'; +/* harmony default export */ var icons_PlusCircleOutlined = (/*#__PURE__*/react.forwardRef(PlusCircleOutlined_PlusCircleOutlined)); + +/***/ }), + +/***/ 5467: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } +/* harmony export */ }); +function getDataOrAriaProps(props) { + return Object.keys(props).reduce(function (prev, key) { + if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { + prev[key] = props[key]; + } + return prev; + }, {}); +} + +/***/ }), + +/***/ 58492: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ breadcrumb; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(50344); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules +var menu = __webpack_require__(66516); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js +var DownOutlined = __webpack_require__(13622); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules +var dropdown = __webpack_require__(18562); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var BreadcrumbItem = function BreadcrumbItem(props) { + var customizePrefixCls = props.prefixCls, + _props$separator = props.separator, + separator = _props$separator === void 0 ? '/' : _props$separator, + children = props.children, + menu = props.menu, + overlay = props.overlay, + dropdownProps = props.dropdownProps, + restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + // Warning for deprecated usage + if (false) {} + /** If overlay is have Wrap a Dropdown */ + var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) { + if (menu || overlay) { + return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({ + menu: menu, + overlay: overlay, + placement: "bottom" + }, dropdownProps), /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-overlay-link") + }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); + } + return breadcrumbItem; + }; + var link; + if ('href' in restProps) { + link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({ + className: "".concat(prefixCls, "-link") + }, restProps), children); + } else { + link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + className: "".concat(prefixCls, "-link") + }, restProps), children); + } + // wrap to dropDown + link = renderBreadcrumbNode(link); + if (children !== undefined && children !== null) { + return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-separator") + }, separator)); + } + return null; +}; +BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; +/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js + + +var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) { + var children = _ref.children; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var prefixCls = getPrefixCls('breadcrumb'); + return /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-separator") + }, children || '/'); +}; +BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; +/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js + + + +var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +function getBreadcrumbName(route, params) { + if (!route.breadcrumbName) { + return null; + } + var paramsKeys = Object.keys(params).join('|'); + var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) { + return params[key] || replacement; + }); + return name; +} +function defaultItemRender(route, params, routes, paths) { + var isLastItem = routes.indexOf(route) === routes.length - 1; + var name = getBreadcrumbName(route, params); + return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", { + href: "#/".concat(paths.join('/')) + }, name); +} +var getPath = function getPath(path, params) { + path = (path || '').replace(/^\//, ''); + Object.keys(params).forEach(function (key) { + path = path.replace(":".concat(key), params[key]); + }); + return path; +}; +var addChildPath = function addChildPath(paths, childPath, params) { + var originalPaths = (0,toConsumableArray/* default */.Z)(paths); + var path = getPath(childPath || '', params); + if (path) { + originalPaths.push(path); + } + return originalPaths; +}; +var Breadcrumb = function Breadcrumb(_a) { + var customizePrefixCls = _a.prefixCls, + _a$separator = _a.separator, + separator = _a$separator === void 0 ? '/' : _a$separator, + style = _a.style, + className = _a.className, + routes = _a.routes, + children = _a.children, + _a$itemRender = _a.itemRender, + itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender, + _a$params = _a.params, + params = _a$params === void 0 ? {} : _a$params, + restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var crumbs; + var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + if (routes && routes.length > 0) { + // generated by route + var paths = []; + crumbs = routes.map(function (route) { + var path = getPath(route.path, params); + if (path) { + paths.push(path); + } + // generated overlay by route.children + var overlay; + if (route.children && route.children.length) { + overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, { + items: route.children.map(function (child) { + return { + key: child.path || child.breadcrumbName, + label: itemRender(child, params, routes, addChildPath(paths, child.path, params)) + }; + }) + }); + } + var itemProps = { + separator: separator + }; + if (overlay) { + itemProps.overlay = overlay; + } + return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, { + key: path || route.breadcrumbName + }), itemRender(route, params, routes, paths)); + }); + } else if (children) { + crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) { + if (!element) { + return element; + } + false ? 0 : void 0; + return (0,reactNode/* cloneElement */.Tm)(element, { + separator: separator, + key: index + }); + }); + } + var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({ + className: breadcrumbClassName, + style: style + }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs)); +}; +Breadcrumb.Item = breadcrumb_BreadcrumbItem; +Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; +/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js + +/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); + +/***/ }), + +/***/ 63102: +/*!********************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less +// extracted by mini-css-extract-plugin + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(68018); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules +var menu_style = __webpack_require__(83736); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + + +// style dependencies + + + +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + +/***/ 27049: +/*!***********************************************!*\ + !*** ./node_modules/antd/es/divider/index.js ***! + \***********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ 53124); + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + +var Divider = function Divider(props) { + var _classNames; + var _React$useContext = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__/* .ConfigContext */ .E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var customizePrefixCls = props.prefixCls, + _props$type = props.type, + type = _props$type === void 0 ? 'horizontal' : _props$type, + _props$orientation = props.orientation, + orientation = _props$orientation === void 0 ? 'center' : _props$orientation, + orientationMargin = props.orientationMargin, + className = props.className, + children = props.children, + dashed = props.dashed, + plain = props.plain, + restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"]); + var prefixCls = getPrefixCls('divider', customizePrefixCls); + var orientationPrefix = orientation.length > 0 ? "-".concat(orientation) : orientation; + var hasChildren = !!children; + var hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; + var hasCustomMarginRight = orientation === 'right' && orientationMargin != null; + var classString = classnames__WEBPACK_IMPORTED_MODULE_0___default()(prefixCls, "".concat(prefixCls, "-").concat(type), (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text"), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text").concat(orientationPrefix), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-dashed"), !!dashed), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-plain"), !!plain), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-left"), hasCustomMarginLeft), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-right"), hasCustomMarginRight), _classNames), className); + var innerStyle = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, hasCustomMarginLeft && { + marginLeft: orientationMargin + }), hasCustomMarginRight && { + marginRight: orientationMargin + }); + // Warning children not work in vertical mode + if (false) {} + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + className: classString + }, restProps, { + role: "separator" + }), children && type !== 'vertical' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { + className: "".concat(prefixCls, "-inner-text"), + style: innerStyle + }, children)); +}; +/* harmony default export */ __webpack_exports__["Z"] = (Divider); + +/***/ }), + +/***/ 98541: +/*!*****************************************************************!*\ + !*** ./node_modules/antd/es/divider/style/index.js + 1 modules ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js + + + +/***/ }), + +/***/ 75008: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +var Group = function Group(props) { + var _classNames; + var _useContext = (0,react.useContext)(context/* ConfigContext */.E_), + getPrefixCls = _useContext.getPrefixCls, + direction = _useContext.direction; + var customizePrefixCls = props.prefixCls, + _props$className = props.className, + className = _props$className === void 0 ? '' : _props$className; + var prefixCls = getPrefixCls('input-group', customizePrefixCls); + var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), props.size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), props.size === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-compact"), props.compact), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); + var formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + var groupFormItemContext = (0,react.useMemo)(function () { + return (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, formItemContext), { + isFormItemInput: false + }); + }, [formItemContext]); + return /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children)); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(93771); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +EyeInvisibleOutlined_EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined'; +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(7124); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var defaultIconRender = function defaultIconRender(visible) { + return visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +}; +var ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +var Password = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _props$visibilityTogg = props.visibilityToggle, + visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg; + var visibilityControlled = (0,esm_typeof/* default */.Z)(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined; + var _useState = (0,react.useState)(function () { + return visibilityControlled ? visibilityToggle.visible : false; + }), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + visible = _useState2[0], + setVisible = _useState2[1]; + var inputRef = (0,react.useRef)(null); + react.useEffect(function () { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + var removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + var onVisibleChange = function onVisibleChange() { + var disabled = props.disabled; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(function (prevState) { + var _a; + var newState = !prevState; + if ((0,esm_typeof/* default */.Z)(visibilityToggle) === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + var getIcon = function getIcon(prefixCls) { + var _iconProps; + var _props$action = props.action, + action = _props$action === void 0 ? 'click' : _props$action, + _props$iconRender = props.iconRender, + iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender; + var iconTrigger = ActionMap[action] || ''; + var icon = iconRender(visible); + var iconProps = (_iconProps = {}, (0,defineProperty/* default */.Z)(_iconProps, iconTrigger, onVisibleChange), (0,defineProperty/* default */.Z)(_iconProps, "className", "".concat(prefixCls, "-icon")), (0,defineProperty/* default */.Z)(_iconProps, "key", 'passwordIcon'), (0,defineProperty/* default */.Z)(_iconProps, "onMouseDown", function onMouseDown(e) { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }), (0,defineProperty/* default */.Z)(_iconProps, "onMouseUp", function onMouseUp(e) { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + }), _iconProps); + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + var renderPassword = function renderPassword(_ref) { + var getPrefixCls = _ref.getPrefixCls; + var className = props.className, + customizePrefixCls = props.prefixCls, + customizeInputPrefixCls = props.inputPrefixCls, + size = props.size, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + var prefixCls = getPrefixCls('input-password', customizePrefixCls); + var suffixIcon = visibilityToggle && getIcon(prefixCls); + var inputClassName = classnames_default()(prefixCls, className, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-").concat(size), !!size)); + var omittedProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); + }; + return /*#__PURE__*/react.createElement(context/* ConfigConsumer */.C, null, renderPassword); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js +var SearchOutlined = __webpack_require__(25783); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js +var SizeContext = __webpack_require__(97647); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js + + +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var Search = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var customizePrefixCls = props.prefixCls, + customizeInputPrefixCls = props.inputPrefixCls, + className = props.className, + customizeSize = props.size, + suffix = props.suffix, + _props$enterButton = props.enterButton, + enterButton = _props$enterButton === void 0 ? false : _props$enterButton, + addonAfter = props.addonAfter, + loading = props.loading, + disabled = props.disabled, + customOnSearch = props.onSearch, + customOnChange = props.onChange, + onCompositionStart = props.onCompositionStart, + onCompositionEnd = props.onCompositionEnd, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var contextSize = react.useContext(SizeContext/* default */.Z); + var composedRef = react.useRef(false); + var prefixCls = getPrefixCls('input-search', customizePrefixCls); + var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + var _useCompactItemContex = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction), + compactSize = _useCompactItemContex.compactSize; + var size = compactSize || customizeSize || contextSize; + var inputRef = react.useRef(null); + var onChange = function onChange(e) { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + var onMouseDown = function onMouseDown(e) { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + var onSearch = function onSearch(e) { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + var onPressEnter = function onPressEnter(e) { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + var btnClassName = "".concat(prefixCls, "-button"); + var button; + var enterButtonAsElement = enterButton || {}; + var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, (0,esm_extends/* default */.Z)({ + onMouseDown: onMouseDown, + onClick: function onClick(e) { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size: size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.Z, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), !!size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-button"), !!enterButton), _classNames), className); + var handleOnCompositionStart = function handleOnCompositionStart(e) { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + var handleOnCompositionEnd = function handleOnCompositionEnd(e) { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js + 1 modules +var TextArea = __webpack_require__(80173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js + + + + + +var input_Input = Input/* default */.ZP; +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 29924: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "ZP": function() { return /* binding */ es_radio; } +}); + +// UNUSED EXPORTS: Button, Group + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js +var SizeContext = __webpack_require__(97647); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js +var getDataOrAriaProps = __webpack_require__(5467); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js + +var RadioGroupContext = /*#__PURE__*/react.createContext(null); +var RadioGroupContextProvider = RadioGroupContext.Provider; +/* harmony default export */ var radio_context = (RadioGroupContext); +var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); +var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js +var es = __webpack_require__(50132); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var InternalRadio = function InternalRadio(props, ref) { + var _classNames; + var groupContext = react.useContext(radio_context); + var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var innerRef = react.useRef(); + var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); + var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + false ? 0 : void 0; + var onChange = function onChange(e) { + var _a, _b; + (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); + (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); + }; + var customizePrefixCls = props.prefixCls, + className = props.className, + children = props.children, + style = props.style, + customDisabled = props.disabled, + restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); + var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); + var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; + var radioProps = (0,esm_extends/* default */.Z)({}, restProps); + // ===================== Disabled ===================== + var disabled = react.useContext(DisabledContext/* default */.Z); + radioProps.disabled = customDisabled || disabled; + if (groupContext) { + radioProps.name = groupContext.name; + radioProps.onChange = onChange; + radioProps.checked = props.value === groupContext.value; + radioProps.disabled = radioProps.disabled || groupContext.disabled; + } + var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: wrapperClassString, + style: style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { + type: "radio", + prefixCls: prefixCls, + ref: mergedRef + })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) + ); +}; +var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); +if (false) {} +/* harmony default export */ var radio_radio = (Radio); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js + + + + + + + + + + + +var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var size = react.useContext(SizeContext/* default */.Z); + var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { + value: props.value + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var onRadioChange = function onRadioChange(ev) { + var lastValue = value; + var val = ev.target.value; + if (!('value' in props)) { + setValue(val); + } + var onChange = props.onChange; + if (onChange && val !== lastValue) { + onChange(ev); + } + }; + var customizePrefixCls = props.prefixCls, + _props$className = props.className, + className = _props$className === void 0 ? '' : _props$className, + options = props.options, + _props$buttonStyle = props.buttonStyle, + buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, + disabled = props.disabled, + children = props.children, + customizeSize = props.size, + style = props.style, + id = props.id, + onMouseEnter = props.onMouseEnter, + onMouseLeave = props.onMouseLeave, + onFocus = props.onFocus, + onBlur = props.onBlur; + var prefixCls = getPrefixCls('radio', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var childrenToRender = children; + // 如果存在 options, 优先使用 + if (options && options.length > 0) { + childrenToRender = options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + // 此处类型自动推导为 string + return /*#__PURE__*/react.createElement(radio_radio, { + key: option.toString(), + prefixCls: prefixCls, + disabled: disabled, + value: option, + checked: value === option + }, option); + } + // 此处类型自动推导为 { label: string value: string } + return /*#__PURE__*/react.createElement(radio_radio, { + key: "radio-group-value-options-".concat(option.value), + prefixCls: prefixCls, + disabled: option.disabled || disabled, + value: option.value, + checked: value === option.value, + style: option.style + }, option.label); + }); + } + var mergedSize = customizeSize || size; + var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave, + onFocus: onFocus, + onBlur: onBlur, + id: id, + ref: ref + }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { + value: { + onChange: onRadioChange, + value: value, + disabled: props.disabled, + name: props.name, + optionType: props.optionType + } + }, childrenToRender)); +}); +/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js + +var radioButton_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + +var RadioButton = function RadioButton(props, ref) { + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var customizePrefixCls = props.prefixCls, + radioProps = radioButton_rest(props, ["prefixCls"]); + var prefixCls = getPrefixCls('radio', customizePrefixCls); + return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { + value: "button" + }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ + prefixCls: prefixCls + }, radioProps, { + type: "radio", + ref: ref + }))); +}; +/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js + + + + +var radio_Radio = radio_radio; +radio_Radio.Button = radioButton; +radio_Radio.Group = group; +radio_Radio.__ANT_RADIO = true; +/* harmony default export */ var es_radio = (radio_Radio); + +/***/ }), + +/***/ 83822: +/*!***************************************************************!*\ + !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js + + +// deps-lint-skip: form + +/***/ }), + +/***/ 34041: +/*!**********************************************!*\ + !*** ./node_modules/antd/es/select/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* 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_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 7752); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 98423); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 88258); +/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 98866); +/* harmony import */ var _config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider/SizeContext */ 97647); +/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../form/context */ 65223); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_util/motion */ 33603); +/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/statusUtils */ 9708); +/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/iconUtil */ 46163); +/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../space/Compact */ 4173); + + +// TODO: 4.0 - codemod should help to change `filterOption` to support node props. +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + + + + +var SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE'; +var InternalSelect = function InternalSelect(_a, ref) { + var _classNames2; + var customizePrefixCls = _a.prefixCls, + _a$bordered = _a.bordered, + bordered = _a$bordered === void 0 ? true : _a$bordered, + className = _a.className, + getPopupContainer = _a.getPopupContainer, + dropdownClassName = _a.dropdownClassName, + popupClassName = _a.popupClassName, + _a$listHeight = _a.listHeight, + listHeight = _a$listHeight === void 0 ? 256 : _a$listHeight, + placement = _a.placement, + _a$listItemHeight = _a.listItemHeight, + listItemHeight = _a$listItemHeight === void 0 ? 24 : _a$listItemHeight, + customizeSize = _a.size, + customDisabled = _a.disabled, + notFoundContent = _a.notFoundContent, + customStatus = _a.status, + showArrow = _a.showArrow, + props = __rest(_a, ["prefixCls", "bordered", "className", "getPopupContainer", "dropdownClassName", "popupClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "showArrow"]); + var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_), + getContextPopupContainer = _React$useContext.getPopupContainer, + getPrefixCls = _React$useContext.getPrefixCls, + renderEmpty = _React$useContext.renderEmpty, + direction = _React$useContext.direction, + virtual = _React$useContext.virtual, + dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth; + var size = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z); + var prefixCls = getPrefixCls('select', customizePrefixCls); + var rootPrefixCls = getPrefixCls(); + var _useCompactItemContex = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_5__/* .useCompactItemContext */ .ri)(prefixCls, direction), + compactSize = _useCompactItemContex.compactSize, + compactItemClassnames = _useCompactItemContex.compactItemClassnames; + var mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(function () { + var m = props.mode; + if (m === 'combobox') { + return undefined; + } + if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) { + return 'combobox'; + } + return m; + }, [props.mode]); + var isMultiple = mode === 'multiple' || mode === 'tags'; + var mergedShowArrow = showArrow !== undefined ? showArrow : props.loading || !(isMultiple || mode === 'combobox'); + // =================== Warning ===================== + false ? 0 : void 0; + // ===================== Form Status ===================== + var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_form_context__WEBPACK_IMPORTED_MODULE_6__/* .FormItemInputContext */ .aM), + contextStatus = _useContext.status, + hasFeedback = _useContext.hasFeedback, + isFormItemInput = _useContext.isFormItemInput, + feedbackIcon = _useContext.feedbackIcon; + var mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getMergedStatus */ .F)(contextStatus, customStatus); + // ===================== Empty ===================== + var mergedNotFound; + if (notFoundContent !== undefined) { + mergedNotFound = notFoundContent; + } else if (mode === 'combobox') { + mergedNotFound = null; + } else { + mergedNotFound = (renderEmpty || _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)('Select'); + } + // ===================== Icons ===================== + var _getIcons = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({}, props), { + multiple: isMultiple, + hasFeedback: hasFeedback, + feedbackIcon: feedbackIcon, + showArrow: mergedShowArrow, + prefixCls: prefixCls + })), + suffixIcon = _getIcons.suffixIcon, + itemIcon = _getIcons.itemIcon, + removeIcon = _getIcons.removeIcon, + clearIcon = _getIcons.clearIcon; + var selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']); + var rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl')); + var mergedSize = compactSize || customizeSize || size; + // ===================== Disabled ===================== + var disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z); + var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled; + var mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()((_classNames2 = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-in-form-item"), isFormItemInput), _classNames2), (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, className); + // ===================== Placement ===================== + var getPlacement = function getPlacement() { + if (placement !== undefined) { + return placement; + } + return direction === 'rtl' ? 'bottomRight' : 'bottomLeft'; + }; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({ + ref: ref, + virtual: virtual, + dropdownMatchSelectWidth: dropdownMatchSelectWidth + }, selectProps, { + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionName */ .mL)(rootPrefixCls, (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionDirection */ .q0)(placement), props.transitionName), + listHeight: listHeight, + listItemHeight: listItemHeight, + mode: mode, + prefixCls: prefixCls, + placement: getPlacement(), + direction: direction, + inputIcon: suffixIcon, + menuItemSelectedIcon: itemIcon, + removeIcon: removeIcon, + clearIcon: clearIcon, + notFoundContent: mergedNotFound, + className: mergedClassName, + getPopupContainer: getPopupContainer || getContextPopupContainer, + dropdownClassName: rcSelectRtlDropdownClassName, + showArrow: hasFeedback || showArrow, + disabled: mergedDisabled + })); +}; +var Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect); +Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE; +Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx; +Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo; +/* harmony default export */ __webpack_exports__["Z"] = (Select); + +/***/ }), + +/***/ 7124: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(93771); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }) + +}]); \ No newline at end of file diff --git a/75463.async.js b/75463.async.js index 1da34634f6..68b9b22a3d 100644 --- a/75463.async.js +++ b/75463.async.js @@ -332,6 +332,195 @@ var style_default = __webpack_require__(43146); /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 36193: /*!******************************************!*\ !*** ./src/assets/images/video/play.png ***! diff --git a/75800.async.js b/75800.async.js index 6800339e06..8049be2e1a 100644 --- a/75800.async.js +++ b/75800.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[75800],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[75800,12819],{ /***/ 57727: /*!************************************************************************!*\ @@ -151,6 +151,305 @@ function scrollTo(y) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 13013: /*!************************************************!*\ !*** ./node_modules/antd/es/dropdown/index.js ***! diff --git a/75800.chunk.css b/75800.chunk.css index c7f7e43a53..59b3f1e278 100644 --- a/75800.chunk.css +++ b/75800.chunk.css @@ -560,6 +560,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/table/style/index.less ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/39602.async.js b/76563.async.js similarity index 61% rename from 39602.async.js rename to 76563.async.js index b073befba0..832b58aac7 100644 --- a/39602.async.js +++ b/76563.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[39602],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[76563],{ /***/ 509: /*!*********************************************************************!*\ @@ -12,53 +12,6 @@ var SearchOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 /* harmony default export */ __webpack_exports__["Z"] = (SearchOutlined); -/***/ }), - -/***/ 87588: -/*!******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***! - \******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined)); - -/***/ }), - -/***/ 5467: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } -/* harmony export */ }); -function getDataOrAriaProps(props) { - return Object.keys(props).reduce(function (prev, key) { - if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { - prev[key] = props[key]; - } - return prev; - }, {}); -} - /***/ }), /***/ 48783: @@ -128,6 +81,303 @@ function throttleByAnimationFrameDecorator() { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 13013: /*!************************************************!*\ !*** ./node_modules/antd/es/dropdown/index.js ***! @@ -515,543 +765,6 @@ input_Input.Password = input_Password; /***/ }), -/***/ 97183: -/*!**********************************************!*\ - !*** ./node_modules/antd/es/layout/index.js ***! - \**********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 2897); -/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 10130); - - -var Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP; -Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4; -Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_; -Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY; -Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; -/* harmony default export */ __webpack_exports__["Z"] = (Layout); - -/***/ }), - -/***/ 27221: -/*!****************************************************************!*\ - !*** ./node_modules/antd/es/layout/style/index.js + 1 modules ***! - \****************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.js - - - -/***/ }), - -/***/ 37029: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/locale/zh_CN.js + 4 modules ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ es_locale_zh_CN; } -}); - -// EXTERNAL MODULE: ./node_modules/rc-pagination/es/locale/zh_CN.js -var zh_CN = __webpack_require__(81626); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -;// CONCATENATED MODULE: ./node_modules/rc-picker/es/locale/zh_CN.js -var locale = { - locale: 'zh_CN', - today: '今天', - now: '此刻', - backToToday: '返回今天', - ok: '确定', - timeSelect: '选择时间', - dateSelect: '选择日期', - weekSelect: '选择周', - clear: '清除', - month: '月', - year: '年', - previousMonth: '上个月 (翻页上键)', - nextMonth: '下个月 (翻页下键)', - monthSelect: '选择月份', - yearSelect: '选择年份', - decadeSelect: '选择年代', - yearFormat: 'YYYY年', - dayFormat: 'D日', - dateFormat: 'YYYY年M月D日', - dateTimeFormat: 'YYYY年M月D日 HH时mm分ss秒', - previousYear: '上一年 (Control键加左方向键)', - nextYear: '下一年 (Control键加右方向键)', - previousDecade: '上一年代', - nextDecade: '下一年代', - previousCentury: '上一世纪', - nextCentury: '下一世纪' -}; -/* harmony default export */ var locale_zh_CN = (locale); -;// CONCATENATED MODULE: ./node_modules/antd/es/time-picker/locale/zh_CN.js -var zh_CN_locale = { - placeholder: '请选择时间', - rangePlaceholder: ['开始时间', '结束时间'] -}; -/* harmony default export */ var time_picker_locale_zh_CN = (zh_CN_locale); -;// CONCATENATED MODULE: ./node_modules/antd/es/date-picker/locale/zh_CN.js - - - -// 统一合并为完整的 Locale -var locale_zh_CN_locale = { - lang: (0,esm_extends/* default */.Z)({ - placeholder: '请选择日期', - yearPlaceholder: '请选择年份', - quarterPlaceholder: '请选择季度', - monthPlaceholder: '请选择月份', - weekPlaceholder: '请选择周', - rangePlaceholder: ['开始日期', '结束日期'], - rangeYearPlaceholder: ['开始年份', '结束年份'], - rangeMonthPlaceholder: ['开始月份', '结束月份'], - rangeQuarterPlaceholder: ['开始季度', '结束季度'], - rangeWeekPlaceholder: ['开始周', '结束周'] - }, locale_zh_CN), - timePickerLocale: (0,esm_extends/* default */.Z)({}, time_picker_locale_zh_CN) -}; -// should add whitespace between char in Button -locale_zh_CN_locale.lang.ok = '确定'; -// All settings at: -// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json -/* harmony default export */ var date_picker_locale_zh_CN = (locale_zh_CN_locale); -;// CONCATENATED MODULE: ./node_modules/antd/es/calendar/locale/zh_CN.js - -/* harmony default export */ var calendar_locale_zh_CN = (date_picker_locale_zh_CN); -;// CONCATENATED MODULE: ./node_modules/antd/es/locale/zh_CN.js -/* eslint-disable no-template-curly-in-string */ - - - - -var typeTemplate = '${label}不是一个有效的${type}'; -var localeValues = { - locale: 'zh-cn', - Pagination: zh_CN/* default */.Z, - DatePicker: date_picker_locale_zh_CN, - TimePicker: time_picker_locale_zh_CN, - Calendar: calendar_locale_zh_CN, - // locales for all components - global: { - placeholder: '请选择' - }, - Table: { - filterTitle: '筛选', - filterConfirm: '确定', - filterReset: '重置', - filterEmptyText: '无筛选项', - filterCheckall: '全选', - filterSearchPlaceholder: '在筛选项中搜索', - selectAll: '全选当页', - selectInvert: '反选当页', - selectNone: '清空所有', - selectionAll: '全选所有', - sortTitle: '排序', - expand: '展开行', - collapse: '关闭行', - triggerDesc: '点击降序', - triggerAsc: '点击升序', - cancelSort: '取消排序' - }, - Modal: { - okText: '确定', - cancelText: '取消', - justOkText: '知道了' - }, - Popconfirm: { - cancelText: '取消', - okText: '确定' - }, - Transfer: { - titles: ['', ''], - searchPlaceholder: '请输入搜索内容', - itemUnit: '项', - itemsUnit: '项', - remove: '删除', - selectCurrent: '全选当页', - removeCurrent: '删除当页', - selectAll: '全选所有', - removeAll: '删除全部', - selectInvert: '反选当页' - }, - Upload: { - uploading: '文件上传中', - removeFile: '删除文件', - uploadError: '上传错误', - previewFile: '预览文件', - downloadFile: '下载文件' - }, - Empty: { - description: '暂无数据' - }, - Icon: { - icon: '图标' - }, - Text: { - edit: '编辑', - copy: '复制', - copied: '复制成功', - expand: '展开' - }, - PageHeader: { - back: '返回' - }, - Form: { - optional: '(可选)', - defaultValidateMessages: { - "default": '字段验证错误${label}', - required: '请输入${label}', - "enum": '${label}必须是其中一个[${enum}]', - whitespace: '${label}不能为空字符', - date: { - format: '${label}日期格式无效', - parse: '${label}不能转换为日期', - invalid: '${label}是一个无效日期' - }, - types: { - string: typeTemplate, - method: typeTemplate, - array: typeTemplate, - object: typeTemplate, - number: typeTemplate, - date: typeTemplate, - "boolean": typeTemplate, - integer: typeTemplate, - "float": typeTemplate, - regexp: typeTemplate, - email: typeTemplate, - url: typeTemplate, - hex: typeTemplate - }, - string: { - len: '${label}须为${len}个字符', - min: '${label}最少${min}个字符', - max: '${label}最多${max}个字符', - range: '${label}须在${min}-${max}字符之间' - }, - number: { - len: '${label}必须等于${len}', - min: '${label}最小值为${min}', - max: '${label}最大值为${max}', - range: '${label}须在${min}-${max}之间' - }, - array: { - len: '须为${len}个${label}', - min: '最少${min}个${label}', - max: '最多${max}个${label}', - range: '${label}数量须在${min}-${max}之间' - }, - pattern: { - mismatch: '${label}与模式不匹配${pattern}' - } - } - }, - Image: { - preview: '预览' - } -}; -/* harmony default export */ var es_locale_zh_CN = (localeValues); - -/***/ }), - -/***/ 29924: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "ZP": function() { return /* binding */ es_radio; } -}); - -// UNUSED EXPORTS: Button, Group - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(21770); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js -var getDataOrAriaProps = __webpack_require__(5467); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js - -var RadioGroupContext = /*#__PURE__*/react.createContext(null); -var RadioGroupContextProvider = RadioGroupContext.Provider; -/* harmony default export */ var radio_context = (RadioGroupContext); -var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); -var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; -// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js -var es = __webpack_require__(50132); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js -var DisabledContext = __webpack_require__(98866); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var InternalRadio = function InternalRadio(props, ref) { - var _classNames; - var groupContext = react.useContext(radio_context); - var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var innerRef = react.useRef(); - var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); - var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), - isFormItemInput = _useContext.isFormItemInput; - false ? 0 : void 0; - var onChange = function onChange(e) { - var _a, _b; - (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); - (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); - }; - var customizePrefixCls = props.prefixCls, - className = props.className, - children = props.children, - style = props.style, - customDisabled = props.disabled, - restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); - var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); - var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; - var radioProps = (0,esm_extends/* default */.Z)({}, restProps); - // ===================== Disabled ===================== - var disabled = react.useContext(DisabledContext/* default */.Z); - radioProps.disabled = customDisabled || disabled; - if (groupContext) { - radioProps.name = groupContext.name; - radioProps.onChange = onChange; - radioProps.checked = props.value === groupContext.value; - radioProps.disabled = radioProps.disabled || groupContext.disabled; - } - var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); - return ( - /*#__PURE__*/ - // eslint-disable-next-line jsx-a11y/label-has-associated-control - react.createElement("label", { - className: wrapperClassString, - style: style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave - }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { - type: "radio", - prefixCls: prefixCls, - ref: mergedRef - })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) - ); -}; -var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); -if (false) {} -/* harmony default export */ var radio_radio = (Radio); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js - - - - - - - - - - - -var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var size = react.useContext(SizeContext/* default */.Z); - var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { - value: props.value - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - value = _useMergedState2[0], - setValue = _useMergedState2[1]; - var onRadioChange = function onRadioChange(ev) { - var lastValue = value; - var val = ev.target.value; - if (!('value' in props)) { - setValue(val); - } - var onChange = props.onChange; - if (onChange && val !== lastValue) { - onChange(ev); - } - }; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className, - options = props.options, - _props$buttonStyle = props.buttonStyle, - buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, - disabled = props.disabled, - children = props.children, - customizeSize = props.size, - style = props.style, - id = props.id, - onMouseEnter = props.onMouseEnter, - onMouseLeave = props.onMouseLeave, - onFocus = props.onFocus, - onBlur = props.onBlur; - var prefixCls = getPrefixCls('radio', customizePrefixCls); - var groupPrefixCls = "".concat(prefixCls, "-group"); - var childrenToRender = children; - // 如果存在 options, 优先使用 - if (options && options.length > 0) { - childrenToRender = options.map(function (option) { - if (typeof option === 'string' || typeof option === 'number') { - // 此处类型自动推导为 string - return /*#__PURE__*/react.createElement(radio_radio, { - key: option.toString(), - prefixCls: prefixCls, - disabled: disabled, - value: option, - checked: value === option - }, option); - } - // 此处类型自动推导为 { label: string value: string } - return /*#__PURE__*/react.createElement(radio_radio, { - key: "radio-group-value-options-".concat(option.value), - prefixCls: prefixCls, - disabled: option.disabled || disabled, - value: option.value, - checked: value === option.value, - style: option.style - }, option.label); - }); - } - var mergedSize = customizeSize || size; - var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { - className: classString, - style: style, - onMouseEnter: onMouseEnter, - onMouseLeave: onMouseLeave, - onFocus: onFocus, - onBlur: onBlur, - id: id, - ref: ref - }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { - value: { - onChange: onRadioChange, - value: value, - disabled: props.disabled, - name: props.name, - optionType: props.optionType - } - }, childrenToRender)); -}); -/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js - -var radioButton_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - -var RadioButton = function RadioButton(props, ref) { - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var customizePrefixCls = props.prefixCls, - radioProps = radioButton_rest(props, ["prefixCls"]); - var prefixCls = getPrefixCls('radio', customizePrefixCls); - return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { - value: "button" - }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ - prefixCls: prefixCls - }, radioProps, { - type: "radio", - ref: ref - }))); -}; -/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js - - - - -var radio_Radio = radio_radio; -radio_Radio.Button = radioButton; -radio_Radio.Group = group; -radio_Radio.__ANT_RADIO = true; -/* harmony default export */ var es_radio = (radio_Radio); - -/***/ }), - -/***/ 83822: -/*!***************************************************************!*\ - !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js - - -// deps-lint-skip: form - -/***/ }), - /***/ 7124: /*!**********************************************************************************************!*\ !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! diff --git a/layouts__user__index.chunk.css b/76563.chunk.css similarity index 53% rename from layouts__user__index.chunk.css rename to 76563.chunk.css index a8eba3af14..650fd78f9b 100644 --- a/layouts__user__index.chunk.css +++ b/76563.chunk.css @@ -1,30 +1,3 @@ -/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** 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/User/OauthPanel/index.less ***! - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.other-login { - text-align: center; -} -.other-login a { - display: inline-block; - margin-right: 8px; -} -.btn-link { - display: block; - text-align: center; -} -.wechat-qrcode { - height: 390px; - margin: 0 auto; - display: block; -} -.driver { - text-align: center; - color: #dddddd; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/layout/style/index.less ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -160,303 +133,6 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/index.less?modules ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___et8xE { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___GBGuw { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center____6P1q { - align-items: center; - box-align: center; -} -.flex_box_center_end___whXw6 { - 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___mWgI_ { - flex-direction: column; - box-orient: block-axis; -} -.header___Wn4fJ { - min-width: 1200px; - position: relative; -} -.header___Wn4fJ [class~='ant-layout-header'] { - padding: 0; - height: 72px; - background: #24292f; -} -.header___Wn4fJ .logo___QnotM { - height: 36px; - margin-right: 40px; -} -.header___Wn4fJ .menu___twLGR { - margin: 0; - padding: 0; - display: flex; - flex-flow: row nowrap; - align-items: center; -} -.header___Wn4fJ .menu___twLGR li { - margin-right: 30px; - position: relative; - display: flex; - align-items: center; - justify-content: center; -} -.header___Wn4fJ .menu___twLGR li .dropDown___Cwaoa { - background: #ffffff; - box-shadow: 0px 10px 16px 0px #cecece; - border-radius: 6px; - position: absolute; - z-index: 999; - left: -20px; - top: 50px; - padding: 20px; - line-height: 1.5; - display: none; -} -.header___Wn4fJ .menu___twLGR li .dropDown___Cwaoa .line___D1auu { - width: 100%; - height: 1px; - background: #dbdce0; - margin: 24px 0; -} -.header___Wn4fJ .menu___twLGR li .dropDown___Cwaoa .subName___gql7K { - cursor: pointer; -} -.header___Wn4fJ .menu___twLGR li .dropDown___Cwaoa .subName___gql7K:hover aside { - color: #165dff; -} -.header___Wn4fJ .menu___twLGR li .name___dR5V2 { - display: flex; - align-items: center; - height: 50px; - cursor: pointer; -} -.header___Wn4fJ .menu___twLGR li .name___dR5V2 span { - font-size: 16px; - color: #ffffff; - display: inline-block; - position: relative; -} -.header___Wn4fJ .menu___twLGR li .name___dR5V2 span b { - color: #d4443c; - transform: translate(2px, -7px); - display: inline-block; -} -.header___Wn4fJ .menu___twLGR li .name___dR5V2 i { - font-size: 12px; - display: inline-block; - transform: translateY(1px) scale(0.6); - color: #979797; -} -.header___Wn4fJ .menu___twLGR li:hover .name___dR5V2 span { - color: #c5c5c5; -} -.header___Wn4fJ .menu___twLGR li:hover .dropDown___Cwaoa { - display: block; -} -.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span { - color: #c5c5c5; -} -.header___Wn4fJ .menu___twLGR li.actived___ohMks .name___dR5V2 span::after { - content: ''; - width: 100%; - height: 2px; - background: #c5c5c5; - position: absolute; - bottom: 12px; - left: 0; - border-radius: 1px; -} -.header___Wn4fJ .edu-menu___iWLK0 { - display: flex; - width: 100%; - height: 72px; - width: 1200px; - flex-flow: row nowrap; - align-items: center; - justify-content: space-between; - margin: 0 auto; -} -.header___Wn4fJ .newslight___lSZjL { - width: 5px; - height: 5px; - border-radius: 5px; - position: absolute; - top: 0; - left: 10px; - background: #fb3226; -} -.header___Wn4fJ .classromediv___knFRv { - animation: glow___gzrPH 200ms ease-out infinite alternate; -} -.spandiv___Gm_hg { - height: 30px; - line-height: 30px; - text-align: center; - background: rgba(0, 255, 249, 0.2); - width: 80px; -} -.header-iearning___LZfyg { - min-width: 1200px; - height: 60px; - width: 100%; - background-color: rgba(255, 255, 255, 0.8) !important; - box-shadow: 0px 2px 10px 0px rgba(136, 136, 136, 0.5); - position: fixed; - top: 0px; - left: 0px; - z-index: 1000; -} -.header-iearning___LZfyg .logo___QnotM { - height: 36px; -} -.header-iearning___LZfyg [class~='ant-layout-header'] { - padding: 0; - height: 60px; - color: #000; - color: initial; - background: transparent; -} -.header-iearning___LZfyg .menu___twLGR { - margin: 0; - padding: 0; - margin-left: auto; - display: flex; - flex-flow: row nowrap; - align-items: center; -} -.header-iearning___LZfyg .menu___twLGR li { - margin-right: 30px; - position: relative; - display: flex; - align-items: center; - justify-content: center; -} -.header-iearning___LZfyg .menu___twLGR li:hover a { - color: #828383; -} -.header-iearning___LZfyg .menu___twLGR li.actived___ohMks a { - color: #196efd; -} -.header-iearning___LZfyg .menu___twLGR li.actived___ohMks::after { - content: ''; - width: 28px; - height: 4px; - background-color: #196efd; - position: absolute; - bottom: 10px; - left: 50%; - transform: translateX(-50%); -} -.header-iearning___LZfyg .menu___twLGR li a { - color: #434d6c; - position: relative; - font-size: 16px; -} -.header-iearning___LZfyg .edu-menu___iWLK0 { - display: flex; - width: 100%; - padding: 0 20px; - height: 60px; - min-width: 1200px; - flex-flow: row nowrap; - align-items: center; - justify-content: space-between; -} -.header-iearning___LZfyg .newslight___lSZjL { - width: 5px; - height: 5px; - border-radius: 5px; - position: absolute; - top: 0px; - left: 10px; - background: #fb3226; -} -.header-iearning___LZfyg .classromediv___knFRv { - animation: glow___gzrPH 200ms ease-out infinite alternate; -} -.header-iearning___LZfyg .title___Ozzjk { - font-size: 18px; - font-weight: 600; - color: #196efd; - margin-left: 10px; -} -.headerFixed___QLwBd { - position: fixed; - top: 0px; - z-index: 999; - width: 100%; -} -.headerFixed___QLwBd + section { - padding-top: 60px; -} -@keyframes glow___gzrPH { - 0% { - border-color: #00fff9; - background: rgba(0, 255, 249, 0.2); - box-shadow: 0 0 5px rgba(0, 255, 249, 0.2); - } - 100% { - border-color: #00fff9; - background: rgba(0, 255, 249, 0.2); - box-shadow: 0 0 8px rgba(0, 255, 249, 0.6); - } -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/Header/search-input.less ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.search-input { - width: 300px !important; - background: #373e3f !important; - border: 1px solid #373e3f !important; -} -.search-input [class~='ant-input'] { - background: #373e3f !important; - color: #fff; -} -.search-input .ant-input-search-icon::before { - border-left: none; -} -.search-input .ant-input-search-icon { - color: #999; -} -.search-bar { - color: white; - flex: 1 0 auto; - display: flex; - flex-flow: row nowrap; - justify-content: flex-end; - align-items: center; - position: relative; -} -.search-bar a:hover { - color: #fff; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/radio/style/index.less ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -813,383 +489,599 @@ span.ant-radio + * { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[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/AuthModal/index.less?modules ***! - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.tilte___IfiMG { - color: #333333; - font-size: 16px; - text-align: center; +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } } -.flexRow___pQP78 { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - margin-top: 30px; +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; } -.flexColumn___xrBZQ { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; } -.footerWrap___C5kCC { - display: flex; - justify-content: space-between; +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; } -.img___GoWZu { - width: 40px; - height: 37px; - vertical-align: middle; - border-style: none; +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; } -.content___pumTK { - font-size: 14px; - color: #979797; - margin-top: 15px; +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; } -.modalContent___XvHiZ { - text-align: center; - margin-top: 10px; - color: #333333; - font-size: 16px; +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; } -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/Join/index.less?modules ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___cltIf { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___fKr_O { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center____QfiA { - align-items: center; - box-align: center; -} -.flex_box_center_end___ysqmH { - 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___CfE8K { - flex-direction: column; - box-orient: block-axis; +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; } -.rightMenu___ADTOX { - width: 120px; - text-align: center; +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; } -.rightMenu___ADTOX li { - padding: 0 15px; - height: 35px; - line-height: 35px; +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; } -.rightMenu___ADTOX li:hover { - background: #0152d9; +.ant-checkbox-disabled { + cursor: not-allowed; } -.rightMenu___ADTOX li:hover a { - color: white; +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; } -.rightMenu___ADTOX li a { - font-size: 14px; +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; margin: 0; padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; } -.joinMenu___aRGsf { - padding: 0 0; - width: 240px; +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; } -.joinMenu___aRGsf a { - color: #323232; +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; } -.joinBoard___AeUvr { - border: 1px solid #eee; - width: 1px; - height: 100%; +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; } -.joinCol___fV4uL { - width: 48%; +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; } -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___YbxYn { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___Atwkg { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center____I6AC { - align-items: center; - box-align: center; -} -.flex_box_center_end___LrYPg { - 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___j7QNF { - flex-direction: column; - box-orient: block-axis; +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; } -.userPic___a46Uz { - width: 34px; - height: 34px; - border-radius: 34px; - cursor: pointer; +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; } -.rightMenu___y_nqk { - text-align: center; +.ant-checkbox-group-item { + margin-right: 6px; } -.rightMenu___y_nqk li { - padding: 0; +.ant-checkbox-group-item:last-child { + margin-right: 0; } -.rightMenu___y_nqk li:hover { - background: #0152d9; +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; } -.rightMenu___y_nqk li:hover a { - color: white; +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; } -.rightMenu___y_nqk li a { - font-size: 14px; - margin: 0; +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; } -.menuWrap___iwlZB li { - height: 35px; +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); } -.menuWrap___iwlZB li [class~='ant-dropdown-menu-title-content'] { - flex: none !important; +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; } -.menuWrap___iwlZB li a { - margin: 0px; - color: #323232; - text-align: left; - padding: 0px 15px; - line-height: 35px; +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; } -.exit___MOREW { - border-top: 1px solid #eeeeee; +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; } -.classromediv___crYsO { - width: 60px; - height: 50px; - display: flex; - align-items: center; - border-radius: 50px; +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/back-top/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-back-top { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: fixed; + right: 100px; + bottom: 50px; + z-index: 10; + width: 40px; + height: 40px; cursor: pointer; - animation: glow___jMGk7 200ms ease-out infinite alternate; } -@keyframes glow___jMGk7 { - 0% { - border-color: #00fff9; - text-align: center; - box-shadow: 0 0 5px rgba(0, 255, 249, 0.2); - } - 100% { - border-color: #00fff9; - text-align: center; - box-shadow: 0 0 8px rgba(0, 255, 249, 0.6); - } +.ant-back-top:empty { + display: none; } -.height67___asp2E { - height: 67px; +.ant-back-top-rtl { + right: auto; + left: 100px; + direction: rtl; } -.login___WGEW9 { - width: 90px; - height: 32px; - line-height: 32px; +.ant-back-top-content { + width: 40px; + height: 40px; + overflow: hidden; + color: #fff; text-align: center; - background: linear-gradient(135deg, #6c7bfd 0%, #3a45fa 100%); - border-radius: 2px; - cursor: pointer; - font-size: 14px; - color: #ffffff; + background-color: rgba(0, 0, 0, 0.45); + border-radius: 20px; + transition: all 0.3s; } -.login___WGEW9 > span { - padding: 0 !important; +.ant-back-top-content:hover { + background-color: rgba(0, 0, 0, 0.85); + transition: all 0.3s; } -.icon___HABAt { - font-size: 12px; - display: inline-block; - transform: translateY(3px) scale(0.6); - color: #979797; +.ant-back-top-icon { + font-size: 24px; + line-height: 40px; +} +@media screen and (max-width: 768px) { + .ant-back-top { + right: 60px; + } + .ant-back-top-rtl { + right: auto; + left: 60px; + } +} +@media screen and (max-width: 480px) { + .ant-back-top { + right: 20px; + } + .ant-back-top-rtl { + right: auto; + left: 20px; + } } /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/layouts/user/index.less ***! - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.register-footer { - white-space: pre; - color: #999; - font-size: 14px; - margin-top: 70px; - padding-bottom: 50px; - text-align: center; +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/carousel/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-carousel { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; } -.register-footer span { - font-size: 18px; +.ant-carousel .slick-slider { + position: relative; + display: block; + box-sizing: border-box; + touch-action: pan-y; + -webkit-touch-callout: none; + -webkit-tap-highlight-color: transparent; } -.register-panel { - width: 420px; - background: #ffffff; - box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.1); - border-radius: 8px; - padding: 0 26px 30px 26px; +.ant-carousel .slick-list { + position: relative; + display: block; + margin: 0; + padding: 0; + overflow: hidden; } -.register-panel input { - border-radius: 4px; - border: 1px solid #dddddd; +.ant-carousel .slick-list:focus { + outline: none; } -.register-panel button { - border-radius: 4px; +.ant-carousel .slick-list.dragging { + cursor: pointer; } -.register-panel .ant-form-item-explain { - line-height: 2; +.ant-carousel .slick-list .slick-slide { + pointer-events: none; } -.register-panel .ant-form-item { - margin-bottom: 20px; +.ant-carousel .slick-list .slick-slide input.ant-radio-input, +.ant-carousel .slick-list .slick-slide input.ant-checkbox-input { + visibility: hidden; } -.register-panel input:-internal-autofill-previewed, -.register-panel input:-internal-autofill-selected { - transition: background-color 5000s ease-in-out 0s !important; +.ant-carousel .slick-list .slick-slide.slick-active { + pointer-events: auto; } -.register-panel .ant-form-item-with-help { - margin-bottom: 0; +.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input, +.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input { + visibility: visible; } -.register-panel .service-terms .ant-form-item-control-input { - min-height: 10px; - line-height: 10px; +.ant-carousel .slick-list .slick-slide > div > div { + vertical-align: bottom; } -.register-container { - background: #eaf2ff; - min-height: 100vh; +.ant-carousel .slick-slider .slick-track, +.ant-carousel .slick-slider .slick-list { + transform: translate3d(0, 0, 0); + touch-action: pan-y; } -.register-container .navs { - list-style: none; - display: flex; - width: 100%; - flex-flow: row nowrap; - padding: 0; - margin: 0; - align-items: center; - font-size: 18px; - border-bottom: 1px solid #e8e8e8; - margin-bottom: 20px; +.ant-carousel .slick-track { + position: relative; + top: 0; + left: 0; + display: block; +} +.ant-carousel .slick-track::before, +.ant-carousel .slick-track::after { + display: table; + content: ''; } -.register-container .navs a { +.ant-carousel .slick-track::after { + clear: both; +} +.slick-loading .ant-carousel .slick-track { + visibility: hidden; +} +.ant-carousel .slick-slide { + display: none; + float: left; + height: 100%; + min-height: 1px; +} +.ant-carousel .slick-slide img { display: block; - line-height: 48px; - padding: 0 20px; - color: rgba(0, 0, 0, 0.65); - border-bottom: 2px solid transparent; -} -.register-container .navs a.active { - color: #0152d9; - border-bottom: 2px solid #0152d9; -} -.register-bg { - background: #eaf2ff url(./static/bg.9e08c4e7.png); - background-repeat: no-repeat; - background-size: cover; - background-position: 100% 100%; - height: 754px; - display: flex; - justify-content: center; - align-items: flex-start; - padding-top: 142px; } -.register-introduce { - width: 584px; - margin-right: 170px; +.ant-carousel .slick-slide.slick-loading img { + display: none; } -.register-introduce img { - width: 280px; +.ant-carousel .slick-slide.dragging img { + pointer-events: none; } -.register-introduce h4 { - font-size: 38px; - color: #ffffff; - margin-top: 32px; - margin-bottom: 28px; +.ant-carousel .slick-initialized .slick-slide { + display: block; } -.register-introduce p { - font-size: 20px; - color: #ffffff; - line-height: 45px; +.ant-carousel .slick-loading .slick-slide { + visibility: hidden; } -.register-nav { - display: flex; - height: 90px; - align-items: center; +.ant-carousel .slick-vertical .slick-slide { + display: block; + height: auto; } -.register-nav .nav-active { - color: #0152d9; +.ant-carousel .slick-arrow.slick-hidden { + display: none; } -.register-nav .nav-active:after { - content: ''; - width: 50%; - height: 2px; +.ant-carousel .slick-prev, +.ant-carousel .slick-next { position: absolute; - z-index: 2; - left: 50%; - transform: translateX(-50%); - bottom: -6px; - background-color: #0152d9; + top: 50%; + display: block; + width: 20px; + height: 20px; + margin-top: -10px; + padding: 0; + color: transparent; + font-size: 0; + line-height: 0; + background: transparent; + border: 0; + outline: none; + cursor: pointer; +} +.ant-carousel .slick-prev:hover, +.ant-carousel .slick-next:hover, +.ant-carousel .slick-prev:focus, +.ant-carousel .slick-next:focus { + color: transparent; + background: transparent; + outline: none; +} +.ant-carousel .slick-prev:hover::before, +.ant-carousel .slick-next:hover::before, +.ant-carousel .slick-prev:focus::before, +.ant-carousel .slick-next:focus::before { + opacity: 1; +} +.ant-carousel .slick-prev.slick-disabled::before, +.ant-carousel .slick-next.slick-disabled::before { + opacity: 0.25; +} +.ant-carousel .slick-prev { + left: -25px; +} +.ant-carousel .slick-prev::before { + content: '←'; +} +.ant-carousel .slick-next { + right: -25px; +} +.ant-carousel .slick-next::before { + content: '→'; +} +.ant-carousel .slick-dots { + position: absolute; + right: 0; + bottom: 0; + left: 0; + z-index: 15; + display: flex !important; + justify-content: center; + margin-right: 15%; + margin-bottom: 0; + margin-left: 15%; + padding-left: 0; + list-style: none; } -.register-nav div { +.ant-carousel .slick-dots-bottom { + bottom: 12px; +} +.ant-carousel .slick-dots-top { + top: 12px; + bottom: auto; +} +.ant-carousel .slick-dots li { position: relative; - margin-right: 42px; - font-size: 18px; - color: #888888; + display: inline-block; + flex: 0 1 auto; + box-sizing: content-box; + width: 16px; + height: 3px; + margin: 0 4px; + padding: 0; + text-align: center; + text-indent: -999px; + vertical-align: top; + transition: all 0.5s; +} +.ant-carousel .slick-dots li button { + position: relative; + display: block; + width: 100%; + height: 3px; + padding: 0; + color: transparent; + font-size: 0; + background: #fff; + border: 0; + border-radius: 1px; + outline: none; cursor: pointer; + opacity: 0.3; + transition: all 0.5s; } -@media screen and (max-width: 1550px) { - .register-bg { - padding-top: 62px; - } - .register-introduce img { - width: 240px; - margin-top: 80px; - } - .register-introduce h4 { - font-size: 34px; - margin-top: 22px; - margin-bottom: 20px; - } - .register-introduce p { - font-size: 18px; - line-height: 38px; - } +.ant-carousel .slick-dots li button:hover, +.ant-carousel .slick-dots li button:focus { + opacity: 0.75; +} +.ant-carousel .slick-dots li button::after { + position: absolute; + top: -4px; + right: -4px; + bottom: -4px; + left: -4px; + content: ''; +} +.ant-carousel .slick-dots li.slick-active { + width: 24px; +} +.ant-carousel .slick-dots li.slick-active button { + background: #fff; + opacity: 1; +} +.ant-carousel .slick-dots li.slick-active:hover, +.ant-carousel .slick-dots li.slick-active:focus { + opacity: 1; +} +.ant-carousel-vertical .slick-dots { + top: 50%; + bottom: auto; + flex-direction: column; + width: 3px; + height: auto; + margin: 0; + transform: translateY(-50%); +} +.ant-carousel-vertical .slick-dots-left { + right: auto; + left: 12px; +} +.ant-carousel-vertical .slick-dots-right { + right: 12px; + left: auto; +} +.ant-carousel-vertical .slick-dots li { + width: 3px; + height: 16px; + margin: 4px 0; + vertical-align: baseline; +} +.ant-carousel-vertical .slick-dots li button { + width: 3px; + height: 16px; +} +.ant-carousel-vertical .slick-dots li.slick-active { + width: 3px; + height: 24px; +} +.ant-carousel-vertical .slick-dots li.slick-active button { + width: 3px; + height: 24px; +} +.ant-carousel-rtl { + direction: rtl; +} +.ant-carousel-rtl .ant-carousel .slick-track { + right: 0; + left: auto; +} +.ant-carousel-rtl .ant-carousel .slick-prev { + right: -25px; + left: auto; +} +.ant-carousel-rtl .ant-carousel .slick-prev::before { + content: '→'; +} +.ant-carousel-rtl .ant-carousel .slick-next { + right: auto; + left: -25px; +} +.ant-carousel-rtl .ant-carousel .slick-next::before { + content: '←'; +} +.ant-carousel-rtl.ant-carousel .slick-dots { + flex-direction: row-reverse; +} +.ant-carousel-rtl.ant-carousel-vertical .slick-dots { + flex-direction: column; } /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ diff --git a/11417.async.js b/77093.async.js similarity index 83% rename from 11417.async.js rename to 77093.async.js index bc5139f716..94331273d5 100644 --- a/11417.async.js +++ b/77093.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[11417,42573,17400,45061,45886,92785,88975,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[77093,42573,29111,6812,45061,45886,92785,88975,99491,97141,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ @@ -332,6 +332,305 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 27049: diff --git a/68661.async.js b/77248.async.js similarity index 79% rename from 68661.async.js rename to 77248.async.js index 4818ae0894..344ae23cdc 100644 --- a/68661.async.js +++ b/77248.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[68661,42573,1264,29848,69245,88975,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[77248,42573,16346,95369,60887,6812,88975,99491,97141,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ @@ -411,6 +411,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: diff --git a/72230.async.js b/78843.async.js similarity index 80% rename from 72230.async.js rename to 78843.async.js index 55e2eba273..400ca1a39e 100644 --- a/72230.async.js +++ b/78843.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[72230,34180,4390,36579,56379,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[78843,34180,4390,36579,59295,23805,61437,21104],{ /***/ 26554: /*!*******************************************************************!*\ @@ -675,6 +675,303 @@ function getPlacements(config) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 27049: /*!***********************************************!*\ !*** ./node_modules/antd/es/divider/index.js ***! @@ -1620,6 +1917,195 @@ RightOutlined.displayName = 'RightOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 60057: /*!**********************************************************!*\ !*** ./node_modules/rc-dropdown/es/index.js + 3 modules ***! diff --git a/72230.chunk.css b/78843.chunk.css similarity index 90% rename from 72230.chunk.css rename to 78843.chunk.css index ae0cddb3bb..563cc9fc94 100644 --- a/72230.chunk.css +++ b/78843.chunk.css @@ -1533,6 +1533,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/form/style/index.less ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/47391.async.js b/78895.async.js similarity index 69% rename from 47391.async.js rename to 78895.async.js index 33ee3ca40d..3dd0aa4d76 100644 --- a/47391.async.js +++ b/78895.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[47391],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[78895],{ /***/ 63922: /*!*********************************************************!*\ @@ -439,6 +439,303 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 34041: diff --git a/794.async.js b/794.async.js index 42bd657a4d..49cbf4760d 100644 --- a/794.async.js +++ b/794.async.js @@ -942,6 +942,195 @@ var style = __webpack_require__(38390); // style dependencies +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/14628.async.js b/80280.async.js similarity index 79% rename from 14628.async.js rename to 80280.async.js index 377ac5c069..80dd7e481f 100644 --- a/14628.async.js +++ b/80280.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[14628,34180],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[80280,34180],{ /***/ 26554: /*!*******************************************************************!*\ @@ -309,6 +309,303 @@ function getPlacements(config) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 75008: /*!*********************************************************!*\ !*** ./node_modules/antd/es/input/index.js + 5 modules ***! @@ -1807,6 +2104,195 @@ RightOutlined.displayName = 'RightOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 43159: /*!**************************************************!*\ !*** ./node_modules/rc-tooltip/es/placements.js ***! diff --git a/14628.chunk.css b/80280.chunk.css similarity index 83% rename from 14628.chunk.css rename to 80280.chunk.css index ebf9463466..8e860e4a48 100644 --- a/14628.chunk.css +++ b/80280.chunk.css @@ -757,6 +757,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/carousel/style/index.less ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/81425.async.js b/81425.async.js index c2c496601d..2bb8435b82 100644 --- a/81425.async.js +++ b/81425.async.js @@ -442,6 +442,196 @@ var style_default = __webpack_require__(43146); /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 57761: /*!*********************************************************************!*\ !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! diff --git a/84169.async.js b/8280.async.js similarity index 86% rename from 84169.async.js rename to 8280.async.js index e7219ed6bd..2ddadc23dc 100644 --- a/84169.async.js +++ b/8280.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[84169,34180,25619,7303,79779],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[8280,34180,67921,25619,79779],{ /***/ 26554: /*!*******************************************************************!*\ @@ -410,6 +410,303 @@ var style = __webpack_require__(95985); // style dependencies +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: diff --git a/84169.chunk.css b/8280.chunk.css similarity index 82% rename from 84169.chunk.css rename to 8280.chunk.css index ee7155236e..1aaa37813e 100644 --- a/84169.chunk.css +++ b/8280.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/switch/style/index.less ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/24972.async.js b/83520.async.js similarity index 89% rename from 24972.async.js rename to 83520.async.js index 68a78a9711..20665a7933 100644 --- a/24972.async.js +++ b/83520.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[24972,36579,2282,11004,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[83520,36579,2282,53267,12819,46981,23805,61437],{ /***/ 5467: /*!**********************************************************!*\ @@ -21,6 +21,305 @@ function getDataOrAriaProps(props) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 13013: /*!************************************************!*\ !*** ./node_modules/antd/es/dropdown/index.js ***! @@ -5001,6 +5300,196 @@ module.exports.from = function (data) { } +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }), /***/ 74300: diff --git a/24972.chunk.css b/83520.chunk.css similarity index 91% rename from 24972.chunk.css rename to 83520.chunk.css index 8b6b64324f..17d31490f7 100644 --- a/24972.chunk.css +++ b/83520.chunk.css @@ -1046,6 +1046,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/time-picker/style/index.less ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/84567.async.js b/84567.async.js index 3c81d72872..7acb9ad06d 100644 --- a/84567.async.js +++ b/84567.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[84567,95112,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[84567],{ /***/ 7918: /*!******************************************************************************!*\ diff --git a/88551.async.js b/84685.async.js similarity index 68% rename from 88551.async.js rename to 84685.async.js index f53389e1b9..89cb1cacb6 100644 --- a/88551.async.js +++ b/84685.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[88551],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[84685],{ /***/ 31662: /*!************************************************************************!*\ @@ -28,30 +28,300 @@ CloseCircleOutlined.displayName = 'CloseCircleOutlined'; /***/ }), -/***/ 87588: -/*!******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***! - \******************************************************************************/ +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js -var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); + + +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; }; -ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined)); + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form /***/ }), diff --git a/84685.chunk.css b/84685.chunk.css new file mode 100644 index 0000000000..752aa227bd --- /dev/null +++ b/84685.chunk.css @@ -0,0 +1,1024 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/pagination/style/index.less ***! + \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-pagination { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; +} +.ant-pagination ul, +.ant-pagination ol { + margin: 0; + padding: 0; + list-style: none; +} +.ant-pagination::after { + display: block; + clear: both; + height: 0; + overflow: hidden; + visibility: hidden; + content: ' '; +} +.ant-pagination-total-text { + display: inline-block; + height: 28px; + margin-right: 8px; + line-height: 26px; + vertical-align: middle; +} +.ant-pagination-item { + display: inline-block; + min-width: 28px; + height: 28px; + margin-right: 8px; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; + line-height: 26px; + text-align: center; + vertical-align: middle; + list-style: none; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + outline: 0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.ant-pagination-item a { + display: block; + padding: 0 6px; + color: rgba(0, 0, 0, 0.85); + transition: none; +} +.ant-pagination-item a:hover { + text-decoration: none; +} +.ant-pagination-item:hover { + border-color: #3061D0; + transition: all 0.3s; +} +.ant-pagination-item:hover a { + color: #3061D0; +} +.ant-pagination-item:focus-visible { + border-color: #3061D0; + transition: all 0.3s; +} +.ant-pagination-item:focus-visible a { + color: #3061D0; +} +.ant-pagination-item-active { + font-weight: 500; + background: #fff; + border-color: #3061D0; +} +.ant-pagination-item-active a { + color: #3061D0; +} +.ant-pagination-item-active:hover { + border-color: #5784de; +} +.ant-pagination-item-active:focus-visible { + border-color: #5784de; +} +.ant-pagination-item-active:hover a { + color: #5784de; +} +.ant-pagination-item-active:focus-visible a { + color: #5784de; +} +.ant-pagination-jump-prev, +.ant-pagination-jump-next { + outline: 0; +} +.ant-pagination-jump-prev .ant-pagination-item-container, +.ant-pagination-jump-next .ant-pagination-item-container { + position: relative; +} +.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon, +.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon { + color: #3061D0; + font-size: 12px; + letter-spacing: -1px; + opacity: 0; + transition: all 0.2s; +} +.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg, +.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg { + top: 0; + right: 0; + bottom: 0; + left: 0; + margin: auto; +} +.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis, +.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + display: block; + margin: auto; + color: rgba(0, 0, 0, 0.25); + font-family: Arial, Helvetica, sans-serif; + letter-spacing: 2px; + text-align: center; + text-indent: 0.13em; + opacity: 1; + transition: all 0.2s; +} +.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon, +.ant-pagination-jump-next:hover .ant-pagination-item-link-icon { + opacity: 1; +} +.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis, +.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis { + opacity: 0; +} +.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon, +.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon { + opacity: 1; +} +.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis, +.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis { + opacity: 0; +} +.ant-pagination-prev, +.ant-pagination-jump-prev, +.ant-pagination-jump-next { + margin-right: 8px; +} +.ant-pagination-prev, +.ant-pagination-next, +.ant-pagination-jump-prev, +.ant-pagination-jump-next { + display: inline-block; + min-width: 28px; + height: 28px; + color: rgba(0, 0, 0, 0.85); + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; + line-height: 28px; + text-align: center; + vertical-align: middle; + list-style: none; + border-radius: 2px; + cursor: pointer; + transition: all 0.3s; +} +.ant-pagination-prev, +.ant-pagination-next { + font-family: Arial, Helvetica, sans-serif; + outline: 0; +} +.ant-pagination-prev button, +.ant-pagination-next button { + color: rgba(0, 0, 0, 0.85); + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.ant-pagination-prev:hover button, +.ant-pagination-next:hover button { + border-color: #5784de; +} +.ant-pagination-prev .ant-pagination-item-link, +.ant-pagination-next .ant-pagination-item-link { + display: block; + width: 100%; + height: 100%; + padding: 0; + font-size: 12px; + text-align: center; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + outline: none; + transition: all 0.3s; +} +.ant-pagination-prev:focus-visible .ant-pagination-item-link, +.ant-pagination-next:focus-visible .ant-pagination-item-link { + color: #3061D0; + border-color: #3061D0; +} +.ant-pagination-prev:hover .ant-pagination-item-link, +.ant-pagination-next:hover .ant-pagination-item-link { + color: #3061D0; + border-color: #3061D0; +} +.ant-pagination-disabled, +.ant-pagination-disabled:hover { + cursor: not-allowed; +} +.ant-pagination-disabled .ant-pagination-item-link, +.ant-pagination-disabled:hover .ant-pagination-item-link { + color: rgba(0, 0, 0, 0.25); + border-color: #d9d9d9; + cursor: not-allowed; +} +.ant-pagination-disabled:focus-visible { + cursor: not-allowed; +} +.ant-pagination-disabled:focus-visible .ant-pagination-item-link { + color: rgba(0, 0, 0, 0.25); + border-color: #d9d9d9; + cursor: not-allowed; +} +.ant-pagination-slash { + margin: 0 10px 0 5px; +} +.ant-pagination-options { + display: inline-block; + margin-left: 16px; + vertical-align: middle; +} +@media all and (-ms-high-contrast: none) { + .ant-pagination-options *::-ms-backdrop, + .ant-pagination-options { + vertical-align: top; + } +} +.ant-pagination-options-size-changer.ant-select { + display: inline-block; + width: auto; +} +.ant-pagination-options-quick-jumper { + display: inline-block; + height: 28px; + margin-left: 4px; + line-height: 28px; + vertical-align: top; +} +.ant-pagination-options-quick-jumper input { + position: relative; + display: inline-block; + width: 100%; + min-width: 0; + padding: 3px 7px; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + line-height: 1.66667; + background-color: #fff; + background-image: none; + border: 1px solid #d9d9d9; + border-radius: 2px; + transition: all 0.3s; + width: 50px; + height: 28px; + margin: 0 8px; +} +.ant-pagination-options-quick-jumper input::-webkit-input-placeholder { + color: #bfbfbf; + -webkit-user-select: none; + user-select: none; +} +.ant-pagination-options-quick-jumper input:-ms-input-placeholder { + color: #bfbfbf; + -ms-user-select: none; + user-select: none; +} +.ant-pagination-options-quick-jumper input::-ms-input-placeholder { + color: #bfbfbf; + -ms-user-select: none; + user-select: none; +} +.ant-pagination-options-quick-jumper input::placeholder { + color: #bfbfbf; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.ant-pagination-options-quick-jumper input:-ms-input-placeholder { + text-overflow: ellipsis; +} +.ant-pagination-options-quick-jumper input:placeholder-shown { + text-overflow: ellipsis; +} +.ant-pagination-options-quick-jumper input:hover { + border-color: #5784de; + border-right-width: 1px; +} +.ant-pagination-options-quick-jumper input:focus, +.ant-pagination-options-quick-jumper input-focused { + border-color: #5784de; + box-shadow: 0 0 0 2px rgba(48, 97, 208, 0.2); + border-right-width: 1px; + outline: 0; +} +.ant-pagination-options-quick-jumper input-disabled { + color: rgba(0, 0, 0, 0.25); + background-color: #f5f5f5; + border-color: #d9d9d9; + box-shadow: none; + cursor: not-allowed; + opacity: 1; +} +.ant-pagination-options-quick-jumper input-disabled:hover { + border-color: #d9d9d9; + border-right-width: 1px; +} +.ant-pagination-options-quick-jumper input[disabled] { + color: rgba(0, 0, 0, 0.25); + background-color: #f5f5f5; + border-color: #d9d9d9; + box-shadow: none; + cursor: not-allowed; + opacity: 1; +} +.ant-pagination-options-quick-jumper input[disabled]:hover { + border-color: #d9d9d9; + border-right-width: 1px; +} +.ant-pagination-options-quick-jumper input-borderless, +.ant-pagination-options-quick-jumper input-borderless:hover, +.ant-pagination-options-quick-jumper input-borderless:focus, +.ant-pagination-options-quick-jumper input-borderless-focused, +.ant-pagination-options-quick-jumper input-borderless-disabled, +.ant-pagination-options-quick-jumper input-borderless[disabled] { + background-color: transparent; + border: none; + box-shadow: none; +} +textarea.ant-pagination-options-quick-jumper input { + max-width: 100%; + height: auto; + min-height: 28px; + line-height: 1.66667; + vertical-align: bottom; + transition: all 0.3s, height 0s; +} +.ant-pagination-options-quick-jumper input-lg { + padding: 3.4px 11px; + font-size: 14px; +} +.ant-pagination-options-quick-jumper input-sm { + padding: 0px 7px; +} +.ant-pagination-simple .ant-pagination-prev, +.ant-pagination-simple .ant-pagination-next { + height: 22px; + line-height: 22px; + vertical-align: top; +} +.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link, +.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link { + height: 22px; + background-color: transparent; + border: 0; +} +.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link::after, +.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link::after { + height: 22px; + line-height: 22px; +} +.ant-pagination-simple .ant-pagination-simple-pager { + display: inline-block; + height: 22px; + margin-right: 8px; +} +.ant-pagination-simple .ant-pagination-simple-pager input { + box-sizing: border-box; + height: 100%; + margin-right: 8px; + padding: 0 6px; + text-align: center; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + outline: none; + transition: border-color 0.3s; +} +.ant-pagination-simple .ant-pagination-simple-pager input:hover { + border-color: #3061D0; +} +.ant-pagination-simple .ant-pagination-simple-pager input:focus { + border-color: #5784de; + box-shadow: 0 0 0 2px rgba(48, 97, 208, 0.2); +} +.ant-pagination-simple .ant-pagination-simple-pager input[disabled] { + color: rgba(0, 0, 0, 0.25); + background: #f5f5f5; + border-color: #d9d9d9; + cursor: not-allowed; +} +.ant-pagination.ant-pagination-mini .ant-pagination-total-text, +.ant-pagination.ant-pagination-mini .ant-pagination-simple-pager { + height: 22px; + line-height: 22px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-item { + min-width: 22px; + height: 22px; + margin: 0; + line-height: 20px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-item:not(.ant-pagination-item-active) { + background: transparent; + border-color: transparent; +} +.ant-pagination.ant-pagination-mini .ant-pagination-prev, +.ant-pagination.ant-pagination-mini .ant-pagination-next { + min-width: 22px; + height: 22px; + margin: 0; + line-height: 22px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link, +.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link { + background: transparent; + border-color: transparent; +} +.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link::after, +.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link::after { + height: 22px; + line-height: 22px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-jump-prev, +.ant-pagination.ant-pagination-mini .ant-pagination-jump-next { + height: 22px; + margin-right: 0; + line-height: 22px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-options { + margin-left: 2px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-options-size-changer { + top: 1px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper { + height: 22px; + line-height: 22px; +} +.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper input { + padding: 0px 7px; + width: 44px; + height: 22px; +} +.ant-pagination.ant-pagination-disabled { + cursor: not-allowed; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item { + background: #f5f5f5; + border-color: #d9d9d9; + cursor: not-allowed; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item a { + color: rgba(0, 0, 0, 0.25); + background: transparent; + border: none; + cursor: not-allowed; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item-active { + background: #e6e6e6; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a { + color: rgba(0, 0, 0, 0.25); +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item-link { + color: rgba(0, 0, 0, 0.25); + background: #f5f5f5; + border-color: #d9d9d9; + cursor: not-allowed; +} +.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link { + background: transparent; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon { + opacity: 0; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis { + opacity: 1; +} +.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager { + color: rgba(0, 0, 0, 0.25); +} +@media only screen and (max-width: 992px) { + .ant-pagination-item-after-jump-prev, + .ant-pagination-item-before-jump-next { + display: none; + } +} +@media only screen and (max-width: 576px) { + .ant-pagination-options { + display: none; + } +} +.ant-pagination-rtl .ant-pagination-total-text { + margin-right: 0; + margin-left: 8px; +} +.ant-pagination-rtl .ant-pagination-item, +.ant-pagination-rtl .ant-pagination-prev, +.ant-pagination-rtl .ant-pagination-jump-prev, +.ant-pagination-rtl .ant-pagination-jump-next { + margin-right: 0; + margin-left: 8px; +} +.ant-pagination-rtl .ant-pagination-slash { + margin: 0 5px 0 10px; +} +.ant-pagination-rtl .ant-pagination-options { + margin-right: 16px; + margin-left: 0; +} +.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select { + margin-right: 0; + margin-left: 8px; +} +.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper { + margin-left: 0; +} +.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager { + margin-right: 0; + margin-left: 8px; +} +.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input { + margin-right: 0; + margin-left: 8px; +} +.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options { + margin-right: 2px; + margin-left: 0; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/divider/style/index.less ***! + \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-divider { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + border-top: 1px solid rgba(0, 0, 0, 0.06); +} +.ant-divider-vertical { + position: relative; + top: -0.06em; + display: inline-block; + height: 0.9em; + margin: 0 8px; + vertical-align: middle; + border-top: 0; + border-left: 1px solid rgba(0, 0, 0, 0.06); +} +.ant-divider-horizontal { + display: flex; + clear: both; + width: 100%; + min-width: 100%; + margin: 24px 0; +} +.ant-divider-horizontal.ant-divider-with-text { + display: flex; + align-items: center; + margin: 16px 0; + color: rgba(0, 0, 0, 0.85); + font-weight: 500; + font-size: 14px; + white-space: nowrap; + text-align: center; + border-top: 0; + border-top-color: rgba(0, 0, 0, 0.06); +} +.ant-divider-horizontal.ant-divider-with-text::before, +.ant-divider-horizontal.ant-divider-with-text::after { + position: relative; + width: 50%; + border-top: 1px solid transparent; + border-top-color: inherit; + border-bottom: 0; + transform: translateY(50%); + content: ''; +} +.ant-divider-horizontal.ant-divider-with-text-left::before { + width: 5%; +} +.ant-divider-horizontal.ant-divider-with-text-left::after { + width: 95%; +} +.ant-divider-horizontal.ant-divider-with-text-right::before { + width: 95%; +} +.ant-divider-horizontal.ant-divider-with-text-right::after { + width: 5%; +} +.ant-divider-inner-text { + display: inline-block; + padding: 0 1em; +} +.ant-divider-dashed { + background: none; + border-color: rgba(0, 0, 0, 0.06); + border-style: dashed; + border-width: 1px 0 0; +} +.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::before, +.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::after { + border-style: dashed none none; +} +.ant-divider-vertical.ant-divider-dashed { + border-width: 0 0 0 1px; +} +.ant-divider-plain.ant-divider-with-text { + color: rgba(0, 0, 0, 0.85); + font-weight: normal; + font-size: 12px; +} +.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::before { + width: 0; +} +.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::after { + width: 100%; +} +.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text { + padding-left: 0; +} +.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::before { + width: 100%; +} +.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::after { + width: 0; +} +.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text { + padding-right: 0; +} +.ant-divider-rtl { + direction: rtl; +} +.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::before { + width: 95%; +} +.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::after { + width: 5%; +} +.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::before { + width: 5%; +} +.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after { + width: 95%; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/rate/style/index.less ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-rate { + box-sizing: border-box; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + font-feature-settings: tnum, "tnum"; + display: inline-block; + margin: 0; + padding: 0; + color: #fadb14; + font-size: 16px; + line-height: inherit; + list-style: none; + outline: none; +} +.ant-rate-disabled .ant-rate-star { + cursor: default; +} +.ant-rate-disabled .ant-rate-star > div:hover { + transform: scale(1); +} +.ant-rate-star { + position: relative; + display: inline-block; + color: inherit; + cursor: pointer; +} +.ant-rate-star:not(:last-child) { + margin-right: 8px; +} +.ant-rate-star > div { + transition: all 0.3s, outline 0s; +} +.ant-rate-star > div:hover { + transform: scale(1.1); +} +.ant-rate-star > div:focus { + outline: 0; +} +.ant-rate-star > div:focus-visible { + outline: 1px dashed #fadb14; + transform: scale(1.1); +} +.ant-rate-star-first, +.ant-rate-star-second { + color: #f0f0f0; + transition: all 0.3s; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.ant-rate-star-first .anticon, +.ant-rate-star-second .anticon { + vertical-align: middle; +} +.ant-rate-star-first { + position: absolute; + top: 0; + left: 0; + width: 50%; + height: 100%; + overflow: hidden; + opacity: 0; +} +.ant-rate-star-half .ant-rate-star-first, +.ant-rate-star-half .ant-rate-star-second { + opacity: 1; +} +.ant-rate-star-half .ant-rate-star-first, +.ant-rate-star-full .ant-rate-star-second { + color: inherit; +} +.ant-rate-text { + display: inline-block; + margin: 0 8px; + font-size: 12px; +} +.ant-rate-rtl { + direction: rtl; +} +.ant-rate-rtl .ant-rate-star:not(:last-child) { + margin-right: 0; + margin-left: 8px; +} +.ant-rate-rtl .ant-rate-star-first { + right: 0; + left: auto; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/87075.async.js b/87075.async.js index fe88d1409e..405e809902 100644 --- a/87075.async.js +++ b/87075.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[87075,35449],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[87075,35449,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1256,6 +1256,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/87388.async.js b/87388.async.js index 5902e773ab..003d62387c 100644 --- a/87388.async.js +++ b/87388.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[87388,42573,95946,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[87388,42573,95946],{ /***/ 58492: /*!**************************************************************!*\ diff --git a/88092.async.js b/88092.async.js index 075c083334..c1959129d3 100644 --- a/88092.async.js +++ b/88092.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[88092,42573,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[88092,42573,95946,87388],{ /***/ 57838: /*!************************************************************!*\ diff --git a/88975.async.js b/88975.async.js index 57989e6eb4..1a9c657b5f 100644 --- a/88975.async.js +++ b/88975.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[88975,42573,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[88975,42573,99491,97141,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ diff --git a/59289.async.js b/89106.async.js similarity index 99% rename from 59289.async.js rename to 89106.async.js index ff3d8bce3e..0c54e14c29 100644 --- a/59289.async.js +++ b/89106.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[59289,27318],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[89106,27318],{ /***/ 50756: /*!********************************************************************!*\ diff --git a/59289.chunk.css b/89106.chunk.css similarity index 85% rename from 59289.chunk.css rename to 89106.chunk.css index 787f9f2d77..57e46939a8 100644 --- a/59289.chunk.css +++ b/89106.chunk.css @@ -333,6 +333,238 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/badge/style/index.less ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/41880.async.js b/8930.async.js similarity index 84% rename from 41880.async.js rename to 8930.async.js index edce3aa6db..36f21fb683 100644 --- a/41880.async.js +++ b/8930.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[41880,23316,42573,92785,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[8930,42573,92785,95946,87388],{ /***/ 64789: /*!***********************************************************************************!*\ @@ -42,26 +42,6 @@ PlusCircleOutlined_PlusCircleOutlined.displayName = 'PlusCircleOutlined'; /***/ }), -/***/ 5467: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } -/* harmony export */ }); -function getDataOrAriaProps(props) { - return Object.keys(props).reduce(function (prev, key) { - if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { - prev[key] = props[key]; - } - return prev; - }, {}); -} - -/***/ }), - /***/ 58492: /*!**************************************************************!*\ !*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***! @@ -325,6 +305,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 27049: @@ -788,290 +1065,6 @@ input_Input.Password = input_Password; /***/ }), -/***/ 29924: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "ZP": function() { return /* binding */ es_radio; } -}); - -// UNUSED EXPORTS: Button, Group - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(21770); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js -var getDataOrAriaProps = __webpack_require__(5467); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js - -var RadioGroupContext = /*#__PURE__*/react.createContext(null); -var RadioGroupContextProvider = RadioGroupContext.Provider; -/* harmony default export */ var radio_context = (RadioGroupContext); -var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); -var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; -// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js -var es = __webpack_require__(50132); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js -var DisabledContext = __webpack_require__(98866); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var InternalRadio = function InternalRadio(props, ref) { - var _classNames; - var groupContext = react.useContext(radio_context); - var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var innerRef = react.useRef(); - var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); - var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), - isFormItemInput = _useContext.isFormItemInput; - false ? 0 : void 0; - var onChange = function onChange(e) { - var _a, _b; - (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); - (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); - }; - var customizePrefixCls = props.prefixCls, - className = props.className, - children = props.children, - style = props.style, - customDisabled = props.disabled, - restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); - var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); - var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; - var radioProps = (0,esm_extends/* default */.Z)({}, restProps); - // ===================== Disabled ===================== - var disabled = react.useContext(DisabledContext/* default */.Z); - radioProps.disabled = customDisabled || disabled; - if (groupContext) { - radioProps.name = groupContext.name; - radioProps.onChange = onChange; - radioProps.checked = props.value === groupContext.value; - radioProps.disabled = radioProps.disabled || groupContext.disabled; - } - var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); - return ( - /*#__PURE__*/ - // eslint-disable-next-line jsx-a11y/label-has-associated-control - react.createElement("label", { - className: wrapperClassString, - style: style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave - }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { - type: "radio", - prefixCls: prefixCls, - ref: mergedRef - })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) - ); -}; -var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); -if (false) {} -/* harmony default export */ var radio_radio = (Radio); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js - - - - - - - - - - - -var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var size = react.useContext(SizeContext/* default */.Z); - var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { - value: props.value - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - value = _useMergedState2[0], - setValue = _useMergedState2[1]; - var onRadioChange = function onRadioChange(ev) { - var lastValue = value; - var val = ev.target.value; - if (!('value' in props)) { - setValue(val); - } - var onChange = props.onChange; - if (onChange && val !== lastValue) { - onChange(ev); - } - }; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className, - options = props.options, - _props$buttonStyle = props.buttonStyle, - buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, - disabled = props.disabled, - children = props.children, - customizeSize = props.size, - style = props.style, - id = props.id, - onMouseEnter = props.onMouseEnter, - onMouseLeave = props.onMouseLeave, - onFocus = props.onFocus, - onBlur = props.onBlur; - var prefixCls = getPrefixCls('radio', customizePrefixCls); - var groupPrefixCls = "".concat(prefixCls, "-group"); - var childrenToRender = children; - // 如果存在 options, 优先使用 - if (options && options.length > 0) { - childrenToRender = options.map(function (option) { - if (typeof option === 'string' || typeof option === 'number') { - // 此处类型自动推导为 string - return /*#__PURE__*/react.createElement(radio_radio, { - key: option.toString(), - prefixCls: prefixCls, - disabled: disabled, - value: option, - checked: value === option - }, option); - } - // 此处类型自动推导为 { label: string value: string } - return /*#__PURE__*/react.createElement(radio_radio, { - key: "radio-group-value-options-".concat(option.value), - prefixCls: prefixCls, - disabled: option.disabled || disabled, - value: option.value, - checked: value === option.value, - style: option.style - }, option.label); - }); - } - var mergedSize = customizeSize || size; - var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { - className: classString, - style: style, - onMouseEnter: onMouseEnter, - onMouseLeave: onMouseLeave, - onFocus: onFocus, - onBlur: onBlur, - id: id, - ref: ref - }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { - value: { - onChange: onRadioChange, - value: value, - disabled: props.disabled, - name: props.name, - optionType: props.optionType - } - }, childrenToRender)); -}); -/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js - -var radioButton_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - -var RadioButton = function RadioButton(props, ref) { - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var customizePrefixCls = props.prefixCls, - radioProps = radioButton_rest(props, ["prefixCls"]); - var prefixCls = getPrefixCls('radio', customizePrefixCls); - return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { - value: "button" - }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ - prefixCls: prefixCls - }, radioProps, { - type: "radio", - ref: ref - }))); -}; -/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js - - - - -var radio_Radio = radio_radio; -radio_Radio.Button = radioButton; -radio_Radio.Group = group; -radio_Radio.__ANT_RADIO = true; -/* harmony default export */ var es_radio = (radio_Radio); - -/***/ }), - -/***/ 83822: -/*!***************************************************************!*\ - !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js - - -// deps-lint-skip: form - -/***/ }), - /***/ 34041: /*!**********************************************!*\ !*** ./node_modules/antd/es/select/index.js ***! diff --git a/92785.async.js b/92785.async.js index ad0256d07e..4bcfef250b 100644 --- a/92785.async.js +++ b/92785.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[92785,42573,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[92785,42573,95946,87388],{ /***/ 58492: /*!**************************************************************!*\ diff --git a/93291.async.js b/93291.async.js index 1bd0354c8b..539894f1d4 100644 --- a/93291.async.js +++ b/93291.async.js @@ -1087,6 +1087,195 @@ SearchOutlined.displayName = 'SearchOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 34243: /*!**********************************************************!*\ !*** ./node_modules/rc-overflow/es/index.js + 4 modules ***! diff --git a/94512.async.js b/94512.async.js deleted file mode 100644 index 1775cf1873..0000000000 --- a/94512.async.js +++ /dev/null @@ -1,879 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[94512,42573,88092,95946,87388,69771],{ - -/***/ 57838: -/*!************************************************************!*\ - !*** ./node_modules/antd/es/_util/hooks/useForceUpdate.js ***! - \************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ useForceUpdate; } -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ 97685); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); - - -function useForceUpdate() { - var _React$useReducer = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(function (x) { - return x + 1; - }, 0), - _React$useReducer2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_React$useReducer, 2), - forceUpdate = _React$useReducer2[1]; - return forceUpdate; -} - -/***/ }), - -/***/ 58492: -/*!**************************************************************!*\ - !*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***! - \**************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ breadcrumb; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(74902); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js -var toArray = __webpack_require__(50344); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules -var menu = __webpack_require__(66516); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js -var reactNode = __webpack_require__(96159); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js -var DownOutlined = __webpack_require__(13622); -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules -var dropdown = __webpack_require__(18562); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - -var BreadcrumbItem = function BreadcrumbItem(props) { - var customizePrefixCls = props.prefixCls, - _props$separator = props.separator, - separator = _props$separator === void 0 ? '/' : _props$separator, - children = props.children, - menu = props.menu, - overlay = props.overlay, - dropdownProps = props.dropdownProps, - restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); - // Warning for deprecated usage - if (false) {} - /** If overlay is have Wrap a Dropdown */ - var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) { - if (menu || overlay) { - return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({ - menu: menu, - overlay: overlay, - placement: "bottom" - }, dropdownProps), /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-overlay-link") - }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); - } - return breadcrumbItem; - }; - var link; - if ('href' in restProps) { - link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({ - className: "".concat(prefixCls, "-link") - }, restProps), children); - } else { - link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ - className: "".concat(prefixCls, "-link") - }, restProps), children); - } - // wrap to dropDown - link = renderBreadcrumbNode(link); - if (children !== undefined && children !== null) { - return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-separator") - }, separator)); - } - return null; -}; -BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; -/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js - - -var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) { - var children = _ref.children; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('breadcrumb'); - return /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-separator") - }, children || '/'); -}; -BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; -/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js - - - -var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - -function getBreadcrumbName(route, params) { - if (!route.breadcrumbName) { - return null; - } - var paramsKeys = Object.keys(params).join('|'); - var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) { - return params[key] || replacement; - }); - return name; -} -function defaultItemRender(route, params, routes, paths) { - var isLastItem = routes.indexOf(route) === routes.length - 1; - var name = getBreadcrumbName(route, params); - return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", { - href: "#/".concat(paths.join('/')) - }, name); -} -var getPath = function getPath(path, params) { - path = (path || '').replace(/^\//, ''); - Object.keys(params).forEach(function (key) { - path = path.replace(":".concat(key), params[key]); - }); - return path; -}; -var addChildPath = function addChildPath(paths, childPath, params) { - var originalPaths = (0,toConsumableArray/* default */.Z)(paths); - var path = getPath(childPath || '', params); - if (path) { - originalPaths.push(path); - } - return originalPaths; -}; -var Breadcrumb = function Breadcrumb(_a) { - var customizePrefixCls = _a.prefixCls, - _a$separator = _a.separator, - separator = _a$separator === void 0 ? '/' : _a$separator, - style = _a.style, - className = _a.className, - routes = _a.routes, - children = _a.children, - _a$itemRender = _a.itemRender, - itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender, - _a$params = _a.params, - params = _a$params === void 0 ? {} : _a$params, - restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var crumbs; - var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); - if (routes && routes.length > 0) { - // generated by route - var paths = []; - crumbs = routes.map(function (route) { - var path = getPath(route.path, params); - if (path) { - paths.push(path); - } - // generated overlay by route.children - var overlay; - if (route.children && route.children.length) { - overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, { - items: route.children.map(function (child) { - return { - key: child.path || child.breadcrumbName, - label: itemRender(child, params, routes, addChildPath(paths, child.path, params)) - }; - }) - }); - } - var itemProps = { - separator: separator - }; - if (overlay) { - itemProps.overlay = overlay; - } - return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, { - key: path || route.breadcrumbName - }), itemRender(route, params, routes, paths)); - }); - } else if (children) { - crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) { - if (!element) { - return element; - } - false ? 0 : void 0; - return (0,reactNode/* cloneElement */.Tm)(element, { - separator: separator, - key: index - }); - }); - } - var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className); - return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({ - className: breadcrumbClassName, - style: style - }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs)); -}; -Breadcrumb.Item = breadcrumb_BreadcrumbItem; -Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; -/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js - -/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); - -/***/ }), - -/***/ 63102: -/*!********************************************************************!*\ - !*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***! - \********************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules -var style = __webpack_require__(68018); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules -var menu_style = __webpack_require__(83736); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js - - -// style dependencies - - - -/***/ }), - -/***/ 75008: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/input/index.js + 5 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ input; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js - - - - - - - -var Group = function Group(props) { - var _classNames; - var _useContext = (0,react.useContext)(context/* ConfigContext */.E_), - getPrefixCls = _useContext.getPrefixCls, - direction = _useContext.direction; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className; - var prefixCls = getPrefixCls('input-group', customizePrefixCls); - var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), props.size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), props.size === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-compact"), props.compact), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - var formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); - var groupFormItemContext = (0,react.useMemo)(function () { - return (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, formItemContext), { - isFormItemInput: false - }); - }, [formItemContext]); - return /*#__PURE__*/react.createElement("span", { - className: cls, - style: props.style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave, - onFocus: props.onFocus, - onBlur: props.onBlur - }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { - value: groupFormItemContext - }, props.children)); -}; -/* harmony default export */ var input_Group = (Group); -// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules -var Input = __webpack_require__(82586); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(71002); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js -// This icon file is generated automatically. -var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; -/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); - -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(93771); -;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_EyeInvisibleOutlined - })); -}; -EyeInvisibleOutlined_EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined'; -/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules -var EyeOutlined = __webpack_require__(7124); -// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js -var omit = __webpack_require__(98423); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js -var useRemovePasswordTimeout = __webpack_require__(72922); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js - - - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var defaultIconRender = function defaultIconRender(visible) { - return visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); -}; -var ActionMap = { - click: 'onClick', - hover: 'onMouseOver' -}; -var Password = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _props$visibilityTogg = props.visibilityToggle, - visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg; - var visibilityControlled = (0,esm_typeof/* default */.Z)(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined; - var _useState = (0,react.useState)(function () { - return visibilityControlled ? visibilityToggle.visible : false; - }), - _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), - visible = _useState2[0], - setVisible = _useState2[1]; - var inputRef = (0,react.useRef)(null); - react.useEffect(function () { - if (visibilityControlled) { - setVisible(visibilityToggle.visible); - } - }, [visibilityControlled, visibilityToggle]); - // Remove Password value - var removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); - var onVisibleChange = function onVisibleChange() { - var disabled = props.disabled; - if (disabled) { - return; - } - if (visible) { - removePasswordTimeout(); - } - setVisible(function (prevState) { - var _a; - var newState = !prevState; - if ((0,esm_typeof/* default */.Z)(visibilityToggle) === 'object') { - (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); - } - return newState; - }); - }; - var getIcon = function getIcon(prefixCls) { - var _iconProps; - var _props$action = props.action, - action = _props$action === void 0 ? 'click' : _props$action, - _props$iconRender = props.iconRender, - iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender; - var iconTrigger = ActionMap[action] || ''; - var icon = iconRender(visible); - var iconProps = (_iconProps = {}, (0,defineProperty/* default */.Z)(_iconProps, iconTrigger, onVisibleChange), (0,defineProperty/* default */.Z)(_iconProps, "className", "".concat(prefixCls, "-icon")), (0,defineProperty/* default */.Z)(_iconProps, "key", 'passwordIcon'), (0,defineProperty/* default */.Z)(_iconProps, "onMouseDown", function onMouseDown(e) { - // Prevent focused state lost - // https://github.com/ant-design/ant-design/issues/15173 - e.preventDefault(); - }), (0,defineProperty/* default */.Z)(_iconProps, "onMouseUp", function onMouseUp(e) { - // Prevent caret position change - // https://github.com/ant-design/ant-design/issues/23524 - e.preventDefault(); - }), _iconProps); - return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); - }; - var renderPassword = function renderPassword(_ref) { - var getPrefixCls = _ref.getPrefixCls; - var className = props.className, - customizePrefixCls = props.prefixCls, - customizeInputPrefixCls = props.inputPrefixCls, - size = props.size, - restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); - var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); - var prefixCls = getPrefixCls('input-password', customizePrefixCls); - var suffixIcon = visibilityToggle && getIcon(prefixCls); - var inputClassName = classnames_default()(prefixCls, className, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-").concat(size), !!size)); - var omittedProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { - type: visible ? 'text' : 'password', - className: inputClassName, - prefixCls: inputPrefixCls, - suffix: suffixIcon - }); - if (size) { - omittedProps.size = size; - } - return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ - ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) - }, omittedProps)); - }; - return /*#__PURE__*/react.createElement(context/* ConfigConsumer */.C, null, renderPassword); -}); -if (false) {} -/* harmony default export */ var input_Password = (Password); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js -var SearchOutlined = __webpack_require__(25783); -// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js -var es_button = __webpack_require__(71577); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js -var Compact = __webpack_require__(4173); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js -var reactNode = __webpack_require__(96159); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js - - -var Search_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var Search = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var customizePrefixCls = props.prefixCls, - customizeInputPrefixCls = props.inputPrefixCls, - className = props.className, - customizeSize = props.size, - suffix = props.suffix, - _props$enterButton = props.enterButton, - enterButton = _props$enterButton === void 0 ? false : _props$enterButton, - addonAfter = props.addonAfter, - loading = props.loading, - disabled = props.disabled, - customOnSearch = props.onSearch, - customOnChange = props.onChange, - onCompositionStart = props.onCompositionStart, - onCompositionEnd = props.onCompositionEnd, - restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var contextSize = react.useContext(SizeContext/* default */.Z); - var composedRef = react.useRef(false); - var prefixCls = getPrefixCls('input-search', customizePrefixCls); - var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); - var _useCompactItemContex = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction), - compactSize = _useCompactItemContex.compactSize; - var size = compactSize || customizeSize || contextSize; - var inputRef = react.useRef(null); - var onChange = function onChange(e) { - if (e && e.target && e.type === 'click' && customOnSearch) { - customOnSearch(e.target.value, e); - } - if (customOnChange) { - customOnChange(e); - } - }; - var onMouseDown = function onMouseDown(e) { - var _a; - if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { - e.preventDefault(); - } - }; - var onSearch = function onSearch(e) { - var _a, _b; - if (customOnSearch) { - customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); - } - }; - var onPressEnter = function onPressEnter(e) { - if (composedRef.current || loading) { - return; - } - onSearch(e); - }; - var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; - var btnClassName = "".concat(prefixCls, "-button"); - var button; - var enterButtonAsElement = enterButton || {}; - var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; - if (isAntdButton || enterButtonAsElement.type === 'button') { - button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, (0,esm_extends/* default */.Z)({ - onMouseDown: onMouseDown, - onClick: function onClick(e) { - var _a, _b; - (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); - onSearch(e); - }, - key: 'enterButton' - }, isAntdButton ? { - className: btnClassName, - size: size - } : {})); - } else { - button = /*#__PURE__*/react.createElement(es_button/* default */.Z, { - className: btnClassName, - type: enterButton ? 'primary' : undefined, - size: size, - disabled: disabled, - key: "enterButton", - onMouseDown: onMouseDown, - onClick: onSearch, - loading: loading, - icon: searchIcon - }, enterButton); - } - if (addonAfter) { - button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { - key: 'addonAfter' - })]; - } - var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), !!size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-button"), !!enterButton), _classNames), className); - var handleOnCompositionStart = function handleOnCompositionStart(e) { - composedRef.current = true; - onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); - }; - var handleOnCompositionEnd = function handleOnCompositionEnd(e) { - composedRef.current = false; - onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); - }; - return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ - ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), - onPressEnter: onPressEnter - }, restProps, { - size: size, - onCompositionStart: handleOnCompositionStart, - onCompositionEnd: handleOnCompositionEnd, - prefixCls: inputPrefixCls, - addonAfter: button, - suffix: suffix, - onChange: onChange, - className: cls, - disabled: disabled - })); -}); -if (false) {} -/* harmony default export */ var input_Search = (Search); -// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js + 1 modules -var TextArea = __webpack_require__(80173); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js - - - - - -var input_Input = Input/* default */.ZP; -input_Input.Group = input_Group; -input_Input.Search = input_Search; -input_Input.TextArea = TextArea/* default */.Z; -input_Input.Password = input_Password; -/* harmony default export */ var input = (input_Input); - -/***/ }), - -/***/ 34041: -/*!**********************************************!*\ - !*** ./node_modules/antd/es/select/index.js ***! - \**********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); -/* 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_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 7752); -/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 98423); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); -/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 88258); -/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 98866); -/* harmony import */ var _config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider/SizeContext */ 97647); -/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../form/context */ 65223); -/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_util/motion */ 33603); -/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/statusUtils */ 9708); -/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/iconUtil */ 46163); -/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../space/Compact */ 4173); - - -// TODO: 4.0 - codemod should help to change `filterOption` to support node props. -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - - - - - - -var SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE'; -var InternalSelect = function InternalSelect(_a, ref) { - var _classNames2; - var customizePrefixCls = _a.prefixCls, - _a$bordered = _a.bordered, - bordered = _a$bordered === void 0 ? true : _a$bordered, - className = _a.className, - getPopupContainer = _a.getPopupContainer, - dropdownClassName = _a.dropdownClassName, - popupClassName = _a.popupClassName, - _a$listHeight = _a.listHeight, - listHeight = _a$listHeight === void 0 ? 256 : _a$listHeight, - placement = _a.placement, - _a$listItemHeight = _a.listItemHeight, - listItemHeight = _a$listItemHeight === void 0 ? 24 : _a$listItemHeight, - customizeSize = _a.size, - customDisabled = _a.disabled, - notFoundContent = _a.notFoundContent, - customStatus = _a.status, - showArrow = _a.showArrow, - props = __rest(_a, ["prefixCls", "bordered", "className", "getPopupContainer", "dropdownClassName", "popupClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "showArrow"]); - var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_), - getContextPopupContainer = _React$useContext.getPopupContainer, - getPrefixCls = _React$useContext.getPrefixCls, - renderEmpty = _React$useContext.renderEmpty, - direction = _React$useContext.direction, - virtual = _React$useContext.virtual, - dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth; - var size = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z); - var prefixCls = getPrefixCls('select', customizePrefixCls); - var rootPrefixCls = getPrefixCls(); - var _useCompactItemContex = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_5__/* .useCompactItemContext */ .ri)(prefixCls, direction), - compactSize = _useCompactItemContex.compactSize, - compactItemClassnames = _useCompactItemContex.compactItemClassnames; - var mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(function () { - var m = props.mode; - if (m === 'combobox') { - return undefined; - } - if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) { - return 'combobox'; - } - return m; - }, [props.mode]); - var isMultiple = mode === 'multiple' || mode === 'tags'; - var mergedShowArrow = showArrow !== undefined ? showArrow : props.loading || !(isMultiple || mode === 'combobox'); - // =================== Warning ===================== - false ? 0 : void 0; - // ===================== Form Status ===================== - var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_form_context__WEBPACK_IMPORTED_MODULE_6__/* .FormItemInputContext */ .aM), - contextStatus = _useContext.status, - hasFeedback = _useContext.hasFeedback, - isFormItemInput = _useContext.isFormItemInput, - feedbackIcon = _useContext.feedbackIcon; - var mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getMergedStatus */ .F)(contextStatus, customStatus); - // ===================== Empty ===================== - var mergedNotFound; - if (notFoundContent !== undefined) { - mergedNotFound = notFoundContent; - } else if (mode === 'combobox') { - mergedNotFound = null; - } else { - mergedNotFound = (renderEmpty || _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)('Select'); - } - // ===================== Icons ===================== - var _getIcons = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({}, props), { - multiple: isMultiple, - hasFeedback: hasFeedback, - feedbackIcon: feedbackIcon, - showArrow: mergedShowArrow, - prefixCls: prefixCls - })), - suffixIcon = _getIcons.suffixIcon, - itemIcon = _getIcons.itemIcon, - removeIcon = _getIcons.removeIcon, - clearIcon = _getIcons.clearIcon; - var selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']); - var rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl')); - var mergedSize = compactSize || customizeSize || size; - // ===================== Disabled ===================== - var disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z); - var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled; - var mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()((_classNames2 = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-in-form-item"), isFormItemInput), _classNames2), (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, className); - // ===================== Placement ===================== - var getPlacement = function getPlacement() { - if (placement !== undefined) { - return placement; - } - return direction === 'rtl' ? 'bottomRight' : 'bottomLeft'; - }; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({ - ref: ref, - virtual: virtual, - dropdownMatchSelectWidth: dropdownMatchSelectWidth - }, selectProps, { - transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionName */ .mL)(rootPrefixCls, (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionDirection */ .q0)(placement), props.transitionName), - listHeight: listHeight, - listItemHeight: listItemHeight, - mode: mode, - prefixCls: prefixCls, - placement: getPlacement(), - direction: direction, - inputIcon: suffixIcon, - menuItemSelectedIcon: itemIcon, - removeIcon: removeIcon, - clearIcon: clearIcon, - notFoundContent: mergedNotFound, - className: mergedClassName, - getPopupContainer: getPopupContainer || getContextPopupContainer, - dropdownClassName: rcSelectRtlDropdownClassName, - showArrow: hasFeedback || showArrow, - disabled: mergedDisabled - })); -}; -var Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect); -Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE; -Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx; -Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo; -/* harmony default export */ __webpack_exports__["Z"] = (Select); - -/***/ }), - -/***/ 7124: -/*!**********************************************************************************************!*\ - !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! - \**********************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_EyeOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js -// This icon file is generated automatically. -var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; -/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); - -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(93771); -;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_EyeOutlined - })); -}; -EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; -/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); - -/***/ }) - -}]); \ No newline at end of file diff --git a/9497.async.js b/9497.async.js index 349e5c623e..38a7c069f7 100644 --- a/9497.async.js +++ b/9497.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[9497,34472],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[9497,34472,30589],{ /***/ 66023: /*!*******************************************************************!*\ diff --git a/95112.async.js b/95112.async.js deleted file mode 100644 index 74eebcf975..0000000000 --- a/95112.async.js +++ /dev/null @@ -1,933 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[95112],{ - -/***/ 7918: -/*!******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules ***! - \******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ AntdIcon; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// 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/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(45987); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js - -var IconContext = /*#__PURE__*/(0,react.createContext)({}); -/* harmony default export */ var Context = (IconContext); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(71002); -// EXTERNAL MODULE: ./node_modules/@ctrl/tinycolor/dist/module/conversion.js -var conversion = __webpack_require__(86500); -// EXTERNAL MODULE: ./node_modules/@ctrl/tinycolor/dist/module/format-input.js -var format_input = __webpack_require__(1350); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/@ant-design/colors/es/generate.js - -var hueStep = 2; // 色相阶梯 - -var saturationStep = 0.16; // 饱和度阶梯,浅色部分 - -var saturationStep2 = 0.05; // 饱和度阶梯,深色部分 - -var brightnessStep1 = 0.05; // 亮度阶梯,浅色部分 - -var brightnessStep2 = 0.15; // 亮度阶梯,深色部分 - -var lightColorCount = 5; // 浅色数量,主色上 - -var darkColorCount = 4; // 深色数量,主色下 -// 暗色主题颜色映射关系表 - -var darkColorMap = [{ - index: 7, - opacity: 0.15 -}, { - index: 6, - opacity: 0.25 -}, { - index: 5, - opacity: 0.3 -}, { - index: 5, - opacity: 0.45 -}, { - index: 5, - opacity: 0.65 -}, { - index: 5, - opacity: 0.85 -}, { - index: 4, - opacity: 0.9 -}, { - index: 3, - opacity: 0.95 -}, { - index: 2, - opacity: 0.97 -}, { - index: 1, - opacity: 0.98 -}]; - -// Wrapper function ported from TinyColor.prototype.toHsv -// Keep it here because of `hsv.h * 360` -function toHsv(_ref) { - var r = _ref.r, - g = _ref.g, - b = _ref.b; - var hsv = (0,conversion/* rgbToHsv */.py)(r, g, b); - return { - h: hsv.h * 360, - s: hsv.s, - v: hsv.v - }; -} // Wrapper function ported from TinyColor.prototype.toHexString -// Keep it here because of the prefix `#` - - -function toHex(_ref2) { - var r = _ref2.r, - g = _ref2.g, - b = _ref2.b; - return "#".concat((0,conversion/* rgbToHex */.vq)(r, g, b, false)); -} // Wrapper function ported from TinyColor.prototype.mix, not treeshakable. -// Amount in range [0, 1] -// Assume color1 & color2 has no alpha, since the following src code did so. - - -function mix(rgb1, rgb2, amount) { - var p = amount / 100; - var rgb = { - r: (rgb2.r - rgb1.r) * p + rgb1.r, - g: (rgb2.g - rgb1.g) * p + rgb1.g, - b: (rgb2.b - rgb1.b) * p + rgb1.b - }; - return rgb; -} - -function getHue(hsv, i, light) { - var hue; // 根据色相不同,色相转向不同 - - if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) { - hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i; - } else { - hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i; - } - - if (hue < 0) { - hue += 360; - } else if (hue >= 360) { - hue -= 360; - } - - return hue; -} - -function getSaturation(hsv, i, light) { - // grey color don't change saturation - if (hsv.h === 0 && hsv.s === 0) { - return hsv.s; - } - - var saturation; - - if (light) { - saturation = hsv.s - saturationStep * i; - } else if (i === darkColorCount) { - saturation = hsv.s + saturationStep; - } else { - saturation = hsv.s + saturationStep2 * i; - } // 边界值修正 - - - if (saturation > 1) { - saturation = 1; - } // 第一格的 s 限制在 0.06-0.1 之间 - - - if (light && i === lightColorCount && saturation > 0.1) { - saturation = 0.1; - } - - if (saturation < 0.06) { - saturation = 0.06; - } - - return Number(saturation.toFixed(2)); -} - -function getValue(hsv, i, light) { - var value; - - if (light) { - value = hsv.v + brightnessStep1 * i; - } else { - value = hsv.v - brightnessStep2 * i; - } - - if (value > 1) { - value = 1; - } - - return Number(value.toFixed(2)); -} - -function generate(color) { - var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var patterns = []; - var pColor = (0,format_input/* inputToRGB */.uA)(color); - - for (var i = lightColorCount; i > 0; i -= 1) { - var hsv = toHsv(pColor); - var colorString = toHex((0,format_input/* inputToRGB */.uA)({ - h: getHue(hsv, i, true), - s: getSaturation(hsv, i, true), - v: getValue(hsv, i, true) - })); - patterns.push(colorString); - } - - patterns.push(toHex(pColor)); - - for (var _i = 1; _i <= darkColorCount; _i += 1) { - var _hsv = toHsv(pColor); - - var _colorString = toHex((0,format_input/* inputToRGB */.uA)({ - h: getHue(_hsv, _i), - s: getSaturation(_hsv, _i), - v: getValue(_hsv, _i) - })); - - patterns.push(_colorString); - } // dark theme patterns - - - if (opts.theme === 'dark') { - return darkColorMap.map(function (_ref3) { - var index = _ref3.index, - opacity = _ref3.opacity; - var darkColorString = toHex(mix((0,format_input/* inputToRGB */.uA)(opts.backgroundColor || '#141414'), (0,format_input/* inputToRGB */.uA)(patterns[index]), opacity * 100)); - return darkColorString; - }); - } - - return patterns; -} -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/@ant-design/colors/es/index.js - -var presetPrimaryColors = { - red: '#F5222D', - volcano: '#FA541C', - orange: '#FA8C16', - gold: '#FAAD14', - yellow: '#FADB14', - lime: '#A0D911', - green: '#52C41A', - cyan: '#13C2C2', - blue: '#1677FF', - geekblue: '#2F54EB', - purple: '#722ED1', - magenta: '#EB2F96', - grey: '#666666' -}; -var presetPalettes = {}; -var presetDarkPalettes = {}; -Object.keys(presetPrimaryColors).forEach(function (key) { - presetPalettes[key] = generate(presetPrimaryColors[key]); - presetPalettes[key].primary = presetPalettes[key][5]; // dark presetPalettes - - presetDarkPalettes[key] = generate(presetPrimaryColors[key], { - theme: 'dark', - backgroundColor: '#141414' - }); - presetDarkPalettes[key].primary = presetDarkPalettes[key][5]; -}); -var red = presetPalettes.red; -var volcano = presetPalettes.volcano; -var gold = presetPalettes.gold; -var orange = presetPalettes.orange; -var yellow = presetPalettes.yellow; -var lime = presetPalettes.lime; -var green = presetPalettes.green; -var cyan = presetPalettes.cyan; -var blue = presetPalettes.blue; -var geekblue = presetPalettes.geekblue; -var purple = presetPalettes.purple; -var magenta = presetPalettes.magenta; -var grey = presetPalettes.grey; -var gray = presetPalettes.grey; - -// EXTERNAL MODULE: ./node_modules/rc-util/es/warning.js -var warning = __webpack_require__(80334); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/dynamicCSS.js -var dynamicCSS = __webpack_require__(44958); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js - - - - - - - -function utils_warning(valid, message) { - (0,warning/* default */.ZP)(valid, "[@ant-design/icons] ".concat(message)); -} -function isIconDefinition(target) { - return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); -} -function normalizeAttrs() { - var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - return Object.keys(attrs).reduce(function (acc, key) { - var val = attrs[key]; - switch (key) { - case 'class': - acc.className = val; - delete acc.class; - break; - default: - acc[key] = val; - } - return acc; - }, {}); -} -function utils_generate(node, key, rootProps) { - if (!rootProps) { - return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ - key: key - }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { - return utils_generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); - })); - } - return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - key: key - }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { - return utils_generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); - })); -} -function getSecondaryColor(primaryColor) { - // choose the second color - return generate(primaryColor)[0]; -} -function normalizeTwoToneColors(twoToneColor) { - if (!twoToneColor) { - return []; - } - return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; -} -// These props make sure that the SVG behaviours like general text. -// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 -var svgBaseProps = { - width: '1em', - height: '1em', - fill: 'currentColor', - 'aria-hidden': 'true', - focusable: 'false' -}; -var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; -var useInsertStyles = function useInsertStyles() { - var styleStr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : iconStyles; - var _useContext = (0,react.useContext)(Context), - csp = _useContext.csp, - prefixCls = _useContext.prefixCls; - var mergedStyleStr = styleStr; - if (prefixCls) { - mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); - } - (0,react.useEffect)(function () { - (0,dynamicCSS/* updateCSS */.hq)(mergedStyleStr, '@ant-design-icons', { - prepend: true, - csp: csp - }); - }, []); -}; -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js - - -var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; - -var twoToneColorPalette = { - primaryColor: '#333', - secondaryColor: '#E6E6E6', - calculated: false -}; -function setTwoToneColors(_ref) { - var primaryColor = _ref.primaryColor, - secondaryColor = _ref.secondaryColor; - twoToneColorPalette.primaryColor = primaryColor; - twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); - twoToneColorPalette.calculated = !!secondaryColor; -} -function getTwoToneColors() { - return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); -} -var IconBase = function IconBase(props) { - var icon = props.icon, - className = props.className, - onClick = props.onClick, - style = props.style, - primaryColor = props.primaryColor, - secondaryColor = props.secondaryColor, - restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); - var colors = twoToneColorPalette; - if (primaryColor) { - colors = { - primaryColor: primaryColor, - secondaryColor: secondaryColor || getSecondaryColor(primaryColor) - }; - } - useInsertStyles(); - utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); - if (!isIconDefinition(icon)) { - return null; - } - var target = icon; - if (target && typeof target.icon === 'function') { - target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { - icon: target.icon(colors.primaryColor, colors.secondaryColor) - }); - } - return utils_generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)({ - className: className, - onClick: onClick, - style: style, - 'data-icon': target.name, - width: '1em', - height: '1em', - fill: 'currentColor', - 'aria-hidden': 'true' - }, restProps)); -}; -IconBase.displayName = 'IconReact'; -IconBase.getTwoToneColors = getTwoToneColors; -IconBase.setTwoToneColors = setTwoToneColors; -/* harmony default export */ var components_IconBase = (IconBase); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js - - - -function setTwoToneColor(twoToneColor) { - var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), - _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), - primaryColor = _normalizeTwoToneColo2[0], - secondaryColor = _normalizeTwoToneColo2[1]; - return components_IconBase.setTwoToneColors({ - primaryColor: primaryColor, - secondaryColor: secondaryColor - }); -} -function getTwoToneColor() { - var colors = components_IconBase.getTwoToneColors(); - if (!colors.calculated) { - return colors.primaryColor; - } - return [colors.primaryColor, colors.secondaryColor]; -} -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js - - - - -var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; - - - - - - -// Initial setting -// should move it to antd main repo? -setTwoToneColor('#1890ff'); -var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var className = props.className, - icon = props.icon, - spin = props.spin, - rotate = props.rotate, - tabIndex = props.tabIndex, - onClick = props.onClick, - twoToneColor = props.twoToneColor, - restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); - var _React$useContext = react.useContext(Context), - _React$useContext$pre = _React$useContext.prefixCls, - prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, - rootClassName = _React$useContext.rootClassName; - var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); - var iconTabIndex = tabIndex; - if (iconTabIndex === undefined && onClick) { - iconTabIndex = -1; - } - var svgStyle = rotate ? { - msTransform: "rotate(".concat(rotate, "deg)"), - transform: "rotate(".concat(rotate, "deg)") - } : undefined; - var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), - _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), - primaryColor = _normalizeTwoToneColo2[0], - secondaryColor = _normalizeTwoToneColo2[1]; - return /*#__PURE__*/react.createElement("span", (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - role: "img", - "aria-label": icon.name - }, restProps), {}, { - ref: ref, - tabIndex: iconTabIndex, - onClick: onClick, - className: classString - }), /*#__PURE__*/react.createElement(components_IconBase, { - icon: icon, - primaryColor: primaryColor, - secondaryColor: secondaryColor, - style: svgStyle - })); -}); -Icon.displayName = 'AntdIcon'; -Icon.getTwoToneColor = getTwoToneColor; -Icon.setTwoToneColor = setTwoToneColor; -/* harmony default export */ var AntdIcon = (Icon); - -/***/ }), - -/***/ 13013: -/*!************************************************!*\ - !*** ./node_modules/antd/es/dropdown/index.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ 18562); - -/* harmony default export */ __webpack_exports__["Z"] = (_dropdown__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z); - -/***/ }), - -/***/ 75008: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/input/index.js + 5 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ input; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js - - - - - - - -var Group = function Group(props) { - var _classNames; - var _useContext = (0,react.useContext)(context/* ConfigContext */.E_), - getPrefixCls = _useContext.getPrefixCls, - direction = _useContext.direction; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className; - var prefixCls = getPrefixCls('input-group', customizePrefixCls); - var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), props.size === 'large'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), props.size === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-compact"), props.compact), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - var formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); - var groupFormItemContext = (0,react.useMemo)(function () { - return (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, formItemContext), { - isFormItemInput: false - }); - }, [formItemContext]); - return /*#__PURE__*/react.createElement("span", { - className: cls, - style: props.style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave, - onFocus: props.onFocus, - onBlur: props.onBlur - }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { - value: groupFormItemContext - }, props.children)); -}; -/* harmony default export */ var input_Group = (Group); -// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules -var Input = __webpack_require__(82586); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(71002); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js -// This icon file is generated automatically. -var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; -/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); - -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(93771); -;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_EyeInvisibleOutlined - })); -}; -EyeInvisibleOutlined_EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined'; -/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules -var EyeOutlined = __webpack_require__(7124); -// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js -var omit = __webpack_require__(98423); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js -var useRemovePasswordTimeout = __webpack_require__(72922); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js - - - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var defaultIconRender = function defaultIconRender(visible) { - return visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); -}; -var ActionMap = { - click: 'onClick', - hover: 'onMouseOver' -}; -var Password = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _props$visibilityTogg = props.visibilityToggle, - visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg; - var visibilityControlled = (0,esm_typeof/* default */.Z)(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined; - var _useState = (0,react.useState)(function () { - return visibilityControlled ? visibilityToggle.visible : false; - }), - _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), - visible = _useState2[0], - setVisible = _useState2[1]; - var inputRef = (0,react.useRef)(null); - react.useEffect(function () { - if (visibilityControlled) { - setVisible(visibilityToggle.visible); - } - }, [visibilityControlled, visibilityToggle]); - // Remove Password value - var removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); - var onVisibleChange = function onVisibleChange() { - var disabled = props.disabled; - if (disabled) { - return; - } - if (visible) { - removePasswordTimeout(); - } - setVisible(function (prevState) { - var _a; - var newState = !prevState; - if ((0,esm_typeof/* default */.Z)(visibilityToggle) === 'object') { - (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); - } - return newState; - }); - }; - var getIcon = function getIcon(prefixCls) { - var _iconProps; - var _props$action = props.action, - action = _props$action === void 0 ? 'click' : _props$action, - _props$iconRender = props.iconRender, - iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender; - var iconTrigger = ActionMap[action] || ''; - var icon = iconRender(visible); - var iconProps = (_iconProps = {}, (0,defineProperty/* default */.Z)(_iconProps, iconTrigger, onVisibleChange), (0,defineProperty/* default */.Z)(_iconProps, "className", "".concat(prefixCls, "-icon")), (0,defineProperty/* default */.Z)(_iconProps, "key", 'passwordIcon'), (0,defineProperty/* default */.Z)(_iconProps, "onMouseDown", function onMouseDown(e) { - // Prevent focused state lost - // https://github.com/ant-design/ant-design/issues/15173 - e.preventDefault(); - }), (0,defineProperty/* default */.Z)(_iconProps, "onMouseUp", function onMouseUp(e) { - // Prevent caret position change - // https://github.com/ant-design/ant-design/issues/23524 - e.preventDefault(); - }), _iconProps); - return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); - }; - var renderPassword = function renderPassword(_ref) { - var getPrefixCls = _ref.getPrefixCls; - var className = props.className, - customizePrefixCls = props.prefixCls, - customizeInputPrefixCls = props.inputPrefixCls, - size = props.size, - restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); - var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); - var prefixCls = getPrefixCls('input-password', customizePrefixCls); - var suffixIcon = visibilityToggle && getIcon(prefixCls); - var inputClassName = classnames_default()(prefixCls, className, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-").concat(size), !!size)); - var omittedProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { - type: visible ? 'text' : 'password', - className: inputClassName, - prefixCls: inputPrefixCls, - suffix: suffixIcon - }); - if (size) { - omittedProps.size = size; - } - return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ - ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) - }, omittedProps)); - }; - return /*#__PURE__*/react.createElement(context/* ConfigConsumer */.C, null, renderPassword); -}); -if (false) {} -/* harmony default export */ var input_Password = (Password); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js -var SearchOutlined = __webpack_require__(25783); -// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js -var es_button = __webpack_require__(71577); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js -var Compact = __webpack_require__(4173); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js -var reactNode = __webpack_require__(96159); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js - - -var Search_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var Search = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var customizePrefixCls = props.prefixCls, - customizeInputPrefixCls = props.inputPrefixCls, - className = props.className, - customizeSize = props.size, - suffix = props.suffix, - _props$enterButton = props.enterButton, - enterButton = _props$enterButton === void 0 ? false : _props$enterButton, - addonAfter = props.addonAfter, - loading = props.loading, - disabled = props.disabled, - customOnSearch = props.onSearch, - customOnChange = props.onChange, - onCompositionStart = props.onCompositionStart, - onCompositionEnd = props.onCompositionEnd, - restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var contextSize = react.useContext(SizeContext/* default */.Z); - var composedRef = react.useRef(false); - var prefixCls = getPrefixCls('input-search', customizePrefixCls); - var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); - var _useCompactItemContex = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction), - compactSize = _useCompactItemContex.compactSize; - var size = compactSize || customizeSize || contextSize; - var inputRef = react.useRef(null); - var onChange = function onChange(e) { - if (e && e.target && e.type === 'click' && customOnSearch) { - customOnSearch(e.target.value, e); - } - if (customOnChange) { - customOnChange(e); - } - }; - var onMouseDown = function onMouseDown(e) { - var _a; - if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { - e.preventDefault(); - } - }; - var onSearch = function onSearch(e) { - var _a, _b; - if (customOnSearch) { - customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); - } - }; - var onPressEnter = function onPressEnter(e) { - if (composedRef.current || loading) { - return; - } - onSearch(e); - }; - var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; - var btnClassName = "".concat(prefixCls, "-button"); - var button; - var enterButtonAsElement = enterButton || {}; - var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; - if (isAntdButton || enterButtonAsElement.type === 'button') { - button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, (0,esm_extends/* default */.Z)({ - onMouseDown: onMouseDown, - onClick: function onClick(e) { - var _a, _b; - (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); - onSearch(e); - }, - key: 'enterButton' - }, isAntdButton ? { - className: btnClassName, - size: size - } : {})); - } else { - button = /*#__PURE__*/react.createElement(es_button/* default */.Z, { - className: btnClassName, - type: enterButton ? 'primary' : undefined, - size: size, - disabled: disabled, - key: "enterButton", - onMouseDown: onMouseDown, - onClick: onSearch, - loading: loading, - icon: searchIcon - }, enterButton); - } - if (addonAfter) { - button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { - key: 'addonAfter' - })]; - } - var cls = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), !!size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-button"), !!enterButton), _classNames), className); - var handleOnCompositionStart = function handleOnCompositionStart(e) { - composedRef.current = true; - onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); - }; - var handleOnCompositionEnd = function handleOnCompositionEnd(e) { - composedRef.current = false; - onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); - }; - return /*#__PURE__*/react.createElement(Input/* default */.ZP, (0,esm_extends/* default */.Z)({ - ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), - onPressEnter: onPressEnter - }, restProps, { - size: size, - onCompositionStart: handleOnCompositionStart, - onCompositionEnd: handleOnCompositionEnd, - prefixCls: inputPrefixCls, - addonAfter: button, - suffix: suffix, - onChange: onChange, - className: cls, - disabled: disabled - })); -}); -if (false) {} -/* harmony default export */ var input_Search = (Search); -// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js + 1 modules -var TextArea = __webpack_require__(80173); -;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js - - - - - -var input_Input = Input/* default */.ZP; -input_Input.Group = input_Group; -input_Input.Search = input_Search; -input_Input.TextArea = TextArea/* default */.Z; -input_Input.Password = input_Password; -/* harmony default export */ var input = (input_Input); - -/***/ }), - -/***/ 7124: -/*!**********************************************************************************************!*\ - !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! - \**********************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_EyeOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js -// This icon file is generated automatically. -var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; -/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); - -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(93771); -;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_EyeOutlined - })); -}; -EyeOutlined_EyeOutlined.displayName = 'EyeOutlined'; -/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); - -/***/ }) - -}]); \ No newline at end of file diff --git a/1264.async.js b/95369.async.js similarity index 79% rename from 1264.async.js rename to 95369.async.js index 0a84e0a648..30599b24a4 100644 --- a/1264.async.js +++ b/95369.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[1264,42573,29848,68661,69245,88975,99491,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[95369,42573,16346,77248,60887,6812,88975,99491,97141,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ @@ -411,6 +411,303 @@ var menu_style = __webpack_require__(83736); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: diff --git a/95946.async.js b/95946.async.js index 04bcfe5282..fe8664aa9b 100644 --- a/95946.async.js +++ b/95946.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[95946,42573,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[95946,42573,87388],{ /***/ 58492: /*!**************************************************************!*\ diff --git a/27084.async.js b/96967.async.js similarity index 87% rename from 27084.async.js rename to 96967.async.js index 4200491288..364fac5a6b 100644 --- a/27084.async.js +++ b/96967.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[27084,34180,25619,794,48896,47638,3446,7303,79779,47391,80670],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[96967,34180,67921,61437,794,48896,47638,3446,25619,79779,78895,80670],{ /***/ 38900: /*!**********************************************************************!*\ @@ -841,6 +841,305 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + /***/ }), /***/ 75008: @@ -3304,6 +3603,196 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* })); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }), /***/ 43159: diff --git a/27084.chunk.css b/96967.chunk.css similarity index 88% rename from 27084.chunk.css rename to 96967.chunk.css index b17318bd57..3aa3b14ca8 100644 --- a/27084.chunk.css +++ b/96967.chunk.css @@ -1793,3 +1793,235 @@ span.ant-radio + * { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/97073.async.js b/97073.async.js index a1eb6e5ddc..c226ece9e1 100644 --- a/97073.async.js +++ b/97073.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[97073,71514,5506,88201,32415,95112],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[97073,71514,5506,32415],{ /***/ 7918: /*!******************************************************************************!*\ diff --git a/97141.async.js b/97141.async.js index ef4a5881c9..585ea83f73 100644 --- a/97141.async.js +++ b/97141.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[97141,42573,88975,99491,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[97141,42573,88975,99491,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ diff --git a/35631.async.js b/98718.async.js similarity index 82% rename from 35631.async.js rename to 98718.async.js index de7ac4f985..84be453402 100644 --- a/35631.async.js +++ b/98718.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[35631,27078,192],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[98718,69561,192],{ /***/ 48898: /*!*************************************************************************!*\ @@ -123,6 +123,303 @@ PlusCircleOutlined_PlusCircleOutlined.displayName = 'PlusCircleOutlined'; /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 75008: /*!*********************************************************!*\ !*** ./node_modules/antd/es/input/index.js + 5 modules ***! diff --git a/35631.chunk.css b/98718.chunk.css similarity index 89% rename from 35631.chunk.css rename to 98718.chunk.css index f508c01df7..d714b463a6 100644 --- a/35631.chunk.css +++ b/98718.chunk.css @@ -779,6 +779,238 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/cascader/style/index.less ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/98991.async.js b/98991.async.js index 88bb4d6b14..9786a86891 100644 --- a/98991.async.js +++ b/98991.async.js @@ -1379,6 +1379,195 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/99491.async.js b/99491.async.js index 10fb96574e..2fb64f9d23 100644 --- a/99491.async.js +++ b/99491.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[99491,42573,88975,97141,88092,94512,95946,87388,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[99491,42573,88975,97141,88092,95946,87388],{ /***/ 64082: /*!******************************************************************************!*\ diff --git a/color.less b/color.less index c6acc75c77..55602f0664 100644 --- a/color.less +++ b/color.less @@ -563,10 +563,10 @@ a.ant-btn-disabled:active > a:only-child::after {background: transparent;} .ant-comment-actions > li > span {color: @text-color-secondary;} .ant-comment-actions > li > span:hover {color: #595959;} .ant-picker-status-error.ant-picker, .ant-picker-status-error.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @error-color;} -.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} +.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 183, 27, 0.2);border-right-width: 1px;} .ant-picker-status-error.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{error-color}", 5)`);} .ant-picker-status-warning.ant-picker, .ant-picker-status-warning.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @warning-color;} -.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} +.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(63, 118, 29, 0.2);border-right-width: 1px;} .ant-picker-status-warning.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{warning-color}", 5)`);} .ant-picker {color: @text-color;background: #fff;border: 1px solid @border-color-base;border-radius: 2px;} .ant-picker:hover, .ant-picker-focused {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px;} @@ -788,16 +788,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .anticon.ant-input-clear-icon:hover, .ant-input-clear-icon:hover {color: @text-color-secondary;} .anticon.ant-input-clear-icon:active, .ant-input-clear-icon:active {color: @text-color;} .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @error-color;} -.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} +.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 183, 27, 0.2);border-right-width: 1px;} .ant-input-status-error .ant-input-prefix {color: @error-color;} .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @warning-color;} -.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} +.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(63, 118, 29, 0.2);border-right-width: 1px;} .ant-input-status-warning .ant-input-prefix {color: @warning-color;} .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @error-color;} -.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} +.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 183, 27, 0.2);border-right-width: 1px;} .ant-input-affix-wrapper-status-error .ant-input-prefix {color: @error-color;} .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @warning-color;} -.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} +.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(63, 118, 29, 0.2);border-right-width: 1px;} .ant-input-affix-wrapper-status-warning .ant-input-prefix {color: @warning-color;} .ant-input-group-wrapper-status-error .ant-input-group-addon {color: @error-color;border-color: @error-color;} .ant-input-group-wrapper-status-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;} @@ -894,16 +894,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-input-number-affix-wrapper > div.ant-input-number {border: none;} .ant-input-number-affix-wrapper > div.ant-input-number.ant-input-number-focused {box-shadow: none !important;} .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @error-color;} -.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} +.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 183, 27, 0.2);border-right-width: 1px;} .ant-input-number-status-error .ant-input-number-prefix {color: @error-color;} .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @warning-color;} -.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} +.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(63, 118, 29, 0.2);border-right-width: 1px;} .ant-input-number-status-warning .ant-input-number-prefix {color: @warning-color;} .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @error-color;} -.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} +.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 183, 27, 0.2);border-right-width: 1px;} .ant-input-number-affix-wrapper-status-error .ant-input-number-prefix {color: @error-color;} .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @warning-color;} -.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} +.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(63, 118, 29, 0.2);border-right-width: 1px;} .ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix {color: @warning-color;} .ant-input-number-group-wrapper-status-error .ant-input-number-group-addon {color: @error-color;border-color: @error-color;} .ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon {color: @warning-color;border-color: @warning-color;} @@ -1024,10 +1024,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-list-grid .ant-col > .ant-list-item {border-bottom: none;} .ant-list-bordered {border: 1px solid @border-color-base;border-radius: 2px;} .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @error-color;} -.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} +.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 183, 27, 0.2);border-right-width: 1px;} .ant-mentions-status-error .ant-input-prefix {color: @error-color;} .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @warning-color;} -.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} +.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(63, 118, 29, 0.2);border-right-width: 1px;} .ant-mentions-status-warning .ant-input-prefix {color: @warning-color;} .ant-mentions {color: @text-color;background-color: #fff;background-image: none;border: 1px solid @border-color-base;border-radius: 2px;} .ant-mentions::placeholder {color: #bfbfbf;} @@ -1058,10 +1058,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-mentions-dropdown-menu-item-active {background-color: #f5f5f5;} .ant-menu-item-danger.ant-menu-item {color: @error-color;} .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-item-danger.ant-menu-item-active {color: @error-color;} -.ant-menu-item-danger.ant-menu-item:active {background: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);} +.ant-menu-item-danger.ant-menu-item:active {background: #fff1f0;} .ant-menu-item-danger.ant-menu-item-selected {color: @error-color;} .ant-menu-item-danger.ant-menu-item-selected > a, .ant-menu-item-danger.ant-menu-item-selected > a:hover {color: @error-color;} -.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);} +.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: #fff1f0;} .ant-menu-inline .ant-menu-item-danger.ant-menu-item::after {border-right-color: @error-color;} .ant-menu-dark .ant-menu-item-danger.ant-menu-item, .ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-dark .ant-menu-item-danger.ant-menu-item > a {color: @error-color;} .ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {color: #fff;background-color: @error-color;} @@ -1360,9 +1360,9 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-select-multiple .ant-select-selection-item-remove {color: inherit;color: @text-color-secondary;} .ant-select-multiple .ant-select-selection-item-remove:hover {color: rgba(0, 0, 0, 0.75);} .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @error-color !important;} -.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;} +.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 183, 27, 0.2);border-right-width: 1px;} .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @warning-color !important;} -.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;} +.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(63, 118, 29, 0.2);border-right-width: 1px;} .ant-select {color: @text-color;} .ant-select:not(.ant-select-customize-input) .ant-select-selector {background-color: #fff;border: 1px solid @border-color-base;border-radius: 2px;} .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {border-color: color(~`colorPalette("@{primary-color}", 5)`);box-shadow: 0 0 0 2px fade(@primary-color, 20%);border-right-width: 1px;} @@ -1640,7 +1640,7 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;} .ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} .ant-tag-magenta {color: #c41d7f;background: #fff0f6;border-color: #ffadd2;} .ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} -.ant-tag-red {color: #cf1322;background: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);border-color: #ffa39e;} +.ant-tag-red {color: #cf1322;background: #fff1f0;border-color: #ffa39e;} .ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;} .ant-tag-volcano {color: #d4380d;background: #fff2e8;border-color: #ffbb96;} .ant-tag-volcano-inverse {color: #fff;background: #fa541c;border-color: #fa541c;} diff --git a/layouts__LoginAndRegister__index.async.js b/layouts__LoginAndRegister__index.async.js new file mode 100644 index 0000000000..34f5daf227 --- /dev/null +++ b/layouts__LoginAndRegister__index.async.js @@ -0,0 +1,769 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[75786],{ + +/***/ 34306: +/*!************************************************************!*\ + !*** ./src/layouts/LoginAndRegister/index.tsx + 2 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 */ layouts_LoginAndRegister; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules +var style = __webpack_require__(38390); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(84908); +// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js +var col_style = __webpack_require__(89032); +// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js +var col = __webpack_require__(15746); +// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js +var row_style = __webpack_require__(13062); +// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js +var row = __webpack_require__(71230); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules +var modal_style = __webpack_require__(35611); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules +var modal = __webpack_require__(85402); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./src/layouts/LoginAndRegister/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var LoginAndRegistermodules = ({"bg":"bg___jd0Hp","logo":"logo___ROAyE","outLetWrapper":"outLetWrapper___g0uSd","quickLogin":"quickLogin___ilamT","text":"text___Z9Y9R","dot":"dot___XM0SF","icon":"icon___mymBj","wx":"wx___mWm0f","qq":"qq___X5Onh","qrcodeModal":"qrcodeModal___p_trY"}); +// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules +var _umi_production_exports = __webpack_require__(89214); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(29427); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(59758); +;// CONCATENATED MODULE: ./src/assets/images/user/logo.png +var logo_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAACoCAYAAACR1WDYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfXmYHFXV/jm3eraqDrJDwhYCdHVXTyaJERBQCYsLfgiCrOKCH+4IKot+8kN+QQVFBEVccUFUloAIuIG4EP1ERIjAzHR1VwMhYQtEgUC6erbue77n9kwPPT3TU/d2V28zNc+Tf1LnnuWtevveunXuOQjz4I/6+ozRXG5xjtFioPxiJNyLABYTwI4IZBChjkg6ARhI+EgohOd1DaQG5gE0QYg1IoA1jm+54bRixU7ZsaEDgehA4nQgAK4AoB29HEWAYUD2KT2RvAYRyUs+uB4gIBBoewJlly3bjXJDxxKHNyLggQS0t+qtRYSnAeF4I5F+QHVsID+/EWhLAo309sbGeO6dCHQcEL2OavohwDTqbJWxLrlpfj8KQfTVINA2BBrqM/fmOfogEb4LgMxqgi0fg4AbsKPrjXp//9N+6At0zD8EWp5AQ1bkCA54NhAdTQDMx1v0Soh1rOxOJB7zUWegap4h0JIEErtm2bGR9xHSWUAQq8c9YQCn6Mn0mnroDnTOHwRaikB01FFd7ob1ZwPSBUCwbb1uAwJcZyTTp9dLf6B3/iDQEgQiIhzqjZ1CnC4loMX1hB8Rs9DD9g02DeqJ8vzR3XQCDVnWGznkryCi/RsBOzL8kpFwPt8IW4GNuY9A0whEB0R3cDP0HSA6qVEwI2JOD3Xthv39mxtlM7AztxFoCoEyvdG3YJ5+QkALGwkvIt5p2M7bG2kzsDW3EWgogWjVqm5386bLkOis2j5+VndTEPEMw3Z+XN3oYFSAwHQEGkagTDy+DGjseiCIN+tGYIi9zhhIrWuW/cDu3EOgIQTKxqOnEufXEkBXsyBEANI7uhdgf7/bLB8Cu3MPgboTKBMzz0egy5qxZCu9XWIDwbCdjrl3C4OImolA3QhEq1ez7M03XEUEn2hmgKW2jW130PG++4ZaxZ/Aj/ZHoC4EooMO6slueeF6AjiupSBCdiUiBQRSvykEQGNEbAwAxhjRGDHKAbExBpTlDLcw4luYpm3JQ8eWnlxuC9p2Rt1M+43wnUB0iLkg+yLcRUAHtx8cgcd+IYCIY0DwDCE9CYBPMcCniOhJ0NiTjHG7+5HUhrlwcNFXApFldbqQ/x0QHeHXjQj0zE0EEDEDRIMAMIDIBhDYw9077/wArl073E4R+0Ygkc/m9kZvBE4ntxMAga+tgwACjBDgPxBxLWOwtnvHXf/R6oTyjUAZy7wKiM5undsReNLuCAhCAcAfCWCNsc12d+D997/SajH5QqCMFf0cEL+01YIL/Jk7CBTIhPh7hrimu9u4Hdety7ZCdDUTKBOPvQ94/rpWCCbwYZ4ggPgSI7gGOruv1h955JlmRl0TgUaWRqK5PK4jIr2ZQQS25ycCYqePAG5BDa9sVopW1QQSO25ZyN1PBMvn5+0Lom4lBBDgNk3rPL97cPDxRvpVNYEyseiVAPzTjXQ2sBUgMBsCiDiKAFf1LNj2S43acKiKQJl49K3I+Z3Nzm8LHqcAgRkRQNisAZ7bYzs/rzdCygSivr6d3dxwPxDsUm/nAv0BAjUhgHi9sR18DO91ttakZ5bBygRyY5FbCeD4ejkU6A0Q8BMBRHgcEE6tV9lmJQIN9UZX5fP8Hj8DDHQFCNQbAbFbh4Dn6HbqW37bkibQxPGEB4lghd9OBPoCBBqBADK8xEg4F/ppS5pAGSt6OhC/1k/jga4AgUYjgIjf10869eO4ejX3w7YUgSZK7aYJaJEfRgMdAQLNRAARb9F7wqfhunXifFNNf1IEcq3oxUT8oposBYMDBFoIAQT4qZFMv79WlzwJ5K4wF8EIPBqk69QKdTC+1RBAhhcZCeeLtfjlSaBszPwKB/psLUaCsQECrYiAqNSEjJ2mJ1I3VuvfrAQStQ3cl198Goi2r9ZAS49j7HQGIH12n4h/lQiWNC4m7GcMv9A4e/5a4pz/olQjInwZkUnV5ePEvwAElr8eTdcmjkmgxg7XB1N/r8bWrARy45EPEocfVKO4HcYYOuyE69L/kfXVjZn3NrjWwx/CyfRbZP1rNblMLDKlWTNq2tHGYPK3Mn66VuQxIthHRrZWGdGpUN8e+qrJWJiVQJmY2Q9AS2t1sGXHY2hh2Lafk/UvEzPvAaBVsvI+yLU1gdxYhE/Jl9TYW8ODqbu9cKETT9Syif5hIgp5yfp1HRGuMez0R1T1VSTQUNw8LM/pz6oKK8kjsosRKEEIUSKIIkEUECJEFPbLhqoe1tmzu8qBrEwsIm7+m1Xt1CDf1gQqn4E00A7tSSb/6oXH0PLo4vwIf8JLzvfrkgSfsiyt5IRrmbcR0Tv9chI19g5jMPWbcn3Z3t49GOSjnFOUiKKCYIJcjfjmpIG2uCeZ3Cgbo2uZvyOio2TlfZBrawKVz0AMQwfqtv1PL1yG4ubheU5/8pLz+zoiPKX3LFiK69a9LKt7xhloKBbbi0N+vZ9NfRmGXq/b9v2yjhXqy70MJuUphghREKRCMBFwPyLqlNUzm1wo1LVP98DAelldbizyGwL4L1l5H+TamkDlM1BHiPV1DaQGvHBxY+YZBPRDL7m6XGd4VTjhfEpW94wEysTNzwKnr8gqkZELaZ37+nFaUKyPRwYHl+QZRYlTtIRcUdXdwhDr2E+lS7drmb8ionfIxOuTTFsTqHwGCoEW6U4mH/XCxrUilxDBBV5y9bguduUY64j0JBJPyuifkUCuFfkHERwoo0BWxthmu9fU+5QgrVixkzuSPRqIpHoAVUGgO4joGNmYfZBrawKVz0Cso3sPvb//aS9cMrGI+C5zipdcva4j4o8N2zlDRv80AhUyD4bpaT9Pm4qjtobtNKS1STYWOZkD3CQTvDKBYpFfE8DRMrp9kpkzBBJHCvSdF+q4dm3OCxvxCsFCtM0Y1xgSMdA4wzzTIEQMODHkTAPGNSBiiEzL83wIGNOAk4aIIQDs4DzfgYgdgNQNHHcFoDcTwOu9bIvrCJDXOpnV/Ugq7SU/nUAx82ME9B2vgSrXEfBZI+nspjKmWlk3HrmIOFwsM74KAgXvQDLATshMmYEQ7LCdblpzNVE5NxuP3kJE75IKAfHmsO14VtmdRqB6bNUiwiOGnW5I9R6V6V+ZQMEunNSzVxQqJRAi3mrYzglKCnwWVlmdiDQfLdS1r9cm0xQC0fLl22ZHhzYTkb+NqBD/FLadI33GY0Z1rhV5SLbUluouXMaK/AEIGhJHYSmB8BQB3tYI3MptGFrnahwYeEnGdiFjhdhO02RLqtUiwy8ZCefzMvrqJeNa5rFEdLusfobsK7qd+txs8lMINGSZp+WJ6lHJ5KZwMn2qrOPVyk1M0xnZzHGNdewlu9sifGpCJkK1UNQ8TgUbmYwVjbHTehKpG2p2rAYFWStyDie4QloFwvNGz4I9Zjs3NIVAGctcA0QnSRuQFESEqw07XffC8+LlMw/5DZJugWomgmuZfyOiQ2T1t7Oc3wQC1rE8nEg80kxM3FjkOgJ4n4oPjOGJesKZkhRbOn4KgdxYROy++f6yj4Df0VH7bL27lol6dcD5XbIAGVrnrjg4+LysvBszHyCg18nKt7OcrwRC2GwknF2b3VArY5lpINpP8b7MuhM6SaDssmW78dEhzz16ReOT4uKlDBCfAoAkIaSQIMWI2d3d3Ul86KF/V6u3dFw2bn6Kc/q6rC5jAdsR/5l6QVY+EzMHAKhXVr6d5fwkECL8xLDTH2gmHrQysqObBeXnTDy3DLS9K6V8vUqg3thxPJ//ZVOCRHwRAZJAkESkJJGWYh082X38qRtVij+4lvk9IpLOqDW2x21UUthdK/IoEezbFIwabNRPAjHGTtATqVsbHMIUc27cPIY43VGNDwzZWZVKYr1KoBY8eYoAQ4CQJkEsBkkkTGohluzcbfGjeOedovnSlL9MzFwLQIfKgmToCzpVCku4MfOZRiS5lvvPkJ1NIHqN1umPYMfy3DO/CFT4gLpg2x3rnYXihUw2bl7GOX3GS26m64j4e8N23jbjteJ/Zizzz0B0WDUGGj1GfCkGhCcAMIkISS6WgyGW5Ln8HUCws4w/Ymo2kmkmIzuJUSyyBQBeozLGD9kODPV22XbCD10z6cj29e3Ox4bF8nryzy8CgcInDFq5Us8Obz1dNk4C5oYTKaneVLUchhT5cXpH9w7Y3++W+1aYgUTRRHfNjVsAaIGs8+0uhwDDRjLdoxKHG4vkCEBTGeOHbDsTCBE/ZtjO92RwyFrmSZxojYzsuAz+JZx0PA840qpV3dnNm16uJYsfAY4zkulp35AKBBqxrPgY5UTH5Hn0hy+Ek86OsgGLm+A+/+yQrLyfcm1LIMSXjFDXHjP9cs+Ej+oZNIZ4uW47nsuyoVjsTXnI/6WWe4IMf2QknA/OOANlLPMDshnMtTjRSmMR8UnDdvaS9anQlWJsWHrLW1avjFy7Eogx/KqecKQqOlE8vn2WcptUZgmGeJJuO7d4YejGzAsJqMbyVTPncxZmoHnZLAshGbbT0lVfhpdFI7lR7njdrHpcb0cCIWIOWccSfXBwyrtVJXzceORM4qBU/F32RLFf+Z0zvRcWCDQfW5Yg4ING0tlf9oHPWtYBnHLSJ2pl9crItSOBgOGacMKRPtPjWpF/qTQukF1B0KpVoezmTVuIyJDBejaZmbbjJwhkPkhAK2s1UHE84ktIIDYp9vLzmHhN/irsDhVm6d7oWyDPf1+TzSoHtyOBZOsfFH7A+2KvpbG8VL24IoSIeK1hO//tBWl2afQgnuNV1Xwr1z3TknRiCWf+G4CkX6i9nJ52feLXqFCo8ZVXIgx4bLyACEWRSNQ7EAXElHbElH0oG4AAvzSSabmzIQBQx0Rbz1DajUAIuMlIOtKNCFzL/BEReZKhFCjZ5FTXil5AxC/xBFlGAPGesO0cXiqKYu/dzW6dtr8to09WBhG+ZdjpsyrJi2304V/euBfPURQBYqLslajOIwqJAMD0NHlZw7PIyf6CFVVkrei5nPjXfDCtrKLtCIS40bCdxTKB0tKl22VzI8+o/ICKb3i61rlQJo8xY5l/BKIjZHyRkHnFOPnd25Vmx+BIb29sLD9qSwyuWgQRVht2WuqUaLkROiC6w5BLosxVgVgT9eRiQLC4puUgwhVhO32ebFBZy7ycE0nLy+qVkWs/AsFjhp2WStqsZocMEe81bOcNXtiJFU92ywsvEkC3l6zs9Q6t0+oaHExOLiUzcfNtwOlOWQXVyCGDM41E2tdj4uK7zOgLz+2XzxeWgjHiUKzQ0yf1sRPZBWE79WXZeLJx86ec03tl5f2UkyVQxoqeh8Qvq8Z2+Y9RTZkIkjucou+UOzayEYB2UPEZGXzCSKS/7TWmLu+tjJ1emv2ArhX9CBGX+lLs5XCl67L79dXqLx2XscwXgWg7L13I2IeNREq67rdfW6Fefs10XZpAMfN8APpqNTbKx9RCINkj/NUsi0Ual97RvQj7+zd7xZmxIl8DgnO95FSuI7BvG8nUJyZnINeKXEoEsx5bVTEwk6zG8PCehFP35sTU27uLmx+VqnVdKTWjUqwypy5rxanS+GYQSCVTvRwbmU8EE+k1TxDRriq4IcLvDDstVdwyEzNTAGSq6PeSRcQHDNs5oJRA1xKBdAKfl4EZf0E7tKVd/cm6pwoNLY0ems/xtTI+sg7tIL0/+Q8ZWSGTiUXEL15dNjS8fGg0gRDgH0YyfZCXX8XrMxDoPiPpHDzb+KwVPYsT/6asjaKchnBkj532LPtbrw/fokSbDtoCtO1R4RO6lnkzEZ2oGoiKvOrJTxXdpbIqy1Gti+3d83BK6vh3oVvA4COjNW1aVBsUADSSQIiwPgShY1Syv6fPzrMneYqNITdD4nSoUt8pRHjIsNOvlYGyHtV1J2cdBgcYifQD4wSqc73nwpbjLos6ZQrqyQAzm0wmZn4dgDzrGhd8wlB38VfEy+5QPL5nno9JF6H30qd6XZZAYtcJRl+o/ou7xkjlhG6lGQgQ/hi20xW7WKgefCzaYYy9W7abXMaKJOrVoAsRzzBsp1D9Fut+DgjxpbDtKP3SqD5gRXnXMu8iord6jkfYHLbTu3jKTQg0q1tA0T9ZAsnG47fctCUc4p2G7bx9Jjsi6wDG8g8oz+YIthFf1oe33JL38r/eO8ulWeBYjzrYUwJEfDRsOxGvoP247lrmBiLyzLAufxH0sq2yNPTSVc31NiTQHYbtTGuNQ5bVmaW86PKnXJilUnucGUlah9rupXYQ4DdGMl1oMoD1313C/yDit5F4krOOlLHNNmm87z7fz9UUTjNmt2akanpLlm2dXKLUYTtUhUhtSKBfGLYz7b3atczvEtFHVWIvPKSzzGjluoYs8z15op+p2lCRR3z1Q7GYgRrWi7IABgAHhA2igEihOk/hH7N7SEthIvGiSiClsq5lrSDK/UtmPCJcatjp/ycjK2Rcy2x0V4YprrU8gaa/b9wYTqbfXRpEJh57H/C81PHrqSsY2KKRtlymEVrhXZVyD6luTsg+B0W5wrcofUGPqKeBzSqUMaPTCJuBxusciLJXXMMkg1CyZ2Dgaa+aYtl49FTOuVzly7KvyV4A1vOF1Mu2uN7yBIpNTUZGgOuMZHry00i2N3Yc5fM3qKbUiB9bQvYNxuBeT5yIGOdwCQA15HUBdW2RsS65CTNW5CUg2NbTwSYKIGIGCFKFGUsUEmGY1DCf7Oxc8Hixqo5rRS8m4hfJuIkl25Be8iLRNbvmhiwBNKQ9y0z+tDKBhnt798nlRx+b+o6APzSSzofE/4lafcTpCuVNA68b0+zrGi4LDzr94jvQiMox2mb7PeVGIYoiH48hkVgOiuztmJd/E9PvNrhuXdZLVlxXLRcso1NVppUJNNOnA2T4XR1CF7qQ+w5w8mwRoopHK8hrDI/oSTh/Ft+BprYibwXv6uoDDoSTTp+sieHe2Jtz+bxna3ZZfdXItSqBRnrNvlye/lWevCsyGQBwLwJaWE287TCGadop+mByjZiBRn1vZ9LCCCC8uryQcTNjRT8HJW06ZMb4LdOKBMrE48uQxm4lgn38jrcd9CFoHzeSye+KGUis7xt6GrSZAKnUKRN+upZ5OxEd20yfW4VAhYOPt9+0Z34UTkXiF6luCpRjWHi3BZRuN0LADwOCNzXzXhRtM2Tn6nbqSvEd6JX5VFBR5ax+gUAx89lmL0VEAiMQUQs8OCGps1aSjiLC44adlq41nrXMr3Ki8yXV11VMA7ywJ+lcgplY5GUA2Kau1lpEuSi1pO+8cAGuXTss41K2t3cPnh+tX01qGSfmsIx6Rkjk+0Tw4VaABBleYiScC8U7kCvb0a0VHK/JB4T/Ddtp6SVANm6ewDl5Fu6ryad5PBgB7zaSjnfu4gRG9WoAV80tYIxdqSdS586zJRx+Jpx0LpcFrJWWDLI+t5mcUutP6WThRoCA7JthO/VJ8SH1edmOBo3wq542ygtCeNnKWJG/tMpLq5ev7XhddC40ks6Zsr7XPfFZ1hEhVySQGzOfICCpEkSFcQjrAXBAxVZLyBJtKU0vkfEpY5nXI0D152tkjEzK0J7TKnMiPA+IUidslUw1StjjI6pq5+5G523OClPJDKR28Ajxm2Hb+WSj7sF8sZOJR98PnP+kLN5Z+3O2OjaZmKiXWfmPIZyr2+krZeNwLXMrEYVl5esph8iuNuzU2crngbyKJNbT6bmsOxOLiJJZP51PBAJkHwjbqfIfjRlvcyMKgKo8X8XqPGIX7jYimnb4qZKy8rI+KkYD2coIVDjHMqdnIGTsGCOR+rXMczHUZ+6dH6P1MrKNkEGmfddIJD+Obiz6LQIu/SKn+uLXiGDmgo2hePTdec6vn08zUEeI9XUNpKTep/0sEu/H8zK5hMvEI/8DHKQrdCLi9wzb+ZgfTgQ6XkWgwnmmtp6BZktULhR20ReEZbPi1ds/1vnpQvxa2HbOF5kIM629K1pHxO8btqN8LLfO4bS9+mwscjIHuGm+zECI8LRhp/eQvXEZH6uuytqcTa64g4huPLI/cfinrFIE+IGRTLdEOoWsz+0gV+EXds7OQDBDq5DZ7pNrRa4mgsmSus2+p5O5cBPFOLbKnhhUPQ7Q7EDbxX7WMk/kRDfPoxnoGsNOf0T2/riW+SsiKlTCaYk/jZ0fHkx9rdhgy5E9S46IPzZs54yWCGIOOZGNR9/FOf/FXCLQrIc1kZ0ftlPS/ZaaXZei/FEjZGcvsFNXj7d4VCjvq9qYag4943UNJdsbPZ7n+a3zhUCI+E7Ddu6QAbUV6lKU+1ns7lHskSrdBlxU3ifENTKBN0sGkdJGwvmVin0iwqF47BO8ScVDkHgvAby/1GeBNWP0aZU4/JLt3nOfB/DOO0dk9ImuGEOMdZTL8rHhih26VfISh5cuXZLLjTwu40vDZJj2/nAi+dNxAsXNY4iT1K9Bwxys0pDYHkWGb9QTjncppBIbFb7DVOlF+w+rpT+QV/SFc1l7LQnLElRsdAFhxYZaBLRfoytLMQydrNv2zQUCDS2PLs6P8Ce8Am+H64ig9HIqYpooOZsioL3bIcZG+FhPAgFgfzjpLPMrjmw88mnOQTqnzg+72NFxrNGf+FWBQOJvTpxMRXje6NSj+PDDW1RAasYNUPGvGbL1JJDfG1G0fPm22dGhZxp5MJRpnYfog4N/LyGQuRaADm3GzfLLpkr7i6JN0SXaFYUBFXvV+OVzq+qpK4Hq0DPXjUWuIYBCMcdG/Bnhrn3wgYH1kwRy45GLiENVnbQb4bCXDdXjwUV9rhX5JhGc5aV/vl2vK4E6tJVGf1Kqjrks7hnLWg6iLnaD/ow9Fofx7rvdSQJle6MH8zxXevFukK+eZhBgSAt19XYPDChl6470xXpzOf4QEYU8jTRRAAF+S4hKy1IVd5FIJ4DjSsfUj0C41ejt206mz49KDELWtcy/EdEhquOU5RG2hO10oZH1JIFo1aqQ+/yzL7RjhR6G7CzdTn1LFYiKR7YRU0iQUdFHhcpG9SlsXu+6cNm+vt3Lt5zrRaBqVwoy90KpwYCMwgoypV3IJwk0weDWSpeQCBIRf23YzjESolNEKpwALcggwmrDTistZ8mywi7lnwCgHVV98ZKfUwRieJGRcL7oFXM118Vuqgu5J4FAuvtgNXYQ8VeG7RSKbU4hUNYyz+ZEV1WjtBljEPBZfQH2qfb1LDS53UqiBXqlh/3fxi6L9pStH1eMvV6NbecSgViIHawPpO6TfV6G4uZhPQnnHll5N25+kThdKCtfjRwiXG3Y6bOnEWhkaSQ6loNkNUobPUb0jmEMj1QBd/JBt8zrgWhKA6hy/xHZRww7dY1KXNTXZ7hjw+J72k4q47xk5wyBEF8y4n07yb7/UDy+fZbnRO046ZaQYjlKY8Mb/KygWn5/GLLzdDtVKEk8ZQYaX8ZFHiKC5V43tdnXi5UhVf1w49F3EOcSaT7oGHYq5tXYq9x+Pc6tzBUCIeIthu2cJHvPJjNkWMfycCLxiPS4WORWAjheVl5VjjE8UU84hcTfaQQSDZE4p6+rKm2kPALep++y8E24dm1OxS6tXPmabDZjE9AimXHI8FjlnDoxC+WG1/tZa28OEWiyPbwM/lnLvJwTnVe6ZJIZJ5Z9eU5/lpGtRqYjBLGugXRqRgJRX9/O2dyI+Krbmlu7CJs17Ni/J5FQrlntWuaPiOi/pUFTLAX86hIxeh4Ql66A6uXPXCBQobFZt7EQH3ro317xFq+7MXMdAb0WEF809lqySDZ3TozPWBFbpuGarC8lci8btrNdcWUybQYaX8a12OGlCe8RcYyBdkSPbf+vauCuZR5LRLerjlNpB1nUXSjBNLRVzEK+7AbNBQIB4p/DtnOELP6FH/Kx4eeKXdcZ4sm67ZQfOKyozo1HziQOyp82PP1D+GPYTr+5KDcjgVq1qDoi+6hhp77vGWSZgLvCXETD0A9AO6iOBcSbw7aj3KYwa0XO4QTSvW9m82suEAgBP24kne/K4j9kmafliX4++aAi/t6wnbfJjqdDzAXui/CM3617yju8z0ggOuqoLnfj42I/fWdZh+stV201IHHOx42bdwPBkdX4KJYerAP36+l3lLLV6aCDetyXX3jCj1mo3Qkkdkx1rXMRDg4+L3sPMpb5cyA6reSXnqPWuVgfHKx4xqhctxszv01AH5e1KSNXfhBwRgIV1pCtVAUF4a9Gz4Ijix25ZQItymSt6LmcuPTR4Rl1V1nO2K8NGVkCFXYY4dWHThYnJOghoikfo/3MREDEuwzbOUrWH1q5ssMd2rq5/IwPAn7eSDpfktUzEo9bY3wsISsvJYehhWHbfm7WJZy4OPFlfUNVyx4pT+SEEHGj3qXvr/LyWdTsLo2uhDz9vdYu5KIVoa517okDAy/JeT0uJWah7MsvrieiXVXGlcvKEsjPHz0/CcQ09i59MPVLWQwqNXYWjQ30hLOvyqeFTMy8B4BWydqeTQ4RnjLs9J6lMhVnICHkxkzpo95+ODhNB+KLHRodUtwyVLEhsg2yGVpHRHupjKsoi+yCsJ2SLkA5OQPGzE9yoG/U4kMzCGR0dO+C/f2bZfzOxEzxfrl05tkbNhs9C3ZXWT24lvk9IpqxYo+mscN6BlPSHSv8fJ9HxFsN2zlBmkDiu4mb3boRAF4jA6SfMggwjAyPVD2aXfjlP/FEzU08cle17z0zxYGAm3TUFqNtj6rESatWdWef37S+lj6rjSaQSJEyks5usnHORiCGeLluO5+R1TWez5bfVOl8FmP4Mz3hvE9a36pVoezzz4rMBOl4KulmDD+tJ5wpP4azzkCFWciKXkzEL5J12A858dKJmnaCPpi8rRp92bh5GeckfdOkbSh0EyjVWWuOYSMJNJ4ixd7bk0jdIItLJQJVswHj9bkBEbP6gm0X4v33vyLrnxs3P0+cviArX0kuFOrap/zIjCeBRH5XNjdiE9GUtV+tzsw2vtrjCUKnn1P2dB9B9pZ3AAAJ/klEQVRxMJx0Zl6qzBLQxCz0uGwGRLkqWQKNLI0uHcuTdN7YDPFRhwbrZAu+F8dXnIEQbwjbzuROmswz41rm7URUyHSu9Keap5ixrF0R8k8S0bTKQTI+jcvMXMfBk0CFWaiBVXsQ4cuGnb5APrBXJcUDlBvfNKhfEyaGR4UTzl2q/mWt6Cc48atVxwl5WQJVo9uPMZUI1KHhsq5Bp1/WRnbZst1odGijVyIoItxv2OnXy+oVcplY5EYAOEVlTKksIvuCYaf+f/l4KQIVSKTYR6gaR6v91lOYeXp796D86H1+rHVn9R3xT2HbUf6mJL6tZTc8/ng1/rUjgRDxTsN23q7yHKiUFVDFZCgeeUOeg3IGS9F/xNBrDduedmRcmkCFB5SPJYmoPj1DEW8wTjr1vbh6NVcBXciOFwYZ+RsQWKpjq5LH0IqwbT+sOrba9BLVh0XVr1rly2egQm0+DL1et23ppgWF0mKQ3yi95Y/syrCdOlfF90zMfASA+lTGFBZviBsN25mxj7A0gQq/8nXK1Bbbg/rOC09Rza4ukEfscm3e9AcieoMqMFXLI/48bDuiLYzSX2EW2vj4Y0Swu8rANiDQAAD1TsZUxbtPxoqeDsSvlcYFq9kej36YiCunggHDq8IJ51Mz+aZEIJEWk41HxUue8hHqSsCI47F6T/gEle8ERV0TNZN/UV4QQ/omVCkoklox1LVE7+9/WlWFGzM/RkDfURnX6gRyrchTxR8F8fmBsQ5TJVte3Ef35hsGVbOnmaYdr7JTO3Hg8RnVzzJaiK3qGUj9pWYCFX7xC0XssuuIYInKQzCjccRf66CdoPptpeBHgczigxs0pVcRQ/yabjvnq2IwvlTJiVlIurlUKxOo8DyMZP9TfPEvT7aUwadCczHPoQjwGyOZVmp5komZXwegGWeTCs/ok3q8b0mlU7RKM1DRgNsXey2M5e8lgG7PKCsIIOIdOmgnVUWe1atZ9uYbf0hEH6jWvg/jXjG22W4Ple8Rk/hZ5keJSDozuZUJ5MbMMwjohyI2RHhMD3Uvx/5+Vxbf8WpQmxLVVDQS35lA1/Yw1iU3ydobXhaN5Ed5qnhMwnMcw/8JJ5zLKq6gPBVUEHDj0Q8R50o1A4qqxNFevSd8WlXLNpFoOJz5GXBSPmJQbayVxpWejVfRPfHC/Kjst7VWJRAdeOA22a1bHPHiP/7xm71RH0z9XQWLajdWJm14POAz+eLGzN8T0Fu8/BT1BnXWsTsmEi/6TiChMGNFrwDi53g5UnodEX6ix5d9ULawROnY8Zfw9be0SqcykVyo77xoSTWbH64l/0LbigQaz5jOXFs8csCQfUW3U59TeRZoxYqd3JGsA0SFIoXV/aETTjpRlbGy3zVlujFWtYQrddaNmz8kTpId6/Abhp06RyWbtmir8AKYG77dz/w2FdAryWqMnaaS9jIZz8qVHdmhjJiFPJNdW41AopsHH+E3EkDhY6YoNKhD6ADV5bhKY7fZ7hVj+AaVnMnC5tPNN4os+Vmx7wixPq+sjJoJNOHMTUR04mxBIqJIwpT+LjBdFy3yY+PCD9JMnVHxOQIarEYvAkRltrTFNj8QKB2lqMYf7zHUCYhLgOjg0p66iPA7AFAqq0wEoiZf1ZkBU31FB4Ee9fa/RAJh2ewbObg2nHQO89JZM4GEATGdZ4cydxCR9KEpL8eC6wECzURAdovcFwIVSDT+QfPnRPSuZgYe2A4QqBkBhKQRX7ZU5j3dNwIVSCQ+iK258QqVffaagw0UBAj4jACC9l9GMimWpZ5/vhKoaC0bMz9JQFeWrpM9PQkEAgRaA4E/hJNpzy3uoqt1IZBQLtq2E6fr6nq0oDUAD7yYIwiID7OhEFvhtfNWGm7dCCSMDMdi++VBbHfSyjmCcRDGHEYAAX5gJNNKqWF1JVDhvWi8Z8ulSHCOdPrEHL5JQWitigBuNbSO/VRq14lI6k6gIlyZ3uhbcHxJV1OJp1aFP/CrzRGoIiWooQQqzEaiys9w5mIkOLNli9e3+XMQuK+OACLeq8f7DpXZti7X3rAZqNRwofhFjq4GoEPVww1GBAj4isDLGmjLepJJUb5N+a8pBCp6KZrCEqdLCWjG47LK0QQDAgQUEWBMO1VPJG9SHDYp3lQCFZZ14jzI5ufeA0Sfq+ZMSLWBB+MCBBDgOiOZPr0WJJpOoKLzIoth6JabTuacLphyvr6W6IKxAQIVECgc/oPQCrTtTC0gtQyBJolEhMNx8/A8wQcR4DgC6KolwGBsgMC0F39EFzQ81BhIrasVnZYjUGlAokvzEM+9lwOcUbF4ea0IBOPnFQKImCOEd1RTHHMmoFqaQKUOF6qO5ugYQDoGCPYPPsrOq+fel2BFvToCeH84mf6ZLwob+SHVL4eFHndlbCEM09FA9HYiOgQAdvJTf6BrjiKA7Pywnaqt2VoZNG0zA812S0WlldwYHIxEhxDSwUhgetVXnqOPSBBWJQSqqGQqA+acIFB5oKL4yOgzG/bL53iMsHBsOooEEQBaCIg711alXwbWQKaVEECGP9IHUx+qphaHVxxzkkCzBS0KMsKBse1HM2xXDrldCdm2SNTNCbqBUTcSdBGwbiBiXuAF16ciQAgmEL2nlXBBwC8aSadu/a3mHYFa6ebONV/cWOSdBFBVUzS/sSgUXWTwUSORLhR9rNdfQKB6ITsP9VZbotdvqFB85yF2kuyx7FrsBwSqBb1g7BQESsv8Ng0ahOeR4dHGoPNgI3wICNQIlOeJjUwseiUA/3SzwkXEuwi0D4Rt+7lG+RAQqFFIzwM7mZh5j0gPbnSoooY1IvuMbqe+1QTbjTYZ2JuLCIhPB+6G9f8GoAWNjA8RHgqxztO6BgeTjbRbtBXMQM1AfQ7azFrmiZzo5kaFVmhyRnBlD2oXqdbk9tPHgEB+ojmPdbmxyK8J4OhGQIAAt2mgfbY7mVSrh10H5wIC1QHU+aZyPNGXP1zvQpqI8E+GcG5PIv23VsE4IFCr3Ik29iMTi9wNAG+uVwgI+AQydkHPoL2mHuk4tfgdEKgW9IKxUNd3H4S/MmTf7LGW3l5NxZxG3J6AQI1AeY7aKGTBj/IHAGAbv0IUW9IAeH1Ig6u7Bp1+v/TWS09AoHohO8f10srIju4Q/AUIrFpDFQfdAOGfCOyWHtSuna0naa22/B4fEMhvROeBPurt3cXNj/2xluIvYhuaiNYi4G3QDXcYDznPtiN0AYHa8a410eeMZS1HyN1CBPuquCG6eBOgjQzuZwT3dHf2/BYffniLio5WlA0I1Ip3pQV9KpQdu/mmM4n45V6VkiaWZM8A4IOEdL8GeH/3tvAg3utsbcHQanIpIFBN8M2PwUNx87A80Wok3A+QXCLMIlCWxLEBgOcQYQMAbtQQN0AeNnQtXvwk3nnnyHxA5/8Aqlk5xmN3FcEAAAAASUVORK5CYII="; +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/layouts/LoginAndRegister/index.tsx + + + + + + + + + + + + + + + + +var HOST = window.location.host; +var redirect_uri = env/* default.QQLoginCB */.Z.QQLoginCB; +function onQQLogin() { + if ((0,util/* isPc */.b9)()) { + window.location.href = "https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=".concat(redirect_uri, "%2fotherloginqq&state=null,").concat(HOST, "&response_type=code"); + } else { + (0,util/* openNewWindow */.xg)("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=".concat(redirect_uri, "%2fotherloginqq&state=null,").concat(HOST, "&response_type=code")); + } +} +function onWechatLogin() { + modal/* default.info */.Z.info({ + icon: null, + closable: true, + centered: true, + maskClosable: true, + className: LoginAndRegistermodules.qrcodeModal, + content: /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { + frameBorder: "0", + sandbox: "allow-scripts allow-same-origin allow-top-navigation", + scrolling: "no", + src: "https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=".concat(redirect_uri, "%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,").concat(HOST, "#wechat_redirect") + }) + }); +} +var LoginAndRegister = function LoginAndRegister(_ref) { + var _globalSetting$settin, _globalSetting$settin2, _globalSetting$settin3; + var globalSetting = _ref.globalSetting, + dispatch = _ref.dispatch; + (0,react.useEffect)(function () { + if (!globalSetting.setting) { + dispatch({ + type: 'globalSetting/query' + }); + } + }, []); + var is_main_site = (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.main_site; + var login_logo_url = (_globalSetting$settin2 = globalSetting.setting) === null || _globalSetting$settin2 === void 0 ? void 0 : _globalSetting$settin2.login_logo_url; + var is_local = (_globalSetting$settin3 = globalSetting.setting) === null || _globalSetting$settin3 === void 0 ? void 0 : _globalSetting$settin3.is_local; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: LoginAndRegistermodules.bg, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + className: LoginAndRegistermodules.logo, + justify: "center", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + alt: "logo", + src: login_logo_url ? "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/").concat(login_logo_url) : logo_namespaceObject, + onClick: function onClick() { + return _umi_production_exports.history.push('/'); + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: LoginAndRegistermodules.outLetWrapper, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Outlet, {}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + gutter: 8, + className: LoginAndRegistermodules.quickLogin, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: LoginAndRegistermodules.dot + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: LoginAndRegistermodules.text, + children: "\u5FEB\u901F\u767B\u5F55" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: LoginAndRegistermodules.dot + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "center", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u4F7F\u7528\u5FAE\u4FE1\u8D26\u53F7\u767B\u5F55", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(LoginAndRegistermodules.icon, " ").concat(LoginAndRegistermodules.wx), + onClick: onWechatLogin + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u4F7F\u7528QQ\u8D26\u53F7\u767B\u5F55", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(LoginAndRegistermodules.icon, " ").concat(LoginAndRegistermodules.qq), + onClick: onQQLogin + }) + }) + })] + })] + })] + }); +}; +/* harmony default export */ var layouts_LoginAndRegister = ((0,_umi_production_exports.connect)(function (_ref2) { + var globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting + }; +})(LoginAndRegister)); + +/***/ }), + +/***/ 98787: +/*!**********************************************!*\ + !*** ./node_modules/antd/es/_util/colors.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "E": function() { return /* binding */ PresetStatusColorTypes; }, +/* harmony export */ "Y": function() { return /* binding */ PresetColorTypes; } +/* harmony export */ }); +/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./type */ 93355); + +var PresetStatusColorTypes = (0,_type__WEBPACK_IMPORTED_MODULE_0__/* .tuple */ .b)('success', 'processing', 'error', 'default', 'warning'); +// eslint-disable-next-line import/prefer-default-export +var PresetColorTypes = (0,_type__WEBPACK_IMPORTED_MODULE_0__/* .tuple */ .b)('pink', 'red', 'yellow', 'orange', 'cyan', 'green', 'blue', 'purple', 'geekblue', 'magenta', 'volcano', 'gold', 'lime'); + +/***/ }), + +/***/ 80636: +/*!**************************************************!*\ + !*** ./node_modules/antd/es/_util/placements.js ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getPlacements; } +/* harmony export */ }); +/* unused harmony export getOverflowOptions */ +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var rc_tooltip_es_placements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-tooltip/es/placements */ 43159); + + +var autoAdjustOverflowEnabled = { + adjustX: 1, + adjustY: 1 +}; +var autoAdjustOverflowDisabled = { + adjustX: 0, + adjustY: 0 +}; +var targetOffset = [0, 0]; +function getOverflowOptions(autoAdjustOverflow) { + if (typeof autoAdjustOverflow === 'boolean') { + return autoAdjustOverflow ? autoAdjustOverflowEnabled : autoAdjustOverflowDisabled; + } + return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, autoAdjustOverflowDisabled), autoAdjustOverflow); +} +function getPlacements(config) { + var _config$arrowWidth = config.arrowWidth, + arrowWidth = _config$arrowWidth === void 0 ? 4 : _config$arrowWidth, + _config$horizontalArr = config.horizontalArrowShift, + horizontalArrowShift = _config$horizontalArr === void 0 ? 16 : _config$horizontalArr, + _config$verticalArrow = config.verticalArrowShift, + verticalArrowShift = _config$verticalArrow === void 0 ? 8 : _config$verticalArrow, + autoAdjustOverflow = config.autoAdjustOverflow, + arrowPointAtCenter = config.arrowPointAtCenter; + var placementMap = { + left: { + points: ['cr', 'cl'], + offset: [-4, 0] + }, + right: { + points: ['cl', 'cr'], + offset: [4, 0] + }, + top: { + points: ['bc', 'tc'], + offset: [0, -4] + }, + bottom: { + points: ['tc', 'bc'], + offset: [0, 4] + }, + topLeft: { + points: ['bl', 'tc'], + offset: [-(horizontalArrowShift + arrowWidth), -4] + }, + leftTop: { + points: ['tr', 'cl'], + offset: [-4, -(verticalArrowShift + arrowWidth)] + }, + topRight: { + points: ['br', 'tc'], + offset: [horizontalArrowShift + arrowWidth, -4] + }, + rightTop: { + points: ['tl', 'cr'], + offset: [4, -(verticalArrowShift + arrowWidth)] + }, + bottomRight: { + points: ['tr', 'bc'], + offset: [horizontalArrowShift + arrowWidth, 4] + }, + rightBottom: { + points: ['bl', 'cr'], + offset: [4, verticalArrowShift + arrowWidth] + }, + bottomLeft: { + points: ['tl', 'bc'], + offset: [-(horizontalArrowShift + arrowWidth), 4] + }, + leftBottom: { + points: ['br', 'cl'], + offset: [-4, verticalArrowShift + arrowWidth] + } + }; + Object.keys(placementMap).forEach(function (key) { + placementMap[key] = arrowPointAtCenter ? (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, placementMap[key]), { + overflow: getOverflowOptions(autoAdjustOverflow), + targetOffset: targetOffset + }) : (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, rc_tooltip_es_placements__WEBPACK_IMPORTED_MODULE_0__/* .placements */ .C[key]), { + overflow: getOverflowOptions(autoAdjustOverflow) + }); + placementMap[key].ignoreShake = true; + }); + return placementMap; +} + +/***/ }), + +/***/ 84908: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/tooltip/index.js + 3 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ tooltip; } +}); + +// 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/extends.js +var esm_extends = __webpack_require__(87462); +// 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/typeof.js +var esm_typeof = __webpack_require__(71002); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/rc-trigger/es/index.js + 15 modules +var es = __webpack_require__(81263); +// EXTERNAL MODULE: ./node_modules/rc-tooltip/es/placements.js +var placements = __webpack_require__(43159); +;// CONCATENATED MODULE: ./node_modules/rc-tooltip/es/Popup.js + + +function Popup(props) { + var showArrow = props.showArrow, + arrowContent = props.arrowContent, + children = props.children, + prefixCls = props.prefixCls, + id = props.id, + overlayInnerStyle = props.overlayInnerStyle, + className = props.className, + style = props.style; + return /*#__PURE__*/react.createElement("div", { + className: classnames_default()("".concat(prefixCls, "-content"), className), + style: style + }, showArrow !== false && /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-arrow"), + key: "arrow" + }, arrowContent), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-inner"), + id: id, + role: "tooltip", + style: overlayInnerStyle + }, typeof children === 'function' ? children() : children)); +} +;// CONCATENATED MODULE: ./node_modules/rc-tooltip/es/Tooltip.js + + + + + + + + + + +var Tooltip = function Tooltip(props, ref) { + var overlayClassName = props.overlayClassName, + _props$trigger = props.trigger, + trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger, + _props$mouseEnterDela = props.mouseEnterDelay, + mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela, + _props$mouseLeaveDela = props.mouseLeaveDelay, + mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, + overlayStyle = props.overlayStyle, + _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-tooltip' : _props$prefixCls, + children = props.children, + onVisibleChange = props.onVisibleChange, + afterVisibleChange = props.afterVisibleChange, + transitionName = props.transitionName, + animation = props.animation, + motion = props.motion, + _props$placement = props.placement, + placement = _props$placement === void 0 ? 'right' : _props$placement, + _props$align = props.align, + align = _props$align === void 0 ? {} : _props$align, + _props$destroyTooltip = props.destroyTooltipOnHide, + destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip, + defaultVisible = props.defaultVisible, + getTooltipContainer = props.getTooltipContainer, + overlayInnerStyle = props.overlayInnerStyle, + arrowContent = props.arrowContent, + overlay = props.overlay, + id = props.id, + showArrow = props.showArrow, + restProps = (0,objectWithoutProperties/* default */.Z)(props, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow"]); + + var domRef = (0,react.useRef)(null); + (0,react.useImperativeHandle)(ref, function () { + return domRef.current; + }); + + var extraProps = (0,objectSpread2/* default */.Z)({}, restProps); + + if ('visible' in props) { + extraProps.popupVisible = props.visible; + } + + var getPopupElement = function getPopupElement() { + return /*#__PURE__*/react.createElement(Popup, { + showArrow: showArrow, + arrowContent: arrowContent, + key: "content", + prefixCls: prefixCls, + id: id, + overlayInnerStyle: overlayInnerStyle + }, overlay); + }; + + var destroyTooltip = false; + var autoDestroy = false; + + if (typeof destroyTooltipOnHide === 'boolean') { + destroyTooltip = destroyTooltipOnHide; + } else if (destroyTooltipOnHide && (0,esm_typeof/* default */.Z)(destroyTooltipOnHide) === 'object') { + var keepParent = destroyTooltipOnHide.keepParent; + destroyTooltip = keepParent === true; + autoDestroy = keepParent === false; + } + + return /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + popupClassName: overlayClassName, + prefixCls: prefixCls, + popup: getPopupElement, + action: trigger, + builtinPlacements: placements/* placements */.C, + popupPlacement: placement, + ref: domRef, + popupAlign: align, + getPopupContainer: getTooltipContainer, + onPopupVisibleChange: onVisibleChange, + afterPopupVisibleChange: afterVisibleChange, + popupTransitionName: transitionName, + popupAnimation: animation, + popupMotion: motion, + defaultPopupVisible: defaultVisible, + destroyPopupOnHide: destroyTooltip, + autoDestroy: autoDestroy, + mouseLeaveDelay: mouseLeaveDelay, + popupStyle: overlayStyle, + mouseEnterDelay: mouseEnterDelay + }, extraProps), children); +}; + +/* harmony default export */ var es_Tooltip = (/*#__PURE__*/(0,react.forwardRef)(Tooltip)); +;// CONCATENATED MODULE: ./node_modules/rc-tooltip/es/index.js + + + +/* harmony default export */ var rc_tooltip_es = (es_Tooltip); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/colors.js +var colors = __webpack_require__(98787); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/motion.js +var motion = __webpack_require__(33603); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/placements.js +var _util_placements = __webpack_require__(80636); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +;// CONCATENATED MODULE: ./node_modules/antd/es/tooltip/index.js + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var splitObject = function splitObject(obj, keys) { + var picked = {}; + var omitted = (0,esm_extends/* default */.Z)({}, obj); + keys.forEach(function (key) { + if (obj && key in obj) { + picked[key] = obj[key]; + delete omitted[key]; + } + }); + return { + picked: picked, + omitted: omitted + }; +}; +var PresetColorRegex = new RegExp("^(".concat(colors/* PresetColorTypes.join */.Y.join('|'), ")(-inverse)?$")); +// Fix Tooltip won't hide at disabled button +// mouse events don't trigger at disabled button in Chrome +// https://github.com/react-component/tooltip/issues/18 +function getDisabledCompatibleChildren(element, prefixCls) { + var elementType = element.type; + if ((elementType.__ANT_BUTTON === true || element.type === 'button') && element.props.disabled || elementType.__ANT_SWITCH === true && (element.props.disabled || element.props.loading) || elementType.__ANT_RADIO === true && element.props.disabled) { + // Pick some layout related style properties up to span + // Prevent layout bugs like https://github.com/ant-design/ant-design/issues/5254 + var _splitObject = splitObject(element.props.style, ['position', 'left', 'right', 'top', 'bottom', 'float', 'display', 'zIndex']), + picked = _splitObject.picked, + omitted = _splitObject.omitted; + var spanStyle = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({ + display: 'inline-block' + }, picked), { + cursor: 'not-allowed', + width: element.props.block ? '100%' : undefined + }); + var buttonStyle = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, omitted), { + pointerEvents: 'none' + }); + var child = (0,reactNode/* cloneElement */.Tm)(element, { + style: buttonStyle, + className: null + }); + return /*#__PURE__*/react.createElement("span", { + style: spanStyle, + className: classnames_default()(element.props.className, "".concat(prefixCls, "-disabled-compatible-wrapper")) + }, child); + } + return element; +} +var tooltip_Tooltip = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames2; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getContextPopupContainer = _React$useContext.getPopupContainer, + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + // Warning for deprecated usage + if (false) {} + var _useMergedState = (0,useMergedState/* default */.Z)(false, { + value: props.open !== undefined ? props.open : props.visible, + defaultValue: props.defaultOpen !== undefined ? props.defaultOpen : props.defaultVisible + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + open = _useMergedState2[0], + setOpen = _useMergedState2[1]; + var isNoTitle = function isNoTitle() { + var title = props.title, + overlay = props.overlay; + return !title && !overlay && title !== 0; // overlay for old version compatibility + }; + + var onOpenChange = function onOpenChange(vis) { + var _a, _b; + setOpen(isNoTitle() ? false : vis); + if (!isNoTitle()) { + (_a = props.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(props, vis); + (_b = props.onVisibleChange) === null || _b === void 0 ? void 0 : _b.call(props, vis); + } + }; + var getTooltipPlacements = function getTooltipPlacements() { + var builtinPlacements = props.builtinPlacements, + _props$arrowPointAtCe = props.arrowPointAtCenter, + arrowPointAtCenter = _props$arrowPointAtCe === void 0 ? false : _props$arrowPointAtCe, + _props$autoAdjustOver = props.autoAdjustOverflow, + autoAdjustOverflow = _props$autoAdjustOver === void 0 ? true : _props$autoAdjustOver; + return builtinPlacements || (0,_util_placements/* default */.Z)({ + arrowPointAtCenter: arrowPointAtCenter, + autoAdjustOverflow: autoAdjustOverflow + }); + }; + // 动态设置动画点 + var onPopupAlign = function onPopupAlign(domNode, align) { + var placements = getTooltipPlacements(); + // 当前返回的位置 + var placement = Object.keys(placements).find(function (key) { + var _a, _b; + return placements[key].points[0] === ((_a = align.points) === null || _a === void 0 ? void 0 : _a[0]) && placements[key].points[1] === ((_b = align.points) === null || _b === void 0 ? void 0 : _b[1]); + }); + if (!placement) { + return; + } + // 根据当前坐标设置动画点 + var rect = domNode.getBoundingClientRect(); + var transformOrigin = { + top: '50%', + left: '50%' + }; + if (/top|Bottom/.test(placement)) { + transformOrigin.top = "".concat(rect.height - align.offset[1], "px"); + } else if (/Top|bottom/.test(placement)) { + transformOrigin.top = "".concat(-align.offset[1], "px"); + } + if (/left|Right/.test(placement)) { + transformOrigin.left = "".concat(rect.width - align.offset[0], "px"); + } else if (/right|Left/.test(placement)) { + transformOrigin.left = "".concat(-align.offset[0], "px"); + } + domNode.style.transformOrigin = "".concat(transformOrigin.left, " ").concat(transformOrigin.top); + }; + var getOverlay = function getOverlay() { + var title = props.title, + overlay = props.overlay; + if (title === 0) { + return title; + } + return overlay || title || ''; + }; + var getPopupContainer = props.getPopupContainer, + _props$placement = props.placement, + placement = _props$placement === void 0 ? 'top' : _props$placement, + _props$mouseEnterDela = props.mouseEnterDelay, + mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela, + _props$mouseLeaveDela = props.mouseLeaveDelay, + mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, + otherProps = __rest(props, ["getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay"]); + var customizePrefixCls = props.prefixCls, + openClassName = props.openClassName, + getTooltipContainer = props.getTooltipContainer, + overlayClassName = props.overlayClassName, + color = props.color, + overlayInnerStyle = props.overlayInnerStyle, + children = props.children; + var prefixCls = getPrefixCls('tooltip', customizePrefixCls); + var rootPrefixCls = getPrefixCls(); + var tempOpen = open; + // Hide tooltip when there is no title + if (!('open' in props) && !('visible' in props) && isNoTitle()) { + tempOpen = false; + } + var child = getDisabledCompatibleChildren((0,reactNode/* isValidElement */.l$)(children) && !(0,reactNode/* isFragment */.M2)(children) ? children : /*#__PURE__*/react.createElement("span", null, children), prefixCls); + var childProps = child.props; + var childCls = !childProps.className || typeof childProps.className === 'string' ? classnames_default()(childProps.className, (0,defineProperty/* default */.Z)({}, openClassName || "".concat(prefixCls, "-open"), true)) : childProps.className; + var customOverlayClassName = classnames_default()(overlayClassName, (_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-").concat(color), color && PresetColorRegex.test(color)), _classNames2)); + var formattedOverlayInnerStyle = overlayInnerStyle; + var arrowContentStyle = {}; + if (color && !PresetColorRegex.test(color)) { + formattedOverlayInnerStyle = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, overlayInnerStyle), { + background: color + }); + // @ts-ignore + arrowContentStyle = { + '--antd-arrow-background-color': color + }; + } + return /*#__PURE__*/react.createElement(rc_tooltip_es, (0,esm_extends/* default */.Z)({}, otherProps, { + placement: placement, + mouseEnterDelay: mouseEnterDelay, + mouseLeaveDelay: mouseLeaveDelay, + prefixCls: prefixCls, + overlayClassName: customOverlayClassName, + getTooltipContainer: getPopupContainer || getTooltipContainer || getContextPopupContainer, + ref: ref, + builtinPlacements: getTooltipPlacements(), + overlay: getOverlay(), + visible: tempOpen, + onVisibleChange: onOpenChange, + onPopupAlign: onPopupAlign, + overlayInnerStyle: formattedOverlayInnerStyle, + arrowContent: /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-arrow-content"), + style: arrowContentStyle + }), + motion: { + motionName: (0,motion/* getTransitionName */.mL)(rootPrefixCls, 'zoom-big-fast', props.transitionName), + motionDeadline: 1000 + } + }), tempOpen ? (0,reactNode/* cloneElement */.Tm)(child, { + className: childCls + }) : child); +}); +if (false) {} +/* harmony default export */ var tooltip = (tooltip_Tooltip); + +/***/ }), + +/***/ 43159: +/*!**************************************************!*\ + !*** ./node_modules/rc-tooltip/es/placements.js ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "C": function() { return /* binding */ placements; } +/* harmony export */ }); +var autoAdjustOverflow = { + adjustX: 1, + adjustY: 1 +}; +var targetOffset = [0, 0]; +var placements = { + left: { + points: ['cr', 'cl'], + overflow: autoAdjustOverflow, + offset: [-4, 0], + targetOffset: targetOffset + }, + right: { + points: ['cl', 'cr'], + overflow: autoAdjustOverflow, + offset: [4, 0], + targetOffset: targetOffset + }, + top: { + points: ['bc', 'tc'], + overflow: autoAdjustOverflow, + offset: [0, -4], + targetOffset: targetOffset + }, + bottom: { + points: ['tc', 'bc'], + overflow: autoAdjustOverflow, + offset: [0, 4], + targetOffset: targetOffset + }, + topLeft: { + points: ['bl', 'tl'], + overflow: autoAdjustOverflow, + offset: [0, -4], + targetOffset: targetOffset + }, + leftTop: { + points: ['tr', 'tl'], + overflow: autoAdjustOverflow, + offset: [-4, 0], + targetOffset: targetOffset + }, + topRight: { + points: ['br', 'tr'], + overflow: autoAdjustOverflow, + offset: [0, -4], + targetOffset: targetOffset + }, + rightTop: { + points: ['tl', 'tr'], + overflow: autoAdjustOverflow, + offset: [4, 0], + targetOffset: targetOffset + }, + bottomRight: { + points: ['tr', 'br'], + overflow: autoAdjustOverflow, + offset: [0, 4], + targetOffset: targetOffset + }, + rightBottom: { + points: ['bl', 'br'], + overflow: autoAdjustOverflow, + offset: [4, 0], + targetOffset: targetOffset + }, + bottomLeft: { + points: ['tl', 'bl'], + overflow: autoAdjustOverflow, + offset: [0, 4], + targetOffset: targetOffset + }, + leftBottom: { + points: ['br', 'bl'], + overflow: autoAdjustOverflow, + offset: [-4, 0], + targetOffset: targetOffset + } +}; +/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (placements))); + +/***/ }) + +}]); \ No newline at end of file diff --git a/layouts__LoginAndRegister__index.chunk.css b/layouts__LoginAndRegister__index.chunk.css new file mode 100644 index 0000000000..37e6364951 --- /dev/null +++ b/layouts__LoginAndRegister__index.chunk.css @@ -0,0 +1,68 @@ +/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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/layouts/LoginAndRegister/index.less?modules ***! + \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.bg___jd0Hp { + background-color: #fff; + min-height: 100vh; + padding-bottom: 90px; +} +.bg___jd0Hp .logo___ROAyE { + padding-top: 40px; + margin-bottom: 38px; +} +.bg___jd0Hp .logo___ROAyE img { + width: 104px; + cursor: pointer; +} +.bg___jd0Hp .outLetWrapper___g0uSd { + margin: 0 auto; + width: 465px; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; +} +.bg___jd0Hp .outLetWrapper___g0uSd .quickLogin___ilamT { + margin-top: 80px; + margin-bottom: 30px; +} +.bg___jd0Hp .outLetWrapper___g0uSd .quickLogin___ilamT .text___Z9Y9R { + font-size: 14px; + color: #666666; +} +.bg___jd0Hp .outLetWrapper___g0uSd .quickLogin___ilamT .dot___XM0SF { + height: 1px; + border-bottom: 1px dotted #D1D1D1; +} +.bg___jd0Hp .outLetWrapper___g0uSd .icon___mymBj { + width: 46px; + height: 46px; + background-position: center; + background-repeat: no-repeat; + background-size: contain; + cursor: pointer; +} +.bg___jd0Hp .outLetWrapper___g0uSd .icon___mymBj.wx___mWm0f { + margin-right: 70px; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABcCAYAAADj79JYAAAAAXNSR0IArs4c6QAAD4hJREFUeF7tXVlsXNd5/v47M5zhMtxJrRS1UZI3yWSd2KoX2m6QAn0JUKBOAiMJujwFeUgearsJbCAtktjuQ/tQ9KlN4LRGCz8UyEuAFK0t2kpUNxYpyxspyRK10iKH5JBDDme9J/gONRQ5mu2cO0MyMn/BoEyd5T/f/e9//u2cK9hkdOmSCl2dmT3kOpnDonAYSo5A1F4oNCtBGAphEQmTbaVUDIKYKPDnPJSMQ9SoEow5rn+sp73t3L59kthMS5SNZuY9pQKJ92cfdt3sUy7wNKCOQyFYFb4ESUBOOcCbjuN7K3Ss7d2HRNJVGdtykA0BXCnlvDMy/ZSC+00F/CkUmiz5N+smWBDgvwTOzx/v73hLRFyzAby3XlfAT340syebzHxbQZ6FUru9s+9hBJFrAvW6L+j/58fua7/iYSSjrusC+NDIZB+U8wKU+oaCChhxWOPGAklD5N8g7suD/d3nazwdagr4O2ej+7OZ9I8EeIZqpNaL8TI+1YsC3vD5Az94/GjrRS9jlepbE8DPn1fBiVjkOVep7wMI1Yr5Go2bcER+vCPc+WpfnySrPUfVAR86M/1luO4/KaX6qs3seo4nIufhON8ZfLDjv6s5b9UAp3m3OBx5VUF9t5oMbvRYAvnHxoHO56plTlYF8FMjs3tTKvOGUuoLGw1QLeYXkf+vE/9Xj/e3jXsd3zPgQyOTf6KUvA6lWr0ys6n7i0RF1LOD/d2/9MKnJ8CHRiLfUq76F0D5vTDx+9NXMuLIXw32d75my7M14G+PTP21UnhFKWU9hi3TG9lPRJQInn+iv+vvbfiwAmtoePInSuEFmwnvlj4ieHlwoPtvTNdjDDgl23XVq6YT3Y3tHUeeM5V0I8Cps6HUzz5vaqSYsFC9QOTPTXR6xYBra8SVX3x+NshK30lupOorlVovFQFOOzupMiN3velXKcb57USiQfH3V2KnlwVce5AjkZNKqS/a8vN56EfnqLG/87FyHmlZwIdOT/3D3eau10oAGAYY/IOu75UavyTgDESpbPZXtWJQiYuMmwX/uPo/FxAFpQCBwNF/fPCLHz44+jebncTn++NSAa+igDPEeiMW+aDaUT8RwHEEjggCfkGwzodgwEFdwIHPETQ1+JF1FZYSWWSyCqm0i2Q6i2TK1f/vKgXXXX4om5EYZdwZ7nygWGi3KOAnhqdeglI/rNaifD5ZBrTej+amAJob/WgI+hEILINfighwKuNicSmL+cU05hfSWExk9YPhv202ckReemKg6+8K8VVwpTpTk059VI3kAYEOBXxob6lDZ2udBpwS7oWyWYX5eBqR2RRm5lNIZ1wN/iaihC9Qd1+hzFHBlZ8YnvoPKPU1LwsgqFQV3e1BbGsPoT7o8zJc0b4LSxl8FklgKprUwG8aVSPyn08OdH39Dgsy/xfLCV8Z9ZKD9PsEbeE69GxvQLhhfQKJ0VgaV2/GMbeQ3hTSrkswRB3JT0zfIeFDw5F/Vcr9C1txDPgd7Oqux+6uelCdrCdxU73yWRwTkSW9wW40iTg/HRzo/MvVfKxBRNeNJLIXbEsZaGn0bm/Ajs56lNkHa4rFjakljE/EtYrZSGIJhi/kO7i67mUN4EPDky8rhedtmKRk79vZiG3tQc+bos38+X0I+qWJRWQyGyvpInhlcKB7JZS9Ajh19tBI5LJNRRQ3SEo2VQlNv1LETY7mHTdRmoYmRNNwLpbWD7Q1HCg5FzfPa5NxXJ6Ib6xOF7k22N/ZmyurW0Hn7eHIH7nK/R8TANiWqqO7LYQDuxtBKS9F564saP2ao/bmOtx/oKUi9ROJpjB6eR40CUl0mO4/0KzNzGJEU/Hi9UU950ZaL444X3pioPN/NV45ZoeGJ19TCt80BZye4ZHeMBpLLJxjTs4k8cn4/B3D793RiN4dDSWn5Qb47oczyGTX6mTO+dA9bSX70lMduxzT9vpGkQh+PjjQ/a0VwBkRXBiZmjGtYqWHSMne1hEqq0pGL8dwc/rOUu3mxgD6D5dO+E/PpfDhp3MF8XrkgQ5t7xcjSnY0lsIn47GN20QFC039Xe2MJGoJP3lm5rFMNvOOqQRQuu/d11yRU3Ph6gKuT91WJ6vVygMHW0pOTdv6zLnoHW1EBI8e7ShrflK1nLsS02/ZRpHf53/8sQfbT2rAbeImSins3dmInu6GsgvmHLF4BiNjUZ5aWLNmPrCuttL19+zy3ieziCcya/p2tQZx7/7mshiyP1XKRxfnNkyX5+IrOcDfglJPluV8VQMlCscOtqK1qa6iTY9d6X5T0qlX/T4He3csWzaV0FIyq3UxpZ2STbD79jSBXm0+EWA+WD7a3PPlnGcvRHXUcUNI5MSTA11PCc/UXJ6dihof8/Bn8PCRboTqzGMk6YzSoVkbopUiOrx7uzdB5e/TWXf5Z8ZFmqHcVWFc/v1GZAmJFOMtGxDeFSR727pa5e3TM0ddZN43XnwogT88tKusKWg8rkEHAk3JpfTH4mksxDNIpl0NNG11hhb8fDiO6LdQPxhXaWco93BoAdH6WQ+z0YH/mJwYmfwzuHjDYJ26qdMUx/EDewq+0qZj2bQn0NwXpueSy2oGglDQQbghgMZ6HxpCfv0W0RGjCsoRpZug88EkklnQEeODiiey+s2oaQzGwTPy9vDUi65Sf2u66GBHHF/s2bPubjwzPgSHFkckmtSAtjXXgU4UI5M2ATMCPb+Y0RsrTUjq+VrE10Xwogydnvp3BfWsKeCBtkU83Ntb1v42HbdUe6qK2VthWEo4kxrb20M6LVcN0jb7Qgo3p5P6Z7U3WIG8LkPDkyeVwqOmDEsogePrqMMJMO34qdmkjrVv71gGuhZRSUo31RQTG5T6akm7CH4tQ6cnzyrgAVPAEUjjkcPbEayrfSadepXJBYLNDBLDv6W8S+O1FOnAPYKgT84mqqLbBfhATgxPXoLCXmMmxcWDfe2ga14LKbu9yUGbc1c/i2N7Zwi7uxrgtzQpTddIFUMLiG/WZ9MJ7wlrwbicOD0ZAdBhzAwUDuxqwk5mdjwmhUvNzSz96HhMh2MZby8XkTRdR7n2OdDHbyxqx80jTcvQ8FRSKVVnM1BrUwCH94atnJ9K5qPupHdJKas0ZlPJuKZtCPrcYhoXrixgMS+8YDKWiKQ8AU4TrK+nSbvZXksfCjE+O5/Cx5fmcbCnSWf+y9FEJIErN+Pa22T7/bsaS6o7mpbjzApllY7nHNjdtMaDXT0fH34udWdbC6MBt1UpOWb4qvf1hNEQMnfxSwFIqRodn8dSKoujB1vLOljM2r9/fm1EsVSsvVAwrWdbg35IxYj2P984qjlLmrbfNG/NSMnu2cYsfXU3M9rAp0dnsWd7A3ZXEOD69Poirt2Mr8Eh3BjAQJFYO5PMlycW17Snd/qFe4snNCjl1yeXcPHGgvZsjYmbprVZuGo2moa92xvR3Ra08vQKMc4NipvlwJFWNIbKOzbXJpfw6bWFNUN1tgZxX5HwLdUPY+Srifb90b7isXm+dZTuM+enAWX+Rmuz0NbxyQeJoOzeVq/1uY17nT8ewWOmhym0SvYHSh/j7YtLyzFzhn+PHWopmvNkZdyZsagOepHIM1VXucQ2YzD/NzoBpM3tjFuOj51rX0gqabLRA2QG3yvo1McErZiEFpqfIE5Hk9ozZGyFdTLl9onIXFJHDxkmqMSZ4gb7mwtXoBZL52ELzatde9vgVbGF5EBnYqGSBRQbZ3h0ViemD/fq6602DVGt/Obqp8hEymea8pnWwSvb8GwpBAh6S9Oyo2JrvVA9sO9mA5xvz6nxcWSjFrdG6fCsbQKijMzR+7z/YAtaLF3/jy/O6+J71q1sJmIo99T561BL5f2CfL51AsI6xVYGBUrn0b5Wa7Vy6caijnc/dE97TWM1pg8zkcri3bGbQNrwJqlcio0TnhieMk4il2N0V1e9diJWWxjUf7QKcjnNYMBX9AQEzcKx8Zi2UkI1qi0vt4b8fyf/9H7PXoxCTK8YyCWROWi1N05GD+/b36IthVwukfYrQWRtIPUgH0TAd+uMT52jg1LMwOcij/TqWHp8aE8YOzrNX19TMCtpTwvl4nWW65nfPbmmTMK2EKgYk7Qujh5s0SBqoGeZQUkjmVo+KJUjgst8o+NAn/NZfdaH+ptJBwbIWChUiS1eCWi2bXIBrNFL8zofakprCoFsS92KTUqJpJc3M5cqCLQJswSatYvlioVMxrRpy83ywrUFu+qt/FI3MmBbzFmIeUo4s+OU0GpkwZkcpopaj+xSofVQBbIukhu5zXruKOZc1uN25co20mLTh28MJd2rB2s6N0Ox0/OplYox0/5sX7Bc2UtBvg0Tpn2o35liO5Bn+ZiOY9I+Z5VQlTAJYkXFCvJvqRXrIydWzBh2oj7nkZb9O5tqntck2PQDmKCgxWRLRY+ccECvh6psmTLpp4+b3AobVKseJX9+ZowmphO6UoD7kC2VPVS1LOXejg3aMmfSj+Yki0h3dtZjW0ew6ollmrIfXJiz2iBXr6PssUENeBUOxpqA56UtHSVaREx8dLQGrcMI+Tyw5nDkXNSbdFd6MJaTV+PotxcgTfpS2hko4yErRiiZY+VBK4aGizlL1M+0q+PJLOJLGe188R6AXAmGrhYYj3kri6j06DcXW83LDUzA89pWlyg7okMEtNmpdghirm6G3iuBpqfInCn/TrOPgDPYph22luUKBFZbMcVnSWaXG3CSasdXLBm37pYLG+hUb17xfqGCfLZnholO1o6ukL5a5Oz5qJUbb3x9B3ms1QU11giuU0cCz7eCwLN23LSC1vqCGr2B1vgKpnXC0Hgang5Kq7S+AIrXP5mQ9RVMuUm2LhmrHG7Pl4xxqlvX6P36br0bvHI4S7cUkd829nc+6vkaPU6zdVFkmcdSzYsiV1TL1lWoRVCvwVWot0Hfuux3Neo1vew3N9HWdda3Ia/5ddYrkr51YTuT3etzYftqSd/6JIG5jWNR5Hx7kq2Pbqwz4Nob3fqsjBHqniQ8N9PWh5Mqx7wqgK94pFufBiuLfNUAX7Fgtj5+VxL0qgPO2RjavR6LPA+l+J2bzVEYWFb2VhokIPKTXeHOV34vPu+4el1bHzC98ynXRMLzp9n6RO9tRNYF8Nx0Wx+hXpPtq1zJeW259Zl1rwh66M8ER+L92YczbvZpAE8B6rjxDXPF5hckATkF4C2/43szdKzt3XIJAg9LqajruqqUSjjimaOrM7OHXCdz2FFyRCkchqi9UGhWgjAUwiKizxIqpWIQxESBP+ehZFwEY66oUcf1j/W0t53bt0/MjytUwqhlm98BQBDUzoKHdcwAAAAASUVORK5CYII=); +} +.bg___jd0Hp .outLetWrapper___g0uSd .icon___mymBj.wx___mWm0f:hover { + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABcCAYAAADj79JYAAAAAXNSR0IArs4c6QAAEWNJREFUeF7tXQtYlVXWfvc53ERAwAtC3LygqNzMO1qJ2YyjTQo1NumYNfWPQJPm/GMXs3L+fh1TmyxTLLuMVlO/JeSv1aSNl4QxvAMmIIYIqNzkjnCAc/Y8a+MhQM7luxwwYz+Pjyh777X2++1v7bXftfb+GG6yMvXASqey6uJhTI/hYBgOzoM5EMgY3AC4cjBXcO4q1GashoHXAKjhHNUMyANjWeDI5lpk93PzOncwamXDzTRE1t3KjDn+ln1zftoEAzNEcWAawCaBc0dV9GJMB/AjDNiv4ZoDdv7hqSfGLmpSpW+ZnXQL4Cv5Sk3i56VRBm54GEAMwF1k6i+xGasFkKhhmu0xc/ofWMlWGiR2oLh6lwI+ZvcS/8amxniAz+eAr2LtFXTAgEKAfeRg77D5xK9fz1fQlaSmXQJ4xO7FQfrm5mfBDQs4YC9JQxtXZkATmOYDrZ3dmtO/fiPHxuJgU8BD98QN5o1YBWAuwDW2Hoyy/hmZlx3MAc9n3JuQq6wv061tAvivvnzSsVDX9DTnWA7AyVbK26jfBsaw2tfRfu1XMzfq1JahOuDhSfG/0HPDmwCC1Fa2i/vL0TLNH9OiN+9VU65qgJN711hwei3n/Ck1FezuvhhjGxz8Ip5Wy51UBfCIpKcCm7luB8DHdTdANpHPcNQOTg+ejt6Qp7R/xYCHfv7ETHDDR5xzd6XK3MztGWOVYJr5GXM2falET0WAhyXGLeQM73DO7ZQo8VNpyxhrZhyPp8ckbJOrs2zAwxLjlhkYfwXctq6l3IHZrB0D13D2THpMwjo5MmQBHvp5/F+5wfCsHIG3Shum0azJmLP5OanjkQy4mNnga6UKuhXra8CeljrTJQFONtvA+Ps/OzNiara0mJdHpdh0qwG/7o3s+rkskNa+kbSQgmlmW+u9WAU4+dl66E7d6q6ftSB3rEcuoxaOo63x0y0CTjtIXcGpZHCMl6vQz6Idw1FHv9FTLO1ILQIemhT32q22XbfVBCAaICM6Yam5/s0Cfp2I+tpWCgoPnl935BmnICUctHYwcAOaDcSWcoAzil1StZ9E0TLNL80RXiYBJ4q1oKEpQ23Wz15jB0eNHey1dvBwcMHAXh7o7+SOfk5ucLXvheF9fHGtWYf8uhJUN17DVV0NiurLUVxfieqma2jUN6NB3wg97/LomLUPPMfPyT7UFLVrEvDQxLgXOfhfrJVirp6GMfTSOqK3nSOG9fFFRN8hCPcYhACXAejr5AYHjXlmQKdvQpmuCuerryCtPBenrv6A3Joi8WDod5zehJuoMIYXM6K3vNyZSp0C3hKp4d8rDR4wMAHyQGcP3OEVgmk+ERjRxw+OWmVRtrrmBmSU52Hf5VNILv4eFbpa1OtVjxUoeYQNzIGN6ixy1CngIYlxHwP8t0okEqgDnNwx028c7vOfCL/e/UAPQO2SXVWInXkp+ObyKVQ21qHJ0Ky2CJn9sU/OxCQ8dIML2fE/KODb3NSUpSQG6WLfC5EDRuDRoF9gpLs/yKTYuhwrO4d3z30tzA2Zmu4vzGBnbx/cMTB9AxKhSfHvcm74vRyFaQa7O/TG/KHTMH9IFFzsujacWdNUj3fO/ROfXjgM+rm7C2Oa9zKiNz/WVo92gLfkjejOy01lIE8jNngW7g+YDDuNttvG+0nuIWzO3IOKRsr76b5CKRgO9o5D2+a9tAM8NDFuDQd/Ro6KHo4uWDxyNu71Gw8nrYOcLlRtQ6C/mbkbVY11qvYrtTMG9kpGTEIrld0KOKWf7UwquignI4oWyNjgmZg3OArOdubTArOqCpBddQn+vftjdN8hkvQv01XjeNk58UDH9RuG3mZMFi2eH/ywH1syv+xWD4YyvO6PHhhgTKtrBTws6Ym7DVz/jSQEAGiYBjN9x+LpsN+IjYy58tKpD5GYl9JaJdJrJDZOjLPoh1MD8kKeP7GtdUH06uWOjZPihZtpqpCr+GpGInZeTEGzQS91aKrV1zDt9PToTf+iDlsBD0mM2wZwSq6UVEa4+2P1mIUY7Opt1hvZU3AUzx1//4a+40bMQnzwvWZlkrs3Y+8K1DW1zzwe7OaNXXe/aLZtSUMVXjy5HSnFZyWNS93KbPuZmISFrYALRjD/dLnULFbaIf459AHMCZgodpLmyvITf8fu/NQbqoR7DsaHdy0z2/ZgUTqePJLQaZ1vZqyGVy8Pk+2Jl/muNBvPHHtX+OndU1ito3+EJzGJYoaHJ8ZP0cNwWKoyI9z98Or4/4KvFZuaVWmfgBayjoX89bcmLzYr+nhZDh49/Lcb6jDGkDLrVcHBmCtkWv5y6h/4ouCo1CGqVl8LzR1pMZuTBeCyeBMOxI6YhYVB063ytzMq8rDg0LobSKe14x7Dr3zHmh0YLYAP7F8l+JO2ZbpPBF6bsMgiKER0EQWwNPXtbtuJGvkVAXhIUuwBcEy1qHmbCsT6JUQ+gTF9g6z2ub++dBJr0negrKEKtBuNH3EvFgyZZpXY/LpSrDixTewktUyDe24bjRci5sHN3vmG9gQwLZL0N/0hcutqQzUW/Xsjrlwrt0qe6pUYDp6J3hLFxJmayuJKqcc8+ju54YO7lsHHua9kjoQoV09HF8ntCATaQRJn7qj5kQAjO03/X9V0DXVN9ahorBP+NzGJzVwPzjkaDc3CpF2pL299GKqDaq5DxnT93L3cWciuuDDoeZpU4cPdfbA1cilow9NdhWZxaUMVCurKcKYiD+TjE2/eaGiCg8Yeve2dhLmjn+01WgE+8SzEq9MDIa+HHlRtc0PXmBotC2ehiXG/4eA7pIIWOXA41o9dZHHBktqvtfUJ6MzKAuy/chqnr+ZSUEi8bSEegSKIQVy7p6MrnLWOwuSJ4BIggCXQWx5UKbKqCpFVWYC82mIR7Ki1IQfDwOay0KTYFzjH/1g7UGO9eUPvwp9G3q+Y25Yql0zDhZoikF9/4EoaemkdMHHACNw5MAS0J5BKmJF9r9TVIa0iF8lF34NYx6L6CpswjoyxF1hoYuyHHJgvdeD3BY7HirB5Fv1vqf2aq0+hte9Ks/D+uX24qqvGFK9RmO0/UQCtRqHZf6LsPHYXpLYAf61C1WgSAz5iIYmxyQAmS1V4pIcvtkQusbidl9qvqfoE8Ec/HMDXhSfEjJ4TMAmjBNeu/tEh8tsJeKIhkovPqsnFpJBJSeccoVKB8Xb2wPY7l4kgsK0L2dX3cvYKsGf5jcf9gZPN7i7V0MfAuViEKZr0ZeExVWw7Y8ggwC9wjkCpSpLtpB1imOcg4RfbqpDLR+7cezn7EBMQKQIbfRx620pcu35JNvn/9GZ9fvGIyBZQUhhDHgtJiisD532ldkRewdJRMXhw0J0WKVmpfbetn15+Ac8efx8T+g/H4lGzu8yEGXUg0PNqS7Apczf2XTqlzKYzdpVsOAUAZUUMxvYLwqoxj4DMiy0CxGRLV5zYLvzsdeN+jwAXLyXPTnZb8vdPl+diVdrHIlVDQWlUBDgFAJaHP4hf3jbGJu7hv0sy8eejW/Fs2FwR+bdUPstLFjFN8rPJ1v93SAzsmOlQ356CVGzO+kIkHM3wHYNloQ+028G2lUd97rjwrYgi0Q5WZmmUbVKMAsf3H4bnwx9CoIuXqtF54kCWH/+72JzQWmGJEUwtzcbjyRva4UBcTVzwrE6xSa+4gN8dWie2/cbySNA94iF1VmgRpWyw549vA7WVVcikyF00jQIpvEaKEgml5mJGm4+5B1bj8WEz8PDQuy2Ob13GZ9h+XgRVWkuIRwA+ntr5yZhNmXuwJeuLdvUHuw7ErukvmZRFs5wW0I2Zu2TlOopFU65b2FYrcg0pWk+vpbk4o0XU2lTYe+kkKGjxydTnMNTN22LTbee/wfqMne3qRXmH442JsZ223XHhMF4+/Y92v5vQPxjvTFliUha9dbSIx6a8gWsyPBbhFsrd+HTUikB5eOh03HPb7ZK3152NcF3GThwqSsfOaSusWh8o/W3eobXIvb6okQl6746lCDYR89QZmrDg0HpkVrbc3OFs54S3Jy9GuOcgsw+3uL4Cjxxej8I6WTRviuytfWdaEXM4238SFgXPVAw62WN6W143MUM7k08g7r+cJhZN4lb6O/UxCx5t5fdfSRfs4Z1eo6zaTFHdp44m4FjJeYtvXccKYmsvl7wyJY0i97MDJuF3Q6IwoJe7bHfxtwfXYKirD/53jOS4tmQgpDSgh7QhKxHbsw9IaSbqXiev5NGz5qRRutvYfsPw5Mj7ZHsvFI4jv/tmA5zenpVp2/FV/knpgBM9KzcAYUkaJQRtmvQEbu87RBbB9KfUt0WU5s1J8ZZEdenvKfIfd+QNnCmXcWsTBSDkhtgsjXKQ60BsnbxYtll5/ftdgu/+dNpyUPz0ZimXr13Fgm/XoaS+SppKxhAbtZITRLYk7aHBU8Umom3yPdm/s5X5KNfVoq+jq3gYFJXp7AQEuYW0rU+8e4VIw7gZCun/XUkWlqS+JT0kZwwi00DUXjhpRr424Q8iQEBMIilK/iudWDhRloN6faN4EBRxJx+eEnkIePq3Mes2t+YKtmb/Ey+Nno8HAqfcDHgLb+a1M0kgCkFqaZcmITcRyJTQoW4+2Dp5Cfo4OAug914+hWOlFLoqb5e3TcEDmt0EPh20agGbaDAmAsEUdySCLCHyj92ekUubHkrRIOaSfHGppV0ikNxUN1NCaUZO9xmNb4vPdAq0FGUpU/bl2xdghoVkISl9yqlbrqvB2ozP8FXhMRCvIq10SHUTdlxmMmdHwTQ7h7h5C1KouKFSlUgJcSJ/G/8HeDt7ShunSrWJJt518Tu8fnaXzPF0SOYkveSmK3c2JjrTI30WmEaH+pvmHSF8crW4GmufBVGxh4oysDrt/0TgWk7pNF1ZSUK+HCWktiFbHx0Q2cJZKzx2aK1so1fySsanyK8tlRXtMZmQL7wVBUdOrB2Eknpkz2f5jcPSUdGqUsGd6USL5L8un8bGs/8veHC5b6zJIyckVOmhKiVgWtuWQCfPhc4TUbq0LQoxjxSt35azD3TMRT7YFg5ViVmu4NigLQbfWZ/k55P/TgHs+wImqhpYJnDPVOYhNmUjapsaZJkRo84Wjw1SRTUOxnYF8OJYub0Tgtx8RPxy6sBQq+hVS7pR6tuluqtY+O160HEV+cXKg7HXXUTFR7/lKyqtJe1kiSij3eq4fkGCpSRTQ8fOTS2uZJ/Jr75YW4Kc6sti8xXlHSZ2u1SIEXzh5HYQvSC/WHn0W5gVlS43kK+s9JbkOlJaMiUoUbK/j7MnBvbyFHno9EDojWjQN6GysVbsDyhvkECnHS09NDoURhu2KJ9wOGns8VXhcXFqTuZNFdIuN2ix5fKyaqVDpX4LApceAFEFBGYLWdCSrmw8FaHn+naLIdUjLmeURwDmDroDxHY+lrwBJfWVkhWUfH0HSbDVBTWSte/iBrQgEwcU4h4ocgspe0BikXdBDQmx+RVMEkfyU6gu+wom4+B6Lhmz/jErvmSMRF1nElNu2bvBrcfTQk12zNE/YrLia/SEb95zUaRZsFW9KLLVtLRczN5zFWoH6G1yFapRRs9lvx3RtuFlv21A77nO+joYNr/O+kfz0nNhe5dd2N5upvd8kkCyj6Pofruej25Ixlv5zY09n5WRBrqiGW4U1fPhJOtBVwVw446059NgloFXDXCjqJ6P35kHXXXAjdRuYUPzMxycvnPTtfehWp5klmo0MLC/+jrZvfKT+Lxj29H0fMD0xmdrkxneUUzPJ3p/RKRLADeK6/kIdZubOS0ZNjV/3/OZdTXRlNgXBTia89MmGMCnccajADZJ6g1zJkUypgP4EcbZAQ3Yfjv/8FRLAQKJ6kuu3qUmxRrtxJmj6uJhTI/hYDwYHMM5EMgY3AC4cjBXcN6SQMJYDQOvodv1OEc1A/LAkA3OsrgW2f3cvM4djFrZ/sJaa5SwYZ3/ALUF2ZKFav6JAAAAAElFTkSuQmCC); +} +.bg___jd0Hp .outLetWrapper___g0uSd .icon___mymBj.qq___X5Onh { + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABcCAYAAADj79JYAAAAAXNSR0IArs4c6QAACwZJREFUeF7tXVtsFOcV/s7s2mtjr+01a1PCzeZim9AAa0giFMAhrVqpL5UqNW2FmqiXp6oP7UMhbZVIbdUG6EP7UPWpFyUtasVDpb5UStUGLxChNHg3QAh2DNiEW+JdexffL7tzqjP2Lvbi9c7uzvxjzP6ytLI9/znn/+bfM+f6D2GZjb4+rrg1FGvRtUQrMVrB1AbiJjBqmOAFw0tEXhGbmUdAGCGGfA6DqR/E3Uzo0XR3z4Z630fNzTS5nJZITgtzgbls8mLsWV1PHtKBFwDeB4bHErkIUwCd14C3Nc11umKX7929RDOW0C6QiCOAM7N2Njx4iKG/xMBXwKguUP78phFGCfgHQXvzQGD1aSLS8yNQ/NVKAT93ZWhjcirxPQYdBvP64sUvggLRbQKfdHncv9+/o/7jIijlNVUJ4MHwwDaw9gqYv8ngsrwktPliAs2A6C8g/VhHoLHXZnawFfCzl+Kbk4mZXxLwoqgRuxdTDH1RLwyccrnLfnpgZ92NYmgtNdcWwHt72XNvJHpEZ/4JgAq7hLeJ7qRG9Ku1Xv+JbdtoymoelgMefH/wC9D13zHzNquFVUmPiHqhad/v2L3631bytQxwMe/GQtETDP6BlQI6TYtAv61q9x+xypy0BPDz4VjTNCdOMfPTTgNkB38i+l85ub+2L+DrL5Z+0YAHwwNfYqaTYK4rVphlPZ8oTsSHOwKN/ypGzqIAD4ajL7POfwDYXYwQj85cSpBG3+0I+N8oVOaCAT8TjvyIGceZuWAahQrt5DwiYiIcPRho+HUhchQEVjA08DozXimE4UqZQ4RjHe2NP853PXkDLjtb1/lEvoxW4vWaRkfy3el5AS46G8x/ftzUSLbNIuoFRN/KR6ebBtywRnT65+PzgDT7nZQHKX/ZrPViCnCxs6c4EV7xpp9ZjDOvI4p7yB0wY6fnBNzwIMPRc8z8TKHyPA7zxDmqCvj35/JIcwIe7Ir8ZqW563ZtAAkDdOxp+OFS9JcEXAJRnEy+ZZeAK5EuuVxfXCrglRVwCbHeHYleftSjfqpvqkQZn/D6n8oW2s0KeGco8hqYf6ZaYDP8KENqZjOz1F2jEb12sL3hF4txXBRwI1MzM31luSQPPGUaaqrLUFtVhlUVLpSXadC0WdGTOmN6Rsf4RBL3R2cwPD5j/O7wmHSVle9YLHO0KOCdocjfwPx1h4VGRbkLG9ZUwl/nMUA2M6ZmdHwyOIm7kQlngSf6+/PtDd94yILM/MNswpe6nc5BNtZ7sGVdtWmgM9cxMZVE350xROKWZ8nM3HcYJRjEbZmJ6Yd2eDAU/SOz/m1TVG26qOmJKmz6zCpLqN+8N47+e2OW0MqXCJH2p452/3fmz1sAuFE3Mpm85mQpQ9PaKmxaaw3YqYXeuDOGW5+O54tX0ddLCYarwrV1ft3LAsCDoYFjzDhaNKcCCYiu3rG5psDZ2aeJFfPB9fsYGp62nHYugkQ43tHemA5lpwEXnR0MR286VRFV5tbQ3lqHCo8r1xoK+r/o9FB3DImkYhuS6HZHwL8pVVaXBvxMKPo5nfX/FLQaCybZoUoyxeq7O4aPP1GvWjTSPn+w3f9fkScNeDA08AYzXrIAu7xJiJ29Z7sPssvtHFPTOrq6Y5hJqLXTifBmR3vjy2nAJSI4Go4MKatizUB1fWMltqxXU0Db3T+CT4cUl4wTRqsDDfUSSTR2+Ln3h/Ynkomzdu6ubLTFTd/dUoeaKjU1ntH4FK7cGFa+VLfLfWD/7vpzBuBOxk0qPS7s3e5Lu+p2IyHq5MLVmHIvNBVfSQF+GszP273Yxeg3+Dx4stl6U3CptYiJOHhfsYlI1Pl8e8Mhkp6am7FI3LI2jzzvmgrrJFMk8TzFA1U6CFObfA11dKZraKeOxEWlzOcxk90tu1zliMSm8GGfej2uwb2LOsMDX4WOUyoXnOIlD8xAqw/eVWor5YbHZhDuiatfsoYX6Uwo8qrO/HP13AG3i7B3ez085fba35lrG59MGva4Lj0PCgcRXqVgV+SvDD6skG+alTg6Tz9pv8OTuTZx87uuxozkhcpBoJMUDA2cY8ZzKhmneAngz+yoN3a6yjE5PQu46rgKEd6hYNfAJQaeUrng5QC42OJJxYEsAi5TZ2igD4wmJwCvrnQj0FYHLTMrbLMwsrMlciiqRekg9FNn10AUwGqljOeYbV5XhQ1rrE02mF2HQ5HDQQqGIlPMXG5WUKuuE70tEUJJFDsxxiYSCPXElVoqRDTtGOCSJN7epNalz7yxl6+pzQIZgDulUnZurYWvRvkXawHmDnicg448NI2HZWudsghhNpUlVopYK2ImKhny0HTCLHQiYJUN0Gu3R3FnYEIR3ris3PGREjVJFldVqo2fZENUyuMu9sahoj5xzvFR69rXVZdhV8vy6aHVmRHujmN0ImH7Ljdce9XBq60bqrGuodL2xeXDQFV83AheqQzPijrZ0+YzKmCX0xgZTyDcE7NfrRjhWYUJCIl7S/xbsSef896KWgl1xyHOkJ3DSECoTLGJKhGVshxH761Ro8TZtpFKsQmDzlBESRJ5e3MNGhWn08wCKDXlPTdHzF6e/3WpJLLMVPHgFDUi2Z35+luidVIm4cTI5G132m1BmYSKQiDpYJD6k1Q529D9aaOa1SkVI7t5rb8iXYAkZXDvXR2yLUa+oBBIRamb7GyxUMRSEZc61BOD26UZLr7qIU7OhatDBv9dLbVGPF5i5PI3Ad7ykVnqJgzsLuasXuU2AJeRekAthySydFpIx4XkNyXtZkdS4qFizlk9bm+5stR9723z4W50AtKRkBotG73GV1vlkG6I+TJs21gNf63HCGTZUVm7aLmy3QX58tCU+Mno+EJbV4o4pZhTlW0upRGGzT25UA6RzRY7PFtB/pxacaTlpK3JizX1anb57YEJXL89quwLlbXlRCRwqqlKLBjZ5XabiOLCX+qNKyuPyNlUNbvLnWkbrK0uw2e31NpWoyLdyZJSUxEVTH19crYNGoA72Bhb5y0zSpetbj2RB+EH14chzo2qYboxds7VV9r6Lba5v64cDXUe+LzlcFlciSV2f2x0GpLDjMan1WTqzbZ+C+AqDzeQXS0t3mKnqxiyy6/fHrN7t+d3uIGq+IpTxZySNL7woX3FnHkf32F4gwoOqBHbW7qPJe22qsJtqBKXRtA0GO621LYys5EYEPtZil1FPSSSejrmIXPERZdPOdFD1JPQJSKjJ1Ji3bo+e8yHzJNSZcljSnOVHXnMgg+oMR6gDhzBJGAJ2CQl4wK0gbr8zAKfbaQcJwNmg8ZsF6qAnbppKlRWwUcwpYQrHTJm/jYVfciYsJo7Ru+dlXo2uHk4l76SiN6rCvifK/oYPWFTOigyx22x8qDItGopHYWaBXUbjkJ9AHrpsN/5qNt62G+KUek46weQ236cdXqnlw5sF1tfzYHt83d66ZUE+ds4RfXrlV66oRjwuXBu6bUyeeBe1A5P8Sm9OMk84pYAnvZIS68Gy4m8ZYCnLZjSy++WBN1ywFOh3Tsj0aNglvfcqEnH59xbpi+YBNHr67z+44/E6x3nL6v0AtOHb7ItOzyTTekVvQ8QUQJ4il3pJdTzTuY0reEsuLD0mnULQCyUhCQ4Ji/Gnk3oyRcAHAJ4n2UnzBGmADoP4LRbc71dscv3bq4EQaHrMDtPqUoxI5T0HN0airXoWqJVY2pjRiuIm8CoYYIXDC8ReYUWM4+AMEIM+RwGUz8RenTibk1392yo933U3EyKzz1depX/B13ceLDsqo0iAAAAAElFTkSuQmCC); +} +.bg___jd0Hp .outLetWrapper___g0uSd .icon___mymBj.qq___X5Onh:hover { + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABcCAYAAADj79JYAAAAAXNSR0IArs4c6QAACvZJREFUeF7tnQmMVtUVx3/n+2YYWYZVEDe2sLWAohUQgdgZCE3aOKCNaEuqRRvbNKASC2hbDNgiizEgdiHWtkBrIbZaGBKbNrO0EYIsokhVBlBmgIoiIDAsM8x8323O9+abfebb3rtvHL6bvLxk5t57zv2/85137jnnnie0sfb9YnPV6RBDEYYBwzAMRxiAoStCNoZsiFzayhHKMZH7OQylCPuBEgwlPYMcWJsjFW1pieI3M4/sNpmflzMuZMgxYXKB8UCWS3xVAtslQFFQKO6dzY6XbpMql+ZOahpfAF9kTODdYnLCYR5AuMcYuiTFfYKDRDiP4fVAgPWjcyheJBJOcIqUu1sF/N6tpt/lSn5sYKYx3JAy9ylMIMIxgVc6ZPGbv06UIylMldBQK4B/+z9mSFUVTyJ8zxgyE+LQ484iVGH4U2Ymy167Uw56TA5PAb/nTTOo+jJLMMwwEPB6ManMLxBGeDWjAz97fZJ8nMpcrY31BPA5B01W2VHmG8NPMVzlFfOezCtUiPBs/xtZ8eIQ0Zeuq811wKcXmqkhw6+AIa5yan+yg0Fh9qbJ8i83SbsGuJp3n55lhTE87iaDfs8lwqq+3ZjvljnpCuDTi82AUIhXgTF+A+QJfWFnMMB9m3KkNNX5UwZ8WpH5pjG8YgzdU2WmLY8X4YwIMzfnyhup8JkS4HnF5kET5mUMGakw8aUZK1RLgB/k58i6ZHlOGvC8IjPPGJZjvDUtk12YZ+MEI8KC/Fx5LhkaSQF+V6FZiuHJZAi2mzHCsi2T5alE15Mw4BHJDrMiUULtsb8EmJ+opCcEeI3O/uMVp0ZakhZVLwFmJaLT4wZcrZGwYfMV84KM9ycpVAeEafFaL3EBrnZ2OMw77d30ixfjxv3UZAwEuCUeOz0m4LqDPH6WrRjGJsvQFTFO2HltNybG2pHGBDyv0Kxsb9t1rwRA3QD5k2Vua/O3CniNI+qfXjHYHucNCt9ozeHVIuDqYi0tY1878PrZfq4HB/RnVEuu3RYBn1Zgng7DYtvcxkMvKCA1nBsDIRPPKHt9JMDT+bnyi+YoNgu4RmqqLvN+Wwke9MqC4d3gq93hhs7QowNk1sSPLofhdCUcvQDvn4GSs3Dmsj1wm6UkVGR2YERzkaNmAc8rNBuM4X6f2eaajnB3P7ijD3TvEB83Jyuh8BN44xh84SPwImzMnyzfaWJCNv5DTcB3v98xyDv7wqzB0DPJDJVPL8G6Q7DtRHwPyu1eGiPNzGR448B0EwnPKzC/N/CQ2wwkMt/MQTBjICm7IVW/byyFDZ6FhFtflcAf8qfIw/V7NQBc80YqKznkZyqDgn3fwEQeT+y+KumvlcXu53YPTcHIymJw/byXBoBPKzTLwoYFbhOOd77xfeDJUalLdmN61WFY8h68fSpeTtzrFxCWb54sta7sWsA1/WxPEWV+ZURlZ8LzY6BvR/cWW3+m/12En+yCC9XezN/SrJrhdWsu/aNpdbWATy8yk0NhCuyyU0ftu4PgfpdVSeO1rP8I/pZyGDhxhIIBpmzKlUIdWQt4XoFZZ+CBxKdLfYTa2avGQrc4Tb9kKZ6sgLm74Kxlc1Fgff4UebAW8JqcktO2slgbAza9HzxkKW1o1QdQdDzZR5bcOM3a7duNnupJjEj43cVmYnWIN5ObLrVRuk1f+jVnJ2mjbT8BS9VDZLllBJn09xzZGgHcT7/JdZ1g9TjoYCnVU9XJnB32t/9R/0oE8LsKTDHwdcsPPUJu0jUwb6Rdys/shd0n7dIE/r1liuSInqk5FeKMi8c8ElqJDeukMUN/+Rg2Hk6ITTc6V/YK0l3yCsxNBva6MWMycywYBRP6JDMy+THqX1nugx4XuFnyCs29xkQSMa03fWE+NwYGR8+kWeJg/1lY8Daor8VmE2GG5BWZhSbMMzYJR2l1zoAXx8HVllP21Xc+dyeoL91mE2GhqpQ/6yEnm4SjtLpmwq9v937D03ht6rp9dAdUhOyuWg9xqUrZagwT7JJ2qOnOcs14UEm32U5UOIBftO9X2aYS/p6BUTYXXF/C19wBXXwAfM5bcMm+hO9TCT9sDAP8AHxQNjx3W1180hYPKtmP7wRVLTabCKUq4ScN9LJJOEpr1hAnZulH88NzKHBKAa804LGfrimkqrdfGAd9LFsoUU7KzsMTu+xaKgKXfQNcg8RPjPBDth2aaoIvfhf2WIwCRQG3rlI0iWfxaBjd0z/AlfLWz2DFf+3x4KgUH16aA7s4O0xbHsKWINWX52M74TNLL8/oS9O6WeiHw6ol0H93ALYctSPlAhGz0OrGR6Vag8X9rVRIiQ3kh2fgqT0QtuBXESGy8bG6tR/ZA5bcUpeMGRsSb3tUhZ1o/uHz3tLR2Z2tvWXn1Q+Hwbd8LU3TFFjNzNpgwT/uOK8sumezgk50/vpO3ktTIhQOlcO8Xd6nPTvuWYsBCPV7q3WifvC21FSt6Cao1GO1EglA2AyxqSpRldIW25oSJ8XZw+aE2JSArSCyBos1aNwWW8EnsPpDTzlzgshKwsaLMyMAL4yFGzvXLUrz/fzS58cvwbX18hi9Drs1SJOwkQikifUaTtOkTW27Tzl+jEeGeipVLU6++gOYen1dApKmwc32MCjRIBHIRqqbSvbKsc52Xh3/avt2yoAVt7mfnhzrEeohrNlvQZdMePZWxx9/vtqJAinwbrcmqW4RteJxMqcGG1aOcTY80ReUumg166q3ZRdt/SCyJv/rIQCNbz62A1TVuN2aJHMqAa/TlTXvW/3f/zgGaw/VLWn2V2DqdW4vsfX59DSEnorQpgLwo2Fw+9Xw6E5vMmubTVf2OiFfbe8BXeCj8oZgaBKnJnPass0rQ47NfeRCQz6Ut7IL7ueqtJiQr+T9OnIydwTk9LUj5flH4eUDdmgplRaPnOg//TpUpWcwVcq9NhF1C79wj71jJzEPVdW8PH05NjiiO/z8Zu9yVPSQ7KJ37HgFo7+fmMcGtaOfB2NH9XBOsUVtdbd++Oeq4Jd7QTc3tlrcB2MjUm756Ld6Ecf3do5439TDsc/dbBpK2/cFbD0BegLCRk5h3Ee/daE2ixuoVD88BNROt9EOnIOXSkDvnrVEixtEpNxCYEJVx2/HgyZ12myaW6g7Ta+SORMu36GLt1GgRh1aqkpG1pTl6BgEVS96ZUQqqDuxRj1JrD5rVQXqFlAVEU3EVPWjO1Ydq1t0vXTeSE0VoNqA2t4Kro45dtEp86GqxaM6K8kVqFHQbZdg0l2fAqVgK3AKiF4KeuTSBJ4Wgr2BGoD1rpfOoXd9SPrAWhvr5q8r6RJMUSbSRcbifxwpFxlTUpEyemfY1m5rg8ePZ6yeu67tzoSUy+hFVEu6UGSrYLtaKDJKKV0KtQXMvSiFWqvPnQLt6WK/UUC8LPZbC3q6nHWtqHtezjpKKV2wPZK3ZqdgewNJT3+SIJbl0uT/KeVApT+6kTDeKVeqI/1ZmcRAT0nCo6TSH06KH3RXAI/uSNOfBosNvGuA10p7+uN3re9KYz+TxHuoa/dIGQvCwlNtpUJz3KsQKgKGpf36s/xL8XnH+gtLf8C06WN2XaU0J0npT/TWoWIF8Ci59Eeo7SeuRrBPf2Y97jeK+x01wPF5OePCIXLDkAOMd7HCnH7TeHsAigNBinpnsyNWgMD9FTac0apKiWcxeubodIihCMMQhhOO3Adg6IqQjUETKqJJFeUI5Rj0fg5DKQFKMOzHUNIzyIG1OeJBxnc8K2m+z/8BCU5iiUgnwlMAAAAASUVORK5CYII=); +} +.qrcodeModal___p_trY div[class~='ant-modal-confirm-btns'] { + display: none; +} +.qrcodeModal___p_trY iframe { + height: 390px; + margin: 0 auto; + display: block; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/layouts__SimpleLayouts.chunk.css b/layouts__SimpleLayouts.chunk.css index 5bd63b9e84..e8f8392b64 100644 --- a/layouts__SimpleLayouts.chunk.css +++ b/layouts__SimpleLayouts.chunk.css @@ -1,138 +1,3 @@ -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/layout/style/index.less ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-layout { - display: flex; - flex: auto; - flex-direction: column; - /* fix firefox can't set height smaller than content on flex item */ - min-height: 0; - background: #f0f2f5; -} -.ant-layout, -.ant-layout * { - box-sizing: border-box; -} -.ant-layout.ant-layout-has-sider { - flex-direction: row; -} -.ant-layout.ant-layout-has-sider > .ant-layout, -.ant-layout.ant-layout-has-sider > .ant-layout-content { - width: 0; -} -.ant-layout-header, -.ant-layout-footer { - flex: 0 0 auto; -} -.ant-layout-header { - height: 64px; - padding: 0 50px; - color: rgba(0, 0, 0, 0.85); - line-height: 64px; - background: #001529; -} -.ant-layout-footer { - padding: 24px 50px; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - background: #f0f2f5; -} -.ant-layout-content { - flex: auto; - /* fix firefox can't set height smaller than content on flex item */ - min-height: 0; -} -.ant-layout-sider { - position: relative; - /* fix firefox can't set width smaller than content on flex item */ - min-width: 0; - background: #001529; - transition: all 0.2s; -} -.ant-layout-sider-children { - height: 100%; - margin-top: -0.1px; - padding-top: 0.1px; -} -.ant-layout-sider-children .ant-menu.ant-menu-inline-collapsed { - width: auto; -} -.ant-layout-sider-has-trigger { - padding-bottom: 48px; -} -.ant-layout-sider-right { - order: 1; -} -.ant-layout-sider-trigger { - position: fixed; - bottom: 0; - z-index: 1; - height: 48px; - color: #fff; - line-height: 48px; - text-align: center; - background: #002140; - cursor: pointer; - transition: all 0.2s; -} -.ant-layout-sider-zero-width > * { - overflow: hidden; -} -.ant-layout-sider-zero-width-trigger { - position: absolute; - top: 64px; - right: -36px; - z-index: 1; - width: 36px; - height: 42px; - color: #fff; - font-size: 18px; - line-height: 42px; - text-align: center; - background: #001529; - border-radius: 0 2px 2px 0; - cursor: pointer; - transition: background 0.3s ease; -} -.ant-layout-sider-zero-width-trigger::after { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - background: transparent; - transition: all 0.3s; - content: ''; -} -.ant-layout-sider-zero-width-trigger:hover::after { - background: rgba(255, 255, 255, 0.1); -} -.ant-layout-sider-zero-width-trigger-right { - left: -36px; - border-radius: 2px 0 0 2px; -} -.ant-layout-sider-light { - background: #fff; -} -.ant-layout-sider-light .ant-layout-sider-trigger { - color: rgba(0, 0, 0, 0.85); - background: #fff; -} -.ant-layout-sider-light .ant-layout-sider-zero-width-trigger { - color: rgba(0, 0, 0, 0.85); - background: #fff; -} -.ant-layout-rtl { - direction: rtl; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/index.less?modules ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -430,362 +295,6 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/radio/style/index.less ***! - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-radio-group { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - display: inline-block; - font-size: 0; -} -.ant-radio-group .ant-badge-count { - z-index: 1; -} -.ant-radio-group > .ant-badge:not(:first-child) > .ant-radio-button-wrapper { - border-left: none; -} -.ant-radio-wrapper { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - position: relative; - display: inline-flex; - align-items: baseline; - margin-right: 6px; - cursor: pointer; -} -.ant-radio-wrapper-disabled { - cursor: not-allowed; -} -.ant-radio-wrapper::after { - display: inline-block; - width: 0; - overflow: hidden; - content: '\a0'; -} -.ant-radio-wrapper.ant-radio-wrapper-in-form-item input[type='radio'] { - width: 14px; - height: 14px; -} -.ant-radio { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - position: relative; - top: 0.2em; - display: inline-block; - outline: none; - cursor: pointer; -} -.ant-radio-wrapper:hover .ant-radio, -.ant-radio:hover .ant-radio-inner, -.ant-radio-input:focus + .ant-radio-inner { - border-color: #3061D0; -} -.ant-radio-input:focus + .ant-radio-inner { - box-shadow: 0 0 0 3px rgba(48, 97, 208, 0.12); -} -.ant-radio-checked::after { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - border: 1px solid #3061D0; - border-radius: 50%; - visibility: hidden; - animation: antRadioEffect 0.36s ease-in-out; - animation-fill-mode: both; - content: ''; -} -.ant-radio:hover::after, -.ant-radio-wrapper:hover .ant-radio::after { - visibility: visible; -} -.ant-radio-inner { - position: relative; - top: 0; - left: 0; - display: block; - width: 14px; - height: 14px; - background-color: #fff; - border-color: #d9d9d9; - border-style: solid; - border-width: 1px; - border-radius: 50%; - transition: all 0.3s; -} -.ant-radio-inner::after { - position: absolute; - top: 50%; - left: 50%; - display: block; - width: 14px; - height: 14px; - margin-top: -7px; - margin-left: -7px; - background-color: #3061D0; - border-top: 0; - border-left: 0; - border-radius: 14px; - transform: scale(0); - opacity: 0; - transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); - content: ' '; -} -.ant-radio-input { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1; - cursor: pointer; - opacity: 0; -} -.ant-radio.ant-radio-disabled .ant-radio-inner { - border-color: #d9d9d9; -} -.ant-radio-checked .ant-radio-inner { - border-color: #3061D0; -} -.ant-radio-checked .ant-radio-inner::after { - transform: scale(0.42857143); - opacity: 1; - transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); -} -.ant-radio-disabled { - cursor: not-allowed; -} -.ant-radio-disabled .ant-radio-inner { - background-color: #f5f5f5; - cursor: not-allowed; -} -.ant-radio-disabled .ant-radio-inner::after { - background-color: rgba(0, 0, 0, 0.2); -} -.ant-radio-disabled .ant-radio-input { - cursor: not-allowed; -} -.ant-radio-disabled + span { - color: rgba(0, 0, 0, 0.25); - cursor: not-allowed; -} -span.ant-radio + * { - padding-right: 8px; - padding-left: 8px; -} -.ant-radio-button-wrapper { - position: relative; - display: inline-block; - height: 28px; - margin: 0; - padding: 0 7px; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - line-height: 26px; - background: #fff; - border: 1px solid #d9d9d9; - border-top-width: 1.02px; - border-left-width: 0; - cursor: pointer; - transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s; -} -.ant-radio-button-wrapper a { - color: rgba(0, 0, 0, 0.85); -} -.ant-radio-button-wrapper > .ant-radio-button { - position: absolute; - top: 0; - left: 0; - z-index: -1; - width: 100%; - height: 100%; -} -.ant-radio-group-large .ant-radio-button-wrapper { - height: 32px; - font-size: 14px; - line-height: 30px; -} -.ant-radio-group-small .ant-radio-button-wrapper { - height: 22px; - padding: 0 7px; - line-height: 20px; -} -.ant-radio-button-wrapper:not(:first-child)::before { - position: absolute; - top: -1px; - left: -1px; - display: block; - box-sizing: content-box; - width: 1px; - height: 100%; - padding: 1px 0; - background-color: #d9d9d9; - transition: background-color 0.3s; - content: ''; -} -.ant-radio-button-wrapper:first-child { - border-left: 1px solid #d9d9d9; - border-radius: 2px 0 0 2px; -} -.ant-radio-button-wrapper:last-child { - border-radius: 0 2px 2px 0; -} -.ant-radio-button-wrapper:first-child:last-child { - border-radius: 2px; -} -.ant-radio-button-wrapper:hover { - position: relative; - color: #3061D0; -} -.ant-radio-button-wrapper:focus-within { - box-shadow: 0 0 0 3px rgba(48, 97, 208, 0.12); -} -.ant-radio-button-wrapper .ant-radio-inner, -.ant-radio-button-wrapper input[type='checkbox'], -.ant-radio-button-wrapper input[type='radio'] { - width: 0; - height: 0; - opacity: 0; - pointer-events: none; -} -.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) { - z-index: 1; - color: #3061D0; - background: #fff; - border-color: #3061D0; -} -.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before { - background-color: #3061D0; -} -.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child { - border-color: #3061D0; -} -.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover { - color: #5784de; - border-color: #5784de; -} -.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover::before { - background-color: #5784de; -} -.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active { - color: #1f44ab; - border-color: #1f44ab; -} -.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active::before { - background-color: #1f44ab; -} -.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within { - box-shadow: 0 0 0 3px rgba(48, 97, 208, 0.12); -} -.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) { - color: #fff; - background: #3061D0; - border-color: #3061D0; -} -.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover { - color: #fff; - background: #5784de; - border-color: #5784de; -} -.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active { - color: #fff; - background: #1f44ab; - border-color: #1f44ab; -} -.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within { - box-shadow: 0 0 0 3px rgba(48, 97, 208, 0.12); -} -.ant-radio-button-wrapper-disabled { - color: rgba(0, 0, 0, 0.25); - background-color: #f5f5f5; - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-radio-button-wrapper-disabled:first-child, -.ant-radio-button-wrapper-disabled:hover { - color: rgba(0, 0, 0, 0.25); - background-color: #f5f5f5; - border-color: #d9d9d9; -} -.ant-radio-button-wrapper-disabled:first-child { - border-left-color: #d9d9d9; -} -.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked { - color: rgba(0, 0, 0, 0.25); - background-color: #e6e6e6; - border-color: #d9d9d9; - box-shadow: none; -} -@keyframes antRadioEffect { - 0% { - transform: scale(1); - opacity: 0.5; - } - 100% { - transform: scale(1.6); - opacity: 0; - } -} -.ant-radio-group.ant-radio-group-rtl { - direction: rtl; -} -.ant-radio-wrapper.ant-radio-wrapper-rtl { - margin-right: 0; - margin-left: 6px; - direction: rtl; -} -.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl { - border-right-width: 0; - border-left-width: 1px; -} -.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:not(:first-child)::before { - right: -1px; - left: 0; -} -.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child { - border-right: 1px solid #d9d9d9; - border-radius: 0 2px 2px 0; -} -.ant-radio-button-wrapper-checked:not([class*=' ant-radio-button-wrapper-disabled']).ant-radio-button-wrapper:first-child { - border-right-color: #5784de; -} -.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child { - border-radius: 2px 0 0 2px; -} -.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child { - border-right-color: #d9d9d9; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[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/AuthModal/index.less?modules ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -1253,79 +762,6 @@ span.ant-radio + * { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/back-top/style/index.less ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-back-top { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - position: fixed; - right: 100px; - bottom: 50px; - z-index: 10; - width: 40px; - height: 40px; - cursor: pointer; -} -.ant-back-top:empty { - display: none; -} -.ant-back-top-rtl { - right: auto; - left: 100px; - direction: rtl; -} -.ant-back-top-content { - width: 40px; - height: 40px; - overflow: hidden; - color: #fff; - text-align: center; - background-color: rgba(0, 0, 0, 0.45); - border-radius: 20px; - transition: all 0.3s; -} -.ant-back-top-content:hover { - background-color: rgba(0, 0, 0, 0.85); - transition: all 0.3s; -} -.ant-back-top-icon { - font-size: 24px; - line-height: 40px; -} -@media screen and (max-width: 768px) { - .ant-back-top { - right: 60px; - } - .ant-back-top-rtl { - right: auto; - left: 60px; - } -} -@media screen and (max-width: 480px) { - .ant-back-top { - right: 20px; - } - .ant-back-top-rtl { - right: auto; - left: 20px; - } -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/SideBar/index.less?modules ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -1377,299 +813,6 @@ span.ant-radio + * { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/carousel/style/index.less ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-carousel { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; -} -.ant-carousel .slick-slider { - position: relative; - display: block; - box-sizing: border-box; - touch-action: pan-y; - -webkit-touch-callout: none; - -webkit-tap-highlight-color: transparent; -} -.ant-carousel .slick-list { - position: relative; - display: block; - margin: 0; - padding: 0; - overflow: hidden; -} -.ant-carousel .slick-list:focus { - outline: none; -} -.ant-carousel .slick-list.dragging { - cursor: pointer; -} -.ant-carousel .slick-list .slick-slide { - pointer-events: none; -} -.ant-carousel .slick-list .slick-slide input.ant-radio-input, -.ant-carousel .slick-list .slick-slide input.ant-checkbox-input { - visibility: hidden; -} -.ant-carousel .slick-list .slick-slide.slick-active { - pointer-events: auto; -} -.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input, -.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input { - visibility: visible; -} -.ant-carousel .slick-list .slick-slide > div > div { - vertical-align: bottom; -} -.ant-carousel .slick-slider .slick-track, -.ant-carousel .slick-slider .slick-list { - transform: translate3d(0, 0, 0); - touch-action: pan-y; -} -.ant-carousel .slick-track { - position: relative; - top: 0; - left: 0; - display: block; -} -.ant-carousel .slick-track::before, -.ant-carousel .slick-track::after { - display: table; - content: ''; -} -.ant-carousel .slick-track::after { - clear: both; -} -.slick-loading .ant-carousel .slick-track { - visibility: hidden; -} -.ant-carousel .slick-slide { - display: none; - float: left; - height: 100%; - min-height: 1px; -} -.ant-carousel .slick-slide img { - display: block; -} -.ant-carousel .slick-slide.slick-loading img { - display: none; -} -.ant-carousel .slick-slide.dragging img { - pointer-events: none; -} -.ant-carousel .slick-initialized .slick-slide { - display: block; -} -.ant-carousel .slick-loading .slick-slide { - visibility: hidden; -} -.ant-carousel .slick-vertical .slick-slide { - display: block; - height: auto; -} -.ant-carousel .slick-arrow.slick-hidden { - display: none; -} -.ant-carousel .slick-prev, -.ant-carousel .slick-next { - position: absolute; - top: 50%; - display: block; - width: 20px; - height: 20px; - margin-top: -10px; - padding: 0; - color: transparent; - font-size: 0; - line-height: 0; - background: transparent; - border: 0; - outline: none; - cursor: pointer; -} -.ant-carousel .slick-prev:hover, -.ant-carousel .slick-next:hover, -.ant-carousel .slick-prev:focus, -.ant-carousel .slick-next:focus { - color: transparent; - background: transparent; - outline: none; -} -.ant-carousel .slick-prev:hover::before, -.ant-carousel .slick-next:hover::before, -.ant-carousel .slick-prev:focus::before, -.ant-carousel .slick-next:focus::before { - opacity: 1; -} -.ant-carousel .slick-prev.slick-disabled::before, -.ant-carousel .slick-next.slick-disabled::before { - opacity: 0.25; -} -.ant-carousel .slick-prev { - left: -25px; -} -.ant-carousel .slick-prev::before { - content: '←'; -} -.ant-carousel .slick-next { - right: -25px; -} -.ant-carousel .slick-next::before { - content: '→'; -} -.ant-carousel .slick-dots { - position: absolute; - right: 0; - bottom: 0; - left: 0; - z-index: 15; - display: flex !important; - justify-content: center; - margin-right: 15%; - margin-bottom: 0; - margin-left: 15%; - padding-left: 0; - list-style: none; -} -.ant-carousel .slick-dots-bottom { - bottom: 12px; -} -.ant-carousel .slick-dots-top { - top: 12px; - bottom: auto; -} -.ant-carousel .slick-dots li { - position: relative; - display: inline-block; - flex: 0 1 auto; - box-sizing: content-box; - width: 16px; - height: 3px; - margin: 0 4px; - padding: 0; - text-align: center; - text-indent: -999px; - vertical-align: top; - transition: all 0.5s; -} -.ant-carousel .slick-dots li button { - position: relative; - display: block; - width: 100%; - height: 3px; - padding: 0; - color: transparent; - font-size: 0; - background: #fff; - border: 0; - border-radius: 1px; - outline: none; - cursor: pointer; - opacity: 0.3; - transition: all 0.5s; -} -.ant-carousel .slick-dots li button:hover, -.ant-carousel .slick-dots li button:focus { - opacity: 0.75; -} -.ant-carousel .slick-dots li button::after { - position: absolute; - top: -4px; - right: -4px; - bottom: -4px; - left: -4px; - content: ''; -} -.ant-carousel .slick-dots li.slick-active { - width: 24px; -} -.ant-carousel .slick-dots li.slick-active button { - background: #fff; - opacity: 1; -} -.ant-carousel .slick-dots li.slick-active:hover, -.ant-carousel .slick-dots li.slick-active:focus { - opacity: 1; -} -.ant-carousel-vertical .slick-dots { - top: 50%; - bottom: auto; - flex-direction: column; - width: 3px; - height: auto; - margin: 0; - transform: translateY(-50%); -} -.ant-carousel-vertical .slick-dots-left { - right: auto; - left: 12px; -} -.ant-carousel-vertical .slick-dots-right { - right: 12px; - left: auto; -} -.ant-carousel-vertical .slick-dots li { - width: 3px; - height: 16px; - margin: 4px 0; - vertical-align: baseline; -} -.ant-carousel-vertical .slick-dots li button { - width: 3px; - height: 16px; -} -.ant-carousel-vertical .slick-dots li.slick-active { - width: 3px; - height: 24px; -} -.ant-carousel-vertical .slick-dots li.slick-active button { - width: 3px; - height: 24px; -} -.ant-carousel-rtl { - direction: rtl; -} -.ant-carousel-rtl .ant-carousel .slick-track { - right: 0; - left: auto; -} -.ant-carousel-rtl .ant-carousel .slick-prev { - right: -25px; - left: auto; -} -.ant-carousel-rtl .ant-carousel .slick-prev::before { - content: '→'; -} -.ant-carousel-rtl .ant-carousel .slick-next { - right: auto; - left: -25px; -} -.ant-carousel-rtl .ant-carousel .slick-next::before { - content: '←'; -} -.ant-carousel-rtl.ant-carousel .slick-dots { - flex-direction: row-reverse; -} -.ant-carousel-rtl.ant-carousel-vertical .slick-dots { - flex-direction: column; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/CustomOperateModel/index.less?modules ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/layouts__index.async.js b/layouts__index.async.js index 0f31f517ee..634423dce0 100644 --- a/layouts__index.async.js +++ b/layouts__index.async.js @@ -1,33 +1,6 @@ "use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([[41717],{ -/***/ 87588: -/*!******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***! - \******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined)); - -/***/ }), - /***/ 37577: /*!***************************************************!*\ !*** ./src/components/User/UnlockLogin/index.tsx ***! @@ -1452,6 +1425,8 @@ var RegisterPanel_RegisterComponent = function RegisterComponent(_ref) { globalSetting: globalSetting }; })(RegisterPanel_RegisterComponent)); +// EXTERNAL MODULE: ./node_modules/lodash/lodash.js +var lodash = __webpack_require__(96486); ;// CONCATENATED MODULE: ./src/components/User/PopLoginRegister/components/ResetPassword/index.tsx @@ -1470,6 +1445,7 @@ var RegisterPanel_RegisterComponent = function RegisterComponent(_ref) { + var ResetPassword_inputStyle = { height: 48 }; @@ -1747,14 +1723,14 @@ var ResetPassword_RegisterComponent = function RegisterComponent(_ref) { autologin: true, protool: false }, - onFinish: onFinish, + onFinish: (0,lodash.throttle)(onFinish, 2000), children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { name: "login", rules: [{ required: true, message: '请输入正确的手机号或邮箱' }, { - validator: LoginValidate + validator: (0,lodash.throttle)(LoginValidate, 400) }], children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { style: ResetPassword_inputStyle, @@ -2535,35 +2511,52 @@ var TabPane = tabs/* default.TabPane */.Z.TabPane; validateName: service_user/* validateName */.Ol, getCode: service_user/* getValidateCode */.o1, register: function () { - var _register5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(values) { - var response; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { + var _register5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(values) { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { case 0: - values.new_password_confirmation = values.new_password; - _context4.next = 3; - return (0,service_user/* resetPassword */.c0)(objectSpread2_default()({}, values)); - case 3: - response = _context4.sent; - if (!(response.status === 0)) { - _context4.next = 8; - break; - } - if (response !== null && response !== void 0 && response.show) { - localStorage.setItem('extension-modal', 'exist'); - localStorage.setItem('extension-date', response === null || response === void 0 ? void 0 : response.start_date); - } else { - localStorage.removeItem('extension-modal'); - } - message/* default.info */.ZP.info('修改成功'); - return _context4.abrupt("return", '/'); - case 8: - return _context4.abrupt("return", response); - case 9: + return _context5.abrupt("return", new Promise( /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(resolve) { + var response; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + values.new_password_confirmation = values.new_password; + _context4.next = 3; + return (0,service_user/* resetPassword */.c0)(objectSpread2_default()({}, values)); + case 3: + response = _context4.sent; + if (!(response.status === 0)) { + _context4.next = 9; + break; + } + if (response !== null && response !== void 0 && response.show) { + localStorage.setItem('extension-modal', 'exist'); + localStorage.setItem('extension-date', response === null || response === void 0 ? void 0 : response.start_date); + } else { + localStorage.removeItem('extension-modal'); + } + message/* default.info */.ZP.info('修改成功'); + resolve("/"); + return _context4.abrupt("return", '/'); + case 9: + resolve(response); + return _context4.abrupt("return", response); + case 11: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function (_x5) { + return _ref2.apply(this, arguments); + }; + }())); + case 1: case "end": - return _context4.stop(); + return _context5.stop(); } - }, _callee4); + }, _callee5); })); function register(_x4) { return _register5.apply(this, arguments); @@ -3634,259 +3627,6 @@ var SimpleLayouts = function SimpleLayouts(_ref) { }; })(SimpleLayouts)); -/***/ }), - -/***/ 97183: -/*!**********************************************!*\ - !*** ./node_modules/antd/es/layout/index.js ***! - \**********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 2897); -/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 10130); - - -var Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP; -Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4; -Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_; -Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY; -Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; -/* harmony default export */ __webpack_exports__["Z"] = (Layout); - -/***/ }), - -/***/ 27221: -/*!****************************************************************!*\ - !*** ./node_modules/antd/es/layout/style/index.js + 1 modules ***! - \****************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.js - - - -/***/ }), - -/***/ 37029: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/locale/zh_CN.js + 4 modules ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ es_locale_zh_CN; } -}); - -// EXTERNAL MODULE: ./node_modules/rc-pagination/es/locale/zh_CN.js -var zh_CN = __webpack_require__(81626); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -;// CONCATENATED MODULE: ./node_modules/rc-picker/es/locale/zh_CN.js -var locale = { - locale: 'zh_CN', - today: '今天', - now: '此刻', - backToToday: '返回今天', - ok: '确定', - timeSelect: '选择时间', - dateSelect: '选择日期', - weekSelect: '选择周', - clear: '清除', - month: '月', - year: '年', - previousMonth: '上个月 (翻页上键)', - nextMonth: '下个月 (翻页下键)', - monthSelect: '选择月份', - yearSelect: '选择年份', - decadeSelect: '选择年代', - yearFormat: 'YYYY年', - dayFormat: 'D日', - dateFormat: 'YYYY年M月D日', - dateTimeFormat: 'YYYY年M月D日 HH时mm分ss秒', - previousYear: '上一年 (Control键加左方向键)', - nextYear: '下一年 (Control键加右方向键)', - previousDecade: '上一年代', - nextDecade: '下一年代', - previousCentury: '上一世纪', - nextCentury: '下一世纪' -}; -/* harmony default export */ var locale_zh_CN = (locale); -;// CONCATENATED MODULE: ./node_modules/antd/es/time-picker/locale/zh_CN.js -var zh_CN_locale = { - placeholder: '请选择时间', - rangePlaceholder: ['开始时间', '结束时间'] -}; -/* harmony default export */ var time_picker_locale_zh_CN = (zh_CN_locale); -;// CONCATENATED MODULE: ./node_modules/antd/es/date-picker/locale/zh_CN.js - - - -// 统一合并为完整的 Locale -var locale_zh_CN_locale = { - lang: (0,esm_extends/* default */.Z)({ - placeholder: '请选择日期', - yearPlaceholder: '请选择年份', - quarterPlaceholder: '请选择季度', - monthPlaceholder: '请选择月份', - weekPlaceholder: '请选择周', - rangePlaceholder: ['开始日期', '结束日期'], - rangeYearPlaceholder: ['开始年份', '结束年份'], - rangeMonthPlaceholder: ['开始月份', '结束月份'], - rangeQuarterPlaceholder: ['开始季度', '结束季度'], - rangeWeekPlaceholder: ['开始周', '结束周'] - }, locale_zh_CN), - timePickerLocale: (0,esm_extends/* default */.Z)({}, time_picker_locale_zh_CN) -}; -// should add whitespace between char in Button -locale_zh_CN_locale.lang.ok = '确定'; -// All settings at: -// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json -/* harmony default export */ var date_picker_locale_zh_CN = (locale_zh_CN_locale); -;// CONCATENATED MODULE: ./node_modules/antd/es/calendar/locale/zh_CN.js - -/* harmony default export */ var calendar_locale_zh_CN = (date_picker_locale_zh_CN); -;// CONCATENATED MODULE: ./node_modules/antd/es/locale/zh_CN.js -/* eslint-disable no-template-curly-in-string */ - - - - -var typeTemplate = '${label}不是一个有效的${type}'; -var localeValues = { - locale: 'zh-cn', - Pagination: zh_CN/* default */.Z, - DatePicker: date_picker_locale_zh_CN, - TimePicker: time_picker_locale_zh_CN, - Calendar: calendar_locale_zh_CN, - // locales for all components - global: { - placeholder: '请选择' - }, - Table: { - filterTitle: '筛选', - filterConfirm: '确定', - filterReset: '重置', - filterEmptyText: '无筛选项', - filterCheckall: '全选', - filterSearchPlaceholder: '在筛选项中搜索', - selectAll: '全选当页', - selectInvert: '反选当页', - selectNone: '清空所有', - selectionAll: '全选所有', - sortTitle: '排序', - expand: '展开行', - collapse: '关闭行', - triggerDesc: '点击降序', - triggerAsc: '点击升序', - cancelSort: '取消排序' - }, - Modal: { - okText: '确定', - cancelText: '取消', - justOkText: '知道了' - }, - Popconfirm: { - cancelText: '取消', - okText: '确定' - }, - Transfer: { - titles: ['', ''], - searchPlaceholder: '请输入搜索内容', - itemUnit: '项', - itemsUnit: '项', - remove: '删除', - selectCurrent: '全选当页', - removeCurrent: '删除当页', - selectAll: '全选所有', - removeAll: '删除全部', - selectInvert: '反选当页' - }, - Upload: { - uploading: '文件上传中', - removeFile: '删除文件', - uploadError: '上传错误', - previewFile: '预览文件', - downloadFile: '下载文件' - }, - Empty: { - description: '暂无数据' - }, - Icon: { - icon: '图标' - }, - Text: { - edit: '编辑', - copy: '复制', - copied: '复制成功', - expand: '展开' - }, - PageHeader: { - back: '返回' - }, - Form: { - optional: '(可选)', - defaultValidateMessages: { - "default": '字段验证错误${label}', - required: '请输入${label}', - "enum": '${label}必须是其中一个[${enum}]', - whitespace: '${label}不能为空字符', - date: { - format: '${label}日期格式无效', - parse: '${label}不能转换为日期', - invalid: '${label}是一个无效日期' - }, - types: { - string: typeTemplate, - method: typeTemplate, - array: typeTemplate, - object: typeTemplate, - number: typeTemplate, - date: typeTemplate, - "boolean": typeTemplate, - integer: typeTemplate, - "float": typeTemplate, - regexp: typeTemplate, - email: typeTemplate, - url: typeTemplate, - hex: typeTemplate - }, - string: { - len: '${label}须为${len}个字符', - min: '${label}最少${min}个字符', - max: '${label}最多${max}个字符', - range: '${label}须在${min}-${max}字符之间' - }, - number: { - len: '${label}必须等于${len}', - min: '${label}最小值为${min}', - max: '${label}最大值为${max}', - range: '${label}须在${min}-${max}之间' - }, - array: { - len: '须为${len}个${label}', - min: '最少${min}个${label}', - max: '最多${max}个${label}', - range: '${label}数量须在${min}-${max}之间' - }, - pattern: { - mismatch: '${label}与模式不匹配${pattern}' - } - } - }, - Image: { - preview: '预览' - } -}; -/* harmony default export */ var es_locale_zh_CN = (localeValues); - /***/ }) }]); \ No newline at end of file diff --git a/layouts__user__index.async.js b/layouts__user__index.async.js deleted file mode 100644 index 1e4bcc689a..0000000000 --- a/layouts__user__index.async.js +++ /dev/null @@ -1,336 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[25972],{ - -/***/ 59885: -/*!************************************************!*\ - !*** ./src/layouts/user/index.tsx + 6 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 */ user; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./src/components/User/OauthPanel/wechat.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 SvgWechat = function SvgWechat(props) { - return /* @__PURE__ */React.createElement("svg", __spreadValues({ - className: "wechat_svg__icon", - viewBox: "0 0 1024 1024", - xmlns: "http://www.w3.org/2000/svg", - width: 200, - height: 200 - }, props), /* @__PURE__ */React.createElement("path", { - d: "M512 0c282.793 0 512 229.202 512 512 0 282.793-229.207 512-512 512S0 794.793 0 512C0 229.202 229.207 0 512 0zm122.081 423.383c-103.69 0-185.472 72.366-185.472 161.219 0 88.929 81.782 161.146 185.472 161.146 21.71 0 43.54-5.54 65.383-11.084L759.265 768l-16.4-55.588c43.756-33.408 76.34-77.762 76.34-127.81 0-88.853-87.23-161.219-185.119-161.219zM423.265 256C303.196 256 204.8 339.84 204.8 446.31c0 61.43 32.722 111.837 87.409 151l-21.817 67.307 76.365-39.24c27.274 5.581 49.229 11.239 76.508 11.239 6.882 0 13.63-.287 20.378-.87-4.23-14.936-6.748-30.603-6.748-46.92 0-97.695 81.96-177.04 185.738-177.04 7.107 0 14.141.512 21.023 1.306C624.794 323.01 530.698 256 423.27 256zM694.41 512c16.348 0 27.264 11.13 27.264 22.19 0 11.131-10.916 22.118-27.264 22.118-10.71 0-21.494-10.987-21.494-22.118 0-11.06 10.783-22.19 21.494-22.19zm-121.753 0c16.435 0 27.115 11.13 27.115 22.19 0 11.131-10.68 22.118-27.12 22.118-10.752 0-21.643-10.987-21.643-22.118 0-11.06 10.896-22.19 21.643-22.19zM351.549 349.542c17.23 0 28.79 11.72 28.79 29.497 0 17.694-11.56 29.578-28.79 29.578-17.218 0-34.6-11.878-34.6-29.578 0-17.777 17.382-29.502 34.6-29.502zm153.314 0c16.03 0 26.64 11.72 26.64 29.497 0 17.694-10.61 29.578-26.64 29.578-15.903 0-31.877-11.878-31.877-29.578 0-17.777 15.974-29.502 31.877-29.502z", - fill: "#62B900" - })); -}; - -/* harmony default export */ var wechat = ("data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTUxMiAwYzI4Mi43OTMgMCA1MTIgMjI5LjIwMiA1MTIgNTEyIDAgMjgyLjc5My0yMjkuMjA3IDUxMi01MTIgNTEyUzAgNzk0Ljc5MyAwIDUxMkMwIDIyOS4yMDIgMjI5LjIwNyAwIDUxMiAwem0xMjIuMDgxIDQyMy4zODNjLTEwMy42OSAwLTE4NS40NzIgNzIuMzY2LTE4NS40NzIgMTYxLjIxOSAwIDg4LjkyOSA4MS43ODIgMTYxLjE0NiAxODUuNDcyIDE2MS4xNDYgMjEuNzEgMCA0My41NC01LjU0IDY1LjM4My0xMS4wODRMNzU5LjI2NSA3NjhsLTE2LjQtNTUuNTg4YzQzLjc1Ni0zMy40MDggNzYuMzQtNzcuNzYyIDc2LjM0LTEyNy44MSAwLTg4Ljg1My04Ny4yMy0xNjEuMjE5LTE4NS4xMTktMTYxLjIxOXpNNDIzLjI2NSAyNTZDMzAzLjE5NiAyNTYgMjA0LjggMzM5Ljg0IDIwNC44IDQ0Ni4zMWMwIDYxLjQzIDMyLjcyMiAxMTEuODM3IDg3LjQwOSAxNTFsLTIxLjgxNyA2Ny4zMDcgNzYuMzY1LTM5LjI0YzI3LjI3NCA1LjU4MSA0OS4yMjkgMTEuMjM5IDc2LjUwOCAxMS4yMzkgNi44ODIgMCAxMy42My0uMjg3IDIwLjM3OC0uODctNC4yMy0xNC45MzYtNi43NDgtMzAuNjAzLTYuNzQ4LTQ2LjkyIDAtOTcuNjk1IDgxLjk2LTE3Ny4wNCAxODUuNzM4LTE3Ny4wNCA3LjEwNyAwIDE0LjE0MS41MTIgMjEuMDIzIDEuMzA2QzYyNC43OTQgMzIzLjAxIDUzMC42OTggMjU2IDQyMy4yNyAyNTZ6TTY5NC40MSA1MTJjMTYuMzQ4IDAgMjcuMjY0IDExLjEzIDI3LjI2NCAyMi4xOSAwIDExLjEzMS0xMC45MTYgMjIuMTE4LTI3LjI2NCAyMi4xMTgtMTAuNzEgMC0yMS40OTQtMTAuOTg3LTIxLjQ5NC0yMi4xMTggMC0xMS4wNiAxMC43ODMtMjIuMTkgMjEuNDk0LTIyLjE5em0tMTIxLjc1MyAwYzE2LjQzNSAwIDI3LjExNSAxMS4xMyAyNy4xMTUgMjIuMTkgMCAxMS4xMzEtMTAuNjggMjIuMTE4LTI3LjEyIDIyLjExOC0xMC43NTIgMC0yMS42NDMtMTAuOTg3LTIxLjY0My0yMi4xMTggMC0xMS4wNiAxMC44OTYtMjIuMTkgMjEuNjQzLTIyLjE5ek0zNTEuNTQ5IDM0OS41NDJjMTcuMjMgMCAyOC43OSAxMS43MiAyOC43OSAyOS40OTcgMCAxNy42OTQtMTEuNTYgMjkuNTc4LTI4Ljc5IDI5LjU3OC0xNy4yMTggMC0zNC42LTExLjg3OC0zNC42LTI5LjU3OCAwLTE3Ljc3NyAxNy4zODItMjkuNTAyIDM0LjYtMjkuNTAyem0xNTMuMzE0IDBjMTYuMDMgMCAyNi42NCAxMS43MiAyNi42NCAyOS40OTcgMCAxNy42OTQtMTAuNjEgMjkuNTc4LTI2LjY0IDI5LjU3OC0xNS45MDMgMC0zMS44NzctMTEuODc4LTMxLjg3Ny0yOS41NzggMC0xNy43NzcgMTUuOTc0LTI5LjUwMiAzMS44NzctMjkuNTAyeiIgZmlsbD0iIzYyQjkwMCIvPjwvc3ZnPg=="); -;// CONCATENATED MODULE: ./src/components/User/OauthPanel/qq.svg -function qq_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = qq_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 qq_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return qq_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 qq_arrayLikeToArray(o, minLen); } -function qq_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 qq_defProp = Object.defineProperty; -var qq_getOwnPropSymbols = Object.getOwnPropertySymbols; -var qq_hasOwnProp = Object.prototype.hasOwnProperty; -var qq_propIsEnum = Object.prototype.propertyIsEnumerable; -var qq_defNormalProp = function __defNormalProp(obj, key, value) { - return key in obj ? qq_defProp(obj, key, { - enumerable: true, - configurable: true, - writable: true, - value: value - }) : obj[key] = value; -}; -var qq_spreadValues = function __spreadValues(a, b) { - for (var prop in b || (b = {})) if (qq_hasOwnProp.call(b, prop)) qq_defNormalProp(a, prop, b[prop]); - if (qq_getOwnPropSymbols) { - var _iterator = qq_createForOfIteratorHelper(qq_getOwnPropSymbols(b)), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var prop = _step.value; - if (qq_propIsEnum.call(b, prop)) qq_defNormalProp(a, prop, b[prop]); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - } - return a; -}; - -var SvgQq = function SvgQq(props) { - return /* @__PURE__ */React.createElement("svg", qq_spreadValues({ - className: "qq_svg__icon", - viewBox: "0 0 1024 1024", - xmlns: "http://www.w3.org/2000/svg", - width: 200, - height: 200 - }, props), /* @__PURE__ */React.createElement("path", { - d: "M512 0C229.356 0 0 229.356 0 512s229.356 512 512 512 512-229.356 512-512S794.644 0 512 0zm235.75 647.603c-10.7 5.417-27.417-6.963-43.34-30.157-6.267 25.262-21.673 47.95-43.607 66.253 23.244 8.505 38.123 22.17 38.123 37.898 0 25.519-40.99 46.403-91.387 46.403-45.43 0-83.287-17.014-90.076-38.927h-10.967C499.446 751.243 461.85 768 416.42 768c-50.396 0-91.387-20.623-91.387-46.403 0-15.728 15.145-29.388 38.118-37.898-21.929-18.304-37.596-41.252-43.602-66.253-15.667 23.194-32.634 35.83-43.34 30.157-15.668-7.987-12.534-51.046 7.05-96.159 15.145-35.317 36.03-61.614 51.697-67.287-.262-2.319-.262-4.638-.262-6.707 0-13.66 3.917-26.291 10.445-36.608v-2.314c0-6.19 1.567-12.119 4.178-17.275C353.23 329.216 414.07 256 512.241 256s159.006 73.216 162.923 165.253a38.374 38.374 0 0 1 4.178 17.275v2.32c6.528 10.311 10.445 22.942 10.445 36.607 0 2.32 0 4.64-.261 6.702 15.923 5.673 36.557 31.97 51.696 67.287 19.062 45.118 22.196 88.167 6.528 96.16z", - fill: "#378AFE" - })); -}; - -/* harmony default export */ var qq = ("data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTUxMiAwQzIyOS4zNTYgMCAwIDIyOS4zNTYgMCA1MTJzMjI5LjM1NiA1MTIgNTEyIDUxMiA1MTItMjI5LjM1NiA1MTItNTEyUzc5NC42NDQgMCA1MTIgMHptMjM1Ljc1IDY0Ny42MDNjLTEwLjcgNS40MTctMjcuNDE3LTYuOTYzLTQzLjM0LTMwLjE1Ny02LjI2NyAyNS4yNjItMjEuNjczIDQ3Ljk1LTQzLjYwNyA2Ni4yNTMgMjMuMjQ0IDguNTA1IDM4LjEyMyAyMi4xNyAzOC4xMjMgMzcuODk4IDAgMjUuNTE5LTQwLjk5IDQ2LjQwMy05MS4zODcgNDYuNDAzLTQ1LjQzIDAtODMuMjg3LTE3LjAxNC05MC4wNzYtMzguOTI3aC0xMC45NjdDNDk5LjQ0NiA3NTEuMjQzIDQ2MS44NSA3NjggNDE2LjQyIDc2OGMtNTAuMzk2IDAtOTEuMzg3LTIwLjYyMy05MS4zODctNDYuNDAzIDAtMTUuNzI4IDE1LjE0NS0yOS4zODggMzguMTE4LTM3Ljg5OC0yMS45MjktMTguMzA0LTM3LjU5Ni00MS4yNTItNDMuNjAyLTY2LjI1My0xNS42NjcgMjMuMTk0LTMyLjYzNCAzNS44My00My4zNCAzMC4xNTctMTUuNjY4LTcuOTg3LTEyLjUzNC01MS4wNDYgNy4wNS05Ni4xNTkgMTUuMTQ1LTM1LjMxNyAzNi4wMy02MS42MTQgNTEuNjk3LTY3LjI4Ny0uMjYyLTIuMzE5LS4yNjItNC42MzgtLjI2Mi02LjcwNyAwLTEzLjY2IDMuOTE3LTI2LjI5MSAxMC40NDUtMzYuNjA4di0yLjMxNGMwLTYuMTkgMS41NjctMTIuMTE5IDQuMTc4LTE3LjI3NUMzNTMuMjMgMzI5LjIxNiA0MTQuMDcgMjU2IDUxMi4yNDEgMjU2czE1OS4wMDYgNzMuMjE2IDE2Mi45MjMgMTY1LjI1M2EzOC4zNzQgMzguMzc0IDAgMCAxIDQuMTc4IDE3LjI3NXYyLjMyYzYuNTI4IDEwLjMxMSAxMC40NDUgMjIuOTQyIDEwLjQ0NSAzNi42MDcgMCAyLjMyIDAgNC42NC0uMjYxIDYuNzAyIDE1LjkyMyA1LjY3MyAzNi41NTcgMzEuOTcgNTEuNjk2IDY3LjI4NyAxOS4wNjIgNDUuMTE4IDIyLjE5NiA4OC4xNjcgNi41MjggOTYuMTZ6IiBmaWxsPSIjMzc4QUZFIi8+PC9zdmc+"); -// EXTERNAL MODULE: ./src/utils/util.tsx -var util = __webpack_require__(29427); -;// CONCATENATED MODULE: ./src/components/User/OauthPanel/index.less -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules -var env = __webpack_require__(59758); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/User/OauthPanel/index.tsx - - - - - - - - - -var HOST = window.location.host; -var redirect_uri = env/* default.QQLoginCB */.Z.QQLoginCB; -/* harmony default export */ var OauthPanel = (function (_ref) { - var onWechatLogin = _ref.onWechatLogin; - function onQQLogin() { - if ((0,util/* isPc */.b9)()) { - window.location.href = "https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=".concat(redirect_uri, "%2fotherloginqq&state=null,").concat(HOST, "&response_type=code"); - } else { - (0,util/* openNewWindow */.xg)("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=".concat(redirect_uri, "%2fotherloginqq&state=null,").concat(HOST, "&response_type=code")); - } - } - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - className: "driver", - children: [" \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: '#444444' - }, - children: "\u5FEB\u901F\u767B\u5F55" - }), " \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 "] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "other-login", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", { - title: "\u5FAE\u4FE1\u767B\u5F55", - onClick: onWechatLogin, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - src: wechat, - alt: "\u5FAE\u4FE1", - width: 46 - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - title: "qq\u767B\u5F55", - onClick: onQQLogin, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - src: qq, - alt: "QQ", - width: 46 - }) - })] - })] - }); -}); -function WechatQrcode(_ref2) { - var onBack = _ref2.onBack; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { - className: "wechat-qrcode", - frameBorder: "0", - sandbox: "allow-scripts allow-same-origin allow-top-navigation", - scrolling: "no", - src: "https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=".concat(redirect_uri, "%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,").concat(HOST, "#wechat_redirect") - }), /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - className: "btn-link", - onClick: onBack, - children: "\u8FD4\u56DE\u8D26\u53F7\u767B\u5F55" - })] - }); -} -// EXTERNAL MODULE: ./src/components/Header/index.tsx + 9 modules -var Header = __webpack_require__(92026); -;// CONCATENATED MODULE: ./src/layouts/user/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./src/layouts/user/logo.png -var logo_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAxCAYAAAABWrbGAAAX7klEQVR4Xu2dB9R0V1WG96tGUJQioKB0UIjUgCAl0sRCNdIhIEVEQpXekSKE3okgzRgMVbqAVDFgIj0ENCBNRUBAEBBCk5f1fJ4Zzpw555aZO/N/+dfstb71Z2XuPffcfe957y7v3kexBbH9kxFx58aljpP031NOw/a5IuIOU45ZGetJkk6zfcuIuFDx+9clPX3D198Nv9PAvteAtjFD2z8TEd9oXOvSkj485TxsXzYi3j/lmJWxzi7pK7bfGBG/W/x+kqQrbfj6u+F3Gtj3GugEGNsfjYj/iohT09+/pH8/K8lD7872GSPitMbxl5F08tCxhhy3ZYB5a0T8ZjGvYyXddshcd8fsNHAwa6AJMLZ/PCK+GxE/VlHA/2agA/jMgOcTkjhnQWwfksaq6fJSkk6ZUslbBpgTIuLwYv4PlvSYKe9pN9ZOA6dHDXQBzM8n62XMfX0/Ip4u6d75SbZ/IiK+1xjoEpKwlCaTLQPMxyPil4vJA7ifj4iZfvl39sehtf8+QtKXJlPCbqCdBvaBBroA5lcjYpWF/1BJfzYCYC4qiUU6mWwLYCLiqxHxrYjABVxHvirp59YZYHfuTgP7UQNdAHO1iPj7FSZ9E0mvKACGLNJ3GmNdUNJnVrhO8xTbPxsRV1hjzLtGxBGV82+RBavfHBHnjYhPrnGd2alvk3StCcbZDbHTwL7SQBfA3CgiFoBi4MwvKekjBcD8VPrS14Y4lyQCyftGbD8jIgCZUs6Rp9Rt3zwiXjzBxB8v6f4TjLMbYqeBfaWBLoA5Q0TgJvF3sYg4NP1dJCKwSGryfxFxJkkL1kqyKL7eOOcsklq/HRBljQCYYyLiqAkmeTNJL5tgnN0QOw3sKw2M5sGkgC0gMwOc2b+A0Bck8duC2D5HRNQCmKS6D5EEME0qtnFxxpLt7k/AeQTAfDoiLjDBxC8kibF2stPAQaWB0QDTunvbjAX57MsVgDlPRPxH5dxvSoKEN7nYvldEPGnkwFeVdMIQgLH96xFxUmX8Z0XEfRrXfV1ElLGWL0s658h57g7faeB0oYHJAKbrbm3/SkR8rHLM5yX94iY0tQWAeXZE/HFl7leWdGLtnmx/ISJ+ofjtjZKus44OErhPFST+wKqlG7YPiwis1VzeOoaUuY4eet7BX4qIG0bEJSPi3BHBh42P4b9GxJsi4t2bsKQ3eD+Up1y4GP+9kv5nU9dcZdxtAQwv3gcqE/yopEusMvG+czYJMMnlI/N1pmIeH5OEq7gkts8XEf9W+ekRkh7edz89i6eLZzR26GtLYsGNFtt/GxElWJ6hRr4cPfiKJ9hmET4tIq7dII3ORoa79EBJr1nxUls9zfbDIuIRxUWvJukftjqRnot1BXl/LSIeUJQJsIBg8Y4S262U9wmSrjpqsIEHbxhgcIGeUJnKfSRV3bKOjNN1JFHPtLL0EBnHjnvQAIzt20TEn0cEWcyh8lRc3P1uzRwMAHPTiHhp8VQIyn42Kw2YlwlIwvyviu3fi4hXV358maSbDX3yY45rAAxlDF28lVtLen9fDMb2IyPiocV8AN7zUwBZm6dtYjNlRTn6JPVdPWfo/e4AZllTtm8XEc/rsVpaKn6upDsO1f+BOO5gABgWA4tiqOD7YWbejUWan2T79hHx/MpAT5V0z6EXGHNcA2A+WctyleMOAJijk3WXn/rkskSi0AGsaFL+uZwqiSzcWrIDmEX1JSb3P0UEruOqcgtJL1n15E2fdzAATM3HG6K3pdoi27haLMpS7ivpiUMGHXvMmgBDDOJ3KtfcI9rZxg0iSzWTb0fERST9Z22etgkq8lvpkj5f0thU+tIlGgBD6v89Y/UWEfeUxOIcLfshBpN0wX0T9yuFj+DLI4L2IOiHMAAWdBlL4zyynjzTpeLd0YrZwAkHA8DQMOluI3XTItrh196jMtYtJU3BhK0tulqamhesZknl55NSxz2sxadmAFPq5jGSHtzSle0/iIhjK7/fVlLt/49SewNgviHpzKMGWvPgfQIwd0pxl/JuoAjcrsyQ2eZ5vyqBTXnOvrViDgaAOT4iqL0ZI7RrKCuLw/bfpBRhOdbVJb1zzAWGHrtikLdv+BnA5Cnqf8f1kfTNDoD564ig810pk9Rh7QDmR2q1/cGIuEyh6LfTFExStaLf9tmTVVNSJt4g6bp9L8WB+P1gAJjLRQRd2XLGLq0ou+T1kq5fHmCbmAxd5kq5gKRa6nbtZ7YhgJl1scMKIq6E+XwtyHkd4EJfHWqteIlzqYLxKje+LYBJjcOul0pH6PFDkP81kqgo50MyOE2degRRjpLLaa3sjW3cmNyq/MHsurMBbOPyvLcYk2d0cUmf6NKt7T+KiL8o5xMRZytLX2rj2OZerp7Ajcp4rGXcrLesUmtnmz5M14gI1uFZIgJaxGtnY60CMEmHpOvhpcED+mLq/AgH6Ad9717qEbWQkZtllW1T+IvlT6HxP6e5fnsUD8b22TLAge9B0BIAOn+K1j9R0n3ziSYS2NfShRdeplS3NLgzXp8CiuuuwuTtugQd+c4s6fu2j4uIG0fEbfpqiGzjplAUWQoB57eNuacOEKvxYCZ1kVJWhtgT70AutKy4q6TjRwLMn0TEU4qxri/p9Y0FTKYtvzaEQBbfXGzTJqR0VV8uiRe/U1JbV3pD09OILgJv4K+vhCMBy/2IXVV0wzUZj7HuPvRjavs3IuIFxICKSVPjBz0C3hT3OYgHk4CB9UBctcacJzN87wHv8hUjoiSRAn5XiQi8lBx8GPPQUQDT8YIz8EUjgmbXnyoe+gUjYuH/pd8/LOnSfQ9+1d83YMEcI+kuzMc2L9Sbpu4lvMa9bhRgbNOd74E980MnfMEHEe1sbwJg/i4ifruYJ9SDFw3RrW0s9g/RzH3g8bCysdoWgK5xLj2paWXCHJtiG7Yxha9Yvi0hUI2V8KfFAUtEu2Tdkg2jO0KfdFb1264BDEbGP0bEWYvB+SCccxKA6VEYcRziOaW8SNKt++541d8nBBgsLND59pJajcsBHb4MNRcS0MUU3Zhs0kXqCFCX94OJjQVQ1lVVmbwbAhio/6UrejFJtTKVtZ5Hcjf4mlN6MFSI011TUjW7Z5uxcPFK17E2Pm53WXZSAxiytAsdJnsmeydJz6kd0wAYrLNaqcvxko7cBsA8MyL2vvyF3EtSaSIPfVC9x9nGdCvrYnrPqxwAQPS2srRNupk+MqXL96zSbVxlEj0gXrNgCGj+1chrPVvS+2bn2OarxOKkfWoptNigLSjV5F0LYisAk7aqYT65oAPah7TatY5Uz48Otw1DmIzVWKF7I32olxqw2Ybmj3tUCjQIYpUEoYlxtGQBYFJMioLc0hrCQmM84iZlip7YEV0mlz6KDYBpzeVI3OZtAAycgxrK71Uuj306+/V426ThSceX8hBJj97kvCck2i30pbHNh4EPRC4AKKY55vR3Ul0WWbWWCb4tgCEWiNuQC+1D4CBNKrapn/tQZeES9IbhTd0d1ixNy2qZ2KWm8I0ANfOGTX/ntEUOrVlxVYml1KQEGOqqblAciLuElfK1ZHVTp0XCIpcq7aIHYLh3LDrCHpfCumLOGwUY26QLSRuWAiKfdUh0ftI3Y4ODdZAJ6THz+A1eGvdsqmLHEmDelQJ4+fSfJon4yVxSRgg/nCxOKdsCGOInzCGXQcztsc/G9nMrvYYAHBb4QvM02wRky1jJ51JZCQHgPbFdc2XQP1SOhX5JtnFhaqUMc4CxjbWDlZKzmXG/rpSPl5IwBLXzmkAyVvQoWrDGOwCGmNGtZpYiQeqZ8SDb8Dg2BTSYc7gqpZA6XDUucd2+4KptUJSHs0k5nyQyKLMXpJbB4LemTzvV5DYBMAk0qK/KuxfyYTh3rSVAR73ZtgCGze/KotGPSBoTI+l9JEnXxHry95r402Vr+3uldDMxlzIQfD1JBIhn7w9ff4KouVxD0lJf7AQepMDLLYVygMFlBwhzubmksr4QcMPKKavID5MEaM6lATDcO3wucGRJABjQsbb3Ua+yD9ABl8/jBLU5bGtXgbxI0fYLI6K22dra1dJ9et4QwLAwyx033yypVkLBS0omEf+9bKe6LYD5rYigEXsuk3GNMiCoNRp7l6Ra7GQGHn+YCi/zuc0zNsmKwPLJU8h8vCB2VvkptrFGSosxB5hav6Lz1MpZUqxt/rFMk4T1/JcDAOYUSbhEVQFgMNO6UmJ97/e2f7+CpJJMtTCHAwQwtS8Qlho7V1IEujFpAAzWRl4vNeT6AMhetbltCHXQ63NhP+5Wtz7O4T7LfjjbApjLV2qvPieJRlOTie0aWDxa0kNaF0k9aUqi39sl7e0I2mgp2wdaLH7aUeSSA8y7I+LKxe/0JJq7ZcVvPPecx/IUSQvvT8OCeamkGs9rb3gAhgj7OlWnkz28gQNdsa8Y7wABDCnacm8jovXsmrDRpuabSFPbrtELHiDpcR0LCeLgNYvfpwIYvrA512KBaGebEpVyfy1AlixSL0t14LsHGEBwW9j3K9U4LXzt8/GShcI6yz/kc/fNNt3pyjYir5IEJ6YqDW5SDjAEvNep1H+xpIXylgbAdHZEAGD4ykL7Pr0IQapaL9z5/LcNMIkTQSq7bGxEirsWg5pU1xsCmBp1nkrrWqZs735sY/Fg+eQyBmBuIKm0mmZjwwbPizdLgOE3QKh09+nRU40PlA8hZXJY+ABTa2E/KiJKa+XGkuBKNcV2OX/2dydNjN5q7uhLJDVrAW0zB+aSSw4wBJLXyaAtlf00AObhkkpG8XxOAAwPdEqAuXhEUKFaE3gKpV8/drHxkne6HLZhFQ9ibzYujilZ435w3VlE/3BSfekFYZM3TNLSEnyfJEz3jcqGAOZWEUFJRC6dGTHbBFkJtuYyBmDYPrfastI21mC+g2atVIBUKc8+l4VgateDsI0VQTkCxNAXSFpq82qb/aseW4zT2xXANqCV84U+JWmvp27D+nqlpCb7tpGdygEGUN0DsBXlnZJgZs+lATD3k1Tr7rh33qTZI9ssJrgtNeIVCxProzN+sqIyJj2tr+FUeTHbreZcPOT8fj+4CU7MhgCm1oXwsZKaJQO2sSwJgq4KMEu7gqYFiFVC7CB/X2sAA7GwZIc/U1Jv25H0UQKgcjmZ9G3u4tqm0TsB1FzuIYkWHlVJ9Wh7H6NM3iNpT1e2YeSWHSHfIal0N/PFXmuBkgPMKRGR97umIHVMczca8i9Ykw2A6bz3yQAmFUKC+K19gh4nicZT+15WAJgnD3x4sDdJb6+aom+9wJPXIjW2ZekM6NkuCxKZ7xgLplo3lNoplNvh1ACmFoCFUn/hrnYaaZFjlZS7a35aEvGRfGFT61TWE71QUklWy88hw1Q24z5OEn2CABg8iJIS8BlJ1PG1nnnNWswBhhYVVGPPhA/8GSnWXXUBNgCGQtdm58tJACYpiC5wLcQFeLBettYdLL2Ufe0lSl3zQn1rBYBhq1xcw4V3sWEhLrE4V33gs/M2ZMFAISc4ncc0qJAlprEUNLUNz2NeZpDdUwtgalYf7VZL5jALsJYargEMaV5iDyWdvi/Lg0uP+1tWGs8LXDNd40IR0M/XDvE3UsDV99s2JTEL5ES2vJE0bw9hG2spT/dCcqOdyVL8KLXN4JrlfHOAKbsucguXa7h9BM+J19DUvxkQbwDMUZJKi27++KcCGErLabJcE5CZG5tH+BMFvZU+pLft0uZtYxfhisWOgzdey144HjIPO48P8DNfilp2jhcGluRku1luAmDSl7UGnNVtbm3X3BOGaQFMLcbzHElL9T2NBboEMGnONf4Hi+aOkpa6Gdom88fHsRYrq3KubENAKzsBVEtCbGOFoMefzt5h3g3AY95i1TYNyrHAcqn2eW6UcHBeDjC0Ai17ClczPrYphoRJTDEvxgAfCiwsQG8uBwRgbNei6vm89oqeionSM6ZFn5/EldoiwBCreGUlewHdmrRkLdDWDGaOBdK0qGouEu7YKjVQBB/pwIflAMW93LMJMIW+Pq/7Sb1iWLy1D1YLYAggvqO4X1wsCgHzhQeBjh4xJYGvBTAsaOIPtT67tMaE3Yq1gluCxf0g3NaK3k+UVPJI9g5rxNz4YNwlr0S2TT8X4hglN+jVkn6/WBMQGMv9qAAi4lLzHTlSnBP3p9bXJQcYfkePeeYNC4tqbhISs3vBekFfZWJmaQPBrQOM7S6g4AaeIenu5cNLlc5QnWuVoVg8UI/XsmK2CDBE0GvkM/xS0qY1AlaTETshwKwyFOewEyOLmoXEYiXwWS5uwAvKObsiwiaFat6yhlsAg+UAWJVpZSw8CvD4jf20YEfXiKBVgEnzbhWeDtUJFs9VWnQI27y36KW2KynAS2CfthXstlnqDiCirGAhm5qaQkHGK2OYuEq0RKDcACA8smItz+6rLHY8JiKOKm6aYC/vLOCOWwSvp9z88GRJZdtR3odaP5jNuEi2AQ4i2a0Xi1og0LLVB7Xml8500ZmtGPKWbBFgKCirfQFxGcmosQhLHfEC06eE39aWCUsFFgAmLVaIdTSTGiIskLILW3NnR9s1Yl7tOuiLthE5cawLYAAtLIdVt+R9gqTOe7ZN60lqicaGGZoN4lOzqU4+Taacmq5LgAHk2C5nzN7nABr1fkubAW4NYJLPBgq2lEsHOxi3zT4qtkFqFlgtToEvSJxiZStmGwCTzFWAtPxKwXkgW/Ql2xSr8SUuZYmKPWQF147ZMMAQO8AkL9PP5VT4wlLlW8Y5ugCGuAep7b5aON41THnIfzNpAkwCRqgSuEQAwRghlsRuD72tXAd8ZMvrvoL2qV3xN9sEfvP7rM2ddXGTiotZazgF8REXfijXrcnM3QrANAg+uRLI9+O/lb05lhRlGzO71S91LSumATCkh7u+TGxE/8WhWSTbtdQm93mSJNoHYFZSL1KjkeM+kXnYa5i9jmwSYNI90LiLxXp4Y56kYCGFQbIryXmde1Pbpu0ApnzNDWKRE0ei/wngNRhg0rz5eFFPQywpD7LWboOM2YO6Uq4NcGeh02is7C6XH44VD0g+rC+4n1wlQKaV9ia2h0vKR6wsjajuTZ3qykjEdFkyuG68zw9tgetGASaVnaPIcvvTXJHcNOYVX7xesQ0DtrXJF1YMsRhSgqNlzY3XWl+RvW1L0svLF4EgWu2hzdmNqYwABnMt3nSHWmZj7M2mZzPVBnYfr6UdE4iR4WGRz1wVPiJ0doP1+r2UqiZGkAub63VmzFIaGo4UPUmIzRCH4x2iuHKPP2KbhbwH2kmg2sM/6pXU3oCCPGp7YPrO2moCKux4gTvwvFobit7B/39uWFe0R2B86AoEVnHrYAYzNl0NSzDoHDq1vyC1jeWINYYrDnjTj+crqUCSAHUukApr/a9nc6SBGODEHAmCA+CM+xYaiw1og0IguLSuXtfV3WCQ/2gb9CezcESHVpYi3gMfDnGK1pfxaEmlEocMi0JruwrwwMuIfjkeSmROtXKHHGCoE6EcoTTvCYCyIyCckT1ppCD5qdPMH3SjB+Cg9JXVOqSt1rTTu8b2Jb0uyqq3bnvPpd0ULyu1rvhuH7AOmX8qlDxk6rlOOceu++gFmLTtKfUhXTU1oDX9I8b2gGXxAVqY3zVZ2YpZMQbT98xzgIErUOsmz24DC36/bbZ1aDXA6i3e7JvU7vedBvarBjoBJlWXsvhbxYvcF/4lHfdXKi5M5j0pv6UdIZPSVrJiNgkwttntD25CGaDGFbipJIJqC2K7VojHMXPK+H59SXbz2mlgVQ00ASYFJ/GvyxYE+bWIucDsfO2qE0guRKtYkJ9XsmI2BDD41mw9AduxtqcTqVS2ka1R6YkxHF3REzo87zoZs3V0vzt3p4FNamAJYNJOdRCdqBrtEliXN6r1DB074eR3Q7Aq97SZDdW5uXztehsAmFMlHWob4hLB7jLrgfVCerNqyTWaMM+m3tnIaaw+d8fvNLBfNLAAMLbZs5b6hcN6Jgi1+IZ9+/2OucnGtp+zIYj2k1EC1AbJxACDG0isCAuFOpQaTZtsGPGUZnDSNpT32mbqpB6p+J2s89ogJe0O2mlgwxqYA0z6wsI3qNVw5NOA4v+oodtrDp1/2jirayO2YyWVtRrN4VPuv+xZOnQ6+XGAGynME9OWsS3C2SNrXeXzgWxTf1NrDM5h6LRsm7jKfHfn7DSwbzTwQwweC9+6/JUxAAAAAElFTkSuQmCC"; -// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules -var _umi_production_exports = __webpack_require__(89214); -;// CONCATENATED MODULE: ./src/layouts/user/index.tsx - - - -var _excluded = ["dispatch", "globalSetting", "children"]; - - - - - - - - - - - -function Register(_ref) { - var _globalSetting$settin, _globalSetting$settin2, _globalSetting$settin3; - var dispatch = _ref.dispatch, - globalSetting = _ref.globalSetting, - children = _ref.children, - props = objectWithoutProperties_default()(_ref, _excluded); - var _useState = (0,react.useState)(false), - _useState2 = slicedToArray_default()(_useState, 2), - wechatQrcode = _useState2[0], - setWechatQrcode = _useState2[1]; - function onBack() { - setWechatQrcode(false); - _umi_production_exports.history.push('/user/login'); - } - function onWechatLogin() { - setWechatQrcode(true); - } - (0,react.useEffect)(function () { - if (!globalSetting.setting) { - dispatch({ - type: 'globalSetting/query' - }); - } - }, []); - var renderNav = function renderNav() { - var _useLocation = (0,_umi_production_exports.useLocation)(), - pathname = _useLocation.pathname; - if (pathname === '/user/reset-password') { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "register-nav", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - color: '#333' - }, - children: "\u627E\u56DE\u5BC6\u7801" - }) - }); - } - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "register-nav", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - onClick: function onClick() { - return _umi_production_exports.history.push('/user/login'); - }, - className: pathname === '/user/login' || pathname === '/login' ? 'nav-active' : '', - children: "\u767B\u5F55" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - onClick: function onClick() { - return _umi_production_exports.history.push('/user/register'); - }, - className: pathname === '/user/register' || pathname === '/register' ? 'nav-active' : '', - children: "\u6CE8\u518C" - })] - }); - }; - var is_main_site = (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.main_site; - var login_logo_url = (_globalSetting$settin2 = globalSetting.setting) === null || _globalSetting$settin2 === void 0 ? void 0 : _globalSetting$settin2.login_logo_url; - var is_local = (_globalSetting$settin3 = globalSetting.setting) === null || _globalSetting$settin3 === void 0 ? void 0 : _globalSetting$settin3.is_local; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "register-container", - children: [!(0,util/* checkIsClientExam */.Ll)() && /*#__PURE__*/(0,jsx_runtime.jsx)(Header/* default */.Z, objectSpread2_default()({ - isLogin: true - }, props)), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "register-bg", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "register-introduce", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { - alt: "logo", - src: login_logo_url ? "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/").concat(login_logo_url) : logo_namespaceObject - }), /*#__PURE__*/(0,jsx_runtime.jsx)("h4", { - children: "\u8BA9\u5B9E\u8DF5\u6559\u5B66\u66F4\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - children: "\u5934\u6B4C (educoder.net) \u662F\u4E00\u4E2A\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u548C\u521B\u65B0\u670D\u52A1\u5E73\u53F0\uFF0C\u652F\u6301\u5B9E\u9A8C\u5B9E\u8BAD\u3001\u8BFE\u5802\u6559\u5B66\u3001\u8FDC\u7A0B\u8003\u8BD5\u3001\u4E00\u6D41\u8BFE\u7A0B\u3001\u5DE5\u7A0B\u8BA4\u8BC1\u3001\u80FD\u529B\u7ADE\u8D5B\u7B49\u5404\u7C7B\u5728\u7EBF\u79D1\u6559\u6D3B\u52A8\uFF0C\u81F4\u529B\u4E8E\u8BA9\u9AD8\u6821\u6559\u5B66\u548C\u79D1\u7814\u66F4\u6709\u521B\u9020\u529B\u3002" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "register-panel", - children: [!wechatQrcode ? renderNav() : null, !wechatQrcode ? /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Outlet, {}) : null, wechatQrcode ? /*#__PURE__*/(0,jsx_runtime.jsx)(WechatQrcode, { - onBack: onBack - }) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: is_main_site && !is_local && /*#__PURE__*/(0,jsx_runtime.jsx)(OauthPanel, { - onWechatLogin: onWechatLogin - }) - })] - })] - }), !is_local && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "register-footer", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\xA9" - }), " 2021 EduCoder \u6E58ICP\u590717009477\u53F7 ", /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "https://team.trustie.net/", - target: "_blank", - children: "Trustie" - }), " & IntelliDE inside"] - })] - }); -} -/* harmony default export */ var user = ((0,_umi_production_exports.connect)(function (_ref2) { - var loading = _ref2.loading, - globalSetting = _ref2.globalSetting; - return { - globalSetting: globalSetting, - loading: loading.models.index - }; -})(Register)); - -/***/ }) - -}]); \ No newline at end of file diff --git a/layouts__virtualDetail__index.async.js b/layouts__virtualDetail__index.async.js index 6f0080dba9..e3c8097af3 100644 --- a/layouts__virtualDetail__index.async.js +++ b/layouts__virtualDetail__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[40559,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[40559,36579,23805],{ /***/ 49620: /*!*******************************************************************!*\ diff --git a/p__Classrooms__ExamList__index.async.js b/p__Classrooms__ExamList__index.async.js index 210d01f132..ffacecb77b 100644 --- a/p__Classrooms__ExamList__index.async.js +++ b/p__Classrooms__ExamList__index.async.js @@ -993,6 +993,303 @@ var getMergedStatus = function getMergedStatus(contextStatus, customStatus) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 73481: /*!*************************************************************!*\ !*** ./node_modules/antd/es/skeleton/index.js + 11 modules ***! @@ -1873,6 +2170,195 @@ RightOutlined.displayName = 'RightOutlined'; /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 48555: /*!*****************************************************************!*\ !*** ./node_modules/rc-resize-observer/es/index.js + 4 modules ***! diff --git a/p__Classrooms__ExamList__index.chunk.css b/p__Classrooms__ExamList__index.chunk.css index 4f57af6048..09fad3cf4e 100644 --- a/p__Classrooms__ExamList__index.chunk.css +++ b/p__Classrooms__ExamList__index.chunk.css @@ -1052,6 +1052,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/ExamList/components/List/index.less?modules ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Index__index.chunk.css b/p__Classrooms__Index__index.chunk.css index cc818bcf6b..9992a61b5e 100644 --- a/p__Classrooms__Index__index.chunk.css +++ b/p__Classrooms__Index__index.chunk.css @@ -1,666 +1,3 @@ -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/pagination/style/index.less ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-pagination { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; -} -.ant-pagination ul, -.ant-pagination ol { - margin: 0; - padding: 0; - list-style: none; -} -.ant-pagination::after { - display: block; - clear: both; - height: 0; - overflow: hidden; - visibility: hidden; - content: ' '; -} -.ant-pagination-total-text { - display: inline-block; - height: 28px; - margin-right: 8px; - line-height: 26px; - vertical-align: middle; -} -.ant-pagination-item { - display: inline-block; - min-width: 28px; - height: 28px; - margin-right: 8px; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; - line-height: 26px; - text-align: center; - vertical-align: middle; - list-style: none; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - outline: 0; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-item a { - display: block; - padding: 0 6px; - color: rgba(0, 0, 0, 0.85); - transition: none; -} -.ant-pagination-item a:hover { - text-decoration: none; -} -.ant-pagination-item:hover { - border-color: #3061D0; - transition: all 0.3s; -} -.ant-pagination-item:hover a { - color: #3061D0; -} -.ant-pagination-item:focus-visible { - border-color: #3061D0; - transition: all 0.3s; -} -.ant-pagination-item:focus-visible a { - color: #3061D0; -} -.ant-pagination-item-active { - font-weight: 500; - background: #fff; - border-color: #3061D0; -} -.ant-pagination-item-active a { - color: #3061D0; -} -.ant-pagination-item-active:hover { - border-color: #5784de; -} -.ant-pagination-item-active:focus-visible { - border-color: #5784de; -} -.ant-pagination-item-active:hover a { - color: #5784de; -} -.ant-pagination-item-active:focus-visible a { - color: #5784de; -} -.ant-pagination-jump-prev, -.ant-pagination-jump-next { - outline: 0; -} -.ant-pagination-jump-prev .ant-pagination-item-container, -.ant-pagination-jump-next .ant-pagination-item-container { - position: relative; -} -.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon, -.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon { - color: #3061D0; - font-size: 12px; - letter-spacing: -1px; - opacity: 0; - transition: all 0.2s; -} -.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg, -.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg { - top: 0; - right: 0; - bottom: 0; - left: 0; - margin: auto; -} -.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis, -.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - display: block; - margin: auto; - color: rgba(0, 0, 0, 0.25); - font-family: Arial, Helvetica, sans-serif; - letter-spacing: 2px; - text-align: center; - text-indent: 0.13em; - opacity: 1; - transition: all 0.2s; -} -.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon, -.ant-pagination-jump-next:hover .ant-pagination-item-link-icon { - opacity: 1; -} -.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis, -.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis { - opacity: 0; -} -.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon, -.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon { - opacity: 1; -} -.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis, -.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis { - opacity: 0; -} -.ant-pagination-prev, -.ant-pagination-jump-prev, -.ant-pagination-jump-next { - margin-right: 8px; -} -.ant-pagination-prev, -.ant-pagination-next, -.ant-pagination-jump-prev, -.ant-pagination-jump-next { - display: inline-block; - min-width: 28px; - height: 28px; - color: rgba(0, 0, 0, 0.85); - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; - line-height: 28px; - text-align: center; - vertical-align: middle; - list-style: none; - border-radius: 2px; - cursor: pointer; - transition: all 0.3s; -} -.ant-pagination-prev, -.ant-pagination-next { - font-family: Arial, Helvetica, sans-serif; - outline: 0; -} -.ant-pagination-prev button, -.ant-pagination-next button { - color: rgba(0, 0, 0, 0.85); - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-prev:hover button, -.ant-pagination-next:hover button { - border-color: #5784de; -} -.ant-pagination-prev .ant-pagination-item-link, -.ant-pagination-next .ant-pagination-item-link { - display: block; - width: 100%; - height: 100%; - padding: 0; - font-size: 12px; - text-align: center; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - outline: none; - transition: all 0.3s; -} -.ant-pagination-prev:focus-visible .ant-pagination-item-link, -.ant-pagination-next:focus-visible .ant-pagination-item-link { - color: #3061D0; - border-color: #3061D0; -} -.ant-pagination-prev:hover .ant-pagination-item-link, -.ant-pagination-next:hover .ant-pagination-item-link { - color: #3061D0; - border-color: #3061D0; -} -.ant-pagination-disabled, -.ant-pagination-disabled:hover { - cursor: not-allowed; -} -.ant-pagination-disabled .ant-pagination-item-link, -.ant-pagination-disabled:hover .ant-pagination-item-link { - color: rgba(0, 0, 0, 0.25); - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination-disabled:focus-visible { - cursor: not-allowed; -} -.ant-pagination-disabled:focus-visible .ant-pagination-item-link { - color: rgba(0, 0, 0, 0.25); - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination-slash { - margin: 0 10px 0 5px; -} -.ant-pagination-options { - display: inline-block; - margin-left: 16px; - vertical-align: middle; -} -@media all and (-ms-high-contrast: none) { - .ant-pagination-options *::-ms-backdrop, - .ant-pagination-options { - vertical-align: top; - } -} -.ant-pagination-options-size-changer.ant-select { - display: inline-block; - width: auto; -} -.ant-pagination-options-quick-jumper { - display: inline-block; - height: 28px; - margin-left: 4px; - line-height: 28px; - vertical-align: top; -} -.ant-pagination-options-quick-jumper input { - position: relative; - display: inline-block; - width: 100%; - min-width: 0; - padding: 3px 7px; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - line-height: 1.66667; - background-color: #fff; - background-image: none; - border: 1px solid #d9d9d9; - border-radius: 2px; - transition: all 0.3s; - width: 50px; - height: 28px; - margin: 0 8px; -} -.ant-pagination-options-quick-jumper input::-webkit-input-placeholder { - color: #bfbfbf; - -webkit-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input:-ms-input-placeholder { - color: #bfbfbf; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input::-ms-input-placeholder { - color: #bfbfbf; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input::placeholder { - color: #bfbfbf; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input:-ms-input-placeholder { - text-overflow: ellipsis; -} -.ant-pagination-options-quick-jumper input:placeholder-shown { - text-overflow: ellipsis; -} -.ant-pagination-options-quick-jumper input:hover { - border-color: #5784de; - border-right-width: 1px; -} -.ant-pagination-options-quick-jumper input:focus, -.ant-pagination-options-quick-jumper input-focused { - border-color: #5784de; - box-shadow: 0 0 0 2px rgba(48, 97, 208, 0.2); - border-right-width: 1px; - outline: 0; -} -.ant-pagination-options-quick-jumper input-disabled { - color: rgba(0, 0, 0, 0.25); - background-color: #f5f5f5; - border-color: #d9d9d9; - box-shadow: none; - cursor: not-allowed; - opacity: 1; -} -.ant-pagination-options-quick-jumper input-disabled:hover { - border-color: #d9d9d9; - border-right-width: 1px; -} -.ant-pagination-options-quick-jumper input[disabled] { - color: rgba(0, 0, 0, 0.25); - background-color: #f5f5f5; - border-color: #d9d9d9; - box-shadow: none; - cursor: not-allowed; - opacity: 1; -} -.ant-pagination-options-quick-jumper input[disabled]:hover { - border-color: #d9d9d9; - border-right-width: 1px; -} -.ant-pagination-options-quick-jumper input-borderless, -.ant-pagination-options-quick-jumper input-borderless:hover, -.ant-pagination-options-quick-jumper input-borderless:focus, -.ant-pagination-options-quick-jumper input-borderless-focused, -.ant-pagination-options-quick-jumper input-borderless-disabled, -.ant-pagination-options-quick-jumper input-borderless[disabled] { - background-color: transparent; - border: none; - box-shadow: none; -} -textarea.ant-pagination-options-quick-jumper input { - max-width: 100%; - height: auto; - min-height: 28px; - line-height: 1.66667; - vertical-align: bottom; - transition: all 0.3s, height 0s; -} -.ant-pagination-options-quick-jumper input-lg { - padding: 3.4px 11px; - font-size: 14px; -} -.ant-pagination-options-quick-jumper input-sm { - padding: 0px 7px; -} -.ant-pagination-simple .ant-pagination-prev, -.ant-pagination-simple .ant-pagination-next { - height: 22px; - line-height: 22px; - vertical-align: top; -} -.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link, -.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link { - height: 22px; - background-color: transparent; - border: 0; -} -.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link::after, -.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link::after { - height: 22px; - line-height: 22px; -} -.ant-pagination-simple .ant-pagination-simple-pager { - display: inline-block; - height: 22px; - margin-right: 8px; -} -.ant-pagination-simple .ant-pagination-simple-pager input { - box-sizing: border-box; - height: 100%; - margin-right: 8px; - padding: 0 6px; - text-align: center; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - outline: none; - transition: border-color 0.3s; -} -.ant-pagination-simple .ant-pagination-simple-pager input:hover { - border-color: #3061D0; -} -.ant-pagination-simple .ant-pagination-simple-pager input:focus { - border-color: #5784de; - box-shadow: 0 0 0 2px rgba(48, 97, 208, 0.2); -} -.ant-pagination-simple .ant-pagination-simple-pager input[disabled] { - color: rgba(0, 0, 0, 0.25); - background: #f5f5f5; - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination.ant-pagination-mini .ant-pagination-total-text, -.ant-pagination.ant-pagination-mini .ant-pagination-simple-pager { - height: 22px; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-item { - min-width: 22px; - height: 22px; - margin: 0; - line-height: 20px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-item:not(.ant-pagination-item-active) { - background: transparent; - border-color: transparent; -} -.ant-pagination.ant-pagination-mini .ant-pagination-prev, -.ant-pagination.ant-pagination-mini .ant-pagination-next { - min-width: 22px; - height: 22px; - margin: 0; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link, -.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link { - background: transparent; - border-color: transparent; -} -.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link::after, -.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link::after { - height: 22px; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-jump-prev, -.ant-pagination.ant-pagination-mini .ant-pagination-jump-next { - height: 22px; - margin-right: 0; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options { - margin-left: 2px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options-size-changer { - top: 1px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper { - height: 22px; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper input { - padding: 0px 7px; - width: 44px; - height: 22px; -} -.ant-pagination.ant-pagination-disabled { - cursor: not-allowed; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item { - background: #f5f5f5; - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item a { - color: rgba(0, 0, 0, 0.25); - background: transparent; - border: none; - cursor: not-allowed; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-active { - background: #e6e6e6; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a { - color: rgba(0, 0, 0, 0.25); -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-link { - color: rgba(0, 0, 0, 0.25); - background: #f5f5f5; - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link { - background: transparent; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon { - opacity: 0; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis { - opacity: 1; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager { - color: rgba(0, 0, 0, 0.25); -} -@media only screen and (max-width: 992px) { - .ant-pagination-item-after-jump-prev, - .ant-pagination-item-before-jump-next { - display: none; - } -} -@media only screen and (max-width: 576px) { - .ant-pagination-options { - display: none; - } -} -.ant-pagination-rtl .ant-pagination-total-text { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl .ant-pagination-item, -.ant-pagination-rtl .ant-pagination-prev, -.ant-pagination-rtl .ant-pagination-jump-prev, -.ant-pagination-rtl .ant-pagination-jump-next { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl .ant-pagination-slash { - margin: 0 5px 0 10px; -} -.ant-pagination-rtl .ant-pagination-options { - margin-right: 16px; - margin-left: 0; -} -.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper { - margin-left: 0; -} -.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options { - margin-right: 2px; - margin-left: 0; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/rate/style/index.less ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-rate { - box-sizing: border-box; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - font-feature-settings: tnum, "tnum"; - display: inline-block; - margin: 0; - padding: 0; - color: #fadb14; - font-size: 16px; - line-height: inherit; - list-style: none; - outline: none; -} -.ant-rate-disabled .ant-rate-star { - cursor: default; -} -.ant-rate-disabled .ant-rate-star > div:hover { - transform: scale(1); -} -.ant-rate-star { - position: relative; - display: inline-block; - color: inherit; - cursor: pointer; -} -.ant-rate-star:not(:last-child) { - margin-right: 8px; -} -.ant-rate-star > div { - transition: all 0.3s, outline 0s; -} -.ant-rate-star > div:hover { - transform: scale(1.1); -} -.ant-rate-star > div:focus { - outline: 0; -} -.ant-rate-star > div:focus-visible { - outline: 1px dashed #fadb14; - transform: scale(1.1); -} -.ant-rate-star-first, -.ant-rate-star-second { - color: #f0f0f0; - transition: all 0.3s; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-rate-star-first .anticon, -.ant-rate-star-second .anticon { - vertical-align: middle; -} -.ant-rate-star-first { - position: absolute; - top: 0; - left: 0; - width: 50%; - height: 100%; - overflow: hidden; - opacity: 0; -} -.ant-rate-star-half .ant-rate-star-first, -.ant-rate-star-half .ant-rate-star-second { - opacity: 1; -} -.ant-rate-star-half .ant-rate-star-first, -.ant-rate-star-full .ant-rate-star-second { - color: inherit; -} -.ant-rate-text { - display: inline-block; - margin: 0 8px; - font-size: 12px; -} -.ant-rate-rtl { - direction: rtl; -} -.ant-rate-rtl .ant-rate-star:not(:last-child) { - margin-right: 0; - margin-left: 8px; -} -.ant-rate-rtl .ant-rate-star-first { - right: 0; - left: auto; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** 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/Classrooms/Index/index.less?modules ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Attachment__index.async.js b/p__Classrooms__Lists__Attachment__index.async.js index 1c231c9683..c7e1885bc2 100644 --- a/p__Classrooms__Lists__Attachment__index.async.js +++ b/p__Classrooms__Lists__Attachment__index.async.js @@ -1,6 +1,47 @@ "use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([[6758],{ +/***/ 77171: +/*!**********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + 1 modules ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ArrowDownOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ArrowDownOutlined.js +// This icon file is generated automatically. +var ArrowDownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z" } }] }, "name": "arrow-down", "theme": "outlined" }; +/* harmony default export */ var asn_ArrowDownOutlined = (ArrowDownOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules +var AntdIcon = __webpack_require__(7918); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var ArrowDownOutlined_ArrowDownOutlined = function ArrowDownOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + ref: ref, + icon: asn_ArrowDownOutlined + })); +}; +ArrowDownOutlined_ArrowDownOutlined.displayName = 'ArrowDownOutlined'; +/* harmony default export */ var icons_ArrowDownOutlined = (/*#__PURE__*/react.forwardRef(ArrowDownOutlined_ArrowDownOutlined)); + +/***/ }), + /***/ 82982: /*!*****************************************!*\ !*** ./src/components/NoData/index.tsx ***! @@ -4409,6 +4450,310 @@ var TabMenu = function TabMenu(_ref) { }; /* harmony default export */ var components_TabMenu = (TabMenu); +/***/ }), + +/***/ 5467: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } +/* harmony export */ }); +function getDataOrAriaProps(props) { + return Object.keys(props).reduce(function (prev, key) { + if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { + prev[key] = props[key]; + } + return prev; + }, {}); +} + +/***/ }), + +/***/ 29924: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "ZP": function() { return /* binding */ es_radio; } +}); + +// UNUSED EXPORTS: Button, Group + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js +var SizeContext = __webpack_require__(97647); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js +var getDataOrAriaProps = __webpack_require__(5467); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js + +var RadioGroupContext = /*#__PURE__*/react.createContext(null); +var RadioGroupContextProvider = RadioGroupContext.Provider; +/* harmony default export */ var radio_context = (RadioGroupContext); +var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); +var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js +var es = __webpack_require__(50132); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var InternalRadio = function InternalRadio(props, ref) { + var _classNames; + var groupContext = react.useContext(radio_context); + var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var innerRef = react.useRef(); + var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); + var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + false ? 0 : void 0; + var onChange = function onChange(e) { + var _a, _b; + (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); + (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); + }; + var customizePrefixCls = props.prefixCls, + className = props.className, + children = props.children, + style = props.style, + customDisabled = props.disabled, + restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); + var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); + var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; + var radioProps = (0,esm_extends/* default */.Z)({}, restProps); + // ===================== Disabled ===================== + var disabled = react.useContext(DisabledContext/* default */.Z); + radioProps.disabled = customDisabled || disabled; + if (groupContext) { + radioProps.name = groupContext.name; + radioProps.onChange = onChange; + radioProps.checked = props.value === groupContext.value; + radioProps.disabled = radioProps.disabled || groupContext.disabled; + } + var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: wrapperClassString, + style: style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { + type: "radio", + prefixCls: prefixCls, + ref: mergedRef + })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) + ); +}; +var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); +if (false) {} +/* harmony default export */ var radio_radio = (Radio); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js + + + + + + + + + + + +var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var size = react.useContext(SizeContext/* default */.Z); + var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { + value: props.value + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var onRadioChange = function onRadioChange(ev) { + var lastValue = value; + var val = ev.target.value; + if (!('value' in props)) { + setValue(val); + } + var onChange = props.onChange; + if (onChange && val !== lastValue) { + onChange(ev); + } + }; + var customizePrefixCls = props.prefixCls, + _props$className = props.className, + className = _props$className === void 0 ? '' : _props$className, + options = props.options, + _props$buttonStyle = props.buttonStyle, + buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, + disabled = props.disabled, + children = props.children, + customizeSize = props.size, + style = props.style, + id = props.id, + onMouseEnter = props.onMouseEnter, + onMouseLeave = props.onMouseLeave, + onFocus = props.onFocus, + onBlur = props.onBlur; + var prefixCls = getPrefixCls('radio', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var childrenToRender = children; + // 如果存在 options, 优先使用 + if (options && options.length > 0) { + childrenToRender = options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + // 此处类型自动推导为 string + return /*#__PURE__*/react.createElement(radio_radio, { + key: option.toString(), + prefixCls: prefixCls, + disabled: disabled, + value: option, + checked: value === option + }, option); + } + // 此处类型自动推导为 { label: string value: string } + return /*#__PURE__*/react.createElement(radio_radio, { + key: "radio-group-value-options-".concat(option.value), + prefixCls: prefixCls, + disabled: option.disabled || disabled, + value: option.value, + checked: value === option.value, + style: option.style + }, option.label); + }); + } + var mergedSize = customizeSize || size; + var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave, + onFocus: onFocus, + onBlur: onBlur, + id: id, + ref: ref + }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { + value: { + onChange: onRadioChange, + value: value, + disabled: props.disabled, + name: props.name, + optionType: props.optionType + } + }, childrenToRender)); +}); +/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js + +var radioButton_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + +var RadioButton = function RadioButton(props, ref) { + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var customizePrefixCls = props.prefixCls, + radioProps = radioButton_rest(props, ["prefixCls"]); + var prefixCls = getPrefixCls('radio', customizePrefixCls); + return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { + value: "button" + }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ + prefixCls: prefixCls + }, radioProps, { + type: "radio", + ref: ref + }))); +}; +/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js + + + + +var radio_Radio = radio_radio; +radio_Radio.Button = radioButton; +radio_Radio.Group = group; +radio_Radio.__ANT_RADIO = true; +/* harmony default export */ var es_radio = (radio_Radio); + +/***/ }), + +/***/ 83822: +/*!***************************************************************!*\ + !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js + + +// deps-lint-skip: form + /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Attendance__Detail__index.async.js b/p__Classrooms__Lists__Attendance__Detail__index.async.js index 6112a82381..d69a499fb0 100644 --- a/p__Classrooms__Lists__Attendance__Detail__index.async.js +++ b/p__Classrooms__Lists__Attendance__Detail__index.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[34093],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[34093,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1570,6 +1570,196 @@ function copy(text, options) { module.exports = copy; +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }), /***/ 74300: diff --git a/p__Classrooms__Lists__Board__Add__index.chunk.css b/p__Classrooms__Lists__Board__Add__index.chunk.css index 36500346e6..3858edaa3e 100644 --- a/p__Classrooms__Lists__Board__Add__index.chunk.css +++ b/p__Classrooms__Lists__Board__Add__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Board__Detail__index.chunk.css b/p__Classrooms__Lists__Board__Detail__index.chunk.css index 404eb4c4b6..2f043fc891 100644 --- a/p__Classrooms__Lists__Board__Detail__index.chunk.css +++ b/p__Classrooms__Lists__Board__Detail__index.chunk.css @@ -1,565 +1,3 @@ -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/pagination/style/index.less ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-pagination { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; -} -.ant-pagination ul, -.ant-pagination ol { - margin: 0; - padding: 0; - list-style: none; -} -.ant-pagination::after { - display: block; - clear: both; - height: 0; - overflow: hidden; - visibility: hidden; - content: ' '; -} -.ant-pagination-total-text { - display: inline-block; - height: 28px; - margin-right: 8px; - line-height: 26px; - vertical-align: middle; -} -.ant-pagination-item { - display: inline-block; - min-width: 28px; - height: 28px; - margin-right: 8px; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; - line-height: 26px; - text-align: center; - vertical-align: middle; - list-style: none; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - outline: 0; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-item a { - display: block; - padding: 0 6px; - color: rgba(0, 0, 0, 0.85); - transition: none; -} -.ant-pagination-item a:hover { - text-decoration: none; -} -.ant-pagination-item:hover { - border-color: #3061D0; - transition: all 0.3s; -} -.ant-pagination-item:hover a { - color: #3061D0; -} -.ant-pagination-item:focus-visible { - border-color: #3061D0; - transition: all 0.3s; -} -.ant-pagination-item:focus-visible a { - color: #3061D0; -} -.ant-pagination-item-active { - font-weight: 500; - background: #fff; - border-color: #3061D0; -} -.ant-pagination-item-active a { - color: #3061D0; -} -.ant-pagination-item-active:hover { - border-color: #5784de; -} -.ant-pagination-item-active:focus-visible { - border-color: #5784de; -} -.ant-pagination-item-active:hover a { - color: #5784de; -} -.ant-pagination-item-active:focus-visible a { - color: #5784de; -} -.ant-pagination-jump-prev, -.ant-pagination-jump-next { - outline: 0; -} -.ant-pagination-jump-prev .ant-pagination-item-container, -.ant-pagination-jump-next .ant-pagination-item-container { - position: relative; -} -.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon, -.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon { - color: #3061D0; - font-size: 12px; - letter-spacing: -1px; - opacity: 0; - transition: all 0.2s; -} -.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg, -.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg { - top: 0; - right: 0; - bottom: 0; - left: 0; - margin: auto; -} -.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis, -.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - display: block; - margin: auto; - color: rgba(0, 0, 0, 0.25); - font-family: Arial, Helvetica, sans-serif; - letter-spacing: 2px; - text-align: center; - text-indent: 0.13em; - opacity: 1; - transition: all 0.2s; -} -.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon, -.ant-pagination-jump-next:hover .ant-pagination-item-link-icon { - opacity: 1; -} -.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis, -.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis { - opacity: 0; -} -.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon, -.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon { - opacity: 1; -} -.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis, -.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis { - opacity: 0; -} -.ant-pagination-prev, -.ant-pagination-jump-prev, -.ant-pagination-jump-next { - margin-right: 8px; -} -.ant-pagination-prev, -.ant-pagination-next, -.ant-pagination-jump-prev, -.ant-pagination-jump-next { - display: inline-block; - min-width: 28px; - height: 28px; - color: rgba(0, 0, 0, 0.85); - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; - line-height: 28px; - text-align: center; - vertical-align: middle; - list-style: none; - border-radius: 2px; - cursor: pointer; - transition: all 0.3s; -} -.ant-pagination-prev, -.ant-pagination-next { - font-family: Arial, Helvetica, sans-serif; - outline: 0; -} -.ant-pagination-prev button, -.ant-pagination-next button { - color: rgba(0, 0, 0, 0.85); - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-prev:hover button, -.ant-pagination-next:hover button { - border-color: #5784de; -} -.ant-pagination-prev .ant-pagination-item-link, -.ant-pagination-next .ant-pagination-item-link { - display: block; - width: 100%; - height: 100%; - padding: 0; - font-size: 12px; - text-align: center; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - outline: none; - transition: all 0.3s; -} -.ant-pagination-prev:focus-visible .ant-pagination-item-link, -.ant-pagination-next:focus-visible .ant-pagination-item-link { - color: #3061D0; - border-color: #3061D0; -} -.ant-pagination-prev:hover .ant-pagination-item-link, -.ant-pagination-next:hover .ant-pagination-item-link { - color: #3061D0; - border-color: #3061D0; -} -.ant-pagination-disabled, -.ant-pagination-disabled:hover { - cursor: not-allowed; -} -.ant-pagination-disabled .ant-pagination-item-link, -.ant-pagination-disabled:hover .ant-pagination-item-link { - color: rgba(0, 0, 0, 0.25); - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination-disabled:focus-visible { - cursor: not-allowed; -} -.ant-pagination-disabled:focus-visible .ant-pagination-item-link { - color: rgba(0, 0, 0, 0.25); - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination-slash { - margin: 0 10px 0 5px; -} -.ant-pagination-options { - display: inline-block; - margin-left: 16px; - vertical-align: middle; -} -@media all and (-ms-high-contrast: none) { - .ant-pagination-options *::-ms-backdrop, - .ant-pagination-options { - vertical-align: top; - } -} -.ant-pagination-options-size-changer.ant-select { - display: inline-block; - width: auto; -} -.ant-pagination-options-quick-jumper { - display: inline-block; - height: 28px; - margin-left: 4px; - line-height: 28px; - vertical-align: top; -} -.ant-pagination-options-quick-jumper input { - position: relative; - display: inline-block; - width: 100%; - min-width: 0; - padding: 3px 7px; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - line-height: 1.66667; - background-color: #fff; - background-image: none; - border: 1px solid #d9d9d9; - border-radius: 2px; - transition: all 0.3s; - width: 50px; - height: 28px; - margin: 0 8px; -} -.ant-pagination-options-quick-jumper input::-webkit-input-placeholder { - color: #bfbfbf; - -webkit-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input:-ms-input-placeholder { - color: #bfbfbf; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input::-ms-input-placeholder { - color: #bfbfbf; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input::placeholder { - color: #bfbfbf; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input:-ms-input-placeholder { - text-overflow: ellipsis; -} -.ant-pagination-options-quick-jumper input:placeholder-shown { - text-overflow: ellipsis; -} -.ant-pagination-options-quick-jumper input:hover { - border-color: #5784de; - border-right-width: 1px; -} -.ant-pagination-options-quick-jumper input:focus, -.ant-pagination-options-quick-jumper input-focused { - border-color: #5784de; - box-shadow: 0 0 0 2px rgba(48, 97, 208, 0.2); - border-right-width: 1px; - outline: 0; -} -.ant-pagination-options-quick-jumper input-disabled { - color: rgba(0, 0, 0, 0.25); - background-color: #f5f5f5; - border-color: #d9d9d9; - box-shadow: none; - cursor: not-allowed; - opacity: 1; -} -.ant-pagination-options-quick-jumper input-disabled:hover { - border-color: #d9d9d9; - border-right-width: 1px; -} -.ant-pagination-options-quick-jumper input[disabled] { - color: rgba(0, 0, 0, 0.25); - background-color: #f5f5f5; - border-color: #d9d9d9; - box-shadow: none; - cursor: not-allowed; - opacity: 1; -} -.ant-pagination-options-quick-jumper input[disabled]:hover { - border-color: #d9d9d9; - border-right-width: 1px; -} -.ant-pagination-options-quick-jumper input-borderless, -.ant-pagination-options-quick-jumper input-borderless:hover, -.ant-pagination-options-quick-jumper input-borderless:focus, -.ant-pagination-options-quick-jumper input-borderless-focused, -.ant-pagination-options-quick-jumper input-borderless-disabled, -.ant-pagination-options-quick-jumper input-borderless[disabled] { - background-color: transparent; - border: none; - box-shadow: none; -} -textarea.ant-pagination-options-quick-jumper input { - max-width: 100%; - height: auto; - min-height: 28px; - line-height: 1.66667; - vertical-align: bottom; - transition: all 0.3s, height 0s; -} -.ant-pagination-options-quick-jumper input-lg { - padding: 3.4px 11px; - font-size: 14px; -} -.ant-pagination-options-quick-jumper input-sm { - padding: 0px 7px; -} -.ant-pagination-simple .ant-pagination-prev, -.ant-pagination-simple .ant-pagination-next { - height: 22px; - line-height: 22px; - vertical-align: top; -} -.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link, -.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link { - height: 22px; - background-color: transparent; - border: 0; -} -.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link::after, -.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link::after { - height: 22px; - line-height: 22px; -} -.ant-pagination-simple .ant-pagination-simple-pager { - display: inline-block; - height: 22px; - margin-right: 8px; -} -.ant-pagination-simple .ant-pagination-simple-pager input { - box-sizing: border-box; - height: 100%; - margin-right: 8px; - padding: 0 6px; - text-align: center; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - outline: none; - transition: border-color 0.3s; -} -.ant-pagination-simple .ant-pagination-simple-pager input:hover { - border-color: #3061D0; -} -.ant-pagination-simple .ant-pagination-simple-pager input:focus { - border-color: #5784de; - box-shadow: 0 0 0 2px rgba(48, 97, 208, 0.2); -} -.ant-pagination-simple .ant-pagination-simple-pager input[disabled] { - color: rgba(0, 0, 0, 0.25); - background: #f5f5f5; - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination.ant-pagination-mini .ant-pagination-total-text, -.ant-pagination.ant-pagination-mini .ant-pagination-simple-pager { - height: 22px; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-item { - min-width: 22px; - height: 22px; - margin: 0; - line-height: 20px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-item:not(.ant-pagination-item-active) { - background: transparent; - border-color: transparent; -} -.ant-pagination.ant-pagination-mini .ant-pagination-prev, -.ant-pagination.ant-pagination-mini .ant-pagination-next { - min-width: 22px; - height: 22px; - margin: 0; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link, -.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link { - background: transparent; - border-color: transparent; -} -.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link::after, -.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link::after { - height: 22px; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-jump-prev, -.ant-pagination.ant-pagination-mini .ant-pagination-jump-next { - height: 22px; - margin-right: 0; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options { - margin-left: 2px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options-size-changer { - top: 1px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper { - height: 22px; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper input { - padding: 0px 7px; - width: 44px; - height: 22px; -} -.ant-pagination.ant-pagination-disabled { - cursor: not-allowed; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item { - background: #f5f5f5; - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item a { - color: rgba(0, 0, 0, 0.25); - background: transparent; - border: none; - cursor: not-allowed; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-active { - background: #e6e6e6; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a { - color: rgba(0, 0, 0, 0.25); -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-link { - color: rgba(0, 0, 0, 0.25); - background: #f5f5f5; - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link { - background: transparent; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon { - opacity: 0; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis { - opacity: 1; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager { - color: rgba(0, 0, 0, 0.25); -} -@media only screen and (max-width: 992px) { - .ant-pagination-item-after-jump-prev, - .ant-pagination-item-before-jump-next { - display: none; - } -} -@media only screen and (max-width: 576px) { - .ant-pagination-options { - display: none; - } -} -.ant-pagination-rtl .ant-pagination-total-text { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl .ant-pagination-item, -.ant-pagination-rtl .ant-pagination-prev, -.ant-pagination-rtl .ant-pagination-jump-prev, -.ant-pagination-rtl .ant-pagination-jump-next { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl .ant-pagination-slash { - margin: 0 5px 0 10px; -} -.ant-pagination-rtl .ant-pagination-options { - margin-right: 16px; - margin-left: 0; -} -.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper { - margin-left: 0; -} -.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options { - margin-right: 2px; - margin-left: 0; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Board__Edit__index.chunk.css b/p__Classrooms__Lists__Board__Edit__index.chunk.css index 4c2df2aac3..6c3ca1ed68 100644 --- a/p__Classrooms__Lists__Board__Edit__index.chunk.css +++ b/p__Classrooms__Lists__Board__Edit__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Board__index.chunk.css b/p__Classrooms__Lists__Board__index.chunk.css index 565b6b8a1b..8c26f90567 100644 --- a/p__Classrooms__Lists__Board__index.chunk.css +++ b/p__Classrooms__Lists__Board__index.chunk.css @@ -13,568 +13,6 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/pagination/style/index.less ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-pagination { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; -} -.ant-pagination ul, -.ant-pagination ol { - margin: 0; - padding: 0; - list-style: none; -} -.ant-pagination::after { - display: block; - clear: both; - height: 0; - overflow: hidden; - visibility: hidden; - content: ' '; -} -.ant-pagination-total-text { - display: inline-block; - height: 28px; - margin-right: 8px; - line-height: 26px; - vertical-align: middle; -} -.ant-pagination-item { - display: inline-block; - min-width: 28px; - height: 28px; - margin-right: 8px; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; - line-height: 26px; - text-align: center; - vertical-align: middle; - list-style: none; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - outline: 0; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-item a { - display: block; - padding: 0 6px; - color: rgba(0, 0, 0, 0.85); - transition: none; -} -.ant-pagination-item a:hover { - text-decoration: none; -} -.ant-pagination-item:hover { - border-color: #3061D0; - transition: all 0.3s; -} -.ant-pagination-item:hover a { - color: #3061D0; -} -.ant-pagination-item:focus-visible { - border-color: #3061D0; - transition: all 0.3s; -} -.ant-pagination-item:focus-visible a { - color: #3061D0; -} -.ant-pagination-item-active { - font-weight: 500; - background: #fff; - border-color: #3061D0; -} -.ant-pagination-item-active a { - color: #3061D0; -} -.ant-pagination-item-active:hover { - border-color: #5784de; -} -.ant-pagination-item-active:focus-visible { - border-color: #5784de; -} -.ant-pagination-item-active:hover a { - color: #5784de; -} -.ant-pagination-item-active:focus-visible a { - color: #5784de; -} -.ant-pagination-jump-prev, -.ant-pagination-jump-next { - outline: 0; -} -.ant-pagination-jump-prev .ant-pagination-item-container, -.ant-pagination-jump-next .ant-pagination-item-container { - position: relative; -} -.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon, -.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon { - color: #3061D0; - font-size: 12px; - letter-spacing: -1px; - opacity: 0; - transition: all 0.2s; -} -.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg, -.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg { - top: 0; - right: 0; - bottom: 0; - left: 0; - margin: auto; -} -.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis, -.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - display: block; - margin: auto; - color: rgba(0, 0, 0, 0.25); - font-family: Arial, Helvetica, sans-serif; - letter-spacing: 2px; - text-align: center; - text-indent: 0.13em; - opacity: 1; - transition: all 0.2s; -} -.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon, -.ant-pagination-jump-next:hover .ant-pagination-item-link-icon { - opacity: 1; -} -.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis, -.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis { - opacity: 0; -} -.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon, -.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon { - opacity: 1; -} -.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis, -.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis { - opacity: 0; -} -.ant-pagination-prev, -.ant-pagination-jump-prev, -.ant-pagination-jump-next { - margin-right: 8px; -} -.ant-pagination-prev, -.ant-pagination-next, -.ant-pagination-jump-prev, -.ant-pagination-jump-next { - display: inline-block; - min-width: 28px; - height: 28px; - color: rgba(0, 0, 0, 0.85); - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; - line-height: 28px; - text-align: center; - vertical-align: middle; - list-style: none; - border-radius: 2px; - cursor: pointer; - transition: all 0.3s; -} -.ant-pagination-prev, -.ant-pagination-next { - font-family: Arial, Helvetica, sans-serif; - outline: 0; -} -.ant-pagination-prev button, -.ant-pagination-next button { - color: rgba(0, 0, 0, 0.85); - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-prev:hover button, -.ant-pagination-next:hover button { - border-color: #5784de; -} -.ant-pagination-prev .ant-pagination-item-link, -.ant-pagination-next .ant-pagination-item-link { - display: block; - width: 100%; - height: 100%; - padding: 0; - font-size: 12px; - text-align: center; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - outline: none; - transition: all 0.3s; -} -.ant-pagination-prev:focus-visible .ant-pagination-item-link, -.ant-pagination-next:focus-visible .ant-pagination-item-link { - color: #3061D0; - border-color: #3061D0; -} -.ant-pagination-prev:hover .ant-pagination-item-link, -.ant-pagination-next:hover .ant-pagination-item-link { - color: #3061D0; - border-color: #3061D0; -} -.ant-pagination-disabled, -.ant-pagination-disabled:hover { - cursor: not-allowed; -} -.ant-pagination-disabled .ant-pagination-item-link, -.ant-pagination-disabled:hover .ant-pagination-item-link { - color: rgba(0, 0, 0, 0.25); - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination-disabled:focus-visible { - cursor: not-allowed; -} -.ant-pagination-disabled:focus-visible .ant-pagination-item-link { - color: rgba(0, 0, 0, 0.25); - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination-slash { - margin: 0 10px 0 5px; -} -.ant-pagination-options { - display: inline-block; - margin-left: 16px; - vertical-align: middle; -} -@media all and (-ms-high-contrast: none) { - .ant-pagination-options *::-ms-backdrop, - .ant-pagination-options { - vertical-align: top; - } -} -.ant-pagination-options-size-changer.ant-select { - display: inline-block; - width: auto; -} -.ant-pagination-options-quick-jumper { - display: inline-block; - height: 28px; - margin-left: 4px; - line-height: 28px; - vertical-align: top; -} -.ant-pagination-options-quick-jumper input { - position: relative; - display: inline-block; - width: 100%; - min-width: 0; - padding: 3px 7px; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - line-height: 1.66667; - background-color: #fff; - background-image: none; - border: 1px solid #d9d9d9; - border-radius: 2px; - transition: all 0.3s; - width: 50px; - height: 28px; - margin: 0 8px; -} -.ant-pagination-options-quick-jumper input::-webkit-input-placeholder { - color: #bfbfbf; - -webkit-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input:-ms-input-placeholder { - color: #bfbfbf; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input::-ms-input-placeholder { - color: #bfbfbf; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input::placeholder { - color: #bfbfbf; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ant-pagination-options-quick-jumper input:-ms-input-placeholder { - text-overflow: ellipsis; -} -.ant-pagination-options-quick-jumper input:placeholder-shown { - text-overflow: ellipsis; -} -.ant-pagination-options-quick-jumper input:hover { - border-color: #5784de; - border-right-width: 1px; -} -.ant-pagination-options-quick-jumper input:focus, -.ant-pagination-options-quick-jumper input-focused { - border-color: #5784de; - box-shadow: 0 0 0 2px rgba(48, 97, 208, 0.2); - border-right-width: 1px; - outline: 0; -} -.ant-pagination-options-quick-jumper input-disabled { - color: rgba(0, 0, 0, 0.25); - background-color: #f5f5f5; - border-color: #d9d9d9; - box-shadow: none; - cursor: not-allowed; - opacity: 1; -} -.ant-pagination-options-quick-jumper input-disabled:hover { - border-color: #d9d9d9; - border-right-width: 1px; -} -.ant-pagination-options-quick-jumper input[disabled] { - color: rgba(0, 0, 0, 0.25); - background-color: #f5f5f5; - border-color: #d9d9d9; - box-shadow: none; - cursor: not-allowed; - opacity: 1; -} -.ant-pagination-options-quick-jumper input[disabled]:hover { - border-color: #d9d9d9; - border-right-width: 1px; -} -.ant-pagination-options-quick-jumper input-borderless, -.ant-pagination-options-quick-jumper input-borderless:hover, -.ant-pagination-options-quick-jumper input-borderless:focus, -.ant-pagination-options-quick-jumper input-borderless-focused, -.ant-pagination-options-quick-jumper input-borderless-disabled, -.ant-pagination-options-quick-jumper input-borderless[disabled] { - background-color: transparent; - border: none; - box-shadow: none; -} -textarea.ant-pagination-options-quick-jumper input { - max-width: 100%; - height: auto; - min-height: 28px; - line-height: 1.66667; - vertical-align: bottom; - transition: all 0.3s, height 0s; -} -.ant-pagination-options-quick-jumper input-lg { - padding: 3.4px 11px; - font-size: 14px; -} -.ant-pagination-options-quick-jumper input-sm { - padding: 0px 7px; -} -.ant-pagination-simple .ant-pagination-prev, -.ant-pagination-simple .ant-pagination-next { - height: 22px; - line-height: 22px; - vertical-align: top; -} -.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link, -.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link { - height: 22px; - background-color: transparent; - border: 0; -} -.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link::after, -.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link::after { - height: 22px; - line-height: 22px; -} -.ant-pagination-simple .ant-pagination-simple-pager { - display: inline-block; - height: 22px; - margin-right: 8px; -} -.ant-pagination-simple .ant-pagination-simple-pager input { - box-sizing: border-box; - height: 100%; - margin-right: 8px; - padding: 0 6px; - text-align: center; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - outline: none; - transition: border-color 0.3s; -} -.ant-pagination-simple .ant-pagination-simple-pager input:hover { - border-color: #3061D0; -} -.ant-pagination-simple .ant-pagination-simple-pager input:focus { - border-color: #5784de; - box-shadow: 0 0 0 2px rgba(48, 97, 208, 0.2); -} -.ant-pagination-simple .ant-pagination-simple-pager input[disabled] { - color: rgba(0, 0, 0, 0.25); - background: #f5f5f5; - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination.ant-pagination-mini .ant-pagination-total-text, -.ant-pagination.ant-pagination-mini .ant-pagination-simple-pager { - height: 22px; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-item { - min-width: 22px; - height: 22px; - margin: 0; - line-height: 20px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-item:not(.ant-pagination-item-active) { - background: transparent; - border-color: transparent; -} -.ant-pagination.ant-pagination-mini .ant-pagination-prev, -.ant-pagination.ant-pagination-mini .ant-pagination-next { - min-width: 22px; - height: 22px; - margin: 0; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link, -.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link { - background: transparent; - border-color: transparent; -} -.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link::after, -.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link::after { - height: 22px; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-jump-prev, -.ant-pagination.ant-pagination-mini .ant-pagination-jump-next { - height: 22px; - margin-right: 0; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options { - margin-left: 2px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options-size-changer { - top: 1px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper { - height: 22px; - line-height: 22px; -} -.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper input { - padding: 0px 7px; - width: 44px; - height: 22px; -} -.ant-pagination.ant-pagination-disabled { - cursor: not-allowed; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item { - background: #f5f5f5; - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item a { - color: rgba(0, 0, 0, 0.25); - background: transparent; - border: none; - cursor: not-allowed; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-active { - background: #e6e6e6; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a { - color: rgba(0, 0, 0, 0.25); -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-link { - color: rgba(0, 0, 0, 0.25); - background: #f5f5f5; - border-color: #d9d9d9; - cursor: not-allowed; -} -.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link { - background: transparent; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon { - opacity: 0; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis { - opacity: 1; -} -.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager { - color: rgba(0, 0, 0, 0.25); -} -@media only screen and (max-width: 992px) { - .ant-pagination-item-after-jump-prev, - .ant-pagination-item-before-jump-next { - display: none; - } -} -@media only screen and (max-width: 576px) { - .ant-pagination-options { - display: none; - } -} -.ant-pagination-rtl .ant-pagination-total-text { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl .ant-pagination-item, -.ant-pagination-rtl .ant-pagination-prev, -.ant-pagination-rtl .ant-pagination-jump-prev, -.ant-pagination-rtl .ant-pagination-jump-next { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl .ant-pagination-slash { - margin: 0 5px 0 10px; -} -.ant-pagination-rtl .ant-pagination-options { - margin-right: 16px; - margin-left: 0; -} -.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper { - margin-left: 0; -} -.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input { - margin-right: 0; - margin-left: 8px; -} -.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options { - margin-right: 2px; - margin-left: 0; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/form/style/index.less ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__CommonHomework__Add__index.chunk.css b/p__Classrooms__Lists__CommonHomework__Add__index.chunk.css index 8589d8c6a9..0199c98a1a 100644 --- a/p__Classrooms__Lists__CommonHomework__Add__index.chunk.css +++ b/p__Classrooms__Lists__CommonHomework__Add__index.chunk.css @@ -160,6 +160,238 @@ li:last-child > .ant-breadcrumb-separator { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/AddPoints/index.less?modules ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__CommonHomework__Detail__index.async.js b/p__Classrooms__Lists__CommonHomework__Detail__index.async.js index 6be1219ab3..fc67c8e6f4 100644 --- a/p__Classrooms__Lists__CommonHomework__Detail__index.async.js +++ b/p__Classrooms__Lists__CommonHomework__Detail__index.async.js @@ -2724,7 +2724,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } diff --git a/p__Classrooms__Lists__CommonHomework__Edit__index.chunk.css b/p__Classrooms__Lists__CommonHomework__Edit__index.chunk.css index a75321bad9..ac0615387b 100644 --- a/p__Classrooms__Lists__CommonHomework__Edit__index.chunk.css +++ b/p__Classrooms__Lists__CommonHomework__Edit__index.chunk.css @@ -160,6 +160,238 @@ li:last-child > .ant-breadcrumb-separator { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/AddPoints/index.less?modules ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__CommonHomework__index.async.js b/p__Classrooms__Lists__CommonHomework__index.async.js index 53c96d0d1d..8aa367c6a5 100644 --- a/p__Classrooms__Lists__CommonHomework__index.async.js +++ b/p__Classrooms__Lists__CommonHomework__index.async.js @@ -1463,8 +1463,6 @@ var ui_customization = __webpack_require__(85343); - - @@ -1493,6 +1491,9 @@ var JupyterList = function JupyterList(_ref, ref) { }, { name: '最热', id: 'hot' + }, { + name: '我的', + id: 'mine' }]; var _useState = (0,react.useState)('0'), _useState2 = slicedToArray_default()(_useState, 2), @@ -1522,12 +1523,21 @@ var JupyterList = function JupyterList(_ref, ref) { keyword: '', shixun_type: 'jupyter', diff: '0', - limit: 10 + limit: 10, + mine: '', + status: '' }); var handleSuperiorTabs = function handleSuperiorTabs(id) { // console.log(id); setType(id); listParams.current.order = id; + if (id === 'mine') { + listParams.current.mine = 'true'; + listParams.current.status = '2'; + } else { + listParams.current.mine = ''; + listParams.current.status = ''; + } getData(listParams.current); }; var getData = /*#__PURE__*/function () { @@ -1634,11 +1644,14 @@ var JupyterList = function JupyterList(_ref, ref) { }, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { children: difficultyFilter.map(function (value, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - border: "none" - }, - type: diff === value.id ? 'ghost' : 'default', + border: "none", + marginRight: 20, + color: diff === value.id ? '#3061D0' : 'rgba(0, 0, 0, 0.85)' + } + // type={parseInt(diff) === parseInt(value.id) ? 'ghost' : 'default'} + , onClick: function onClick() { setDiff(value.id); listParams.current.diff = value.id; @@ -2114,7 +2127,7 @@ var CuttOffNowShixun = function CuttOffNowShixun(_ref) { className: "tr", children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Search */.Z.Search, { className: SelectPollsmodules.small_search, - placeholder: "\u8F93\u5165\u6807\u9898\u3001\u9002\u7528\u8BFE\u7A0B\u8FDB\u884C\u641C\u7D22", + placeholder: "\u8F93\u5165\u6807\u9898\u8FDB\u884C\u641C\u7D22", onChange: function onChange(e) { if (tabKey === 'jupyter') { var _searchCallbackRef$cu; diff --git a/p__Classrooms__Lists__CourseGroup__Detail__index.async.js b/p__Classrooms__Lists__CourseGroup__Detail__index.async.js index 78df550a5a..794680bf72 100644 --- a/p__Classrooms__Lists__CourseGroup__Detail__index.async.js +++ b/p__Classrooms__Lists__CourseGroup__Detail__index.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[87922],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[87922,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1893,6 +1893,196 @@ function copy(text, options) { module.exports = copy; +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }), /***/ 74300: diff --git a/p__Classrooms__Lists__Exercise__Add__index.async.js b/p__Classrooms__Lists__Exercise__Add__index.async.js index d95440e45c..96f10c32f7 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.async.js +++ b/p__Classrooms__Lists__Exercise__Add__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[292,4977,12768,67570,60696,56369],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[292,4977,12768,67570,60696],{ /***/ 96403: /*!*********************************!*\ @@ -87,61 +87,147 @@ var apiPref = _utils_env__WEBPACK_IMPORTED_MODULE_0__/* ["default"].API_SERVER * /***/ }), -/***/ 56369: -/*!********************************************************!*\ - !*** ./src/components/AddPoints/index.tsx + 2 modules ***! - \********************************************************/ +/***/ 73105: +/*!***********************************************************!*\ + !*** ./src/components/DigitalLabel/index.tsx + 1 modules ***! + \***********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { // EXPORTS __webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ AddPoints; } + "Z": function() { return /* binding */ components_DigitalLabel; } }); -// 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/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./src/components/DigitalLabel/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var DigitalLabelmodules = ({"digitalLabel":"digitalLabel___tImKs","active":"active___Ck70Q"}); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/DigitalLabel/index.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(DigitalLabelmodules.digitalLabel, " ").concat(active ? DigitalLabelmodules.active : '', " ").concat(className), + children: number + }); +}; +/* harmony default export */ var components_DigitalLabel = (DigitalLabel); + +/***/ }), + +/***/ 82982: +/*!*****************************************!*\ + !*** ./src/components/NoData/index.tsx ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var antd_es_button_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/button/style */ 29913); +/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/button */ 71577); +/* 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 react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + +var noData = function noData(_ref) { + var _ref$buttonProps = _ref.buttonProps, + buttonProps = _ref$buttonProps === void 0 ? {} : _ref$buttonProps, + _ref$styles = _ref.styles, + styles = _ref$styles === void 0 ? {} : _ref$styles, + customText = _ref.customText, + ButtonText = _ref.ButtonText, + ButtonClick = _ref.ButtonClick, + Buttonclass = _ref.Buttonclass, + ButtonTwo = _ref.ButtonTwo, + imgStyles = _ref.imgStyles; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("section", { + className: "tc animated fadeIn", + style: _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()({}, { + color: '#999', + margin: '200px auto' + }), styles), + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("img", { + src: _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_3__, + style: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, imgStyles) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("p", { + className: "mt20 font14", + children: customText || '暂时还没有相关数据哦!' + }), ButtonText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, _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()({ + className: Buttonclass, + onClick: ButtonClick + }, buttonProps), {}, { + children: ButtonText + })), ButtonTwo && ButtonTwo] + }); +}; +/* harmony default export */ __webpack_exports__["Z"] = (noData); + +/***/ }), + +/***/ 36579: +/*!*********************************************************!*\ + !*** ./src/components/PreviewAll/index.tsx + 1 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ PreviewAll; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules +var style = __webpack_require__(29913); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules +var tooltip_style = __webpack_require__(38390); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(84908); // 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/toConsumableArray.js -var toConsumableArray = __webpack_require__(861); -var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); +// 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/antd/es/checkbox/style/index.js + 1 modules -var style = __webpack_require__(82000); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules -var es_checkbox = __webpack_require__(32808); // 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); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.js + 1 modules -var MinusCircleOutlined = __webpack_require__(3089); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules -var PlusCircleOutlined = __webpack_require__(64789); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); -// EXTERNAL MODULE: ./node_modules/antd/es/select/style/index.js + 1 modules -var select_style = __webpack_require__(95985); -// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js -var es_select = __webpack_require__(34041); -// EXTERNAL MODULE: ./node_modules/antd/es/form/style/index.js + 1 modules -var form_style = __webpack_require__(75627); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(51018); -;// CONCATENATED MODULE: ./src/components/AddPoints/index.less?modules +;// CONCATENATED MODULE: ./src/components/PreviewAll/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var AddPointsmodules = ({}); +/* harmony default export */ var PreviewAllmodules = ({"wrp":"wrp___dq7YK","bgBlack":"bgBlack___ARIUV","monaco":"monaco___VnZC3","darkBlue":"darkBlue___UprA9","close":"close___LKoWu","embed":"embed___hvpEJ"}); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + 1 modules +var ArrowDownOutlined = __webpack_require__(77171); +// EXTERNAL MODULE: ./src/components/monaco-editor/index.jsx + 3 modules +var monaco_editor = __webpack_require__(8691); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(29427); +// EXTERNAL MODULE: ./src/service/exercise.ts +var exercise = __webpack_require__(51412); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(59758); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/AddPoints/item.tsx +;// CONCATENATED MODULE: ./src/components/PreviewAll/index.tsx @@ -158,647 +244,236 @@ var jsx_runtime = __webpack_require__(85893); -var CheckboxGroup = es_checkbox/* default.Group */.Z.Group; -var ShixunsListPage = function ShixunsListPage(_ref) { - var _params$zydatas, _params$zydatas2, _params$jbdatas, _params$jbdatas2, _params$kcdatas, _params$kcdatas2, _params$zsdatas, _params$zsdatas2; - var classroomList = _ref.classroomList, - loading = _ref.loading, - user = _ref.user, - _ref$exercise_id = _ref.exercise_id, - exercise_id = _ref$exercise_id === void 0 ? null : _ref$exercise_id, - _ref$homework_common_ = _ref.homework_common_id, - homework_common_id = _ref$homework_common_ === void 0 ? null : _ref$homework_common_, - setitem = _ref.setitem, - item = _ref.item, + + + +/* harmony default export */ var PreviewAll = (function (_ref) { + var _data, _data2, _data3, _data4, _data5, _data6; + var _ref$editOffice = _ref.editOffice, + editOffice = _ref$editOffice === void 0 ? 'view' : _ref$editOffice, + data = _ref.data, + theme = _ref.theme, type = _ref.type, - rz = _ref.rz, - dispatch = _ref.dispatch; - var _useState = (0,react.useState)([]), + filename = _ref.filename, + monacoEditor = _ref.monacoEditor, + className = _ref.className, + style = _ref.style, + close = _ref.close, + onClose = _ref.onClose, + hasMask = _ref.hasMask, + disabledDownload = _ref.disabledDownload, + onImgDimensions = _ref.onImgDimensions; + var _useState = (0,react.useState)('https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt'), _useState2 = slicedToArray_default()(_useState, 2), - datas = _useState2[0], - setdatas = _useState2[1]; - var _useState3 = (0,react.useState)({ - zydatas: [], - jbdatas: [], - kcdatas: [], - zsdatas: [], - page: 1, - per_page: 20 - }), + src = _useState2[0], + setSrc = _useState2[1]; + var _useState3 = (0,react.useState)(""), _useState4 = slicedToArray_default()(_useState3, 2), - params = _useState4[0], - setparams = _useState4[1]; - var param = (0,_umi_production_exports.useParams)(); - var _useState5 = (0,react.useState)(false), + token = _useState4[0], + setToken = _useState4[1]; + var _useState5 = (0,react.useState)(), _useState6 = slicedToArray_default()(_useState5, 2), - isshowmodal = _useState6[0], - setisshowmodal = _useState6[1]; - var _useState7 = (0,react.useState)(false), - _useState8 = slicedToArray_default()(_useState7, 2), - isloading = _useState8[0], - setisloading = _useState8[1]; - var _Form$useForm = es_form/* default.useForm */.Z.useForm(), - _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - - // // console.log(params); - // useEffect(()=>{ - // if(homework_common_id||exercise_id){ - // getdatas(); - // // getrz(); - - // } - // },[exercise_id,homework_common_id]) - + officeData = _useState6[0], + setOfficeData = _useState6[1]; + var officePath = window.ENV === "build" ? "/react/build" : ""; + var apiServer = location.host.startsWith("localhost") ? env/* default.PROXY_SERVER */.Z.PROXY_SERVER : env/* default.API_SERVER */.Z.API_SERVER; + var size; + var unit = 1024 * 1024; + var maxSize = 10 * unit; + var closeRef = (0,react.useRef)(); + if ((_data = data) !== null && _data !== void 0 && _data.startsWith("/api") && type !== "txt") { + data = env/* default.API_SERVER */.Z.API_SERVER + data; + } + if (type === "office") { + size = (0,util/* parseUrl */.en)(data).filesize; + if (size > maxSize) { + type = "other"; + } + } + if (filename) monacoEditor.filename = filename; (0,react.useEffect)(function () { - if (rz) { - // getrz(); - params.zydatas = rz; - setparams(objectSpread2_default()({}, params)); - if (item !== null && item !== void 0 && item.ec_course_id) { - setdata(); + var _document$cookie, _document$cookie$repl; + var cookies = (_document$cookie = document.cookie) === null || _document$cookie === void 0 ? void 0 : (_document$cookie$repl = _document$cookie.replace(/\s/g, "")) === null || _document$cookie$repl === void 0 ? void 0 : _document$cookie$repl.split(";"); + cookies === null || cookies === void 0 ? void 0 : cookies.map(function (item) { + var i = item.split("="); + if (i[0] === '_educoder_session') { + setToken(i[1]); } - } - }, [item, rz]); - function setdata() { - return _setdata.apply(this, arguments); - } //获取认证届别 - function _setdata() { - _setdata = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { + }); + }, []); + (0,react.useEffect)(function () { + if (type === "office") getData(); + }, [type, data]); + var getData = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _url, _id, res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { case 0: - console.log('----', item); - _context3.next = 3; - return getjb(item === null || item === void 0 ? void 0 : item.ec_major_school_id); - case 3: - _context3.next = 5; - return getcourse(item === null || item === void 0 ? void 0 : item.ec_year_id); - case 5: - _context3.next = 7; - return getec_points(item === null || item === void 0 ? void 0 : item.ec_course_id); - case 7: - form.setFieldsValue({ - ec_course_id: item === null || item === void 0 ? void 0 : item.ec_course_id, - ec_major_school_id: item === null || item === void 0 ? void 0 : item.ec_major_school_id, - ec_point_ids: item === null || item === void 0 ? void 0 : item.ec_point_ids, - ec_year_id: item === null || item === void 0 ? void 0 : item.ec_year_id - }); - case 8: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return _setdata.apply(this, arguments); - } - function getjb(_x) { - return _getjb.apply(this, arguments); - } //获取关联课程 - function _getjb() { - _getjb = 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: - _context4.next = 2; - return (0,fetch/* default */.ZP)("/api/ec_major_schools/".concat(key, "/ec_years/get_year_list.json"), { - method: 'get' - }); - case 2: - res = _context4.sent; - params.jbdatas = res === null || res === void 0 ? void 0 : res.data; - setparams(objectSpread2_default()({}, params)); - form.setFieldsValue({ - ec_year_id: '', - ec_course_id: '', - ec_point_ids: [] - }); - case 6: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return _getjb.apply(this, arguments); - } - function getcourse(_x2) { - return _getcourse.apply(this, arguments); - } //获取知识点 - function _getcourse() { - _getcourse = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(key) { - var res; - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - _context5.next = 2; - return (0,fetch/* default */.ZP)("/api/ec_years/".concat(key, "/ec_courses/get_courses.json"), { - method: 'get' - }); - case 2: - res = _context5.sent; - params.kcdatas = res === null || res === void 0 ? void 0 : res.data; - setparams(objectSpread2_default()({}, params)); - form.setFieldsValue({ - ec_course_id: '', - ec_point_ids: [] + console.log("data:", data); + _url = data; + if (!data.startsWith("http")) { + _url = location.origin + _url; + } + _id = new URL(_url).pathname.split("/").pop(); + _context.next = 6; + return (0,exercise/* setEcsAttachment */.gJ)({ + attachment_id: _id }); case 6: - case "end": - return _context5.stop(); - } - }, _callee5); - })); - return _getcourse.apply(this, arguments); - } - var getec_points = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(record) { - var res; - 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/ec_courses/".concat(record, "/ec_points.json"), { - method: 'get', - params: { - ec_course_id: record - } - }); - case 2: res = _context.sent; - params.zsdatas = res === null || res === void 0 ? void 0 : res.data; - setparams(objectSpread2_default()({}, params)); - case 5: + setOfficeData(res); + case 8: case "end": return _context.stop(); } }, _callee); })); - return function getec_points(_x3) { + return function getData() { return _ref2.apply(this, arguments); }; }(); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: AddPointsmodules.from, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - form: form, - layout: "inline", - onValuesChange: function onValuesChange(value) { - console.log('----', value); - if (value.ec_major_school_id) { - params.jbdatas = []; - params.kcdatas = []; - params.zsdatas = []; - setparams(objectSpread2_default()({}, params)); - getjb(value.ec_major_school_id); - } - if (value.ec_year_id) { - params.kcdatas = []; - params.zsdatas = []; - setparams(objectSpread2_default()({}, params)); - getcourse(value.ec_year_id); - } - if (value.ec_course_id) { - params.zsdatas = []; - setparams(objectSpread2_default()({}, params)); - getec_points(value.ec_course_id); - } - }, - onFinish: /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(value) { - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - setitem(value); - case 1: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function (_x4) { - return _ref3.apply(this, arguments); - }; - }(), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u8BA4\u8BC1\u4E13\u4E1A", - name: "ec_major_school_id", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { - style: { - width: 150 - }, - disabled: ((_params$zydatas = params.zydatas) === null || _params$zydatas === void 0 ? void 0 : _params$zydatas.length) <= 0, - placeholder: "\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A", - children: params === null || params === void 0 ? void 0 : (_params$zydatas2 = params.zydatas) === null || _params$zydatas2 === void 0 ? void 0 : _params$zydatas2.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { - value: item === null || item === void 0 ? void 0 : item.ec_major_school_id, - children: item === null || item === void 0 ? void 0 : item.name - }, index); - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u8BA4\u8BC1\u5C4A\u522B", - name: "ec_year_id", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { - style: { - width: 150 + var handleClick = function handleClick() { + if (data.startsWith("http") || data.startsWith('blob:')) { + handleDown(); + return; + } + (0,util/* downloadFile */.Sv)(filename || 'educoder', data, filename); + }; + var handleDown = function handleDown() { + (0,util/* downLoadLink */.Nd)(filename || 'educoder', decodeURIComponent(data)); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: objectSpread2_default()({}, style || {}), + className: "".concat(hasMask && PreviewAllmodules.bgBlack, " ").concat(!!type ? PreviewAllmodules.wrp : "hide"), + children: [close && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: PreviewAllmodules.close, + ref: closeRef, + children: [!!onImgDimensions && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8", + getPopupContainer: function getPopupContainer() { + return closeRef.current; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + onClose(); + onImgDimensions(); }, - disabled: ((_params$jbdatas = params.jbdatas) === null || _params$jbdatas === void 0 ? void 0 : _params$jbdatas.length) <= 0, - placeholder: "\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B", - children: params === null || params === void 0 ? void 0 : (_params$jbdatas2 = params.jbdatas) === null || _params$jbdatas2 === void 0 ? void 0 : _params$jbdatas2.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { - value: item === null || item === void 0 ? void 0 : item.ec_year_id, - children: item === null || item === void 0 ? void 0 : item.year - }, index); + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-yulanpizhu" }) }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u8BFE\u7A0B", - name: "ec_course_id", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { - style: { - width: 150 - }, - disabled: ((_params$kcdatas = params.kcdatas) === null || _params$kcdatas === void 0 ? void 0 : _params$kcdatas.length) <= 0, - placeholder: "\u8BF7\u9009\u62E9\u8BFE\u7A0B", - children: params === null || params === void 0 ? void 0 : (_params$kcdatas2 = params.kcdatas) === null || _params$kcdatas2 === void 0 ? void 0 : _params$kcdatas2.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { - value: item === null || item === void 0 ? void 0 : item.id, - children: item === null || item === void 0 ? void 0 : item.name - }, index); + }), !disabledDownload && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6", + getPopupContainer: function getPopupContainer() { + return closeRef.current; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: handleDown, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-quxiaozhiding" }) }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u77E5\u8BC6\u70B9", - name: "ec_point_ids", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { - onChange: function onChange() { - form.submit(); - }, - style: { - width: 150 - }, - mode: "multiple", - disabled: ((_params$zsdatas = params.zsdatas) === null || _params$zsdatas === void 0 ? void 0 : _params$zsdatas.length) <= 0, - placeholder: "\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9", - children: params === null || params === void 0 ? void 0 : (_params$zsdatas2 = params.zsdatas) === null || _params$zsdatas2 === void 0 ? void 0 : _params$zsdatas2.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { - value: item === null || item === void 0 ? void 0 : item.id, - children: item === null || item === void 0 ? void 0 : item.name - }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5173\u95ED", + getPopupContainer: function getPopupContainer() { + return closeRef.current; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "", + onClick: onClose, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-guanbi1" }) }) })] - }) - }); -}; -/* harmony default export */ var AddPoints_item = ((0,_umi_production_exports.connect)(function (_ref4) { - var classroomList = _ref4.classroomList, - loading = _ref4.loading, - globalSetting = _ref4.globalSetting, - user = _ref4.user; - return { - classroomList: classroomList, - globalSetting: globalSetting, - loading: loading.effects, - user: user - }; -})(ShixunsListPage)); -;// CONCATENATED MODULE: ./src/components/AddPoints/index.tsx - - - - - - - - - - - - - - -var AddPoints_CheckboxGroup = es_checkbox/* default.Group */.Z.Group; -var AddPoints_ShixunsListPage = function ShixunsListPage(_ref) { - var _user$userInfo2, _user$userInfo2$cours, _user$userInfo$course2; - var classroomList = _ref.classroomList, - loading = _ref.loading, - user = _ref.user, - _ref$exercise_id = _ref.exercise_id, - exercise_id = _ref$exercise_id === void 0 ? null : _ref$exercise_id, - _ref$homework_common_ = _ref.homework_common_id, - homework_common_id = _ref$homework_common_ === void 0 ? null : _ref$homework_common_, - _setitem = _ref.setitem, - type = _ref.type, - dispatch = _ref.dispatch; - var _useState = (0,react.useState)([{}]), - _useState2 = slicedToArray_default()(_useState, 2), - datas = _useState2[0], - setdatas = _useState2[1]; - var _useState3 = (0,react.useState)([]), - _useState4 = slicedToArray_default()(_useState3, 2), - rz = _useState4[0], - setrz = _useState4[1]; - function getdatas() { - return _getdatas.apply(this, arguments); - } - function _getdatas() { - _getdatas = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _res$data; - var res, _res$data2, _res$data3, ec_point_ids; - 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/ec_courses/".concat(0, "/ec_points/get_work_points.json"), { - method: 'get', - params: { - exercise_id: exercise_id, - homework_common_id: homework_common_id - } - }); - case 2: - res = _context.sent; - // console.log(res?.data?.[0]); - - if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.length) > 0) { - ec_point_ids = []; - res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.map(function (ite) { - var _ite$ec_point_ids2; - ite === null || ite === void 0 ? void 0 : (_ite$ec_point_ids2 = ite.ec_point_ids) === null || _ite$ec_point_ids2 === void 0 ? void 0 : _ite$ec_point_ids2.map(function (j) { - ec_point_ids.push(j); - }); - }); - _setitem(objectSpread2_default()(objectSpread2_default()({}, res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3[0]), {}, { - ec_point_ids: ec_point_ids - })); - // setitem({...res?.data?.[0]}); - setdatas(res === null || res === void 0 ? void 0 : res.data); - } - case 4: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _getdatas.apply(this, arguments); - } - (0,react.useEffect)(function () { - var _user$userInfo, _user$userInfo$course; - if (user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && (_user$userInfo$course = _user$userInfo.course) !== null && _user$userInfo$course !== void 0 && _user$userInfo$course.course_school_id) { - getrz(); - } - }, [user === null || user === void 0 ? void 0 : (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : (_user$userInfo2$cours = _user$userInfo2.course) === null || _user$userInfo2$cours === void 0 ? void 0 : _user$userInfo2$cours.course_school_id]); - function getrz() { - return _getrz.apply(this, arguments); - } - function _getrz() { - _getrz = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _user$userInfo3, _user$userInfo3$cours; - var res; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return (0,fetch/* default */.ZP)("/api/schools/".concat(user === null || user === void 0 ? void 0 : (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : (_user$userInfo3$cours = _user$userInfo3.course) === null || _user$userInfo3$cours === void 0 ? void 0 : _user$userInfo3$cours.course_school_id, "/ec_majors/get_major_list.json"), { - method: 'get' - }); - case 2: - res = _context2.sent; - setrz(res === null || res === void 0 ? void 0 : res.data); - if (homework_common_id || exercise_id) { - getdatas(); - // getrz(); - } - case 5: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return _getrz.apply(this, arguments); - } - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: (_user$userInfo$course2 = user.userInfo.course) !== null && _user$userInfo$course2 !== void 0 && _user$userInfo$course2.is_openengineering ? '' : 'none' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - style: { - fontSize: '16px', - fontWeight: 400 - }, - children: "\u5DE5\u7A0B\u8BA4\u8BC1\u8003\u6838\u77E5\u8BC6\u70B9" - }), datas === null || datas === void 0 ? void 0 : datas.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: 'center', - marginBottom: '10px' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(AddPoints_item, { - rz: rz, - item: item, - type: index, - setitem: function setitem(value) { - // item=value - // console.log('---',item,datas); - datas.splice(index, 1, value); - setdatas(toConsumableArray_default()(datas)); - var ec_point_ids = []; - datas === null || datas === void 0 ? void 0 : datas.map(function (ite) { - var _ite$ec_point_ids; - ite === null || ite === void 0 ? void 0 : (_ite$ec_point_ids = ite.ec_point_ids) === null || _ite$ec_point_ids === void 0 ? void 0 : _ite$ec_point_ids.map(function (j) { - ec_point_ids.push(j); - }); - }); - _setitem(objectSpread2_default()(objectSpread2_default()({}, value), {}, { - ec_point_ids: ec_point_ids - })); - } - }), index != 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(MinusCircleOutlined/* default */.Z, { - onClick: function onClick() { - datas.splice(index, 1); - setdatas(toConsumableArray_default()(datas)); - }, - style: { - marginLeft: 10, - fontSize: '20px' - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)(PlusCircleOutlined/* default */.Z, { - onClick: function onClick() { - datas.push({}); - setdatas(toConsumableArray_default()(datas)); - }, - style: { - marginLeft: 10, - fontSize: '20px' - } - })] - }); + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(PreviewAllmodules[className], " ").concat(className, " ").concat(PreviewAllmodules.monaco, " ").concat(type === "txt" ? "show" : "hide"), + children: type === "txt" && /*#__PURE__*/(0,jsx_runtime.jsx)(monaco_editor/* default */.ZP, objectSpread2_default()({}, monacoEditor)) + }), type === "audio" && /*#__PURE__*/(0,jsx_runtime.jsx)("audio", { + src: "".concat(((_data2 = data) === null || _data2 === void 0 ? void 0 : _data2.indexOf("http://")) > -1 || ((_data3 = data) === null || _data3 === void 0 ? void 0 : _data3.indexOf("https://")) > -1 ? "" : "data:audio/mp3;base64,").concat(data), + autoPlay: true + }), type === "video" && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: ((_data4 = data) === null || _data4 === void 0 ? void 0 : _data4.indexOf("http")) > -1 ? /*#__PURE__*/(0,jsx_runtime.jsx)("video", { + controls: true, + src: "".concat(data), + autoPlay: true + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("video", { + controls: true, + src: "data:video/mp4;base64,".concat(data), + autoPlay: true + }) + }), type === 'office' && officeData && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { + src: "".concat(officePath, "/office.html?key=").concat(officeData.key, "&url=").concat(apiServer + officeData.url, "&callbackUrl=").concat(apiServer + officeData.callbackUrl, "&fileType=").concat(officeData.fileType, "&title=").concat(officeData.title, "&model=").concat(editOffice, "&officeServer=").concat(env/* default.ONLYOFFICE */.Z.ONLYOFFICE, "&disabledDownload=").concat(!!disabledDownload) + }), type === 'html' && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { + src: data + '&disposition=inline' + }), type === 'pdf' && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { + src: "".concat(officePath, "/js/pdfview/index.html?url=").concat(data, "&disabledDownload=").concat(!!disabledDownload) + }) // + , type === "image" && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: "".concat(((_data5 = data) === null || _data5 === void 0 ? void 0 : _data5.indexOf("http://")) > -1 || ((_data6 = data) === null || _data6 === void 0 ? void 0 : _data6.indexOf("https://")) > -1 ? "" : "data:image/png;base64,").concat(data) + }), type === "other" && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + type: "primary", + size: "large", + onClick: handleClick, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ArrowDownOutlined/* default */.Z, {}), "\u70B9\u51FB\u4E0B\u8F7D"] + }) + }), type === "download" && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + type: "primary", + size: "large", + onClick: handleClick, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ArrowDownOutlined/* default */.Z, {}), "\u70B9\u51FB\u4E0B\u8F7D"] })] }); -}; -/* harmony default export */ var AddPoints = ((0,_umi_production_exports.connect)(function (_ref2) { - var classroomList = _ref2.classroomList, - loading = _ref2.loading, - globalSetting = _ref2.globalSetting, - user = _ref2.user; - return { - classroomList: classroomList, - globalSetting: globalSetting, - loading: loading.effects, - user: user - }; -})(AddPoints_ShixunsListPage)); +}); /***/ }), -/***/ 73105: -/*!***********************************************************!*\ - !*** ./src/components/DigitalLabel/index.tsx + 1 modules ***! - \***********************************************************/ +/***/ 23197: +/*!****************************************************************!*\ + !*** ./src/components/QuestionEditor/ChoiceQuestionEditor.tsx ***! + \****************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "u": function() { return /* binding */ ChoiceQuestionEditor; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js */ 70215); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var antd_es_form_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/form/style */ 75627); +/* harmony import */ var antd_es_form__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd/es/form */ 51018); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var antd_es_row_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! antd/es/row/style */ 13062); +/* harmony import */ var antd_es_row__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd/es/row */ 71230); +/* harmony import */ var antd_es_tooltip_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/tooltip/style */ 38390); +/* harmony import */ var antd_es_tooltip__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd/es/tooltip */ 84908); +/* harmony import */ var antd_es_col_style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/col/style */ 89032); +/* harmony import */ var antd_es_col__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd/es/col */ 15746); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/defineProperty.js */ 38416); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./index.less?modules */ 52654); +/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ant-design/icons */ 64789); +/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ant-design/icons */ 3089); +/* harmony import */ var _MdEditorInForm__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./MdEditorInForm */ 95293); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ 85893); -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ components_DigitalLabel; } -}); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./src/components/DigitalLabel/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var DigitalLabelmodules = ({"digitalLabel":"digitalLabel___tImKs","active":"active___Ck70Q"}); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/DigitalLabel/index.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(DigitalLabelmodules.digitalLabel, " ").concat(active ? DigitalLabelmodules.active : '', " ").concat(className), - children: number - }); -}; -/* harmony default export */ var components_DigitalLabel = (DigitalLabel); -/***/ }), -/***/ 82982: -/*!*****************************************!*\ - !*** ./src/components/NoData/index.tsx ***! - \*****************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { -/* harmony import */ var antd_es_button_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/button/style */ 29913); -/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/button */ 71577); -/* 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 react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ 85893); - - - - - - - -var noData = function noData(_ref) { - var _ref$buttonProps = _ref.buttonProps, - buttonProps = _ref$buttonProps === void 0 ? {} : _ref$buttonProps, - _ref$styles = _ref.styles, - styles = _ref$styles === void 0 ? {} : _ref$styles, - customText = _ref.customText, - ButtonText = _ref.ButtonText, - ButtonClick = _ref.ButtonClick, - Buttonclass = _ref.Buttonclass, - ButtonTwo = _ref.ButtonTwo, - imgStyles = _ref.imgStyles; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("section", { - className: "tc animated fadeIn", - style: _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()({}, { - color: '#999', - margin: '200px auto' - }), styles), - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("img", { - src: _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_3__, - style: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, imgStyles) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("p", { - className: "mt20 font14", - children: customText || '暂时还没有相关数据哦!' - }), ButtonText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, _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()({ - className: Buttonclass, - onClick: ButtonClick - }, buttonProps), {}, { - children: ButtonText - })), ButtonTwo && ButtonTwo] - }); -}; -/* harmony default export */ __webpack_exports__["Z"] = (noData); - -/***/ }), - -/***/ 36579: -/*!*********************************************************!*\ - !*** ./src/components/PreviewAll/index.tsx + 1 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ PreviewAll; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -var style = __webpack_require__(29913); -// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js -var es_button = __webpack_require__(71577); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules -var tooltip_style = __webpack_require__(38390); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(84908); -// 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/components/PreviewAll/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var PreviewAllmodules = ({"wrp":"wrp___dq7YK","bgBlack":"bgBlack___ARIUV","monaco":"monaco___VnZC3","darkBlue":"darkBlue___UprA9","close":"close___LKoWu","embed":"embed___hvpEJ"}); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + 1 modules -var ArrowDownOutlined = __webpack_require__(77171); -// EXTERNAL MODULE: ./src/components/monaco-editor/index.jsx + 3 modules -var monaco_editor = __webpack_require__(8691); -// EXTERNAL MODULE: ./src/utils/util.tsx -var util = __webpack_require__(29427); -// EXTERNAL MODULE: ./src/service/exercise.ts -var exercise = __webpack_require__(51412); -// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules -var env = __webpack_require__(59758); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/PreviewAll/index.tsx +var _excluded = ["key", "name"]; @@ -806,319 +481,77 @@ var jsx_runtime = __webpack_require__(85893); - - - - - - - - -/* harmony default export */ var PreviewAll = (function (_ref) { - var _data, _data2, _data3, _data4, _data5, _data6; - var _ref$editOffice = _ref.editOffice, - editOffice = _ref$editOffice === void 0 ? 'view' : _ref$editOffice, - data = _ref.data, - theme = _ref.theme, - type = _ref.type, - filename = _ref.filename, - monacoEditor = _ref.monacoEditor, - className = _ref.className, - style = _ref.style, - close = _ref.close, - onClose = _ref.onClose, - hasMask = _ref.hasMask, - disabledDownload = _ref.disabledDownload, - onImgDimensions = _ref.onImgDimensions; - var _useState = (0,react.useState)('https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt'), - _useState2 = slicedToArray_default()(_useState, 2), - src = _useState2[0], - setSrc = _useState2[1]; - var _useState3 = (0,react.useState)(""), - _useState4 = slicedToArray_default()(_useState3, 2), - token = _useState4[0], - setToken = _useState4[1]; - var _useState5 = (0,react.useState)(), - _useState6 = slicedToArray_default()(_useState5, 2), - officeData = _useState6[0], - setOfficeData = _useState6[1]; - var officePath = window.ENV === "build" ? "/react/build" : ""; - var apiServer = location.host.startsWith("localhost") ? env/* default.PROXY_SERVER */.Z.PROXY_SERVER : env/* default.API_SERVER */.Z.API_SERVER; - var size; - var unit = 1024 * 1024; - var maxSize = 10 * unit; - var closeRef = (0,react.useRef)(); - if ((_data = data) !== null && _data !== void 0 && _data.startsWith("/api") && type !== "txt") { - data = env/* default.API_SERVER */.Z.API_SERVER + data; - } - if (type === "office") { - size = (0,util/* parseUrl */.en)(data).filesize; - if (size > maxSize) { - type = "other"; - } - } - if (filename) monacoEditor.filename = filename; - (0,react.useEffect)(function () { - var _document$cookie, _document$cookie$repl; - var cookies = (_document$cookie = document.cookie) === null || _document$cookie === void 0 ? void 0 : (_document$cookie$repl = _document$cookie.replace(/\s/g, "")) === null || _document$cookie$repl === void 0 ? void 0 : _document$cookie$repl.split(";"); - cookies === null || cookies === void 0 ? void 0 : cookies.map(function (item) { - var i = item.split("="); - if (i[0] === '_educoder_session') { - setToken(i[1]); - } - }); - }, []); - (0,react.useEffect)(function () { - if (type === "office") getData(); - }, [type, data]); - var getData = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _url, _id, res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - console.log("data:", data); - _url = data; - if (!data.startsWith("http")) { - _url = location.origin + _url; - } - _id = new URL(_url).pathname.split("/").pop(); - _context.next = 6; - return (0,exercise/* setEcsAttachment */.gJ)({ - attachment_id: _id - }); - case 6: - res = _context.sent; - setOfficeData(res); - case 8: - case "end": - return _context.stop(); - } - }, _callee); +var tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var ChoiceQuestionItem = function ChoiceQuestionItem(_ref) { + var value = _ref.value, + _onChange = _ref.onChange, + choiceTextKey = _ref.choiceTextKey, + answerKey = _ref.answerKey, + index = _ref.index, + isEdit = _ref.isEdit, + setInputActive = _ref.setInputActive, + form = _ref.form, + choiceOptionsPath = _ref.choiceOptionsPath, + allowChangeMode = _ref.allowChangeMode, + showAddIcon = _ref.showAddIcon, + addItem = _ref.addItem, + deleteItem = _ref.deleteItem; + var isActiveAnswer = (value === null || value === void 0 ? void 0 : value[answerKey]) === 1; + var setAllOptionsToFalse = function setAllOptionsToFalse() { + var options = form.getFieldValue(choiceOptionsPath); + form.setFieldValue(choiceOptionsPath, options.map(function (item) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()({}, item), {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()({}, answerKey, 0)); })); - return function getData() { - return _ref2.apply(this, arguments); - }; - }(); - var handleClick = function handleClick() { - if (data.startsWith("http") || data.startsWith('blob:')) { - handleDown(); - return; - } - (0,util/* downloadFile */.Sv)(filename || 'educoder', data, filename); }; - var handleDown = function handleDown() { - (0,util/* downLoadLink */.Nd)(filename || 'educoder', decodeURIComponent(data)); + var setActiveAnswer = function setActiveAnswer() { + if (isActiveAnswer) { + _onChange(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()({}, value), {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()({}, answerKey, 0))); + } else { + if (!allowChangeMode) { + setAllOptionsToFalse(); + } + _onChange(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()({}, value), {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()({}, answerKey, 1))); + } }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: objectSpread2_default()({}, style || {}), - className: "".concat(hasMask && PreviewAllmodules.bgBlack, " ").concat(!!type ? PreviewAllmodules.wrp : "hide"), - children: [close && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: PreviewAllmodules.close, - ref: closeRef, - children: [!!onImgDimensions && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8", - getPopupContainer: function getPopupContainer() { - return closeRef.current; - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - onClose(); - onImgDimensions(); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "icon-yulanpizhu" - }) - }) - }), !disabledDownload && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6", - getPopupContainer: function getPopupContainer() { - return closeRef.current; - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: handleDown, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "icon-quxiaozhiding" - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u5173\u95ED", - getPopupContainer: function getPopupContainer() { - return closeRef.current; - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "", - onClick: onClose, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "icon-guanbi1" - }) - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(PreviewAllmodules[className], " ").concat(className, " ").concat(PreviewAllmodules.monaco, " ").concat(type === "txt" ? "show" : "hide"), - children: type === "txt" && /*#__PURE__*/(0,jsx_runtime.jsx)(monaco_editor/* default */.ZP, objectSpread2_default()({}, monacoEditor)) - }), type === "audio" && /*#__PURE__*/(0,jsx_runtime.jsx)("audio", { - src: "".concat(((_data2 = data) === null || _data2 === void 0 ? void 0 : _data2.indexOf("http://")) > -1 || ((_data3 = data) === null || _data3 === void 0 ? void 0 : _data3.indexOf("https://")) > -1 ? "" : "data:audio/mp3;base64,").concat(data), - autoPlay: true - }), type === "video" && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: ((_data4 = data) === null || _data4 === void 0 ? void 0 : _data4.indexOf("http")) > -1 ? /*#__PURE__*/(0,jsx_runtime.jsx)("video", { - controls: true, - src: "".concat(data), - autoPlay: true - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("video", { - controls: true, - src: "data:video/mp4;base64,".concat(data), - autoPlay: true - }) - }), type === 'office' && officeData && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { - src: "".concat(officePath, "/office.html?key=").concat(officeData.key, "&url=").concat(apiServer + officeData.url, "&callbackUrl=").concat(apiServer + officeData.callbackUrl, "&fileType=").concat(officeData.fileType, "&title=").concat(officeData.title, "&model=").concat(editOffice, "&officeServer=").concat(env/* default.ONLYOFFICE */.Z.ONLYOFFICE, "&disabledDownload=").concat(!!disabledDownload) - }), type === 'html' && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { - src: data + '&disposition=inline' - }), type === 'pdf' && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { - src: "".concat(officePath, "/js/pdfview/index.html?url=").concat(data, "&disabledDownload=").concat(!!disabledDownload) - }) // - , type === "image" && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - src: "".concat(((_data5 = data) === null || _data5 === void 0 ? void 0 : _data5.indexOf("http://")) > -1 || ((_data6 = data) === null || _data6 === void 0 ? void 0 : _data6.indexOf("https://")) > -1 ? "" : "data:image/png;base64,").concat(data) - }), type === "other" && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - type: "primary", - size: "large", - onClick: handleClick, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ArrowDownOutlined/* default */.Z, {}), "\u70B9\u51FB\u4E0B\u8F7D"] - }) - }), type === "download" && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - type: "primary", - size: "large", - onClick: handleClick, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ArrowDownOutlined/* default */.Z, {}), "\u70B9\u51FB\u4E0B\u8F7D"] - })] - }); -}); - -/***/ }), - -/***/ 23197: -/*!****************************************************************!*\ - !*** ./src/components/QuestionEditor/ChoiceQuestionEditor.tsx ***! - \****************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "u": function() { return /* binding */ ChoiceQuestionEditor; } -/* harmony export */ }); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js */ 70215); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var antd_es_form_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/form/style */ 75627); -/* harmony import */ var antd_es_form__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd/es/form */ 51018); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var antd_es_row_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! antd/es/row/style */ 13062); -/* harmony import */ var antd_es_row__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd/es/row */ 71230); -/* harmony import */ var antd_es_tooltip_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/tooltip/style */ 38390); -/* harmony import */ var antd_es_tooltip__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd/es/tooltip */ 84908); -/* harmony import */ var antd_es_col_style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/col/style */ 89032); -/* harmony import */ var antd_es_col__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd/es/col */ 15746); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/defineProperty.js */ 38416); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./index.less?modules */ 52654); -/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ant-design/icons */ 64789); -/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ant-design/icons */ 3089); -/* harmony import */ var _MdEditorInForm__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./MdEditorInForm */ 95293); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ 85893); - - - - - - - - - - - - -var _excluded = ["key", "name"]; - - - - - - - -var tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var ChoiceQuestionItem = function ChoiceQuestionItem(_ref) { - var value = _ref.value, - _onChange = _ref.onChange, - choiceTextKey = _ref.choiceTextKey, - answerKey = _ref.answerKey, - index = _ref.index, - isEdit = _ref.isEdit, - setInputActive = _ref.setInputActive, - form = _ref.form, - choiceOptionsPath = _ref.choiceOptionsPath, - allowChangeMode = _ref.allowChangeMode, - showAddIcon = _ref.showAddIcon, - addItem = _ref.addItem, - deleteItem = _ref.deleteItem; - var isActiveAnswer = (value === null || value === void 0 ? void 0 : value[answerKey]) === 1; - var setAllOptionsToFalse = function setAllOptionsToFalse() { - var options = form.getFieldValue(choiceOptionsPath); - form.setFieldValue(choiceOptionsPath, options.map(function (item) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()({}, item), {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()({}, answerKey, 0)); - })); - }; - var setActiveAnswer = function setActiveAnswer() { - if (isActiveAnswer) { - _onChange(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()({}, value), {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()({}, answerKey, 0))); - } else { - if (!allowChangeMode) { - setAllOptionsToFalse(); - } - _onChange(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()({}, value), {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()({}, answerKey, 1))); - } - }; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { - className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].choiceWrap */ .Z.choiceWrap, - align: "middle", - wrap: false, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { - onClick: setActiveAnswer, - className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].choiceIndex */ .Z.choiceIndex, " ").concat(isActiveAnswer ? _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].activeAnswer */ .Z.activeAnswer : ''), - children: tagList[index] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { - flex: 1, - className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].editorWrap */ .Z.editorWrap, " ml15"), - onClick: setInputActive, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_MdEditorInForm__WEBPACK_IMPORTED_MODULE_10__/* .RegularInput */ .x, { - height: 155, - placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", - isEdit: isEdit, - value: value === null || value === void 0 ? void 0 : value[choiceTextKey], - onChange: function onChange(v) { - _onChange(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()({}, value), {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()({}, choiceTextKey, v))); - } - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { - flex: '0 0 auto', - className: "ml15", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", { - onClick: setActiveAnswer, - className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].setAnswerBtn */ .Z.setAnswerBtn, " ").concat(isActiveAnswer ? _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].activeAnswer */ .Z.activeAnswer : ''), - children: isActiveAnswer ? '正确答案' : '设为答案' - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd_es_col__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { - className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].actionWrapper */ .Z.actionWrapper, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd_es_tooltip__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { - title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { - className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].addIcon */ .Z.addIcon, - onClick: addItem, - style: { - visibility: showAddIcon ? 'visible' : 'hidden' - } + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { + className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].choiceWrap */ .Z.choiceWrap, + align: "middle", + wrap: false, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { + onClick: setActiveAnswer, + className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].choiceIndex */ .Z.choiceIndex, " ").concat(isActiveAnswer ? _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].activeAnswer */ .Z.activeAnswer : ''), + children: tagList[index] + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { + flex: 1, + className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].editorWrap */ .Z.editorWrap, " ml15"), + onClick: setInputActive, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_MdEditorInForm__WEBPACK_IMPORTED_MODULE_10__/* .RegularInput */ .x, { + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", + isEdit: isEdit, + value: value === null || value === void 0 ? void 0 : value[choiceTextKey], + onChange: function onChange(v) { + _onChange(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()({}, value), {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()({}, choiceTextKey, v))); + } + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { + flex: '0 0 auto', + className: "ml15", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", { + onClick: setActiveAnswer, + className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].setAnswerBtn */ .Z.setAnswerBtn, " ").concat(isActiveAnswer ? _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].activeAnswer */ .Z.activeAnswer : ''), + children: isActiveAnswer ? '正确答案' : '设为答案' + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd_es_col__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { + className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].actionWrapper */ .Z.actionWrapper, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd_es_tooltip__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + className: _index_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"].addIcon */ .Z.addIcon, + onClick: addItem, + style: { + visibility: showAddIcon ? 'visible' : 'hidden' + } }) }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd_es_tooltip__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { title: "\u5220\u9664", @@ -4780,7 +4213,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -5161,9 +4594,9 @@ function useInterval(callback, delay) { /***/ }), -/***/ 55105: +/***/ 22292: /*!************************************************************************!*\ - !*** ./src/pages/Classrooms/Lists/Exercise/Add/index.tsx + 19 modules ***! + !*** ./src/pages/Classrooms/Lists/Exercise/Add/index.tsx + 22 modules ***! \************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -5259,112 +4692,590 @@ var jsx_runtime = __webpack_require__(85893); -var ShixunsListPage = function ShixunsListPage(_ref) { +var ShixunsListPage = function ShixunsListPage(_ref) { + var user = _ref.user, + dispatch = _ref.dispatch, + classroomList = _ref.classroomList, + onModalOk = _ref.onModalOk, + setsubloading = _ref.setsubloading; + var params = (0,_umi_production_exports.useParams)(); + var _useState = (0,react.useState)(), + _useState2 = slicedToArray_default()(_useState, 2), + time = _useState2[0], + setTime = _useState2[1]; + var _useState3 = (0,react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + btnLoading = _useState4[0], + setBtnLoading = _useState4[1]; + function disabledDate(current) { + return current && current < moment_default()().subtract(1, "days"); + } + return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + title: "\u6E29\u99A8\u63D0\u793A" + // open={true} + , + afterClose: function afterClose() { + setBtnLoading(false); + }, + zIndex: 8888, + destroyOnClose: true, + footer: null, + maskClosable: false, + keyboard: false, + open: classroomList.actionTabs.key === '预约弹窗' ? true : false, + onCancel: function onCancel() { + if (btnLoading) { + message/* default.warn */.ZP.warn('正在请求数据中...'); + return; + } + setsubloading(false); + dispatch({ + type: 'classroomList/setActionTabs', + payload: {} + }); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "EduCoder\u6CE8\u610F\u5230\u60A8\u7684\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\u3002\u4E3A\u66F4\u597D\u5730\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u670D\u52A1\uFF0C\u7ED9\u540C\u5B66\u4EEC\u5E26\u6765\u66F4\u597D\u7684\u8003\u8BD5\u4F53\u9A8C\uFF0C\u6211\u4EEC\u5C06\u63D0\u524D\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u51C6\u5907\u597D\u670D\u52A1\u5668\u8D44\u6E90\u3002 \u8BF7\u60A8\u544A\u77E5\u6211\u4EEC\uFF0C\u8FD9\u4EFD\u8BD5\u5377\u7684\u9884\u8BA1\u8003\u8BD5\u65F6\u95F4\u662F\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker/* default */.Z, { + popupStyle: { + zIndex: 9999 + }, + style: { + marginTop: '10px', + marginBottom: '10px' + }, + disabledDate: disabledDate, + format: "YYYY-MM-DD HH:mm:ss", + onChange: function onChange(date, dateString) { + // console.log(date,dateString); + setTime(dateString); + }, + showTime: { + defaultValue: moment_default()('00:00:00', 'HH:mm:ss') + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u611F\u8C22\u60A8\u7684\u914D\u5408" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + textAlign: 'end' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + loading: btnLoading, + type: "primary", + onClick: /*#__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: + setBtnLoading(true); + onModalOk(time, function () { + dispatch({ + type: 'classroomList/setActionTabs', + payload: {} + }); + }); + case 2: + case "end": + return _context.stop(); + } + }, _callee); + })), + children: "\u786E\u8BA4" + }) + })] + }) + }); +}; +/* harmony default export */ var ExerciseModel = ((0,_umi_production_exports.connect)(function (_ref3) { + var user = _ref3.user, + classroomList = _ref3.classroomList; + return { + user: user, + classroomList: classroomList + }; +})(ShixunsListPage)); +// EXTERNAL MODULE: ./src/utils/fetch.ts +var fetch = __webpack_require__(84519); +// 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/@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules +var PlusCircleOutlined = __webpack_require__(64789); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.js + 1 modules +var MinusCircleOutlined = __webpack_require__(3089); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EngineeringPoints/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var EngineeringPointsmodules = ({"wrap":"wrap___Ww0Ti","itemWarp":"itemWarp___LMLjd","addIcon":"addIcon___xmRLl","deleteIcon":"deleteIcon___gjwgO"}); +// EXTERNAL MODULE: ./node_modules/antd/es/select/style/index.js + 1 modules +var select_style = __webpack_require__(95985); +// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js +var es_select = __webpack_require__(34041); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EngineeringPoints/item.tsx + + + + + + + + + + + + + +var Item = function Item(_ref) { + var _params$zydatas, _params$zydatas2, _params$jbdatas, _params$jbdatas2, _params$kcdatas, _params$kcdatas2, _params$zsdatas, _params$zsdatas2; + var setitem = _ref.setitem, + item = _ref.item, + rz = _ref.rz; + var _useState = (0,react.useState)({ + zydatas: [], + jbdatas: [], + kcdatas: [], + zsdatas: [], + page: 1, + per_page: 20 + }), + _useState2 = slicedToArray_default()(_useState, 2), + params = _useState2[0], + setparams = _useState2[1]; + var _Form$useForm = es_form/* default.useForm */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var _useState3 = (0,react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + init = _useState4[0], + setInit = _useState4[1]; + (0,react.useEffect)(function () { + if (rz && !init) { + params.zydatas = rz; + setparams(objectSpread2_default()({}, params)); + setInit(true); + if (item !== null && item !== void 0 && item.ec_course_id) { + setdata(); + } + } + }, [item, rz, init]); + console.log(params, 'params'); + function setdata() { + return _setdata.apply(this, arguments); + } //获取认证届别 + function _setdata() { + _setdata = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return getjb(item === null || item === void 0 ? void 0 : item.ec_major_school_id); + case 2: + _context3.next = 4; + return getcourse(item === null || item === void 0 ? void 0 : item.ec_year_id); + case 4: + _context3.next = 6; + return getec_points(item === null || item === void 0 ? void 0 : item.ec_course_id); + case 6: + form.setFieldsValue({ + ec_course_id: item === null || item === void 0 ? void 0 : item.ec_course_id, + ec_major_school_id: item === null || item === void 0 ? void 0 : item.ec_major_school_id, + ec_point_ids: item === null || item === void 0 ? void 0 : item.ec_point_ids, + ec_year_id: item === null || item === void 0 ? void 0 : item.ec_year_id + }); + case 7: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return _setdata.apply(this, arguments); + } + function getjb(_x) { + return _getjb.apply(this, arguments); + } //获取关联课程 + function _getjb() { + _getjb = 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: + _context4.next = 2; + return (0,fetch/* default */.ZP)("/api/ec_major_schools/".concat(key, "/ec_years/get_year_list.json"), { + method: 'get' + }); + case 2: + res = _context4.sent; + params.jbdatas = res === null || res === void 0 ? void 0 : res.data; + setparams(objectSpread2_default()({}, params)); + form.setFieldsValue({ + ec_year_id: '', + ec_course_id: '', + ec_point_ids: [] + }); + case 6: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return _getjb.apply(this, arguments); + } + function getcourse(_x2) { + return _getcourse.apply(this, arguments); + } //获取知识点 + function _getcourse() { + _getcourse = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(key) { + var res; + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + _context5.next = 2; + return (0,fetch/* default */.ZP)("/api/ec_years/".concat(key, "/ec_courses/get_courses.json"), { + method: 'get' + }); + case 2: + res = _context5.sent; + params.kcdatas = res === null || res === void 0 ? void 0 : res.data; + setparams(objectSpread2_default()({}, params)); + form.setFieldsValue({ + ec_course_id: '', + ec_point_ids: [] + }); + case 6: + case "end": + return _context5.stop(); + } + }, _callee5); + })); + return _getcourse.apply(this, arguments); + } + var getec_points = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(record) { + var res; + 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/ec_courses/".concat(record, "/ec_points.json"), { + method: 'get', + params: { + ec_course_id: record + } + }); + case 2: + res = _context.sent; + params.zsdatas = res === null || res === void 0 ? void 0 : res.data; + setparams(objectSpread2_default()({}, params)); + case 5: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getec_points(_x3) { + return _ref2.apply(this, arguments); + }; + }(); + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: EngineeringPointsmodules.from, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + form: form, + layout: "inline", + onValuesChange: function onValuesChange(value) { + console.log('----', value); + if (value.ec_major_school_id) { + params.jbdatas = []; + params.kcdatas = []; + params.zsdatas = []; + setparams(objectSpread2_default()({}, params)); + getjb(value.ec_major_school_id); + } + if (value.ec_year_id) { + params.kcdatas = []; + params.zsdatas = []; + setparams(objectSpread2_default()({}, params)); + getcourse(value.ec_year_id); + } + if (value.ec_course_id) { + params.zsdatas = []; + setparams(objectSpread2_default()({}, params)); + getec_points(value.ec_course_id); + } + }, + onFinish: /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(value) { + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + setitem(value); + case 1: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function (_x4) { + return _ref3.apply(this, arguments); + }; + }(), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + // label="认证专业" + name: "ec_major_school_id", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { + style: { + width: 160 + }, + disabled: ((_params$zydatas = params.zydatas) === null || _params$zydatas === void 0 ? void 0 : _params$zydatas.length) <= 0, + placeholder: "\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A", + children: params === null || params === void 0 ? void 0 : (_params$zydatas2 = params.zydatas) === null || _params$zydatas2 === void 0 ? void 0 : _params$zydatas2.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: item === null || item === void 0 ? void 0 : item.ec_major_school_id, + children: item === null || item === void 0 ? void 0 : item.name + }, index); + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + // label="认证届别" + name: "ec_year_id", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { + style: { + width: 160 + }, + disabled: ((_params$jbdatas = params.jbdatas) === null || _params$jbdatas === void 0 ? void 0 : _params$jbdatas.length) <= 0, + placeholder: "\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B", + children: params === null || params === void 0 ? void 0 : (_params$jbdatas2 = params.jbdatas) === null || _params$jbdatas2 === void 0 ? void 0 : _params$jbdatas2.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: item === null || item === void 0 ? void 0 : item.ec_year_id, + children: item === null || item === void 0 ? void 0 : item.year + }, index); + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + // label="课程" + name: "ec_course_id", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { + style: { + width: 208 + }, + disabled: ((_params$kcdatas = params.kcdatas) === null || _params$kcdatas === void 0 ? void 0 : _params$kcdatas.length) <= 0, + placeholder: "\u8BF7\u9009\u62E9\u8BFE\u7A0B", + children: params === null || params === void 0 ? void 0 : (_params$kcdatas2 = params.kcdatas) === null || _params$kcdatas2 === void 0 ? void 0 : _params$kcdatas2.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: item === null || item === void 0 ? void 0 : item.id, + children: item === null || item === void 0 ? void 0 : item.name + }, index); + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + // label="知识点" + name: "ec_point_ids", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default */.Z, { + onChange: function onChange() { + form.submit(); + }, + style: { + width: 160 + }, + maxTagCount: 1, + maxTagTextLength: 7, + mode: "multiple", + disabled: ((_params$zsdatas = params.zsdatas) === null || _params$zsdatas === void 0 ? void 0 : _params$zsdatas.length) <= 0, + placeholder: "\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9", + children: params === null || params === void 0 ? void 0 : (_params$zsdatas2 = params.zsdatas) === null || _params$zsdatas2 === void 0 ? void 0 : _params$zsdatas2.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: item === null || item === void 0 ? void 0 : item.id, + children: item === null || item === void 0 ? void 0 : item.name + }, index); + }) + }) + })] + }) + }); +}; +/* harmony default export */ var EngineeringPoints_item = (Item); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EngineeringPoints/index.tsx + + + + + + + + + + + + + +var EngineeringPoints = function EngineeringPoints(_ref) { + var _user$userInfo2, _user$userInfo2$cours, _user$userInfo$course2; var user = _ref.user, - dispatch = _ref.dispatch, - classroomList = _ref.classroomList, - onModalOk = _ref.onModalOk, - setsubloading = _ref.setsubloading; - var params = (0,_umi_production_exports.useParams)(); - var _useState = (0,react.useState)(), + _ref$exercise_id = _ref.exercise_id, + exercise_id = _ref$exercise_id === void 0 ? null : _ref$exercise_id, + _ref$homework_common_ = _ref.homework_common_id, + homework_common_id = _ref$homework_common_ === void 0 ? null : _ref$homework_common_, + _setitem = _ref.setitem; + var _useState = (0,react.useState)([{ + id: Math.random() + }]), _useState2 = slicedToArray_default()(_useState, 2), - time = _useState2[0], - setTime = _useState2[1]; - var _useState3 = (0,react.useState)(false), + datas = _useState2[0], + setdatas = _useState2[1]; + var _useState3 = (0,react.useState)(null), _useState4 = slicedToArray_default()(_useState3, 2), - btnLoading = _useState4[0], - setBtnLoading = _useState4[1]; - function disabledDate(current) { - return current && current < moment_default()().subtract(1, "days"); + rz = _useState4[0], + setrz = _useState4[1]; + function getdatas() { + return _getdatas.apply(this, arguments); } - return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - title: "\u6E29\u99A8\u63D0\u793A" - // open={true} - , - afterClose: function afterClose() { - setBtnLoading(false); - }, - zIndex: 8888, - destroyOnClose: true, - footer: null, - maskClosable: false, - keyboard: false, - open: classroomList.actionTabs.key === '预约弹窗' ? true : false, - onCancel: function onCancel() { - if (btnLoading) { - message/* default.warn */.ZP.warn('正在请求数据中...'); - return; - } - setsubloading(false); - dispatch({ - type: 'classroomList/setActionTabs', - payload: {} - }); + function _getdatas() { + _getdatas = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _res$data; + var res, _res$data2, _res$data3, _res$data4, ec_point_ids; + 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/ec_courses/".concat(0, "/ec_points/get_work_points.json"), { + method: 'get', + params: { + exercise_id: exercise_id, + homework_common_id: homework_common_id + } + }); + case 2: + res = _context.sent; + if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.length) > 0) { + ec_point_ids = []; + res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.map(function (ite) { + var _ite$ec_point_ids3; + ite === null || ite === void 0 ? void 0 : (_ite$ec_point_ids3 = ite.ec_point_ids) === null || _ite$ec_point_ids3 === void 0 ? void 0 : _ite$ec_point_ids3.map(function (j) { + ec_point_ids.push(j); + }); + }); + _setitem(objectSpread2_default()(objectSpread2_default()({}, res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3[0]), {}, { + ec_point_ids: ec_point_ids + })); + setdatas(res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.map(function (e) { + return objectSpread2_default()(objectSpread2_default()({}, e), {}, { + id: Math.random() + }); + })); + } + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _getdatas.apply(this, arguments); + } + (0,react.useEffect)(function () { + var _user$userInfo, _user$userInfo$course; + if (user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && (_user$userInfo$course = _user$userInfo.course) !== null && _user$userInfo$course !== void 0 && _user$userInfo$course.course_school_id) { + getrz(); + } + }, [user === null || user === void 0 ? void 0 : (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : (_user$userInfo2$cours = _user$userInfo2.course) === null || _user$userInfo2$cours === void 0 ? void 0 : _user$userInfo2$cours.course_school_id]); + function getrz() { + return _getrz.apply(this, arguments); + } + function _getrz() { + _getrz = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _user$userInfo3, _user$userInfo3$cours; + var res; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return (0,fetch/* default */.ZP)("/api/schools/".concat(user === null || user === void 0 ? void 0 : (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : (_user$userInfo3$cours = _user$userInfo3.course) === null || _user$userInfo3$cours === void 0 ? void 0 : _user$userInfo3$cours.course_school_id, "/ec_majors/get_major_list.json"), { + method: 'get' + }); + case 2: + res = _context2.sent; + setrz(res === null || res === void 0 ? void 0 : res.data); + if (homework_common_id || exercise_id) { + getdatas(); + } + case 5: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return _getrz.apply(this, arguments); + } + console.log(datas, rz, 'datas'); + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + display: (_user$userInfo$course2 = user.userInfo.course) !== null && _user$userInfo$course2 !== void 0 && _user$userInfo$course2.is_openengineering ? '' : 'none' }, children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "EduCoder\u6CE8\u610F\u5230\u60A8\u7684\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\u3002\u4E3A\u66F4\u597D\u5730\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u670D\u52A1\uFF0C\u7ED9\u540C\u5B66\u4EEC\u5E26\u6765\u66F4\u597D\u7684\u8003\u8BD5\u4F53\u9A8C\uFF0C\u6211\u4EEC\u5C06\u63D0\u524D\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u51C6\u5907\u597D\u670D\u52A1\u5668\u8D44\u6E90\u3002 \u8BF7\u60A8\u544A\u77E5\u6211\u4EEC\uFF0C\u8FD9\u4EFD\u8BD5\u5377\u7684\u9884\u8BA1\u8003\u8BD5\u65F6\u95F4\u662F\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker/* default */.Z, { - popupStyle: { - zIndex: 9999 - }, - style: { - marginTop: '10px', - marginBottom: '10px' - }, - disabledDate: disabledDate, - format: "YYYY-MM-DD HH:mm:ss", - onChange: function onChange(date, dateString) { - // console.log(date,dateString); - setTime(dateString); - }, - showTime: { - defaultValue: moment_default()('00:00:00', 'HH:mm:ss') - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u611F\u8C22\u60A8\u7684\u914D\u5408" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - textAlign: 'end' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - loading: btnLoading, - type: "primary", - onClick: /*#__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: - setBtnLoading(true); - onModalOk(time, function () { - dispatch({ - type: 'classroomList/setActionTabs', - payload: {} - }); + className: EngineeringPointsmodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + children: ["\u5DE5\u7A0B\u8BA4\u8BC1", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u8003\u6838\u77E5\u8BC6\u70B9"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: EngineeringPointsmodules.itemWarp, + children: datas === null || datas === void 0 ? void 0 : datas.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center', + marginBottom: 20 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(EngineeringPoints_item, { + rz: rz, + item: item, + setitem: function setitem(value) { + value = objectSpread2_default()(objectSpread2_default()({}, datas === null || datas === void 0 ? void 0 : datas[index]), value); + datas.splice(index, 1, value); + setdatas(toConsumableArray_default()(datas)); + var ec_point_ids = []; + datas === null || datas === void 0 ? void 0 : datas.map(function (ite) { + var _ite$ec_point_ids; + ite === null || ite === void 0 ? void 0 : (_ite$ec_point_ids = ite.ec_point_ids) === null || _ite$ec_point_ids === void 0 ? void 0 : _ite$ec_point_ids.map(function (j) { + ec_point_ids.push(j); }); - case 2: - case "end": - return _context.stop(); + }); + _setitem(objectSpread2_default()(objectSpread2_default()({}, value), {}, { + ec_point_ids: ec_point_ids + })); } - }, _callee); - })), - children: "\u786E\u8BA4" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(PlusCircleOutlined/* default */.Z, { + className: EngineeringPointsmodules.addIcon, + onClick: function onClick() { + datas.push({ + id: Math.random() + }); + setdatas(toConsumableArray_default()(datas)); + } + }), index != 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(MinusCircleOutlined/* default */.Z, { + className: EngineeringPointsmodules.deleteIcon, + onClick: function onClick() { + datas.splice(index, 1); + var ec_point_ids = []; + datas === null || datas === void 0 ? void 0 : datas.map(function (ite) { + var _ite$ec_point_ids2; + ite === null || ite === void 0 ? void 0 : (_ite$ec_point_ids2 = ite.ec_point_ids) === null || _ite$ec_point_ids2 === void 0 ? void 0 : _ite$ec_point_ids2.map(function (j) { + ec_point_ids.push(j); + }); + }); + _setitem(objectSpread2_default()(objectSpread2_default()({}, datas[index - 1]), {}, { + ec_point_ids: ec_point_ids + })); + setdatas(toConsumableArray_default()(datas)); + } + })] + }, item.id); }) })] }) }); }; -/* harmony default export */ var ExerciseModel = ((0,_umi_production_exports.connect)(function (_ref3) { - var user = _ref3.user, - classroomList = _ref3.classroomList; +/* harmony default export */ var Add_EngineeringPoints = ((0,_umi_production_exports.connect)(function (_ref2) { + var user = _ref2.user; return { - user: user, - classroomList: classroomList + user: user }; -})(ShixunsListPage)); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); -// EXTERNAL MODULE: ./src/components/AddPoints/index.tsx + 2 modules -var AddPoints = __webpack_require__(56369); +})(EngineeringPoints)); // EXTERNAL MODULE: ./node_modules/antd/es/spin/style/index.js + 1 modules var spin_style = __webpack_require__(22536); // EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js @@ -5388,9 +5299,6 @@ var tooltip = __webpack_require__(84908); var util = __webpack_require__(29427); // EXTERNAL MODULE: ./src/components/NoData/index.tsx var NoData = __webpack_require__(82982); -// 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/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js + 27 modules var react_beautiful_dnd_esm = __webpack_require__(66012); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EditPotin/components/LeftItems.tsx @@ -5558,10 +5466,6 @@ var ChoiceQuestionEditor = __webpack_require__(23197); var switch_style = __webpack_require__(5812); // EXTERNAL MODULE: ./node_modules/antd/es/switch/index.js + 1 modules var es_switch = __webpack_require__(94594); -// EXTERNAL MODULE: ./node_modules/antd/es/select/style/index.js + 1 modules -var select_style = __webpack_require__(95985); -// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js -var es_select = __webpack_require__(34041); // EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js var DownOutlined = __webpack_require__(34804); // EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/UpOutlined.js @@ -10193,7 +10097,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) { } function _onModalOk() { _onModalOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(time, cb) { - var value, courseid, _courseid2, id, subid, res, _res$data3, _res$data4, _res$data5; + var value, courseid, _courseid2, id, subid, res, _res$data4, _res$data5, _res$data6, _res$data7; return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: @@ -10214,7 +10118,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) { case 10: res = _context4.sent; if (!(res.status === 0)) { - _context4.next = 20; + _context4.next = 21; break; } _context4.next = 14; @@ -10222,23 +10126,24 @@ var ExerciseAdd = function ExerciseAdd(_ref) { method: 'POST', body: { course_id: params === null || params === void 0 ? void 0 : params.coursesId, - id: res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.exercise_id, + id: res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.exercise_id, time: time } }); case 14: - setitemid(res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.exercise_id); + set_work_points((_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.exercise_id); + setitemid(res === null || res === void 0 ? void 0 : (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.exercise_id); setcurrent(2); setsubloading(false); - _umi_production_exports.history.replace("/classrooms/".concat(params.coursesId, "/exercise/add/").concat((_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.exercise_id, "?type=2")); + _umi_production_exports.history.replace("/classrooms/".concat(params.coursesId, "/exercise/add/").concat((_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.exercise_id, "?type=2")); // history.push(`/classrooms/${params.coursesId}/exercise/${res.data?.exercise_id}/edit`) - _context4.next = 21; + _context4.next = 22; break; - case 20: - message/* default.error */.ZP.error(res.message); case 21: - cb(); + message/* default.error */.ZP.error(res.message); case 22: + cb(); + case 23: case "end": return _context4.stop(); } @@ -10254,7 +10159,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) { } function _set_work_points() { _set_work_points = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(id) { - var res; + var record, res; return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: @@ -10264,16 +10169,18 @@ var ExerciseAdd = function ExerciseAdd(_ref) { } return _context5.abrupt("return"); case 2: - _context5.next = 4; + record = objectSpread2_default()({}, items); + delete record.id; + _context5.next = 6; return (0,fetch/* default */.ZP)("/api/ec_courses/".concat(items === null || items === void 0 ? void 0 : items.ec_course_id, "/ec_points/set_work_points.json"), { method: 'post', body: objectSpread2_default()({ exercise_id: id - }, items) + }, record) }); - case 4: + case 6: res = _context5.sent; - case 5: + case 7: case "end": return _context5.stop(); } @@ -10362,7 +10269,7 @@ var ExerciseAdd = function ExerciseAdd(_ref) { active: current !== 1, className: "mr10" }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u6DFB\u52A0\u8BD5\u9898" + children: "\u7F16\u8F91\u8BD5\u9898" })] })] }), current === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -10485,14 +10392,14 @@ var ExerciseAdd = function ExerciseAdd(_ref) { }, onFinish: /*#__PURE__*/function () { var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(value) { - var _exercise$editData13, _exercise$editData13$, res, courseid, _courseid, id, subid, _res, _res$data, _res$data2; + var _exercise$editData13, _exercise$editData13$, res, courseid, _courseid, id, subid, _res, _res$data, _res$data2, _res$data3; return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: setBtnLoading(true); setsubloading(true); if (!params.exerciseId) { - _context3.next = 12; + _context3.next = 13; break; } value.exerciseId = (_exercise$editData13 = exercise.editData) === null || _exercise$editData13 === void 0 ? void 0 : (_exercise$editData13$ = _exercise$editData13.exercise) === null || _exercise$editData13$ === void 0 ? void 0 : _exercise$editData13$.id; @@ -10501,22 +10408,23 @@ var ExerciseAdd = function ExerciseAdd(_ref) { return (0,service_exercise/* putExercise */.wy)(objectSpread2_default()({}, value)); case 7: setcurrent(2); + set_work_points(params === null || params === void 0 ? void 0 : params.exerciseId); setitemid(params.exerciseId); setBtnLoading(false); setsubloading(false); return _context3.abrupt("return"); - case 12: - _context3.next = 14; + case 13: + _context3.next = 15; return (0,fetch/* default */.ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercises/overload_alert.json"), { method: 'get', params: { course_id: params === null || params === void 0 ? void 0 : params.coursesId } }); - case 14: + case 15: res = _context3.sent; if (!(res !== null && res !== void 0 && res.alert)) { - _context3.next = 19; + _context3.next = 20; break; } dispatch({ @@ -10525,35 +10433,35 @@ var ExerciseAdd = function ExerciseAdd(_ref) { key: '预约弹窗' } }); - _context3.next = 29; + _context3.next = 30; break; - case 19: + case 20: courseid = value.courseid; _courseid = slicedToArray_default()(courseid, 2), id = _courseid[0], subid = _courseid[1]; value.sub_discipline_id = subid; value.is_md = true; value.time = parseInt(value.time) > 9999 ? 9999 : value.time; - _context3.next = 26; + _context3.next = 27; return dispatch({ type: "exercise/addExercise", payload: objectSpread2_default()(objectSpread2_default()({}, value), params) }); - case 26: + case 27: _res = _context3.sent; if (_res.status === 0) { - // set_work_points(res.data?.exercise_id) + set_work_points((_res$data = _res.data) === null || _res$data === void 0 ? void 0 : _res$data.exercise_id); // trackEvent(['教学课堂', '试卷', '新建试卷']); // history.push(`/classrooms/${params.coursesId}/exercise/${res.data?.exercise_id}/edit`) - _umi_production_exports.history.replace("/classrooms/".concat(params.coursesId, "/exercise/add/").concat((_res$data = _res.data) === null || _res$data === void 0 ? void 0 : _res$data.exercise_id, "?type=2")); - setitemid(_res === null || _res === void 0 ? void 0 : (_res$data2 = _res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.exercise_id); + _umi_production_exports.history.replace("/classrooms/".concat(params.coursesId, "/exercise/add/").concat((_res$data2 = _res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.exercise_id, "?type=2")); + setitemid(_res === null || _res === void 0 ? void 0 : (_res$data3 = _res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.exercise_id); setcurrent(2); } else { // message.error(res.message) } setsubloading(false); - case 29: - setBtnLoading(false); case 30: + setBtnLoading(false); + case 31: case "end": return _context3.stop(); } @@ -10668,7 +10576,8 @@ var ExerciseAdd = function ExerciseAdd(_ref) { 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.jsx)(AddPoints/* default */.Z, { + }), /*#__PURE__*/(0,jsx_runtime.jsx)(Add_EngineeringPoints, { + exercise_id: params === null || params === void 0 ? void 0 : params.exerciseId, setitem: setitem })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { diff --git a/p__Classrooms__Lists__Exercise__Add__index.chunk.css b/p__Classrooms__Lists__Exercise__Add__index.chunk.css index 5f7ca4e4cc..35019fa183 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__Add__index.chunk.css @@ -196,9 +196,61 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/AddPoints/index.less?modules ***! - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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/Classrooms/Lists/Exercise/Add/EngineeringPoints/index.less?modules ***! + \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.wrap___Ww0Ti { + display: flex; +} +.wrap___Ww0Ti > p { + font-size: 14px; + font-weight: 400; + color: #666666; + margin-right: 20px; + margin-left: 70px; + text-align: right; + flex-shrink: 0; +} +.wrap___Ww0Ti .itemWarp___LMLjd { + font-size: 14px; + flex: 1 1; +} +.wrap___Ww0Ti .itemWarp___LMLjd div[class~='.ant-form-item'] { + margin-right: 20px; +} +.wrap___Ww0Ti .itemWarp___LMLjd input[class~='ant-input'] { + height: 38px; +} +.wrap___Ww0Ti .itemWarp___LMLjd input[class~='ant-input-number-input'] { + height: 46px; +} +.wrap___Ww0Ti .itemWarp___LMLjd div[class~='ant-select-single'] div[class~='ant-select-selector'] { + height: 46px; +} +.wrap___Ww0Ti .itemWarp___LMLjd div[class~='ant-select-single'] div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] { + line-height: 46px; +} +.wrap___Ww0Ti .itemWarp___LMLjd div[class~='ant-select-single'] div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] { + line-height: 46px; +} +.wrap___Ww0Ti .itemWarp___LMLjd div[class~='ant-select-multiple'] div[class~='ant-select-selector'] { + height: 46px; +} +.wrap___Ww0Ti .itemWarp___LMLjd div[class~='ant-select-multiple'] div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'] { + line-height: 46px; +} +.wrap___Ww0Ti .itemWarp___LMLjd span[class~='ant-select-arrow'] { + right: 12px; +} +.wrap___Ww0Ti .addIcon___xmRLl { + color: #2FA34F; + font-size: 14px; +} +.wrap___Ww0Ti .deleteIcon___gjwgO { + color: #E30000; + font-size: 14px; + margin-left: 20px; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ diff --git a/p__Classrooms__Lists__Exercise__Answer__index.async.js b/p__Classrooms__Lists__Exercise__Answer__index.async.js index 2da5adeed6..93e6f6a923 100644 --- a/p__Classrooms__Lists__Exercise__Answer__index.async.js +++ b/p__Classrooms__Lists__Exercise__Answer__index.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[14105,12768,67570],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[14105,4977,12768,67570],{ /***/ 96403: /*!*********************************!*\ @@ -87,53 +87,171 @@ var apiPref = _utils_env__WEBPACK_IMPORTED_MODULE_0__/* ["default"].API_SERVER * /***/ }), -/***/ 92523: -/*!***********************************************************!*\ - !*** ./src/components/CaptureVideo/index.tsx + 1 modules ***! - \***********************************************************/ +/***/ 48559: +/*!**********************************************!*\ + !*** ./src/components/AsyncButton/index.tsx ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ AsyncButton; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_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 antd_es_button_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/button/style */ 29913); +/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd/es/button */ 71577); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __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_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js */ 70215); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + +var _excluded = ["children"]; + + +var AsyncButton = function AsyncButton(_ref) { + var children = _ref.children, + props = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5___default()(_ref, _excluded); + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false), + _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default()(_useState, 2), + btnLoading = _useState2[0], + setBtnLoading = _useState2[1]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(antd_es_button__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()({}, props), {}, { + loading: btnLoading, + onClick: /*#__PURE__*/function () { + var _ref2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().mark(function _callee(e) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + setBtnLoading(true); + _context.next = 4; + return props.onClick(e); + case 4: + setBtnLoading(false); + _context.next = 11; + break; + case 7: + _context.prev = 7; + _context.t0 = _context["catch"](0); + console.error(_context.t0); + setBtnLoading(false); + case 11: + case "end": + return _context.stop(); + } + }, _callee, null, [[0, 7]]); + })); + return function (_x) { + return _ref2.apply(this, arguments); + }; + }(), + children: children + })); +}; + +/***/ }), + +/***/ 4663: +/*!****************************************!*\ + !*** ./src/components/Hooks/index.tsx ***! + \****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "y": function() { return /* binding */ useDisableAction; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +var useDisableAction = function useDisableAction(disable) { + (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () { + if (disable) { + var handleKeyDown = function handleKeyDown(event) { + if (event.key === "F12") { + event.preventDefault(); + // 执行你的自定义行为 + console.log('F12被禁用'); + } + }; + var handleContextmenu = function handleContextmenu(event) { + event.preventDefault(); + }; + document.addEventListener("keydown", handleKeyDown); + document.addEventListener("contextmenu", handleContextmenu); + return function () { + document.removeEventListener("keydown", handleKeyDown); + document.removeEventListener("contextmenu", handleContextmenu); + }; + } + }, [disable]); +}; + +/***/ }), + +/***/ 36579: +/*!*********************************************************!*\ + !*** ./src/components/PreviewAll/index.tsx + 1 modules ***! + \*********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ components_CaptureVideo; } + "Z": function() { return /* binding */ PreviewAll; } }); -// UNUSED EXPORTS: CaptureVideo - +// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules +var style = __webpack_require__(29913); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules +var tooltip_style = __webpack_require__(38390); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(84908); +// 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/antd/es/message/style/index.js + 1 modules -var style = __webpack_require__(14934); -// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules -var message = __webpack_require__(12461); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/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); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); -// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules -var v4 = __webpack_require__(25934); -// EXTERNAL MODULE: ./src/components/UploadFile/index.tsx -var UploadFile = __webpack_require__(82394); -// EXTERNAL MODULE: ./node_modules/ali-oss/dist/aliyun-oss-sdk.js -var aliyun_oss_sdk = __webpack_require__(56448); -var aliyun_oss_sdk_default = /*#__PURE__*/__webpack_require__.n(aliyun_oss_sdk); -;// CONCATENATED MODULE: ./src/components/CaptureVideo/index.less?modules +;// CONCATENATED MODULE: ./src/components/PreviewAll/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var CaptureVideomodules = ({"flex_box_center":"flex_box_center___kVqBh","flex_space_between":"flex_space_between___FMnNq","flex_box_vertical_center":"flex_box_vertical_center___meESe","flex_box_center_end":"flex_box_center_end___KFpOb","flex_box_column":"flex_box_column___GHIK9","video":"video___nn_cD"}); +/* harmony default export */ var PreviewAllmodules = ({"wrp":"wrp___dq7YK","bgBlack":"bgBlack___ARIUV","monaco":"monaco___VnZC3","darkBlue":"darkBlue___UprA9","close":"close___LKoWu","embed":"embed___hvpEJ"}); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + 1 modules +var ArrowDownOutlined = __webpack_require__(77171); +// EXTERNAL MODULE: ./src/components/monaco-editor/index.jsx + 3 modules +var monaco_editor = __webpack_require__(8691); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(29427); +// EXTERNAL MODULE: ./src/service/exercise.ts +var exercise = __webpack_require__(51412); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(59758); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/CaptureVideo/index.tsx +;// CONCATENATED MODULE: ./src/components/PreviewAll/index.tsx @@ -149,521 +267,196 @@ var jsx_runtime = __webpack_require__(85893); -/** -* base64 to file -* @param dataurl base64 content -* @param filename set up a meaningful suffix, or you can set mime type in options -* @returns {File|*} -*/ -var dataURLtoFile = function dataURLtoFile(dataurl, filename) { - var arr = dataurl.split(','); - var mime = arr[0].match(/:(.*?);/)[1]; - var bstr = atob(arr[1]); - var n = bstr.length; - var u8arr = new Uint8Array(n); - while (n--) { - u8arr[n] = bstr.charCodeAt(n); - } - return new Blob([u8arr], { - type: mime - }); // if env support File, also can use this: return new File([u8arr], filename, { type: mime }); -}; -var CaptureVideo = /*#__PURE__*/(0,react.forwardRef)(function (_ref, ref) { - var time = _ref.time, - number = _ref.number, - supportCamera = _ref.supportCamera, - take_photo = _ref.take_photo, - update = _ref.update; - var video = (0,react.useRef)(); - var canvas = (0,react.useRef)(); - var params = (0,_umi_production_exports.useParams)(); - var _useState = (0,react.useState)([]), + + + +/* harmony default export */ var PreviewAll = (function (_ref) { + var _data, _data2, _data3, _data4, _data5, _data6; + var _ref$editOffice = _ref.editOffice, + editOffice = _ref$editOffice === void 0 ? 'view' : _ref$editOffice, + data = _ref.data, + theme = _ref.theme, + type = _ref.type, + filename = _ref.filename, + monacoEditor = _ref.monacoEditor, + className = _ref.className, + style = _ref.style, + close = _ref.close, + onClose = _ref.onClose, + hasMask = _ref.hasMask, + disabledDownload = _ref.disabledDownload, + onImgDimensions = _ref.onImgDimensions; + var _useState = (0,react.useState)('https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt'), _useState2 = slicedToArray_default()(_useState, 2), - phoneStep = _useState2[0], - setPhoneStep = _useState2[1]; - var _useState3 = (0,react.useState)(0), + src = _useState2[0], + setSrc = _useState2[1]; + var _useState3 = (0,react.useState)(""), _useState4 = slicedToArray_default()(_useState3, 2), - status = _useState4[0], - setStatus = _useState4[1]; // 0准备中,1开启失败,2开启成功,3考试结束 - var _useState5 = (0,react.useState)(''), + token = _useState4[0], + setToken = _useState4[1]; + var _useState5 = (0,react.useState)(), _useState6 = slicedToArray_default()(_useState5, 2), - src = _useState6[0], - setSrc = _useState6[1]; - var _useState7 = (0,react.useState)(), - _useState8 = slicedToArray_default()(_useState7, 2), - interval = _useState8[0], - setInter = _useState8[1]; - var _useState9 = (0,react.useState)(0), - _useState10 = slicedToArray_default()(_useState9, 2), - isPause = _useState10[0], - setIsPause = _useState10[1]; //0未开始,1开始计时,2停止计时 + officeData = _useState6[0], + setOfficeData = _useState6[1]; + var officePath = window.ENV === "build" ? "/react/build" : ""; + var apiServer = location.host.startsWith("localhost") ? env/* default.PROXY_SERVER */.Z.PROXY_SERVER : env/* default.API_SERVER */.Z.API_SERVER; + var size; + var unit = 1024 * 1024; + var maxSize = 10 * unit; + var closeRef = (0,react.useRef)(); + if ((_data = data) !== null && _data !== void 0 && _data.startsWith("/api") && type !== "txt") { + data = env/* default.API_SERVER */.Z.API_SERVER + data; + } + if (type === "office") { + size = (0,util/* parseUrl */.en)(data).filesize; + if (size > maxSize) { + type = "other"; + } + } + if (filename) monacoEditor.filename = filename; (0,react.useEffect)(function () { - checkMediaDevices(); - return function () { - handleStop(); - clearTimer(); - }; + var _document$cookie, _document$cookie$repl; + var cookies = (_document$cookie = document.cookie) === null || _document$cookie === void 0 ? void 0 : (_document$cookie$repl = _document$cookie.replace(/\s/g, "")) === null || _document$cookie$repl === void 0 ? void 0 : _document$cookie$repl.split(";"); + cookies === null || cookies === void 0 ? void 0 : cookies.map(function (item) { + var i = item.split("="); + if (i[0] === '_educoder_session') { + setToken(i[1]); + } + }); }, []); (0,react.useEffect)(function () { - // clearTimer() - if (status === 2 && time && number > 0) { - calcPhoto(); - setIsPause(1); - // photograph(); - } - }, [time]); - (0,react.useEffect)(function () { - if (isPause === 0) return; - if (isPause === 2) { - clearInterval(interval); - } else { - var n = 0; - var id = setInterval(function () { - if (phoneStep.includes(n)) { - handlePhoto(); + if (type === "office") getData(); + }, [type, data]); + var getData = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _url, _id, res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + console.log("data:", data); + _url = data; + if (!data.startsWith("http")) { + _url = location.origin + _url; + } + _id = new URL(_url).pathname.split("/").pop(); + _context.next = 6; + return (0,exercise/* setEcsAttachment */.gJ)({ + attachment_id: _id + }); + case 6: + res = _context.sent; + setOfficeData(res); + case 8: + case "end": + return _context.stop(); } - n++; - }, 1000); - setInter(id); - } - return function () { - return clearInterval(interval); + }, _callee); + })); + return function getData() { + return _ref2.apply(this, arguments); }; - }, [isPause]); - (0,react.useImperativeHandle)(ref, function () { - return { - handlePhoto: handlePhoto - }; - }); - var clearTimer = function clearTimer() { - setIsPause(2); - }; - var calcPhoto = function calcPhoto() { - var step = time / number; - var arr = []; - function getRndInteger(min, max) { - return parseInt(Math.floor(Math.random() * (max - min + 1)) + min); - } - new Array(number).fill(0).map(function (item, key) { - if (take_photo) { - arr.push(getRndInteger(step * key, step * (key + 1))); - } else { - if (key == 0) { - arr.push(0); - } else { - arr.push(getRndInteger(step * key, step * (key + 1))); - } - } - }); - phoneStep = arr; - setPhoneStep([].concat(arr)); - console.log(arr); - }; - var checkMediaDevices = function checkMediaDevices() { - if (navigator.mediaDevices === undefined) { - navigator.mediaDevices = {}; - } - if (navigator.mediaDevices.getUserMedia === undefined) { - navigator.mediaDevices.getUserMedia = function (constraints) { - var getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia; - if (!getUserMedia) { - return Promise.reject(new Error('getUserMedia is not implemented in this browser')); - } - return new Promise(function (resolve, reject) { - getUserMedia.call(navigator, constraints, resolve, reject); - }); - }; + }(); + var handleClick = function handleClick() { + if (data.startsWith("http") || data.startsWith('blob:')) { + handleDown(); + return; } - navigator.mediaDevices.getUserMedia({ - video: { - width: 640, - height: 480 - } - }).then(function (stream) { - supportCamera && supportCamera(2); - setStatus(2); - if ("srcObject" in video.current) { - video.current.srcObject = stream; - } else { - video.current.src = window.URL.createObjectURL(stream); - } - video.current.onloadedmetadata = function (e) { - video.current.play(); - }; - video.current.addEventListener('ended', function () { - //结束 - console.log("播放结束"); - clearTimer(); - message/* default.error */.ZP.error({ - content: "您已经关闭了摄像头,请在10秒钟内恢复摄像头,否则将推出考试", - duration: 10, - key: 9998 - }); - }, false); - })["catch"](function (err) { - setStatus(1); - supportCamera && supportCamera(1); - // 错误信息,以及用户未授权 - if (err.message === "Permission denied" || err.name === 'NotAllowedError') { - message/* default.error */.ZP.error('您已拒绝了获取摄像头'); - } else { - message/* default.error */.ZP.error('摄像头获取失败,或您已拒绝了获取摄像头'); - } - console.log("errname: " + err.name); - console.log("err: " + err.message); - }); - }; - var handlePhoto = function handlePhoto() { - try { - canvas.current.width = video.current.videoWidth; - canvas.current.height = video.current.videoHeight; - var context = canvas.current.getContext('2d'); - context.drawImage(video.current, 0, 0, canvas.current.width, canvas.current.height); - setSrc(canvas.current.toDataURL('image/png')); - uploadFile(canvas.current.toDataURL('image/png')); - } catch (e) {} + (0,util/* downloadFile */.Sv)(filename || 'educoder', data, filename); }; - var handleStop = function handleStop() { - try { - var stream = video.current.srcObject; - var tracks = stream.getTracks(); - tracks.forEach(function (track) { - track.stop(); - }); - video.current.srcObject = null; - } catch (e) {} + var handleDown = function handleDown() { + (0,util/* downLoadLink */.Nd)(filename || 'educoder', decodeURIComponent(data)); }; - var uploadFile = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(file) { - var _res$data, _res$data2, _res$data3, _res$data4, _res$data5, _res$data6, _res$data7; - var res, name, client, imgfile; - 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/buckets/get_upload_token.json', { - method: "get" - }); - case 2: - res = _context.sent; - res.data = JSON.parse((0,UploadFile/* decrypt */.pe)(res.data)); - name = (0,v4/* default */.Z)(); - client = new (aliyun_oss_sdk_default())({ - endpoint: res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.end_point, - region: res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.region, - accessKeyId: res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.access_key_id, - accessKeySecret: res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.access_key_secret, - bucket: res === null || res === void 0 ? void 0 : (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.bucket, - stsToken: res === null || res === void 0 ? void 0 : (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.security_token - }); - imgfile = dataURLtoFile(file, name); - client.multipartUpload("".concat(name, ".png"), imgfile, { - timeout: 10 * 1000, - partSize: 10485760, - callback: { - url: res === null || res === void 0 ? void 0 : (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.callback_url, - host: res === null || res === void 0 ? void 0 : res.data.bucket_host, - body: 'bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&login=' + params.login + '&container_id=' + params.categoryId + '&container_type=Exercise' - } - }).then(function (result) { - console.log("result:", result); - })["catch"](function (err) { - console.log("err:", err); - }); - case 8: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function uploadFile(_x) { - return _ref2.apply(this, arguments); - }; - }(); - return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: status !== 3 && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: CaptureVideomodules.video, - id: "screenshot", - children: [status === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..." - }), status === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25" - }), status === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("video", { - width: "288", - ref: video, - autoPlay: true - }), /*#__PURE__*/(0,jsx_runtime.jsx)("canvas", { - style: { - display: "none" + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: objectSpread2_default()({}, style || {}), + className: "".concat(hasMask && PreviewAllmodules.bgBlack, " ").concat(!!type ? PreviewAllmodules.wrp : "hide"), + children: [close && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: PreviewAllmodules.close, + ref: closeRef, + children: [!!onImgDimensions && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8", + getPopupContainer: function getPopupContainer() { + return closeRef.current; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + onClose(); + onImgDimensions(); }, - ref: canvas - })] + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-yulanpizhu" + }) + }) + }), !disabledDownload && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6", + getPopupContainer: function getPopupContainer() { + return closeRef.current; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: handleDown, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-quxiaozhiding" + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5173\u95ED", + getPopupContainer: function getPopupContainer() { + return closeRef.current; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "", + onClick: onClose, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-guanbi1" + }) + }) })] - }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(PreviewAllmodules[className], " ").concat(className, " ").concat(PreviewAllmodules.monaco, " ").concat(type === "txt" ? "show" : "hide"), + children: type === "txt" && /*#__PURE__*/(0,jsx_runtime.jsx)(monaco_editor/* default */.ZP, objectSpread2_default()({}, monacoEditor)) + }), type === "audio" && /*#__PURE__*/(0,jsx_runtime.jsx)("audio", { + src: "".concat(((_data2 = data) === null || _data2 === void 0 ? void 0 : _data2.indexOf("http://")) > -1 || ((_data3 = data) === null || _data3 === void 0 ? void 0 : _data3.indexOf("https://")) > -1 ? "" : "data:audio/mp3;base64,").concat(data), + autoPlay: true + }), type === "video" && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: ((_data4 = data) === null || _data4 === void 0 ? void 0 : _data4.indexOf("http")) > -1 ? /*#__PURE__*/(0,jsx_runtime.jsx)("video", { + controls: true, + src: "".concat(data), + autoPlay: true + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("video", { + controls: true, + src: "data:video/mp4;base64,".concat(data), + autoPlay: true + }) + }), type === 'office' && officeData && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { + src: "".concat(officePath, "/office.html?key=").concat(officeData.key, "&url=").concat(apiServer + officeData.url, "&callbackUrl=").concat(apiServer + officeData.callbackUrl, "&fileType=").concat(officeData.fileType, "&title=").concat(officeData.title, "&model=").concat(editOffice, "&officeServer=").concat(env/* default.ONLYOFFICE */.Z.ONLYOFFICE, "&disabledDownload=").concat(!!disabledDownload) + }), type === 'html' && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { + src: data + '&disposition=inline' + }), type === 'pdf' && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { + src: "".concat(officePath, "/js/pdfview/index.html?url=").concat(data, "&disabledDownload=").concat(!!disabledDownload) + }) // + , type === "image" && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: "".concat(((_data5 = data) === null || _data5 === void 0 ? void 0 : _data5.indexOf("http://")) > -1 || ((_data6 = data) === null || _data6 === void 0 ? void 0 : _data6.indexOf("https://")) > -1 ? "" : "data:image/png;base64,").concat(data) + }), type === "other" && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + type: "primary", + size: "large", + onClick: handleClick, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ArrowDownOutlined/* default */.Z, {}), "\u70B9\u51FB\u4E0B\u8F7D"] + }) + }), type === "download" && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + type: "primary", + size: "large", + onClick: handleClick, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ArrowDownOutlined/* default */.Z, {}), "\u70B9\u51FB\u4E0B\u8F7D"] + })] }); }); -/* harmony default export */ var components_CaptureVideo = (CaptureVideo); /***/ }), -/***/ 36579: +/***/ 12768: /*!*********************************************************!*\ - !*** ./src/components/PreviewAll/index.tsx + 1 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ PreviewAll; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -var style = __webpack_require__(29913); -// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js -var es_button = __webpack_require__(71577); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules -var tooltip_style = __webpack_require__(38390); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(84908); -// 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/components/PreviewAll/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var PreviewAllmodules = ({"wrp":"wrp___dq7YK","bgBlack":"bgBlack___ARIUV","monaco":"monaco___VnZC3","darkBlue":"darkBlue___UprA9","close":"close___LKoWu","embed":"embed___hvpEJ"}); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + 1 modules -var ArrowDownOutlined = __webpack_require__(77171); -// EXTERNAL MODULE: ./src/components/monaco-editor/index.jsx + 3 modules -var monaco_editor = __webpack_require__(8691); -// EXTERNAL MODULE: ./src/utils/util.tsx -var util = __webpack_require__(29427); -// EXTERNAL MODULE: ./src/service/exercise.ts -var exercise = __webpack_require__(51412); -// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules -var env = __webpack_require__(59758); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/PreviewAll/index.tsx - - - - - - - - - - - - - - - - - - - -/* harmony default export */ var PreviewAll = (function (_ref) { - var _data, _data2, _data3, _data4, _data5, _data6; - var _ref$editOffice = _ref.editOffice, - editOffice = _ref$editOffice === void 0 ? 'view' : _ref$editOffice, - data = _ref.data, - theme = _ref.theme, - type = _ref.type, - filename = _ref.filename, - monacoEditor = _ref.monacoEditor, - className = _ref.className, - style = _ref.style, - close = _ref.close, - onClose = _ref.onClose, - hasMask = _ref.hasMask, - disabledDownload = _ref.disabledDownload, - onImgDimensions = _ref.onImgDimensions; - var _useState = (0,react.useState)('https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt'), - _useState2 = slicedToArray_default()(_useState, 2), - src = _useState2[0], - setSrc = _useState2[1]; - var _useState3 = (0,react.useState)(""), - _useState4 = slicedToArray_default()(_useState3, 2), - token = _useState4[0], - setToken = _useState4[1]; - var _useState5 = (0,react.useState)(), - _useState6 = slicedToArray_default()(_useState5, 2), - officeData = _useState6[0], - setOfficeData = _useState6[1]; - var officePath = window.ENV === "build" ? "/react/build" : ""; - var apiServer = location.host.startsWith("localhost") ? env/* default.PROXY_SERVER */.Z.PROXY_SERVER : env/* default.API_SERVER */.Z.API_SERVER; - var size; - var unit = 1024 * 1024; - var maxSize = 10 * unit; - var closeRef = (0,react.useRef)(); - if ((_data = data) !== null && _data !== void 0 && _data.startsWith("/api") && type !== "txt") { - data = env/* default.API_SERVER */.Z.API_SERVER + data; - } - if (type === "office") { - size = (0,util/* parseUrl */.en)(data).filesize; - if (size > maxSize) { - type = "other"; - } - } - if (filename) monacoEditor.filename = filename; - (0,react.useEffect)(function () { - var _document$cookie, _document$cookie$repl; - var cookies = (_document$cookie = document.cookie) === null || _document$cookie === void 0 ? void 0 : (_document$cookie$repl = _document$cookie.replace(/\s/g, "")) === null || _document$cookie$repl === void 0 ? void 0 : _document$cookie$repl.split(";"); - cookies === null || cookies === void 0 ? void 0 : cookies.map(function (item) { - var i = item.split("="); - if (i[0] === '_educoder_session') { - setToken(i[1]); - } - }); - }, []); - (0,react.useEffect)(function () { - if (type === "office") getData(); - }, [type, data]); - var getData = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _url, _id, res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - console.log("data:", data); - _url = data; - if (!data.startsWith("http")) { - _url = location.origin + _url; - } - _id = new URL(_url).pathname.split("/").pop(); - _context.next = 6; - return (0,exercise/* setEcsAttachment */.gJ)({ - attachment_id: _id - }); - case 6: - res = _context.sent; - setOfficeData(res); - case 8: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function getData() { - return _ref2.apply(this, arguments); - }; - }(); - var handleClick = function handleClick() { - if (data.startsWith("http") || data.startsWith('blob:')) { - handleDown(); - return; - } - (0,util/* downloadFile */.Sv)(filename || 'educoder', data, filename); - }; - var handleDown = function handleDown() { - (0,util/* downLoadLink */.Nd)(filename || 'educoder', decodeURIComponent(data)); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: objectSpread2_default()({}, style || {}), - className: "".concat(hasMask && PreviewAllmodules.bgBlack, " ").concat(!!type ? PreviewAllmodules.wrp : "hide"), - children: [close && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: PreviewAllmodules.close, - ref: closeRef, - children: [!!onImgDimensions && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8", - getPopupContainer: function getPopupContainer() { - return closeRef.current; - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - onClose(); - onImgDimensions(); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "icon-yulanpizhu" - }) - }) - }), !disabledDownload && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6", - getPopupContainer: function getPopupContainer() { - return closeRef.current; - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: handleDown, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "icon-quxiaozhiding" - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: "\u5173\u95ED", - getPopupContainer: function getPopupContainer() { - return closeRef.current; - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "", - onClick: onClose, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "icon-guanbi1" - }) - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(PreviewAllmodules[className], " ").concat(className, " ").concat(PreviewAllmodules.monaco, " ").concat(type === "txt" ? "show" : "hide"), - children: type === "txt" && /*#__PURE__*/(0,jsx_runtime.jsx)(monaco_editor/* default */.ZP, objectSpread2_default()({}, monacoEditor)) - }), type === "audio" && /*#__PURE__*/(0,jsx_runtime.jsx)("audio", { - src: "".concat(((_data2 = data) === null || _data2 === void 0 ? void 0 : _data2.indexOf("http://")) > -1 || ((_data3 = data) === null || _data3 === void 0 ? void 0 : _data3.indexOf("https://")) > -1 ? "" : "data:audio/mp3;base64,").concat(data), - autoPlay: true - }), type === "video" && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: ((_data4 = data) === null || _data4 === void 0 ? void 0 : _data4.indexOf("http")) > -1 ? /*#__PURE__*/(0,jsx_runtime.jsx)("video", { - controls: true, - src: "".concat(data), - autoPlay: true - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("video", { - controls: true, - src: "data:video/mp4;base64,".concat(data), - autoPlay: true - }) - }), type === 'office' && officeData && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { - src: "".concat(officePath, "/office.html?key=").concat(officeData.key, "&url=").concat(apiServer + officeData.url, "&callbackUrl=").concat(apiServer + officeData.callbackUrl, "&fileType=").concat(officeData.fileType, "&title=").concat(officeData.title, "&model=").concat(editOffice, "&officeServer=").concat(env/* default.ONLYOFFICE */.Z.ONLYOFFICE, "&disabledDownload=").concat(!!disabledDownload) - }), type === 'html' && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { - src: data + '&disposition=inline' - }), type === 'pdf' && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { - src: "".concat(officePath, "/js/pdfview/index.html?url=").concat(data, "&disabledDownload=").concat(!!disabledDownload) - }) // - , type === "image" && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - src: "".concat(((_data5 = data) === null || _data5 === void 0 ? void 0 : _data5.indexOf("http://")) > -1 || ((_data6 = data) === null || _data6 === void 0 ? void 0 : _data6.indexOf("https://")) > -1 ? "" : "data:image/png;base64,").concat(data) - }), type === "other" && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - type: "primary", - size: "large", - onClick: handleClick, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ArrowDownOutlined/* default */.Z, {}), "\u70B9\u51FB\u4E0B\u8F7D"] - }) - }), type === "download" && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - type: "primary", - size: "large", - onClick: handleClick, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ArrowDownOutlined/* default */.Z, {}), "\u70B9\u51FB\u4E0B\u8F7D"] - })] - }); -}); - -/***/ }), - -/***/ 12768: -/*!*********************************************************!*\ - !*** ./src/components/RenderHtml/index.tsx + 1 modules ***! + !*** ./src/components/RenderHtml/index.tsx + 1 modules ***! \*********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -2667,7 +2460,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -3033,132 +2826,409 @@ function useInterval(callback, delay) { (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]); -} - -/***/ }), - -/***/ 84926: -/*!**************************************************************************!*\ - !*** ./src/pages/Classrooms/Lists/Exercise/Answer/index.tsx + 9 modules ***! - \**************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -// ESM COMPAT FLAG -__webpack_require__.r(__webpack_exports__); - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "default": function() { return /* binding */ Exercise_Answer; } + + // 建立 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]); +} + +/***/ }), + +/***/ 97343: +/*!***************************************************************************!*\ + !*** ./src/pages/Classrooms/Lists/Exercise/Answer/index.tsx + 14 modules ***! + \***************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +// ESM COMPAT FLAG +__webpack_require__.r(__webpack_exports__); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "default": function() { return /* binding */ Exercise_Answer; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules +var style = __webpack_require__(29913); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/alert/style/index.js + 1 modules +var alert_style = __webpack_require__(91750); +// EXTERNAL MODULE: ./node_modules/antd/es/alert/index.js + 1 modules +var es_alert = __webpack_require__(14670); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules +var tooltip_style = __webpack_require__(38390); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(84908); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js + 1 modules +var checkbox_style = __webpack_require__(82000); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules +var es_checkbox = __webpack_require__(32808); +// EXTERNAL MODULE: ./node_modules/antd/es/spin/style/index.js + 1 modules +var spin_style = __webpack_require__(22536); +// EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js +var spin = __webpack_require__(11382); +// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules +var radio_style = __webpack_require__(83822); +// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules +var es_radio = __webpack_require__(29924); +// 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/antd/es/row/style/index.js +var row_style = __webpack_require__(13062); +// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js +var row = __webpack_require__(71230); +// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js +var col_style = __webpack_require__(89032); +// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js +var col = __webpack_require__(15746); +// EXTERNAL MODULE: ./node_modules/antd/es/progress/style/index.js + 1 modules +var progress_style = __webpack_require__(57273); +// EXTERNAL MODULE: ./node_modules/antd/es/progress/index.js + 10 modules +var es_progress = __webpack_require__(97910); +// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules +var message_style = __webpack_require__(14934); +// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules +var message = __webpack_require__(12461); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js + 1 modules +var input_style = __webpack_require__(69463); +// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules +var input = __webpack_require__(75008); +// 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/antd/es/modal/style/index.js + 1 modules +var modal_style = __webpack_require__(35611); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules +var es_modal = __webpack_require__(85402); +// 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/antd/es/form/style/index.js + 1 modules +var form_style = __webpack_require__(75627); +// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules +var es_form = __webpack_require__(51018); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(70215); +var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); +// EXTERNAL MODULE: ./node_modules/antd/es/statistic/style/index.js + 1 modules +var statistic_style = __webpack_require__(14558); +// EXTERNAL MODULE: ./node_modules/antd/es/statistic/index.js + 4 modules +var statistic = __webpack_require__(74763); +// 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); +// EXTERNAL MODULE: ./node_modules/qrcode.react/lib/index.js +var lib = __webpack_require__(79361); +var lib_default = /*#__PURE__*/__webpack_require__.n(lib); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/MinusSquareOutlined.js +var MinusSquareOutlined = __webpack_require__(68658); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js +var PlusSquareOutlined = __webpack_require__(30723); +// EXTERNAL MODULE: ./src/utils/fetch.ts +var fetch = __webpack_require__(84519); +// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules +var v4 = __webpack_require__(25934); +// EXTERNAL MODULE: ./src/components/UploadFile/index.tsx +var UploadFile = __webpack_require__(82394); +// EXTERNAL MODULE: ./node_modules/ali-oss/dist/aliyun-oss-sdk.js +var aliyun_oss_sdk = __webpack_require__(56448); +var aliyun_oss_sdk_default = /*#__PURE__*/__webpack_require__.n(aliyun_oss_sdk); +;// CONCATENATED MODULE: ./src/components/CaptureVideo/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var CaptureVideomodules = ({"flex_box_center":"flex_box_center___kVqBh","flex_space_between":"flex_space_between___FMnNq","flex_box_vertical_center":"flex_box_vertical_center___meESe","flex_box_center_end":"flex_box_center_end___KFpOb","flex_box_column":"flex_box_column___GHIK9","video":"video___nn_cD"}); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/CaptureVideo/index.tsx + + + + + + + + + + + + + + + +/** +* base64 to file +* @param dataurl base64 content +* @param filename set up a meaningful suffix, or you can set mime type in options +* @returns {File|*} +*/ +var dataURLtoFile = function dataURLtoFile(dataurl, filename) { + var arr = dataurl.split(','); + var mime = arr[0].match(/:(.*?);/)[1]; + var bstr = atob(arr[1]); + var n = bstr.length; + var u8arr = new Uint8Array(n); + while (n--) { + u8arr[n] = bstr.charCodeAt(n); + } + return new Blob([u8arr], { + type: mime + }); // if env support File, also can use this: return new File([u8arr], filename, { type: mime }); +}; + +var CaptureVideo = /*#__PURE__*/(0,react.forwardRef)(function (_ref, ref) { + var time = _ref.time, + number = _ref.number, + supportCamera = _ref.supportCamera, + take_photo = _ref.take_photo, + update = _ref.update; + var video = (0,react.useRef)(); + var canvas = (0,react.useRef)(); + var params = (0,_umi_production_exports.useParams)(); + var _useState = (0,react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + phoneStep = _useState2[0], + setPhoneStep = _useState2[1]; + var _useState3 = (0,react.useState)(0), + _useState4 = slicedToArray_default()(_useState3, 2), + status = _useState4[0], + setStatus = _useState4[1]; // 0准备中,1开启失败,2开启成功,3考试结束 + var _useState5 = (0,react.useState)(''), + _useState6 = slicedToArray_default()(_useState5, 2), + src = _useState6[0], + setSrc = _useState6[1]; + var _useState7 = (0,react.useState)(), + _useState8 = slicedToArray_default()(_useState7, 2), + interval = _useState8[0], + setInter = _useState8[1]; + var _useState9 = (0,react.useState)(0), + _useState10 = slicedToArray_default()(_useState9, 2), + isPause = _useState10[0], + setIsPause = _useState10[1]; //0未开始,1开始计时,2停止计时 + (0,react.useEffect)(function () { + checkMediaDevices(); + return function () { + handleStop(); + clearTimer(); + }; + }, []); + (0,react.useEffect)(function () { + // clearTimer() + if (status === 2 && time && number > 0) { + calcPhoto(); + setIsPause(1); + // photograph(); + } + }, [time]); + (0,react.useEffect)(function () { + if (isPause === 0) return; + if (isPause === 2) { + clearInterval(interval); + } else { + var n = 0; + var id = setInterval(function () { + if (phoneStep.includes(n)) { + handlePhoto(); + } + n++; + }, 1000); + setInter(id); + } + return function () { + return clearInterval(interval); + }; + }, [isPause]); + (0,react.useImperativeHandle)(ref, function () { + return { + handlePhoto: handlePhoto + }; + }); + var clearTimer = function clearTimer() { + setIsPause(2); + }; + var calcPhoto = function calcPhoto() { + var step = time / number; + var arr = []; + function getRndInteger(min, max) { + return parseInt(Math.floor(Math.random() * (max - min + 1)) + min); + } + new Array(number).fill(0).map(function (item, key) { + if (take_photo) { + arr.push(getRndInteger(step * key, step * (key + 1))); + } else { + if (key == 0) { + arr.push(0); + } else { + arr.push(getRndInteger(step * key, step * (key + 1))); + } + } + }); + phoneStep = arr; + setPhoneStep([].concat(arr)); + console.log(arr); + }; + var checkMediaDevices = function checkMediaDevices() { + if (navigator.mediaDevices === undefined) { + navigator.mediaDevices = {}; + } + if (navigator.mediaDevices.getUserMedia === undefined) { + navigator.mediaDevices.getUserMedia = function (constraints) { + var getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia; + if (!getUserMedia) { + return Promise.reject(new Error('getUserMedia is not implemented in this browser')); + } + return new Promise(function (resolve, reject) { + getUserMedia.call(navigator, constraints, resolve, reject); + }); + }; + } + navigator.mediaDevices.getUserMedia({ + video: { + width: 200, + height: 113 + } + }).then(function (stream) { + supportCamera && supportCamera(2); + setStatus(2); + if ("srcObject" in video.current) { + video.current.srcObject = stream; + } else { + video.current.src = window.URL.createObjectURL(stream); + } + video.current.onloadedmetadata = function (e) { + video.current.play(); + }; + video.current.addEventListener('ended', function () { + //结束 + console.log("播放结束"); + clearTimer(); + message/* default.error */.ZP.error({ + content: "您已经关闭了摄像头,请在10秒钟内恢复摄像头,否则将推出考试", + duration: 10, + key: 9998 + }); + }, false); + })["catch"](function (err) { + setStatus(1); + supportCamera && supportCamera(1); + // 错误信息,以及用户未授权 + if (err.message === "Permission denied" || err.name === 'NotAllowedError') { + message/* default.error */.ZP.error('您已拒绝了获取摄像头'); + } else { + message/* default.error */.ZP.error('摄像头获取失败,或您已拒绝了获取摄像头'); + } + console.log("errname: " + err.name); + console.log("err: " + err.message); + }); + }; + var handlePhoto = function handlePhoto() { + try { + canvas.current.width = video.current.videoWidth; + canvas.current.height = video.current.videoHeight; + var context = canvas.current.getContext('2d'); + context.drawImage(video.current, 0, 0, canvas.current.width, canvas.current.height); + setSrc(canvas.current.toDataURL('image/png')); + uploadFile(canvas.current.toDataURL('image/png')); + } catch (e) {} + }; + var handleStop = function handleStop() { + try { + var stream = video.current.srcObject; + var tracks = stream.getTracks(); + tracks.forEach(function (track) { + track.stop(); + }); + video.current.srcObject = null; + } catch (e) {} + }; + var uploadFile = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(file) { + var _res$data, _res$data2, _res$data3, _res$data4, _res$data5, _res$data6, _res$data7; + var res, name, client, imgfile; + 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/buckets/get_upload_token.json', { + method: "get" + }); + case 2: + res = _context.sent; + res.data = JSON.parse((0,UploadFile/* decrypt */.pe)(res.data)); + name = (0,v4/* default */.Z)(); + client = new (aliyun_oss_sdk_default())({ + endpoint: res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.end_point, + region: res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.region, + accessKeyId: res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.access_key_id, + accessKeySecret: res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.access_key_secret, + bucket: res === null || res === void 0 ? void 0 : (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.bucket, + stsToken: res === null || res === void 0 ? void 0 : (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.security_token + }); + imgfile = dataURLtoFile(file, name); + client.multipartUpload("".concat(name, ".png"), imgfile, { + timeout: 10 * 1000, + partSize: 10485760, + callback: { + url: res === null || res === void 0 ? void 0 : (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.callback_url, + host: res === null || res === void 0 ? void 0 : res.data.bucket_host, + body: 'bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&login=' + params.login + '&container_id=' + params.categoryId + '&container_type=Exercise' + } + }).then(function (result) { + console.log("result:", result); + })["catch"](function (err) { + console.log("err:", err); + }); + case 8: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function uploadFile(_x) { + return _ref2.apply(this, arguments); + }; + }(); + return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: status !== 3 && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: CaptureVideomodules.video, + id: "screenshot", + children: [status === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..." + }), status === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25" + }), status === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("video", { + width: "200", + ref: video, + autoPlay: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)("canvas", { + style: { + display: "none" + }, + ref: canvas + })] + })] + }) + }); }); - -// EXTERNAL MODULE: ./node_modules/antd/es/divider/style/index.js + 1 modules -var style = __webpack_require__(98541); -// EXTERNAL MODULE: ./node_modules/antd/es/divider/index.js -var divider = __webpack_require__(27049); -// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules -var breadcrumb_style = __webpack_require__(63102); -// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/index.js + 3 modules -var breadcrumb = __webpack_require__(58492); -// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js -var row_style = __webpack_require__(13062); -// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js -var row = __webpack_require__(71230); -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -var button_style = __webpack_require__(29913); -// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js -var es_button = __webpack_require__(71577); -// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js -var col_style = __webpack_require__(89032); -// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js -var col = __webpack_require__(15746); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/style/index.js + 1 modules -var tooltip_style = __webpack_require__(38390); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(84908); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js + 1 modules -var checkbox_style = __webpack_require__(82000); -// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules -var es_checkbox = __webpack_require__(32808); -// EXTERNAL MODULE: ./node_modules/antd/es/spin/style/index.js + 1 modules -var spin_style = __webpack_require__(22536); -// EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js -var spin = __webpack_require__(11382); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/style/index.js + 1 modules -var radio_style = __webpack_require__(83822); -// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 4 modules -var es_radio = __webpack_require__(29924); -// EXTERNAL MODULE: ./node_modules/antd/es/progress/style/index.js + 1 modules -var progress_style = __webpack_require__(57273); -// EXTERNAL MODULE: ./node_modules/antd/es/progress/index.js + 10 modules -var es_progress = __webpack_require__(97910); -// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules -var message_style = __webpack_require__(14934); -// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules -var message = __webpack_require__(12461); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/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/antd/es/modal/style/index.js + 1 modules -var modal_style = __webpack_require__(35611); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var es_modal = __webpack_require__(85402); -// EXTERNAL MODULE: ./node_modules/antd/es/form/style/index.js + 1 modules -var form_style = __webpack_require__(75627); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(51018); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); -// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js + 1 modules -var input_style = __webpack_require__(69463); -// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules -var input = __webpack_require__(75008); -// EXTERNAL MODULE: ./node_modules/antd/es/statistic/style/index.js + 1 modules -var statistic_style = __webpack_require__(14558); -// EXTERNAL MODULE: ./node_modules/antd/es/statistic/index.js + 4 modules -var statistic = __webpack_require__(74763); -// 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); -// EXTERNAL MODULE: ./node_modules/qrcode.react/lib/index.js -var lib = __webpack_require__(79361); -var lib_default = /*#__PURE__*/__webpack_require__.n(lib); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.js -var ClockCircleOutlined = __webpack_require__(30071); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/MinusSquareOutlined.js -var MinusSquareOutlined = __webpack_require__(68658); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js -var PlusSquareOutlined = __webpack_require__(30723); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + 1 modules -var ArrowLeftOutlined = __webpack_require__(82826); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/DeliveredProcedureOutlined.js + 1 modules -var DeliveredProcedureOutlined = __webpack_require__(95604); -// EXTERNAL MODULE: ./src/components/CaptureVideo/index.tsx + 1 modules -var CaptureVideo = __webpack_require__(92523); +/* harmony default export */ var components_CaptureVideo = (CaptureVideo); // EXTERNAL MODULE: ./src/components/Exercise/recordScreen.tsx + 3 modules var recordScreen = __webpack_require__(78806); // EXTERNAL MODULE: ./node_modules/moment/moment.js @@ -3166,7 +3236,7 @@ var moment = __webpack_require__(30381); var moment_default = /*#__PURE__*/__webpack_require__.n(moment); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var Answermodules = ({"flex_box_center":"flex_box_center___ariLt","flex_space_between":"flex_space_between___MC6sH","flex_box_vertical_center":"flex_box_vertical_center___tJHfy","flex_box_center_end":"flex_box_center_end___AfB_t","flex_box_column":"flex_box_column___xX4Fj","bg":"bg___nHBEZ","answerWrp":"answerWrp___jZB_z","title":"title___rj6Q0","questionIcons":"questionIcons___XoGYC","green":"green___iIYnV","orange":"orange___EIhiL","greenTip":"greenTip___WwiUh","redTip":"redTip___aWSt4","orangeTip":"orangeTip___j5g_H","pollDesc":"pollDesc___yDT2Q","answered":"answered___d2hE7","unanswer":"unanswer___AdOhE","anchor":"anchor___z3CaP","answerFlag":"answerFlag___wwTKa","flagActive":"flagActive___piG3D","flagHalf":"flagHalf___E29dd","answerStudentFlag":"answerStudentFlag___HRVt8","answerStudentActive":"answerStudentActive___kM6r4","questionItem":"questionItem___q6Hgu","itemType":"itemType___pPqzT","itemFlag":"itemFlag___j5TSr","answerWrap":"answerWrap___G9dnn","answerSubjective":"answerSubjective___LRVKJ","otherInput":"otherInput___SxNAw","submitButton":"submitButton___zPo7H","randomFlag":"randomFlag___TOZ2H","answerTrue":"answerTrue___fgIW0","answerFalse":"answerFalse___gAQD8","answerHalf":"answerHalf___h40sX","renderHtml":"renderHtml___UerV1","simpleText":"simpleText___ZKx7o","answerYes":"answerYes___AA0oM","answerNo":"answerNo___gMGLy","answerInfo":"answerInfo___tB4Wz","answerSheet":"answerSheet___yhxK1","active":"active___WSsrt","countDown":"countDown___OzcWL","red":"red___Mge1h","fold":"fold___id0EJ","cardList":"cardList___xKhMX","iframe":"iframe___pMMQx","eduTip":"eduTip___hXWhK","eduQrcode":"eduQrcode____qxcx","eduVideo":"eduVideo___mufWJ","eduUsername":"eduUsername___tiufh","startAnswer":"startAnswer___AA7n5","eduSubmit":"eduSubmit___UPIsJ","eduTitle":"eduTitle___jCJrO","wrpAnswer":"wrpAnswer___AVK1Y","simpleMd":"simpleMd___ZGbXj"}); +/* harmony default export */ var Answermodules = ({"flex_box_center":"flex_box_center___ariLt","flex_space_between":"flex_space_between___MC6sH","flex_box_vertical_center":"flex_box_vertical_center___tJHfy","flex_box_center_end":"flex_box_center_end___AfB_t","flex_box_column":"flex_box_column___xX4Fj","bg":"bg___nHBEZ","wrapper":"wrapper___TZKl8","exerciseAlert":"exerciseAlert___QUMwm","title":"title___rj6Q0","content":"content___Te7Wz","baseMargin":"baseMargin___BRmsh","noWrap":"noWrap___X6AS3","singleItem":"singleItem___GkaDR","questionIcons":"questionIcons___XoGYC","green":"green___iIYnV","orange":"orange___EIhiL","greenTip":"greenTip___WwiUh","redTip":"redTip___aWSt4","orangeTip":"orangeTip___j5g_H","pollDesc":"pollDesc___yDT2Q","answered":"answered___d2hE7","unanswer":"unanswer___AdOhE","anchor":"anchor___z3CaP","answerFlag":"answerFlag___wwTKa","flagActive":"flagActive___piG3D","flagHalf":"flagHalf___E29dd","answerStudentFlag":"answerStudentFlag___HRVt8","answerStudentActive":"answerStudentActive___kM6r4","questionItem":"questionItem___q6Hgu","questionScore":"questionScore___RW5tm","itemType":"itemType___pPqzT","itemFlag":"itemFlag___j5TSr","answerWrap":"answerWrap___G9dnn","answerSubjective":"answerSubjective___LRVKJ","otherInput":"otherInput___SxNAw","submitButton":"submitButton___zPo7H","randomFlag":"randomFlag___TOZ2H","answerTrue":"answerTrue___fgIW0","answerFalse":"answerFalse___gAQD8","answerHalf":"answerHalf___h40sX","renderHtml":"renderHtml___UerV1","simpleText":"simpleText___ZKx7o","answerYes":"answerYes___AA0oM","answerNo":"answerNo___gMGLy","answerInfo":"answerInfo___tB4Wz","answerProgress":"answerProgress___CbmXy","answerSheet":"answerSheet___yhxK1","qindex":"qindex___XuKA8","markIcon":"markIcon___ZTkqb","active":"active___WSsrt","partialActive":"partialActive___K6lsa","selected":"selected___grFyM","countDown":"countDown___OzcWL","cnText":"cnText___TvFjV","red":"red___Mge1h","refreshBtn":"refreshBtn___lK1MX","fold":"fold___id0EJ","cardList":"cardList___xKhMX","withQrcode":"withQrcode___qphZK","iframe":"iframe___pMMQx","eduTip":"eduTip___hXWhK","eduQrcode":"eduQrcode____qxcx","eduVideo":"eduVideo___mufWJ","eduUsername":"eduUsername___tiufh","startAnswer":"startAnswer___AA7n5","eduSubmit":"eduSubmit___UPIsJ","eduTitle":"eduTitle___jCJrO","wrpAnswer":"wrpAnswer___AVK1Y","simpleMd":"simpleMd___ZGbXj","videomodal":"videomodal___bYarH","mainPart":"mainPart___Fqvw7","userInfoText":"userInfoText___nqL8p","answerSheetBottom":"answerSheetBottom___yXf5u","tooltipWrap":"tooltipWrap___AxG9B","leftPart":"leftPart___P4Ook","rightPart":"rightPart___De4P3","questionPart":"questionPart___GTq66","questionTypeTitle":"questionTypeTitle___r6Fo9","questionTypeInfo":"questionTypeInfo___JfpWv","toIframeBtn":"toIframeBtn___gRKtn","bottom":"bottom___coSlv","markBtn":"markBtn___ZCLGF","changeButton":"changeButton___sBTjl","prevBtn":"prevBtn___lgCPG","analysisWrap":"analysisWrap___JoCnb","greyBg":"greyBg___vgesc","fixHeader":"fixHeader___RoNxE","exerciseTitle":"exerciseTitle___Dtp56","commitModal":"commitModal___zqvNA","commitItem":"commitItem___mjYF6","commitInfoLabel":"commitInfoLabel___KtIjW","commitInfoValue":"commitInfoValue___DCyRn","cameraHeader":"cameraHeader___Pqhwb"}); // EXTERNAL MODULE: ./src/utils/util.tsx var util = __webpack_require__(29427); // EXTERNAL MODULE: ./src/components/Exercise/ip.tsx @@ -3183,8 +3253,6 @@ var shixuns = __webpack_require__(56088); var RenderHtml = __webpack_require__(12768); // EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules var markdown_editor = __webpack_require__(55373); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/Simple.tsx @@ -3194,11 +3262,22 @@ var jsx_runtime = __webpack_require__(85893); + + + + + + +var scoreStatusMapping = { + 0: 'c-red-ee4', + 1: 'c-green' +}; var Simple = function Simple(_ref) { - var _answerData$exercise, _item$user_answer, _item$user_answer2, _item$standard_answer; + var _answerData$exercise, _answerData$exercise2, _answerData$exercise3, _item$user_answer, _item$user_answer2, _item$standard_answer; var item = _ref.item, answerData = _ref.answerData, isEducation = _ref.isEducation, + sign = _ref.sign, _ref$onBlur = _ref.onBlur, _onBlur = _ref$onBlur === void 0 ? function () {} : _ref$onBlur; var value = (0,react.useRef)(""); @@ -3246,9 +3325,42 @@ var Simple = function Simple(_ref) { }, []); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.user_exercise_status) === 1 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "mt10 mb0", - children: "\u6211\u7684\u7B54\u6848\uFF1A" + className: "mb20", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "space-between", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: "\u6211\u7684\u7B54\u6848" + }), ((0,authority/* isAdmin */.GJ)() || (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : _answerData$exercise2.user_exercise_status) > 0 && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise3 = answerData.exercise) === null || _answerData$exercise3 === void 0 ? void 0 : _answerData$exercise3.open_score)) && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "end", + className: "mb20", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14", + style: { + color: '#6A7283' + }, + children: "\u5F97\u5206" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font14 ml10", + children: [(item === null || item === void 0 ? void 0 : item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9', + children: item === null || item === void 0 ? void 0 : item.user_score + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginLeft: 5, + color: '#6A7283' + }, + children: "\u5206" + })] + }), !(item !== null && item !== void 0 && item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-red", + children: "\u672A\u8BC4" + })] + })] + }) + })] }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: Answermodules.simpleText, children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { @@ -3272,16 +3384,20 @@ var Simple = function Simple(_ref) { setIsFocus(true); }, onBlur: function onBlur() { - _onBlur(value.current); + setTimeout(function () { + _onBlur(value.current); + }, 200); clearInterval(timeRef.current); setIsFocus(false); } }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { onClick: function onClick() { var _item$user_answer3; - if (!item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer3 = item.user_answer) === null || _item$user_answer3 === void 0 ? void 0 : _item$user_answer3.length) > 0 && !item.israp) { + if (!item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer3 = item.user_answer) === null || _item$user_answer3 === void 0 ? void 0 : _item$user_answer3.length) > 0 && item.ques_status !== 0) { + message/* default.warning */.ZP.warning('该题不允许再修改答案'); return; } + sign.current = true; setShowEditor(true); }, className: Answermodules.startAnswer, @@ -3290,21 +3406,37 @@ var Simple = function Simple(_ref) { children: "\u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54" }) }) - }), (0,authority/* isStudent */.dE)() && (item === null || item === void 0 ? void 0 : item.standard_answer) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "mt10 mb0", - children: "\u53C2\u8003\u7B54\u6848\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - border: "1px solid #eee", - background: "#f5f5f5", - borderRadius: 4, - padding: 5 - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: item === null || item === void 0 ? void 0 : (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer[0] - }) - })] + }), (0,authority/* isStudent */.dE)() && (item === null || item === void 0 ? void 0 : item.standard_answer) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Answermodules.analysisWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Answermodules.greyBg, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb20", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u3010\u7B54\u6848\u3011" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item === null || item === void 0 ? void 0 : (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer[0] + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u3010\u89E3\u6790\u3011" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + className: Answermodules.renderHtml, + value: item === null || item === void 0 ? void 0 : item.analysis + })] + })] + }) })] }); }; @@ -3550,9 +3682,28 @@ var anchor_style = __webpack_require__(74131); var es_anchor = __webpack_require__(37802); // EXTERNAL MODULE: ./src/components/monaco-editor/index.jsx + 3 modules var monaco_editor = __webpack_require__(8691); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/UserScore/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var UserScoremodules = ({"score":"score___mcGn7","wrap":"wrap___h11sQ"}); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/UserScore/index.tsx + + + + +var UserScore = function UserScore(_ref) { + var score = _ref.score; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: UserScoremodules.wrap, + children: ["\u5F97\u5206", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(UserScoremodules.score, " ml10 mr5"), + children: score + }), "\u5206"] + }); +}; +/* harmony default export */ var components_UserScore = (UserScore); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var componentsmodules = ({"flex_box_center":"flex_box_center___xK64P","flex_space_between":"flex_space_between___BNBCA","flex_box_vertical_center":"flex_box_vertical_center___ConJK","flex_box_center_end":"flex_box_center_end___L08sz","flex_box_column":"flex_box_column___hvk0E","shixunWrp":"shixunWrp___FTFC6"}); +/* harmony default export */ var componentsmodules = ({"flex_box_center":"flex_box_center___xK64P","flex_space_between":"flex_space_between___BNBCA","flex_box_vertical_center":"flex_box_vertical_center___ConJK","flex_box_center_end":"flex_box_center_end___L08sz","flex_box_column":"flex_box_column___hvk0E","shixunWrp":"shixunWrp___FTFC6","fill":"fill___H_Qd6","index":"index___PaSVJ","success":"success___fz_F7","fail":"fail___ftXSv","fillInput":"fillInput___q_sSb","shixunWrapper":"shixunWrapper___toGqF","score":"score___AsYGZ","name":"name___hawfX","programWrapper":"programWrapper___zVQPT","desc":"desc___MFIu5","content":"content___QuE41","analysisWrap":"analysisWrap___qGPzJ","greyBg":"greyBg___FIDIB"}); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/Shixun.tsx @@ -3574,8 +3725,13 @@ var monaco_editor = __webpack_require__(8691); + +var Shixun_scoreStatusMapping = { + 0: 'c-red-ee4', + 1: 'c-green' +}; var Shixun = function Shixun(_ref) { - var _item$shixun, _answerData$exercise, _answerData$exercise2, _item$shixun2; + var _item$shixun, _item$shixun2, _answerData$exercise, _answerData$exercise2, _item$shixun3; var item = _ref.item, answerData = _ref.answerData, exerciseId = _ref.exerciseId, @@ -3595,8 +3751,8 @@ var Shixun = function Shixun(_ref) { } var shixun = []; var challenge = []; - for (var i = 0; i < (item === null || item === void 0 ? void 0 : (_item$shixun_details2 = item.shixun_details) === null || _item$shixun_details2 === void 0 ? void 0 : _item$shixun_details2.length); i++) { - var _item$shixun_details2, _item$shixun_details7, _item$shixun_details8; + var _loop = function _loop() { + var _item$shixun_details7, _item$shixun_details8; for (var j = 0; j < (item === null || item === void 0 ? void 0 : item.shixun_details[i].stage_list.length); j++) { var _item$shixun_details3, _item$shixun_details4, _item$shixun_details5, _item$shixun_details6; var shixunItem = item === null || item === void 0 ? void 0 : item.shixun_details[i].stage_list[j]; @@ -3605,9 +3761,19 @@ var Shixun = function Shixun(_ref) { })); } if (item !== null && item !== void 0 && (_item$shixun_details7 = item.shixun_details) !== null && _item$shixun_details7 !== void 0 && (_item$shixun_details8 = _item$shixun_details7[i]) !== null && _item$shixun_details8 !== void 0 && _item$shixun_details8.shixun_detail) { - var _item$shixun_details9, _item$shixun_details10, _item$shixun_details11; - challenge.push(item === null || item === void 0 ? void 0 : (_item$shixun_details9 = item.shixun_details) === null || _item$shixun_details9 === void 0 ? void 0 : (_item$shixun_details10 = _item$shixun_details9[i]) === null || _item$shixun_details10 === void 0 ? void 0 : (_item$shixun_details11 = _item$shixun_details10.shixun_detail) === null || _item$shixun_details11 === void 0 ? void 0 : _item$shixun_details11[0]); + var _item$shixun_details9, _item$shixun_details10, _item$shixun_details11, _item$shixun_details$, _item$shixun_details$2; + var finishedChallenge = item === null || item === void 0 ? void 0 : (_item$shixun_details9 = item.shixun_details) === null || _item$shixun_details9 === void 0 ? void 0 : (_item$shixun_details10 = _item$shixun_details9[i]) === null || _item$shixun_details10 === void 0 ? void 0 : (_item$shixun_details11 = _item$shixun_details10.shixun_detail) === null || _item$shixun_details11 === void 0 ? void 0 : _item$shixun_details11[0]; + var userScore = item === null || item === void 0 ? void 0 : (_item$shixun_details$ = item.shixun_details[i].stage_list) === null || _item$shixun_details$ === void 0 ? void 0 : (_item$shixun_details$2 = _item$shixun_details$.find(function (stageListItem) { + return (stageListItem === null || stageListItem === void 0 ? void 0 : stageListItem.game_identifier) === (finishedChallenge === null || finishedChallenge === void 0 ? void 0 : finishedChallenge.game_identifier); + })) === null || _item$shixun_details$2 === void 0 ? void 0 : _item$shixun_details$2.user_score; + challenge.push(objectSpread2_default()(objectSpread2_default()({}, finishedChallenge), {}, { + user_score: userScore + })); } + }; + for (var i = 0; i < (item === null || item === void 0 ? void 0 : (_item$shixun_details2 = item.shixun_details) === null || _item$shixun_details2 === void 0 ? void 0 : _item$shixun_details2.length); i++) { + var _item$shixun_details2; + _loop(); } setChallengeData(challenge); setData(shixun); @@ -3693,22 +3859,20 @@ var Shixun = function Shixun(_ref) { children: item.view_answer ? "已查看" : "未查看" }); } - }, - // { - // title: "经验值", - // dataIndex: "experience", - // key: "experience", - // align: 'center', - // render: (exp: any, item: any) => { - // return ( - // - // {item.myself_experience}/ - // {item.experience} - // - // ); - // }, - // }, - { + }, { + title: '得分', + dataIndex: 'user_score', + key: 'user_score', + align: 'center', + render: function render(score) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + color: '#FA6400' + }, + children: [score, "\u5206"] + }); + } + }, { title: "操作", dataIndex: "operation", key: "operation", @@ -3721,39 +3885,19 @@ var Shixun = function Shixun(_ref) { href: "#challenge_".concat(item === null || item === void 0 ? void 0 : item.question_id).concat(index), title: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - color: '#0152d9' - }, - children: "\u67E5\u770B" - }) - }) - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-grey-999", - children: "--" - }); - } - }]; - var outputColumns = [{ - title: '评测次数', - dataIndex: 'key', - width: "127px", - key: 'key', - align: 'center', - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: record.key - }); - } - }, { - title: '详细信息', - dataIndex: 'error_msg', - key: 'error_msg', - align: 'center', - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: record.error_msg ? record.error_msg : "--" + color: '#0152d9', + fontSize: 14 + }, + children: "\u67E5\u770B" + }) + }) + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-999", + children: "--" }); } }]; + console.log(challengeData); var options = { selectOnLineNumbers: true, readOnly: true, @@ -3763,29 +3907,33 @@ var Shixun = function Shixun(_ref) { scrollBeyondLastLine: false }; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mt15 mb15", - children: [ - /*#__PURE__*/ - // (answerData?.exercise?.student_commit_status === 0 || answerData?.exercise?.user_exercise_status === 0) && - (0,jsx_runtime.jsx)("div", { - children: item === null || item === void 0 ? void 0 : (_item$shixun = item.shixun) === null || _item$shixun === void 0 ? void 0 : _item$shixun.map(function (val, key) { + children: [(item === null || item === void 0 ? void 0 : (_item$shixun = item.shixun) === null || _item$shixun === void 0 ? void 0 : _item$shixun.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: componentsmodules.shixunWrapper, + children: item === null || item === void 0 ? void 0 : (_item$shixun2 = item.shixun) === null || _item$shixun2 === void 0 ? void 0 : _item$shixun2.map(function (val, key) { return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - className: "font16", - gutter: [0, 20], - style: { - marginTop: 10 - }, + className: "mb20", + justify: "space-between", children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { flex: "1", - children: [val.challenge_name, " (", val.challenge_score, "\u5206)"] + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: componentsmodules.score, + children: ["(", val.challenge_score, "\u5206)"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: componentsmodules.name, + children: [val.challenge_name, " "] + })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - flex: "100px", - className: "tr", children: [!val.answer_status && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font12 tag-style-border border-orange c-orange ", + className: "font14", + style: { + color: '#FA6400' + }, children: "\u672A\u5B8C\u6210" }), !!val.answer_status && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font12 tag-style-border border-green c-green ", + className: "font14", + style: { + color: '#37AD83' + }, children: "\u5DF2\u5B8C\u6210" })] })] @@ -3793,9 +3941,43 @@ var Shixun = function Shixun(_ref) { }) }), (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.student_commit_status) !== 0 || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : _answerData$exercise2.user_exercise_status) !== 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [!!(data !== null && data !== void 0 && data.length) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { - className: "font16 c-grey-666", - children: "\u9636\u6BB5\u6210\u7EE9" + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "space-between", + className: "mb10", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: "font14 c-grey-666", + children: "\u9636\u6BB5\u6210\u7EE9" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "end", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14", + style: { + color: '#6A7283' + }, + children: "\u5F97\u5206" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font14 ml10", + children: [(item === null || item === void 0 ? void 0 : item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Shixun_scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9', + children: item === null || item === void 0 ? void 0 : item.user_score + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginLeft: 5, + color: '#6A7283' + }, + children: "\u5206" + })] + }), !(item !== null && item !== void 0 && item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-red", + children: "\u672A\u8BC4" + })] + })] + }) + })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { columns: columns, dataSource: data, @@ -3809,15 +3991,22 @@ var Shixun = function Shixun(_ref) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { id: "challenge_".concat(item === null || item === void 0 ? void 0 : item.question_id).concat(index), className: "mt5", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 mr15", + className: "font14 mr15", children: [" \u7B2C", chanllenge.position, "\u5173"] }), /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - className: "current c-black font16", + className: "current c-black font14", target: "_blank", to: "/tasks/".concat(coursesId, "/").concat(exerciseId, "/").concat(chanllenge.game_identifier, "/exercise"), children: chanllenge.name + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + style: { + marginLeft: 'auto' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_UserScore, { + score: chanllenge.user_score + }) })] }), (chanllenge === null || chanllenge === void 0 ? void 0 : chanllenge.st) === 0 && chanllenge.passed_code && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { className: componentsmodules.shixunWrp, @@ -3841,7 +4030,7 @@ var Shixun = function Shixun(_ref) { children: [(0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { className: "c-grey-999 mt20 mb20", value: item === null || item === void 0 ? void 0 : item.question_title - }), item === null || item === void 0 ? void 0 : (_item$shixun2 = item.shixun) === null || _item$shixun2 === void 0 ? void 0 : _item$shixun2.map(function (shixun, index) { + }), item === null || item === void 0 ? void 0 : (_item$shixun3 = item.shixun) === null || _item$shixun3 === void 0 ? void 0 : _item$shixun3.map(function (shixun, index) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { className: "font16 c-grey-666 mb5", children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { @@ -3868,7 +4057,15 @@ var base64 = __webpack_require__(19575); + + + +var Program_scoreStatusMapping = { + 0: 'c-red-ee4', + 1: 'c-green' +}; var Program = function Program(_ref) { + var _answerData$exercise; var item = _ref.item, answerData = _ref.answerData; var _useState = (0,react.useState)([]), @@ -3922,12 +4119,43 @@ var Program = function Program(_ref) { }, scrollBeyondLastLine: false }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(componentsmodules.programWrapper), children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt15 mb15", + className: componentsmodules.desc, + children: "\u9898\u76EE\u63CF\u8FF0" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: componentsmodules.content, children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { value: item === null || item === void 0 ? void 0 : item.description }) + }), (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.user_exercise_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "space-between", + className: "mt40", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + style: { + fontSize: 14, + color: '#666666' + }, + children: "\u6211\u7684\u7B54\u6848" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u5F97\u5206" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Program_scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9', + children: item === null || item === void 0 ? void 0 : item.user_score + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginLeft: 5, + color: '#6A7283' + }, + children: "\u5206" + })] + })] }), (item === null || item === void 0 ? void 0 : item.passed_code) && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { className: componentsmodules.shixunWrp, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", { @@ -3946,20 +4174,7 @@ var Program = function Program(_ref) { }); }; /* harmony default export */ var components_Program = (Program); -// 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/antd/es/alert/style/index.js + 1 modules -var alert_style = __webpack_require__(91750); -// EXTERNAL MODULE: ./node_modules/antd/es/alert/index.js + 1 modules -var es_alert = __webpack_require__(14670); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/InputTextArea.tsx - - - - - - +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/Fill.tsx @@ -3969,163 +4184,6 @@ var es_alert = __webpack_require__(14670); -var TextArea = input/* default.TextArea */.Z.TextArea; -var Fill = function Fill(_ref) { - var _item$user_answer2, _answerData$exercise4; - var item = _ref.item, - answerData = _ref.answerData, - answer = _ref.answer, - index = _ref.index, - userAnswer = _ref.userAnswer, - setUserAnswer = _ref.setUserAnswer, - _ref$onBlur = _ref.onBlur, - onBlur = _ref$onBlur === void 0 ? function () {} : _ref$onBlur; - var params = (0,_umi_production_exports.useParams)(); - var timeRef = (0,react.useRef)(); - var currentKey = (0,react.useRef)(); - var currentData = (0,react.useRef)(); - var _useState = (0,react.useState)(), - _useState2 = slicedToArray_default()(_useState, 2), - saveStatus = _useState2[0], - setSaveStatus = _useState2[1]; - var answerText = (0,react.useRef)(userAnswer[index].answer_text); - var countDown = function countDown() { - clearInterval(timeRef.current); - timeRef.current = setInterval(function () { - if (currentKey.current >= 0 && currentKey.current) saveContent(); - }, 5 * 1000); - }; - (0,react.useEffect)(function () { - console.log("answer:", answerData); - var data = []; - var _loop = function _loop(i) { - var _item$user_answer; - var param = (item === null || item === void 0 ? void 0 : (_item$user_answer = item.user_answer) === null || _item$user_answer === void 0 ? void 0 : _item$user_answer.find(function (e) { - return e.choice_id === i + 1; - })) || { - choice_id: i + 1, - answer_text: '' - }; - data.push(objectSpread2_default()({}, param)); - }; - for (var i = 0; i < (item === null || item === void 0 ? void 0 : item.multi_count); i++) { - _loop(i); - } - currentData.current = data; - setUserAnswer(data); - }, [item === null || item === void 0 ? void 0 : item.user_answer]); - (0,react.useEffect)(function () { - countDown(); - return function () { - window.clearInterval(timeRef.current); - }; - }, []); - var saveContent = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _answerData$exercise, _answerData$exercise2; - var ip, _answerData$exercise3, saveParams, res, _exercise$exerciseUse, _getDvaApp$_store$get, exercise; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - if (!((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.ip_limit) === 'inner' || answerData !== null && answerData !== void 0 && (_answerData$exercise2 = answerData.exercise) !== null && _answerData$exercise2 !== void 0 && _answerData$exercise2.ip_bind)) { - _context.next = 4; - break; - } - _context.next = 3; - return (0,Exercise_ip/* findLocalIp */.y)({ - ip_limit: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise3 = answerData.exercise) === null || _answerData$exercise3 === void 0 ? void 0 : _answerData$exercise3.ip_limit - }); - case 3: - ip = _context.sent; - case 4: - saveParams = { - questionId: item.question_id, - exercise_choice_id: index + 1, - answer_text: answerText.current, - ip: ip - }; - _context.next = 7; - return (0,service_exercise/* updateExerciseAnswers */.oX)(saveParams); - case 7: - res = _context.sent; - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - setSaveStatus("success"); - onBlur(answerText.current, index + 1, currentData.current); - } else if ((res === null || res === void 0 ? void 0 : res.status) === -5) { - // getDvaApp()._store.dispatch({ - // type: 'exercise/setActionTabs', - // payload: { - // key: 'student-unlock', - // exerciseParams: { errorMessage:response?.message,...exerciseData?.exercise || {}, exercise_user_id:exerciseData?.exercise?.user_id, id: searchParams.get("exercisesId")} - // }, - // }) - _getDvaApp$_store$get = (0,_umi_production_exports.getDvaApp)()._store.getState(), exercise = _getDvaApp$_store$get.exercise; - (0,_umi_production_exports.getDvaApp)()._store.dispatch({ - type: 'exercise/setActionTabs', - payload: { - key: 'student-unlock', - exerciseParams: { - exercise_user_id: exercise === null || exercise === void 0 ? void 0 : (_exercise$exerciseUse = exercise.exerciseUserInfo) === null || _exercise$exerciseUse === void 0 ? void 0 : _exercise$exerciseUse.exercise_user_id, - id: params.categoryId, - errorMessage: res === null || res === void 0 ? void 0 : res.message - } - } - }); - } else { - setSaveStatus("error"); - } - case 9: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function saveContent() { - return _ref2.apply(this, arguments); - }; - }(); - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - position: "relative" - }, - children: [!!saveStatus && /*#__PURE__*/(0,jsx_runtime.jsx)(es_alert/* default */.Z, { - message: saveStatus === "success" ? "保存成功" : "保存失败", - description: "", - type: saveStatus, - showIcon: true, - style: { - background: "none", - border: "none", - paddingRight: 0, - position: "absolute", - right: 0, - top: -30 - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)(TextArea, { - autoSize: true, - rows: 4, - disabled: !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2.length) > 0 && !item.israp || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise4 = answerData.exercise) === null || _answerData$exercise4 === void 0 ? void 0 : _answerData$exercise4.user_exercise_status) === 1 - // disabled={answerData?.exercise?.user_exercise_status === 1} - , - value: answer === null || answer === void 0 ? void 0 : answer.answer_text, - onFocus: function onFocus() { - return currentKey.current = index; - }, - onChange: function onChange(e) { - userAnswer[index].answer_text = e.target.value; - answerText.current = e.target.value; - setUserAnswer(toConsumableArray_default()(userAnswer)); - }, - onBlur: function onBlur(e) { - saveContent(); - currentKey.current = null; - }, - className: "overflow_hidden ".concat(item.user_score && (item.user_score === item.question_score ? "c-green" : "c-red")) - })] - }); -}; -/* harmony default export */ var InputTextArea = (Fill); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/Fill.tsx @@ -4134,33 +4192,27 @@ var Fill = function Fill(_ref) { -var Fill_TextArea = input/* default.TextArea */.Z.TextArea; -var Fill_Fill = function Fill(_ref) { - var _item$standard_answer, _item$standard_answer2; - var item = _ref.item, +var TextArea = input/* default.TextArea */.Z.TextArea; +var Fill_scoreStatusMapping = { + 0: 'c-red-ee4', + 1: 'c-green' +}; +var Fill = function Fill(_ref) { + var _answerData$exercise, _answerData$exercise2, _item$standard_answer, _item$standard_answer2; + var sign = _ref.sign, + item = _ref.item, answerData = _ref.answerData, _ref$onBlur = _ref.onBlur, - onBlur = _ref$onBlur === void 0 ? function () {} : _ref$onBlur; + _onBlur = _ref$onBlur === void 0 ? function () {} : _ref$onBlur; var _useState = (0,react.useState)([]), _useState2 = slicedToArray_default()(_useState, 2), userAnswer = _useState2[0], setUserAnswer = _useState2[1]; - var _useState3 = (0,react.useState)(false), + var _useState3 = (0,react.useState)([]), _useState4 = slicedToArray_default()(_useState3, 2), - isFocus = _useState4[0], - setIsFocus = _useState4[1]; - var timeRef = (0,react.useRef)(); - var currentKey = (0,react.useRef)(); + saveStatusArr = _useState4[0], + setSaveStatusArr = _useState4[1]; var currentData = (0,react.useRef)(); - - // const countDown = () => { - // clearInterval(timeRef.current) - // timeRef.current = setInterval(() => { - // if (currentKey.current >= 0 && currentKey.current) - // onBlur(currentData.current[currentKey.current]?.answer_text, currentKey.current + 1, currentData.current) - // }, 5 * 1000) - // } - (0,react.useEffect)(function () { var data = []; var _loop = function _loop(i) { @@ -4179,48 +4231,155 @@ var Fill_Fill = function Fill(_ref) { currentData.current = data; setUserAnswer(data); }, [item === null || item === void 0 ? void 0 : item.user_answer]); - (0,react.useEffect)(function () { - // countDown(); - return function () { - window.clearInterval(timeRef.current); - }; - }, []); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [userAnswer === null || userAnswer === void 0 ? void 0 : userAnswer.map(function (answer, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mt10", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: ["\u6211\u7684\u7B54\u6848\uFF08\u586B\u7A7A", index + 1, "\uFF09:"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(InputTextArea, { - item: item, - answerData: answerData, - onBlur: onBlur, - setUserAnswer: setUserAnswer, - userAnswer: userAnswer, - index: index, - answer: answer + var _item$user_answer2, _saveStatusArr$index, _saveStatusArr$index2, _saveStatusArr$index3; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "".concat(componentsmodules.baseMargin, " ").concat(componentsmodules.fill), + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: componentsmodules.index, + children: ["\u586B\u7A7A\u9879", index + 1] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: '430px', + className: "ml20 mr20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u8BF7\u8F93\u5165\u7B54\u6848", + disabled: !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2.length) > 0 && item.ques_status !== 0 || !!(answerData !== null && answerData !== void 0 && answerData.exercise.commit_status), + value: answer === null || answer === void 0 ? void 0 : answer.answer_text, + onChange: function onChange(e) { + userAnswer[index].answer_text = e.target.value; + setUserAnswer(toConsumableArray_default()(userAnswer)); + }, + onFocus: function onFocus() { + sign.current = true; + }, + onBlur: function onBlur(e) { + setTimeout( /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var res, newArr, _newArr; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _onBlur(answer === null || answer === void 0 ? void 0 : answer.answer_text, index + 1, userAnswer); + case 2: + res = _context.sent; + if (!res.status) { + newArr = saveStatusArr.slice(); + newArr[index] = { + status: 'success', + errorText: '' + }; + setSaveStatusArr(newArr); + } else { + _newArr = saveStatusArr.slice(); + _newArr[index] = { + status: 'fail', + errorText: res.message + }; + setSaveStatusArr(_newArr); + } + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })), 200); + }, + className: "".concat(item.user_score && (item.user_score === item.question_score ? "c-green" : "c-red"), " ").concat(componentsmodules.fillInput) + }) + }), ((_saveStatusArr$index = saveStatusArr[index]) === null || _saveStatusArr$index === void 0 ? void 0 : _saveStatusArr$index.status) === "success" && /*#__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)("i", { + style: { + marginRight: 8 + }, + className: "iconfont icon-chenggong1 ".concat(componentsmodules.success) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: componentsmodules.success, + children: "\u4FDD\u5B58\u6210\u529F" + })] + }) + }), ((_saveStatusArr$index2 = saveStatusArr[index]) === null || _saveStatusArr$index2 === void 0 ? void 0 : _saveStatusArr$index2.status) === "fail" && /*#__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)("i", { + style: { + marginRight: 8 + }, + className: "iconfont icon-tishi7 ".concat(componentsmodules.fail) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: componentsmodules.fail, + children: (_saveStatusArr$index3 = saveStatusArr[index]) === null || _saveStatusArr$index3 === void 0 ? void 0 : _saveStatusArr$index3.errorText + })] }) })] - }); + }, index); + }), ((0,authority/* isAdmin */.GJ)() || (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.user_exercise_status) > 0 && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : _answerData$exercise2.open_score)) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "end", + className: "mb20", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14", + style: { + color: '#6A7283' + }, + children: "\u5F97\u5206" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font14 ml10", + children: [(item === null || item === void 0 ? void 0 : item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Fill_scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9', + children: item === null || item === void 0 ? void 0 : item.user_score + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginLeft: 5, + color: '#6A7283' + }, + children: "\u5206" + })] + }), !(item !== null && item !== void 0 && item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-red", + children: "\u672A\u8BC4" + })] + })] }), !!(item !== null && item !== void 0 && (_item$standard_answer = item.standard_answer) !== null && _item$standard_answer !== void 0 && _item$standard_answer.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: item === null || item === void 0 ? void 0 : (_item$standard_answer2 = item.standard_answer) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.map(function (answer, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: ["\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A", index + 1, "\uFF09:"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Fill_TextArea, { - autoSize: true, - disabled: true, - value: answer === null || answer === void 0 ? void 0 : answer.answer_text[0] - }) + className: componentsmodules.analysisWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: componentsmodules.greyBg, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb20", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u3010\u7B54\u6848\u3011" + }), item === null || item === void 0 ? void 0 : (_item$standard_answer2 = item.standard_answer) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.map(function (answer, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: "mr40", + children: ["\u586B\u7A7A\u9879", index + 1, ":", answer === null || answer === void 0 ? void 0 : answer.answer_text[0]] + }, index); })] - }); + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u3010\u89E3\u6790\u3011" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + className: componentsmodules.renderHtml, + value: item === null || item === void 0 ? void 0 : item.analysis + })] + })] }) })] }); }; -/* harmony default export */ var components_Fill = (Fill_Fill); +/* harmony default export */ var components_Fill = (Fill); // EXTERNAL MODULE: ./src/components/ImagesIcon/index.ts + 31 modules var ImagesIcon = __webpack_require__(44190); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/ErrCheckIpTip.tsx @@ -4259,15 +4418,107 @@ var ErrCheckIpTip_Fill = function Fill(_ref) { })] }); }; -/* harmony default export */ var ErrCheckIpTip = (ErrCheckIpTip_Fill); -// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules -var env = __webpack_require__(59758); -// EXTERNAL MODULE: ./node_modules/lodash/lodash.js -var lodash = __webpack_require__(96486); -// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/AnswerComments/index.tsx + 1 modules -var AnswerComments = __webpack_require__(37537); +/* harmony default export */ var ErrCheckIpTip = (ErrCheckIpTip_Fill); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(59758); +// EXTERNAL MODULE: ./node_modules/lodash/lodash.js +var lodash = __webpack_require__(96486); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/NewAnswerComments/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var NewAnswerCommentsmodules = ({"comments":"comments___ZkLeS","greyText":"greyText___ow9J6","commentText":"commentText___Uklcs","wrapper":"wrapper___XTdhL","header":"header___pq5DQ","updateTime":"updateTime___WYYjt","text":"text___FmQY7","date":"date___DiXg4"}); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/NewAnswerComments/index.tsx + + + + + + + + + + +var NewAnswerComments = function NewAnswerComments(_ref) { + var list = _ref.list, + _ref$hideScore = _ref.hideScore, + hideScore = _ref$hideScore === void 0 ? false : _ref$hideScore; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: list === null || list === void 0 ? void 0 : list.map(function (v) { + var _v$user, _v$user2, _v$user3, _v$comments, _v$comments$, _v$comments2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mt20 ".concat(NewAnswerCommentsmodules.wrapper), + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + className: NewAnswerCommentsmodules.header, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: env/* default.API_SERVER */.Z.API_SERVER + '/images/' + ((_v$user2 = v.user) === null || _v$user2 === void 0 ? void 0 : _v$user2.image_url) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "ml10 font16", + children: (_v$user3 = v.user) === null || _v$user3 === void 0 ? void 0 : _v$user3.name + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: NewAnswerCommentsmodules.updateTime, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: NewAnswerCommentsmodules.text, + children: "\u8BC4\u9605\u65F6\u95F4" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: NewAnswerCommentsmodules.date, + children: moment_default()((_v$comments = v.comments) === null || _v$comments === void 0 ? void 0 : (_v$comments$ = _v$comments[0]) === null || _v$comments$ === void 0 ? void 0 : _v$comments$.updated_at).format('YYYY-MM-DD HH:mm') + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: NewAnswerCommentsmodules.comments, + children: v === null || v === void 0 ? void 0 : (_v$comments2 = v.comments) === null || _v$comments2 === void 0 ? void 0 : _v$comments2.map(function (e, i) { + var _v$user4; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + justify: "space-between", + children: [!!e.shixun_chanllge_position && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + flexShrink: 0, + marginRight: 10 + }, + children: ["\u7B2C", e.shixun_chanllge_position, "\u5173"] + }), !hideScore && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + flex: 1 + }, + children: ["\u539F\u59CB\u5F97\u5206", e === null || e === void 0 ? void 0 : e.origin_score, "\u5206\uFF0C\u4FEE\u6B63\u4E3A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-light-primary", + children: e === null || e === void 0 ? void 0 : e.score + }), "\u5206"] + })] + }), !!e.comment && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(NewAnswerCommentsmodules.greyText, " mr10"), + children: "\u8BC4\u8BED" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: NewAnswerCommentsmodules.commentText, + children: e.comment + })] + })] + }, (v === null || v === void 0 ? void 0 : (_v$user4 = v.user) === null || _v$user4 === void 0 ? void 0 : _v$user4.user_id) + '-' + i); + }) + })] + }, v === null || v === void 0 ? void 0 : (_v$user = v.user) === null || _v$user === void 0 ? void 0 : _v$user.user_id); + }) + }); +}; +/* harmony default export */ var components_NewAnswerComments = (NewAnswerComments); // EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/components/Unlock.tsx var Unlock = __webpack_require__(61050); +// EXTERNAL MODULE: ./node_modules/react-draggable/build/cjs/cjs.js +var cjs = __webpack_require__(61193); +var cjs_default = /*#__PURE__*/__webpack_require__.n(cjs); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/MinusOutlined.js + 1 modules +var MinusOutlined = __webpack_require__(52745); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/PlusOutlined.js +var PlusOutlined = __webpack_require__(51042); +// EXTERNAL MODULE: ./src/components/AsyncButton/index.tsx +var AsyncButton = __webpack_require__(48559); +// EXTERNAL MODULE: ./src/components/Hooks/index.tsx +var Hooks = __webpack_require__(4663); +// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/useRemindModal.tsx +var useRemindModal = __webpack_require__(53280); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/index.tsx @@ -4301,7 +4552,6 @@ var Unlock = __webpack_require__(61050); - var _excluded = ["globalSetting", "loading", "user", "exercise", "dispatch"]; @@ -4327,6 +4577,11 @@ var _excluded = ["globalSetting", "loading", "user", "exercise", "dispatch"]; + + + + + @@ -4334,15 +4589,13 @@ var _excluded = ["globalSetting", "loading", "user", "exercise", "dispatch"]; var Countdown = statistic/* default.Countdown */.Z.Countdown; -var Answer_TextArea = input/* default.TextArea */.Z.TextArea; var tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var scoreStatusMapping = { +var Answer_scoreStatusMapping = { 0: 'c-red-ee4', 1: 'c-green' }; -var mapping = (/* unused pure expression or super */ null && (["单选题", "多选题", "判断题", "填空题", "简答题", "实训题", "编程题"])); var Answer = function Answer(_ref) { - var _user$userInfo, _answerData$exercise6, _answerData$exercise10, _answerData$exercise28, _user$userInfo5, _user$userInfo6, _user$userInfo6$cours, _user$userInfo7, _answerData$exercise29, _answerData$exercise30, _answerData$exercise31, _answerData$exercise32, _answerData$exercise33, _answerData$exercise34, _answerData$exercise35, _answerData$exercise36, _answerData$exercise37, _answerData$exercise38, _answerData$exercise39, _answerData$exercise40, _answerData$exercise41, _answerData$exercise42, _answerData$exercise43, _answerData$exercise44, _answerData$exercise45, _answerData$exercise46, _answerData$exercise47, _answerData$exercise48, _answerData$exercise49, _answerData$exercise50, _answerData$exercise51, _answerData$exercise52, _answerData$question_4, _answerData$question_5, _answerData$exercise_19, _answerData$question_6, _answerData$question_7, _answerData$exercise_20, _answerData$exercise_21, _answerData$exercise_22, _answerData$exercise_23, _answerData$exercise_24, _answerData$exercise_25, _answerData$exercise_26, _answerData$exercise_27, _answerData$exercise_32, _answerData$exercise_33, _answerData$exercise_34, _answerData$exercise_35; + var _user$userInfo, _user$userInfo2, _answerData$exercise4, _answerData$exercise24, _answerData$exercise25, _answerData$exercise26, _answerData$exercise27, _answerData$exercise28, _answerData$exercise29, _answerData$exercise30, _answerData$exercise31, _answerData$exercise32, _answerData$exercise33, _answerData$exercise34, _answerData$exercise35, _answerData$exercise36, _answerData$exercise37, _answerData$exercise38, _answerData$question_5, _answerData$question_6, _answerData$exercise_24, _answerData$question_7, _answerData$question_8, _answerData$exercise_25, _answerData$exercise_26, _answerData$exercise_27, _answerData$exercise_28, _answerData$exercise_29, _answerData$exercise_30, _answerData$exercise_31, _answerData$exercise39, _answerData$exercise_32, _answerData$exercise_33, _answerData$exercise_34, _answerData$exercise_36, _answerData$exercise_37, _answerData$exercise_38, _answerData$exercise_39, _answerData$exercise_40, _answerData$exercise_41, _answerData$exercise40, _answerData$exercise41, _answerData$exercise42, _answerData$exercise43; var globalSetting = _ref.globalSetting, loading = _ref.loading, user = _ref.user, @@ -4382,52 +4635,45 @@ var Answer = function Answer(_ref) { _useState14 = slicedToArray_default()(_useState13, 2), openFullScreen = _useState14[0], setOpenFullScreen = _useState14[1]; - var _useState15 = (0,react.useState)(false), + var _useState15 = (0,react.useState)(), _useState16 = slicedToArray_default()(_useState15, 2), - btnLoading = _useState16[0], - setBtnLoading = _useState16[1]; - var _useState17 = (0,react.useState)(), + time = _useState16[0], + setTime = _useState16[1]; + var _useState17 = (0,react.useState)(''), _useState18 = slicedToArray_default()(_useState17, 2), - time = _useState18[0], - setTime = _useState18[1]; - var _useState19 = (0,react.useState)(0), + iframeUrl = _useState18[0], + setIframeUrl = _useState18[1]; + var _useState19 = (0,react.useState)('none'), _useState20 = slicedToArray_default()(_useState19, 2), - submitProgress = _useState20[0], - setSubmitProgress = _useState20[1]; + iframeBlock = _useState20[0], + setIframeBlock = _useState20[1]; var _useState21 = (0,react.useState)(''), _useState22 = slicedToArray_default()(_useState21, 2), - iframeUrl = _useState22[0], - setIframeUrl = _useState22[1]; - var _useState23 = (0,react.useState)('none'), - _useState24 = slicedToArray_default()(_useState23, 2), - iframeBlock = _useState24[0], - setIframeBlock = _useState24[1]; - var _useState25 = (0,react.useState)(''), - _useState26 = slicedToArray_default()(_useState25, 2), - countDownColor = _useState26[0], - setCountDownColor = _useState26[1]; - var _useState27 = (0,react.useState)({ + countDownColor = _useState22[0], + setCountDownColor = _useState22[1]; + var _useState23 = (0,react.useState)({ status: 0 }), + _useState24 = slicedToArray_default()(_useState23, 2), + checkStatus = _useState24[0], + setCheckStatus = _useState24[1]; //0ip合法,-1ip不在范围,-2已绑定其他ip + var _useState25 = (0,react.useState)(false), + _useState26 = slicedToArray_default()(_useState25, 2), + openCameraSuccess = _useState26[0], + setOpenCameraSuccess = _useState26[1]; + var _useState27 = (0,react.useState)(false), _useState28 = slicedToArray_default()(_useState27, 2), - checkStatus = _useState28[0], - setCheckStatus = _useState28[1]; //0ip合法,-1ip不在范围,-2已绑定其他ip - var _useState29 = (0,react.useState)(false), + qesLoading = _useState28[0], + setQesLoading = _useState28[1]; + var _useState29 = (0,react.useState)(window.document.domain === "kepukehuan.educoder.net" ? true : false), _useState30 = slicedToArray_default()(_useState29, 2), - openCameraSuccess = _useState30[0], - setOpenCameraSuccess = _useState30[1]; - var _useState31 = (0,react.useState)(false), - _useState32 = slicedToArray_default()(_useState31, 2), - qesLoading = _useState32[0], - setQesLoading = _useState32[1]; - var _useState33 = (0,react.useState)(window.document.domain === "kepukehuan.educoder.net" ? true : false), - _useState34 = slicedToArray_default()(_useState33, 2), - isEducation = _useState34[0], - setIsEducation = _useState34[1]; + isEducation = _useState30[0], + setIsEducation = _useState30[1]; var iframe = (0,react.useRef)(); var captureRef = (0,react.useRef)(); - var countDownRef = (0,react.useRef)(); - var countDownRef2 = (0,react.useRef)(); + // const countDownRef = useRef(); + // const countDownRef2 = useRef(); + // const countDownRefArr = useRef<(string | number | NodeJS.Timeout)[]>([]) var localIpRef = (0,react.useRef)(); var lockRef = (0,react.useRef)(); var iframeUrlSuffix = (0,react.useRef)(); @@ -4438,31 +4684,73 @@ var Answer = function Answer(_ref) { var socket = (0,react.useMemo)(function () { return new WebSocket("ws://localhost:8082"); }, []); - var _useState35 = (0,react.useState)(0), + var _useState31 = (0,react.useState)(0), + _useState32 = slicedToArray_default()(_useState31, 2), + oneindex = _useState32[0], + setoneindex = _useState32[1]; //大题下标 + var _useState33 = (0,react.useState)(0), + _useState34 = slicedToArray_default()(_useState33, 2), + twoindex = _useState34[0], + settwoindex = _useState34[1]; //小题下标 + var _useState35 = (0,react.useState)(false), _useState36 = slicedToArray_default()(_useState35, 2), - oneindex = _useState36[0], - setoneindex = _useState36[1]; //大题下标 - var _useState37 = (0,react.useState)(0), + isShowmodal = _useState36[0], + setisshowmodal = _useState36[1]; + var _useState37 = (0,react.useState)(false), _useState38 = slicedToArray_default()(_useState37, 2), - twoindex = _useState38[0], - settwoindex = _useState38[1]; //小题下标 - var _useState39 = (0,react.useState)(false), + ischecked = _useState38[0], + setischecked = _useState38[1]; + var _useState39 = (0,react.useState)(), _useState40 = slicedToArray_default()(_useState39, 2), - isShowmodal = _useState40[0], - setisshowmodal = _useState40[1]; - var _useState41 = (0,react.useState)(false), + type = _useState40[0], + settype = _useState40[1]; + var allowRouter = ["/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail"), "/classrooms/".concat(params.coursesId, "/exercise"), "/classrooms/".concat(params.coursesId, "/exercise/"), "/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/users/").concat((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login, "/check"), "/classrooms/".concat(params.coursesId, "/exercisenotice/").concat(params.categoryId, "/users/").concat((_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login)]; + var _useState41 = (0,react.useState)(), _useState42 = slicedToArray_default()(_useState41, 2), - ischecked = _useState42[0], - setischecked = _useState42[1]; - var _useState43 = (0,react.useState)(), + indexitems = _useState42[0], + setindexitems = _useState42[1]; + var _useState43 = (0,react.useState)(false), _useState44 = slicedToArray_default()(_useState43, 2), - type = _useState44[0], - settype = _useState44[1]; - var allowRouter = ["/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail"), "/classrooms/".concat(params.coursesId, "/exercise"), "/classrooms/".concat(params.coursesId, "/exercise/"), "/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/users/").concat((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login, "/check")]; - var _useState45 = (0,react.useState)(), + disabled = _useState44[0], + setDisabled = _useState44[1]; + var _useState45 = (0,react.useState)({ + left: 0, + top: 0, + bottom: 0, + right: 0 + }), _useState46 = slicedToArray_default()(_useState45, 2), - indexitems = _useState46[0], - setindexitems = _useState46[1]; + bounds = _useState46[0], + setBounds = _useState46[1]; + var draggleRef = (0,react.useRef)(null); + var _useState47 = (0,react.useState)(true), + _useState48 = slicedToArray_default()(_useState47, 2), + isopen = _useState48[0], + setisopen = _useState48[1]; + var questionPartRef = (0,react.useRef)(); + (0,Hooks/* useDisableAction */.y)((0,authority/* isStudent */.dE)()); + var _onStart = function onStart(_event, uiData) { + var _draggleRef$current; + var _window$document$docu = window.document.documentElement, + clientWidth = _window$document$docu.clientWidth, + clientHeight = _window$document$docu.clientHeight; + var targetRect = (_draggleRef$current = draggleRef.current) === null || _draggleRef$current === void 0 ? void 0 : _draggleRef$current.getBoundingClientRect(); + setBounds({ + left: -targetRect.left + uiData.x, + right: clientWidth - (targetRect.right - uiData.x), + top: -targetRect.top + uiData.y, + bottom: clientHeight - (targetRect.bottom - uiData.y) - 70 + }); + }; + + // const clearCountdownTimeout = () => { + // for (const id of countDownRefArr.current) { + // clearTimeout(id) + // } + // countDownRefArr.current = [] + // } + + var clearCountdownTimeout = (0,useRemindModal/* useRemindModal */._)(answerData); (0,react.useEffect)(function () { document.body.setAttribute('data-custom', 'auto'); return function () { @@ -4470,13 +4758,13 @@ var Answer = function Answer(_ref) { }; }, []); (0,react.useEffect)(function () { - var _user$userInfo2, _user$userInfo3; + var _user$userInfo3, _user$userInfo4; document.body.scrollIntoView(); - if (((_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.real_name) === "游客") { + if (((_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.real_name) === "游客") { window.location.href = "/classrooms/".concat(params.coursesId, "/exercise"); return; } - if ((_user$userInfo3 = user.userInfo) !== null && _user$userInfo3 !== void 0 && _user$userInfo3.user_id) { + if ((_user$userInfo4 = user.userInfo) !== null && _user$userInfo4 !== void 0 && _user$userInfo4.user_id) { if ((0,authority/* isAdmin */.GJ)()) { initData(); // window.addEventListener("beforeunload", onBeforeunload); @@ -4493,16 +4781,13 @@ var Answer = function Answer(_ref) { }; }, [params.categoryId, user.userInfo.login]); (0,react.useEffect)(function () { - if (isEducation) { - dispatch({ - type: "globalSetting/headerFooterToggle", - payload: false - }); - } + dispatch({ + type: "globalSetting/headerFooterToggle", + payload: false + }); window.addEventListener('beforeunload', sendBeacon); return function () { - clearTimeout(countDownRef.current); - clearTimeout(countDownRef2.current); + clearCountdownTimeout(); window.removeEventListener('beforeunload', sendBeacon); }; }, []); @@ -4517,34 +4802,26 @@ var Answer = function Answer(_ref) { }, 1300); } }, [answerData]); - (0,react.useEffect)(function () { - var _answerData$exercise; - clearTimeout(countDownRef.current); - clearTimeout(countDownRef2.current); - if (answerData !== null && answerData !== void 0 && (_answerData$exercise = answerData.exercise) !== null && _answerData$exercise !== void 0 && _answerData$exercise.left_time && (0,authority/* isStudent */.dE)()) { - var _answerData$exercise2, _answerData$exercise4; - if ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : _answerData$exercise2.left_time) > 1800) { - var _answerData$exercise3; - countDownRef2.current = setTimeout(function () { - es_modal/* default.info */.Z.info({ - content: "当前距离考试结束还有30分钟", - icon: /*#__PURE__*/(0,jsx_runtime.jsx)(ClockCircleOutlined/* default */.Z, {}), - okText: "知道了" - }); - }, ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise3 = answerData.exercise) === null || _answerData$exercise3 === void 0 ? void 0 : _answerData$exercise3.left_time) - 1800) * 1000); - } - if ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise4 = answerData.exercise) === null || _answerData$exercise4 === void 0 ? void 0 : _answerData$exercise4.left_time) > 900) { - var _answerData$exercise5; - countDownRef.current = setTimeout(function () { - es_modal/* default.info */.Z.info({ - content: "当前距离考试结束还有15分钟", - icon: /*#__PURE__*/(0,jsx_runtime.jsx)(ClockCircleOutlined/* default */.Z, {}), - okText: "知道了" - }); - }, ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise5 = answerData.exercise) === null || _answerData$exercise5 === void 0 ? void 0 : _answerData$exercise5.left_time) - 900) * 1000); - } - } - }, [answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise6 = answerData.exercise) === null || _answerData$exercise6 === void 0 ? void 0 : _answerData$exercise6.left_time]); + + // useEffect(() => { + // clearCountdownTimeout() + // if (answerData?.exercise?.left_time && answerData?.exercise?.exercise_events?.length > 0 && isStudent()) { + // for (const eventItem of answerData?.exercise?.exercise_events) { + // if (answerData?.exercise?.left_time > eventItem?.reminder_time * 60) { + // const timeoutId = setTimeout(() => { + // Modal.info({ + // content: `${eventItem?.reminder_content}`, + // icon: , + // centered: true, + // okText: "知道了", + // }) + // }, (answerData?.exercise?.left_time - eventItem?.reminder_time * 60) * 1000) + // countDownRefArr.current.push(timeoutId) + // } + // } + // } + // }, [answerData?.exercise?.left_time, answerData?.exercise?.exercise_events]) + var sendBeacon = function sendBeacon() { var _exercise$exerciseUse; if (!(answerCheckData !== null && answerCheckData !== void 0 && answerCheckData.is_commit) && (0,authority/* isStudent */.dE)()) { @@ -4873,13 +5150,6 @@ var Answer = function Answer(_ref) { return _ref6.apply(this, arguments); }; }(); - - // const onBeforeunload = (e) => { - // let confirmationMessage = "确定离开此页面吗?此页数据可能会丢失"; - // (e || window.event).returnValue = confirmationMessage; - // return confirmationMessage; - // } - var handleCheckInitModal = /*#__PURE__*/function () { var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(res) { var toSkipUrl; @@ -4950,14 +5220,14 @@ var Answer = function Answer(_ref) { }(); var initData = /*#__PURE__*/function () { var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() { - var _user$userInfo4; + var _user$userInfo5; var res, random_id, _res, _res2, _res2$exercise_answer, _res9, _res9$exercise, _res10, _res$exercise, _res11, _res11$exercise, _res14, _res14$exercise, _res15, _res15$exercise, _res3, _res3$exercise, _answerCheckDataRef$c, _answerCheckDataRef$c2, _answerCheckDataRef$c3, _answerCheckDataRef$c4, _res4, _res6, _res7, _res8, _res8$exercise_questi, _res5, _res12, _res12$exercise, _res13, _res13$exercise, _res16, _res16$exercise, _res17, _res17$exercise, _res21, _res22, _res22$exercise_score, _res23, _res18, _res18$exercise_quest, _key; return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: document.body.scrollIntoView(); setIsSpin(true); - random_id = (_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.user_id; + random_id = (_user$userInfo5 = user.userInfo) === null || _user$userInfo5 === void 0 ? void 0 : _user$userInfo5.user_id; if (!(0,authority/* isAdmin */.GJ)()) { _context7.next = 11; break; @@ -5112,12 +5382,12 @@ var Answer = function Answer(_ref) { return item; }); } - console.log('---', res); res.exercise_types = ((_res21 = res) === null || _res21 === void 0 ? void 0 : _res21.exercise_types) || ((_res22 = res) === null || _res22 === void 0 ? void 0 : (_res22$exercise_score = _res22.exercise_scores) === null || _res22$exercise_score === void 0 ? void 0 : _res22$exercise_score.exercise_types); res.question_status = res.question_status || createItems(((_res23 = res) === null || _res23 === void 0 ? void 0 : _res23.exercise_question_types) || []); setAnswerData(res); } - case 42: + return _context7.abrupt("return", res); + case 43: case "end": return _context7.stop(); } @@ -5142,15 +5412,15 @@ var Answer = function Answer(_ref) { return items; }; (0,react.useEffect)(function () { - var _answerData$exercise7, _answerData$exercise8, _answerData$exercise9; - if (((_answerData$exercise7 = answerData.exercise) === null || _answerData$exercise7 === void 0 ? void 0 : _answerData$exercise7.left_time) === 0) { + var _answerData$exercise, _answerData$exercise2, _answerData$exercise3; + if (((_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.left_time) === 0) { handleSubmitAnswer(); } //自动任务失败,进入后时间为0自动提交试卷 - ((_answerData$exercise8 = answerData.exercise) === null || _answerData$exercise8 === void 0 ? void 0 : _answerData$exercise8.left_time) && setTime(Date.now() + (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise9 = answerData.exercise) === null || _answerData$exercise9 === void 0 ? void 0 : _answerData$exercise9.left_time) * 1000); - }, [(_answerData$exercise10 = answerData.exercise) === null || _answerData$exercise10 === void 0 ? void 0 : _answerData$exercise10.left_time]); + ((_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : _answerData$exercise2.left_time) && setTime(Date.now() + (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise3 = answerData.exercise) === null || _answerData$exercise3 === void 0 ? void 0 : _answerData$exercise3.left_time) * 1000); + }, [(_answerData$exercise4 = answerData.exercise) === null || _answerData$exercise4 === void 0 ? void 0 : _answerData$exercise4.left_time]); var handleBackToRedo = function handleBackToRedo() { - var _answerData$exercise11; - if ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise11 = answerData.exercise) === null || _answerData$exercise11 === void 0 ? void 0 : _answerData$exercise11.exercise_status) === 3) { + var _answerData$exercise5; + if ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise5 = answerData.exercise) === null || _answerData$exercise5 === void 0 ? void 0 : _answerData$exercise5.exercise_status) === 3) { es_modal/* default.confirm */.Z.confirm({ width: 530, title: '提示', @@ -5219,17 +5489,23 @@ var Answer = function Answer(_ref) { case 2: res = _context9.sent; if (!(res !== null && res !== void 0 && res.has_time)) { - _context9.next = 10; + _context9.next = 9; break; } setTime(Date.now() + (res === null || res === void 0 ? void 0 : res.left_time) * 1000); - answerData.exercise.left_time = res === null || res === void 0 ? void 0 : res.left_time; - setAnswerData(objectSpread2_default()({}, answerData)); + // answerData.exercise.left_time = res?.left_time; + setAnswerData(function (prevData) { + return objectSpread2_default()(objectSpread2_default()({}, prevData), {}, { + exercise: objectSpread2_default()(objectSpread2_default()({}, prevData.exercise), {}, { + left_time: res === null || res === void 0 ? void 0 : res.left_time + }) + }); + }); return _context9.abrupt("return", true); - case 10: + case 9: handleFinishTime(); return _context9.abrupt("return", false); - case 12: + case 11: case "end": return _context9.stop(); } @@ -5311,13 +5587,12 @@ var Answer = function Answer(_ref) { case 2: res = _context12.sent; if (res !== null && res !== void 0 && res.game_identifier) { - clearTimeout(countDownRef.current); - clearTimeout(countDownRef2.current); + // clearTimeout(countDownRef.current) + // clearTimeout(countDownRef2.current) + // clearCountdownTimeout() setIframeUrl("/tasks/".concat(res.game_identifier, "?type=exercises&exercisesId=").concat(params.categoryId, "&coursesId=").concat(params.coursesId, "&login=").concat(params.login, "&questionId=").concat(item.question_id, "&isFullScreen=").concat((0,fullscreen/* IsFull */.vp)()).concat(iframeUrlSuffix.current || "")); setIframeBlock("block"); - // props.history.push(`/tasks/${res.game_identifier}?type=exercises&exercisesId=${params.categoryId}&coursesId=${params.coursesId}&login=${params.login}&questionId=${item.question_id}`) } - if ((res === null || res === void 0 ? void 0 : res.status) === -3) { (0,util/* bindPhone */.eF)(); } else if ((res === null || res === void 0 ? void 0 : res.status) === 2) { @@ -5451,6 +5726,7 @@ var Answer = function Answer(_ref) { case 2: res = _context14.sent; if (res) { + clearCountdownTimeout(); newQuestions = (0,lodash.cloneDeep)(answerData === null || answerData === void 0 ? void 0 : answerData.exercise_question_types); index = newQuestions === null || newQuestions === void 0 ? void 0 : newQuestions.findIndex(function (e) { return e.question_type === 5; @@ -5481,6 +5757,7 @@ var Answer = function Answer(_ref) { }() }); } else { + clearCountdownTimeout(); goShixun(item); } case 4: @@ -5510,11 +5787,11 @@ var Answer = function Answer(_ref) { case 3: res = _context16.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - clearTimeout(countDownRef.current); - clearTimeout(countDownRef2.current); + // clearTimeout(countDownRef.current) + // clearTimeout(countDownRef2.current) + clearCountdownTimeout(); setIframeUrl("/myproblems/".concat(res.identifier, "?type=exercises&exercisesId=").concat(params.categoryId, "&coursesId=").concat(params.coursesId, "&login=").concat(params.login, "&questionId=").concat(item.question_id).concat(iframeUrlSuffix.current || "")); setIframeBlock("block"); - // props.history.push(`/myproblems/${res.identifier}?type=exercises&exercisesId=${params.categoryId}&coursesId=${params.coursesId}&login=${params.login}&questionId=${item.question_id}`) } case 5: case "end": @@ -5533,7 +5810,7 @@ var Answer = function Answer(_ref) { return regeneratorRuntime_default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: - setQesLoading(true); + setIsSpin(true); saveParams = { questionId: questionId, exercise_choice_id: exercise_choice_id, @@ -5583,6 +5860,7 @@ var Answer = function Answer(_ref) { } if ((res === null || res === void 0 ? void 0 : res.status) === 0) { callBack && callBack(); + signConfigFuc(); } else if ((res === null || res === void 0 ? void 0 : res.status) === -1) { // message.warn("试卷已截止,已自动交卷") setTimeout(function () { @@ -5593,6 +5871,9 @@ var Answer = function Answer(_ref) { } else if ((res === null || res === void 0 ? void 0 : res.status) === -3) { res.status = -1; setCheckStatus(res); + } else if ((res === null || res === void 0 ? void 0 : res.status) === -4) { + //提交的答案为空时为-4 + signConfigFuc(); } else if ((res === null || res === void 0 ? void 0 : res.status) === -5) { dispatch({ type: 'exercise/setActionTabs', @@ -5607,8 +5888,9 @@ var Answer = function Answer(_ref) { } else { message/* default.warn */.ZP.warn(res.message || "试卷已截止,已自动交卷"); } - setQesLoading(false); - case 18: + setIsSpin(false); + return _context17.abrupt("return", res); + case 19: case "end": return _context17.stop(); } @@ -5620,35 +5902,43 @@ var Answer = function Answer(_ref) { }(); var handleVerifySave = /*#__PURE__*/function () { var _ref15 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee20(isSave) { - var res, tip; + var res, tip, renderArr; return regeneratorRuntime_default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: - setBtnLoading(true); - _context20.next = 3; + _context20.next = 2; return handleLeftTime(); - case 3: - _context20.next = 5; + case 2: + _context20.next = 4; return (0,service_exercise/* beginCommit */.Vj)({ id: params.categoryId }); - case 5: + case 4: res = _context20.sent; if (res) { - _context20.next = 9; + _context20.next = 7; break; } - setBtnLoading(false); return _context20.abrupt("return"); - case 9: + case 7: if (res.question_undo !== 0 || res.oj_undo !== 0) { tip = ''; - if (res.question_undo !== 0 && res.oj_undo !== 0) { - tip = "\u6709 ".concat(res.question_undo, " \u9898\u672A\u5B8C\u6210\uFF0C\u5305\u542B ").concat(res.oj_undo, " \u4E2A\u7F16\u7A0B\u9898"); - } else if (res.question_undo !== 0 && res.oj_undo === 0) { - tip = "\u6709 ".concat(res.question_undo, " \u9898\u672A\u5B8C\u6210"); - } else if (res.question_undo === 0 && res.oj_undo !== 0) { - tip = "\u6709 ".concat(res.oj_undo, " \u7F16\u7A0B\u9898\u672A\u5B8C\u6210"); + if (res.question_undo > 0) { + tip = "\u6709".concat(res.question_undo, "\u9898\u672A\u5B8C\u6210"); + if (res.oj_undo > 0 || res.shixun_undo > 0) { + renderArr = [{ + type: '编程题', + num: res.oj_undo + }, { + type: '实训题', + num: res.shixun_undo + }]; + tip = "".concat(tip, "\uFF08\u5176\u4E2D\u6709").concat(renderArr.filter(function (item) { + return item.num > 0; + }).map(function (item) { + return "".concat(item.num, "\u4E2A").concat(item.type); + }).join('、'), "\uFF09"); + } } es_modal/* default.confirm */.Z.confirm({ width: 530, @@ -5726,8 +6016,7 @@ var Answer = function Answer(_ref) { }() }); } - setBtnLoading(false); - case 11: + case 8: case "end": return _context20.stop(); } @@ -5809,9 +6098,64 @@ var Answer = function Answer(_ref) { })); } catch (_unused2) {} setTimeout(function () { + var _answerData$exercise6, _answerData$exercise7, _res$data15, _answerData$exercise8, _res$data16; es_modal/* default.info */.Z.info({ centered: true, - title: "交卷成功!", + title: "交卷成功", + className: Answermodules.commitModal, + width: 490, + icon: null, + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb20", + gutter: 20, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 12, + className: Answermodules.commitItem, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.commitInfoLabel, + children: "\u59D3\u540D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.commitInfoValue, + title: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise6 = answerData.exercise) === null || _answerData$exercise6 === void 0 ? void 0 : _answerData$exercise6.user_name, + children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise7 = answerData.exercise) === null || _answerData$exercise7 === void 0 ? void 0 : _answerData$exercise7.user_name) || '- -' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 12, + className: Answermodules.commitItem, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.commitInfoLabel, + children: "\u4F5C\u7B54\u65F6\u957F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.commitInfoValue, + children: res === null || res === void 0 ? void 0 : (_res$data15 = res.data) === null || _res$data15 === void 0 ? void 0 : _res$data15.user_exercise_time + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + gutter: 20, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 12, + className: Answermodules.commitItem, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.commitInfoLabel, + children: "\u5B66\u53F7" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.commitInfoValue, + children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise8 = answerData.exercise) === null || _answerData$exercise8 === void 0 ? void 0 : _answerData$exercise8.student_id) || '- -' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 12, + className: Answermodules.commitItem, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.commitInfoLabel, + children: "\u4EA4\u5377\u65F6\u95F4" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.commitInfoValue, + children: res === null || res === void 0 ? void 0 : (_res$data16 = res.data) === null || _res$data16 === void 0 ? void 0 : _res$data16.commit_time + })] + })] + })] + }), okText: "确定", maskClosable: false, keyboard: false, @@ -5838,20 +6182,15 @@ var Answer = function Answer(_ref) { while (1) switch (_context22.prev = _context22.next) { case 0: handleSave(id, value, null, function () { - //题目选中 - // const newQuestions = cloneDeep(answerData?.exercise_question_types); - // const index = newQuestions?.findIndex((e: any) => e.question_type === key) - // newQuestions[index].items.find((item: any) => item.question_id === id).user_answer[0] = value; - // answerData.exercise_question_types = newQuestions; //答题卡选中 answerData.question_status.find(function (item) { return item.ques_id === id; }).ques_status = value ? 1 : 0; item.user_answer = []; item.user_answer.push(value); - if (!item.repeat_answer) { - item.israp = true; - } + // if (!item.repeat_answer) { + // item.ques_status = 1 //手动将题目设为已作答的状态 + // } setAnswerData(objectSpread2_default()({}, answerData)); }); case 1: @@ -5871,22 +6210,9 @@ var Answer = function Answer(_ref) { case 0: handleSave(item.question_id, value, null, function () { var _items$sub_exercise_q, _items$sub_exercise_q2, _items$sub_exercise_q3; - //题目选中 - // const newQuestions = cloneDeep(answerData?.exercise_question_types); - // const index = newQuestions?.findIndex((e: any) => e.question_type === key) - // newQuestions[index].items.find((item: any) => item.question_id === id).user_answer[0] = value; - // answerData.exercise_question_types = newQuestions; - //答题卡选中 - // console.log(answerData,id); - // let items=answerData?.exercise_question_types?.find((item:any)=>item.question_type === 7)?.items?.find((items:any)=>items.question_id===id) - // let answer=items?.sub_exercise_questions?.filter((item:any)=>item.user_answer?.length===0); - - // answerData.question_status.find((item: any) => item.ques_id === id).ques_status = answer?.length===items?.sub_exercise_questions?.length?0:(answer?.length>0&&answer?.lengthitem.question_type === 7)?.items?.find((items:any)=>items.question_id===id) + items.user_answer = toConsumableArray_default()(item.user_answer); //组合题的是否作答判断也要放在外层 var answer = items === null || items === void 0 ? void 0 : (_items$sub_exercise_q = items.sub_exercise_questions) === null || _items$sub_exercise_q === void 0 ? void 0 : _items$sub_exercise_q.filter(function (item) { var _item$user_answer; return ((_item$user_answer = item.user_answer) === null || _item$user_answer === void 0 ? void 0 : _item$user_answer.length) === 0; @@ -5908,233 +6234,451 @@ var Answer = function Answer(_ref) { }(); var handleChangeMultiple = function handleChangeMultiple(value, id, item) { handleSave(id, value, null, function () { - // console.log('----',id,item); - item.user_answer = value; - if (!item.repeat_answer) { - item.israp = true; - } + // if (!item.repeat_answer) { + // item.israp = true; + // } answerData.question_status.find(function (item) { return item.ques_id === id; }).ques_status = value !== null && value !== void 0 && value.length ? 1 : 0; setAnswerData(objectSpread2_default()({}, answerData)); }); }; - var updateData = function updateData(value, index, id, param, item) { - answerData.question_status.find(function (item) { - return item.ques_id === id; - }).ques_status = param.every(function (k) { - return !!k.answer_text; - }) ? 1 : answerData.question_status.find(function (item) { - return item.ques_id === id; - }).ques_status = param.some(function (k) { - return !!k.answer_text; - }) ? 2 : 0; - var answers = { - choice_id: index, - answer_text: value + var handleBlurFill = /*#__PURE__*/function () { + var _ref19 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee24(value, index, id, param, item) { + var res; + return regeneratorRuntime_default()().wrap(function _callee24$(_context24) { + while (1) switch (_context24.prev = _context24.next) { + case 0: + _context24.next = 2; + return handleSave(id, index, value, function () { + answerData.question_status.find(function (item) { + return item.ques_id === id; + }).ques_status = param.every(function (k) { + return !!k.answer_text; + }) ? 1 : answerData.question_status.find(function (item) { + return item.ques_id === id; + }).ques_status = param.some(function (k) { + return !!k.answer_text; + }) ? 2 : 0; + var answers = { + choice_id: index, + answer_text: value + }; + if (item.user_answer.filter(function (item) { + return item.choice_id != index; + })) { + item.user_answer.splice(index - 1, 1, answers); + } else { + item.user_answer.push(answers); + } + // if (!item.repeat_answer) { + // item.israp = true; + // } + setAnswerData(objectSpread2_default()({}, answerData)); + }); + case 2: + res = _context24.sent; + return _context24.abrupt("return", res); + case 4: + case "end": + return _context24.stop(); + } + }, _callee24); + })); + return function handleBlurFill(_x23, _x24, _x25, _x26, _x27) { + return _ref19.apply(this, arguments); }; - if (item.user_answer.filter(function (item) { - return item.choice_id != index; - })) { - item.user_answer.splice(index - 1, 1, answers); - } else { - item.user_answer.push(answers); - } - if (!item.repeat_answer) { - item.israp = true; - } - setAnswerData(objectSpread2_default()({}, answerData)); - }; - var handleBlurFill = function handleBlurFill(value, index, id, param, item) { - if (!value.replaceAll(' ', '')) { - message/* default.warning */.ZP.warning('回答不能为空或者纯空格'); - return; - } - handleSave(id, index, value, function () { - updateData(value, index, id, param, item); - }); - }; + }(); var handleBlurSimple = function handleBlurSimple(value, id, item) { - if (!value.replaceAll(' ', '')) { - message/* default.warning */.ZP.warning('回答不能为空或者纯空格'); - return; - } + // if (!value.replaceAll(' ', '')) { + // message.warning('回答不能为空或者纯空格') + // return + // } handleSave(id, null, value, function () { answerData.question_status.find(function (item) { return item.ques_id === id; }).ques_status = value ? 1 : 0; item.user_answer = []; item.user_answer.push(value); - if (!item.repeat_answer) { - item.israp = true; - } + // if (!item.repeat_answer) { + // item.israp = true; + // } setAnswerData(objectSpread2_default()({}, answerData)); }); }; var renderSingle = function renderSingle(item, key) { - var _answerData$exercise12, _item$user_answer2, _item$question_choice, _answerData$exercise13, _answerData$exercise14, _answerData$exercise15, _item$question_choice2; + var _answerData$exercise9, _item$user_answer2, _item$user_answer3, _item$question_choice2, _answerData$exercise10, _answerData$exercise11; + var answerText = ''; + var answerBool = (item === null || item === void 0 ? void 0 : item.question_type) === 0 || (item === null || item === void 0 ? void 0 : item.question_type) === 1; + if (answerBool) { + var _item$question_choice; + item === null || item === void 0 ? void 0 : (_item$question_choice = item.question_choices) === null || _item$question_choice === void 0 ? void 0 : _item$question_choice.forEach(function (k, i) { + if (k.standard_boolean) { + answerText = answerText + tagList[i]; + } + }); + } + var disabled = (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise9 = answerData.exercise) === null || _answerData$exercise9 === void 0 ? void 0 : _answerData$exercise9.user_exercise_status) === 1 || !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2.length) > 0 && item.ques_status !== 0; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { - spinning: qesLoading, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, { - disabled: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise12 = answerData.exercise) === null || _answerData$exercise12 === void 0 ? void 0 : _answerData$exercise12.user_exercise_status) === 1, - defaultValue: item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2[0], - onChange: function onChange(e) { - return handleChangeSingle(e.target.value, item === null || item === void 0 ? void 0 : item.question_id, key, item); - }, - className: item.user_score && "edu-radio-".concat(item.user_score === item.question_score ? "green" : "red"), - children: item === null || item === void 0 ? void 0 : (_item$question_choice = item.question_choices) === null || _item$question_choice === void 0 ? void 0 : _item$question_choice.map(function (answer, index) { - var _item$user_answer3; - var isJudge = item.question_type == 2; - var prefix = isJudge ? '' : "".concat(tagList[index], "."); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Answermodules.answerWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { - disabled: !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer3 = item.user_answer) === null || _item$user_answer3 === void 0 ? void 0 : _item$user_answer3.length) > 0 && !item.israp, - value: answer === null || answer === void 0 ? void 0 : answer.choice_id, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "mr3", - children: prefix - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - style: { - width: 740 - }, - className: Answermodules.renderHtml, - value: answer === null || answer === void 0 ? void 0 : answer.choice_text - })] - }) - }, index); + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Answermodules.baseMargin, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { + spinning: qesLoading, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, { + disabled: disabled, + defaultValue: item === null || item === void 0 ? void 0 : (_item$user_answer3 = item.user_answer) === null || _item$user_answer3 === void 0 ? void 0 : _item$user_answer3[0], + onChange: function onChange(e) { + return handleChangeSingle(e.target.value, item === null || item === void 0 ? void 0 : item.question_id, key, item); + }, + className: item.user_score && "edu-radio-".concat(item.user_score === item.question_score ? "green" : "red"), + children: item === null || item === void 0 ? void 0 : (_item$question_choice2 = item.question_choices) === null || _item$question_choice2 === void 0 ? void 0 : _item$question_choice2.map(function (answer, index) { + var isJudge = item.question_type == 2; + var prefix = isJudge ? '' : "".concat(tagList[index], "."); + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Answermodules.answerWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { + className: Answermodules.noWrap, + value: answer === null || answer === void 0 ? void 0 : answer.choice_id, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#333333' + }, + className: "font16 mr3", + children: prefix + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + style: { + width: 740 + }, + className: Answermodules.renderHtml, + value: answer === null || answer === void 0 ? void 0 : answer.choice_text + })] + }) + }, index); + }) }) }) - }), (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise13 = answerData.exercise) === null || _answerData$exercise13 === void 0 ? void 0 : _answerData$exercise13.answer_open) && ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise14 = answerData.exercise) === null || _answerData$exercise14 === void 0 ? void 0 : _answerData$exercise14.exercise_status) == 3 || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise15 = answerData.exercise) === null || _answerData$exercise15 === void 0 ? void 0 : _answerData$exercise15.user_exercise_status) == 1) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u53C2\u8003\u7B54\u6848\uFF1A", item === null || item === void 0 ? void 0 : (_item$question_choice2 = item.question_choices) === null || _item$question_choice2 === void 0 ? void 0 : _item$question_choice2.map(function (k, i) { - if (k.standard_boolean) { - return tagList[i]; - } - return ''; - }).join('')] + }), ((0,authority/* isAdmin */.GJ)() || (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise10 = answerData.exercise) === null || _answerData$exercise10 === void 0 ? void 0 : _answerData$exercise10.user_exercise_status) > 0 && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise11 = answerData.exercise) === null || _answerData$exercise11 === void 0 ? void 0 : _answerData$exercise11.open_score)) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "end", + className: "mb20", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14", + style: { + color: '#6A7283' + }, + children: "\u5F97\u5206" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font14 ml10", + children: [(item === null || item === void 0 ? void 0 : item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answer_scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9', + children: item === null || item === void 0 ? void 0 : item.user_score + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginLeft: 5, + color: '#6A7283' + }, + children: "\u5206" + })] + }), !(item !== null && item !== void 0 && item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-red", + children: "\u672A\u8BC4" + })] + })] + }), (item === null || item === void 0 ? void 0 : item.standard_answer_show) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Answermodules.analysisWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Answermodules.greyBg, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u3010\u7B54\u6848\u3011" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: answerBool ? answerText : item === null || item === void 0 ? void 0 : item.standard_answer_show + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u3010\u89E3\u6790\u3011" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + className: Answermodules.renderHtml, + value: item === null || item === void 0 ? void 0 : item.analysis + })] + })] + }) })] }); }; var renderSingles = function renderSingles(items, keys, i) { - var _items$sub_exercise_q4; + var _answerData$exercise12, _items$sub_exercise_q4; + var disabled = (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise12 = answerData.exercise) === null || _answerData$exercise12 === void 0 ? void 0 : _answerData$exercise12.user_exercise_status) === 1 || !items.repeat_answer && items.ques_status !== 0; return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { children: items === null || items === void 0 ? void 0 : (_items$sub_exercise_q4 = items.sub_exercise_questions) === null || _items$sub_exercise_q4 === void 0 ? void 0 : _items$sub_exercise_q4.map(function (item, key) { - var _answerData$exercise16, _item$user_answer4, _item$question_choice3, _answerData$exercise17, _answerData$exercise18, _answerData$exercise19, _item$standard_answer; + var _item$question_choice3, _item$user_answer4, _item$question_choice4, _answerData$exercise13, _answerData$exercise14; + var answerText = ''; + item === null || item === void 0 ? void 0 : (_item$question_choice3 = item.question_choices) === null || _item$question_choice3 === void 0 ? void 0 : _item$question_choice3.forEach(function (k, i) { + if (k.standard_boolean) { + answerText = answerText + tagList[i]; + } + }); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(Answermodules.baseMargin, " ").concat(Answermodules.singleItem, " mb20"), children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { - marginTop: 20, + display: 'flex', + alignItems: 'baseline', userSelect: "none", - alignItems: 'center' + marginBottom: 40 }, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { style: { flexShrink: 0, - fontSize: '14px', - color: '#999' + color: '#999999' }, - children: [i + 1 + '.' + (key + 1), "\uFF08\u5355\u9009\u9898 ", item === null || item === void 0 ? void 0 : item.question_score, "\u5206\uFF09"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + className: "font14", + children: ["\uFF08", item === null || item === void 0 ? void 0 : item.question_score, "\u5206\uFF09"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - marginLeft: 27 + flexShrink: 0, + marginRight: 6 }, + className: "font16", + children: i + 1 + '.' + (key + 1) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { value: item === null || item === void 0 ? void 0 : item.question_title })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, { - disabled: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise16 = answerData.exercise) === null || _answerData$exercise16 === void 0 ? void 0 : _answerData$exercise16.user_exercise_status) === 1, style: { - marginLeft: 27 + marginLeft: 66 }, + disabled: disabled, defaultValue: item === null || item === void 0 ? void 0 : (_item$user_answer4 = item.user_answer) === null || _item$user_answer4 === void 0 ? void 0 : _item$user_answer4[0], onChange: function onChange(e) { return handleChangeSingles(e.target.value, items === null || items === void 0 ? void 0 : items.question_id, key, item, items); }, - className: item.user_score && "edu-radio-".concat(item.user_score === item.question_score ? "green" : "red"), - children: item === null || item === void 0 ? void 0 : (_item$question_choice3 = item.question_choices) === null || _item$question_choice3 === void 0 ? void 0 : _item$question_choice3.map(function (answer, index) { - var _item$user_answer5; - var isJudge = item.question_type == 2; - var prefix = isJudge ? '' : "".concat(tagList[index], "."); + className: item.user_score && "edu-radio-".concat(item.user_score === item.question_score ? "green" : "red"), + children: item === null || item === void 0 ? void 0 : (_item$question_choice4 = item.question_choices) === null || _item$question_choice4 === void 0 ? void 0 : _item$question_choice4.map(function (answer, index) { + var isJudge = item.question_type == 2; + var prefix = isJudge ? '' : "".concat(tagList[index], "."); + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Answermodules.answerWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { + className: Answermodules.noWrap, + value: answer === null || answer === void 0 ? void 0 : answer.choice_id, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#333333' + }, + className: "mr3 font16 ".concat(Answermodules.noWrap), + children: prefix + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + style: { + width: 734 + }, + className: Answermodules.renderHtml, + value: answer === null || answer === void 0 ? void 0 : answer.choice_text + })] + }) + }, index); + }) + }), ((0,authority/* isAdmin */.GJ)() || (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise13 = answerData.exercise) === null || _answerData$exercise13 === void 0 ? void 0 : _answerData$exercise13.user_exercise_status) > 0 && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise14 = answerData.exercise) === null || _answerData$exercise14 === void 0 ? void 0 : _answerData$exercise14.open_score)) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "end", + className: "mb20", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14", + style: { + color: '#6A7283' + }, + children: "\u5F97\u5206" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font14 ml10", + children: [(item === null || item === void 0 ? void 0 : item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answer_scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9', + children: item === null || item === void 0 ? void 0 : item.user_score + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginLeft: 5, + color: '#6A7283' + }, + children: "\u5206" + })] + }), !(item !== null && item !== void 0 && item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-red", + children: "\u672A\u8BC4" + })] + })] + }), (item === null || item === void 0 ? void 0 : item.standard_answer_show) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Answermodules.analysisWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Answermodules.greyBg, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u3010\u7B54\u6848\u3011" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: answerText + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u3010\u89E3\u6790\u3011" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + className: Answermodules.renderHtml, + value: item === null || item === void 0 ? void 0 : item.analysis + })] + })] + }) + })] + }, key); + }) + }); + }; + var renderMultiple = function renderMultiple(item, key) { + var _answerData$exercise15, _item$user_answer5, _item$question_choice6, _answerData$exercise16, _answerData$exercise17; + var answerText = ''; + var answerBool = (item === null || item === void 0 ? void 0 : item.question_type) === 0 || (item === null || item === void 0 ? void 0 : item.question_type) === 1; + if (answerBool) { + var _item$question_choice5; + item === null || item === void 0 ? void 0 : (_item$question_choice5 = item.question_choices) === null || _item$question_choice5 === void 0 ? void 0 : _item$question_choice5.forEach(function (k, i) { + if (k.standard_boolean) { + answerText = answerText + tagList[i]; + } + }); + } + var disabled = (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise15 = answerData.exercise) === null || _answerData$exercise15 === void 0 ? void 0 : _answerData$exercise15.user_exercise_status) === 1 || !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer5 = item.user_answer) === null || _item$user_answer5 === void 0 ? void 0 : _item$user_answer5.length) > 0 && item.ques_status !== 0; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Answermodules.baseMargin, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { + spinning: qesLoading, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, { + disabled: disabled, + defaultValue: item === null || item === void 0 ? void 0 : item.user_answer, + onChange: function onChange(value) { + return handleChangeMultiple(value, item === null || item === void 0 ? void 0 : item.question_id, item); + }, + className: item.user_score && "edu-checkbox-".concat(item.user_score === item.question_score ? "green" : "red"), + children: item === null || item === void 0 ? void 0 : (_item$question_choice6 = item.question_choices) === null || _item$question_choice6 === void 0 ? void 0 : _item$question_choice6.map(function (answer, index) { + var prefix = "".concat(tagList[index], "."); return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: Answermodules.answerWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { - disabled: !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer5 = item.user_answer) === null || _item$user_answer5 === void 0 ? void 0 : _item$user_answer5.length) > 0, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, { value: answer === null || answer === void 0 ? void 0 : answer.choice_id, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "mr3", - children: prefix - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { style: { - width: 722 + color: '#333333' }, + className: "font16 mr3", + children: prefix + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { className: Answermodules.renderHtml, value: answer === null || answer === void 0 ? void 0 : answer.choice_text })] }) - }, index); - }) - }), (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise17 = answerData.exercise) === null || _answerData$exercise17 === void 0 ? void 0 : _answerData$exercise17.answer_open) && ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise18 = answerData.exercise) === null || _answerData$exercise18 === void 0 ? void 0 : _answerData$exercise18.exercise_status) == 3 || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise19 = answerData.exercise) === null || _answerData$exercise19 === void 0 ? void 0 : _answerData$exercise19.user_exercise_status) == 1) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u53C2\u8003\u7B54\u6848\uFF1A", item === null || item === void 0 ? void 0 : (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.map(function (answer, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: tagList[Number(answer) - 1] }); + }) + }) + }) + }), ((0,authority/* isAdmin */.GJ)() || (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise16 = answerData.exercise) === null || _answerData$exercise16 === void 0 ? void 0 : _answerData$exercise16.user_exercise_status) > 0 && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise17 = answerData.exercise) === null || _answerData$exercise17 === void 0 ? void 0 : _answerData$exercise17.open_score)) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "end", + className: "mb20", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14", + style: { + color: '#6A7283' + }, + children: "\u5F97\u5206" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font14 ml10", + children: [(item === null || item === void 0 ? void 0 : item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answer_scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9', + children: item === null || item === void 0 ? void 0 : item.user_score + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginLeft: 5, + color: '#6A7283' + }, + children: "\u5206" + })] + }), !(item !== null && item !== void 0 && item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-red", + children: "\u672A\u8BC4" + })] + })] + }), (item === null || item === void 0 ? void 0 : item.standard_answer_show) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Answermodules.analysisWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Answermodules.greyBg, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u3010\u7B54\u6848\u3011" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: answerBool ? answerText : item === null || item === void 0 ? void 0 : item.standard_answer_show + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "font14 mr10", + style: { + color: '#6A7283' + }, + children: "\u3010\u89E3\u6790\u3011" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + className: Answermodules.renderHtml, + value: item === null || item === void 0 ? void 0 : item.analysis })] })] - }); - }) - }); - }; - var renderMultiple = function renderMultiple(item, key) { - var _answerData$exercise20, _item$question_choice4, _answerData$exercise21, _answerData$exercise22, _item$question_choice5; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { - spinning: qesLoading, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, { - disabled: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise20 = answerData.exercise) === null || _answerData$exercise20 === void 0 ? void 0 : _answerData$exercise20.user_exercise_status) === 1 - // defaultValue={item?.question_choices?.filter((ite:any)=>ite.user_answer_boolean).map(items=>items.choice_id)} - , - defaultValue: item === null || item === void 0 ? void 0 : item.user_answer, - onChange: function onChange(value) { - return handleChangeMultiple(value, item === null || item === void 0 ? void 0 : item.question_id, item); - }, - className: item.user_score && "edu-checkbox-".concat(item.user_score === item.question_score ? "green" : "red"), - children: item === null || item === void 0 ? void 0 : (_item$question_choice4 = item.question_choices) === null || _item$question_choice4 === void 0 ? void 0 : _item$question_choice4.map(function (answer, index) { - var _item$user_answer6; - var prefix = "".concat(tagList[index], "."); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Answermodules.answerWrap, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, { - disabled: !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer6 = item.user_answer) === null || _item$user_answer6 === void 0 ? void 0 : _item$user_answer6.length) > 0 && !item.israp, - value: answer === null || answer === void 0 ? void 0 : answer.choice_id, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "mr3", - children: prefix - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - className: Answermodules.renderHtml, - value: answer === null || answer === void 0 ? void 0 : answer.choice_text - })] - }) - }); - }) }) - }), (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise21 = answerData.exercise) === null || _answerData$exercise21 === void 0 ? void 0 : _answerData$exercise21.answer_open) && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise22 = answerData.exercise) === null || _answerData$exercise22 === void 0 ? void 0 : _answerData$exercise22.exercise_status) == 3 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u53C2\u8003\u7B54\u6848\uFF1A", item === null || item === void 0 ? void 0 : (_item$question_choice5 = item.question_choices) === null || _item$question_choice5 === void 0 ? void 0 : _item$question_choice5.map(function (k, i) { - if (k.standard_boolean) { - return tagList[i]; - } - return ''; - }).join('')] })] }); }; var renderFill = function renderFill(item, key) { return /*#__PURE__*/(0,jsx_runtime.jsx)(components_Fill, { item: item, + sign: sign, answerData: answerData, - onBlur: function onBlur(value, index, userAnswer) { - return updateData(value, index, item === null || item === void 0 ? void 0 : item.question_id, userAnswer, item); - } + onBlur: /*#__PURE__*/function () { + var _ref20 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee25(value, index, userAnswer) { + return regeneratorRuntime_default()().wrap(function _callee25$(_context25) { + while (1) switch (_context25.prev = _context25.next) { + case 0: + _context25.next = 2; + return handleBlurFill(value, index, item === null || item === void 0 ? void 0 : item.question_id, userAnswer, item); + case 2: + return _context25.abrupt("return", _context25.sent); + case 3: + case "end": + return _context25.stop(); + } + }, _callee25); + })); + return function (_x28, _x29, _x30) { + return _ref20.apply(this, arguments); + }; + }() }); }; @@ -6156,7 +6700,8 @@ var Answer = function Answer(_ref) { onBlur: function onBlur(value) { return handleBlurSimple(value, item === null || item === void 0 ? void 0 : item.question_id, item); }, - isEducation: isEducation + isEducation: isEducation, + sign: sign }); } }; @@ -6194,50 +6739,46 @@ var Answer = function Answer(_ref) { className: Answermodules.answerSheet, children: !hideAnswerCard[key] && (obj === null || obj === void 0 ? void 0 : (_obj$items = obj.items) === null || _obj$items === void 0 ? void 0 : _obj$items.map(function (item, k) { if (item.question_type === key) { - var _answerData$question_2, _answerData$question_3; + var _answerData$question_2, _answerData$question_3, _answerData$question_4; return /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { onClick: function onClick() { - var _answerData$exercise23; - if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise23 = answerData.exercise) === null || _answerData$exercise23 === void 0 ? void 0 : _answerData$exercise23.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { - var _answerData$exercise_3, _answerData$exercise_4, _answerData$exercise_5, _answerData$exercise_6; - if (!((_answerData$exercise_3 = answerData.exercise_question_types) !== null && _answerData$exercise_3 !== void 0 && (_answerData$exercise_4 = _answerData$exercise_3[oneindex]) !== null && _answerData$exercise_4 !== void 0 && (_answerData$exercise_5 = _answerData$exercise_4.items) !== null && _answerData$exercise_5 !== void 0 && (_answerData$exercise_6 = _answerData$exercise_5[twoindex]) !== null && _answerData$exercise_6 !== void 0 && _answerData$exercise_6.repeat_answer)) { - setisshowmodal(true); - settype(3); - setindexitems({ - oneindex: index, - twoindex: k - }); - return; - } + if (index === oneindex && k === twoindex) { + //点击的答题卡选项恰好是当前题目时不该做任何操作 + return; } - setoneindex(index); - settwoindex(k); - // initData(); - - var anchorName = "Anchor_".concat(key, "_").concat(k); - var anchorElement = document.getElementById(anchorName); - if (anchorElement) { - setTimeout(function () { - return anchorElement.scrollIntoView({ - block: "start", - behavior: "smooth" - }); - }); + if (sign.current) { + sign.current = 'appoint'; + skipData.current = { + oneindex: index, + twoindex: k + }; + return; } + skipAppointQuestion({ + oneindex: index, + twoindex: k + }); }, - className: (answerData === null || answerData === void 0 ? void 0 : (_answerData$question_2 = answerData.question_status) === null || _answerData$question_2 === void 0 ? void 0 : _answerData$question_2.some(function (val) { + className: "".concat(answerData !== null && answerData !== void 0 && (_answerData$question_2 = answerData.question_status) !== null && _answerData$question_2 !== void 0 && _answerData$question_2.some(function (val) { return val.ques_id === item.question_id && (val === null || val === void 0 ? void 0 : val.ques_status) === 1; - })) && Answermodules.active, - children: [k + 1, (answerData === null || answerData === void 0 ? void 0 : (_answerData$question_3 = answerData.question_status) === null || _answerData$question_3 === void 0 ? void 0 : _answerData$question_3.some(function (val) { + }) ? Answermodules.active : '', "\n ").concat(answerData !== null && answerData !== void 0 && (_answerData$question_3 = answerData.question_status) !== null && _answerData$question_3 !== void 0 && _answerData$question_3.some(function (val) { + return val.ques_id === item.question_id && (val === null || val === void 0 ? void 0 : val.ques_status) === 2; + }) ? Answermodules.partialActive : '', "\n ").concat(index === oneindex && k === twoindex ? Answermodules.selected : '', "\n "), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.qindex, + children: k + 1 + }), (answerData === null || answerData === void 0 ? void 0 : (_answerData$question_4 = answerData.question_status) === null || _answerData$question_4 === void 0 ? void 0 : _answerData$question_4.some(function (val) { return val.ques_id === item.question_id && (val === null || val === void 0 ? void 0 : val.ques_status) === 2; })) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { style: { - height: 3, - background: '#0152d9', + height: 12, + background: '#3061D0', position: 'absolute', - width: 26, + width: '100%', bottom: 0 } + }), item.is_marked && /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-biaoji1 ".concat(Answermodules.markIcon) })] }, k); } @@ -6246,13 +6787,12 @@ var Answer = function Answer(_ref) { }); }; var renderQuestion = function renderQuestion(item, i) { - var _item$sub_exercise_qu, _item$schools, _answerData$exercise24, _answerData$exercise25, _answerData$exercise26, _answerData$exercise27, _item$standard_answer2; - var title = (item === null || item === void 0 ? void 0 : item.question_type) == 5 ? item === null || item === void 0 ? void 0 : item.shixun_name : item === null || item === void 0 ? void 0 : item.question_title; + var _item$schools, _answerData$exercise18, _answerData$exercise19; var answerText = ''; var answerBool = (item === null || item === void 0 ? void 0 : item.question_type) === 0 || (item === null || item === void 0 ? void 0 : item.question_type) === 1; if (answerBool) { - var _item$question_choice6; - item === null || item === void 0 ? void 0 : (_item$question_choice6 = item.question_choices) === null || _item$question_choice6 === void 0 ? void 0 : _item$question_choice6.forEach(function (k, i) { + var _item$question_choice7; + item === null || item === void 0 ? void 0 : (_item$question_choice7 = item.question_choices) === null || _item$question_choice7 === void 0 ? void 0 : _item$question_choice7.forEach(function (k, i) { if (k.standard_boolean) { answerText = answerText + tagList[i]; } @@ -6264,30 +6804,18 @@ var Answer = function Answer(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { display: 'flex', - marginTop: 20, + alignItems: 'baseline', + marginBottom: 40, userSelect: "none" }, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [i + 1, "."] + className: "".concat(Answermodules.questionScore, " mr10"), + children: [item === null || item === void 0 ? void 0 : item.question_score, "\u5206"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 ".concat(Answermodules.noWrap), + children: [i + 1, "\u3001"] }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { value: item === null || item === void 0 ? void 0 : item.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", item === null || item === void 0 ? void 0 : item.question_score, "\u5206\uFF09", (item === null || item === void 0 ? void 0 : item.question_type) === 7 ? "\u5171".concat(item === null || item === void 0 ? void 0 : (_item$sub_exercise_qu = item.sub_exercise_questions) === null || _item$sub_exercise_qu === void 0 ? void 0 : _item$sub_exercise_qu.length, "\u5C0F\u9898") : '', " "] - }), !(item !== null && item !== void 0 && item.repeat_answer) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: '#FA6400 ', - marginLeft: 10, - fontSize: 16 - }, - children: "\u6CE8\u610F\uFF1A\u8BE5\u9898\u4E0D\u5141\u8BB8\u91CD\u590D\u7B54\u9898" }), !!(item !== null && item !== void 0 && (_item$schools = item.schools) !== null && _item$schools !== void 0 && _item$schools.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { title: "\u8BE5\u5B9E\u8BAD\u9898\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E", children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { @@ -6310,64 +6838,46 @@ var Answer = function Answer(_ref) { // 编程题 (item === null || item === void 0 ? void 0 : item.question_type) == 6 && renderProgram(item, item === null || item === void 0 ? void 0 : item.question_type), // 组合题 - (item === null || item === void 0 ? void 0 : item.question_type) == 7 && renderSingles(item, item === null || item === void 0 ? void 0 : item.question_type, i) - - // renderProgram(item, item?.question_type) - , (item === null || item === void 0 ? void 0 : item.answer_comments) && /*#__PURE__*/(0,jsx_runtime.jsx)(AnswerComments/* default */.Z, { + (item === null || item === void 0 ? void 0 : item.question_type) == 7 && renderSingles(item, item === null || item === void 0 ? void 0 : item.question_type, i), (item === null || item === void 0 ? void 0 : item.answer_comments) && /*#__PURE__*/(0,jsx_runtime.jsx)(components_NewAnswerComments, { hideScore: true, list: item === null || item === void 0 ? void 0 : item.answer_comments - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Answermodules.itemType, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - children: [(item === null || item === void 0 ? void 0 : item.question_type) < 3 && (item === null || item === void 0 ? void 0 : item.standard_answer_show) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 ml20", - children: ["\u6B63\u786E\u7B54\u6848\uFF1A", answerBool ? answerText : item === null || item === void 0 ? void 0 : item.standard_answer_show] - }), ((0,authority/* isAdmin */.GJ)() || (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise24 = answerData.exercise) === null || _answerData$exercise24 === void 0 ? void 0 : _answerData$exercise24.user_exercise_status) > 0 && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise25 = answerData.exercise) === null || _answerData$exercise25 === void 0 ? void 0 : _answerData$exercise25.open_score)) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 ml20", - children: [(item === null || item === void 0 ? void 0 : item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9', - children: item === null || item === void 0 ? void 0 : item.user_score - }), " \u5206"] - }), !(item !== null && item !== void 0 && item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-red", - children: "\u672A\u8BC4" - })] - }), - // 实训题 ,答题 - (item === null || item === void 0 ? void 0 : item.question_type) == 5 && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise26 = answerData.exercise) === null || _answerData$exercise26 === void 0 ? void 0 : _answerData$exercise26.user_exercise_status) === 0 && (item === null || item === void 0 ? void 0 : item.answer_status) != 3 && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "primary", - className: "font14 ml20", - onClick: function onClick() { - return handleJoinShixun(item); - }, - children: "\u8FDB\u5165\u7B54\u9898" - }), - // 编程题 ,答题 - (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise27 = answerData.exercise) === null || _answerData$exercise27 === void 0 ? void 0 : _answerData$exercise27.user_exercise_status) === 0 && (item === null || item === void 0 ? void 0 : item.question_type) == 6 && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "primary", - className: "font14 ml20", - onClick: function onClick() { - return handleJoinProgram(item); - }, - children: "\u8FDB\u5165\u7B54\u9898" - })] - })] - }), (item === null || item === void 0 ? void 0 : item.question_type) <= 4 && ((item === null || item === void 0 ? void 0 : item.standard_answer_show) || (item === null || item === void 0 ? void 0 : (_item$standard_answer2 = item.standard_answer) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.length) > 0) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - style: { - marginTop: 14 + }), + // 实训题 ,答题 + (item === null || item === void 0 ? void 0 : item.question_type) == 5 && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise18 = answerData.exercise) === null || _answerData$exercise18 === void 0 ? void 0 : _answerData$exercise18.user_exercise_status) === 0 && (item === null || item === void 0 ? void 0 : item.answer_status) != 3 && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + justify: "end", + className: "mt20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + type: "primary", + className: Answermodules.toIframeBtn, + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee26() { + return regeneratorRuntime_default()().wrap(function _callee26$(_context26) { + while (1) switch (_context26.prev = _context26.next) { + case 0: + _context26.next = 2; + return handleJoinShixun(item); + case 2: + return _context26.abrupt("return", _context26.sent); + case 3: + case "end": + return _context26.stop(); + } + }, _callee26); + })), + children: "\u8FDB\u5165\u7B54\u9898" + }) + }), + // 编程题 ,答题 + (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise19 = answerData.exercise) === null || _answerData$exercise19 === void 0 ? void 0 : _answerData$exercise19.user_exercise_status) === 0 && (item === null || item === void 0 ? void 0 : item.question_type) == 6 && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + justify: "end", + className: "mt20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + type: "primary", + className: Answermodules.toIframeBtn, + onClick: function onClick() { + return handleJoinProgram(item); }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 ml20", - children: "\u89E3\u6790\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - className: Answermodules.renderHtml, - value: item === null || item === void 0 ? void 0 : item.analysis - })] - })] + children: "\u8FDB\u5165\u7B54\u9898" + }) })] }); }; @@ -6376,6 +6886,167 @@ var Answer = function Answer(_ref) { children: [item.question_type === 0 && renderAnswerCard('单选题', 0, index), item.question_type === 1 && renderAnswerCard('多选题', 1, index), item.question_type === 2 && renderAnswerCard('判断题', 2, index), item.question_type === 3 && renderAnswerCard('填空题', 3, index), item.question_type === 4 && renderAnswerCard('简答题', 4, index), item.question_type === 5 && renderAnswerCard('实训题', 5, index), item.question_type === 6 && renderAnswerCard('编程题', 6, index), item.question_type === 7 && renderAnswerCard('组合题', 7, index)] }); }; + var sign = (0,react.useRef)(false); + var skipData = (0,react.useRef)({}); + var switchType = (0,react.useRef)(); + var switchData = (0,react.useRef)({}); + var skipPrevQuestion = function skipPrevQuestion() { + var _answerData$exercise_3, _answerData$exercise_4, _answerData$exercise_5, _answerData$exercise20, _currentQuestionItem$2; + window.blur(); + var currentQuestionItem = (_answerData$exercise_3 = answerData.exercise_question_types) === null || _answerData$exercise_3 === void 0 ? void 0 : (_answerData$exercise_4 = _answerData$exercise_3[oneindex]) === null || _answerData$exercise_4 === void 0 ? void 0 : (_answerData$exercise_5 = _answerData$exercise_4.items) === null || _answerData$exercise_5 === void 0 ? void 0 : _answerData$exercise_5[twoindex]; + if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise20 = answerData.exercise) === null || _answerData$exercise20 === void 0 ? void 0 : _answerData$exercise20.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { + var _currentQuestionItem$; + if (!(currentQuestionItem !== null && currentQuestionItem !== void 0 && currentQuestionItem.repeat_answer) && (currentQuestionItem === null || currentQuestionItem === void 0 ? void 0 : (_currentQuestionItem$ = currentQuestionItem.user_answer) === null || _currentQuestionItem$ === void 0 ? void 0 : _currentQuestionItem$.length) > 0) { + if ((currentQuestionItem === null || currentQuestionItem === void 0 ? void 0 : currentQuestionItem.ques_status) === 0) { + switchType.current = 'prev'; + setisshowmodal(true); + return; + } + } + } + if (!(currentQuestionItem !== null && currentQuestionItem !== void 0 && currentQuestionItem.repeat_answer) && (currentQuestionItem === null || currentQuestionItem === void 0 ? void 0 : (_currentQuestionItem$2 = currentQuestionItem.user_answer) === null || _currentQuestionItem$2 === void 0 ? void 0 : _currentQuestionItem$2.length) > 0) { + //如果勾选了不再提示,则手动设为已答 + currentQuestionItem.ques_status = 1; + } + questionPartRef.current.scrollTo({ + top: 0, + left: 0, + behavior: "smooth" + }); + if (twoindex === 0) { + oneindex -= 1; + twoindex = answerData.exercise_question_types[oneindex].items.length - 1; + } else { + twoindex -= 1; + } + setoneindex(oneindex); + settwoindex(twoindex); + }; + var skipNextQuestion = function skipNextQuestion() { + var _answerData$exercise_6, _answerData$exercise_7, _answerData$exercise_8, _answerData$exercise21, _currentQuestionItem$4; + window.blur(); + var currentQuestionItem = (_answerData$exercise_6 = answerData.exercise_question_types) === null || _answerData$exercise_6 === void 0 ? void 0 : (_answerData$exercise_7 = _answerData$exercise_6[oneindex]) === null || _answerData$exercise_7 === void 0 ? void 0 : (_answerData$exercise_8 = _answerData$exercise_7.items) === null || _answerData$exercise_8 === void 0 ? void 0 : _answerData$exercise_8[twoindex]; + //提示不允许重复作答弹窗的逻辑 + if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise21 = answerData.exercise) === null || _answerData$exercise21 === void 0 ? void 0 : _answerData$exercise21.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { + var _currentQuestionItem$3; + if (!(currentQuestionItem !== null && currentQuestionItem !== void 0 && currentQuestionItem.repeat_answer) && (currentQuestionItem === null || currentQuestionItem === void 0 ? void 0 : (_currentQuestionItem$3 = currentQuestionItem.user_answer) === null || _currentQuestionItem$3 === void 0 ? void 0 : _currentQuestionItem$3.length) > 0) { + if ((currentQuestionItem === null || currentQuestionItem === void 0 ? void 0 : currentQuestionItem.ques_status) === 0) { + switchType.current = 'next'; + setisshowmodal(true); + return; + } + } + } + if (!(currentQuestionItem !== null && currentQuestionItem !== void 0 && currentQuestionItem.repeat_answer) && (currentQuestionItem === null || currentQuestionItem === void 0 ? void 0 : (_currentQuestionItem$4 = currentQuestionItem.user_answer) === null || _currentQuestionItem$4 === void 0 ? void 0 : _currentQuestionItem$4.length) > 0) { + //如果勾选了不再提示,则手动设为已答 + currentQuestionItem.ques_status = 1; + } + questionPartRef.current.scrollTo({ + top: 0, + left: 0, + behavior: "smooth" + }); + if (answerData.exercise_question_types[oneindex].items.length - 1 === twoindex) { + oneindex = oneindex + 1; + twoindex = 0; + } else { + twoindex = twoindex + 1; + } + setoneindex(oneindex); + settwoindex(twoindex); + }; + var skipAppointQuestion = function skipAppointQuestion(p) { + var _answerData$exercise_9, _answerData$exercise_10, _answerData$exercise_11, _answerData$exercise22, _currentQuestionItem$6; + var record = p || skipData.current; + var currentQuestionItem = (_answerData$exercise_9 = answerData.exercise_question_types) === null || _answerData$exercise_9 === void 0 ? void 0 : (_answerData$exercise_10 = _answerData$exercise_9[oneindex]) === null || _answerData$exercise_10 === void 0 ? void 0 : (_answerData$exercise_11 = _answerData$exercise_10.items) === null || _answerData$exercise_11 === void 0 ? void 0 : _answerData$exercise_11[twoindex]; + if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise22 = answerData.exercise) === null || _answerData$exercise22 === void 0 ? void 0 : _answerData$exercise22.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { + var _currentQuestionItem$5; + if (!(currentQuestionItem !== null && currentQuestionItem !== void 0 && currentQuestionItem.repeat_answer) && (currentQuestionItem === null || currentQuestionItem === void 0 ? void 0 : (_currentQuestionItem$5 = currentQuestionItem.user_answer) === null || _currentQuestionItem$5 === void 0 ? void 0 : _currentQuestionItem$5.length) > 0) { + if ((currentQuestionItem === null || currentQuestionItem === void 0 ? void 0 : currentQuestionItem.ques_status) === 0) { + switchType.current = 'appoint'; + switchData.current = record; + setisshowmodal(true); + return; + } + } + } + if (!(currentQuestionItem !== null && currentQuestionItem !== void 0 && currentQuestionItem.repeat_answer) && (currentQuestionItem === null || currentQuestionItem === void 0 ? void 0 : (_currentQuestionItem$6 = currentQuestionItem.user_answer) === null || _currentQuestionItem$6 === void 0 ? void 0 : _currentQuestionItem$6.length) > 0) { + //如果勾选了不再提示,则手动设为已答 + currentQuestionItem.ques_status = 1; + } + setoneindex(record === null || record === void 0 ? void 0 : record.oneindex); + settwoindex(record === null || record === void 0 ? void 0 : record.twoindex); + questionPartRef.current.scrollTo({ + top: 0, + left: 0, + behavior: 'smooth' + }); + }; + var handleRefresh = /*#__PURE__*/function () { + var _ref22 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee27() { + var _answerData$exercise23; + var res; + return regeneratorRuntime_default()().wrap(function _callee27$(_context27) { + while (1) switch (_context27.prev = _context27.next) { + case 0: + if (!sign.current) { + _context27.next = 3; + break; + } + sign.current = 'refresh'; + return _context27.abrupt("return"); + case 3: + _context27.next = 5; + return initData(); + case 5: + res = _context27.sent; + if (!(answerData !== null && answerData !== void 0 && (_answerData$exercise23 = answerData.exercise) !== null && _answerData$exercise23 !== void 0 && _answerData$exercise23.left_time)) { + _context27.next = 9; + break; + } + _context27.next = 9; + return handleLeftTime(); + case 9: + if (!(res !== null && res !== void 0 && res.status)) { + message/* default.success */.ZP.success('更新成功'); + } + case 10: + case "end": + return _context27.stop(); + } + }, _callee27); + })); + return function handleRefresh() { + return _ref22.apply(this, arguments); + }; + }(); + var signConfigFuc = function signConfigFuc() { + var _document$activeEleme; + switch (sign.current) { + case "prev": + skipPrevQuestion(); + break; + case "next": + skipNextQuestion(); + break; + case "appoint": + skipAppointQuestion(); + break; + case "submit": + handleVerifySave(false); + break; + case "refresh": + handleRefresh(); + break; + default: + } + if (((_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 ? void 0 : _document$activeEleme.localName) === 'textarea') { + sign.current = true; + } else { + sign.current = false; + } + skipData.current = {}; + }; //转换中文 var toChinesNum = function toChinesNum(num) { @@ -6396,31 +7067,34 @@ var Answer = function Answer(_ref) { return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num); }; var renderClassifyQuestion = function renderClassifyQuestion() { - var _answerData$exercise_7, _answerData$exercise_8, _answerData$exercise_9, _answerData$exercise_10, _answerData$exercise_11, _answerData$exercise_12, _answerData$exercise_13, _answerData$exercise_14, _answerData$exercise_15, _answerData$exercise_16, _answerData$exercise_17, _answerData$exercise_18; - // const dom = answerData?.exercise_question_types?.map((er: any, index: number) => { + var _answerData$exercise_12, _answerData$exercise_13, _answerData$exercise_14, _answerData$exercise_15, _answerData$exercise_16, _answerData$exercise_17, _answerData$exercise_18, _answerData$exercise_19, _answerData$exercise_20, _answerData$exercise_21, _answerData$exercise_22, _answerData$exercise_23; + var currentItem = answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_12 = answerData.exercise_question_types) === null || _answerData$exercise_12 === void 0 ? void 0 : (_answerData$exercise_13 = _answerData$exercise_12[oneindex].items) === null || _answerData$exercise_13 === void 0 ? void 0 : _answerData$exercise_13[twoindex]; return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "pt20", + className: "pt20 mb20", children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-light-primary", - children: [toChinesNum(oneindex + 1), "\u3001", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_7 = answerData.exercise_question_types) === null || _answerData$exercise_7 === void 0 ? void 0 : (_answerData$exercise_8 = _answerData$exercise_7[oneindex]) === null || _answerData$exercise_8 === void 0 ? void 0 : _answerData$exercise_8.name] + className: Answermodules.questionTypeTitle, + children: [toChinesNum(oneindex + 1), "\u3001", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_14 = answerData.exercise_question_types) === null || _answerData$exercise_14 === void 0 ? void 0 : (_answerData$exercise_15 = _answerData$exercise_14[oneindex]) === null || _answerData$exercise_15 === void 0 ? void 0 : _answerData$exercise_15.name] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "c-grey-999", - children: ["\uFF08\u5171", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_9 = answerData.exercise_question_types) === null || _answerData$exercise_9 === void 0 ? void 0 : (_answerData$exercise_10 = _answerData$exercise_9[oneindex]) === null || _answerData$exercise_10 === void 0 ? void 0 : _answerData$exercise_10.count, "\u9898\uFF1B", (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_11 = answerData.exercise_question_types) === null || _answerData$exercise_11 === void 0 ? void 0 : (_answerData$exercise_12 = _answerData$exercise_11[oneindex]) === null || _answerData$exercise_12 === void 0 ? void 0 : _answerData$exercise_12.question_type) === 7 ? "\u5305\u542B".concat(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_13 = answerData.exercise_question_types) === null || _answerData$exercise_13 === void 0 ? void 0 : (_answerData$exercise_14 = _answerData$exercise_13[oneindex]) === null || _answerData$exercise_14 === void 0 ? void 0 : _answerData$exercise_14.sub_questions_count, "\u5C0F\u9898") : '', " \u5171", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_15 = answerData.exercise_question_types) === null || _answerData$exercise_15 === void 0 ? void 0 : (_answerData$exercise_16 = _answerData$exercise_15[oneindex]) === null || _answerData$exercise_16 === void 0 ? void 0 : _answerData$exercise_16.score, "\u5206\uFF09"] + className: Answermodules.questionTypeInfo, + children: ["\uFF08\u5171", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_16 = answerData.exercise_question_types) === null || _answerData$exercise_16 === void 0 ? void 0 : (_answerData$exercise_17 = _answerData$exercise_16[oneindex]) === null || _answerData$exercise_17 === void 0 ? void 0 : _answerData$exercise_17.count, "\u9898\uFF1B", (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_18 = answerData.exercise_question_types) === null || _answerData$exercise_18 === void 0 ? void 0 : (_answerData$exercise_19 = _answerData$exercise_18[oneindex]) === null || _answerData$exercise_19 === void 0 ? void 0 : _answerData$exercise_19.question_type) === 7 ? "\u5305\u542B".concat(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_20 = answerData.exercise_question_types) === null || _answerData$exercise_20 === void 0 ? void 0 : (_answerData$exercise_21 = _answerData$exercise_20[oneindex]) === null || _answerData$exercise_21 === void 0 ? void 0 : _answerData$exercise_21.sub_questions_count, "\u5C0F\u9898") : '', " \u5171", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_22 = answerData.exercise_question_types) === null || _answerData$exercise_22 === void 0 ? void 0 : (_answerData$exercise_23 = _answerData$exercise_22[oneindex]) === null || _answerData$exercise_23 === void 0 ? void 0 : _answerData$exercise_23.score, "\u5206\uFF09"] + }), !(currentItem !== null && currentItem !== void 0 && currentItem.repeat_answer) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#E30000', + marginLeft: 20, + fontSize: 14 + }, + children: "\u6CE8\u610F\uFF1A\u8BE5\u9898\u4F5C\u7B54\u4E4B\u540E\u4E0D\u5141\u8BB8\u4FEE\u6539\u7B54\u6848\u3002" })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { - children: renderQuestion(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_17 = answerData.exercise_question_types) === null || _answerData$exercise_17 === void 0 ? void 0 : (_answerData$exercise_18 = _answerData$exercise_17[oneindex].items) === null || _answerData$exercise_18 === void 0 ? void 0 : _answerData$exercise_18[twoindex], twoindex) + children: renderQuestion(currentItem, twoindex) }, twoindex)] }, oneindex); - // }) - - // return dom; }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { size: "large", spinning: isSpin, - children: [openFullScreen && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise28 = answerData.exercise) === null || _answerData$exercise28 === void 0 ? void 0 : _answerData$exercise28.user_exercise_status) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(recordScreen/* default */.Z, { + children: [openFullScreen && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise24 = answerData.exercise) === null || _answerData$exercise24 === void 0 ? void 0 : _answerData$exercise24.user_exercise_status) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(recordScreen/* default */.Z, { exerciseUserInfo: exercise.exerciseUserInfo, iframe: iframe, socket: socket @@ -6433,451 +7107,335 @@ var Answer = function Answer(_ref) { src: iframeUrl, ref: iframe, frameBorder: "0" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "edu-container ".concat(isEducation && Answermodules.wrpAnswer), - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "animated fadeIn ".concat(isEducation && Answermodules.eduTitle), - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "mt10", - children: [(0,util/* checkIsClientExam */.Ll)() && /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, { - separator: ">", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/", - children: "\u8BD5\u5377" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: (_user$userInfo5 = user.userInfo) === null || _user$userInfo5 === void 0 ? void 0 : _user$userInfo5.real_name - })] - }), !(0,util/* checkIsClientExam */.Ll)() && globalSetting.showHeaderFooter && /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, { - separator: ">", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/classrooms/".concat(params.coursesId, "/exercise"), - children: (_user$userInfo6 = user.userInfo) === null || _user$userInfo6 === void 0 ? void 0 : (_user$userInfo6$cours = _user$userInfo6.course) === null || _user$userInfo6$cours === void 0 ? void 0 : _user$userInfo6$cours.course_name - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/classrooms/".concat(params.coursesId, "/exercise"), - children: "\u8BD5\u5377" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail"), - children: "\u8BD5\u5377\u8BE6\u60C5" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: (_user$userInfo7 = user.userInfo) === null || _user$userInfo7 === void 0 ? void 0 : _user$userInfo7.real_name - })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: [Answermodules.title, 'mt10'].join(' '), - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - style: { - width: "100%", - flexFlow: "nowrap" - }, - align: "middle", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - style: { - flex: '1' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Answermodules.title, - children: [(globalSetting === null || globalSetting === void 0 ? void 0 : globalSetting.showHeaderFooter) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: (0,util/* checkIsClientExam */.Ll)() ? "/" : "/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail"), - children: /*#__PURE__*/(0,jsx_runtime.jsx)(ArrowLeftOutlined/* default */.Z, { - className: "font16 c-black" - }) - }), (0,util/* exerciseTips */.vB)(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise29 = answerData.exercise) === null || _answerData$exercise29 === void 0 ? void 0 : _answerData$exercise29.exercise_status), /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - className: "font24 ml5", - children: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise30 = answerData.exercise) === null || _answerData$exercise30 === void 0 ? void 0 : _answerData$exercise30.exercise_name - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - style: { - display: 'flex' - }, - children: [(0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "primary", - onClick: handleBackToRedo, - children: "\u6253\u56DE\u91CD\u505A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise31 = answerData.exercise) === null || _answerData$exercise31 === void 0 ? void 0 : _answerData$exercise31.commit_status) == 2 || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise32 = answerData.exercise) === null || _answerData$exercise32 === void 0 ? void 0 : _answerData$exercise32.commit_status) == 1) && (0,authority/* isAdmin */.GJ)() && !(0,util/* checkIsClientExam */.Ll)() && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - className: "ml10", - type: "primary", - onClick: function onClick() { - return _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/export/").concat(params.login)); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DeliveredProcedureOutlined/* default */.Z, {}), "\u5BFC\u51FA"] - }) - }), !((0,authority/* isAdmin */.GJ)() || (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise33 = answerData.exercise) === null || _answerData$exercise33 === void 0 ? void 0 : _answerData$exercise33.user_exercise_status) == 1) && !!(answerData !== null && answerData !== void 0 && (_answerData$exercise34 = answerData.exercise) !== null && _answerData$exercise34 !== void 0 && _answerData$exercise34.left_time) && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "".concat(Answermodules.countDown, " ").concat(countDownColor), - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u5269\u4F59\u65F6\u95F4:", /*#__PURE__*/(0,jsx_runtime.jsx)(Countdown, { - value: time, - onFinish: handleLeftTime - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - className: "ml10", - type: "primary", - onClick: handleLeftTime, - ghost: true, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "iconfont icon-shuaxin2 mr5" - }), "\u5237\u65B0"] - })] - }), (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise35 = answerData.exercise) === null || _answerData$exercise35 === void 0 ? void 0 : _answerData$exercise35.user_exercise_status) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: isEducation ? Answermodules.eduSubmit : "", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - loading: btnLoading, - style: { - height: '28px', - marginLeft: 10 - }, - type: "primary", - onClick: function onClick() { - return handleVerifySave(false); - }, - children: "\u4EA4\u5377" - }) - })] - })] - }) - })] - }), checkStatus.status === 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - className: "".concat(isEducation ? "mt70" : "mt10", " ").concat(Answermodules.answerWrp), + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Answermodules.fixHeader, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + className: "edu-container", children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: showAnswerCard ? "316px" : "16px", - className: isEducation ? "mb100" : "", - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - style: { - position: "sticky", - top: 0, - zIndex: 1 - }, - children: [!isEducation && showCamera && /*#__PURE__*/(0,jsx_runtime.jsx)(CaptureVideo/* default */.Z, { - number: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise36 = answerData.exercise) === null || _answerData$exercise36 === void 0 ? void 0 : _answerData$exercise36.photo_count) - (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise37 = answerData.exercise) === null || _answerData$exercise37 === void 0 ? void 0 : _answerData$exercise37.take_photo), - take_photo: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise38 = answerData.exercise) === null || _answerData$exercise38 === void 0 ? void 0 : _answerData$exercise38.take_photo, - ref: captureRef, - time: (_answerData$exercise39 = answerData.exercise) === null || _answerData$exercise39 === void 0 ? void 0 : _answerData$exercise39.left_time, - update: initData, - supportCamera: function supportCamera(type) { - if (type === 2) { - initData(); - setOpenCameraSuccess(true); - setOpenFullScreen(answerCheckData === null || answerCheckData === void 0 ? void 0 : answerCheckData.screen_open); - // window.onblur = function () { - // if (IsFull()) { - // exitFull() - // } - // }; - } else if (type === 1) { - setTimeout(function () { - return props.history.push("/"); - }, 3000); - } - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "relative", - style: { - minHeight: 236 - }, - children: [isEducation && /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - children: [showCamera && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Answermodules.eduVideo, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(CaptureVideo/* default */.Z, { - number: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise40 = answerData.exercise) === null || _answerData$exercise40 === void 0 ? void 0 : _answerData$exercise40.photo_count) - (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise41 = answerData.exercise) === null || _answerData$exercise41 === void 0 ? void 0 : _answerData$exercise41.take_photo), - take_photo: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise42 = answerData.exercise) === null || _answerData$exercise42 === void 0 ? void 0 : _answerData$exercise42.take_photo, - ref: captureRef, - time: (_answerData$exercise43 = answerData.exercise) === null || _answerData$exercise43 === void 0 ? void 0 : _answerData$exercise43.left_time, - update: initData, - supportCamera: function supportCamera(type) { - if (type === 2) { - initData(); - setOpenCameraSuccess(true); - setOpenFullScreen(answerCheckData === null || answerCheckData === void 0 ? void 0 : answerCheckData.screen_open); - } else if (type === 1) { - setTimeout(function () { - return props.history.push("/"); - }, 3000); - } + children: (0,util/* exerciseTips */.vB)(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise25 = answerData.exercise) === null || _answerData$exercise25 === void 0 ? void 0 : _answerData$exercise25.exercise_status) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: "".concat(Answermodules.exerciseTitle, " ml10"), + title: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise26 = answerData.exercise) === null || _answerData$exercise26 === void 0 ? void 0 : _answerData$exercise26.exercise_name, + children: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise27 = answerData.exercise) === null || _answerData$exercise27 === void 0 ? void 0 : _answerData$exercise27.exercise_name + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + style: { + marginLeft: 'auto' + }, + children: !((0,authority/* isAdmin */.GJ)() || (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise28 = answerData.exercise) === null || _answerData$exercise28 === void 0 ? void 0 : _answerData$exercise28.user_exercise_status) == 1) && !!(answerData !== null && answerData !== void 0 && (_answerData$exercise29 = answerData.exercise) !== null && _answerData$exercise29 !== void 0 && _answerData$exercise29.left_time) && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "".concat(Answermodules.countDown, " ").concat(countDownColor), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-daojishi", + style: { + marginRight: 6 + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.cnText, + children: "\u5269\u4F59\u7B54\u9898\u65F6\u957F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(Countdown, { + value: time, + onFinish: handleLeftTime + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: !((0,authority/* isAdmin */.GJ)() || (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise30 = answerData.exercise) === null || _answerData$exercise30 === void 0 ? void 0 : _answerData$exercise30.user_exercise_status) == 1) && /*#__PURE__*/(0,jsx_runtime.jsxs)(AsyncButton/* AsyncButton */.Z, { + className: "".concat(Answermodules.refreshBtn, " ml30"), + onClick: handleRefresh, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "iconfont icon-shuaxin2 mr5" + }), "\u5237\u65B0"] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise31 = answerData.exercise) === null || _answerData$exercise31 === void 0 ? void 0 : _answerData$exercise31.user_exercise_status) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + className: "".concat(Answermodules.submitButton, " ml10"), + type: "primary", + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee28() { + return regeneratorRuntime_default()().wrap(function _callee28$(_context28) { + while (1) switch (_context28.prev = _context28.next) { + case 0: + if (!sign.current) { + _context28.next = 3; + break; } - }) - }), showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - className: Answermodules.eduUsername, + sign.current = 'submit'; + return _context28.abrupt("return"); + case 3: + _context28.next = 5; + return handleVerifySave(false); + case 5: + case "end": + return _context28.stop(); + } + }, _callee28); + })), + children: "\u4EA4\u5377" + }) + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: "edu-container ".concat(Answermodules.wrapper, " ").concat(isEducation && Answermodules.wrpAnswer), + children: [(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise32 = answerData.exercise) === null || _answerData$exercise32 === void 0 ? void 0 : (_answerData$exercise33 = _answerData$exercise32.exercise_description) === null || _answerData$exercise33 === void 0 ? void 0 : _answerData$exercise33.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(es_alert/* default */.Z, { + className: Answermodules.exerciseAlert, + description: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + wrap: false, + gutter: 10, + align: "top", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: Answermodules.title, + children: "\u8003\u8BD5\u987B\u77E5" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: Answermodules.content, + children: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise34 = answerData.exercise) === null || _answerData$exercise34 === void 0 ? void 0 : _answerData$exercise34.exercise_description + })] + }), + closable: true + }), checkStatus.status === 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "".concat(isEducation ? "mt70" : "", " ").concat(Answermodules.mainPart), + wrap: false, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: showAnswerCard ? "280px" : "0px", + className: isEducation ? "mb100" : "", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Answermodules.leftPart, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + children: [showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + flex: "1", + style: { + background: '#fff', + marginBottom: '10px', + padding: '20px' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { - background: '#fff', - padding: '16px 20px' + marginBottom: 15 }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - children: ["\u59D3\u540D\uFF1A", (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise44 = answerData.exercise) === null || _answerData$exercise44 === void 0 ? void 0 : _answerData$exercise44.user_name) || '- -'] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, { - style: { - margin: "0 25px" - }, - type: "vertical" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - children: ["\u5B66\u53F7\uFF1A", (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise45 = answerData.exercise) === null || _answerData$exercise45 === void 0 ? void 0 : _answerData$exercise45.student_id) || '- -'] + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5F6368' + }, + children: "\u59D3\u540D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "ml10 ".concat(Answermodules.userInfoText), + children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise35 = answerData.exercise) === null || _answerData$exercise35 === void 0 ? void 0 : _answerData$exercise35.user_name) || '- -' })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Answermodules.eduTip, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "c-grey-666 tc", - children: "\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u5982\u9047\u95EE\u9898\uFF0C\u8BF7\u62E8\u6253\u4EE5\u4E0B\u7535\u8BDD" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "font16 tc blod", - children: "010-62781166" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "font16 tc blod", - children: "010-62799826" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "font16 tc blod", - children: "18910624893" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "font16 tc blod", - children: "13366506792" - })] - }), (0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - className: Answermodules.eduQrcode, - align: "middle", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)((lib_default()), { - value: "https://".concat(document.domain, "/live-push.html?id=").concat(params.categoryId, "&login=").concat(params.login, "&cookie=").concat((0,util/* getCookie */.ej)("_educoder_session")) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - className: "ml15", - children: ["\u6253\u5F00\u5FAE\u4FE1\u626B\u4E00\u626B", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"] - })] - })] - }), !isEducation && /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - children: [showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - flex: "1", - style: { - background: '#fff', - height: '90px', - marginBottom: '10px', - padding: '16px 20px' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - children: ["\u59D3\u540D\uFF1A", (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise46 = answerData.exercise) === null || _answerData$exercise46 === void 0 ? void 0 : _answerData$exercise46.user_name) || '- -'] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { - children: ["\u5B66\u53F7\uFF1A", (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise47 = answerData.exercise) === null || _answerData$exercise47 === void 0 ? void 0 : _answerData$exercise47.student_id) || '- -'] - })] - }), (0,authority/* isStudent */.dE)() && ((_answerData$exercise48 = answerData.exercise) === null || _answerData$exercise48 === void 0 ? void 0 : _answerData$exercise48.user_exercise_status) === 0 && ((_answerData$exercise49 = answerData.exercise) === null || _answerData$exercise49 === void 0 ? void 0 : _answerData$exercise49.open_phone_video_recording) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - className: Answermodules.eduQrcode, - style: { - marginTop: 10 - }, - align: "middle", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)((lib_default()), { - value: "https://".concat(document.domain, "/live-push.html?id=").concat(params.categoryId, "&login=").concat(params.login, "&cookie=").concat((0,util/* getCookie */.ej)("_educoder_session")) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - className: "ml15", - children: ["\u6253\u5F00\u5FAE\u4FE1\u626B\u4E00\u626B", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"] - })] - }), (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise50 = answerData.exercise) === null || _answerData$exercise50 === void 0 ? void 0 : (_answerData$exercise51 = _answerData$exercise50.exercise_description) === null || _answerData$exercise51 === void 0 ? void 0 : _answerData$exercise51.length) > 0 && showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - flex: "1", - style: { - background: '#fff', - marginBottom: '10px', - padding: '16px 20px' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - fontWeight: 500 + color: '#5F6368' }, - children: "\u8003\u8BD5\u987B\u77E5" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { - children: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise52 = answerData.exercise) === null || _answerData$exercise52 === void 0 ? void 0 : _answerData$exercise52.exercise_description + children: "\u5B66\u53F7" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "ml10 ".concat(Answermodules.userInfoText), + children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise36 = answerData.exercise) === null || _answerData$exercise36 === void 0 ? void 0 : _answerData$exercise36.student_id) || '- -' })] - }), showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "bg-white p16 mt10", + })] + }), (0,authority/* isStudent */.dE)() && ((_answerData$exercise37 = answerData.exercise) === null || _answerData$exercise37 === void 0 ? void 0 : _answerData$exercise37.user_exercise_status) === 0 && ((_answerData$exercise38 = answerData.exercise) === null || _answerData$exercise38 === void 0 ? void 0 : _answerData$exercise38.open_phone_video_recording) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: Answermodules.eduQrcode, + style: { + marginTop: 10 + }, + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)((lib_default()), { + value: "https://".concat(document.domain, "/live-push.html?id=").concat(params.categoryId, "&login=").concat(params.login, "&cookie=").concat((0,util/* getCookie */.ej)("_educoder_session")) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: "ml15", + children: ["\u6253\u5F00\u5FAE\u4FE1\u626B\u4E00\u626B", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"] + })] + }), showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "bg-white", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: Answermodules.answerInfo, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "space-between", children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 8, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 blod", - children: "\u7B54\u9898\u5361" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 16, - children: (0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "tr", + children: "\u7B54\u9898\u8FDB\u5EA6" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: Answermodules.answerProgress, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - display: 'flex', - alignItems: 'center', - justifyContent: 'end' + color: '#165DFF' }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Answermodules.answerYes - }), "\u5DF2\u7B54", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: answerData === null || answerData === void 0 ? void 0 : (_answerData$question_5 = answerData.question_status) === null || _answerData$question_5 === void 0 ? void 0 : (_answerData$question_6 = _answerData$question_5.filter(function (val) { + return val.ques_status === 1; + })) === null || _answerData$question_6 === void 0 ? void 0 : _answerData$question_6.length + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + color: '#999999' + }, + children: ["/", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_24 = answerData.exercise_types) === null || _answerData$exercise_24 === void 0 ? void 0 : _answerData$exercise_24.q_counts] + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_progress/* default */.Z, { + strokeColor: "#165dffa6", + trailColor: "#0000000d", + percent: (answerData === null || answerData === void 0 ? void 0 : (_answerData$question_7 = answerData.question_status) === null || _answerData$question_7 === void 0 ? void 0 : (_answerData$question_8 = _answerData$question_7.filter(function (val) { + return val.ques_status === 1; + })) === null || _answerData$question_8 === void 0 ? void 0 : _answerData$question_8.length) / (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_25 = answerData.exercise_types) === null || _answerData$exercise_25 === void 0 ? void 0 : _answerData$exercise_25.q_counts) * 100, + showInfo: false + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "c-grey-333", + children: ["\u5171 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - width: 13, - height: 13, - display: 'flex', - flexDirection: 'column-reverse' + color: '#165DFF' }, - className: "".concat(Answermodules.answerNo, " ml10"), - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - height: '10%', - background: '#0152d9' - } - }) - }), "\u90E8\u5206\u7B54\u9898", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(Answermodules.answerNo, " ml10") - }), "\u672A\u7B54"] - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: Answermodules.answerInfo, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [(0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 12, - children: "\u7B54\u9898\u8FDB\u5EA6" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - span: 12, - className: "tr c-blue", - children: [answerData === null || answerData === void 0 ? void 0 : (_answerData$question_4 = answerData.question_status) === null || _answerData$question_4 === void 0 ? void 0 : (_answerData$question_5 = _answerData$question_4.filter(function (val) { - return !!val.ques_status; - })) === null || _answerData$question_5 === void 0 ? void 0 : _answerData$question_5.length, " / ", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_19 = answerData.exercise_types) === null || _answerData$exercise_19 === void 0 ? void 0 : _answerData$exercise_19.q_counts] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 24, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_progress/* default */.Z, { - trailColor: "#c3ced2", - percent: (answerData === null || answerData === void 0 ? void 0 : (_answerData$question_6 = answerData.question_status) === null || _answerData$question_6 === void 0 ? void 0 : (_answerData$question_7 = _answerData$question_6.filter(function (val) { - return !!val.ques_status; - })) === null || _answerData$question_7 === void 0 ? void 0 : _answerData$question_7.length) / (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_20 = answerData.exercise_types) === null || _answerData$exercise_20 === void 0 ? void 0 : _answerData$exercise_20.q_counts) * 100, - showInfo: false - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "c-grey-333", - children: ["\u5171 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-blue-4ca", - children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_21 = answerData.exercise_types) === null || _answerData$exercise_21 === void 0 ? void 0 : _answerData$exercise_21.q_counts) || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_22 = answerData.exercise_scores) === null || _answerData$exercise_22 === void 0 ? void 0 : (_answerData$exercise_23 = _answerData$exercise_22.exercise_types) === null || _answerData$exercise_23 === void 0 ? void 0 : _answerData$exercise_23.q_counts) - }), " \u9898\uFF1A"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "c-grey-333", - children: ["\u6EE1\u5206 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-blue-4ca", - children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_24 = answerData.exercise_types) === null || _answerData$exercise_24 === void 0 ? void 0 : _answerData$exercise_24.q_scores) || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_25 = answerData.exercise_scores) === null || _answerData$exercise_25 === void 0 ? void 0 : (_answerData$exercise_26 = _answerData$exercise_25.exercise_types) === null || _answerData$exercise_26 === void 0 ? void 0 : _answerData$exercise_26.q_scores) - }), " \u5206"] - })] + children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_26 = answerData.exercise_types) === null || _answerData$exercise_26 === void 0 ? void 0 : _answerData$exercise_26.q_counts) || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_27 = answerData.exercise_scores) === null || _answerData$exercise_27 === void 0 ? void 0 : (_answerData$exercise_28 = _answerData$exercise_27.exercise_types) === null || _answerData$exercise_28 === void 0 ? void 0 : _answerData$exercise_28.q_counts) + }), " \u9898\uFF1A"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "c-grey-333", + children: ["\u6EE1\u5206 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#FA6400' + }, + children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_29 = answerData.exercise_types) === null || _answerData$exercise_29 === void 0 ? void 0 : _answerData$exercise_29.q_scores) || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_30 = answerData.exercise_scores) === null || _answerData$exercise_30 === void 0 ? void 0 : (_answerData$exercise_31 = _answerData$exercise_30.exercise_types) === null || _answerData$exercise_31 === void 0 ? void 0 : _answerData$exercise_31.q_scores) + }), " \u5206"] })] }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: Answermodules.cardList, - children: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_27 = answerData.exercise_question_types) === null || _answerData$exercise_27 === void 0 ? void 0 : _answerData$exercise_27.map(function (er, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { - children: renderCardList(er, index) - }, er.question_type); - }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "1", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + className: "".concat(Answermodules.cardList, " ").concat((_answerData$exercise39 = answerData.exercise) !== null && _answerData$exercise39 !== void 0 && _answerData$exercise39.open_phone_video_recording ? Answermodules.withQrcode : ''), + children: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_32 = answerData.exercise_question_types) === null || _answerData$exercise_32 === void 0 ? void 0 : _answerData$exercise_32.map(function (er, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { + children: renderCardList(er, index) + }, er.question_type); }) }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Answermodules.fold, - onClick: function onClick() { - return setShowAnswerCard(!showAnswerCard); - }, - children: [showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "icon-zuojiantou iconfont c-grey-c" - }), !showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "icon-youjiantou iconfont c-grey-c" - })] + }) })] })] + }), (0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "space-around", + align: "middle", + className: Answermodules.answerSheetBottom, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: Answermodules.tooltipWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Answermodules.answerYes + }), "\u5DF2\u7B54"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: Answermodules.tooltipWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(Answermodules.answerNo, " ml10"), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + height: '50%', + width: '100%', + background: '#0152d9' + } + }) + }), "\u90E8\u5206\u7B54\u9898"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: Answermodules.tooltipWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(Answermodules.answerNo, " ml10") + }), "\u672A\u7B54"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: Answermodules.tooltipWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-biaoji1", + style: { + marginRight: 4, + color: '#FFB538' + } + }), "\u6807\u8BB0"] + })] + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Answermodules.fold, + onClick: function onClick() { + return setShowAnswerCard(!showAnswerCard); + }, + children: [showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u6536\u8D77\u7B54\u9898\u5361", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "icon-zuojiantou iconfont c-grey-c" + }) + }), !showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsxs)(tooltip/* default */.Z, { + title: "\u5C55\u5F00", + children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "icon-youjiantou iconfont c-grey-c" + })] })] }) }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { flex: "1", - style: { - overflow: "hidden" - }, children: /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - style: { - minHeight: 400, - position: 'relative' - }, - className: [Answermodules.bg, 'pl30', 'pb30', 'mb50', 'ml20'].join(' '), + className: [Answermodules.rightPart, 'ml20'].join(' '), children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - maxHeight: 600, - overflow: 'hidden auto', - paddingRight: 30 - }, + className: "".concat(Answermodules.questionPart, " pl30 pr30"), + ref: questionPartRef, children: renderClassifyQuestion() - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 60, - textAlign: 'center', - paddingRight: 30 - }, - children: [(oneindex != 0 || twoindex != 0) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "".concat(Answermodules.submitButton, " mr10"), - type: "default", - onClick: function onClick() { - var _answerData$exercise53; - window.blur(); - if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise53 = answerData.exercise) === null || _answerData$exercise53 === void 0 ? void 0 : _answerData$exercise53.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { - var _answerData$exercise_28, _answerData$exercise_29, _answerData$exercise_30, _answerData$exercise_31; - if (!((_answerData$exercise_28 = answerData.exercise_question_types) !== null && _answerData$exercise_28 !== void 0 && (_answerData$exercise_29 = _answerData$exercise_28[oneindex]) !== null && _answerData$exercise_29 !== void 0 && (_answerData$exercise_30 = _answerData$exercise_29.items) !== null && _answerData$exercise_30 !== void 0 && (_answerData$exercise_31 = _answerData$exercise_30[twoindex]) !== null && _answerData$exercise_31 !== void 0 && _answerData$exercise_31.repeat_answer)) { - setisshowmodal(true); - settype(1); + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: Answermodules.bottom, + align: "middle", + justify: "space-between", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont ".concat((_answerData$exercise_33 = answerData.exercise_question_types) !== null && _answerData$exercise_33 !== void 0 && (_answerData$exercise_34 = _answerData$exercise_33[oneindex].items[twoindex]) !== null && _answerData$exercise_34 !== void 0 && _answerData$exercise_34.is_marked ? 'icon-biaoji1' : 'icon-biaojigaiti'), + style: { + color: '#FFB538', + marginRight: 6 + } + }), + className: Answermodules.markBtn, + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee29() { + var _answerData$exercise_35; + var res; + return regeneratorRuntime_default()().wrap(function _callee29$(_context29) { + while (1) switch (_context29.prev = _context29.next) { + case 0: + _context29.next = 2; + return (0,service_exercise/* markQuestion */.sS)(params.categoryId, { + exercise_question_id: (_answerData$exercise_35 = answerData.exercise_question_types[oneindex].items[twoindex]) === null || _answerData$exercise_35 === void 0 ? void 0 : _answerData$exercise_35.question_id + }); + case 2: + res = _context29.sent; + if (res.status === 0) { + initData(); + } + case 4: + case "end": + return _context29.stop(); + } + }, _callee29); + })), + children: (_answerData$exercise_36 = answerData.exercise_question_types) !== null && _answerData$exercise_36 !== void 0 && (_answerData$exercise_37 = _answerData$exercise_36[oneindex].items[twoindex]) !== null && _answerData$exercise_37 !== void 0 && _answerData$exercise_37.is_marked ? '取消标记' : '标记该题' + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [(oneindex != 0 || twoindex != 0) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: "".concat(Answermodules.changeButton, " ").concat(Answermodules.prevBtn, " mr20"), + type: "default", + onClick: function onClick() { + if (sign.current) { + sign.current = 'prev'; return; } - } - answerData.exercise_question_types[oneindex].items[twoindex].israp = false; - setAnswerData(objectSpread2_default()({}, answerData)); - if (twoindex === 0) { - oneindex -= 1; - twoindex = answerData.exercise_question_types[oneindex].items.length - 1; - } else { - twoindex -= 1; - } - setoneindex(oneindex); - settwoindex(twoindex); - // initData(); - }, - children: "\u4E0A\u4E00\u9898" - }), !(oneindex === (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_32 = answerData.exercise_question_types) === null || _answerData$exercise_32 === void 0 ? void 0 : _answerData$exercise_32.length) - 1 && twoindex === (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_33 = answerData.exercise_question_types) === null || _answerData$exercise_33 === void 0 ? void 0 : (_answerData$exercise_34 = _answerData$exercise_33[oneindex]) === null || _answerData$exercise_34 === void 0 ? void 0 : (_answerData$exercise_35 = _answerData$exercise_34.items) === null || _answerData$exercise_35 === void 0 ? void 0 : _answerData$exercise_35.length) - 1) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: Answermodules.submitButton, - type: "primary", - onClick: function onClick() { - var _answerData$exercise54; - window.blur(); - if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise54 = answerData.exercise) === null || _answerData$exercise54 === void 0 ? void 0 : _answerData$exercise54.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { - var _answerData$exercise_36, _answerData$exercise_37, _answerData$exercise_38, _answerData$exercise_39; - if (!((_answerData$exercise_36 = answerData.exercise_question_types) !== null && _answerData$exercise_36 !== void 0 && (_answerData$exercise_37 = _answerData$exercise_36[oneindex]) !== null && _answerData$exercise_37 !== void 0 && (_answerData$exercise_38 = _answerData$exercise_37.items) !== null && _answerData$exercise_38 !== void 0 && (_answerData$exercise_39 = _answerData$exercise_38[twoindex]) !== null && _answerData$exercise_39 !== void 0 && _answerData$exercise_39.repeat_answer)) { - setisshowmodal(true); - settype(2); + skipPrevQuestion(); + }, + children: "\u4E0A\u4E00\u9898" + }), !(oneindex === (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_38 = answerData.exercise_question_types) === null || _answerData$exercise_38 === void 0 ? void 0 : _answerData$exercise_38.length) - 1 && twoindex === (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_39 = answerData.exercise_question_types) === null || _answerData$exercise_39 === void 0 ? void 0 : (_answerData$exercise_40 = _answerData$exercise_39[oneindex]) === null || _answerData$exercise_40 === void 0 ? void 0 : (_answerData$exercise_41 = _answerData$exercise_40.items) === null || _answerData$exercise_41 === void 0 ? void 0 : _answerData$exercise_41.length) - 1) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: Answermodules.changeButton, + type: "primary", + onClick: function onClick() { + if (sign.current) { + sign.current = 'next'; return; } - } - answerData.exercise_question_types[oneindex].items[twoindex].israp = false; - setAnswerData(objectSpread2_default()({}, answerData)); - if (answerData.exercise_question_types[oneindex].items.length - 1 === twoindex) { - oneindex = oneindex + 1; - twoindex = 0; - } else { - twoindex = twoindex + 1; - } - setoneindex(oneindex); - settwoindex(twoindex); - // initData(); - }, - children: "\u4E0B\u4E00\u9898" + skipNextQuestion(); + }, + children: "\u4E0B\u4E00\u9898" + })] })] })] }) @@ -6887,9 +7445,7 @@ var Answer = function Answer(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, { title: "\u6CE8\u610F", open: isShowmodal, - onCancel: function onCancel() { - return setisshowmodal(false); - }, + closable: false, footer: false, children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { @@ -6912,23 +7468,15 @@ var Answer = function Answer(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { onClick: function onClick() { - if (!answerData.exercise_question_types[oneindex].items[twoindex].israp) { - if (answerData.exercise_question_types[oneindex].items[twoindex].israp === '') { - answerData.exercise_question_types[oneindex].items[twoindex].israp = true; - setAnswerData(objectSpread2_default()({}, answerData)); - } - } else { - answerData.exercise_question_types[oneindex].items[twoindex].israp = true; - setAnswerData(objectSpread2_default()({}, answerData)); - } setisshowmodal(false); + setischecked(false); }, children: "\u6211\u518D\u60F3\u60F3" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { onClick: function onClick() { - answerData.exercise_question_types[oneindex].items[twoindex].israp = false; + answerData.exercise_question_types[oneindex].items[twoindex].ques_status = 1; setAnswerData(objectSpread2_default()({}, answerData)); - if (type === 1) { + if (switchType.current === 'prev') { if (twoindex === 0) { oneindex -= 1; twoindex = answerData.exercise_question_types[oneindex].items.length - 1; @@ -6937,7 +7485,7 @@ var Answer = function Answer(_ref) { } setoneindex(oneindex); settwoindex(twoindex); - } else if (type === 2) { + } else if (switchType.current === 'next') { if (answerData.exercise_question_types[oneindex].items.length - 1 === twoindex) { oneindex = oneindex + 1; twoindex = 0; @@ -6947,11 +7495,9 @@ var Answer = function Answer(_ref) { setoneindex(oneindex); settwoindex(twoindex); } else { - setoneindex(indexitems.oneindex); - settwoindex(indexitems.twoindex); + setoneindex(switchData.current.oneindex); + settwoindex(switchData.current.twoindex); } - - // initData(); setisshowmodal(false); }, type: "primary", @@ -6966,14 +7512,86 @@ var Answer = function Answer(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsx)(Unlock/* default */.Z, { successCb: checkCamera })] + }), showCamera && /*#__PURE__*/(0,jsx_runtime.jsx)((cjs_default()), { + disabled: disabled, + bounds: bounds, + onStart: function onStart(event, uiData) { + return _onStart(event, uiData); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + ref: draggleRef, + style: { + position: 'absolute', + left: 40, + top: 200, + zIndex: 101 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onMouseOver: function onMouseOver() { + if (disabled) { + setDisabled(false); + } + }, + onMouseOut: function onMouseOut() { + setDisabled(true); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: Answermodules.cameraHeader, + align: "middle", + justify: "space-between", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-kaiqishexiangtou" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u5DF2\u5F00\u542F\u6444\u50CF\u5934" + })] + }), isopen ? /*#__PURE__*/(0,jsx_runtime.jsx)(MinusOutlined/* default */.Z, { + onClick: function onClick() { + setisopen(false); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(PlusOutlined/* default */.Z, { + onClick: function onClick() { + setisopen(true); + } + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + display: isopen ? 'flex' : 'none' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_CaptureVideo, { + number: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise40 = answerData.exercise) === null || _answerData$exercise40 === void 0 ? void 0 : _answerData$exercise40.photo_count) - (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise41 = answerData.exercise) === null || _answerData$exercise41 === void 0 ? void 0 : _answerData$exercise41.take_photo), + take_photo: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise42 = answerData.exercise) === null || _answerData$exercise42 === void 0 ? void 0 : _answerData$exercise42.take_photo, + ref: captureRef, + time: (_answerData$exercise43 = answerData.exercise) === null || _answerData$exercise43 === void 0 ? void 0 : _answerData$exercise43.left_time, + update: initData, + supportCamera: function supportCamera(type) { + if (type === 2) { + initData(); + setOpenCameraSuccess(true); + setOpenFullScreen(answerCheckData === null || answerCheckData === void 0 ? void 0 : answerCheckData.screen_open); + // window.onblur = function () { + // if (IsFull()) { + // exitFull() + // } + // }; + } else if (type === 1) { + setTimeout(function () { + return _umi_production_exports.history.push("/"); + }, 3000); + } + } + }) + })] + }) + }) })] }); }; -/* harmony default export */ var Exercise_Answer = ((0,_umi_production_exports.connect)(function (_ref19) { - var loading = _ref19.loading, - user = _ref19.user, - exercise = _ref19.exercise, - globalSetting = _ref19.globalSetting; +/* harmony default export */ var Exercise_Answer = ((0,_umi_production_exports.connect)(function (_ref25) { + var loading = _ref25.loading, + user = _ref25.user, + exercise = _ref25.exercise, + globalSetting = _ref25.globalSetting; return { globalSetting: globalSetting, user: user, @@ -6984,109 +7602,86 @@ var Answer = function Answer(_ref) { /***/ }), -/***/ 37537: -/*!***************************************************************************************************!*\ - !*** ./src/pages/Classrooms/Lists/Exercise/Review/component/AnswerComments/index.tsx + 1 modules ***! - \***************************************************************************************************/ +/***/ 53280: +/*!***********************************************************************!*\ + !*** ./src/pages/Classrooms/Lists/Exercise/Answer/useRemindModal.tsx ***! + \***********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ component_AnswerComments; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/row/style/index.js -var style = __webpack_require__(13062); -// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js -var row = __webpack_require__(71230); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/AnswerComments/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var AnswerCommentsmodules = ({"flex_box_center":"flex_box_center___hzSR8","flex_space_between":"flex_space_between___Mscip","flex_box_vertical_center":"flex_box_vertical_center___Uckau","flex_box_center_end":"flex_box_center_end___Kw1tf","flex_box_column":"flex_box_column___udgQE","comments":"comments___He0El","line":"line___P3zVB"}); -// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules -var env = __webpack_require__(59758); -// EXTERNAL MODULE: ./node_modules/moment/moment.js -var moment = __webpack_require__(30381); -var moment_default = /*#__PURE__*/__webpack_require__.n(moment); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/AnswerComments/index.tsx - +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "_": function() { return /* binding */ useRemindModal; } +/* harmony export */ }); +/* harmony import */ var antd_es_modal_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/modal/style */ 35611); +/* harmony import */ var antd_es_modal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/modal */ 85402); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js */ 74704); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/icons */ 30071); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 85893); +//只需要left_time和exercise_events参数,实际上传进来的answerData还有很多其它的属性 -var AnswerComments = function AnswerComments(_ref) { - var list = _ref.list, - _ref$hideScore = _ref.hideScore, - hideScore = _ref$hideScore === void 0 ? false : _ref$hideScore; - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: list === null || list === void 0 ? void 0 : list.map(function (v) { - var _v$user, _v$user2, _v$user3, _v$comments; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mt20", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - align: "middle", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { - src: env/* default.API_SERVER */.Z.API_SERVER + '/images/' + ((_v$user2 = v.user) === null || _v$user2 === void 0 ? void 0 : _v$user2.image_url), - width: "40", - style: { - borderRadius: 40 - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "ml10 font16", - children: (_v$user3 = v.user) === null || _v$user3 === void 0 ? void 0 : _v$user3.name - })] - }, v === null || v === void 0 ? void 0 : (_v$user = v.user) === null || _v$user === void 0 ? void 0 : _v$user.user_id), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: AnswerCommentsmodules.comments, - children: v === null || v === void 0 ? void 0 : (_v$comments = v.comments) === null || _v$comments === void 0 ? void 0 : _v$comments.map(function (e, i) { - var _v$user4, _v$comments2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - align: "middle", - justify: "space-between", - children: [!!e.shixun_chanllge_position && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - flexShrink: 0, - marginRight: 10 - }, - children: ["\u7B2C", e.shixun_chanllge_position, "\u5173"] - }), !hideScore && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - flex: 1 - }, - children: ["\u539F\u59CB\u5F97\u5206", e === null || e === void 0 ? void 0 : e.origin_score, "\u5206\uFF0C\u4FEE\u6B63\u4E3A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-light-primary", - children: e === null || e === void 0 ? void 0 : e.score - }), "\u5206"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - flexShrink: 0 - }, - children: moment_default()(e.updated_at).format('YYYY-MM-DD HH:mm') - })] - }), !!e.comment && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u8BC4\u8BED\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-light-primary", - children: e.comment - })] - }), (v === null || v === void 0 ? void 0 : (_v$comments2 = v.comments) === null || _v$comments2 === void 0 ? void 0 : _v$comments2.length) - 1 > i && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: AnswerCommentsmodules.line - })] - }, (v === null || v === void 0 ? void 0 : (_v$user4 = v.user) === null || _v$user4 === void 0 ? void 0 : _v$user4.user_id) + '-' + i); - }) - })] - }); - }) - }); +var useRemindModal = function useRemindModal(answerData) { + var _answerData$exercise7, _answerData$exercise8; + var countDownRefArr = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)([]); + var clearCountdownTimeout = function clearCountdownTimeout() { + var _iterator = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1___default()(countDownRefArr.current), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var id = _step.value; + clearTimeout(id); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + countDownRefArr.current = []; + }; + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + var _answerData$exercise, _answerData$exercise2, _answerData$exercise3; + clearCountdownTimeout(); + if (answerData !== null && answerData !== void 0 && (_answerData$exercise = answerData.exercise) !== null && _answerData$exercise !== void 0 && _answerData$exercise.left_time && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : (_answerData$exercise3 = _answerData$exercise2.exercise_events) === null || _answerData$exercise3 === void 0 ? void 0 : _answerData$exercise3.length) > 0) { + var _answerData$exercise4; + var _iterator2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1___default()(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise4 = answerData.exercise) === null || _answerData$exercise4 === void 0 ? void 0 : _answerData$exercise4.exercise_events), + _step2; + try { + var _loop = function _loop() { + var _answerData$exercise5; + var eventItem = _step2.value; + if ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise5 = answerData.exercise) === null || _answerData$exercise5 === void 0 ? void 0 : _answerData$exercise5.left_time) > (eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_time) * 60) { + var _answerData$exercise6; + var timeoutId = setTimeout(function () { + antd_es_modal__WEBPACK_IMPORTED_MODULE_4__/* ["default"].info */ .Z.info({ + content: "".concat(eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_content), + icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {}), + centered: true, + okText: "知道了" + }); + }, ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise6 = answerData.exercise) === null || _answerData$exercise6 === void 0 ? void 0 : _answerData$exercise6.left_time) - (eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_time) * 60) * 1000); + countDownRefArr.current.push(timeoutId); + } + }; + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + _loop(); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + } + }, [answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise7 = answerData.exercise) === null || _answerData$exercise7 === void 0 ? void 0 : _answerData$exercise7.left_time, answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise8 = answerData.exercise) === null || _answerData$exercise8 === void 0 ? void 0 : _answerData$exercise8.exercise_events]); + return clearCountdownTimeout; }; -/* harmony default export */ var component_AnswerComments = (AnswerComments); + /***/ }), @@ -7404,6 +7999,17 @@ var Unlock = function Unlock(_ref) { /***/ }), +/***/ 4977: +/*!********************************************!*\ + !*** ./src/assets/images/icons/nodata.png ***! + \********************************************/ +/***/ (function(module) { + +"use strict"; +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+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="; + +/***/ }), + /***/ 42480: /*!************************!*\ !*** crypto (ignored) ***! diff --git a/p__Classrooms__Lists__Exercise__Answer__index.chunk.css b/p__Classrooms__Lists__Exercise__Answer__index.chunk.css index 55c31290fb..8576166d9c 100644 --- a/p__Classrooms__Lists__Exercise__Answer__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__Answer__index.chunk.css @@ -1,3 +1,515 @@ +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/alert/style/index.less ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-alert { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + display: flex; + align-items: center; + padding: 4px 7px; + word-wrap: break-word; + border-radius: 2px; +} +.ant-alert-content { + flex: 1 1; + min-width: 0; +} +.ant-alert-icon { + margin-right: 4px; +} +.ant-alert-description { + display: none; + font-size: 12px; + line-height: 20px; +} +.ant-alert-success { + background-color: #f6ffed; + border: 1px solid #b7eb8f; +} +.ant-alert-success .ant-alert-icon { + color: #52c41a; +} +.ant-alert-info { + background-color: #f0f7ff; + border: 1px solid #b0ccf7; +} +.ant-alert-info .ant-alert-icon { + color: #3061D0; +} +.ant-alert-warning { + background-color: #fffbe6; + border: 1px solid #ffe58f; +} +.ant-alert-warning .ant-alert-icon { + color: #faad14; +} +.ant-alert-error { + background-color: #fff2f0; + border: 1px solid #ffccc7; +} +.ant-alert-error .ant-alert-icon { + color: #ff4d4f; +} +.ant-alert-error .ant-alert-description > pre { + margin: 0; + padding: 0; +} +.ant-alert-action { + margin-left: 4px; +} +.ant-alert-close-icon { + margin-left: 4px; + padding: 0; + overflow: hidden; + font-size: 12px; + line-height: 12px; + background-color: transparent; + border: none; + outline: none; + cursor: pointer; +} +.ant-alert-close-icon .anticon-close { + color: rgba(0, 0, 0, 0.45); + transition: color 0.3s; +} +.ant-alert-close-icon .anticon-close:hover { + color: rgba(0, 0, 0, 0.75); +} +.ant-alert-close-text { + color: rgba(0, 0, 0, 0.45); + transition: color 0.3s; +} +.ant-alert-close-text:hover { + color: rgba(0, 0, 0, 0.75); +} +.ant-alert-with-description { + align-items: flex-start; + padding: 11px 15px 7px 20px; +} +.ant-alert-with-description.ant-alert-no-icon { + padding: 7px 15px; +} +.ant-alert-with-description .ant-alert-icon { + margin-right: 11px; + font-size: 20px; +} +.ant-alert-with-description .ant-alert-message { + display: block; + margin-bottom: 4px; + color: rgba(0, 0, 0, 0.85); + font-size: 14px; +} +.ant-alert-message { + color: rgba(0, 0, 0, 0.85); +} +.ant-alert-with-description .ant-alert-description { + display: block; +} +.ant-alert.ant-alert-motion-leave { + overflow: hidden; + opacity: 1; + transition: max-height 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), opacity 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-top 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), margin-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); +} +.ant-alert.ant-alert-motion-leave-active { + max-height: 0; + margin-bottom: 0 !important; + padding-top: 0; + padding-bottom: 0; + opacity: 0; +} +.ant-alert-banner { + margin-bottom: 0; + border: 0; + border-radius: 0; +} +.ant-alert.ant-alert-rtl { + direction: rtl; +} +.ant-alert-rtl .ant-alert-icon { + margin-right: auto; + margin-left: 4px; +} +.ant-alert-rtl .ant-alert-action { + margin-right: 4px; + margin-left: auto; +} +.ant-alert-rtl .ant-alert-close-icon { + margin-right: 4px; + margin-left: auto; +} +.ant-alert-rtl.ant-alert-with-description { + padding-right: 20px; + padding-left: 11px; +} +.ant-alert-rtl.ant-alert-with-description .ant-alert-icon { + margin-right: auto; + margin-left: 11px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/statistic/style/index.less ***! + \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-statistic { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; +} +.ant-statistic-title { + margin-bottom: 0px; + color: rgba(0, 0, 0, 0.45); + font-size: 12px; +} +.ant-statistic-skeleton { + padding-top: 8px; +} +.ant-statistic-content { + color: rgba(0, 0, 0, 0.85); + font-size: 20px; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; +} +.ant-statistic-content-value { + display: inline-block; + direction: ltr; +} +.ant-statistic-content-prefix, +.ant-statistic-content-suffix { + display: inline-block; +} +.ant-statistic-content-prefix { + margin-right: 4px; +} +.ant-statistic-content-suffix { + margin-left: 4px; +} +.ant-statistic-rtl { + direction: rtl; +} +.ant-statistic-rtl .ant-statistic-content-prefix { + margin-right: 0; + margin-left: 4px; +} +.ant-statistic-rtl .ant-statistic-content-suffix { + margin-right: 4px; + margin-left: 0; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/skeleton/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-skeleton { + display: table; + width: 100%; +} +.ant-skeleton-header { + display: table-cell; + padding-right: 8px; + vertical-align: top; +} +.ant-skeleton-header .ant-skeleton-avatar { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 28px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-header .ant-skeleton-avatar-lg { + width: 32px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-header .ant-skeleton-avatar-sm { + width: 22px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-content { + display: table-cell; + width: 100%; + vertical-align: top; +} +.ant-skeleton-content .ant-skeleton-title { + width: 100%; + height: 14px; + background: rgba(190, 190, 190, 0.2); + border-radius: 2px; +} +.ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph { + margin-top: 20px; +} +.ant-skeleton-content .ant-skeleton-paragraph { + padding: 0; +} +.ant-skeleton-content .ant-skeleton-paragraph > li { + width: 100%; + height: 14px; + list-style: none; + background: rgba(190, 190, 190, 0.2); + border-radius: 2px; +} +.ant-skeleton-content .ant-skeleton-paragraph > li:last-child:not(:first-child):not(:nth-child(2)) { + width: 61%; +} +.ant-skeleton-content .ant-skeleton-paragraph > li + li { + margin-top: 12px; +} +.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title { + margin-top: 8px; +} +.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph { + margin-top: 20px; +} +.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title, +.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph > li { + border-radius: 100px; +} +.ant-skeleton-active .ant-skeleton-title, +.ant-skeleton-active .ant-skeleton-paragraph > li, +.ant-skeleton-active .ant-skeleton-avatar, +.ant-skeleton-active .ant-skeleton-button, +.ant-skeleton-active .ant-skeleton-input, +.ant-skeleton-active .ant-skeleton-image { + position: relative; + /* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */ + z-index: 0; + overflow: hidden; + background: transparent; +} +.ant-skeleton-active .ant-skeleton-title::after, +.ant-skeleton-active .ant-skeleton-paragraph > li::after, +.ant-skeleton-active .ant-skeleton-avatar::after, +.ant-skeleton-active .ant-skeleton-button::after, +.ant-skeleton-active .ant-skeleton-input::after, +.ant-skeleton-active .ant-skeleton-image::after { + position: absolute; + top: 0; + right: -150%; + bottom: 0; + left: -150%; + background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%); + animation: ant-skeleton-loading 1.4s ease infinite; + content: ''; +} +.ant-skeleton.ant-skeleton-block { + width: 100%; +} +.ant-skeleton.ant-skeleton-block .ant-skeleton-button { + width: 100%; +} +.ant-skeleton.ant-skeleton-block .ant-skeleton-input { + width: 100%; +} +.ant-skeleton-element { + display: inline-block; + width: auto; +} +.ant-skeleton-element .ant-skeleton-button { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + border-radius: 2px; + width: 56px; + min-width: 56px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-square { + width: 28px; + min-width: 28px; +} +.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle { + width: 28px; + min-width: 28px; + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round { + border-radius: 28px; +} +.ant-skeleton-element .ant-skeleton-button-lg { + width: 64px; + min-width: 64px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-square { + width: 32px; + min-width: 32px; +} +.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle { + width: 32px; + min-width: 32px; + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round { + border-radius: 32px; +} +.ant-skeleton-element .ant-skeleton-button-sm { + width: 44px; + min-width: 44px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-square { + width: 22px; + min-width: 22px; +} +.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle { + width: 22px; + min-width: 22px; + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round { + border-radius: 22px; +} +.ant-skeleton-element .ant-skeleton-avatar { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 28px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-avatar-lg { + width: 32px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-avatar-sm { + width: 22px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-input { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 140px; + min-width: 140px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-element .ant-skeleton-input-lg { + width: 160px; + min-width: 160px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-element .ant-skeleton-input-sm { + width: 110px; + min-width: 110px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-element .ant-skeleton-image { + display: flex; + align-items: center; + justify-content: center; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 96px; + height: 96px; + line-height: 96px; +} +.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-image-path { + fill: #bfbfbf; +} +.ant-skeleton-element .ant-skeleton-image-svg { + width: 48px; + height: 48px; + line-height: 48px; + max-width: 192px; + max-height: 192px; +} +.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle { + border-radius: 50%; +} +@keyframes ant-skeleton-loading { + 0% { + transform: translateX(-37.5%); + } + 100% { + transform: translateX(37.5%); + } +} +.ant-skeleton-rtl { + direction: rtl; +} +.ant-skeleton-rtl .ant-skeleton-header { + padding-right: 0; + padding-left: 16px; +} +.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title, +.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li { + animation-name: ant-skeleton-loading-rtl; +} +.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar { + animation-name: ant-skeleton-loading-rtl; +} +@keyframes ant-skeleton-loading-rtl { + 0% { + background-position: 0% 50%; + } + 100% { + background-position: 100% 50%; + } +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[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/CaptureVideo/index.less?modules ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -30,18 +542,15 @@ box-orient: block-axis; } .video___nn_cD { - min-height: 160px; background: white; text-align: center; - padding: 14px; - margin-bottom: 20px; font-size: 0; } .video___nn_cD span { font-size: 16px; text-align: center; color: #ccc; - padding-top: 50px; + padding-top: 20px; display: inline-block; } /* stylelint-disable no-duplicate-selectors */ @@ -135,20 +644,35 @@ .bg___nHBEZ { background: white; } -.answerWrp___jZB_z { - flex-flow: nowrap !important; +.wrapper___TZKl8 { + padding-top: 84px; } -.title___rj6Q0 { - display: box; - display: flex; - align-items: center; - box-align: center; +.wrapper___TZKl8 .exerciseAlert___QUMwm { + margin-bottom: 10px; + background-color: #F6F7F9; } -.title___rj6Q0 strong { - color: #333; +.wrapper___TZKl8 .exerciseAlert___QUMwm div[class~='ant-alert-description'] { + padding: 10px 48px 8px 5px; +} +.wrapper___TZKl8 .exerciseAlert___QUMwm .title___rj6Q0 { + font-size: 14px; + color: #E99237; + white-space: nowrap; +} +.wrapper___TZKl8 .exerciseAlert___QUMwm .content___Te7Wz { + font-size: 14px; + color: #434D6C; +} +.baseMargin___BRmsh { + margin-left: 62px; +} +.noWrap___X6AS3 { + white-space: nowrap; } -.title___rj6Q0 [class~='tag-style'] { - vertical-align: bottom; +.singleItem___GkaDR { + border-radius: 2px; + border: 1px solid #CCCCCC; + padding: 20px 15px 10px 15px; } .questionIcons___XoGYC [class~='ant-anchor-link'] { display: inline; @@ -325,9 +849,6 @@ background: #cbcbcb; color: #fff; } -.questionItem___q6Hgu { - border-bottom: 1px solid #ebebeb; -} .questionItem___q6Hgu [class~='ant-checkbox-group'] { width: 100%; } @@ -343,12 +864,18 @@ display: inline-flex; } .questionItem___q6Hgu [class~='ant-checkbox'] + span [class~='mr3'] { - line-height: 1; flex-shrink: 0; } -.questionItem___q6Hgu [class~='ant-checkbox'] + span [class~='markdown-body'] { - position: relative; - top: -9px; +.questionItem___q6Hgu .questionScore___RW5tm { + background: rgba(236, 236, 236, 0.6); + border-radius: 2px; + width: 52px; + height: 25px; + white-space: nowrap; + display: flex; + align-items: center; + justify-content: center; + flex-shrink: 0; } .itemType___pPqzT { padding: 20px 5px; @@ -363,7 +890,7 @@ font-size: 14px; } .answerWrap___G9dnn { - padding: 10px 0px; + margin-bottom: 40px; } .answerSubjective___LRVKJ { width: 100%; @@ -473,17 +1000,17 @@ height: 12px; border: 1px solid rgba(0, 0, 0, 0.15); color: #fff; - display: inline-block; + display: flex; + align-items: flex-end; margin-right: 4px; } .answerInfo___tB4Wz { - background: rgba(230, 247, 255, 0.6); - border-radius: 2px; - border: 1px solid rgba(145, 213, 255, 0.6); - padding: 8px; font-size: 12px; - margin-bottom: 17px; - margin-top: 12px; + margin-bottom: 20px; + padding: 20px; +} +.answerInfo___tB4Wz .answerProgress___CbmXy { + font-weight: 500; } .answerSheet___yhxK1 { font-size: 0; @@ -496,48 +1023,62 @@ .answerSheet___yhxK1 li { width: 26px; height: 26px; - color: #000; + color: #666666; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 2px; display: inline-block; - margin: 0 14px 15px 0; + margin: 0 14px 20px 0; font-size: 14px; line-height: 26px; text-align: center; - overflow: hidden; position: relative; cursor: pointer; } +.answerSheet___yhxK1 li .qindex___XuKA8 { + position: relative; + z-index: 1; +} +.answerSheet___yhxK1 li .markIcon___ZTkqb { + position: absolute; + top: -8px; + right: -8px; + color: #FFB538; +} .answerSheet___yhxK1 li:hover { border-color: #0152d9; color: #0152d9; } .answerSheet___yhxK1 li.active___WSsrt { - background: #0152d9; + background: #3061D0; + color: #fff; +} +.answerSheet___yhxK1 li.partialActive___K6lsa { + background: #EEEEEE; color: #fff; } +.answerSheet___yhxK1 li.selected___grFyM { + border: 1px solid #18D6FF; +} .countDown___OzcWL { - vertical-align: top; + display: flex; + align-items: center; + color: #37AD83; +} +.countDown___OzcWL .cnText___TvFjV { + font-size: 14px; } .countDown___OzcWL > div { - width: 162px; - height: 32px; - background: #ffffff; - border: 1px solid #23c073; - color: #23c073; text-align: center; - line-height: 32px; - font-size: 14px; - border-radius: 32px; - vertical-align: top; display: inline-block; + margin-left: 10px; } .countDown___OzcWL > div [class~='ant-statistic'] { display: inline-block; } .countDown___OzcWL > div [class~='ant-statistic-content'] { - color: #23c073; - font-size: 14px; + color: #37AD83; + font-weight: 500; + font-size: 20px; } .countDown___OzcWL > div.red___Mge1h { color: red; @@ -546,6 +1087,20 @@ .countDown___OzcWL > div.red___Mge1h [class~='ant-statistic-content'] { color: red; } +.refreshBtn___lK1MX { + width: 88px; + height: 38px; + background: #F6F7F9; + border-radius: 4px; + color: #37AD83; + border: none; +} +.refreshBtn___lK1MX:hover, +.refreshBtn___lK1MX:focus, +.refreshBtn___lK1MX:active { + background: #F6F7F9; + color: #37AD83; +} .fold___id0EJ { background: #fff; width: 16px; @@ -584,9 +1139,13 @@ border-top: 10px solid #fff; } .cardList___xKhMX { - max-height: calc(100vh - 220px); + height: calc(88vh - 224px); + padding: 20px 20px 160px 20px; overflow: auto; } +.cardList___xKhMX.withQrcode___qphZK { + height: calc(88vh - 324px); +} .iframe___pMMQx { position: fixed; left: 0; @@ -682,6 +1241,165 @@ word-break: break-all; white-space: break-spaces; } +.videomodal___bYarH { + width: 200px; + padding: 0px; +} +.videomodal___bYarH div[class~='ant-modal-body'] { + padding: 0px; +} +.mainPart___Fqvw7 .userInfoText___nqL8p { + font-size: 16px; + font-weight: 600; + color: #000000; +} +.mainPart___Fqvw7 .answerSheetBottom___yXf5u { + background: #FFFFFF; + box-shadow: 0px -2px 4px 0px #EAEEF4; + height: 40px; + display: flex; + position: absolute; + bottom: 0; + width: 100%; + align-items: center; + z-index: 5; +} +.mainPart___Fqvw7 .tooltipWrap___AxG9B { + display: flex; + align-items: center; + color: #5F6368; +} +.mainPart___Fqvw7 .leftPart___P4Ook { + height: 88vh; + overflow: hidden; + position: relative; +} +.mainPart___Fqvw7 .rightPart___De4P3 { + height: 88vh; + background-color: #fff; + overflow: hidden; + position: relative; +} +.mainPart___Fqvw7 .rightPart___De4P3 .questionPart___GTq66 { + overflow: auto; + height: inherit; + padding-bottom: 78px; +} +.mainPart___Fqvw7 .rightPart___De4P3 .questionPart___GTq66 .questionTypeTitle___r6Fo9 { + font-size: 16px; + font-weight: 600; + color: #000000; +} +.mainPart___Fqvw7 .rightPart___De4P3 .questionPart___GTq66 .questionTypeInfo___JfpWv { + font-size: 16px; + font-weight: 400; + color: #464F66; +} +.mainPart___Fqvw7 .rightPart___De4P3 .questionPart___GTq66 .toIframeBtn___gRKtn { + width: 92px; + height: 36px; +} +.mainPart___Fqvw7 .rightPart___De4P3 .bottom___coSlv { + height: 64px; + width: 100%; + position: absolute; + bottom: 0; + box-shadow: 0px -2px 8px 0px #F1F1F1; + padding: 0 30px; + background-color: #fff; + z-index: 100; +} +.mainPart___Fqvw7 .rightPart___De4P3 .bottom___coSlv .markBtn___ZCLGF { + width: 116px; + height: 38px; + border-radius: 4px; + color: #666666; +} +.mainPart___Fqvw7 .rightPart___De4P3 .bottom___coSlv .markBtn___ZCLGF:hover { + color: #3061D0; +} +.mainPart___Fqvw7 .rightPart___De4P3 .changeButton___sBTjl { + width: 118px; + height: 38px; + border-radius: 2px; +} +.mainPart___Fqvw7 .rightPart___De4P3 .changeButton___sBTjl.prevBtn___lgCPG { + color: #666666; +} +.mainPart___Fqvw7 .rightPart___De4P3 .changeButton___sBTjl.prevBtn___lgCPG:hover { + color: #3061D0; +} +.analysisWrap___JoCnb { + border-top: 1px dotted #CCCCCC; + padding-top: 20px; +} +.analysisWrap___JoCnb .greyBg___vgesc { + background: #F6F7F9; + border-radius: 4px; + padding: 20px 15px; +} +.fixHeader___RoNxE { + position: fixed; + top: 0; + width: 100%; + height: 64px; + background: #FFFFFF; + box-shadow: 0px 2px 4px 0px #EAEEF4; + display: flex; + align-items: stretch; + z-index: 1; +} +.fixHeader___RoNxE .exerciseTitle___Dtp56 { + font-size: 18px; + font-weight: 600; + color: #333333; + max-width: 500px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.fixHeader___RoNxE .submitButton___zPo7H { + width: 88px; + height: 38px; + border-radius: 4px; +} +.commitModal___zqvNA span[class~='ant-modal-confirm-title'] { + margin-bottom: 30px; +} +.commitModal___zqvNA div[class~='ant-modal-confirm-btns'] button { + width: 60px; + height: 32px; + border-radius: 2px; +} +.commitModal___zqvNA .commitItem___mjYF6 { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; +} +.commitModal___zqvNA .commitInfoLabel___KtIjW { + font-size: 14px; + color: #666666; + margin-right: 8px; +} +.commitModal___zqvNA .commitInfoValue___DCyRn { + font-size: 14px; + color: #191919; +} +.cameraHeader___Pqhwb { + height: 46px; + width: 200px; + padding: 0 12px; + background-color: #fff; + border-radius: 6px 6px 0px 0px; +} +.cameraHeader___Pqhwb i { + color: #3061D0; + margin-right: 8px; +} +.cameraHeader___Pqhwb span { + font-size: 14px; + color: #232B40; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ @@ -1563,6 +2281,144 @@ span.CodeMirror-selectedtext { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/anchor/style/index.less ***! + \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-anchor { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + padding-left: 2px; +} +.ant-anchor-wrapper { + margin-left: -4px; + padding-left: 4px; + overflow: auto; + background-color: transparent; +} +.ant-anchor-ink { + position: absolute; + top: 0; + left: 0; + height: 100%; +} +.ant-anchor-ink::before { + position: relative; + display: block; + width: 2px; + height: 100%; + margin: 0 auto; + background-color: #f0f0f0; + content: ' '; +} +.ant-anchor-ink-ball { + position: absolute; + left: 50%; + display: none; + width: 8px; + height: 8px; + background-color: #fff; + border: 2px solid #3061D0; + border-radius: 8px; + transform: translateX(-50%); + transition: top 0.3s ease-in-out; +} +.ant-anchor-ink-ball.ant-anchor-ink-ball-visible { + display: inline-block; +} +.ant-anchor-fixed .ant-anchor-ink .ant-anchor-ink-ball { + display: none; +} +.ant-anchor-link { + padding: 4px 0 4px 16px; +} +.ant-anchor-link-title { + position: relative; + display: block; + margin-bottom: 3px; + overflow: hidden; + color: rgba(0, 0, 0, 0.85); + white-space: nowrap; + text-overflow: ellipsis; + transition: all 0.3s; +} +.ant-anchor-link-title:only-child { + margin-bottom: 0; +} +.ant-anchor-link-active > .ant-anchor-link-title { + color: #3061D0; +} +.ant-anchor-link .ant-anchor-link { + padding-top: 2px; + padding-bottom: 2px; +} +.ant-anchor-rtl { + direction: rtl; +} +.ant-anchor-rtl.ant-anchor-wrapper { + margin-right: -4px; + margin-left: 0; + padding-right: 4px; + padding-left: 0; +} +.ant-anchor-rtl .ant-anchor-ink { + right: 0; + left: auto; +} +.ant-anchor-rtl .ant-anchor-ink-ball { + right: 50%; + left: 0; + transform: translateX(50%); +} +.ant-anchor-rtl .ant-anchor-link { + padding: 4px 16px 4px 0; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/affix/style/index.less ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-affix { + position: fixed; + z-index: 10; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Answer/components/UserScore/index.less?modules ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.score___mcGn7 { + font-weight: 600; + color: #FA6400; +} +.wrap___h11sQ { + font-size: 14px; + font-weight: 400; + color: #6A7283; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Answer/components/index.less?modules ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -1613,60 +2469,117 @@ span.CodeMirror-selectedtext { font-size: 14px; font-weight: normal; padding: 6px 20px; - border-bottom: 1px solid #eee; + border-bottom: 1px solid #CCCCCC; margin: 0; position: relative; + color: #666666; + background: #F6F7F9; } .shixunWrp___FTFC6 h2 span { position: absolute; right: 10px; top: 6px; } +.fill___H_Qd6 { + margin-bottom: 40px; +} +.fill___H_Qd6 .index___PaSVJ { + font-size: 14px; + color: #666666; +} +.fill___H_Qd6 .success___fz_F7 { + color: #00C21E; +} +.fill___H_Qd6 .fail___ftXSv { + color: #FA6400; +} +.fill___H_Qd6 .fillInput___q_sSb { + height: 46px; +} +.shixunWrapper___toGqF { + border-radius: 2px; + border: 1px solid #CCCCCC; + padding: 10px 20px 90px 15px; + max-height: 380px; + overflow: auto; + margin-left: 62px; +} +.shixunWrapper___toGqF .score___AsYGZ { + font-size: 14px; + color: #999999; +} +.shixunWrapper___toGqF .name___hawfX { + font-size: 14px; + color: #333333; + margin-left: 6px; +} +.programWrapper___zVQPT { + margin-left: 62px; +} +.programWrapper___zVQPT .desc___MFIu5 { + font-size: 14px; + color: #666666; + margin-bottom: 14px; +} +.programWrapper___zVQPT .content___QuE41 { + border-radius: 2px; + border: 1px solid #CCCCCC; + max-height: 300px; + overflow: auto; + padding: 10px 15px; +} +.analysisWrap___qGPzJ { + border-top: 1px dotted #CCCCCC; + padding-top: 20px; +} +.analysisWrap___qGPzJ .greyBg___FIDIB { + background: #F6F7F9; + border-radius: 4px; + padding: 20px 15px; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Review/component/AnswerComments/index.less?modules ***! - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___hzSR8 { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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/Classrooms/Lists/Exercise/Answer/components/NewAnswerComments/index.less?modules ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.comments___ZkLeS { + background-color: #fff; + min-height: 90px; + padding: 15px; } -.flex_space_between___Mscip { - justify-content: space-between; - -webkit-box-pack: justify; +.comments___ZkLeS .greyText___ow9J6 { + color: #6A7283; } -.flex_box_vertical_center___Uckau { - align-items: center; - box-align: center; +.comments___ZkLeS .commentText___Uklcs { + color: #333333; } -.flex_box_center_end___Kw1tf { - 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; +.wrapper___XTdhL { + border-radius: 4px; + border: 1px solid #DCDCDC; } -.flex_box_column___udgQE { - flex-direction: column; - box-orient: block-axis; +.header___pq5DQ { + background: #F6F7F9; + border-radius: 4px 4px 0px 0px; + height: 40px; + padding: 0 20px 0 15px; + font-size: 14px; + color: #000000; } -.comments___He0El { - background-color: #f2f2f2; - padding: 10px 14px; - border-radius: 2px; - margin-top: 11px; +.header___pq5DQ img { + width: 28px; + border-radius: 50%; } -.comments___He0El .line___P3zVB { - height: 1px; - border-bottom: 1px dashed #d3d1d1; - margin: 7px 0; +.header___pq5DQ .updateTime___WYYjt { + margin-left: auto; +} +.header___pq5DQ .updateTime___WYYjt .text___FmQY7 { + color: #6A7283; + margin-right: 10px; +} +.header___pq5DQ .updateTime___WYYjt .date___DiXg4 { + color: #333333; } /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ diff --git a/p__Classrooms__Lists__Exercise__Detail__index.async.js b/p__Classrooms__Lists__Exercise__Detail__index.async.js index d6f738fca4..48c83e8640 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.async.js @@ -2303,7 +2303,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -2684,9 +2684,9 @@ function useInterval(callback, delay) { /***/ }), -/***/ 8344: +/***/ 57661: /*!***************************************************************************!*\ - !*** ./src/pages/Classrooms/Lists/Exercise/Detail/index.tsx + 57 modules ***! + !*** ./src/pages/Classrooms/Lists/Exercise/Detail/index.tsx + 58 modules ***! \***************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -4065,8 +4065,6 @@ var WorkList = function WorkList(_ref) { }); }; var date = new Date().getTime(); - console.log('user'); - console.log(user); var columns = [{ title: '序号', dataIndex: 'name', @@ -4173,6 +4171,9 @@ var WorkList = function WorkList(_ref) { align: 'center', sorter: true, render: function render(text, record) { + if (record.commit_status === 0 || record.commit_status === 1) { + return '--'; + } if (!record.open_total_score && (0,authority/* isStudent */.dE)()) { return '老师审核中'; } else { @@ -4201,6 +4202,9 @@ var WorkList = function WorkList(_ref) { // width: "10%", width: 100, render: function render(text, record) { + if (record.commit_status === 0 || record.commit_status === 1) { + return '--'; + } if (!record.open_total_score && (0,authority/* isStudent */.dE)()) { return '老师审核中'; } else { @@ -4236,6 +4240,9 @@ var WorkList = function WorkList(_ref) { dataIndex: 'subjective_score', align: 'center', render: function render(text, record) { + if (record.commit_status === 0 || record.commit_status === 1) { + return '--'; + } if (!record.open_total_score && (0,authority/* isStudent */.dE)()) { return '老师审核中'; } else { @@ -4923,7 +4930,7 @@ var WorkList = function WorkList(_ref) { className: "mr10", children: [exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis28 = exerciseList.exercise_types) === null || _exerciseList$exercis28 === void 0 ? void 0 : _exerciseList$exercis28.unanswer_users, "\u672A\u4EA4"] }), (exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis29 = exerciseList.exercise_types) === null || _exerciseList$exercis29 === void 0 ? void 0 : _exerciseList$exercis29.exercise_end_time) !== '--' && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: ["\u5269\u4F59\u63D0\u4EA4\u65F6\u95F4\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: ["\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { color: '#FF954C' }, @@ -15093,7 +15100,7 @@ var MinusCircleOutlined = __webpack_require__(3089); var PlusCircleOutlined = __webpack_require__(64789); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/ConfigWorks/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var ConfigWorksmodules = ({"flex_box_center":"flex_box_center___Onpg9","flex_space_between":"flex_space_between___nYRpC","flex_box_vertical_center":"flex_box_vertical_center___NGA7H","flex_box_center_end":"flex_box_center_end___a2dUm","flex_box_column":"flex_box_column___c5CN2","form":"form___TDc55","scoreSettingWrapper":"scoreSettingWrapper___L7weV","ipItem":"ipItem___nAf_u","ipWrp":"ipWrp___x3LTQ","tagWrap":"tagWrap___PMN4b","tag":"tag___Auf1J","padding":"padding___veqnd","unlockKeyWrapper":"unlockKeyWrapper___UOERJ","unlockKeyInput":"unlockKeyInput___ItI9I","mb40":"mb40___eMjps","mb28":"mb28___ZxJPY","mainRuleText":"mainRuleText___U5cJS","minorRuleText":"minorRuleText___aZezx","contentInterval":"contentInterval___slPV9","numberInput":"numberInput____ONIt","publishRuleIndex":"publishRuleIndex___s2cVA","publishRuleContent":"publishRuleContent___HohmS","groupSelector":"groupSelector___Zxqsw","addAndDelete":"addAndDelete___saTVM","deleteIcon":"deleteIcon___vnkck","addIcon":"addIcon___Yz7Ef","cancelBtn":"cancelBtn___p8Klw","submitBtn":"submitBtn___pmm2G"}); +/* harmony default export */ var ConfigWorksmodules = ({"flex_box_center":"flex_box_center___Onpg9","flex_space_between":"flex_space_between___nYRpC","flex_box_vertical_center":"flex_box_vertical_center___NGA7H","flex_box_center_end":"flex_box_center_end___a2dUm","flex_box_column":"flex_box_column___c5CN2","form":"form___TDc55","scoreSettingWrapper":"scoreSettingWrapper___L7weV","ipItem":"ipItem___nAf_u","ipWrp":"ipWrp___x3LTQ","tagWrap":"tagWrap___PMN4b","tag":"tag___Auf1J","padding":"padding___veqnd","unlockKeyWrapper":"unlockKeyWrapper___UOERJ","unlockKeyInput":"unlockKeyInput___ItI9I","mb40":"mb40___eMjps","mb28":"mb28___ZxJPY","mainRuleText":"mainRuleText___U5cJS","minorRuleText":"minorRuleText___aZezx","contentInterval":"contentInterval___slPV9","numberInput":"numberInput____ONIt","publishRuleIndex":"publishRuleIndex___s2cVA","publishRuleContent":"publishRuleContent___HohmS","groupSelector":"groupSelector___Zxqsw","addAndDelete":"addAndDelete___saTVM","deleteIcon":"deleteIcon___vnkck","addIcon":"addIcon___Yz7Ef","cancelBtn":"cancelBtn___p8Klw","submitBtn":"submitBtn___pmm2G","remindForm":"remindForm___K6X21","remindItem":"remindItem___Z7rRb","remindInput":"remindInput___r_wq3","addRemind":"addRemind___jbnIp","disabled":"disabled___ebijK"}); // EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.js var QuestionCircleOutlined = __webpack_require__(63783); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/ConfigWorks/components/MakeUp.tsx @@ -15694,6 +15701,143 @@ var AddIPRange = function AddIPRange(_ref) { })(AddIPRange)); // EXTERNAL MODULE: ./src/components/TipsButton/index.tsx + 1 modules var TipsButton = __webpack_require__(85952); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +var createForOfIteratorHelper = __webpack_require__(74704); +var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/ConfigWorks/components/RemindForm.tsx + + + + + + + + + + + + + + + + + +var RemindForm = function RemindForm(_ref) { + var disabled = _ref.disabled, + time = _ref.time; + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.List */.Z.List, { + name: "exercise_events", + rules: [{ + validator: function validator(rule, values) { + var set = new Set(); + var _iterator = createForOfIteratorHelper_default()(values), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _item$reminder_conten, _item$reminder_conten2; + var item = _step.value; + if (set.has(item.reminder_time)) { + return Promise.reject(new Error('答题提醒时间不允许重复,请重新设置')); + } + if (item.reminder_time > time) { + return Promise.reject(new Error('答题提醒时间不能大于答题时长')); + } + set.add(item.reminder_time); + if (!((_item$reminder_conten = item.reminder_content) !== null && _item$reminder_conten !== void 0 && (_item$reminder_conten2 = _item$reminder_conten.trim()) !== null && _item$reminder_conten2 !== void 0 && _item$reminder_conten2.length)) { + return Promise.reject(new Error('提醒内容不能为空')); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + return Promise.resolve(); + } + }], + children: function children(fields, _ref2) { + var add = _ref2.add, + remove = _ref2.remove; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ConfigWorksmodules.remindForm, + children: [fields.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mb20", + children: fields.map(function (field, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + wrap: false, + className: ConfigWorksmodules.remindItem, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "mr10", + children: [index + 1, ".\u7B54\u9898\u7ED3\u675F\u524D"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, objectSpread2_default()(objectSpread2_default()({}, field), {}, { + name: [field.name, 'reminder_time'], + rules: [{ + required: true, + message: '请输入提醒时间' + }], + noStyle: true, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + precision: 0, + min: 1, + disabled: disabled, + className: ConfigWorksmodules.remindInput + }) + })) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "mr10 ml10", + children: "\u5206\u949F\u8FDB\u884C\u63D0\u9192\uFF0C\u63D0\u9192\u5185\u5BB9\u4E3A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: 1, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, objectSpread2_default()(objectSpread2_default()({}, field), {}, { + name: [field.name, 'reminder_content'], + rules: [{ + required: true, + message: '请输入提醒内容' + }], + noStyle: true, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + className: ConfigWorksmodules.remindInput, + disabled: disabled, + showCount: true, + maxLength: 100 + }) + })) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(MinusCircleOutlined/* default */.Z, { + onClick: function onClick() { + return remove(field.name); + }, + style: { + color: '#E30000', + marginLeft: 54, + fontSize: 20, + visibility: disabled ? 'hidden' : 'visible' + } + })] + }, field.key); + }) + }), fields.length < 5 && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: "".concat(ConfigWorksmodules.addRemind, " ").concat(disabled ? ConfigWorksmodules.disabled : ''), + onClick: function onClick() { + if (disabled) { + return; + } + add({ + reminder_time: '' + }); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-tianjiashitixiaojiahao mr5" + }), "\u6DFB\u52A0\u7B54\u9898\u63D0\u9192"] + }) + })] + }); + } + }); +}; +/* harmony default export */ var components_RemindForm = (RemindForm); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/ConfigWorks/components/PublishSettings.tsx @@ -15733,6 +15877,9 @@ var TipsButton = __webpack_require__(85952); + + + @@ -15747,12 +15894,8 @@ var PublishSettings = function PublishSettings(_ref) { globalSetting = _ref.globalSetting, loading = _ref.loading, dispatch = _ref.dispatch; - // console.log("466666666666666666", user?.userInfo?.course?.course_assistant_permission?.exercise?.can_delay); - var workSetting = exercise.workSetting, commonHeader = exercise.commonHeader; - // console.log("workSetting", workSetting); - var params = (0,_umi_production_exports.useParams)(); params.category = params.categoryId; var _useState = (0,react.useState)(true), @@ -15822,12 +15965,12 @@ var PublishSettings = function PublishSettings(_ref) { return _getData.apply(this, arguments); } function _getData() { - _getData = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + _getData = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { var data; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { case 0: - _context2.next = 2; + _context3.next = 2; return (0,fetch/* default */.ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/exercises/overload_alert.json"), { method: 'get', params: { @@ -15835,18 +15978,18 @@ var PublishSettings = function PublishSettings(_ref) { } }); case 2: - data = _context2.sent; + data = _context3.sent; setIsAlert(data === null || data === void 0 ? void 0 : data.alert); case 4: case "end": - return _context2.stop(); + return _context3.stop(); } - }, _callee2); + }, _callee3); })); return _getData.apply(this, arguments); } var setDefaultData = function setDefaultData() { - var _res$published_course, _workSetting$course_g; + var _res$published_course, _workSetting$course_g, _res$exercise2; var res = JSON.parse(JSON.stringify(workSetting)); Object.keys(data).forEach(function (item) { var _res$exercise; @@ -15872,51 +16015,98 @@ var PublishSettings = function PublishSettings(_ref) { setTimeLimited(data.time === -1 ? false : true); setData(data); setGroupSetting(groupSettings); + remindFormInstance.setFieldsValue({ + exercise_events: res === null || res === void 0 ? void 0 : (_res$exercise2 = res.exercise) === null || _res$exercise2 === void 0 ? void 0 : _res$exercise2.exercise_events + }); }; - var handleSubmit = function handleSubmit() { - var bodyData = JSON.parse(JSON.stringify(data)); - bodyData.categoryId = params.categoryId; - bodyData.publish_time_groups = groupSettings; - if (!data.unified_setting) { - if (!groupSettings.length) { - message/* default.warn */.ZP.warn('提交失败:分班发布设置不能为空'); - return; - } - delete bodyData.publish_time; - delete bodyData.end_time; - groupSettings.map(function (item) { - var _item$course_group_id; - if (!item.course_group_id || !((_item$course_group_id = item.course_group_id) !== null && _item$course_group_id !== void 0 && _item$course_group_id.length)) { - message/* default.error */.ZP.error('分班不能为空'); - throw new String("分班不能为空"); - } - if (!item.publish_time || !item.end_time) { - message/* default.error */.ZP.error('发布截止时间不能为空'); - throw new String("发布截止时间不能为空"); + var handleSubmit = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var bodyData, remindData, _errorInfo$errorField, _errorInfo$errorField2, _errorInfo$errorField3, _errorInfo$errorField4, _errorInfo$errorField5; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + bodyData = JSON.parse(JSON.stringify(data)); + _context.prev = 1; + _context.next = 4; + return remindFormInstance.validateFields(); + case 4: + remindData = remindFormInstance.getFieldsValue(); + bodyData.exercise_events = remindData.exercise_events; + _context.next = 12; + break; + case 8: + _context.prev = 8; + _context.t0 = _context["catch"](1); + if (_context.t0 !== null && _context.t0 !== void 0 && _context.t0.errorFields) { + remindFormInstance.scrollToField(_context.t0 === null || _context.t0 === void 0 ? void 0 : (_errorInfo$errorField = _context.t0.errorFields) === null || _errorInfo$errorField === void 0 ? void 0 : (_errorInfo$errorField2 = _errorInfo$errorField[0]) === null || _errorInfo$errorField2 === void 0 ? void 0 : _errorInfo$errorField2.name, { + behavior: 'smooth', + block: 'center' + }); + message/* default.error */.ZP.error(_context.t0 === null || _context.t0 === void 0 ? void 0 : (_errorInfo$errorField3 = _context.t0.errorFields) === null || _errorInfo$errorField3 === void 0 ? void 0 : (_errorInfo$errorField4 = _errorInfo$errorField3[0]) === null || _errorInfo$errorField4 === void 0 ? void 0 : (_errorInfo$errorField5 = _errorInfo$errorField4.errors) === null || _errorInfo$errorField5 === void 0 ? void 0 : _errorInfo$errorField5[0]); + } + return _context.abrupt("return"); + case 12: + bodyData.categoryId = params.categoryId; + bodyData.publish_time_groups = groupSettings; + if (data.unified_setting) { + _context.next = 23; + break; + } + if (groupSettings.length) { + _context.next = 18; + break; + } + message/* default.warn */.ZP.warn('提交失败:分班发布设置不能为空'); + return _context.abrupt("return"); + case 18: + delete bodyData.publish_time; + delete bodyData.end_time; + groupSettings.map(function (item) { + var _item$course_group_id; + if (!item.course_group_id || !((_item$course_group_id = item.course_group_id) !== null && _item$course_group_id !== void 0 && _item$course_group_id.length)) { + message/* default.error */.ZP.error('分班不能为空'); + throw new String("分班不能为空"); + } + if (!item.publish_time || !item.end_time) { + message/* default.error */.ZP.error('发布截止时间不能为空'); + throw new String("发布截止时间不能为空"); + } + }); + _context.next = 26; + break; + case 23: + if (!(!data.publish_time || !data.end_time)) { + _context.next = 26; + break; + } + message/* default.error */.ZP.error('发布截止时间不能为空'); + throw new String("发布截止时间不能为空"); + case 26: + handleUpdate(bodyData); + case 27: + case "end": + return _context.stop(); } - }); - } else { - if (!data.publish_time || !data.end_time) { - message/* default.error */.ZP.error('发布截止时间不能为空'); - throw new String("发布截止时间不能为空"); - } - } - handleUpdate(bodyData); - }; + }, _callee, null, [[1, 8]]); + })); + return function handleSubmit() { + return _ref2.apply(this, arguments); + }; + }(); var handleUpdate = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(bodyData) { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(bodyData) { var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { case 0: setPageLoading(true); - _context.next = 3; + _context2.next = 3; return (0,fetch/* default */.ZP)("/api/exercises/".concat(params === null || params === void 0 ? void 0 : params.categoryId, "/publish_settings.json"), { method: 'post', body: bodyData }); case 3: - res = _context.sent; + res = _context2.sent; if (res.status === 0) { message/* default.success */.ZP.success('更新成功'); dispatch({ @@ -15932,12 +16122,12 @@ var PublishSettings = function PublishSettings(_ref) { } case 5: case "end": - return _context.stop(); + return _context2.stop(); } - }, _callee); + }, _callee2); })); return function handleUpdate(_x) { - return _ref2.apply(this, arguments); + return _ref3.apply(this, arguments); }; }(); var disabledDate = function disabledDate(current) { @@ -15987,6 +16177,9 @@ var PublishSettings = function PublishSettings(_ref) { return [false, false]; } }; + var _Form$useForm = es_form/* default.useForm */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + remindFormInstance = _Form$useForm2[0]; return /*#__PURE__*/(0,jsx_runtime.jsx)("section", { className: ConfigWorksmodules.form, children: /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { @@ -16089,7 +16282,7 @@ var PublishSettings = function PublishSettings(_ref) { format: "YYYY-MM-DD HH:mm", disabledDate: disabledDate, disabled: disabled || (workSetting === null || workSetting === void 0 ? void 0 : (_workSetting$exercise9 = workSetting.exercise) === null || _workSetting$exercise9 === void 0 ? void 0 : _workSetting$exercise9.exercise_status) > 1 || (0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist5 = classroomList.AssistantObject) !== null && _classroomList$Assist5 !== void 0 && (_classroomList$Assist6 = _classroomList$Assist5.exercise) !== null && _classroomList$Assist6 !== void 0 && _classroomList$Assist6.can_publish), - value: data.publish_time ? moment_default()(data.publish_time) : '', + value: data.publish_time ? moment_default()(data.publish_time) : undefined, allowClear: false, onChange: function onChange(value, time) { data.publish_time = time; @@ -16114,7 +16307,7 @@ var PublishSettings = function PublishSettings(_ref) { format: "YYYY-MM-DD HH:mm", disabled: disabled || (0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist7 = classroomList.AssistantObject) !== null && _classroomList$Assist7 !== void 0 && (_classroomList$Assist8 = _classroomList$Assist7.exercise) !== null && _classroomList$Assist8 !== void 0 && _classroomList$Assist8.can_late), allowClear: false, - value: data.end_time ? moment_default()(data.end_time) : '', + value: data.end_time ? moment_default()(data.end_time) : undefined, disabledDate: disabledDateEnd, onChange: function onChange(value, time) { var _classroomList$Assist9, _classroomList$Assist10; @@ -16141,6 +16334,7 @@ var PublishSettings = function PublishSettings(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { className: "".concat(ConfigWorksmodules.publishRuleContent, " ").concat(ConfigWorksmodules.contentInterval), align: "middle", + wrap: false, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { children: "\u73ED\u7EA7" }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { @@ -16189,11 +16383,12 @@ var PublishSettings = function PublishSettings(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { children: "\u8003\u8BD5\u65F6\u95F4" }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: 1, children: /*#__PURE__*/(0,jsx_runtime.jsx)(RangePicker, { disabled: rulesDiabledDate(v) || (0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist11 = classroomList.AssistantObject) !== null && _classroomList$Assist11 !== void 0 && (_classroomList$Assist12 = _classroomList$Assist11.exercise) !== null && _classroomList$Assist12 !== void 0 && _classroomList$Assist12.can_publish), disabledDate: disabledDate, style: { - width: 400 + width: '100%' }, placeholder: ['请选择发布时间', '请选择截止时间'], showTime: { @@ -16209,10 +16404,15 @@ var PublishSettings = function PublishSettings(_ref) { setGroupSetting(toConsumableArray_default()(groupSettings)); } }) - }), !disabled && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { className: ConfigWorksmodules.addAndDelete, - span: 2, - children: [k > 0 && (v === null || v === void 0 ? void 0 : v["new"]) && /*#__PURE__*/(0,jsx_runtime.jsx)(MinusCircleOutlined/* default */.Z, { + style: { + visibility: disabled ? 'hidden' : 'visible' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(MinusCircleOutlined/* default */.Z, { + style: { + visibility: k > 0 && v !== null && v !== void 0 && v["new"] ? 'visible' : 'hidden' + }, className: ConfigWorksmodules.deleteIcon, onClick: function onClick() { groupSettings = groupSettings.filter(function (val, key) { @@ -16247,6 +16447,16 @@ var PublishSettings = function PublishSettings(_ref) { time: -1 }); }); + } else { + remindFormInstance.setFieldsValue({ + exercise_events: [{ + reminder_time: 30, + reminder_content: '请注意,30分钟后禁止作答' + }, { + reminder_time: 15, + reminder_content: '请注意,15分钟后禁止作答' + }] + }); } setTimeLimited(e.target.checked); }, @@ -16267,6 +16477,7 @@ var PublishSettings = function PublishSettings(_ref) { disabled: disabled, min: 1, value: data.time === -1 ? null : data.time, + precision: 0, onChange: function onChange(value) { data.time = value; setData(objectSpread2_default()({}, data)); @@ -16274,6 +16485,12 @@ var PublishSettings = function PublishSettings(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: "\u5206\u949F" })] + }), timeLimited && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + form: remindFormInstance, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_RemindForm, { + disabled: disabled, + time: data.time + }) }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { checked: data.enable_last_times, @@ -16321,12 +16538,12 @@ var PublishSettings = function PublishSettings(_ref) { }) }); }; -/* harmony default export */ var components_PublishSettings = ((0,_umi_production_exports.connect)(function (_ref3) { - var exercise = _ref3.exercise, - loading = _ref3.loading, - globalSetting = _ref3.globalSetting, - classroomList = _ref3.classroomList, - user = _ref3.user; +/* harmony default export */ var components_PublishSettings = ((0,_umi_production_exports.connect)(function (_ref4) { + var exercise = _ref4.exercise, + loading = _ref4.loading, + globalSetting = _ref4.globalSetting, + classroomList = _ref4.classroomList, + user = _ref4.user; return { exercise: exercise, loading: loading.effects, @@ -18551,36 +18768,17 @@ var ConfigWorks_WorkList = function WorkList(_ref) { _useState2 = slicedToArray_default()(_useState, 2), active = _useState2[0], setActive = _useState2[1]; - { - console.log("----------------------------------", exercise); - } var tabs = [{ name: '发布设置', key: '0', element: /*#__PURE__*/(0,jsx_runtime.jsx)(components_PublishSettings, {}), show: true - }, - // { - // name: '答题设置', - // key: '1', - // element: , - // show: true - - // }, - { + }, { name: '防作弊设置', key: '2', element: /*#__PURE__*/(0,jsx_runtime.jsx)(PreventCheatingSettings, {}), show: globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin = globalSetting.setting) !== null && _globalSetting$settin !== void 0 && _globalSetting$settin.is_local ? false : true - }, - // { - // name: '试卷导出设置', - // key: '4', - // element: , - // show: isAdmin() - - // }, - { + }, { name: '评阅设置', key: '5', element: /*#__PURE__*/(0,jsx_runtime.jsx)(DistinguishExerciseSettings, {}), @@ -21330,7 +21528,7 @@ var Detail_excluded = ["exercise", "globalSetting", "loading", "dispatch", "clas var ExerciseDetail = function ExerciseDetail(_ref) { - var _userInfo$course, _classroomList$Assist, _user$userInfo, _user$userInfo$course, _commonHeader$user_pe2, _commonHeader$user_pe3, _commonHeader$user_pe4, _commonHeader$user_pe5, _exerciseList$exercis, _exerciseList$exercis2, _commonHeader$user_pe6, _tabsArr$filter, _tabsArr$filter$; + var _userInfo$course, _classroomList$Assist, _user$userInfo, _user$userInfo$course, _commonHeader$user_pe, _commonHeader$user_pe2, _commonHeader$user_pe3, _commonHeader$user_pe4, _exerciseList$exercis, _exerciseList$exercis2, _commonHeader$user_pe5, _tabsArr$filter, _tabsArr$filter$; var exercise = _ref.exercise, globalSetting = _ref.globalSetting, loading = _ref.loading, @@ -21473,39 +21671,30 @@ var ExerciseDetail = function ExerciseDetail(_ref) { }; }(); var enterExam = function enterExam() { - var _commonHeader$user_pe; var notFirstTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; - // if (notFirstTime && commonHeader.is_user_locked) { - // dispatch({ - // type: 'exercise/setActionTabs', - // payload: { - // key: 'student-unlock', - // exerciseParams: commonHeader - // }, - // }) - // return - // } - (0,util/* startExercise */.nr)({ - inner_ip: commonHeader.inner_ip, - public_ip: commonHeader.public_ip, - ip_limit: commonHeader.ip_limit, - ip_bind: commonHeader.ip_bind, - open_camera: commonHeader.open_camera, - exercise_tips: [commonHeader.open_camera ? '已开启防作弊' : ''], - exerciseId: commonHeader.id, - screen_open: commonHeader.screen_open, - screen_num: commonHeader.screen_num, - screen_sec: commonHeader.screen_sec, - coursesId: params.coursesId, - login: userInfo.login, - history: _umi_production_exports.history, - identity_verify: commonHeader.identity_verify, - current_status: commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe = commonHeader.user_permission) === null || _commonHeader$user_pe === void 0 ? void 0 : _commonHeader$user_pe.current_status, - open_phone_video_recording: commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.open_phone_video_recording, - exercise_user_id: commonHeader.exercise_user_id, - unlockClose: true - }); + _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercisenotice/").concat(commonHeader.id, "/users/").concat(userInfo.login)); + // startExercise({ + // inner_ip: commonHeader.inner_ip, + // public_ip: commonHeader.public_ip, + // ip_limit: commonHeader.ip_limit, + // ip_bind: commonHeader.ip_bind, + // open_camera: commonHeader.open_camera, + // exercise_tips: [commonHeader.open_camera ? '已开启防作弊' : ''], + // exerciseId: commonHeader.id, + // screen_open: commonHeader.screen_open, + // screen_num: commonHeader.screen_num, + // screen_sec: commonHeader.screen_sec, + // coursesId: params.coursesId, + // login: userInfo.login, + // history: history, + // identity_verify: commonHeader.identity_verify, + // current_status: commonHeader?.user_permission?.current_status, + // open_phone_video_recording: commonHeader?.open_phone_video_recording, + // exercise_user_id: commonHeader.exercise_user_id, + // unlockClose: true + // }); }; + var getData = function getData() { dispatch({ type: 'exercise/getExerciseList', @@ -21539,15 +21728,17 @@ var ExerciseDetail = function ExerciseDetail(_ref) { var tabsArr = [{ name: '答题列表', id: 0, - compontent: /*#__PURE__*/(0,jsx_runtime.jsx)(components_WorkList, { + hidden: false, + component: /*#__PURE__*/(0,jsx_runtime.jsx)(components_WorkList, { getparams: getparams, checkDomainAuthority: checkDomainAuthority }) }, { name: '试卷预览', id: 2, + hidden: (commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.show_statistic) && (commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.exercise_status) === 3 || (0,util/* isKepuKehuan */._m)() && !(0,authority/* isCommonSuperAdminOrOperation */.ag)() || !checkDomainAuthority || (0,authority/* isStudent */.dE)(), //判断是否有预览权限 isAssistant - compontent: (0,authority/* isAssistant */.Rm)() && !((_classroomList$Assist = classroomList.AssistantObject.exercise) !== null && _classroomList$Assist !== void 0 && _classroomList$Assist.can_preview) ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + component: (0,authority/* isAssistant */.Rm)() && !((_classroomList$Assist = classroomList.AssistantObject.exercise) !== null && _classroomList$Assist !== void 0 && _classroomList$Assist.can_preview) ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { padding: "100px", textAlign: "center", @@ -21560,106 +21751,46 @@ var ExerciseDetail = function ExerciseDetail(_ref) { color: "#fcb041" } }), "\xA0 \u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)(ReferenceAnswer, { + }) : commonHeader !== null && commonHeader !== void 0 && commonHeader.is_random ? /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewEdit["default"], {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(ReferenceAnswer, { activeTabs: activeTabs }) }, { name: '统计结果', id: 1, - compontent: /*#__PURE__*/(0,jsx_runtime.jsx)(StatisticsResult, {}) + hidden: !checkDomainAuthority || !((0,util/* isKepuKehuan */._m)() && !(0,authority/* isCommonSuperAdminOrOperation */.ag)()) || (0,authority/* isStudent */.dE)(), + component: commonHeader !== null && commonHeader !== void 0 && commonHeader.is_random ? /*#__PURE__*/(0,jsx_runtime.jsx)(RandomStatisticsResult, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(StatisticsResult, {}) }, { name: '质量检测', id: 7, - compontent: /*#__PURE__*/(0,jsx_runtime.jsx)(QualityActivity, {}) + hidden: !(commonHeader !== null && commonHeader !== void 0 && commonHeader.open_code_quality_analysis) || (0,authority/* isStudent */.dE)(), + component: /*#__PURE__*/(0,jsx_runtime.jsx)(QualityActivity, {}) }, { name: '代码查重', id: 4, - compontent: /*#__PURE__*/(0,jsx_runtime.jsx)(components_DuplicateChecking, {}, checkTime) + hidden: (0,authority/* isStudent */.dE)() || commonHeader.exercise_status === 1 || !commonHeader.exist_program, + component: /*#__PURE__*/(0,jsx_runtime.jsx)(components_DuplicateChecking, {}, checkTime) }, { name: '规则设置', id: 3, - compontent: /*#__PURE__*/(0,jsx_runtime.jsx)(ConfigWorks, {}) + hidden: !checkDomainAuthority || (0,authority/* isStudent */.dE)(), + component: /*#__PURE__*/(0,jsx_runtime.jsx)(ConfigWorks, {}) }, { name: '考试监控', id: 7, - compontent: /*#__PURE__*/(0,jsx_runtime.jsx)(ExamMonitoring, {}) + hidden: !(0,authority/* isAdminOrTeacher */.G5)() || !(commonHeader !== null && commonHeader !== void 0 && commonHeader.is_locked), + component: /*#__PURE__*/(0,jsx_runtime.jsx)(ExamMonitoring, {}) }, { name: '人脸审核', id: 5, - compontent: /*#__PURE__*/(0,jsx_runtime.jsx)(components_FaceReview, {}) + hidden: !commonHeader.identity_verify || (0,authority/* isStudent */.dE)(), + component: /*#__PURE__*/(0,jsx_runtime.jsx)(components_FaceReview, {}) }, { name: '摄像监控', id: 6, - compontent: /*#__PURE__*/(0,jsx_runtime.jsx)(components_CameraMonitoring, {}) + hidden: !commonHeader.open_phone_video_recording || (0,authority/* isStudent */.dE)(), + component: /*#__PURE__*/(0,jsx_runtime.jsx)(components_CameraMonitoring, {}) }].filter(function (item) { - if (commonHeader !== null && commonHeader !== void 0 && commonHeader.is_random) { - if (item.name === '统计结果') { - item.compontent = /*#__PURE__*/(0,jsx_runtime.jsx)(RandomStatisticsResult, {}); - } - if (item.name === '试卷预览') { - var _classroomList$Assist2; - item.compontent = (0,authority/* isAssistant */.Rm)() && !((_classroomList$Assist2 = classroomList.AssistantObject.exercise) !== null && _classroomList$Assist2 !== void 0 && _classroomList$Assist2.can_preview) ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - padding: "100px", - textAlign: "center", - fontSize: "18px", - height: "400px" - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-jinggao-3", - style: { - color: "#fcb041" - } - }), "\xA0 \u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"] - }) : /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewEdit["default"], {}); - } - } - return true; - }).filter(function (item) { - if ((0,authority/* isAssistant */.Rm)() && commonHeader !== null && commonHeader !== void 0 && commonHeader.assistant_auth || (0,authority/* isAdmin */.GJ)()) { - return true; - } - if (commonHeader !== null && commonHeader !== void 0 && commonHeader.show_statistic && (commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.exercise_status) === 3) { - return item.name !== '试卷预览'; - } - return item.name === '答题列表' || item.name === '规则设置'; - }).filter(function (item) { - if ((0,authority/* isStudent */.dE)() || commonHeader.exercise_status === 1 || !commonHeader.exist_program) { - return item.name !== '代码查重'; - } - return true; - }).filter(function (item) { - if (!commonHeader.identity_verify) { - return item.name !== '人脸审核'; - } - return true; - }).filter(function (item) { - if (!commonHeader.open_phone_video_recording) { - return item.name !== '摄像监控'; - } - return true; - }).filter(function (item) { - if ((0,util/* isKepuKehuan */._m)() && !(0,authority/* isCommonSuperAdminOrOperation */.ag)()) { - return item.name !== '试卷预览' && item.name !== '统计结果'; - } - return true; - }).filter(function (item) { - if (!checkDomainAuthority) { - return item.name !== '统计结果' && item.name !== '试卷预览' && item.name !== '规则设置'; - } - return true; - }).filter(function (item) { - if (!(commonHeader !== null && commonHeader !== void 0 && commonHeader.open_code_quality_analysis)) { - return item.name !== '质量检测'; - } - return true; - }).filter(function (item) { - if (!(0,authority/* isAdminOrTeacher */.G5)() || !(commonHeader !== null && commonHeader !== void 0 && commonHeader.is_locked)) { - return item.name !== '考试监控'; - } - return true; - }).filter(function (item) { - return !!item; + return !item.hidden; }); (commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.exercise_status) && (commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.exercise_status) === 1 && tabsArr.splice.apply(tabsArr, [0, 1].concat(toConsumableArray_default()(tabsArr.splice(1, 1, tabsArr[0])))); (0,react.useEffect)(function () { @@ -21669,9 +21800,6 @@ var ExerciseDetail = function ExerciseDetail(_ref) { (commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.exercise_status) && (commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.exercise_status) === 1 && setActiveTabs('2'); }, [commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.exercise_status]); - - // console.log(tabsArr.splice(0,1,...tabsArr.splice(1,1,tabsArr[0])), 'tabsArr') - var format = 'YYYY-MM-DD'; var endTime = moment_default()('2020-11-15', format); var modalText = function modalText() { @@ -21811,8 +21939,6 @@ var ExerciseDetail = function ExerciseDetail(_ref) { ld: '至少1个阻断漏洞', gf: '超过50%' }]; - - // console.log(activeTabs); if (!(0,authority/* isAdminOrStudent */.RV)()) return null; if (!(0,authority/* isAdminOrStudent */.RV)()) return ''; return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { @@ -21869,12 +21995,12 @@ var ExerciseDetail = function ExerciseDetail(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: "iconfont icon-daimachazhong font14 mr5" }), "\u4EE3\u7801\u67E5\u91CD"] - }), (0,authority/* isAdmin */.GJ)() && checkDomainAuthority && (commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe2 = commonHeader.user_permission) === null || _commonHeader$user_pe2 === void 0 ? void 0 : _commonHeader$user_pe2.user_commit_counts) > 0 && (commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.exercise_status) === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + }), (0,authority/* isAdmin */.GJ)() && checkDomainAuthority && (commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe = commonHeader.user_permission) === null || _commonHeader$user_pe === void 0 ? void 0 : _commonHeader$user_pe.user_commit_counts) > 0 && (commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.exercise_status) === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { onClick: function onClick(e) { - var _classroomList$Assist3, _classroomList$Assist4; + var _classroomList$Assist2, _classroomList$Assist3; {/* 判断是否可以打回重做 */} e.preventDefault(); - if ((0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist3 = classroomList.AssistantObject) !== null && _classroomList$Assist3 !== void 0 && (_classroomList$Assist4 = _classroomList$Assist3.exercise) !== null && _classroomList$Assist4 !== void 0 && _classroomList$Assist4.can_redo)) { + if ((0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist2 = classroomList.AssistantObject) !== null && _classroomList$Assist2 !== void 0 && (_classroomList$Assist3 = _classroomList$Assist2.exercise) !== null && _classroomList$Assist3 !== void 0 && _classroomList$Assist3.can_redo)) { message/* default.warn */.ZP.warn('您未获取此权限,需向管理员申请权限才能使用此功能'); return; } @@ -21895,17 +22021,17 @@ var ExerciseDetail = function ExerciseDetail(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: "iconfont icon-dahuizhongzuo3x font14 mr5" }), "\u6253\u56DE\u91CD\u505A"] - }), (0,authority/* isAdmin */.GJ)() && checkDomainAuthority && (commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe3 = commonHeader.user_permission) === null || _commonHeader$user_pe3 === void 0 ? void 0 : _commonHeader$user_pe3.exercise_unpublish_count) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(TipsButton/* default */.Z, { + }), (0,authority/* isAdmin */.GJ)() && checkDomainAuthority && (commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe2 = commonHeader.user_permission) === null || _commonHeader$user_pe2 === void 0 ? void 0 : _commonHeader$user_pe2.exercise_unpublish_count) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(TipsButton/* default */.Z, { tips: commonHeader === null || commonHeader === void 0 ? void 0 : commonHeader.open_appraise, style: { marginLeft: 10 }, children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { onClick: function onClick(e) { - var _classroomList$Assist5, _classroomList$Assist6; + var _classroomList$Assist4, _classroomList$Assist5; // 判断是否可以发布 e.preventDefault(); - if ((0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist5 = classroomList.AssistantObject) !== null && _classroomList$Assist5 !== void 0 && (_classroomList$Assist6 = _classroomList$Assist5.exercise) !== null && _classroomList$Assist6 !== void 0 && _classroomList$Assist6.can_publish)) { + if ((0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist4 = classroomList.AssistantObject) !== null && _classroomList$Assist4 !== void 0 && (_classroomList$Assist5 = _classroomList$Assist4.exercise) !== null && _classroomList$Assist5 !== void 0 && _classroomList$Assist5.can_publish)) { message/* default.warn */.ZP.warn('您未获取此权限,需向管理员申请权限才能使用此功能'); return; } @@ -21932,11 +22058,11 @@ var ExerciseDetail = function ExerciseDetail(_ref) { className: "iconfont icon-fabuzhiwei font14 mr5" }), "\u53D1\u5E03\u8003\u8BD5"] }) - }), (0,authority/* isAdmin */.GJ)() && checkDomainAuthority && (commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe4 = commonHeader.user_permission) === null || _commonHeader$user_pe4 === void 0 ? void 0 : _commonHeader$user_pe4.exercise_publish_count) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + }), (0,authority/* isAdmin */.GJ)() && checkDomainAuthority && (commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe3 = commonHeader.user_permission) === null || _commonHeader$user_pe3 === void 0 ? void 0 : _commonHeader$user_pe3.exercise_publish_count) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { onClick: function onClick(e) { - var _classroomList$Assist7, _classroomList$Assist8; + var _classroomList$Assist6, _classroomList$Assist7; e.preventDefault(); - if ((0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist7 = classroomList.AssistantObject) !== null && _classroomList$Assist7 !== void 0 && (_classroomList$Assist8 = _classroomList$Assist7.exercise) !== null && _classroomList$Assist8 !== void 0 && _classroomList$Assist8.can_stop)) { + if ((0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist6 = classroomList.AssistantObject) !== null && _classroomList$Assist6 !== void 0 && (_classroomList$Assist7 = _classroomList$Assist6.exercise) !== null && _classroomList$Assist7 !== void 0 && _classroomList$Assist7.can_stop)) { message/* default.warn */.ZP.warn('您未获取此权限,需向管理员申请权限才能使用此功能'); return; } @@ -21954,7 +22080,7 @@ var ExerciseDetail = function ExerciseDetail(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: "iconfont icon-lijijiezhi mr5 font14" }), "\u7ED3\u675F\u8003\u8BD5"] - }), (0,authority/* isStudent */.dE)() && (commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe5 = commonHeader.user_permission) === null || _commonHeader$user_pe5 === void 0 ? void 0 : _commonHeader$user_pe5.current_status) === 2 && commonHeader.exercise_status > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + }), (0,authority/* isStudent */.dE)() && (commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe4 = commonHeader.user_permission) === null || _commonHeader$user_pe4 === void 0 ? void 0 : _commonHeader$user_pe4.current_status) === 2 && commonHeader.exercise_status > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { danger: exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis = exerciseList.exercise_types) === null || _exerciseList$exercis === void 0 ? void 0 : _exerciseList$exercis.is_redo, onClick: function onClick() { return enterExam(); @@ -21962,7 +22088,7 @@ var ExerciseDetail = function ExerciseDetail(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: "iconfont icon-bianjizuoye mr5 font14" }), exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis2 = exerciseList.exercise_types) !== null && _exerciseList$exercis2 !== void 0 && _exerciseList$exercis2.is_redo ? '重新考试' : '开始考试'] - }), (0,authority/* isStudent */.dE)() && (commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe6 = commonHeader.user_permission) === null || _commonHeader$user_pe6 === void 0 ? void 0 : _commonHeader$user_pe6.current_status) === 0 && commonHeader.exercise_status > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + }), (0,authority/* isStudent */.dE)() && (commonHeader === null || commonHeader === void 0 ? void 0 : (_commonHeader$user_pe5 = commonHeader.user_permission) === null || _commonHeader$user_pe5 === void 0 ? void 0 : _commonHeader$user_pe5.current_status) === 0 && commonHeader.exercise_status > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { onClick: function onClick() { return enterExam(true); }, @@ -21987,9 +22113,9 @@ var ExerciseDetail = function ExerciseDetail(_ref) { }, children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { onClick: function onClick() { - var _classroomList$Assist9, _classroomList$Assist10; + var _classroomList$Assist8, _classroomList$Assist9; // 判断可否编辑试卷 - if ((0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist9 = classroomList.AssistantObject) !== null && _classroomList$Assist9 !== void 0 && (_classroomList$Assist10 = _classroomList$Assist9.exercise) !== null && _classroomList$Assist10 !== void 0 && _classroomList$Assist10.can_create)) { + if ((0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist8 = classroomList.AssistantObject) !== null && _classroomList$Assist8 !== void 0 && (_classroomList$Assist9 = _classroomList$Assist8.exercise) !== null && _classroomList$Assist9 !== void 0 && _classroomList$Assist9.can_create)) { message/* default.warn */.ZP.warn('您未获取此权限,需向管理员申请权限才能使用此功能'); return; } @@ -22034,7 +22160,7 @@ var ExerciseDetail = function ExerciseDetail(_ref) { className: commonHeader !== null && commonHeader !== void 0 && commonHeader.is_random && activeTabs === '2' ? '' : 'pl25 pr25 bg-white', children: (_tabsArr$filter = tabsArr.filter(function (item) { return item.id == activeTabs; - })) === null || _tabsArr$filter === void 0 ? void 0 : (_tabsArr$filter$ = _tabsArr$filter[0]) === null || _tabsArr$filter$ === void 0 ? void 0 : _tabsArr$filter$['compontent'] + })) === null || _tabsArr$filter === void 0 ? void 0 : (_tabsArr$filter$ = _tabsArr$filter[0]) === null || _tabsArr$filter$ === void 0 ? void 0 : _tabsArr$filter$['component'] })] })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(Publish/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_Checking, { @@ -23070,7 +23196,7 @@ var Head = function Head(_ref) { dataIndex: 'total_score', render: function render(text) { return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text + children: text === '0.0' ? 0 : text === null || text === void 0 ? void 0 : text.toFixed(1) }); } }]; diff --git a/p__Classrooms__Lists__Exercise__Detail__index.chunk.css b/p__Classrooms__Lists__Exercise__Detail__index.chunk.css index bf3b23833f..e6f832c159 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__Detail__index.chunk.css @@ -3401,11 +3401,12 @@ span.CodeMirror-selectedtext { } .publishRuleContent___HohmS { margin-bottom: 40px; + padding-right: 40px; } .publishRuleContent___HohmS .groupSelector___Zxqsw { margin-left: 10px; margin-right: 40px; - width: 237px; + width: 314px; } .publishRuleContent___HohmS .groupSelector___Zxqsw div[class~='ant-select-selector'] { min-height: 38px; @@ -3417,7 +3418,7 @@ span.CodeMirror-selectedtext { .publishRuleContent___HohmS .addAndDelete___saTVM { text-align: right; font-size: 20px; - margin-left: 48px; + margin-left: 32px; } .publishRuleContent___HohmS .addAndDelete___saTVM .deleteIcon___vnkck { color: #E30000; @@ -3439,6 +3440,36 @@ span.CodeMirror-selectedtext { box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); border-radius: 2px; } +.remindForm___K6X21 { + padding: 20px 0 20px 20px; + background: #F8F9FA; + margin-bottom: 40px; +} +.remindForm___K6X21 .remindItem___Z7rRb { + padding-right: 40px; + margin-bottom: 16px; + color: #4C4C4C; + font-size: 14px; +} +.remindForm___K6X21 .remindItem___Z7rRb .remindInput___r_wq3 { + display: flex; + align-items: center; + font-size: 14px; +} +.remindForm___K6X21 .remindItem___Z7rRb .remindInput___r_wq3 input[class~='ant-input-number-input'] { + height: 38px; +} +.remindForm___K6X21 .remindItem___Z7rRb .remindInput___r_wq3 input[class~='ant-input'] { + height: 30px; +} +.remindForm___K6X21 .addRemind___jbnIp { + cursor: pointer; + color: #165DFF; +} +.remindForm___K6X21 .addRemind___jbnIp.disabled___ebijK { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ diff --git a/p__Classrooms__Lists__Exercise__DetailedAnalysis__index.async.js b/p__Classrooms__Lists__Exercise__DetailedAnalysis__index.async.js index 02a2037213..d9a461ab1d 100644 --- a/p__Classrooms__Lists__Exercise__DetailedAnalysis__index.async.js +++ b/p__Classrooms__Lists__Exercise__DetailedAnalysis__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[95125,36740],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[95125,36740,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -2030,6 +2030,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__Export__index.async.js b/p__Classrooms__Lists__Exercise__Export__index.async.js index 82af648349..ceb34b7c27 100644 --- a/p__Classrooms__Lists__Exercise__Export__index.async.js +++ b/p__Classrooms__Lists__Exercise__Export__index.async.js @@ -1393,7 +1393,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -2691,7 +2691,7 @@ var Head = function Head(_ref) { dataIndex: 'total_score', render: function render(text) { return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text + children: text === '0.0' ? 0 : text === null || text === void 0 ? void 0 : text.toFixed(1) }); } }]; diff --git a/p__Classrooms__Lists__Exercise__ImitateAnswer__index.async.js b/p__Classrooms__Lists__Exercise__ImitateAnswer__index.async.js index a56776d18f..3cbb661a9d 100644 --- a/p__Classrooms__Lists__Exercise__ImitateAnswer__index.async.js +++ b/p__Classrooms__Lists__Exercise__ImitateAnswer__index.async.js @@ -1,47 +1,5 @@ (self["webpackChunk"] = self["webpackChunk"] || []).push([[14889],{ -/***/ 82826: -/*!**********************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + 1 modules ***! - \**********************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_ArrowLeftOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.js -// This icon file is generated automatically. -var ArrowLeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, "name": "arrow-left", "theme": "outlined" }; -/* harmony default export */ var asn_ArrowLeftOutlined = (ArrowLeftOutlined); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules -var AntdIcon = __webpack_require__(7918); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var ArrowLeftOutlined_ArrowLeftOutlined = function ArrowLeftOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - ref: ref, - icon: asn_ArrowLeftOutlined - })); -}; -ArrowLeftOutlined_ArrowLeftOutlined.displayName = 'ArrowLeftOutlined'; -/* harmony default export */ var icons_ArrowLeftOutlined = (/*#__PURE__*/react.forwardRef(ArrowLeftOutlined_ArrowLeftOutlined)); - -/***/ }), - /***/ 68658: /*!************************************************************************!*\ !*** ./node_modules/@ant-design/icons/es/icons/MinusSquareOutlined.js ***! @@ -98,771 +56,6 @@ PlusSquareOutlined.displayName = 'PlusSquareOutlined'; /***/ }), -/***/ 92523: -/*!***********************************************************!*\ - !*** ./src/components/CaptureVideo/index.tsx + 1 modules ***! - \***********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ components_CaptureVideo; } -}); - -// UNUSED EXPORTS: CaptureVideo - -// 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/antd/es/message/style/index.js + 1 modules -var style = __webpack_require__(14934); -// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules -var message = __webpack_require__(12461); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/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); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); -// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules -var v4 = __webpack_require__(25934); -// EXTERNAL MODULE: ./src/components/UploadFile/index.tsx -var UploadFile = __webpack_require__(82394); -// EXTERNAL MODULE: ./node_modules/ali-oss/dist/aliyun-oss-sdk.js -var aliyun_oss_sdk = __webpack_require__(56448); -var aliyun_oss_sdk_default = /*#__PURE__*/__webpack_require__.n(aliyun_oss_sdk); -;// CONCATENATED MODULE: ./src/components/CaptureVideo/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var CaptureVideomodules = ({"flex_box_center":"flex_box_center___kVqBh","flex_space_between":"flex_space_between___FMnNq","flex_box_vertical_center":"flex_box_vertical_center___meESe","flex_box_center_end":"flex_box_center_end___KFpOb","flex_box_column":"flex_box_column___GHIK9","video":"video___nn_cD"}); -// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js -var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/CaptureVideo/index.tsx - - - - - - - - - - - - - - - -/** -* base64 to file -* @param dataurl base64 content -* @param filename set up a meaningful suffix, or you can set mime type in options -* @returns {File|*} -*/ -var dataURLtoFile = function dataURLtoFile(dataurl, filename) { - var arr = dataurl.split(','); - var mime = arr[0].match(/:(.*?);/)[1]; - var bstr = atob(arr[1]); - var n = bstr.length; - var u8arr = new Uint8Array(n); - while (n--) { - u8arr[n] = bstr.charCodeAt(n); - } - return new Blob([u8arr], { - type: mime - }); // if env support File, also can use this: return new File([u8arr], filename, { type: mime }); -}; - -var CaptureVideo = /*#__PURE__*/(0,react.forwardRef)(function (_ref, ref) { - var time = _ref.time, - number = _ref.number, - supportCamera = _ref.supportCamera, - take_photo = _ref.take_photo, - update = _ref.update; - var video = (0,react.useRef)(); - var canvas = (0,react.useRef)(); - var params = (0,_umi_production_exports.useParams)(); - var _useState = (0,react.useState)([]), - _useState2 = slicedToArray_default()(_useState, 2), - phoneStep = _useState2[0], - setPhoneStep = _useState2[1]; - var _useState3 = (0,react.useState)(0), - _useState4 = slicedToArray_default()(_useState3, 2), - status = _useState4[0], - setStatus = _useState4[1]; // 0准备中,1开启失败,2开启成功,3考试结束 - var _useState5 = (0,react.useState)(''), - _useState6 = slicedToArray_default()(_useState5, 2), - src = _useState6[0], - setSrc = _useState6[1]; - var _useState7 = (0,react.useState)(), - _useState8 = slicedToArray_default()(_useState7, 2), - interval = _useState8[0], - setInter = _useState8[1]; - var _useState9 = (0,react.useState)(0), - _useState10 = slicedToArray_default()(_useState9, 2), - isPause = _useState10[0], - setIsPause = _useState10[1]; //0未开始,1开始计时,2停止计时 - (0,react.useEffect)(function () { - checkMediaDevices(); - return function () { - handleStop(); - clearTimer(); - }; - }, []); - (0,react.useEffect)(function () { - // clearTimer() - if (status === 2 && time && number > 0) { - calcPhoto(); - setIsPause(1); - // photograph(); - } - }, [time]); - (0,react.useEffect)(function () { - if (isPause === 0) return; - if (isPause === 2) { - clearInterval(interval); - } else { - var n = 0; - var id = setInterval(function () { - if (phoneStep.includes(n)) { - handlePhoto(); - } - n++; - }, 1000); - setInter(id); - } - return function () { - return clearInterval(interval); - }; - }, [isPause]); - (0,react.useImperativeHandle)(ref, function () { - return { - handlePhoto: handlePhoto - }; - }); - var clearTimer = function clearTimer() { - setIsPause(2); - }; - var calcPhoto = function calcPhoto() { - var step = time / number; - var arr = []; - function getRndInteger(min, max) { - return parseInt(Math.floor(Math.random() * (max - min + 1)) + min); - } - new Array(number).fill(0).map(function (item, key) { - if (take_photo) { - arr.push(getRndInteger(step * key, step * (key + 1))); - } else { - if (key == 0) { - arr.push(0); - } else { - arr.push(getRndInteger(step * key, step * (key + 1))); - } - } - }); - phoneStep = arr; - setPhoneStep([].concat(arr)); - console.log(arr); - }; - var checkMediaDevices = function checkMediaDevices() { - if (navigator.mediaDevices === undefined) { - navigator.mediaDevices = {}; - } - if (navigator.mediaDevices.getUserMedia === undefined) { - navigator.mediaDevices.getUserMedia = function (constraints) { - var getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia; - if (!getUserMedia) { - return Promise.reject(new Error('getUserMedia is not implemented in this browser')); - } - return new Promise(function (resolve, reject) { - getUserMedia.call(navigator, constraints, resolve, reject); - }); - }; - } - navigator.mediaDevices.getUserMedia({ - video: { - width: 640, - height: 480 - } - }).then(function (stream) { - supportCamera && supportCamera(2); - setStatus(2); - if ("srcObject" in video.current) { - video.current.srcObject = stream; - } else { - video.current.src = window.URL.createObjectURL(stream); - } - video.current.onloadedmetadata = function (e) { - video.current.play(); - }; - video.current.addEventListener('ended', function () { - //结束 - console.log("播放结束"); - clearTimer(); - message/* default.error */.ZP.error({ - content: "您已经关闭了摄像头,请在10秒钟内恢复摄像头,否则将推出考试", - duration: 10, - key: 9998 - }); - }, false); - })["catch"](function (err) { - setStatus(1); - supportCamera && supportCamera(1); - // 错误信息,以及用户未授权 - if (err.message === "Permission denied" || err.name === 'NotAllowedError') { - message/* default.error */.ZP.error('您已拒绝了获取摄像头'); - } else { - message/* default.error */.ZP.error('摄像头获取失败,或您已拒绝了获取摄像头'); - } - console.log("errname: " + err.name); - console.log("err: " + err.message); - }); - }; - var handlePhoto = function handlePhoto() { - try { - canvas.current.width = video.current.videoWidth; - canvas.current.height = video.current.videoHeight; - var context = canvas.current.getContext('2d'); - context.drawImage(video.current, 0, 0, canvas.current.width, canvas.current.height); - setSrc(canvas.current.toDataURL('image/png')); - uploadFile(canvas.current.toDataURL('image/png')); - } catch (e) {} - }; - var handleStop = function handleStop() { - try { - var stream = video.current.srcObject; - var tracks = stream.getTracks(); - tracks.forEach(function (track) { - track.stop(); - }); - video.current.srcObject = null; - } catch (e) {} - }; - var uploadFile = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(file) { - var _res$data, _res$data2, _res$data3, _res$data4, _res$data5, _res$data6, _res$data7; - var res, name, client, imgfile; - 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/buckets/get_upload_token.json', { - method: "get" - }); - case 2: - res = _context.sent; - res.data = JSON.parse((0,UploadFile/* decrypt */.pe)(res.data)); - name = (0,v4/* default */.Z)(); - client = new (aliyun_oss_sdk_default())({ - endpoint: res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.end_point, - region: res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.region, - accessKeyId: res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.access_key_id, - accessKeySecret: res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.access_key_secret, - bucket: res === null || res === void 0 ? void 0 : (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.bucket, - stsToken: res === null || res === void 0 ? void 0 : (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.security_token - }); - imgfile = dataURLtoFile(file, name); - client.multipartUpload("".concat(name, ".png"), imgfile, { - timeout: 10 * 1000, - partSize: 10485760, - callback: { - url: res === null || res === void 0 ? void 0 : (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.callback_url, - host: res === null || res === void 0 ? void 0 : res.data.bucket_host, - body: 'bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&login=' + params.login + '&container_id=' + params.categoryId + '&container_type=Exercise' - } - }).then(function (result) { - console.log("result:", result); - })["catch"](function (err) { - console.log("err:", err); - }); - case 8: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function uploadFile(_x) { - return _ref2.apply(this, arguments); - }; - }(); - return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: status !== 3 && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: CaptureVideomodules.video, - id: "screenshot", - children: [status === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..." - }), status === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25" - }), status === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("video", { - width: "288", - ref: video, - autoPlay: true - }), /*#__PURE__*/(0,jsx_runtime.jsx)("canvas", { - style: { - display: "none" - }, - ref: canvas - })] - })] - }) - }); -}); -/* harmony default export */ var components_CaptureVideo = (CaptureVideo); - -/***/ }), - -/***/ 82394: -/*!*********************************************!*\ - !*** ./src/components/UploadFile/index.tsx ***! - \*********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "cT": function() { return /* binding */ uploadFile; }, -/* harmony export */ "pe": function() { return /* binding */ decrypt; } -/* harmony export */ }); -/* unused harmony exports reNameFile, UploadFile */ -/* harmony import */ var antd_es_message_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/message/style */ 14934); -/* harmony import */ var antd_es_message__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd/es/message */ 12461); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/toConsumableArray.js */ 861); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js */ 70215); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_5__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__); -/* harmony import */ var antd_es_upload_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd/es/upload/style */ 13759); -/* harmony import */ var antd_es_upload__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd/es/upload */ 7426); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/utils/fetch */ 84519); -/* harmony import */ var crypto_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! crypto-js */ 81354); -/* harmony import */ var crypto_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_10__); -/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! uuid */ 25934); -/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! umi */ 89214); -/* harmony import */ var ali_oss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ali-oss */ 56448); -/* harmony import */ var ali_oss__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(ali_oss__WEBPACK_IMPORTED_MODULE_13__); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ 85893); - - - - - - - - - - -var _excluded = ["user", "cancelUpload"]; - - - - - -var Dragger = antd_es_upload__WEBPACK_IMPORTED_MODULE_12__/* ["default"].Dragger */ .Z.Dragger; - - -var decrypt = function decrypt(word) { - var ENC_KEY = "bf3c199c2470cb477d907b1e0917c17b"; - var IV = "5183666c72eec9e4"; - var key = crypto_js__WEBPACK_IMPORTED_MODULE_10___default().enc.Utf8.parse(ENC_KEY); - var iv = crypto_js__WEBPACK_IMPORTED_MODULE_10___default().enc.Utf8.parse(IV); - var decrypt = crypto_js__WEBPACK_IMPORTED_MODULE_10___default().AES.decrypt(word, key, { - iv: iv, - mode: (crypto_js__WEBPACK_IMPORTED_MODULE_10___default().mode.CBC) - // padding: CryptoJS.pad.ZeroPadding - }); - - return decrypt.toString((crypto_js__WEBPACK_IMPORTED_MODULE_10___default().enc.Utf8)); -}; -var tempCheckpoint; -// 重命名 -var reNameFile = /*#__PURE__*/(/* unused pure expression or super */ null && (function () { - var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) { - var _res$data, _res$data2, _res$data3, _res$data4, _res$data5, _res$data6; - var identifier, oldFilename, newFilename, res, client; - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - identifier = _ref.identifier, oldFilename = _ref.oldFilename, newFilename = _ref.newFilename; - _context.next = 3; - return Fetch('/api/buckets/get_upload_token_for_big_files.json', { - method: "get" - }); - case 3: - res = _context.sent; - res.data = JSON.parse(decrypt(res.data)); - client = new OSS({ - endpoint: res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.end_point, - region: res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.region, - accessKeyId: res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.access_key_id, - accessKeySecret: res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.access_key_secret, - bucket: res === null || res === void 0 ? void 0 : (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.bucket, - stsToken: res === null || res === void 0 ? void 0 : (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.security_token - }); - return _context.abrupt("return", new Promise(function (resolve, reject) { - console.log(11111, "".concat(identifier, "/").concat(oldFilename), "".concat(identifier, "/").concat(newFilename), res.data); - client.copy("/".concat(identifier, "/").concat(oldFilename), "/".concat(identifier, "/").concat(newFilename)).then(function (r) { - console.log('拷贝成功', r); - // client - // .delete(`${identifier}/${oldFilename}`) - // .then(r => console.log(r)) - // .catch(e => console.log(e)); - })["catch"](function (e) { - console.log(e); - debugger; - }); - })); - case 7: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function reNameFile(_x) { - return _ref2.apply(this, arguments); - }; -}())); -var uploadFile = /*#__PURE__*/function () { - var _ref3 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_5___default()().mark(function _callee2(file, obj, config) { - var _res$data7, _res$data8, _res$data9, _res$data10, _res$data11, _res$data12; - var res, namearrs, name, client; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_5___default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - obj.file_name = file.name; - _context2.next = 3; - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP)('/api/buckets/get_upload_token.json', { - method: "get" - }); - case 3: - res = _context2.sent; - console.log("decrypt(res.data):", decrypt(res.data)); - res.data = JSON.parse(decrypt(res.data)); - namearrs = file.name.split("."); - namearrs.pop(); - name = obj.realFileName ? namearrs.join("") : (0,uuid__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)(); // const name = file.name - client = new (ali_oss__WEBPACK_IMPORTED_MODULE_13___default())({ - endpoint: res === null || res === void 0 ? void 0 : (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.end_point, - region: res === null || res === void 0 ? void 0 : (_res$data8 = res.data) === null || _res$data8 === void 0 ? void 0 : _res$data8.region, - accessKeyId: res === null || res === void 0 ? void 0 : (_res$data9 = res.data) === null || _res$data9 === void 0 ? void 0 : _res$data9.access_key_id, - accessKeySecret: res === null || res === void 0 ? void 0 : (_res$data10 = res.data) === null || _res$data10 === void 0 ? void 0 : _res$data10.access_key_secret, - bucket: res === null || res === void 0 ? void 0 : (_res$data11 = res.data) === null || _res$data11 === void 0 ? void 0 : _res$data11.bucket, - stsToken: res === null || res === void 0 ? void 0 : (_res$data12 = res.data) === null || _res$data12 === void 0 ? void 0 : _res$data12.security_token - }); - return _context2.abrupt("return", new Promise(function (resolve, reject) { - var _res$data13; - client.multipartUpload("".concat(name), new Blob([file], { - type: file.type - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4___default()({ - timeout: 200 * 1000, - partSize: 102400 - }, config), {}, { - callback: { - url: res === null || res === void 0 ? void 0 : (_res$data13 = res.data) === null || _res$data13 === void 0 ? void 0 : _res$data13.callback_url, - host: res === null || res === void 0 ? void 0 : res.data.bucket_host, - body: 'bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&' + (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_9__/* .parseParams */ .rz)(obj) - // body: 'bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&login=' + obj.login + '&container_id=' + obj.container_id + '&container_type='+obj.container_type, - } - })).then(function (result) { - var _result$data; - file.response = (_result$data = result.data) === null || _result$data === void 0 ? void 0 : _result$data.data; - resolve(result === null || result === void 0 ? void 0 : result.data); - })["catch"](function (err) { - reject(err); - console.log("err:", err); - }); - })); - case 11: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function uploadFile(_x2, _x3, _x4) { - return _ref3.apply(this, arguments); - }; -}(); -var UploadFile = function UploadFile(_ref4) { - var user = _ref4.user, - cancelUpload = _ref4.cancelUpload, - props = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3___default()(_ref4, _excluded); - var _useState = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)([]), - _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2), - fileList = _useState2[0], - setFileList = _useState2[1]; - var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(), - _useState4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2___default()(_useState3, 2), - client = _useState4[0], - setClient = _useState4[1]; - var _props = { - onRemove: function onRemove(e) { - setFileList(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(fileList.filter(function (item) { - return item.name !== e.name; - }))); - props.onChange(fileList.filter(function (item) { - return item.name !== e.name; - })); - }, - disabled: props.disabled, - multiple: true, - fileList: fileList === null || fileList === void 0 ? void 0 : fileList.map(function (item) { - return item.file; - }), - customRequest: function customRequest() {}, - beforeUpload: function () { - var _beforeUpload = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_5___default()().mark(function _callee3(file) { - var fileSize; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_5___default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - fileSize = props.maxSize || 1024 * 1024 * 1024 * 1; - if (!fileList.filter(function (item) { - return item.name === file.name; - }).length) { - _context3.next = 4; - break; - } - antd_es_message__WEBPACK_IMPORTED_MODULE_16__/* ["default"].info */ .ZP.info("".concat(file.name, "\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9")); - return _context3.abrupt("return"); - case 4: - if (!((file === null || file === void 0 ? void 0 : file.size) > fileSize)) { - _context3.next = 7; - break; - } - antd_es_message__WEBPACK_IMPORTED_MODULE_16__/* ["default"].info */ .ZP.info("\u6587\u4EF6\u8D85\u8FC7".concat(fileSize / 1024 / 1024 / 1024, "GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42")); - return _context3.abrupt("return", false); - case 7: - fileList.push({ - name: file.name, - file: file - }); - setFileList(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(fileList)); - props.onChange(fileList); - return _context3.abrupt("return", false); - case 11: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - function beforeUpload(_x5) { - return _beforeUpload.apply(this, arguments); - } - return beforeUpload; - }() - }; - var _uploadFiles = /*#__PURE__*/function () { - var _ref5 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_5___default()().mark(function _callee4(file, obj) { - var _res$data14, _res$data15, _res$data16, _res$data17, _res$data18, _res$data19; - var name, res, namearrs, filename; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_5___default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - obj.file_name = file.name; - name = file.name; - _context4.next = 4; - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP)('/api/buckets/get_upload_token_for_big_files.json', { - method: "get" - }); - case 4: - res = _context4.sent; - res.data = JSON.parse(decrypt(res.data)); - if (!((res === null || res === void 0 ? void 0 : res.status) !== 0)) { - _context4.next = 12; - break; - } - fileList[fileList.findIndex(function (item) { - return item.name === name; - })]['status'] = 'error'; - fileList[fileList.findIndex(function (item) { - return item.name === name; - })]['file']['status'] = 'error'; - props.onChange(fileList); - antd_es_message__WEBPACK_IMPORTED_MODULE_16__/* ["default"].warn */ .ZP.warn("上传失败,请重新尝试"); - return _context4.abrupt("return"); - case 12: - client = new (ali_oss__WEBPACK_IMPORTED_MODULE_13___default())({ - endpoint: res === null || res === void 0 ? void 0 : (_res$data14 = res.data) === null || _res$data14 === void 0 ? void 0 : _res$data14.end_point, - region: res === null || res === void 0 ? void 0 : (_res$data15 = res.data) === null || _res$data15 === void 0 ? void 0 : _res$data15.region, - accessKeyId: res === null || res === void 0 ? void 0 : (_res$data16 = res.data) === null || _res$data16 === void 0 ? void 0 : _res$data16.access_key_id, - accessKeySecret: res === null || res === void 0 ? void 0 : (_res$data17 = res.data) === null || _res$data17 === void 0 ? void 0 : _res$data17.access_key_secret, - bucket: res === null || res === void 0 ? void 0 : (_res$data18 = res.data) === null || _res$data18 === void 0 ? void 0 : _res$data18.bucket, - stsToken: res === null || res === void 0 ? void 0 : (_res$data19 = res.data) === null || _res$data19 === void 0 ? void 0 : _res$data19.security_token - }); - console.log(file, 'file'); - setClient(client); - // const filename = uuidv4() - namearrs = file.name.split("."); - namearrs.pop(); - filename = obj.realFileName ? namearrs.join(".") : (0,uuid__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)(); - return _context4.abrupt("return", new Promise(function (resolve, reject) { - try { - var _res$data20; - client.multipartUpload("".concat(props.identifier, "/").concat(filename).concat(name.indexOf(".") > -1 ? '.' + name.split(".").pop() : ""), new Blob([file.file], { - type: file.file.type - }), { - timeout: 3600 * 1000, - partSize: 1002400, - progress: function progress(p, checkpoint, res) { - try { - console.log("进度", p, checkpoint, res); - var index = fileList.findIndex(function (item) { - return item.name === name; - }); - fileList[index]['file']['percent'] = p * 100; - // if (p === 1) { - // fileList[index]['status'] = 'done' - // fileList[index]['file']['status'] = 'done' - // props.onChange(fileList) - // } - fileList[index].tempCheckpoint = checkpoint; - setFileList(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(fileList)); - } catch (e) {} - }, - checkpoint: fileList[fileList.findIndex(function (item) { - return item.name === name; - })].tempCheckpoint, - callback: { - customValue: { - id: name + '' - }, - url: res === null || res === void 0 ? void 0 : (_res$data20 = res.data) === null || _res$data20 === void 0 ? void 0 : _res$data20.callback_url, - host: res === null || res === void 0 ? void 0 : res.data.bucket_host, - body: 'bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&' + (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_9__/* .parseParams */ .rz)(obj) - } - }).then(function (result) { - var _result$data2; - var index = fileList.findIndex(function (item) { - return item.name === name; - }); - var status = 'done'; - if (((_result$data2 = result.data) === null || _result$data2 === void 0 ? void 0 : _result$data2.status) === 0) { - var _result$data3; - file.response = (_result$data3 = result.data) === null || _result$data3 === void 0 ? void 0 : _result$data3.data; - var _index = fileList.findIndex(function (item) { - return item.name === name; - }); - fileList[_index]['status'] = 'done'; - fileList[_index]['file']['status'] = 'done'; - } else { - var _result$data4; - antd_es_message__WEBPACK_IMPORTED_MODULE_16__/* ["default"].warn */ .ZP.warn((_result$data4 = result.data) === null || _result$data4 === void 0 ? void 0 : _result$data4.message); - status = 'error'; - } - fileList[index]['status'] = status; - fileList[index]['file']['status'] = status; - props.onChange(fileList); - resolve(result === null || result === void 0 ? void 0 : result.data); - })["catch"](function (err) { - fileList[fileList.findIndex(function (item) { - return item.name === name; - })]['status'] = 'error'; - fileList[fileList.findIndex(function (item) { - return item.name === name; - })]['file']['status'] = 'error'; - antd_es_message__WEBPACK_IMPORTED_MODULE_16__/* ["default"].warn */ .ZP.warn("上传失败,请重新尝试"); - setFileList(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(fileList)); - props.onChange(fileList); - reject(err); - console.log("err:", err); - }); - } catch (e) { - debugger; - } - })); - case 19: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return function _uploadFiles(_x6, _x7) { - return _ref5.apply(this, arguments); - }; - }(); - (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () { - if (fileList.every(function (item) { - return item === 'done' || item === 'error'; - })) { - props.onComplete(fileList); - } - }, [fileList]); - (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () { - if (cancelUpload) { - var _client; - (_client = client) === null || _client === void 0 ? void 0 : _client.cancel(); - } - }, [cancelUpload]); - (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () { - if (props.uploading) fileList.map( /*#__PURE__*/function () { - var _ref6 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_5___default()().mark(function _callee5(item) { - var _user$userInfo, res; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_5___default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - if (!((!item.status || item.status === 'error') && !cancelUpload)) { - _context5.next = 6; - break; - } - item.status = 'uploading'; - item.file.status = 'uploading'; - _context5.next = 5; - return _uploadFiles(item, { - login: user === null || user === void 0 ? void 0 : (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login, - container_type: props.container_type, - container_id: props.container_id, - description: props.description, - realFileName: props.realFileName - }); - case 5: - res = _context5.sent; - case 6: - case "end": - return _context5.stop(); - } - }, _callee5); - })); - return function (_x8) { - return _ref6.apply(this, arguments); - }; - }()); - }, [props.uploading]); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Dragger, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4___default()({}, _props), {}, { - height: props.height, - className: props.className, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("p", { - className: "ant-upload-hint", - children: props.text || '拖拽文件或者点击上传' - }) - })); -}; -/* harmony default export */ __webpack_exports__["ZP"] = ((0,umi__WEBPACK_IMPORTED_MODULE_11__.connect)(function (_ref7) { - var loading = _ref7.loading, - globalSetting = _ref7.globalSetting, - user = _ref7.user; - return { - globalSetting: globalSetting, - loading: loading.models.competitions, - user: user - }; -})(UploadFile)); - -/***/ }), - /***/ 87746: /*!*********************************************************************************!*\ !*** ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.tsx + 7 modules ***! @@ -882,10 +75,6 @@ __webpack_require__.d(__webpack_exports__, { var style = __webpack_require__(22536); // EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js var spin = __webpack_require__(11382); -// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules -var breadcrumb_style = __webpack_require__(63102); -// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/index.js + 3 modules -var breadcrumb = __webpack_require__(58492); // EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules var button_style = __webpack_require__(29913); // EXTERNAL MODULE: ./node_modules/antd/es/button/index.js @@ -934,9 +123,6 @@ var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerat // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js var slicedToArray = __webpack_require__(27424); var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(70215); -var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); // EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js + 1 modules var input_style = __webpack_require__(69463); // EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules @@ -953,10 +139,6 @@ var _umi_production_exports = __webpack_require__(89214); var MinusSquareOutlined = __webpack_require__(68658); // EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js var PlusSquareOutlined = __webpack_require__(30723); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + 1 modules -var ArrowLeftOutlined = __webpack_require__(82826); -// EXTERNAL MODULE: ./src/components/CaptureVideo/index.tsx + 1 modules -var CaptureVideo = __webpack_require__(92523); // EXTERNAL MODULE: ./src/components/Exercise/recordScreen.tsx + 3 modules var recordScreen = __webpack_require__(78806); // EXTERNAL MODULE: ./node_modules/moment/moment.js @@ -964,11 +146,9 @@ var moment = __webpack_require__(30381); var moment_default = /*#__PURE__*/__webpack_require__.n(moment); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var ImitateAnswermodules = ({"flex_box_center":"flex_box_center___MzHUI","flex_space_between":"flex_space_between___ZPKmx","flex_box_vertical_center":"flex_box_vertical_center___MNo4n","flex_box_center_end":"flex_box_center_end___stoyX","flex_box_column":"flex_box_column___HR6oq","bg":"bg___MN8xj","title":"title___h5yRx","questionIcons":"questionIcons___kiVRR","green":"green___PIOSW","orange":"orange___aGI_B","greenTip":"greenTip___bShpb","redTip":"redTip___wCm4Z","orangeTip":"orangeTip___HRBLJ","pollDesc":"pollDesc___SxQ7V","answered":"answered___e5zk4","unanswer":"unanswer___dEmC8","anchor":"anchor___xdS4e","answerFlag":"answerFlag____R2kw","flagActive":"flagActive___hkk6X","flagHalf":"flagHalf___ZgZyz","answerStudentFlag":"answerStudentFlag___RlIwt","answerStudentActive":"answerStudentActive___pQpEA","questionItem":"questionItem___Yg7y3","itemType":"itemType___zMAIQ","itemFlag":"itemFlag___KI4Jb","answerWrap":"answerWrap___CETMI","answerSubjective":"answerSubjective____A1OC","otherInput":"otherInput___hanjt","submitButton":"submitButton___ATddm","randomFlag":"randomFlag___mId_V","answerTrue":"answerTrue___QzQ9o","answerFalse":"answerFalse____K4Me","answerHalf":"answerHalf___gnzWI","renderHtml":"renderHtml___dDhM4","simpleText":"simpleText___kJ0Kc","answerYes":"answerYes___btoYt","answerNo":"answerNo___aNG_f","answerInfo":"answerInfo___af0Ma","answerSheet":"answerSheet___ojXFi","active":"active___KmAlt","countDown":"countDown___W4ClT","red":"red___RSej4","fold":"fold___pujAY","cardList":"cardList___Bd4OZ","iframe":"iframe___kQjBw"}); +/* harmony default export */ var ImitateAnswermodules = ({"flex_box_center":"flex_box_center___MzHUI","flex_space_between":"flex_space_between___ZPKmx","flex_box_vertical_center":"flex_box_vertical_center___MNo4n","flex_box_center_end":"flex_box_center_end___stoyX","flex_box_column":"flex_box_column___HR6oq","baseMargin":"baseMargin___V_l7f","noWrap":"noWrap___ZcvYB","singleItem":"singleItem___vjYWR","questionIcons":"questionIcons___kiVRR","green":"green___PIOSW","orange":"orange___aGI_B","greenTip":"greenTip___bShpb","redTip":"redTip___wCm4Z","orangeTip":"orangeTip___HRBLJ","pollDesc":"pollDesc___SxQ7V","answered":"answered___e5zk4","unanswer":"unanswer___dEmC8","anchor":"anchor___xdS4e","answerFlag":"answerFlag____R2kw","flagActive":"flagActive___hkk6X","flagHalf":"flagHalf___ZgZyz","answerStudentFlag":"answerStudentFlag___RlIwt","answerStudentActive":"answerStudentActive___pQpEA","questionItem":"questionItem___Yg7y3","questionScore":"questionScore___hGLaV","itemFlag":"itemFlag___KI4Jb","answerWrap":"answerWrap___CETMI","answerSubjective":"answerSubjective____A1OC","otherInput":"otherInput___hanjt","randomFlag":"randomFlag___mId_V","answerTrue":"answerTrue___QzQ9o","answerFalse":"answerFalse____K4Me","answerHalf":"answerHalf___gnzWI","renderHtml":"renderHtml___dDhM4","simpleText":"simpleText___kJ0Kc","answerYes":"answerYes___btoYt","answerNo":"answerNo___aNG_f","answerInfo":"answerInfo___af0Ma","answerProgress":"answerProgress___h6he7","answerSheet":"answerSheet___ojXFi","qindex":"qindex___Fx51y","active":"active___KmAlt","partialActive":"partialActive___UsoA4","answerSheetBottom":"answerSheetBottom___Lh0Ny","countDown":"countDown___W4ClT","red":"red___RSej4","fold":"fold___pujAY","cardList":"cardList___Bd4OZ","iframe":"iframe___kQjBw","mainPart":"mainPart___aRRl1","tooltipWrap":"tooltipWrap___FJod3","leftPart":"leftPart___f5dDH","rightPart":"rightPart___M7fOP","questionPart":"questionPart___HlX7z","questionTypeTitle":"questionTypeTitle___RRn2_","questionTypeInfo":"questionTypeInfo___a3Iny","toIframeBtn":"toIframeBtn___PH9eF","bottom":"bottom___slps3","changeButton":"changeButton___YjNWr","fixHeader":"fixHeader___Jjypd","title":"title___h5yRx","submitButton":"submitButton___ATddm"}); // EXTERNAL MODULE: ./src/utils/util.tsx var util = __webpack_require__(29427); -// EXTERNAL MODULE: ./src/components/Exercise/ip.tsx -var Exercise_ip = __webpack_require__(79443); // EXTERNAL MODULE: ./src/utils/authority.ts var authority = __webpack_require__(7); // EXTERNAL MODULE: ./src/utils/fullscreen.ts @@ -1028,7 +208,7 @@ var Simple = function Simple(_ref) { }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: item.user_score && (item.user_score === item.question_score ? "c-green" : "c-red"), children: showEditor ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { - height: 150, + height: 450, isFocus: true, defaultValue: item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2[0], id: item === null || item === void 0 ? void 0 : item.question_id, @@ -1085,7 +265,7 @@ var es_anchor = __webpack_require__(37802); var monaco_editor = __webpack_require__(8691); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/components/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var componentsmodules = ({"flex_box_center":"flex_box_center___NzoJU","flex_space_between":"flex_space_between___Hwix8","flex_box_vertical_center":"flex_box_vertical_center___IjC7Y","flex_box_center_end":"flex_box_center_end___HmCsd","flex_box_column":"flex_box_column___hOf25","shixunWrp":"shixunWrp___yZiPI"}); +/* harmony default export */ var componentsmodules = ({"flex_box_center":"flex_box_center___NzoJU","flex_space_between":"flex_space_between___Hwix8","flex_box_vertical_center":"flex_box_vertical_center___IjC7Y","flex_box_center_end":"flex_box_center_end___HmCsd","flex_box_column":"flex_box_column___hOf25","shixunWrp":"shixunWrp___yZiPI","fill":"fill___gz7tU","index":"index___eoHnJ","success":"success___vcRmo","fail":"fail___u5yz8","fillInput":"fillInput___ras_5","shixunWrapper":"shixunWrapper___jNj55","score":"score___gt155","name":"name___BgNAP","programWrapper":"programWrapper___lMcxv","desc":"desc___ODeOH","content":"content___RoL0o"}); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/components/Shixun.tsx @@ -1293,26 +473,33 @@ var Shixun = function Shixun(_ref) { scrollBeyondLastLine: false }; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mt15 mb15", + className: componentsmodules.shixunWrapper, children: [(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.commit_status) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { children: item.shixun.map(function (val, key) { return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - className: "font16", - gutter: [0, 20], - style: { - marginTop: 10 - }, + className: "mb20", + justify: "space-between", children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - flex: "1", - children: [val.challenge_name, " (", val.challenge_score, "\u5206)"] + flex: 1, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: componentsmodules.score, + children: ["(", val.challenge_score, "\u5206)"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: componentsmodules.name, + children: [val.challenge_name, " "] + })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - flex: "100px", - className: "tr", children: [val.answer_status === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font12 tag-style-border border-orange c-orange ", + className: "font14", + style: { + color: '#FA6400' + }, children: "\u672A\u5B8C\u6210" }), val.answer_status === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font12 tag-style-border border-green c-green ", + className: "font14", + style: { + color: '#37AD83' + }, children: "\u5DF2\u5B8C\u6210" })] })] @@ -1393,7 +580,6 @@ var base64 = __webpack_require__(19575); - var Program = function Program(_ref) { var item = _ref.item, answerData = _ref.answerData; @@ -1448,9 +634,13 @@ var Program = function Program(_ref) { }, scrollBeyondLastLine: false }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(componentsmodules.programWrapper), children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt15 mb15", + className: componentsmodules.desc, + children: "\u9898\u76EE\u63CF\u8FF0" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: componentsmodules.content, children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { value: item === null || item === void 0 ? void 0 : item.description }) @@ -1484,17 +674,28 @@ var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableA + + + + + + + var TextArea = input/* default.TextArea */.Z.TextArea; var Fill = function Fill(_ref) { var _item$standard_answer, _item$standard_answer2; var item = _ref.item, answerData = _ref.answerData, _ref$onBlur = _ref.onBlur, - _onBlur = _ref$onBlur === void 0 ? function () {} : _ref$onBlur; + onBlur = _ref$onBlur === void 0 ? function () {} : _ref$onBlur; var _useState = (0,react.useState)([]), _useState2 = slicedToArray_default()(_useState, 2), userAnswer = _useState2[0], setUserAnswer = _useState2[1]; + var _useState3 = (0,react.useState)([]), + _useState4 = slicedToArray_default()(_useState3, 2), + saveStatusArr = _useState4[0], + setSaveStatusArr = _useState4[1]; (0,react.useEffect)(function () { var data = []; var _loop = function _loop(i) { @@ -1514,28 +715,89 @@ var Fill = function Fill(_ref) { }, [item === null || item === void 0 ? void 0 : item.user_answer]); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [userAnswer === null || userAnswer === void 0 ? void 0 : userAnswer.map(function (answer, index) { - var _item$user_answer2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mt10", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: ["\u6211\u7684\u7B54\u6848\uFF08\u586B\u7A7A", index + 1, "\uFF09:"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(TextArea, { - autoSize: true, - rows: 4, + var _item$user_answer2, _saveStatusArr$index, _saveStatusArr$index2, _saveStatusArr$index3; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "".concat(componentsmodules.baseMargin, " ").concat(componentsmodules.fill), + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: componentsmodules.index, + children: ["\u586B\u7A7A\u9879", index + 1] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: '430px', + className: "ml20 mr20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u8BF7\u8F93\u5165\u7B54\u6848", disabled: !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2.length) > 0 && !item.israp || !!(answerData !== null && answerData !== void 0 && answerData.exercise.commit_status), value: answer === null || answer === void 0 ? void 0 : answer.answer_text, onChange: function onChange(e) { userAnswer[index].answer_text = e.target.value; setUserAnswer(toConsumableArray_default()(userAnswer)); }, - onBlur: function onBlur(e) { - return _onBlur(answer === null || answer === void 0 ? void 0 : answer.answer_text, index + 1, userAnswer); - }, - className: "overflow_hidden ".concat(item.user_score && (item.user_score === item.question_score ? "c-green" : "c-red")) + onBlur: /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(e) { + var res, newArr, _newArr; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return onBlur(answer === null || answer === void 0 ? void 0 : answer.answer_text, index + 1, userAnswer); + case 2: + res = _context.sent; + if (res.status === 0) { + newArr = saveStatusArr.slice(); + newArr[index] = { + status: 'success', + errorText: '' + }; + setSaveStatusArr(newArr); + } else { + _newArr = saveStatusArr.slice(); + _newArr[index] = { + status: 'fail', + errorText: res.message + }; + setSaveStatusArr(_newArr); + } + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function (_x) { + return _ref2.apply(this, arguments); + }; + }(), + className: "".concat(item.user_score && (item.user_score === item.question_score ? "c-green" : "c-red"), " ").concat(componentsmodules.fillInput) + }) + }), ((_saveStatusArr$index = saveStatusArr[index]) === null || _saveStatusArr$index === void 0 ? void 0 : _saveStatusArr$index.status) === "success" && /*#__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)("i", { + style: { + marginRight: 8 + }, + className: "iconfont icon-chenggong1 ".concat(componentsmodules.success) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: componentsmodules.success, + children: "\u4FDD\u5B58\u6210\u529F" + })] + }) + }), ((_saveStatusArr$index2 = saveStatusArr[index]) === null || _saveStatusArr$index2 === void 0 ? void 0 : _saveStatusArr$index2.status) === "fail" && /*#__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)("i", { + style: { + marginRight: 8 + }, + className: "iconfont icon-tishi7 ".concat(componentsmodules.fail) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: componentsmodules.fail, + children: (_saveStatusArr$index3 = saveStatusArr[index]) === null || _saveStatusArr$index3 === void 0 ? void 0 : _saveStatusArr$index3.errorText + })] }) })] - }); + }, index); }), !!(item !== null && item !== void 0 && (_item$standard_answer = item.standard_answer) !== null && _item$standard_answer !== void 0 && _item$standard_answer.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { children: item === null || item === void 0 ? void 0 : (_item$standard_answer2 = item.standard_answer) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.map(function (answer, index) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -1548,7 +810,7 @@ var Fill = function Fill(_ref) { value: answer === null || answer === void 0 ? void 0 : answer.answer_text[0] }) })] - }); + }, index); }) })] }); @@ -1627,12 +889,6 @@ var lodash = __webpack_require__(96486); - - -var _excluded = ["globalSetting", "loading", "user", "dispatch"]; - - - @@ -1657,27 +913,14 @@ var _excluded = ["globalSetting", "loading", "user", "dispatch"]; var Countdown = statistic/* default.Countdown */.Z.Countdown; var ImitateAnswer_TextArea = input/* default.TextArea */.Z.TextArea; var tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; -var statusMapping = { - 1: "未发布", - 2: "已发布", - 3: "已截止" -}; -var answerFlagMapping = { - 1: ImitateAnswermodules.flagActive, - 2: ImitateAnswermodules.flagHalf -}; var scoreStatusMapping = { 0: 'c-red-ee4', 1: 'c-green' }; -var mapping = (/* unused pure expression or super */ null && (["单选题", "多选题", "判断题", "填空题", "简答题", "实训题", "编程题"])); var Answer = function Answer(_ref) { - var _answerData$exercise4, _user$userInfo, _user$userInfo$course, _user$userInfo2, _user$userInfo3, _answerData$exercise17, _answerData$exercise18, _answerData$user_scor, _answerData$exercise19, _answerData$exercise20, _answerData$exercise21, _answerData$exercise22, _answerData$exercise23, _answerData$exercise24, _answerData$question_3, _answerData$question_4, _answerData$exercise_20, _answerData$question_5, _answerData$question_6, _answerData$exercise_21, _answerData$exercise_22, _answerData$exercise_23, _answerData$exercise_24, _answerData$exercise_25, _answerData$exercise_26, _answerData$exercise_27, _answerData$exercise_28, _answerData$exercise_33, _answerData$exercise_34, _answerData$exercise_35, _answerData$exercise_36; - var globalSetting = _ref.globalSetting, - loading = _ref.loading, - user = _ref.user, - dispatch = _ref.dispatch, - props = objectWithoutProperties_default()(_ref, _excluded); + var _answerData$exercise4, _answerData$exercise16, _answerData$exercise17, _answerData$exercise18, _answerData$exercise19, _answerData$exercise20, _answerData$question_4, _answerData$question_5, _answerData$exercise_19, _answerData$question_6, _answerData$question_7, _answerData$exercise_20, _answerData$exercise_21, _answerData$exercise_22, _answerData$exercise_23, _answerData$exercise_24, _answerData$exercise_25, _answerData$exercise_26, _answerData$exercise_27, _answerData$exercise_32, _answerData$exercise_33, _answerData$exercise_34, _answerData$exercise_35; + var user = _ref.user, + dispatch = _ref.dispatch; var params = (0,_umi_production_exports.useParams)(); var _useState = (0,react.useState)({}), _useState2 = slicedToArray_default()(_useState, 2), @@ -1711,58 +954,56 @@ var Answer = function Answer(_ref) { _useState16 = slicedToArray_default()(_useState15, 2), time = _useState16[0], setTime = _useState16[1]; - var _useState17 = (0,react.useState)(0), + var _useState17 = (0,react.useState)(''), _useState18 = slicedToArray_default()(_useState17, 2), - submitProgress = _useState18[0], - setSubmitProgress = _useState18[1]; - var _useState19 = (0,react.useState)(''), + iframeUrl = _useState18[0], + setIframeUrl = _useState18[1]; + var _useState19 = (0,react.useState)('none'), _useState20 = slicedToArray_default()(_useState19, 2), - iframeUrl = _useState20[0], - setIframeUrl = _useState20[1]; - var _useState21 = (0,react.useState)('none'), + iframeBlock = _useState20[0], + setIframeBlock = _useState20[1]; + var _useState21 = (0,react.useState)(''), _useState22 = slicedToArray_default()(_useState21, 2), - iframeBlock = _useState22[0], - setIframeBlock = _useState22[1]; - var _useState23 = (0,react.useState)(''), - _useState24 = slicedToArray_default()(_useState23, 2), - countDownColor = _useState24[0], - setCountDownColor = _useState24[1]; - var _useState25 = (0,react.useState)({ + countDownColor = _useState22[0], + setCountDownColor = _useState22[1]; + var _useState23 = (0,react.useState)({ status: 0 }), - _useState26 = slicedToArray_default()(_useState25, 2), - checkStatus = _useState26[0], - setCheckStatus = _useState26[1]; //0ip合法,-1ip不在范围,-2已绑定其他ip + _useState24 = slicedToArray_default()(_useState23, 2), + checkStatus = _useState24[0], + setCheckStatus = _useState24[1]; //0ip合法,-1ip不在范围,-2已绑定其他ip var iframe = (0,react.useRef)(); + var _useState25 = (0,react.useState)(0), + _useState26 = slicedToArray_default()(_useState25, 2), + oneindex = _useState26[0], + setoneindex = _useState26[1]; //大题下标 var _useState27 = (0,react.useState)(0), _useState28 = slicedToArray_default()(_useState27, 2), - oneindex = _useState28[0], - setoneindex = _useState28[1]; //大题下标 - var _useState29 = (0,react.useState)(0), + twoindex = _useState28[0], + settwoindex = _useState28[1]; //小题下标 + var _useState29 = (0,react.useState)(false), _useState30 = slicedToArray_default()(_useState29, 2), - twoindex = _useState30[0], - settwoindex = _useState30[1]; //小题下标 + isShowmodal = _useState30[0], + setisshowmodal = _useState30[1]; var _useState31 = (0,react.useState)(false), _useState32 = slicedToArray_default()(_useState31, 2), - isShowmodal = _useState32[0], - setisshowmodal = _useState32[1]; - var _useState33 = (0,react.useState)(false), + ischecked = _useState32[0], + setischecked = _useState32[1]; + var _useState33 = (0,react.useState)(), _useState34 = slicedToArray_default()(_useState33, 2), - ischecked = _useState34[0], - setischecked = _useState34[1]; + type = _useState34[0], + settype = _useState34[1]; var _useState35 = (0,react.useState)(), _useState36 = slicedToArray_default()(_useState35, 2), - type = _useState36[0], - settype = _useState36[1]; - var _useState37 = (0,react.useState)(), - _useState38 = slicedToArray_default()(_useState37, 2), - indexitems = _useState38[0], - setindexitems = _useState38[1]; + indexitems = _useState36[0], + setindexitems = _useState36[1]; (0,react.useEffect)(function () { + dispatch({ + type: "globalSetting/headerFooterToggle", + payload: false + }); if ((0,authority/* isAdmin */.GJ)() || (0,authority/* isCommonAdminOrCreator */.EO)()) { initData(); - } else { - // history.replace('/403') } window.addEventListener('message', handleMessage); return function () { @@ -1778,117 +1019,38 @@ var Answer = function Answer(_ref) { initData(); } }; - var checkCamera = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _res$data; - var res, _res$data2, _res$data3, _res$data4, ip, _res$data5, _res$data6, _res$data7, _res$data8, _res$data9; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return dispatch({ - type: "exercise/getExerciseUserInfo", - payload: objectSpread2_default()({}, params) - }); - case 2: - res = _context.sent; - setAnswerCheckData(objectSpread2_default()({}, res.data)); - if (!((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.ip_limit) !== 'no')) { - _context.next = 11; - break; - } - if (!((res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.ip_limit) === 'inner')) { - _context.next = 9; - break; - } - _context.next = 8; - return (0,Exercise_ip/* findLocalIp */.y)({ - ip_limit: res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.ip_limit - }); - case 8: - ip = _context.sent; - case 9: - _context.next = 11; - return (0,util/* checkLocalOrPublicIp */.oi)({ - exerciseId: params.categoryId, - ip: ip, - errmsgHide: true, - ip_limit: res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.ip_limit - })["catch"](function (e) { - setCheckStatus(e); - }); - case 11: - if (!((res === null || res === void 0 ? void 0 : res.status) == 0)) { - _context.next = 18; - break; - } - if (!((res === null || res === void 0 ? void 0 : (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.used_screen_num) > (res === null || res === void 0 ? void 0 : (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.screen_num) && res !== null && res !== void 0 && (_res$data7 = res.data) !== null && _res$data7 !== void 0 && _res$data7.screen_open)) { - _context.next = 15; - break; - } - handleSubmitAnswer(); - return _context.abrupt("return", false); - case 15: - setShowCamera(res === null || res === void 0 ? void 0 : res.data.check_camera); - setOpenFullScreen(res === null || res === void 0 ? void 0 : (_res$data8 = res.data) === null || _res$data8 === void 0 ? void 0 : _res$data8.screen_open); - if (!(res !== null && res !== void 0 && (_res$data9 = res.data) !== null && _res$data9 !== void 0 && _res$data9.check_camera)) { - initData(); - } - case 18: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function checkCamera() { - return _ref2.apply(this, arguments); - }; - }(); var onBeforeunload = function onBeforeunload(e) { var confirmationMessage = "确定离开此页面吗?此页数据可能会丢失"; (e || window.event).returnValue = confirmationMessage; return confirmationMessage; }; var initData = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var _res; - var res, _res2, _res3, _res3$exercise_scores; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var res, _res$exercise_scores; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { case 0: setIsSpin(true); - _context2.next = 3; + _context.next = 3; return (0,exercise/* startSimulateAnswer */._F)(objectSpread2_default()({}, params))["catch"](function () { return setIsSpin(false); }); case 3: - res = _context2.sent; - ((_res = res) === null || _res === void 0 ? void 0 : _res.exercise) && (res.exercise.user_exercise_status = 1); - // } else { - // // res = await getExerciseStartAnswer({ ...params }).catch(() => setIsSpin(false)); - // // if (res.exercise?.commit_status > 0) { - // // window.removeEventListener("beforeunload", onBeforeunload) - // // } - // // if (res?.exercise?.left_time) { - // // setTimeout(() => { - // // setCountDownColor(styles.red); - // // }, (res?.exercise?.left_time - 300 > 0 ? res?.exercise?.left_time - 300 : 0) * 1000); - // // } - - // } + res = _context.sent; + (res === null || res === void 0 ? void 0 : res.exercise) && (res.exercise.user_exercise_status = 1); setIsSpin(false); if (res) { - res.exercise_types = ((_res2 = res) === null || _res2 === void 0 ? void 0 : _res2.exercise_types) || ((_res3 = res) === null || _res3 === void 0 ? void 0 : (_res3$exercise_scores = _res3.exercise_scores) === null || _res3$exercise_scores === void 0 ? void 0 : _res3$exercise_scores.exercise_types); + res.exercise_types = (res === null || res === void 0 ? void 0 : res.exercise_types) || (res === null || res === void 0 ? void 0 : (_res$exercise_scores = res.exercise_scores) === null || _res$exercise_scores === void 0 ? void 0 : _res$exercise_scores.exercise_types); setAnswerData(res); } case 7: case "end": - return _context2.stop(); + return _context.stop(); } - }, _callee2); + }, _callee); })); return function initData() { - return _ref3.apply(this, arguments); + return _ref2.apply(this, arguments); }; }(); (0,react.useEffect)(function () { @@ -1896,82 +1058,24 @@ var Answer = function Answer(_ref) { if (((_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.time) === 0) handleSubmitAnswer(); //自动任务失败,进入后时间为0自动提交试卷 ((_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : _answerData$exercise2.time) && setTime(Date.now() + (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise3 = answerData.exercise) === null || _answerData$exercise3 === void 0 ? void 0 : _answerData$exercise3.time) * 1000 * 60); }, [(_answerData$exercise4 = answerData.exercise) === null || _answerData$exercise4 === void 0 ? void 0 : _answerData$exercise4.time]); - var handleBackToRedo = function handleBackToRedo() { - var _answerData$exercise5; - if ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise5 = answerData.exercise) === null || _answerData$exercise5 === void 0 ? void 0 : _answerData$exercise5.exercise_status) === 3) { - es_modal/* default.confirm */.Z.confirm({ - width: 530, - title: '提示', - centered: true, - okText: '确定', - cancelText: '取消', - content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "tc font16", - children: ["\u622A\u6B62\u65F6\u95F4\u5DF2\u5230\uFF0C\u65E0\u6CD5\u6253\u56DE\u8BD5\u5377", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u8BF7\u5728\u4FEE\u6539\u622A\u6B62\u65F6\u95F4\u540E\u518D\u64CD\u4F5C"] - }) - }); - } else { - es_modal/* default.confirm */.Z.confirm({ - width: 530, - title: '提示', - centered: true, - okText: '确定', - cancelText: '取消', - content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "tc font16", - children: ["\u5B66\u751F\u5C06\u5F97\u5230\u4E00\u6B21\u91CD\u65B0\u7B54\u9898\u7684\u673A\u4F1A\uFF0C\u73B0\u6709\u7684\u7B54\u9898\u60C5\u51B5\u5C06\u88AB\u6E05\u7A7A", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u662F\u5426\u786E\u8BA4\u56DE\u9000TA\u7684\u8BD5\u5377\u7B54\u9898"] - }), - onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var _answerData$exercise_; - var res; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - _context3.next = 2; - return (0,exercise/* redoExercise */.q6)({ - categoryId: params.categoryId, - user_ids: [answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_ = answerData.exercise_answer_user) === null || _answerData$exercise_ === void 0 ? void 0 : _answerData$exercise_.user_id] - }); - case 2: - res = _context3.sent; - if (res) { - message/* default.info */.ZP.info(res === null || res === void 0 ? void 0 : res.message); - handleToDetail(); - } - case 4: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - function onOk() { - return _onOk.apply(this, arguments); - } - return onOk; - }() - }); - } - }; var handleToDetail = function handleToDetail() { initData(); - // location.href = (`/classrooms/${params.coursesId}/exercise/${params.categoryId}/detail`); }; // 自动交卷 var handleFinishTime = /*#__PURE__*/function () { - var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { var res, _time; - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { case 0: - _context5.next = 2; + _context3.next = 2; return (0,exercise/* submitSimulateExerciseAnswer */.kp)({ categoryId: params.categoryId, commit_method: 2 }); case 2: - res = _context5.sent; + res = _context3.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { es_modal/* default.info */.Z.info({ width: 530, @@ -1983,19 +1087,19 @@ var Answer = function Answer(_ref) { children: ["\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"] }), onOk: function () { - var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { case 0: handleToDetail(); case 1: case "end": - return _context4.stop(); + return _context2.stop(); } - }, _callee4); + }, _callee2); })); function onOk() { - return _onOk2.apply(this, arguments); + return _onOk.apply(this, arguments); } return onOk; }() @@ -2009,32 +1113,30 @@ var Answer = function Answer(_ref) { } case 5: case "end": - return _context5.stop(); + return _context3.stop(); } - }, _callee5); + }, _callee3); })); return function handleFinishTime() { - return _ref4.apply(this, arguments); + return _ref3.apply(this, arguments); }; }(); var goShixun = /*#__PURE__*/function () { - var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(item) { var res; - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { case 0: - _context6.next = 2; + _context4.next = 2; return (0,shixuns/* execShixun */.Ir)({ id: item.shixun_identifier }); case 2: - res = _context6.sent; + res = _context4.sent; if (res !== null && res !== void 0 && res.game_identifier) { setIframeUrl("/tasks/".concat(res.game_identifier, "?type=exercises&exercisesId=").concat(params.categoryId, "&coursesId=").concat(params.coursesId, "&login=").concat(params.login, "&questionId=").concat(item.question_id)); setIframeBlock("block"); - // props.history.push(`/tasks/${res.game_identifier}?type=exercises&exercisesId=${params.categoryId}&coursesId=${params.coursesId}&login=${params.login}&questionId=${item.question_id}`) } - if ((res === null || res === void 0 ? void 0 : res.status) === -3) { (0,util/* bindPhone */.eF)(); } else if ((res === null || res === void 0 ? void 0 : res.status) === 2) { @@ -2044,12 +1146,12 @@ var Answer = function Answer(_ref) { } case 5: case "end": - return _context6.stop(); + return _context4.stop(); } - }, _callee6); + }, _callee4); })); return function goShixun(_x) { - return _ref5.apply(this, arguments); + return _ref4.apply(this, arguments); }; }(); var handleResetGame = function handleResetGame(url, question_id) { @@ -2065,40 +1167,39 @@ var Answer = function Answer(_ref) { children: "\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!" }), onOk: function () { - var _onOk3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() { + var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { var res, execRes; - return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { - while (1) switch (_context7.prev = _context7.next) { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { case 0: - _context7.next = 2; + _context5.next = 2; return (0,exercise/* resetMyGame */.$Q)({ url: url }); case 2: - res = _context7.sent; + res = _context5.sent; if (res) { - _context7.next = 5; + _context5.next = 5; break; } - return _context7.abrupt("return"); + return _context5.abrupt("return"); case 5: message/* default.success */.ZP.success("重置成功,正在进入实训!"); - _context7.next = 8; + _context5.next = 8; return (0,shixuns/* execShixun */.Ir)({ id: res.shixun_identifier }); case 8: - execRes = _context7.sent; + execRes = _context5.sent; if (!(execRes !== null && execRes !== void 0 && execRes.game_identifier)) { - _context7.next = 12; + _context5.next = 12; break; } goShixun({ shixun_identifier: execRes === null || execRes === void 0 ? void 0 : execRes.game_identifier, question_id: question_id }); - // openNewWindow(`/tasks/${execRes.game_identifier}`); - return _context7.abrupt("return"); + return _context5.abrupt("return"); case 12: if ((execRes === null || execRes === void 0 ? void 0 : execRes.status) === 2) { handleResetGame(execRes === null || execRes === void 0 ? void 0 : execRes.message, question_id); @@ -2107,12 +1208,12 @@ var Answer = function Answer(_ref) { } case 13: case "end": - return _context7.stop(); + return _context5.stop(); } - }, _callee7); + }, _callee5); })); function onOk() { - return _onOk3.apply(this, arguments); + return _onOk2.apply(this, arguments); } return onOk; }() @@ -2142,18 +1243,18 @@ var Answer = function Answer(_ref) { children: "\u60A8\u4E4B\u524D\u5DF2\u7ECF\u6311\u6218\u8FC7\u8BE5\u5B9E\u8BAD\uFF0C\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u9700\u8981\u91CD\u65B0\u6311\u6218" }), onOk: function () { - var _onOk4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() { + var _onOk3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6() { var res, newQuestions, index, newItem; - return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { - while (1) switch (_context8.prev = _context8.next) { + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { case 0: - _context8.next = 2; + _context6.next = 2; return (0,exercise/* resetMyGame */.$Q)({ id: item.myshixun_identifier, url: item.url }); case 2: - res = _context8.sent; + res = _context6.sent; if (res) { newQuestions = (0,lodash.cloneDeep)(answerData === null || answerData === void 0 ? void 0 : answerData.exercise_question_types); index = newQuestions === null || newQuestions === void 0 ? void 0 : newQuestions.findIndex(function (e) { @@ -2174,12 +1275,12 @@ var Answer = function Answer(_ref) { } case 4: case "end": - return _context8.stop(); + return _context6.stop(); } - }, _callee8); + }, _callee6); })); function onOk() { - return _onOk4.apply(this, arguments); + return _onOk3.apply(this, arguments); } return onOk; }() @@ -2189,87 +1290,87 @@ var Answer = function Answer(_ref) { } }; var handleJoinProgram = /*#__PURE__*/function () { - var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9(item) { + var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7(item) { var res; - return regeneratorRuntime_default()().wrap(function _callee9$(_context9) { - while (1) switch (_context9.prev = _context9.next) { + return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { case 0: if (!item.hack_identifier) { - _context9.next = 5; + _context7.next = 5; break; } - _context9.next = 3; + _context7.next = 3; return (0,exercise/* startProgram */.nF)({ id: item.hack_identifier }); case 3: - res = _context9.sent; + res = _context7.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { setIframeUrl("/myproblems/".concat(res.identifier, "?type=exercises&exercisesId=").concat(params.categoryId, "&coursesId=").concat(params.coursesId, "&login=").concat(params.login, "&questionId=").concat(item.question_id)); setIframeBlock("block"); - // props.history.push(`/myproblems/${res.identifier}?type=exercises&exercisesId=${params.categoryId}&coursesId=${params.coursesId}&login=${params.login}&questionId=${item.question_id}`) } case 5: case "end": - return _context9.stop(); + return _context7.stop(); } - }, _callee9); + }, _callee7); })); return function handleJoinProgram(_x2) { - return _ref6.apply(this, arguments); + return _ref5.apply(this, arguments); }; }(); var handleSave = /*#__PURE__*/function () { - var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10(questionId, exercise_choice_id, answer_text, callBack) { - var ip, res; - return regeneratorRuntime_default()().wrap(function _callee10$(_context10) { - while (1) switch (_context10.prev = _context10.next) { + var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8(questionId, exercise_choice_id, answer_text, callBack) { + var res; + return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { + while (1) switch (_context8.prev = _context8.next) { case 0: if (questionId) { - _context10.next = 3; + _context8.next = 3; break; } console.error("handleSave no questionId params"); - return _context10.abrupt("return"); + return _context8.abrupt("return"); case 3: - _context10.next = 5; + _context8.next = 5; return (0,exercise/* updateExerciseAnswers */.oX)({ questionId: questionId, exercise_choice_id: exercise_choice_id, answer_text: answer_text }); case 5: - res = _context10.sent; + res = _context8.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { callBack && callBack(); } - case 7: + return _context8.abrupt("return", res); + case 8: case "end": - return _context10.stop(); + return _context8.stop(); } - }, _callee10); + }, _callee8); })); return function handleSave(_x3, _x4, _x5, _x6) { - return _ref7.apply(this, arguments); + return _ref6.apply(this, arguments); }; }(); var handleVerifySave = /*#__PURE__*/function () { - var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13(isSave) { + var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11(isSave) { var res, tip; - return regeneratorRuntime_default()().wrap(function _callee13$(_context13) { - while (1) switch (_context13.prev = _context13.next) { + return regeneratorRuntime_default()().wrap(function _callee11$(_context11) { + while (1) switch (_context11.prev = _context11.next) { case 0: - _context13.next = 2; + _context11.next = 2; return (0,exercise/* simulateBeginCommit */.WL)({ id: params.categoryId }); case 2: - res = _context13.sent; + res = _context11.sent; if (res) { - _context13.next = 5; + _context11.next = 5; break; } - return _context13.abrupt("return"); + return _context11.abrupt("return"); case 5: if (res.question_undo !== 0 || res.oj_undo !== 0) { tip = ''; @@ -2291,9 +1392,9 @@ var Answer = function Answer(_ref) { children: [tip, /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), isSave ? "\u5728".concat(moment_default()(res.end_time).format("YYYY-MM-DD HH:mm"), "\u4E4B\u524D\uFF0C\u5141\u8BB8\u4FEE\u6539\u7B54\u9898") : "\u63D0\u4EA4\u540E\u65E0\u6CD5\u518D\u4FEE\u6539\u7B54\u9898\uFF0C\u662F\u5426\u786E\u8BA4\u63D0\u4EA4\uFF1F"] }), onOk: function () { - var _onOk5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() { - return regeneratorRuntime_default()().wrap(function _callee11$(_context11) { - while (1) switch (_context11.prev = _context11.next) { + var _onOk4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() { + return regeneratorRuntime_default()().wrap(function _callee9$(_context9) { + while (1) switch (_context9.prev = _context9.next) { case 0: if (isSave) { handleToDetail(); @@ -2302,12 +1403,12 @@ var Answer = function Answer(_ref) { } case 1: case "end": - return _context11.stop(); + return _context9.stop(); } - }, _callee11); + }, _callee9); })); function onOk() { - return _onOk5.apply(this, arguments); + return _onOk4.apply(this, arguments); } return onOk; }() @@ -2323,9 +1424,9 @@ var Answer = function Answer(_ref) { children: isSave ? "\u5728".concat(moment_default()(res.end_time).format("YYYY-MM-DD HH:mm"), "\u4E4B\u524D\uFF0C\u5141\u8BB8\u4FEE\u6539\u7B54\u9898") : "\u63D0\u4EA4\u540E\u65E0\u6CD5\u518D\u4FEE\u6539\u7B54\u9898\uFF0C\u662F\u5426\u786E\u8BA4\u63D0\u4EA4\uFF1F" }), onOk: function () { - var _onOk6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12() { - return regeneratorRuntime_default()().wrap(function _callee12$(_context12) { - while (1) switch (_context12.prev = _context12.next) { + var _onOk5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() { + return regeneratorRuntime_default()().wrap(function _callee10$(_context10) { + while (1) switch (_context10.prev = _context10.next) { case 0: if (isSave) { handleToDetail(); @@ -2334,12 +1435,12 @@ var Answer = function Answer(_ref) { } case 1: case "end": - return _context12.stop(); + return _context10.stop(); } - }, _callee12); + }, _callee10); })); function onOk() { - return _onOk6.apply(this, arguments); + return _onOk5.apply(this, arguments); } return onOk; }() @@ -2347,12 +1448,12 @@ var Answer = function Answer(_ref) { } case 6: case "end": - return _context13.stop(); + return _context11.stop(); } - }, _callee13); + }, _callee11); })); return function handleVerifySave(_x7) { - return _ref8.apply(this, arguments); + return _ref7.apply(this, arguments); }; }(); var submitProgressContent = function submitProgressContent(progress) { @@ -2391,19 +1492,19 @@ var Answer = function Answer(_ref) { }, 50); }; var handleSubmitAnswer = /*#__PURE__*/function () { - var _ref9 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee14() { + var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12() { var res; - return regeneratorRuntime_default()().wrap(function _callee14$(_context14) { - while (1) switch (_context14.prev = _context14.next) { + return regeneratorRuntime_default()().wrap(function _callee12$(_context12) { + while (1) switch (_context12.prev = _context12.next) { case 0: submitProgressLoading(); - _context14.next = 3; + _context12.next = 3; return (0,exercise/* submitSimulateExerciseAnswer */.kp)({ categoryId: params.categoryId, commit_method: 1 }); case 3: - res = _context14.sent; + res = _context12.sent; (0,fullscreen/* exitFull */.BU)(); dispatch({ type: "exercise/setActionTabs", @@ -2426,18 +1527,18 @@ var Answer = function Answer(_ref) { } case 7: case "end": - return _context14.stop(); + return _context12.stop(); } - }, _callee14); + }, _callee12); })); return function handleSubmitAnswer() { - return _ref9.apply(this, arguments); + return _ref8.apply(this, arguments); }; }(); var handleChangeSingle = /*#__PURE__*/function () { - var _ref10 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee15(value, id, key, item) { - return regeneratorRuntime_default()().wrap(function _callee15$(_context15) { - while (1) switch (_context15.prev = _context15.next) { + var _ref9 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13(value, id, key, item) { + return regeneratorRuntime_default()().wrap(function _callee13$(_context13) { + while (1) switch (_context13.prev = _context13.next) { case 0: handleSave(id, value, null, function () { //题目选中 @@ -2458,18 +1559,18 @@ var Answer = function Answer(_ref) { }); case 1: case "end": - return _context15.stop(); + return _context13.stop(); } - }, _callee15); + }, _callee13); })); return function handleChangeSingle(_x8, _x9, _x10, _x11) { - return _ref10.apply(this, arguments); + return _ref9.apply(this, arguments); }; }(); var handleChangeSingles = /*#__PURE__*/function () { - var _ref11 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee16(value, id, key, item, items) { - return regeneratorRuntime_default()().wrap(function _callee16$(_context16) { - while (1) switch (_context16.prev = _context16.next) { + var _ref10 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee14(value, id, key, item, items) { + return regeneratorRuntime_default()().wrap(function _callee14$(_context14) { + while (1) switch (_context14.prev = _context14.next) { case 0: handleSave(item.question_id, value, null, function () { var _items$sub_exercise_q, _items$sub_exercise_q2, _items$sub_exercise_q3; @@ -2495,56 +1596,73 @@ var Answer = function Answer(_ref) { }); case 1: case "end": - return _context16.stop(); + return _context14.stop(); } - }, _callee16); + }, _callee14); })); return function handleChangeSingles(_x12, _x13, _x14, _x15, _x16) { - return _ref11.apply(this, arguments); + return _ref10.apply(this, arguments); }; - }(); - var handleChangeMultiple = function handleChangeMultiple(value, id, item) { - handleSave(id, value, null, function () { - item.user_answer = value; - if (!item.repeat_answer) { - item.israp = true; - } - answerData.question_status.find(function (item) { - return item.ques_id === id; - }).ques_status = value !== null && value !== void 0 && value.length ? 1 : 0; - setAnswerData(objectSpread2_default()({}, answerData)); - }); - }; - var handleBlurFill = function handleBlurFill(value, index, id, param, item) { - handleSave(id, index, value, function () { - answerData.question_status.find(function (item) { - return item.ques_id === id; - }).ques_status = param.every(function (k) { - return !!k.answer_text; - }) ? 1 : answerData.question_status.find(function (item) { - return item.ques_id === id; - }).ques_status = param.some(function (k) { - return !!k.answer_text; - }) ? 2 : 0; - // item.user_answer=value; - var answers = { - choice_id: index, - answer_text: value - }; - if (item.user_answer.filter(function (item) { - return item.choice_id != index; - })) { - item.user_answer.splice(index - 1, 1, answers); - } else { - item.user_answer.push(answers); - } + }(); + var handleChangeMultiple = function handleChangeMultiple(value, id, item) { + handleSave(id, value, null, function () { + item.user_answer = value; if (!item.repeat_answer) { item.israp = true; } - // item.user_answer.filter((item:any)=>item.choice_id!=index) + answerData.question_status.find(function (item) { + return item.ques_id === id; + }).ques_status = value !== null && value !== void 0 && value.length ? 1 : 0; setAnswerData(objectSpread2_default()({}, answerData)); }); }; + var handleBlurFill = /*#__PURE__*/function () { + var _ref11 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee15(value, index, id, param, item) { + var res; + return regeneratorRuntime_default()().wrap(function _callee15$(_context15) { + while (1) switch (_context15.prev = _context15.next) { + case 0: + _context15.next = 2; + return handleSave(id, index, value, function () { + answerData.question_status.find(function (item) { + return item.ques_id === id; + }).ques_status = param.every(function (k) { + return !!k.answer_text; + }) ? 1 : answerData.question_status.find(function (item) { + return item.ques_id === id; + }).ques_status = param.some(function (k) { + return !!k.answer_text; + }) ? 2 : 0; + // item.user_answer=value; + var answers = { + choice_id: index, + answer_text: value + }; + if (item.user_answer.filter(function (item) { + return item.choice_id != index; + })) { + item.user_answer.splice(index - 1, 1, answers); + } else { + item.user_answer.push(answers); + } + if (!item.repeat_answer) { + item.israp = true; + } + setAnswerData(objectSpread2_default()({}, answerData)); + }); + case 2: + res = _context15.sent; + return _context15.abrupt("return", res); + case 4: + case "end": + return _context15.stop(); + } + }, _callee15); + })); + return function handleBlurFill(_x17, _x18, _x19, _x20, _x21) { + return _ref11.apply(this, arguments); + }; + }(); var handleBlurSimple = function handleBlurSimple(value, id, item) { handleSave(id, null, value, function () { answerData.question_status.find(function (item) { @@ -2560,8 +1678,9 @@ var Answer = function Answer(_ref) { }); }; var renderSingle = function renderSingle(item, key) { - var _item$user_answer2, _item$question_choice, _answerData$exercise6, _answerData$exercise7, _answerData$exercise8, _item$standard_answer; + var _item$user_answer2, _item$question_choice, _answerData$exercise5, _answerData$exercise6, _answerData$exercise7, _item$standard_answer; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImitateAnswermodules.baseMargin, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, { disabled: !!(answerData !== null && answerData !== void 0 && answerData.exercise.commit_status), defaultValue: item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2[0], @@ -2574,12 +1693,13 @@ var Answer = function Answer(_ref) { var isJudge = item.question_type == 2; var prefix = isJudge ? '' : "".concat(tagList[index], "."); return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ImitateAnswermodules.answerWrap, + className: "".concat(ImitateAnswermodules.answerWrap), children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { + className: ImitateAnswermodules.noWrap, disabled: !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer3 = item.user_answer) === null || _item$user_answer3 === void 0 ? void 0 : _item$user_answer3.length) > 0 && !item.israp, value: answer === null || answer === void 0 ? void 0 : answer.choice_id, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "mr3", + className: "mr3 font16", children: prefix }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { style: { @@ -2591,11 +1711,11 @@ var Answer = function Answer(_ref) { }) }, index); }) - }), (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise6 = answerData.exercise) === null || _answerData$exercise6 === void 0 ? void 0 : _answerData$exercise6.answer_open) && ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise7 = answerData.exercise) === null || _answerData$exercise7 === void 0 ? void 0 : _answerData$exercise7.exercise_status) == 3 || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise8 = answerData.exercise) === null || _answerData$exercise8 === void 0 ? void 0 : _answerData$exercise8.user_exercise_status) == 1) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + }), (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise5 = answerData.exercise) === null || _answerData$exercise5 === void 0 ? void 0 : _answerData$exercise5.answer_open) && ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise6 = answerData.exercise) === null || _answerData$exercise6 === void 0 ? void 0 : _answerData$exercise6.exercise_status) == 3 || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise7 = answerData.exercise) === null || _answerData$exercise7 === void 0 ? void 0 : _answerData$exercise7.user_exercise_status) == 1) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: ["\u53C2\u8003\u7B54\u6848\uFF1A", item === null || item === void 0 ? void 0 : (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.map(function (answer, index) { return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: tagList[Number(answer) - 1] - }); + }, index); })] })] }); @@ -2604,20 +1724,20 @@ var Answer = function Answer(_ref) { var _items$sub_exercise_q4; return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { children: items === null || items === void 0 ? void 0 : (_items$sub_exercise_q4 = items.sub_exercise_questions) === null || _items$sub_exercise_q4 === void 0 ? void 0 : _items$sub_exercise_q4.map(function (item, key) { - var _item$user_answer4, _item$question_choice2, _answerData$exercise9, _answerData$exercise10, _answerData$exercise11, _item$standard_answer2; + var _item$user_answer4, _item$question_choice2, _answerData$exercise8, _answerData$exercise9, _answerData$exercise10, _item$standard_answer2; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(ImitateAnswermodules.baseMargin, " ").concat(ImitateAnswermodules.singleItem, " mb20"), children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { display: 'flex', - marginTop: 20, userSelect: "none" }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { flexShrink: 0 }, className: "font18", - children: [i + 1 + '.' + (key + 1), "\uFF08\u5355\u9009\u9898\uFF09"] + children: i + 1 + '.' + (key + 1) }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { value: item === null || item === void 0 ? void 0 : item.question_title }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { @@ -2641,10 +1761,11 @@ var Answer = function Answer(_ref) { return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: ImitateAnswermodules.answerWrap, children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, { + className: ImitateAnswermodules.noWrap, disabled: !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer5 = item.user_answer) === null || _item$user_answer5 === void 0 ? void 0 : _item$user_answer5.length) > 0, value: answer === null || answer === void 0 ? void 0 : answer.choice_id, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "mr3", + className: "mr3 ".concat(ImitateAnswermodules.noWrap), children: prefix }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { style: { @@ -2656,20 +1777,21 @@ var Answer = function Answer(_ref) { }) }, index); }) - }), (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise9 = answerData.exercise) === null || _answerData$exercise9 === void 0 ? void 0 : _answerData$exercise9.answer_open) && ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise10 = answerData.exercise) === null || _answerData$exercise10 === void 0 ? void 0 : _answerData$exercise10.exercise_status) == 3 || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise11 = answerData.exercise) === null || _answerData$exercise11 === void 0 ? void 0 : _answerData$exercise11.user_exercise_status) == 1) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + }), (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise8 = answerData.exercise) === null || _answerData$exercise8 === void 0 ? void 0 : _answerData$exercise8.answer_open) && ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise9 = answerData.exercise) === null || _answerData$exercise9 === void 0 ? void 0 : _answerData$exercise9.exercise_status) == 3 || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise10 = answerData.exercise) === null || _answerData$exercise10 === void 0 ? void 0 : _answerData$exercise10.user_exercise_status) == 1) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: ["\u53C2\u8003\u7B54\u6848\uFF1A", item === null || item === void 0 ? void 0 : (_item$standard_answer2 = item.standard_answer) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.map(function (answer, index) { return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: tagList[Number(answer) - 1] - }); + }, index); })] })] - }); + }, key); }) }); }; var renderMultiple = function renderMultiple(item, key) { - var _item$question_choice3, _answerData$exercise12, _answerData$exercise13, _item$standard_answer3; + var _item$question_choice3, _answerData$exercise11, _answerData$exercise12, _item$standard_answer3; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImitateAnswermodules.baseMargin, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, { disabled: !!(answerData !== null && answerData !== void 0 && answerData.exercise.commit_status), defaultValue: item === null || item === void 0 ? void 0 : item.user_answer, @@ -2686,20 +1808,20 @@ var Answer = function Answer(_ref) { disabled: !item.repeat_answer && (item === null || item === void 0 ? void 0 : (_item$user_answer6 = item.user_answer) === null || _item$user_answer6 === void 0 ? void 0 : _item$user_answer6.length) > 0 && !item.israp, value: answer === null || answer === void 0 ? void 0 : answer.choice_id, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "mr3", + className: "mr3 font16", children: prefix }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { className: ImitateAnswermodules.renderHtml, value: answer === null || answer === void 0 ? void 0 : answer.choice_text })] }) - }); + }, index); }) - }), (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise12 = answerData.exercise) === null || _answerData$exercise12 === void 0 ? void 0 : _answerData$exercise12.answer_open) && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise13 = answerData.exercise) === null || _answerData$exercise13 === void 0 ? void 0 : _answerData$exercise13.exercise_status) == 3 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + }), (0,authority/* isStudent */.dE)() && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise11 = answerData.exercise) === null || _answerData$exercise11 === void 0 ? void 0 : _answerData$exercise11.answer_open) && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise12 = answerData.exercise) === null || _answerData$exercise12 === void 0 ? void 0 : _answerData$exercise12.exercise_status) == 3 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: ["\u53C2\u8003\u7B54\u6848\uFF1A", item === null || item === void 0 ? void 0 : (_item$standard_answer3 = item.standard_answer) === null || _item$standard_answer3 === void 0 ? void 0 : _item$standard_answer3.map(function (answer, index) { return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: tagList[Number(answer) - 1] - }); + }, index); })] })] }); @@ -2708,9 +1830,25 @@ var Answer = function Answer(_ref) { return /*#__PURE__*/(0,jsx_runtime.jsx)(components_Fill, { item: item, answerData: answerData, - onBlur: function onBlur(value, index, userAnswer) { - return handleBlurFill(value, index, item === null || item === void 0 ? void 0 : item.question_id, userAnswer, item); - } + onBlur: /*#__PURE__*/function () { + var _ref12 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee16(value, index, userAnswer) { + return regeneratorRuntime_default()().wrap(function _callee16$(_context16) { + while (1) switch (_context16.prev = _context16.next) { + case 0: + _context16.next = 2; + return handleBlurFill(value, index, item === null || item === void 0 ? void 0 : item.question_id, userAnswer, item); + case 2: + return _context16.abrupt("return", _context16.sent); + case 3: + case "end": + return _context16.stop(); + } + }, _callee16); + })); + return function (_x22, _x23, _x24) { + return _ref12.apply(this, arguments); + }; + }() }); }; @@ -2737,8 +1875,8 @@ var Answer = function Answer(_ref) { }); }; var renderAnswerCard = function renderAnswerCard(title, key, index) { - var _answerData$exercise_2, _obj$items; - var obj = answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_2 = answerData.exercise_question_types) === null || _answerData$exercise_2 === void 0 ? void 0 : _answerData$exercise_2.find(function (item) { + var _answerData$exercise_, _obj$items; + var obj = answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_ = answerData.exercise_question_types) === null || _answerData$exercise_ === void 0 ? void 0 : _answerData$exercise_.find(function (item) { return item.question_type === key; }); return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { @@ -2756,15 +1894,15 @@ var Answer = function Answer(_ref) { className: ImitateAnswermodules.answerSheet, children: !hideAnswerCard[key] && (obj === null || obj === void 0 ? void 0 : (_obj$items = obj.items) === null || _obj$items === void 0 ? void 0 : _obj$items.map(function (item, k) { if (item.question_type === key) { - var _answerData$question_, _answerData$question_2; + var _answerData$question_, _answerData$question_2, _answerData$question_3; return /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { onClick: function onClick() { - var _answerData$exercise14; + var _answerData$exercise13; answerData.exercise_question_types[oneindex].items[twoindex].israp = false; setAnswerData(objectSpread2_default()({}, answerData)); - if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise14 = answerData.exercise) === null || _answerData$exercise14 === void 0 ? void 0 : _answerData$exercise14.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { - var _answerData$exercise_3, _answerData$exercise_4, _answerData$exercise_5, _answerData$exercise_6; - if (!((_answerData$exercise_3 = answerData.exercise_question_types) !== null && _answerData$exercise_3 !== void 0 && (_answerData$exercise_4 = _answerData$exercise_3[oneindex]) !== null && _answerData$exercise_4 !== void 0 && (_answerData$exercise_5 = _answerData$exercise_4.items) !== null && _answerData$exercise_5 !== void 0 && (_answerData$exercise_6 = _answerData$exercise_5[twoindex]) !== null && _answerData$exercise_6 !== void 0 && _answerData$exercise_6.repeat_answer)) { + if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise13 = answerData.exercise) === null || _answerData$exercise13 === void 0 ? void 0 : _answerData$exercise13.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { + var _answerData$exercise_2, _answerData$exercise_3, _answerData$exercise_4, _answerData$exercise_5; + if (!((_answerData$exercise_2 = answerData.exercise_question_types) !== null && _answerData$exercise_2 !== void 0 && (_answerData$exercise_3 = _answerData$exercise_2[oneindex]) !== null && _answerData$exercise_3 !== void 0 && (_answerData$exercise_4 = _answerData$exercise_3.items) !== null && _answerData$exercise_4 !== void 0 && (_answerData$exercise_5 = _answerData$exercise_4[twoindex]) !== null && _answerData$exercise_5 !== void 0 && _answerData$exercise_5.repeat_answer)) { setisshowmodal(true); settype(3); setindexitems({ @@ -2776,7 +1914,6 @@ var Answer = function Answer(_ref) { } setoneindex(index); settwoindex(k); - // initData(); var anchorName = "Anchor_".concat(key, "_").concat(k); var anchorElement = document.getElementById(anchorName); if (anchorElement) { @@ -2788,15 +1925,20 @@ var Answer = function Answer(_ref) { }); } }, - className: (answerData === null || answerData === void 0 ? void 0 : (_answerData$question_ = answerData.question_status) === null || _answerData$question_ === void 0 ? void 0 : _answerData$question_.some(function (val) { + className: "".concat(answerData !== null && answerData !== void 0 && (_answerData$question_ = answerData.question_status) !== null && _answerData$question_ !== void 0 && _answerData$question_.some(function (val) { return val.ques_id === item.question_id && (val === null || val === void 0 ? void 0 : val.ques_status) === 1; - })) && ImitateAnswermodules.active, - children: [k + 1, (answerData === null || answerData === void 0 ? void 0 : (_answerData$question_2 = answerData.question_status) === null || _answerData$question_2 === void 0 ? void 0 : _answerData$question_2.some(function (val) { + }) ? ImitateAnswermodules.active : '', "\n ").concat(answerData !== null && answerData !== void 0 && (_answerData$question_2 = answerData.question_status) !== null && _answerData$question_2 !== void 0 && _answerData$question_2.some(function (val) { + return val.ques_id === item.question_id && (val === null || val === void 0 ? void 0 : val.ques_status) === 2; + }) ? ImitateAnswermodules.partialActive : '', "\n "), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ImitateAnswermodules.qindex, + children: k + 1 + }), (answerData === null || answerData === void 0 ? void 0 : (_answerData$question_3 = answerData.question_status) === null || _answerData$question_3 === void 0 ? void 0 : _answerData$question_3.some(function (val) { return val.ques_id === item.question_id && (val === null || val === void 0 ? void 0 : val.ques_status) === 2; })) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { style: { - height: 3, - background: '#0152d9', + height: '50%', + background: '#3061D0', position: 'absolute', width: 26, bottom: 0 @@ -2809,38 +1951,33 @@ var Answer = function Answer(_ref) { }); }; var renderQuestion = function renderQuestion(item, i) { - var _item$sub_exercise_qu, _item$schools, _item$answer_comments, _item$answer_comments2, _answerData$exercise15, _answerData$exercise16; - var title = (item === null || item === void 0 ? void 0 : item.question_type) == 5 ? item === null || item === void 0 ? void 0 : item.shixun_name : item === null || item === void 0 ? void 0 : item.question_title; + var _item$schools, _item$answer_comments, _item$answer_comments2, _answerData$exercise14, _answerData$exercise15; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: ImitateAnswermodules.questionItem, id: "Anchor_".concat(item === null || item === void 0 ? void 0 : item.question_type, "_").concat(i), children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { display: 'flex', + alignItems: 'baseline', marginTop: 20, + marginBottom: 40, userSelect: "none" }, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font18", - children: [i + 1, "."] + className: "".concat(ImitateAnswermodules.questionScore, " mr10"), + children: [item === null || item === void 0 ? void 0 : item.question_score, "\u5206"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 ".concat(ImitateAnswermodules.noWrap), + children: [i + 1, "\u3001"] }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { value: item === null || item === void 0 ? void 0 : item.question_title - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - flexShrink: 0 - }, - className: "font16", - children: ["\uFF08", (item === null || item === void 0 ? void 0 : item.question_type) === 7 ? "\u5171".concat(item === null || item === void 0 ? void 0 : (_item$sub_exercise_qu = item.sub_exercise_questions) === null || _item$sub_exercise_qu === void 0 ? void 0 : _item$sub_exercise_qu.length, "\u5C0F\u9898\uFF0C") : '', item === null || item === void 0 ? void 0 : item.question_score, "\u5206\uFF09"] }), !(item !== null && item !== void 0 && item.repeat_answer) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - color: '#FA6400 ', - marginLeft: 10, - fontSize: 16 + color: '#E30000', + marginLeft: 20, + fontSize: 14 }, - children: "\u6CE8\u610F\uFF1A\u8BE5\u9898\u4E0D\u5141\u8BB8\u91CD\u590D\u7B54\u9898" + children: "\u6CE8\u610F\uFF1A\u8BE5\u9898\u4F5C\u7B54\u4E4B\u540E\u4E0D\u5141\u8BB8\u4FEE\u6539\u7B54\u6848\u3002" }), !!(item !== null && item !== void 0 && (_item$schools = item.schools) !== null && _item$schools !== void 0 && _item$schools.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { title: "\u8BE5\u5B9E\u8BAD\u9898\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E", children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { @@ -2908,45 +2045,43 @@ var Answer = function Answer(_ref) { }) })] })] - }); + }, k); }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: ImitateAnswermodules.itemType, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - children: [(item === null || item === void 0 ? void 0 : item.question_type) < 3 && (item === null || item === void 0 ? void 0 : item.standard_answer_show) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 ml20", - children: ["\u6B63\u786E\u7B54\u6848\uFF1A", item === null || item === void 0 ? void 0 : item.standard_answer_show] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 ml20", - children: (item === null || item === void 0 ? void 0 : item.user_score) !== null && (item === null || item === void 0 ? void 0 : item.user_score) >= 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9', - children: item === null || item === void 0 ? void 0 : item.user_score - }), " \u5206"] - }) - }), - // 实训题 ,答题 - (item === null || item === void 0 ? void 0 : item.question_type) == 5 && !((_answerData$exercise15 = answerData.exercise) !== null && _answerData$exercise15 !== void 0 && _answerData$exercise15.commit_status) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "primary", - className: "font14 ml20", - onClick: function onClick() { - return handleJoinShixun(item); - }, - children: "\u8FDB\u5165\u7B54\u9898" - }), - // 编程题 ,答题 - (item === null || item === void 0 ? void 0 : item.question_type) == 6 && !((_answerData$exercise16 = answerData.exercise) !== null && _answerData$exercise16 !== void 0 && _answerData$exercise16.commit_status) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - type: "primary", - className: "font14 ml20", - onClick: function onClick() { - return handleJoinProgram(item); - }, - children: "\u8FDB\u5165\u7B54\u9898" - })] - })] + }), (item === null || item === void 0 ? void 0 : item.question_type) < 3 && (item === null || item === void 0 ? void 0 : item.standard_answer_show) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "font16 ml20", + children: ["\u6B63\u786E\u7B54\u6848\uFF1A", item === null || item === void 0 ? void 0 : item.standard_answer_show] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (item === null || item === void 0 ? void 0 : item.user_score) !== null && (item === null || item === void 0 ? void 0 : item.user_score) >= 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9', + children: item === null || item === void 0 ? void 0 : item.user_score + }), " \u5206"] + }) + }), + // 实训题 ,答题 + (item === null || item === void 0 ? void 0 : item.question_type) == 5 && !((_answerData$exercise14 = answerData.exercise) !== null && _answerData$exercise14 !== void 0 && _answerData$exercise14.commit_status) && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + justify: "end", + className: "mt20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "primary", + className: ImitateAnswermodules.toIframeBtn, + onClick: function onClick() { + return handleJoinShixun(item); + }, + children: "\u8FDB\u5165\u7B54\u9898" + }) + }), + // 编程题 ,答题 + (item === null || item === void 0 ? void 0 : item.question_type) == 6 && !((_answerData$exercise15 = answerData.exercise) !== null && _answerData$exercise15 !== void 0 && _answerData$exercise15.commit_status) && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + justify: "end", + className: "mt20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "primary", + className: ImitateAnswermodules.toIframeBtn, + onClick: function onClick() { + return handleJoinProgram(item); + }, + children: "\u8FDB\u5165\u7B54\u9898" }) })] }); @@ -2976,32 +2111,19 @@ var Answer = function Answer(_ref) { return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num); }; var renderClassifyQuestion = function renderClassifyQuestion() { - var _answerData$exercise_7, _answerData$exercise_8, _answerData$exercise_9, _answerData$exercise_10, _answerData$exercise_11, _answerData$exercise_12, _answerData$exercise_13, _answerData$exercise_14, _answerData$exercise_15, _answerData$exercise_16, _answerData$exercise_17, _answerData$exercise_18, _answerData$exercise_19; - // const dom = answerData?.exercise_question_types?.map((er: any, index: number) => { - // return - //
- // {toChinesNum(index + 1)}、{er.name} - // (共{er.count}题;共{er.score}分) - //
- // {er.items?.map(function (item: any, i: number) { - // return - // {renderQuestion(item, i)} - // - // }) - // } - //
+ var _answerData$exercise_6, _answerData$exercise_7, _answerData$exercise_8, _answerData$exercise_9, _answerData$exercise_10, _answerData$exercise_11, _answerData$exercise_12, _answerData$exercise_13, _answerData$exercise_14, _answerData$exercise_15, _answerData$exercise_16, _answerData$exercise_17, _answerData$exercise_18; return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: "pt20", children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "font16 c-light-primary", - children: [toChinesNum(oneindex + 1), "\u3001", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_7 = answerData.exercise_question_types) === null || _answerData$exercise_7 === void 0 ? void 0 : (_answerData$exercise_8 = _answerData$exercise_7[oneindex]) === null || _answerData$exercise_8 === void 0 ? void 0 : _answerData$exercise_8.name] + className: ImitateAnswermodules.questionTypeTitle, + children: [toChinesNum(oneindex + 1), "\u3001", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_6 = answerData.exercise_question_types) === null || _answerData$exercise_6 === void 0 ? void 0 : (_answerData$exercise_7 = _answerData$exercise_6[oneindex]) === null || _answerData$exercise_7 === void 0 ? void 0 : _answerData$exercise_7.name] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "c-grey-999", - children: ["\uFF08\u5171", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_9 = answerData.exercise_question_types) === null || _answerData$exercise_9 === void 0 ? void 0 : (_answerData$exercise_10 = _answerData$exercise_9[oneindex]) === null || _answerData$exercise_10 === void 0 ? void 0 : _answerData$exercise_10.count, "\u9898\uFF1B", (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_11 = answerData.exercise_question_types) === null || _answerData$exercise_11 === void 0 ? void 0 : (_answerData$exercise_12 = _answerData$exercise_11[oneindex]) === null || _answerData$exercise_12 === void 0 ? void 0 : _answerData$exercise_12.question_type) === 7 ? "\u5305\u542B".concat(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_13 = answerData.exercise_question_types) === null || _answerData$exercise_13 === void 0 ? void 0 : (_answerData$exercise_14 = _answerData$exercise_13[oneindex]) === null || _answerData$exercise_14 === void 0 ? void 0 : _answerData$exercise_14.sub_questions_count, "\u5C0F\u9898") : '', " \u5171", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_15 = answerData.exercise_question_types) === null || _answerData$exercise_15 === void 0 ? void 0 : (_answerData$exercise_16 = _answerData$exercise_15[oneindex]) === null || _answerData$exercise_16 === void 0 ? void 0 : _answerData$exercise_16.score, "\u5206\uFF09"] + className: ImitateAnswermodules.questionTypeInfo, + children: ["\uFF08\u5171", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_8 = answerData.exercise_question_types) === null || _answerData$exercise_8 === void 0 ? void 0 : (_answerData$exercise_9 = _answerData$exercise_8[oneindex]) === null || _answerData$exercise_9 === void 0 ? void 0 : _answerData$exercise_9.count, "\u9898\uFF1B", (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_10 = answerData.exercise_question_types) === null || _answerData$exercise_10 === void 0 ? void 0 : (_answerData$exercise_11 = _answerData$exercise_10[oneindex]) === null || _answerData$exercise_11 === void 0 ? void 0 : _answerData$exercise_11.question_type) === 7 ? "\u5305\u542B".concat(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_12 = answerData.exercise_question_types) === null || _answerData$exercise_12 === void 0 ? void 0 : (_answerData$exercise_13 = _answerData$exercise_12[oneindex]) === null || _answerData$exercise_13 === void 0 ? void 0 : _answerData$exercise_13.sub_questions_count, "\u5C0F\u9898") : '', " \u5171", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_14 = answerData.exercise_question_types) === null || _answerData$exercise_14 === void 0 ? void 0 : (_answerData$exercise_15 = _answerData$exercise_14[oneindex]) === null || _answerData$exercise_15 === void 0 ? void 0 : _answerData$exercise_15.score, "\u5206\uFF09"] })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { - children: renderQuestion(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_17 = answerData.exercise_question_types) === null || _answerData$exercise_17 === void 0 ? void 0 : (_answerData$exercise_18 = _answerData$exercise_17[oneindex]) === null || _answerData$exercise_18 === void 0 ? void 0 : (_answerData$exercise_19 = _answerData$exercise_18.items) === null || _answerData$exercise_19 === void 0 ? void 0 : _answerData$exercise_19[twoindex], twoindex) + children: renderQuestion(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_16 = answerData.exercise_question_types) === null || _answerData$exercise_16 === void 0 ? void 0 : (_answerData$exercise_17 = _answerData$exercise_16[oneindex]) === null || _answerData$exercise_17 === void 0 ? void 0 : (_answerData$exercise_18 = _answerData$exercise_17.items) === null || _answerData$exercise_18 === void 0 ? void 0 : _answerData$exercise_18[twoindex], twoindex) }, twoindex)] }, oneindex); }; @@ -3019,304 +2141,227 @@ var Answer = function Answer(_ref) { src: iframeUrl, ref: iframe, frameBorder: "0" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "edu-container", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: "animated fadeIn", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "mt10", - children: [globalSetting.showHeaderFooter && params.coursesId !== 'coursesId' && /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, { - separator: ">", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/classrooms/".concat(params.coursesId, "/exercise"), - children: (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : (_user$userInfo$course = _user$userInfo.course) === null || _user$userInfo$course === void 0 ? void 0 : _user$userInfo$course.course_name - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/classrooms/".concat(params.coursesId, "/exercise"), - children: "\u8BD5\u5377" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail"), - children: "\u8BD5\u5377\u8BE6\u60C5" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.real_name - })] - }), globalSetting.showHeaderFooter && params.coursesId === 'coursesId' && /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, { - separator: ">", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/paperlibrary", - children: "\u8BD5\u5377\u5E93" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { - children: (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.real_name + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImitateAnswermodules.fixHeader, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + className: "edu-container", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(util/* StatusClassroomsTags */.VV, { + status: answerData !== null && answerData !== void 0 && (_answerData$exercise16 = answerData.exercise) !== null && _answerData$exercise16 !== void 0 && _answerData$exercise16.commit_status ? [util/* ExerciseStatus.4 */.ju[4]] : [util/* ExerciseStatus.99 */.ju[99]] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: "".concat(ImitateAnswermodules.title, " ml10"), + children: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise17 = answerData.exercise) === null || _answerData$exercise17 === void 0 ? void 0 : _answerData$exercise17.exercise_name + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + style: { + marginLeft: 'auto' + }, + children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise18 = answerData.exercise) === null || _answerData$exercise18 === void 0 ? void 0 : _answerData$exercise18.time) !== -1 && !(answerData !== null && answerData !== void 0 && (_answerData$exercise19 = answerData.exercise) !== null && _answerData$exercise19 !== void 0 && _answerData$exercise19.commit_status) && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "".concat(ImitateAnswermodules.countDown, " ").concat(countDownColor), + children: ["\u5269\u4F59\u7B54\u9898\u65F6\u957F", /*#__PURE__*/(0,jsx_runtime.jsx)(Countdown, { + value: time, + onFinish: handleFinishTime })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: [ImitateAnswermodules.title, 'mt10'].join(' '), - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: !(answerData !== null && answerData !== void 0 && (_answerData$exercise20 = answerData.exercise) !== null && _answerData$exercise20 !== void 0 && _answerData$exercise20.commit_status) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: ImitateAnswermodules.submitButton, style: { - width: "100%" + marginLeft: 30 }, - align: "middle", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: ImitateAnswermodules.title, - children: [(globalSetting === null || globalSetting === void 0 ? void 0 : globalSetting.showHeaderFooter) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: params.coursesId === 'coursesId' ? "/paperlibrary" : "/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail"), - children: /*#__PURE__*/(0,jsx_runtime.jsx)(ArrowLeftOutlined/* default */.Z, { - className: "font16 c-black" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { - className: "font24 ml5", - children: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise17 = answerData.exercise) === null || _answerData$exercise17 === void 0 ? void 0 : _answerData$exercise17.exercise_name - }), (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise18 = answerData.exercise) === null || _answerData$exercise18 === void 0 ? void 0 : _answerData$exercise18.is_random) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ImitateAnswermodules.randomFlag, - children: "\u968F\u673A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(util/* StatusClassroomsTags */.VV, { - status: [util/* ExerciseStatus.99 */.ju[99]] - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - style: { - display: 'flex' - }, - children: [(answerData === null || answerData === void 0 ? void 0 : (_answerData$user_scor = answerData.user_score) === null || _answerData$user_scor === void 0 ? void 0 : _answerData$user_scor.length) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: ["\u6A21\u62DF\u8003\u8BD5\u603B\u5F97\u5206\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-red", - children: answerData === null || answerData === void 0 ? void 0 : answerData.user_score - }), " \u5206"] - }), !!(answerData !== null && answerData !== void 0 && (_answerData$exercise19 = answerData.exercise) !== null && _answerData$exercise19 !== void 0 && _answerData$exercise19.time) && !(answerData !== null && answerData !== void 0 && (_answerData$exercise20 = answerData.exercise) !== null && _answerData$exercise20 !== void 0 && _answerData$exercise20.commit_status) && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "".concat(ImitateAnswermodules.countDown, " ").concat(countDownColor), - children: ["\u5269\u4F59\u65F6\u95F4:", /*#__PURE__*/(0,jsx_runtime.jsx)(Countdown, { - value: time, - onFinish: handleFinishTime - })] - }), !(answerData !== null && answerData !== void 0 && (_answerData$exercise21 = answerData.exercise) !== null && _answerData$exercise21 !== void 0 && _answerData$exercise21.commit_status) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: ImitateAnswermodules.submitButton, - style: { - marginLeft: 20 - }, - type: "primary", - onClick: function onClick() { - return handleVerifySave(false); - }, - children: "\u4EA4\u5377" - })] - })] + type: "primary", + onClick: function onClick() { + return handleVerifySave(false); + }, + children: "\u4EA4\u5377" }) })] - }), checkStatus.status === 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - className: "mt10", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: showAnswerCard ? "316px" : "16px", - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - style: { - position: "sticky", - top: 0, - zIndex: 1 - }, - children: [showCamera && /*#__PURE__*/(0,jsx_runtime.jsx)(CaptureVideo/* default */.Z, { - number: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise22 = answerData.exercise) === null || _answerData$exercise22 === void 0 ? void 0 : _answerData$exercise22.photo_count) - (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise23 = answerData.exercise) === null || _answerData$exercise23 === void 0 ? void 0 : _answerData$exercise23.take_photo), - time: (_answerData$exercise24 = answerData.exercise) === null || _answerData$exercise24 === void 0 ? void 0 : _answerData$exercise24.left_time, - update: initData, - supportCamera: function supportCamera(type) { - if (type === 2) { - initData(); - setOpenFullScreen(answerCheckData === null || answerCheckData === void 0 ? void 0 : answerCheckData.screen_open); - // window.onblur = function () { - // if (IsFull()) { - // exitFull() - // } - // }; - } else if (type === 1) { - setTimeout(function () { - return props.history.push("/"); - }, 3000); - } - } - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "relative", - style: { - minHeight: 236 - }, - children: [showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { - className: "bg-white p16", + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: "edu-container", + children: [checkStatus.status === 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: ImitateAnswermodules.mainPart, + wrap: false, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + flex: showAnswerCard ? "280px" : "0px", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImitateAnswermodules.leftPart, + children: [showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: "bg-white", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: ImitateAnswermodules.answerInfo, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "space-between", children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 8, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "font16 blod", - children: "\u7B54\u9898\u5361" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 16, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "tr", + children: "\u7B54\u9898\u8FDB\u5EA6" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: ImitateAnswermodules.answerProgress, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#165DFF' + }, + children: answerData === null || answerData === void 0 ? void 0 : (_answerData$question_4 = answerData.question_status) === null || _answerData$question_4 === void 0 ? void 0 : (_answerData$question_5 = _answerData$question_4.filter(function (val) { + return (val === null || val === void 0 ? void 0 : val.ques_status) === 1; + })) === null || _answerData$question_5 === void 0 ? void 0 : _answerData$question_5.length + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { style: { - display: 'flex', - alignItems: 'center', - justifyContent: 'end' + color: '#999999' }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: ImitateAnswermodules.answerYes - }), "\u5DF2\u7B54", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: ["/", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_19 = answerData.exercise_types) === null || _answerData$exercise_19 === void 0 ? void 0 : _answerData$exercise_19.q_counts] + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_progress/* default */.Z, { + strokeColor: "#165dffa6", + trailColor: "#0000000d", + percent: (answerData === null || answerData === void 0 ? void 0 : (_answerData$question_6 = answerData.question_status) === null || _answerData$question_6 === void 0 ? void 0 : (_answerData$question_7 = _answerData$question_6.filter(function (val) { + return (val === null || val === void 0 ? void 0 : val.ques_status) === 1; + })) === null || _answerData$question_7 === void 0 ? void 0 : _answerData$question_7.length) / (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_20 = answerData.exercise_types) === null || _answerData$exercise_20 === void 0 ? void 0 : _answerData$exercise_20.q_counts) * 100, + showInfo: false + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "c-grey-333", + children: ["\u5171 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - width: 13, - height: 13, - display: 'flex', - flexDirection: 'column-reverse' + color: '#165DFF' }, - className: "".concat(ImitateAnswermodules.answerNo, " ml10"), - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - height: '10%', - background: '#0152d9' - } - }) - }), "\u90E8\u5206\u7B54\u9898", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(ImitateAnswermodules.answerNo, " ml10") - }), "\u672A\u7B54"] - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: ImitateAnswermodules.answerInfo, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 12, - children: "\u7B54\u9898\u8FDB\u5EA6" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - span: 12, - className: "tr c-blue", - children: [answerData === null || answerData === void 0 ? void 0 : (_answerData$question_3 = answerData.question_status) === null || _answerData$question_3 === void 0 ? void 0 : (_answerData$question_4 = _answerData$question_3.filter(function (val) { - return (val === null || val === void 0 ? void 0 : val.ques_status) === 1; - })) === null || _answerData$question_4 === void 0 ? void 0 : _answerData$question_4.length, " / ", answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_20 = answerData.exercise_types) === null || _answerData$exercise_20 === void 0 ? void 0 : _answerData$exercise_20.q_counts] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - span: 24, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_progress/* default */.Z, { - trailColor: "#c3ced2", - percent: (answerData === null || answerData === void 0 ? void 0 : (_answerData$question_5 = answerData.question_status) === null || _answerData$question_5 === void 0 ? void 0 : (_answerData$question_6 = _answerData$question_5.filter(function (val) { - return (val === null || val === void 0 ? void 0 : val.ques_status) === 1; - })) === null || _answerData$question_6 === void 0 ? void 0 : _answerData$question_6.length) / (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_21 = answerData.exercise_types) === null || _answerData$exercise_21 === void 0 ? void 0 : _answerData$exercise_21.q_counts) * 100, - showInfo: false - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "c-grey-333", - children: ["\u5171 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-blue-4ca", - children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_22 = answerData.exercise_types) === null || _answerData$exercise_22 === void 0 ? void 0 : _answerData$exercise_22.q_counts) || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_23 = answerData.exercise_scores) === null || _answerData$exercise_23 === void 0 ? void 0 : (_answerData$exercise_24 = _answerData$exercise_23.exercise_types) === null || _answerData$exercise_24 === void 0 ? void 0 : _answerData$exercise_24.q_counts) - }), " \u9898\uFF1A"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - className: "c-grey-333", - children: ["\u6EE1\u5206 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-blue-4ca", - children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_25 = answerData.exercise_types) === null || _answerData$exercise_25 === void 0 ? void 0 : _answerData$exercise_25.q_scores) || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_26 = answerData.exercise_scores) === null || _answerData$exercise_26 === void 0 ? void 0 : (_answerData$exercise_27 = _answerData$exercise_26.exercise_types) === null || _answerData$exercise_27 === void 0 ? void 0 : _answerData$exercise_27.q_scores) - }), " \u5206"] - })] + children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_21 = answerData.exercise_types) === null || _answerData$exercise_21 === void 0 ? void 0 : _answerData$exercise_21.q_counts) || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_22 = answerData.exercise_scores) === null || _answerData$exercise_22 === void 0 ? void 0 : (_answerData$exercise_23 = _answerData$exercise_22.exercise_types) === null || _answerData$exercise_23 === void 0 ? void 0 : _answerData$exercise_23.q_counts) + }), " \u9898\uFF1A"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "c-grey-333", + children: ["\u6EE1\u5206 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#FA6400' + }, + children: (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_24 = answerData.exercise_types) === null || _answerData$exercise_24 === void 0 ? void 0 : _answerData$exercise_24.q_scores) || (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_25 = answerData.exercise_scores) === null || _answerData$exercise_25 === void 0 ? void 0 : (_answerData$exercise_26 = _answerData$exercise_25.exercise_types) === null || _answerData$exercise_26 === void 0 ? void 0 : _answerData$exercise_26.q_scores) + }), " \u5206"] })] }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { - flex: "1", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: ImitateAnswermodules.cardList, - children: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_28 = answerData.exercise_question_types) === null || _answerData$exercise_28 === void 0 ? void 0 : _answerData$exercise_28.map(function (er, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { - children: renderCardList(er, index) - }, er.question_type); - }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "1", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + className: ImitateAnswermodules.cardList, + children: answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_27 = answerData.exercise_question_types) === null || _answerData$exercise_27 === void 0 ? void 0 : _answerData$exercise_27.map(function (er, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { + children: renderCardList(er, index) + }, er.question_type); }) }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: ImitateAnswermodules.fold, - onClick: function onClick() { - return setShowAnswerCard(!showAnswerCard); - }, - children: [showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "icon-zuojiantou iconfont c-grey-c" - }), !showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "icon-youjiantou iconfont c-grey-c" - })] + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "space-around", + align: "middle", + className: ImitateAnswermodules.answerSheetBottom, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: ImitateAnswermodules.tooltipWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ImitateAnswermodules.answerYes + }), "\u5DF2\u7B54"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: ImitateAnswermodules.tooltipWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(ImitateAnswermodules.answerNo, " ml10"), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + height: '50%', + background: '#0152d9' + } + }) + }), "\u90E8\u5206\u7B54\u9898"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: ImitateAnswermodules.tooltipWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(ImitateAnswermodules.answerNo, " ml10") + }), "\u672A\u7B54"] })] })] - }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImitateAnswermodules.fold, + onClick: function onClick() { + return setShowAnswerCard(!showAnswerCard); + }, + children: [showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u6536\u8D77\u7B54\u9898\u5361", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "icon-zuojiantou iconfont c-grey-c" + }) + }), !showAnswerCard && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5C55\u5F00", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "icon-youjiantou iconfont c-grey-c" + }) + })] + })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { flex: "1", children: /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { - className: [ImitateAnswermodules.bg, 'pl30', 'pr30', 'pb30', 'mb50', 'ml20'].join(' '), + className: [ImitateAnswermodules.rightPart, 'pb30', 'ml20'].join(' '), children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - maxHeight: 600, - overflow: 'hidden auto' - }, + className: "".concat(ImitateAnswermodules.questionPart, " pl30 pr30"), children: renderClassifyQuestion() - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: 60, - textAlign: 'center' - }, - children: [(oneindex != 0 || twoindex != 0) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: "".concat(ImitateAnswermodules.submitButton, " mr10"), - type: "default", - onClick: function onClick() { - var _answerData$exercise25; - answerData.exercise_question_types[oneindex].items[twoindex].israp = false; - setAnswerData(objectSpread2_default()({}, answerData)); - if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise25 = answerData.exercise) === null || _answerData$exercise25 === void 0 ? void 0 : _answerData$exercise25.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { - var _answerData$exercise_29, _answerData$exercise_30, _answerData$exercise_31, _answerData$exercise_32; - if (!((_answerData$exercise_29 = answerData.exercise_question_types) !== null && _answerData$exercise_29 !== void 0 && (_answerData$exercise_30 = _answerData$exercise_29[oneindex]) !== null && _answerData$exercise_30 !== void 0 && (_answerData$exercise_31 = _answerData$exercise_30.items) !== null && _answerData$exercise_31 !== void 0 && (_answerData$exercise_32 = _answerData$exercise_31[twoindex]) !== null && _answerData$exercise_32 !== void 0 && _answerData$exercise_32.repeat_answer)) { - setisshowmodal(true); - settype(1); - return; + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + className: ImitateAnswermodules.bottom, + align: "middle", + justify: "end", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [(oneindex != 0 || twoindex != 0) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: "".concat(ImitateAnswermodules.changeButton, " mr20"), + type: "default", + onClick: function onClick() { + var _answerData$exercise21; + answerData.exercise_question_types[oneindex].items[twoindex].israp = false; + setAnswerData(objectSpread2_default()({}, answerData)); + if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise21 = answerData.exercise) === null || _answerData$exercise21 === void 0 ? void 0 : _answerData$exercise21.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { + var _answerData$exercise_28, _answerData$exercise_29, _answerData$exercise_30, _answerData$exercise_31; + if (!((_answerData$exercise_28 = answerData.exercise_question_types) !== null && _answerData$exercise_28 !== void 0 && (_answerData$exercise_29 = _answerData$exercise_28[oneindex]) !== null && _answerData$exercise_29 !== void 0 && (_answerData$exercise_30 = _answerData$exercise_29.items) !== null && _answerData$exercise_30 !== void 0 && (_answerData$exercise_31 = _answerData$exercise_30[twoindex]) !== null && _answerData$exercise_31 !== void 0 && _answerData$exercise_31.repeat_answer)) { + setisshowmodal(true); + settype(1); + return; + } } - } - if (twoindex === 0) { - oneindex -= 1; - twoindex = answerData.exercise_question_types[oneindex].items.length - 1; - } else { - twoindex -= 1; - } - setoneindex(oneindex); - settwoindex(twoindex); - // initData(); - }, - children: "\u4E0A\u4E00\u9898" - }), !(oneindex === (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_33 = answerData.exercise_question_types) === null || _answerData$exercise_33 === void 0 ? void 0 : _answerData$exercise_33.length) - 1 && twoindex === (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_34 = answerData.exercise_question_types) === null || _answerData$exercise_34 === void 0 ? void 0 : (_answerData$exercise_35 = _answerData$exercise_34[oneindex]) === null || _answerData$exercise_35 === void 0 ? void 0 : (_answerData$exercise_36 = _answerData$exercise_35.items) === null || _answerData$exercise_36 === void 0 ? void 0 : _answerData$exercise_36.length) - 1) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - className: ImitateAnswermodules.submitButton, - type: "primary", - onClick: function onClick() { - var _answerData$exercise26; - answerData.exercise_question_types[oneindex].items[twoindex].israp = false; - setAnswerData(objectSpread2_default()({}, answerData)); - if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise26 = answerData.exercise) === null || _answerData$exercise26 === void 0 ? void 0 : _answerData$exercise26.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { - var _answerData$exercise_37, _answerData$exercise_38, _answerData$exercise_39, _answerData$exercise_40; - if (!((_answerData$exercise_37 = answerData.exercise_question_types) !== null && _answerData$exercise_37 !== void 0 && (_answerData$exercise_38 = _answerData$exercise_37[oneindex]) !== null && _answerData$exercise_38 !== void 0 && (_answerData$exercise_39 = _answerData$exercise_38.items) !== null && _answerData$exercise_39 !== void 0 && (_answerData$exercise_40 = _answerData$exercise_39[twoindex]) !== null && _answerData$exercise_40 !== void 0 && _answerData$exercise_40.repeat_answer)) { - setisshowmodal(true); - settype(2); - return; + if (twoindex === 0) { + oneindex -= 1; + twoindex = answerData.exercise_question_types[oneindex].items.length - 1; + } else { + twoindex -= 1; } - } - if (answerData.exercise_question_types[oneindex].items.length - 1 === twoindex) { - oneindex = oneindex + 1; - twoindex = 0; - } else { - twoindex = twoindex + 1; - } - setoneindex(oneindex); - settwoindex(twoindex); - // initData(); - }, - children: "\u4E0B\u4E00\u9898" - })] + setoneindex(oneindex); + settwoindex(twoindex); + }, + children: "\u4E0A\u4E00\u9898" + }), !(oneindex === (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_32 = answerData.exercise_question_types) === null || _answerData$exercise_32 === void 0 ? void 0 : _answerData$exercise_32.length) - 1 && twoindex === (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise_33 = answerData.exercise_question_types) === null || _answerData$exercise_33 === void 0 ? void 0 : (_answerData$exercise_34 = _answerData$exercise_33[oneindex]) === null || _answerData$exercise_34 === void 0 ? void 0 : (_answerData$exercise_35 = _answerData$exercise_34.items) === null || _answerData$exercise_35 === void 0 ? void 0 : _answerData$exercise_35.length) - 1) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: ImitateAnswermodules.changeButton, + type: "primary", + onClick: function onClick() { + var _answerData$exercise22; + answerData.exercise_question_types[oneindex].items[twoindex].israp = false; + setAnswerData(objectSpread2_default()({}, answerData)); + if (!ischecked && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise22 = answerData.exercise) === null || _answerData$exercise22 === void 0 ? void 0 : _answerData$exercise22.user_exercise_status) === 0 && (0,authority/* isStudent */.dE)()) { + var _answerData$exercise_36, _answerData$exercise_37, _answerData$exercise_38, _answerData$exercise_39; + if (!((_answerData$exercise_36 = answerData.exercise_question_types) !== null && _answerData$exercise_36 !== void 0 && (_answerData$exercise_37 = _answerData$exercise_36[oneindex]) !== null && _answerData$exercise_37 !== void 0 && (_answerData$exercise_38 = _answerData$exercise_37.items) !== null && _answerData$exercise_38 !== void 0 && (_answerData$exercise_39 = _answerData$exercise_38[twoindex]) !== null && _answerData$exercise_39 !== void 0 && _answerData$exercise_39.repeat_answer)) { + setisshowmodal(true); + settype(2); + return; + } + } + if (answerData.exercise_question_types[oneindex].items.length - 1 === twoindex) { + oneindex = oneindex + 1; + twoindex = 0; + } else { + twoindex = twoindex + 1; + } + setoneindex(oneindex); + settwoindex(twoindex); + }, + children: "\u4E0B\u4E00\u9898" + })] + }) })] }) }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, { @@ -3405,284 +2450,15 @@ var Answer = function Answer(_ref) { })] }); }; -/* harmony default export */ var ImitateAnswer = ((0,_umi_production_exports.connect)(function (_ref12) { - var loading = _ref12.loading, - user = _ref12.user, - globalSetting = _ref12.globalSetting; +/* harmony default export */ var ImitateAnswer = ((0,_umi_production_exports.connect)(function (_ref13) { + var loading = _ref13.loading, + user = _ref13.user; return { - globalSetting: globalSetting, user: user, loading: loading.effects }; })(Answer)); -/***/ }), - -/***/ 58492: -/*!**************************************************************!*\ - !*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***! - \**************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ breadcrumb; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(74902); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js -var toArray = __webpack_require__(50344); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules -var menu = __webpack_require__(66516); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js -var reactNode = __webpack_require__(96159); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js -var DownOutlined = __webpack_require__(13622); -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules -var dropdown = __webpack_require__(18562); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - -var BreadcrumbItem = function BreadcrumbItem(props) { - var customizePrefixCls = props.prefixCls, - _props$separator = props.separator, - separator = _props$separator === void 0 ? '/' : _props$separator, - children = props.children, - menu = props.menu, - overlay = props.overlay, - dropdownProps = props.dropdownProps, - restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); - // Warning for deprecated usage - if (false) {} - /** If overlay is have Wrap a Dropdown */ - var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) { - if (menu || overlay) { - return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({ - menu: menu, - overlay: overlay, - placement: "bottom" - }, dropdownProps), /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-overlay-link") - }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); - } - return breadcrumbItem; - }; - var link; - if ('href' in restProps) { - link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({ - className: "".concat(prefixCls, "-link") - }, restProps), children); - } else { - link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ - className: "".concat(prefixCls, "-link") - }, restProps), children); - } - // wrap to dropDown - link = renderBreadcrumbNode(link); - if (children !== undefined && children !== null) { - return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-separator") - }, separator)); - } - return null; -}; -BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; -/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js - - -var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) { - var children = _ref.children; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var prefixCls = getPrefixCls('breadcrumb'); - return /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-separator") - }, children || '/'); -}; -BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; -/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js - - - -var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - -function getBreadcrumbName(route, params) { - if (!route.breadcrumbName) { - return null; - } - var paramsKeys = Object.keys(params).join('|'); - var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) { - return params[key] || replacement; - }); - return name; -} -function defaultItemRender(route, params, routes, paths) { - var isLastItem = routes.indexOf(route) === routes.length - 1; - var name = getBreadcrumbName(route, params); - return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", { - href: "#/".concat(paths.join('/')) - }, name); -} -var getPath = function getPath(path, params) { - path = (path || '').replace(/^\//, ''); - Object.keys(params).forEach(function (key) { - path = path.replace(":".concat(key), params[key]); - }); - return path; -}; -var addChildPath = function addChildPath(paths, childPath, params) { - var originalPaths = (0,toConsumableArray/* default */.Z)(paths); - var path = getPath(childPath || '', params); - if (path) { - originalPaths.push(path); - } - return originalPaths; -}; -var Breadcrumb = function Breadcrumb(_a) { - var customizePrefixCls = _a.prefixCls, - _a$separator = _a.separator, - separator = _a$separator === void 0 ? '/' : _a$separator, - style = _a.style, - className = _a.className, - routes = _a.routes, - children = _a.children, - _a$itemRender = _a.itemRender, - itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender, - _a$params = _a.params, - params = _a$params === void 0 ? {} : _a$params, - restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var crumbs; - var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); - if (routes && routes.length > 0) { - // generated by route - var paths = []; - crumbs = routes.map(function (route) { - var path = getPath(route.path, params); - if (path) { - paths.push(path); - } - // generated overlay by route.children - var overlay; - if (route.children && route.children.length) { - overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, { - items: route.children.map(function (child) { - return { - key: child.path || child.breadcrumbName, - label: itemRender(child, params, routes, addChildPath(paths, child.path, params)) - }; - }) - }); - } - var itemProps = { - separator: separator - }; - if (overlay) { - itemProps.overlay = overlay; - } - return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, { - key: path || route.breadcrumbName - }), itemRender(route, params, routes, paths)); - }); - } else if (children) { - crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) { - if (!element) { - return element; - } - false ? 0 : void 0; - return (0,reactNode/* cloneElement */.Tm)(element, { - separator: separator, - key: index - }); - }); - } - var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className); - return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({ - className: breadcrumbClassName, - style: style - }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs)); -}; -Breadcrumb.Item = breadcrumb_BreadcrumbItem; -Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; -/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js - -/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); - -/***/ }), - -/***/ 63102: -/*!********************************************************************!*\ - !*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***! - \********************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules -var style = __webpack_require__(68018); -// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules -var menu_style = __webpack_require__(83736); -;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js - - -// style dependencies - - - /***/ }), /***/ 19575: @@ -3923,16 +2699,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* })); -/***/ }), - -/***/ 42480: -/*!************************!*\ - !*** crypto (ignored) ***! - \************************/ -/***/ (function() { - -/* (ignored) */ - /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__ImitateAnswer__index.chunk.css b/p__Classrooms__Lists__Exercise__ImitateAnswer__index.chunk.css index 427ec8855c..aa5692345d 100644 --- a/p__Classrooms__Lists__Exercise__ImitateAnswer__index.chunk.css +++ b/p__Classrooms__Lists__Exercise__ImitateAnswer__index.chunk.css @@ -1,82 +1,195 @@ -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/progress/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-breadcrumb { +.ant-progress { box-sizing: border-box; margin: 0; padding: 0; color: rgba(0, 0, 0, 0.85); + font-size: 12px; font-variant: tabular-nums; line-height: 1.66667; list-style: none; font-feature-settings: tnum, "tnum"; - color: rgba(0, 0, 0, 0.45); - font-size: 12px; + display: inline-block; } -.ant-breadcrumb .anticon { +.ant-progress-line { + position: relative; + width: 100%; font-size: 12px; } -.ant-breadcrumb ol { +.ant-progress-steps { + display: inline-block; +} +.ant-progress-steps-outer { display: flex; - flex-wrap: wrap; - margin: 0; - padding: 0; - list-style: none; + flex-direction: row; + align-items: center; } -.ant-breadcrumb a { - color: rgba(0, 0, 0, 0.45); - transition: color 0.3s; +.ant-progress-steps-item { + flex-shrink: 0; + min-width: 2px; + margin-right: 2px; + background: #f3f3f3; + transition: all 0.3s; } -.ant-breadcrumb a:hover { - color: rgba(0, 0, 0, 0.85); +.ant-progress-steps-item-active { + background: #1890ff; } -.ant-breadcrumb li:last-child { - color: rgba(0, 0, 0, 0.85); +.ant-progress-small.ant-progress-line, +.ant-progress-small.ant-progress-line .ant-progress-text .anticon { + font-size: 12px; } -.ant-breadcrumb li:last-child a { - color: rgba(0, 0, 0, 0.85); +.ant-progress-outer { + display: inline-block; + width: 100%; + margin-right: 0; + padding-right: 0; } -li:last-child > .ant-breadcrumb-separator { - display: none; +.ant-progress-show-info .ant-progress-outer { + margin-right: calc(-2em - 8px); + padding-right: calc(2em + 8px); } -.ant-breadcrumb-separator { - margin: 0 4px; - color: rgba(0, 0, 0, 0.45); +.ant-progress-inner { + position: relative; + display: inline-block; + width: 100%; + overflow: hidden; + vertical-align: middle; + background-color: #f5f5f5; + border-radius: 100px; } -.ant-breadcrumb-link > .anticon + span, -.ant-breadcrumb-link > .anticon + a { - margin-left: 4px; +.ant-progress-circle-trail { + stroke: #f5f5f5; } -.ant-breadcrumb-overlay-link > .anticon { - margin-left: 4px; +.ant-progress-circle-path { + animation: ant-progress-appear 0.3s; } -.ant-breadcrumb-rtl { - direction: rtl; +.ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path { + stroke: #1890ff; } -.ant-breadcrumb-rtl::before { - display: table; - content: ''; +.ant-progress-success-bg, +.ant-progress-bg { + position: relative; + background-color: #1890ff; + border-radius: 100px; + transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s; } -.ant-breadcrumb-rtl::after { - display: table; - clear: both; +.ant-progress-success-bg { + position: absolute; + top: 0; + left: 0; + background-color: #52c41a; +} +.ant-progress-text { + display: inline-block; + width: 2em; + margin-left: 8px; + color: rgba(0, 0, 0, 0.85); + font-size: 1em; + line-height: 1; + white-space: nowrap; + text-align: left; + vertical-align: middle; + word-break: normal; +} +.ant-progress-text .anticon { + font-size: 12px; +} +.ant-progress-status-active .ant-progress-bg::before { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: #fff; + border-radius: 10px; + opacity: 0; + animation: ant-progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite; content: ''; } -.ant-breadcrumb-rtl > span { - float: right; +.ant-progress-status-exception .ant-progress-bg { + background-color: #ff4d4f; } -.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span, -.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a { - margin-right: 4px; - margin-left: 0; +.ant-progress-status-exception .ant-progress-text { + color: #ff4d4f; } -.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon { - margin-right: 4px; +.ant-progress-status-exception .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path { + stroke: #ff4d4f; +} +.ant-progress-status-success .ant-progress-bg { + background-color: #52c41a; +} +.ant-progress-status-success .ant-progress-text { + color: #52c41a; +} +.ant-progress-status-success .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path { + stroke: #52c41a; +} +.ant-progress-circle .ant-progress-inner { + position: relative; + line-height: 1; + background-color: transparent; +} +.ant-progress-circle .ant-progress-text { + position: absolute; + top: 50%; + left: 50%; + width: 100%; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 0.833333em; + line-height: 1; + white-space: normal; + text-align: center; + transform: translate(-50%, -50%); +} +.ant-progress-circle .ant-progress-text .anticon { + font-size: 1.16666667em; +} +.ant-progress-circle.ant-progress-status-exception .ant-progress-text { + color: #ff4d4f; +} +.ant-progress-circle.ant-progress-status-success .ant-progress-text { + color: #52c41a; +} +@keyframes ant-progress-active { + 0% { + transform: translateX(-100%) scaleX(0); + opacity: 0.1; + } + 20% { + transform: translateX(-100%) scaleX(0); + opacity: 0.5; + } + 100% { + transform: translateX(0) scaleX(1); + opacity: 0; + } +} +.ant-progress-rtl { + direction: rtl; +} +.ant-progress-rtl.ant-progress-show-info .ant-progress-outer { + margin-right: 0; + margin-left: calc(-2em - 8px); + padding-right: 0; + padding-left: calc(2em + 8px); +} +.ant-progress-rtl .ant-progress-success-bg { + right: 0; + left: auto; +} +.ant-progress-rtl.ant-progress-line .ant-progress-text, +.ant-progress-rtl.ant-progress-steps .ant-progress-text { + margin-right: 8px; margin-left: 0; + text-align: right; } /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ @@ -431,56 +544,6 @@ li:last-child > .ant-breadcrumb-separator { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/CaptureVideo/index.less?modules ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___kVqBh { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___FMnNq { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___meESe { - align-items: center; - box-align: center; -} -.flex_box_center_end___KFpOb { - 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___GHIK9 { - flex-direction: column; - box-orient: block-axis; -} -.video___nn_cD { - min-height: 160px; - background: white; - text-align: center; - padding: 14px; - margin-bottom: 20px; - font-size: 0; -} -.video___nn_cD span { - font-size: 16px; - text-align: center; - color: #ccc; - padding-top: 50px; - display: inline-block; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Exercise/index.less?modules ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -565,20 +628,16 @@ li:last-child > .ant-breadcrumb-separator { flex-direction: column; box-orient: block-axis; } -.bg___MN8xj { - background: white; +.baseMargin___V_l7f { + margin-left: 62px; } -.title___h5yRx { - display: box; - display: flex; - align-items: center; - box-align: center; -} -.title___h5yRx strong { - color: #333; +.noWrap___ZcvYB { + white-space: nowrap; } -.title___h5yRx [class~='tag-style'] { - vertical-align: bottom; +.singleItem___vjYWR { + border-radius: 2px; + border: 1px solid #CCCCCC; + padding: 20px 15px 0 15px; } .questionIcons___kiVRR [class~='ant-anchor-link'] { display: inline; @@ -755,9 +814,6 @@ li:last-child > .ant-breadcrumb-separator { background: #cbcbcb; color: #fff; } -.questionItem___Yg7y3 { - border-bottom: 1px solid #ebebeb; -} .questionItem___Yg7y3 [class~='ant-checkbox-group'] { width: 100%; } @@ -767,21 +823,27 @@ li:last-child > .ant-breadcrumb-separator { .questionItem___Yg7y3 [class~='ant-checkbox-wrapper'] { margin-right: 5px; display: flex; - align-items: flex-start; + align-items: baseline; } .questionItem___Yg7y3 [class~='ant-checkbox'] + span { display: inline-flex; } .questionItem___Yg7y3 [class~='ant-checkbox'] + span [class~='mr3'] { - line-height: 1; flex-shrink: 0; } .questionItem___Yg7y3 [class~='ant-checkbox'] + span [class~='markdown-body'] { position: relative; - top: -7px; } -.itemType___zMAIQ { - padding: 20px 5px; +.questionItem___Yg7y3 .questionScore___hGLaV { + background: rgba(236, 236, 236, 0.6); + border-radius: 2px; + width: 52px; + height: 25px; + white-space: nowrap; + display: flex; + align-items: center; + justify-content: center; + flex-shrink: 0; } .itemFlag___KI4Jb { padding: 0px 10px; @@ -793,7 +855,7 @@ li:last-child > .ant-breadcrumb-separator { font-size: 14px; } .answerWrap___CETMI { - padding: 10px 0px; + margin-bottom: 40px; } .answerSubjective____A1OC { width: 100%; @@ -817,10 +879,6 @@ li:last-child > .ant-breadcrumb-separator { border-bottom: 1px solid #eee !important; background: #f8f8f8 !important; } -.submitButton___ATddm { - width: 130px; - height: 40px; -} .randomFlag___mId_V { width: 68px; height: 24px; @@ -899,21 +957,21 @@ li:last-child > .ant-breadcrumb-separator { margin-right: 4px; } .answerNo___aNG_f { - width: 12px; - height: 12px; + width: 13px; + height: 13px; border: 1px solid rgba(0, 0, 0, 0.15); color: #fff; - display: inline-block; + display: flex; + flex-direction: column-reverse; margin-right: 4px; } .answerInfo___af0Ma { - background: rgba(230, 247, 255, 0.6); - border-radius: 2px; - border: 1px solid rgba(145, 213, 255, 0.6); - padding: 8px; font-size: 12px; - margin-bottom: 17px; - margin-top: 12px; + margin-bottom: 20px; + padding: 20px; +} +.answerInfo___af0Ma .answerProgress___h6he7 { + font-weight: 500; } .answerSheet___ojXFi { font-size: 0; @@ -939,6 +997,10 @@ li:last-child > .ant-breadcrumb-separator { position: relative; cursor: pointer; } +.answerSheet___ojXFi li .qindex___Fx51y { + position: relative; + z-index: 1; +} .answerSheet___ojXFi li:hover { border-color: #0152d9; color: #0152d9; @@ -947,23 +1009,35 @@ li:last-child > .ant-breadcrumb-separator { background: #0152d9; color: #fff; } +.answerSheet___ojXFi li.partialActive___UsoA4 { + background: #EEEEEE; + color: #fff; +} +.answerSheetBottom___Lh0Ny { + background: #FFFFFF; + box-shadow: 0px -2px 4px 0px #EAEEF4; + height: 40px; + display: flex; + position: absolute; + bottom: 0; + width: 100%; + align-items: center; + z-index: 5; +} .countDown___W4ClT { - width: 162px; - height: 32px; - background: #ffffff; - border: 1px solid #23c073; - color: #23c073; + color: #37AD83; text-align: center; - line-height: 32px; font-size: 14px; - border-radius: 32px; + display: flex; + align-items: center; } .countDown___W4ClT [class~='ant-statistic'] { - display: inline-block; + margin-left: 10px; } .countDown___W4ClT [class~='ant-statistic-content'] { - color: #23c073; - font-size: 14px; + color: #37AD83; + font-size: 20px; + font-weight: 500; } .countDown___W4ClT.red___RSej4 { color: red; @@ -1010,7 +1084,8 @@ li:last-child > .ant-breadcrumb-separator { border-top: 10px solid #fff; } .cardList___Bd4OZ { - max-height: calc(100vh - 220px); + height: calc(88vh - 120px); + padding: 20px 20px 160px 20px; overflow: auto; } .iframe___kQjBw { @@ -1026,6 +1101,82 @@ li:last-child > .ant-breadcrumb-separator { display: none; background: #fff; } +.mainPart___aRRl1 { + margin-top: 84px; +} +.mainPart___aRRl1 .tooltipWrap___FJod3 { + display: flex; + align-items: center; +} +.mainPart___aRRl1 .leftPart___f5dDH { + height: 88vh; + overflow: hidden; + position: relative; +} +.mainPart___aRRl1 .rightPart___M7fOP { + height: 88vh; + background-color: #fff; + overflow: hidden; + position: relative; +} +.mainPart___aRRl1 .rightPart___M7fOP .questionPart___HlX7z { + overflow: auto; + height: inherit; + padding-bottom: 68px; +} +.mainPart___aRRl1 .rightPart___M7fOP .questionPart___HlX7z .questionTypeTitle___RRn2_ { + font-size: 16px; + font-weight: 600; + color: #000000; +} +.mainPart___aRRl1 .rightPart___M7fOP .questionPart___HlX7z .questionTypeInfo___a3Iny { + font-size: 16px; + font-weight: 400; + color: #464F66; +} +.mainPart___aRRl1 .rightPart___M7fOP .questionPart___HlX7z .toIframeBtn___PH9eF { + width: 92px; + height: 36px; +} +.mainPart___aRRl1 .rightPart___M7fOP .bottom___slps3 { + height: 64px; + width: 100%; + position: absolute; + bottom: 0; + box-shadow: 0px -2px 8px 0px #F1F1F1; + padding: 0 30px; + background-color: #fff; + z-index: 100; +} +.mainPart___aRRl1 .rightPart___M7fOP .changeButton___YjNWr { + width: 118px; + height: 38px; + border-radius: 2px; +} +.fixHeader___Jjypd { + position: fixed; + top: 0; + width: 100%; + height: 64px; + background: #FFFFFF; + box-shadow: 0px 2px 4px 0px #EAEEF4; + display: flex; + align-items: stretch; +} +.fixHeader___Jjypd .title___h5yRx { + font-size: 18px; + font-weight: 600; + color: #333333; + max-width: 500px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.fixHeader___Jjypd .submitButton___ATddm { + width: 88px; + height: 38px; + border-radius: 4px; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ @@ -1211,6 +1362,52 @@ li:last-child > .ant-breadcrumb-separator { right: 10px; top: 6px; } +.fill___gz7tU { + margin-bottom: 40px; +} +.fill___gz7tU .index___eoHnJ { + font-size: 14px; + color: #666666; +} +.fill___gz7tU .success___vcRmo { + color: #00C21E; +} +.fill___gz7tU .fail___u5yz8 { + color: #FA6400; +} +.fill___gz7tU .fillInput___ras_5 { + height: 46px; +} +.shixunWrapper___jNj55 { + border-radius: 2px; + border: 1px solid #CCCCCC; + padding: 10px 20px 90px 15px; + margin-left: 62px; +} +.shixunWrapper___jNj55 .score___gt155 { + font-size: 14px; + color: #999999; +} +.shixunWrapper___jNj55 .name___BgNAP { + font-size: 14px; + color: #333333; + margin-left: 6px; +} +.programWrapper___lMcxv { + margin-left: 62px; +} +.programWrapper___lMcxv .desc___ODeOH { + font-size: 14px; + color: #666666; + margin-bottom: 14px; +} +.programWrapper___lMcxv .content___RoL0o { + border-radius: 2px; + border: 1px solid #CCCCCC; + max-height: 300px; + overflow: auto; + padding: 10px 15px; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ diff --git a/p__Classrooms__Lists__Exercise__Notice__index.async.js b/p__Classrooms__Lists__Exercise__Notice__index.async.js new file mode 100644 index 0000000000..d798b2f814 --- /dev/null +++ b/p__Classrooms__Lists__Exercise__Notice__index.async.js @@ -0,0 +1,560 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[17482],{ + +/***/ 48559: +/*!**********************************************!*\ + !*** ./src/components/AsyncButton/index.tsx ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ AsyncButton; } +/* 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 antd_es_button_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/button/style */ 29913); +/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd/es/button */ 71577); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __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_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js */ 70215); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + +var _excluded = ["children"]; + + +var AsyncButton = function AsyncButton(_ref) { + var children = _ref.children, + props = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5___default()(_ref, _excluded); + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false), + _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default()(_useState, 2), + btnLoading = _useState2[0], + setBtnLoading = _useState2[1]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(antd_es_button__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()({}, props), {}, { + loading: btnLoading, + onClick: /*#__PURE__*/function () { + var _ref2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().mark(function _callee(e) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + setBtnLoading(true); + _context.next = 4; + return props.onClick(e); + case 4: + setBtnLoading(false); + _context.next = 11; + break; + case 7: + _context.prev = 7; + _context.t0 = _context["catch"](0); + console.error(_context.t0); + setBtnLoading(false); + case 11: + case "end": + return _context.stop(); + } + }, _callee, null, [[0, 7]]); + })); + return function (_x) { + return _ref2.apply(this, arguments); + }; + }(), + children: children + })); +}; + +/***/ }), + +/***/ 48073: +/*!**************************************************************************!*\ + !*** ./src/pages/Classrooms/Lists/Exercise/Notice/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 */ Exercise_Notice; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/style/index.js + 1 modules +var style = __webpack_require__(61099); +// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 11 modules +var skeleton = __webpack_require__(73481); +// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules +var button_style = __webpack_require__(29913); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules +var breadcrumb_style = __webpack_require__(63102); +// EXTERNAL MODULE: ./node_modules/antd/es/breadcrumb/index.js + 3 modules +var breadcrumb = __webpack_require__(58492); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/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/antd/es/row/style/index.js +var row_style = __webpack_require__(13062); +// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js +var row = __webpack_require__(71230); +// EXTERNAL MODULE: ./node_modules/antd/es/col/style/index.js +var col_style = __webpack_require__(89032); +// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js +var col = __webpack_require__(15746); +// 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/Classrooms/Lists/Exercise/Notice/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Noticemodules = ({"bg":"bg___YVx48","title":"title___NM3xC","textOverflow":"textOverflow___gz3GM","wrap":"wrap___if0Ln","infoTitle":"infoTitle___dk7YF","infoValue":"infoValue___kBWqL","itemTitle":"itemTitle___WP88A","circle":"circle___Rq79V","warnText":"warnText___cpZS0","greyText":"greyText___erT_A","linkText":"linkText___YWy1z","num":"num___Dq7FU","fixBottom":"fixBottom___WHsNA","backBtn":"backBtn___swiNH","enterBtn":"enterBtn___pk16U"}); +// EXTERNAL MODULE: ./src/service/exercise.ts +var exercise = __webpack_require__(51412); +// EXTERNAL MODULE: ./src/components/AsyncButton/index.tsx +var AsyncButton = __webpack_require__(48559); +// 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/Classrooms/Lists/Exercise/Notice/index.tsx + + + + + + + + + + + + + + + + + + + + + +var DescriptionItem = function DescriptionItem(_ref) { + var title = _ref.title, + content = _ref.content; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mb20", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + style: { + marginBottom: 12 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "20px", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Noticemodules.circle + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: title + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + className: "pl20", + children: content + })] + }); +}; +var Notice = function Notice(_ref2) { + var _user$userInfo, _user$userInfo$course, _user$userInfo2; + var user = _ref2.user, + dispatch = _ref2.dispatch, + globalSetting = _ref2.globalSetting; + var params = (0,_umi_production_exports.useParams)(); + var _useState = (0,react.useState)(), + _useState2 = slicedToArray_default()(_useState, 2), + detail = _useState2[0], + setDetail = _useState2[1]; + var _useState3 = (0,react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + loading = _useState4[0], + setLoading = _useState4[1]; + (0,react.useEffect)(function () { + dispatch({ + type: 'globalSetting/footerToggle', + payload: false + }); + }, []); + (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: + setLoading(true); + _context.next = 3; + return (0,exercise/* getWorkSetting */.Ul)(params); + case 3: + res = _context.sent; + setLoading(false); + if (!res.status) { + setDetail(res); + } + case 6: + case "end": + return _context.stop(); + } + }, _callee); + }))(); + }, []); + var _ref4 = (detail === null || detail === void 0 ? void 0 : detail.exercise) || {}, + exercise_name = _ref4.exercise_name, + time = _ref4.time, + student_id = _ref4.student_id, + screen_open = _ref4.screen_open, + screen_num = _ref4.screen_num, + screen_sec = _ref4.screen_sec, + real_name = _ref4.real_name, + id = _ref4.id, + open_camera = _ref4.open_camera, + inner_ip = _ref4.inner_ip, + public_ip = _ref4.public_ip, + ip_limit = _ref4.ip_limit, + ip_bind = _ref4.ip_bind, + open_phone_video_recording = _ref4.open_phone_video_recording, + identity_verify = _ref4.identity_verify, + user_permission = _ref4.user_permission, + total_score = _ref4.total_score, + question_type_count = _ref4.question_type_count, + question_count = _ref4.question_count; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Noticemodules.bg, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "edu-container", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "pt10", + children: globalSetting.showHeaderFooter && /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, { + separator: ">", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "/classrooms/".concat(params.coursesId, "/exercise"), + children: (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : (_user$userInfo$course = _user$userInfo.course) === null || _user$userInfo$course === void 0 ? void 0 : _user$userInfo$course.course_name + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "/classrooms/".concat(params.coursesId, "/exercise"), + children: "\u8BD5\u5377" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "/classrooms/".concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail"), + children: "\u8BD5\u5377\u8BE6\u60C5" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default.Item */.Z.Item, { + children: (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.real_name + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Noticemodules.wrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, { + loading: loading, + active: true, + className: "mt20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Noticemodules.title, + children: exercise_name + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "center", + gutter: 30, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.infoTitle, + children: "\u5927\u9898\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.infoValue, + children: question_type_count + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.infoTitle, + children: "\u5C0F\u9898\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.infoValue, + children: question_count + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.infoTitle, + children: "\u6EE1\u5206" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: Noticemodules.infoValue, + children: [total_score, "\u5206"] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.infoTitle, + children: "\u8003\u8BD5\u65F6\u957F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.infoValue, + children: time === -1 ? '不限时长' : "".concat(time, "\u5206\u949F") + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb20", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "20px", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-dangqiankaoshengxinxi font14", + style: { + color: '#3061D0' + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Noticemodules.itemTitle, + children: "\u5F53\u524D\u8003\u751F\u4FE1\u606F" + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb30 pl20", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + flex: "190px", + className: "mr20 ".concat(Noticemodules.textOverflow), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.infoTitle, + children: "\u59D3\u540D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: real_name + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.infoTitle, + children: "\u5B66\u53F7" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: student_id || '--' + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb20", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "20px", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-chengxinkaoshishengming font14", + style: { + color: '#3061D0' + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Noticemodules.itemTitle, + children: "\u8BDA\u4FE1\u8003\u8BD5\u58F0\u660E" + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mb30 pl20", + children: "\u8003\u751F\u5728\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u5E94\u81EA\u89C9\u9075\u5B88\u8003\u8BD5\u7EAA\u5F8B\uFF0C\u8BDA\u4FE1\u5E94\u8003\uFF0C\u62D2\u7EDD\u4F5C\u5F0A\u884C\u4E3A\uFF0C\u4FDD\u6301\u826F\u597D\u8003\u8BD5\u79E9\u5E8F\u3002\u5B9E\u65BD\u4F5C\u5F0A\u884C\u4E3A\u4E00\u7ECF\u53D1\u73B0\uFF0C\u5C06\u6309\u5B66\u6821\u8003\u8BD5\u7BA1\u7406\u529E\u6CD5\u4E25\u8083\u5904\u7406\uFF0C\u56E0\u4F5C\u5F0A\u4EA7\u751F\u7684\u4E00\u5207\u540E\u679C\u81EA\u8D1F\u3002" + }), (open_camera || screen_open || ip_limit !== 'no' || identity_verify) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "mb20", + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + flex: "20px", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-yikaiqifangzuobimoshi font14", + style: { + color: '#3061D0' + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Noticemodules.itemTitle, + children: "\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u6A21\u5F0F" + }) + })] + }), identity_verify && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, { + title: "\u5DF2\u5F00\u542F\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C", + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.greyText, + children: "\u8FDB\u5165\u8003\u8BD5\u524D\uFF0C\u8BF7\u5141\u8BB8\u6444\u50CF\u5934\u6388\u6743\uFF0C\u6388\u6743\u540E\u9700\u91C7\u96C6\u7167\u7247\u8BA4\u8BC1\uFF0C\u8BA4\u8BC1\u901A\u8FC7\u5E76\u5F00\u542F\u624B\u673A\u5F55\u5236\u624D\u53EF\u4EE5\u8FDB\u5165\u8003\u8BD5\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.linkText, + onClick: function onClick() { + return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4459'); + }, + children: "\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934?" + })] + }) + }), identity_verify && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, { + title: "\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u624B\u673A\u89C6\u9891\u5F55\u5236", + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.greyText, + children: "\u8FDB\u5165\u8003\u8BD5\u540E\uFF0C\u8BF7\u5141\u8BB8\u6444\u50CF\u5934\u6388\u6743\uFF0C\u6388\u6743\u540E\u6253\u5F00\u6444\u50CF\u5934\u65B9\u53EF\u4F5C\u7B54\uFF01" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.linkText, + onClick: function onClick() { + return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4459'); + }, + children: "\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934?" + })] + }) + }), open_camera && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, { + title: "\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u62CD\u7167\u76D1\u63A7", + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.greyText, + children: "\u8FDB\u5165\u8003\u8BD5\u540E\uFF0C\u8BF7\u5141\u8BB8\u6444\u50CF\u5934\u6388\u6743\uFF0C\u6388\u6743\u540E\u6253\u5F00\u6444\u50CF\u5934\u65B9\u53EF\u4F5C\u7B54\uFF01" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.linkText, + onClick: function onClick() { + return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4459'); + }, + children: "\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934?" + })] + }) + }), screen_open && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, { + title: "\u5DF2\u5F00\u542F\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377", + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: Noticemodules.greyText, + children: ["\u5207\u5C4F\u8D85\u8FC7", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.num, + children: screen_num + }), "\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377\uFF0C\u5207\u6362\u5230\u5176\u4ED6\u9875\u9762", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.num, + children: screen_sec + }), "\u79D2\u540E\u5373\u5224\u5B9A\u4E3A\u4E00\u6B21\u5207\u5C4F\uFF0C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.num, + children: screen_sec * 2 + }), "\u79D2\u5219\u5224\u5B9A\u4E3A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.num, + children: "2" + }), "\u6B21\u5207\u5C4F\uFF0C\u4EE5\u6B64\u7C7B\u63A8\uFF1B\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u8BF7\u52FF\u5207\u6362\u5230\u5176\u4ED6\u9875\u9762\u6216\u9000\u51FA\u5168\u5C4F\u3002"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.linkText, + onClick: function onClick() { + return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4460'); + }, + children: "\u6D4F\u89C8\u5668\u65E0\u6CD5\u81EA\u52A8\u5168\u5C4F\uFF1F" + })] + }) + }), ip_limit !== 'no' && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, { + title: "\u5DF2\u5F00\u542FIP\u8303\u56F4\u9650\u5B9A", + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.greyText, + children: "IP\u5730\u5740\u4E0D\u5728\u8303\u56F4\u5185\u4E0D\u53EF\u53C2\u52A0\u8003\u8BD5\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.warnText, + children: "\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.linkText, + onClick: function onClick() { + return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4478'); + }, + children: "\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?" + }) + })] + }) + }), ip_bind && /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionItem, { + title: "\u5DF2\u5F00\u542F\u8003\u8BD5\u671F\u95F4IP\u7ED1\u5B9A", + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.greyText, + children: "\u5F53\u60A8\u5F00\u59CB\u8003\u8BD5\u540E\uFF0C\u5C06\u81EA\u52A8\u7ED1\u5B9AIP\uFF0C\u8003\u8BD5\u671F\u95F4\u53EA\u5141\u8BB8\u4F7F\u7528\u552F\u4E00\u7684IP\u8FDB\u5165\u8003\u8BD5\u3002\u5982\u9047\u7279\u6B8A\u60C5\u51B5\uFF0C\u53EF\u5411\u8001\u5E08\u7533\u8BF7\u89E3\u9664IP\u7ED1\u5B9A\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.warnText, + children: "\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Noticemodules.linkText, + onClick: function onClick() { + return (0,util/* openNewWindow */.xg)('https://www.educoder.net/forums/4478'); + }, + children: "\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?" + }) + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Noticemodules.fixBottom, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + className: Noticemodules.backBtn, + onClick: function onClick() { + return _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise")); + }, + children: "\u8FD4\u56DE\u8003\u8BD5\u5217\u8868" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + type: "primary", + className: "".concat(Noticemodules.enterBtn, " ml20"), + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _user$userInfo3; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return (0,util/* startExercise */.nr)({ + inner_ip: inner_ip, + public_ip: public_ip, + open_camera: open_camera, + ip_limit: ip_limit, + ip_bind: ip_bind, + exercise_tips: [''], + exerciseId: id, + screen_open: screen_open, + screen_num: screen_num, + screen_sec: screen_sec, + coursesId: params.coursesId, + login: (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.login, + history: _umi_production_exports.history, + identity_verify: identity_verify, + open_phone_video_recording: open_phone_video_recording, + current_status: user_permission, + unlockClose: true + }); + case 2: + case "end": + return _context2.stop(); + } + }, _callee2); + })), + children: "\u6211\u5DF2\u9605\u8BFB\uFF0C\u8FDB\u5165\u8003\u8BD5" + })] + })] + }) + })] + }) + }); +}; +/* harmony default export */ var Exercise_Notice = ((0,_umi_production_exports.connect)(function (_ref6) { + var user = _ref6.user, + globalSetting = _ref6.globalSetting; + return { + globalSetting: globalSetting, + user: user + }; +})(Notice)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__Notice__index.chunk.css b/p__Classrooms__Lists__Exercise__Notice__index.chunk.css new file mode 100644 index 0000000000..208154fb8b --- /dev/null +++ b/p__Classrooms__Lists__Exercise__Notice__index.chunk.css @@ -0,0 +1,455 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/skeleton/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-skeleton { + display: table; + width: 100%; +} +.ant-skeleton-header { + display: table-cell; + padding-right: 8px; + vertical-align: top; +} +.ant-skeleton-header .ant-skeleton-avatar { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 28px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-header .ant-skeleton-avatar-lg { + width: 32px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-header .ant-skeleton-avatar-sm { + width: 22px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-content { + display: table-cell; + width: 100%; + vertical-align: top; +} +.ant-skeleton-content .ant-skeleton-title { + width: 100%; + height: 14px; + background: rgba(190, 190, 190, 0.2); + border-radius: 2px; +} +.ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph { + margin-top: 20px; +} +.ant-skeleton-content .ant-skeleton-paragraph { + padding: 0; +} +.ant-skeleton-content .ant-skeleton-paragraph > li { + width: 100%; + height: 14px; + list-style: none; + background: rgba(190, 190, 190, 0.2); + border-radius: 2px; +} +.ant-skeleton-content .ant-skeleton-paragraph > li:last-child:not(:first-child):not(:nth-child(2)) { + width: 61%; +} +.ant-skeleton-content .ant-skeleton-paragraph > li + li { + margin-top: 12px; +} +.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title { + margin-top: 8px; +} +.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph { + margin-top: 20px; +} +.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title, +.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph > li { + border-radius: 100px; +} +.ant-skeleton-active .ant-skeleton-title, +.ant-skeleton-active .ant-skeleton-paragraph > li, +.ant-skeleton-active .ant-skeleton-avatar, +.ant-skeleton-active .ant-skeleton-button, +.ant-skeleton-active .ant-skeleton-input, +.ant-skeleton-active .ant-skeleton-image { + position: relative; + /* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */ + z-index: 0; + overflow: hidden; + background: transparent; +} +.ant-skeleton-active .ant-skeleton-title::after, +.ant-skeleton-active .ant-skeleton-paragraph > li::after, +.ant-skeleton-active .ant-skeleton-avatar::after, +.ant-skeleton-active .ant-skeleton-button::after, +.ant-skeleton-active .ant-skeleton-input::after, +.ant-skeleton-active .ant-skeleton-image::after { + position: absolute; + top: 0; + right: -150%; + bottom: 0; + left: -150%; + background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%); + animation: ant-skeleton-loading 1.4s ease infinite; + content: ''; +} +.ant-skeleton.ant-skeleton-block { + width: 100%; +} +.ant-skeleton.ant-skeleton-block .ant-skeleton-button { + width: 100%; +} +.ant-skeleton.ant-skeleton-block .ant-skeleton-input { + width: 100%; +} +.ant-skeleton-element { + display: inline-block; + width: auto; +} +.ant-skeleton-element .ant-skeleton-button { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + border-radius: 2px; + width: 56px; + min-width: 56px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-square { + width: 28px; + min-width: 28px; +} +.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle { + width: 28px; + min-width: 28px; + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round { + border-radius: 28px; +} +.ant-skeleton-element .ant-skeleton-button-lg { + width: 64px; + min-width: 64px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-square { + width: 32px; + min-width: 32px; +} +.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle { + width: 32px; + min-width: 32px; + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round { + border-radius: 32px; +} +.ant-skeleton-element .ant-skeleton-button-sm { + width: 44px; + min-width: 44px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-square { + width: 22px; + min-width: 22px; +} +.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle { + width: 22px; + min-width: 22px; + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round { + border-radius: 22px; +} +.ant-skeleton-element .ant-skeleton-avatar { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 28px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-avatar-lg { + width: 32px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-avatar-sm { + width: 22px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-input { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 140px; + min-width: 140px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-element .ant-skeleton-input-lg { + width: 160px; + min-width: 160px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-element .ant-skeleton-input-sm { + width: 110px; + min-width: 110px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-element .ant-skeleton-image { + display: flex; + align-items: center; + justify-content: center; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 96px; + height: 96px; + line-height: 96px; +} +.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-image-path { + fill: #bfbfbf; +} +.ant-skeleton-element .ant-skeleton-image-svg { + width: 48px; + height: 48px; + line-height: 48px; + max-width: 192px; + max-height: 192px; +} +.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle { + border-radius: 50%; +} +@keyframes ant-skeleton-loading { + 0% { + transform: translateX(-37.5%); + } + 100% { + transform: translateX(37.5%); + } +} +.ant-skeleton-rtl { + direction: rtl; +} +.ant-skeleton-rtl .ant-skeleton-header { + padding-right: 0; + padding-left: 16px; +} +.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title, +.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li { + animation-name: ant-skeleton-loading-rtl; +} +.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar { + animation-name: ant-skeleton-loading-rtl; +} +@keyframes ant-skeleton-loading-rtl { + 0% { + background-position: 0% 50%; + } + 100% { + background-position: 100% 50%; + } +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! + \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-breadcrumb { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + color: rgba(0, 0, 0, 0.45); + font-size: 12px; +} +.ant-breadcrumb .anticon { + font-size: 12px; +} +.ant-breadcrumb ol { + display: flex; + flex-wrap: wrap; + margin: 0; + padding: 0; + list-style: none; +} +.ant-breadcrumb a { + color: rgba(0, 0, 0, 0.45); + transition: color 0.3s; +} +.ant-breadcrumb a:hover { + color: rgba(0, 0, 0, 0.85); +} +.ant-breadcrumb li:last-child { + color: rgba(0, 0, 0, 0.85); +} +.ant-breadcrumb li:last-child a { + color: rgba(0, 0, 0, 0.85); +} +li:last-child > .ant-breadcrumb-separator { + display: none; +} +.ant-breadcrumb-separator { + margin: 0 4px; + color: rgba(0, 0, 0, 0.45); +} +.ant-breadcrumb-link > .anticon + span, +.ant-breadcrumb-link > .anticon + a { + margin-left: 4px; +} +.ant-breadcrumb-overlay-link > .anticon { + margin-left: 4px; +} +.ant-breadcrumb-rtl { + direction: rtl; +} +.ant-breadcrumb-rtl::before { + display: table; + content: ''; +} +.ant-breadcrumb-rtl::after { + display: table; + clear: both; + content: ''; +} +.ant-breadcrumb-rtl > span { + float: right; +} +.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span, +.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a { + margin-right: 4px; + margin-left: 0; +} +.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon { + margin-right: 4px; + margin-left: 0; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[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/Classrooms/Lists/Exercise/Notice/index.less?modules ***! + \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.bg___YVx48 { + background-color: #fff; + min-height: 100vh; +} +.title___NM3xC { + font-size: 18px; + font-weight: 600; + color: #191919; + text-align: center; + margin-bottom: 20px; +} +.textOverflow___gz3GM { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.wrap___if0Ln { + padding-bottom: 80px; +} +.infoTitle___dk7YF { + font-size: 14px; + color: #5F6368; + margin-right: 8px; +} +.infoValue___kBWqL { + font-size: 14px; + color: #1B1B1B; +} +.itemTitle___WP88A { + font-size: 14px; + font-weight: 600; + color: #191919; +} +.circle___Rq79V { + width: 8px; + height: 8px; + background: #3061D0; + border-radius: 50%; +} +.warnText___cpZS0 { + color: #E53333; +} +.greyText___erT_A { + color: #666666; +} +.linkText___YWy1z { + color: #3061D0; + cursor: pointer; +} +.num___Dq7FU { + color: #232B40; + font-weight: 500; +} +.fixBottom___WHsNA { + position: fixed; + bottom: 0; + left: 0; + display: flex; + width: 100%; + height: 70px; + background: #FFFFFF; + box-shadow: 0px -2px 8px 0px #F1F1F1; + align-items: center; + justify-content: center; +} +.fixBottom___WHsNA .backBtn___swiNH { + width: 116px; + height: 38px; + border-radius: 2px; +} +.fixBottom___WHsNA .enterBtn___pk16U { + width: 186px; + height: 38px; + border-radius: 2px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/p__Classrooms__Lists__Exercise__Review__index.async.js b/p__Classrooms__Lists__Exercise__Review__index.async.js index 59d73bfcf7..64b2d367da 100644 --- a/p__Classrooms__Lists__Exercise__Review__index.async.js +++ b/p__Classrooms__Lists__Exercise__Review__index.async.js @@ -2082,7 +2082,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -3380,7 +3380,7 @@ var Head = function Head(_ref) { dataIndex: 'total_score', render: function render(text) { return /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - children: text === '0.0' ? 0 : text + children: text === '0.0' ? 0 : text === null || text === void 0 ? void 0 : text.toFixed(1) }); } }]; diff --git a/p__Classrooms__Lists__Exercise__index.async.js b/p__Classrooms__Lists__Exercise__index.async.js index e33417df6f..c0f9a61843 100644 --- a/p__Classrooms__Lists__Exercise__index.async.js +++ b/p__Classrooms__Lists__Exercise__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[45825,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[45825,36579,23805],{ /***/ 13887: /*!******************************************************!*\ @@ -1828,38 +1828,30 @@ var List = function List(_ref) { var enterExam = function enterExam(v) { var _userInfo; var notFirstTime = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - // if (notFirstTime && v.is_user_locked) { - // dispatch({ - // type: 'exercise/setActionTabs', - // payload: { - // key: 'student-unlock', - // exerciseParams: v - // }, - // }) - // return - // }; - currentEnterExamRef.current = v; - (0,util/* startExercise */.nr)({ - inner_ip: v.inner_ip, - public_ip: v.public_ip, - open_camera: v.open_camera, - ip_limit: v.ip_limit, - ip_bind: v.ip_bind, - exercise_tips: v.exercise_tips, - exerciseId: v.id, - screen_open: v.screen_open, - screen_num: v.screen_num, - screen_sec: v.screen_sec, - coursesId: params.coursesId, - login: (_userInfo = (0,authority/* userInfo */.eY)()) === null || _userInfo === void 0 ? void 0 : _userInfo.login, - history: _umi_production_exports.history, - identity_verify: v.identity_verify, - open_phone_video_recording: v.open_phone_video_recording, - current_status: v.current_status, - exercise_user_id: v.exercise_user_id, - unlockClose: true - }); + _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercisenotice/").concat(v.id, "/users/").concat((_userInfo = (0,authority/* userInfo */.eY)()) === null || _userInfo === void 0 ? void 0 : _userInfo.login)); + // currentEnterExamRef.current = v; + // startExercise({ + // inner_ip: v.inner_ip, + // public_ip: v.public_ip, + // open_camera: v.open_camera, + // ip_limit: v.ip_limit, + // ip_bind: v.ip_bind, + // exercise_tips: v.exercise_tips, + // exerciseId: v.id, + // screen_open: v.screen_open, + // screen_num: v.screen_num, + // screen_sec: v.screen_sec, + // coursesId: params.coursesId, + // login: userInfo()?.login, + // history: history, + // identity_verify: v.identity_verify, + // open_phone_video_recording: v.open_phone_video_recording, + // current_status: v.current_status, + // exercise_user_id: v.exercise_user_id, + // unlockClose: true + // }) }; + var columns = [{ title: '班级', dataIndex: 'name', @@ -2374,7 +2366,7 @@ var List = function List(_ref) { children: ["\u521B\u5EFA\u65F6\u95F4\uFF1A", moment_default()(v.created_at).format('YYYY-MM-DD HH:mm:ss')] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: "ml30 c-grey-666", - children: ["\u65F6\u957F\uFF1A", v.time === null ? '不限时' : "".concat(v.time, "\u5206\u949F")] + children: ["\u7B54\u9898\u65F6\u957F\uFF1A", v.time === null ? '不限时' : "".concat(v.time, "\u5206\u949F")] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: "ml30 c-grey-666", children: ["\u7C7B\u578B\uFF1A", v.is_random ? '随机组卷' : '人工组卷'] @@ -2425,7 +2417,7 @@ var List = function List(_ref) { children: v.author }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: "ml30 c-grey-999 mr20", - children: ["\u8003\u8BD5\u65F6\u957F\uFF1A", v.time === null ? '不限时' : "".concat(v.time, "\u5206\u949F")] + children: ["\u7B54\u9898\u65F6\u957F\uFF1A", v.time === null ? '不限时' : "".concat(v.time, "\u5206\u949F")] }), !!(v !== null && v !== void 0 && v.exercise_left_time) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: "ml15 c-grey-999", children: ["\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A", v === null || v === void 0 ? void 0 : v.exercise_left_time] diff --git a/p__Classrooms__Lists__ExportList__index.async.js b/p__Classrooms__Lists__ExportList__index.async.js index 6ca0020bdd..a53604503f 100644 --- a/p__Classrooms__Lists__ExportList__index.async.js +++ b/p__Classrooms__Lists__ExportList__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[54572],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[54572,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1140,6 +1140,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Graduation__Tasks__index.chunk.css b/p__Classrooms__Lists__Graduation__Tasks__index.chunk.css index 11f6ccc955..60d1526107 100644 --- a/p__Classrooms__Lists__Graduation__Tasks__index.chunk.css +++ b/p__Classrooms__Lists__Graduation__Tasks__index.chunk.css @@ -560,6 +560,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/layout/style/index.less ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Graduation__Topics__index.chunk.css b/p__Classrooms__Lists__Graduation__Topics__index.chunk.css index 5bf7e57a84..a2d20d130a 100644 --- a/p__Classrooms__Lists__Graduation__Topics__index.chunk.css +++ b/p__Classrooms__Lists__Graduation__Topics__index.chunk.css @@ -849,6 +849,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/layout/style/index.less ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__GroupHomework__Add__index.chunk.css b/p__Classrooms__Lists__GroupHomework__Add__index.chunk.css index f5ee73e6c2..374c1c2bb0 100644 --- a/p__Classrooms__Lists__GroupHomework__Add__index.chunk.css +++ b/p__Classrooms__Lists__GroupHomework__Add__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__GroupHomework__Detail__index.async.js b/p__Classrooms__Lists__GroupHomework__Detail__index.async.js index 9778a70d77..e54e01865e 100644 --- a/p__Classrooms__Lists__GroupHomework__Detail__index.async.js +++ b/p__Classrooms__Lists__GroupHomework__Detail__index.async.js @@ -3653,7 +3653,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } diff --git a/p__Classrooms__Lists__GroupHomework__EditWork__index.chunk.css b/p__Classrooms__Lists__GroupHomework__EditWork__index.chunk.css index dcfb3232de..3013319832 100644 --- a/p__Classrooms__Lists__GroupHomework__EditWork__index.chunk.css +++ b/p__Classrooms__Lists__GroupHomework__EditWork__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/divider/style/index.less ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__GroupHomework__Edit__index.chunk.css b/p__Classrooms__Lists__GroupHomework__Edit__index.chunk.css index c713709e60..6d469b1c3a 100644 --- a/p__Classrooms__Lists__GroupHomework__Edit__index.chunk.css +++ b/p__Classrooms__Lists__GroupHomework__Edit__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__GroupHomework__Review__index.chunk.css b/p__Classrooms__Lists__GroupHomework__Review__index.chunk.css index 97189f0f4a..456ec6ffdd 100644 --- a/p__Classrooms__Lists__GroupHomework__Review__index.chunk.css +++ b/p__Classrooms__Lists__GroupHomework__Review__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/divider/style/index.less ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__GroupHomework__SubmitWork__index.chunk.css b/p__Classrooms__Lists__GroupHomework__SubmitWork__index.chunk.css index f7a190c636..03138eb2af 100644 --- a/p__Classrooms__Lists__GroupHomework__SubmitWork__index.chunk.css +++ b/p__Classrooms__Lists__GroupHomework__SubmitWork__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/divider/style/index.less ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__OnlineLearning__index.async.js b/p__Classrooms__Lists__OnlineLearning__index.async.js index dae572d9b0..4a2cf9f5fc 100644 --- a/p__Classrooms__Lists__OnlineLearning__index.async.js +++ b/p__Classrooms__Lists__OnlineLearning__index.async.js @@ -274,13 +274,14 @@ var AsyncButton = function AsyncButton(_ref) { return props.onClick(e); case 4: setBtnLoading(false); - _context.next = 10; + _context.next = 11; break; case 7: _context.prev = 7; _context.t0 = _context["catch"](0); + console.error(_context.t0); setBtnLoading(false); - case 10: + case 11: case "end": return _context.stop(); } @@ -2303,7 +2304,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -6803,7 +6804,7 @@ var SendToClassModal = function SendToClassModal(_ref) { , blockNode: true, titleRender: function titleRender(nodeData) { - var _nodeData$learning_st, _nodeData$schools, _nodeData$children; + var _nodeData$learning_st, _nodeData$shixun_mark, _nodeData$schools, _nodeData$children; var item = nodeData; if (item.item_type !== visibleType && visibleType !== 'All') { return null; @@ -6823,6 +6824,9 @@ var SendToClassModal = function SendToClassModal(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { flex: "1", className: "c-grey-333", + style: { + display: 'flex' + }, children: [props.cust_seq && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: "mr10" // style={{flexShrink:0}} @@ -6911,6 +6915,26 @@ var SendToClassModal = function SendToClassModal(_ref) { fontSize: '12px' }, children: "Jupyter Notebook" + }), nodeData.item_type === 'Shixun' && (nodeData === null || nodeData === void 0 ? void 0 : (_nodeData$shixun_mark = nodeData.shixun_marks) === null || _nodeData$shixun_mark === void 0 ? void 0 : _nodeData$shixun_mark.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "".concat(nodeData === null || nodeData === void 0 ? void 0 : nodeData.shixun_marks), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + background: '#43a2ff', + color: '#fff', + borderRadius: '13px', + marginLeft: '5px', + height: '20px', + textAlign: 'center', + fontSize: '12px', + maxWidth: '70px', + padding: '0px 13px', + overflow: 'hidden', + whiteSpace: 'nowrap', + display: 'inline-block', + textOverflow: 'ellipsis' + }, + children: nodeData === null || nodeData === void 0 ? void 0 : nodeData.shixun_marks + }) }), !!((_nodeData$schools = nodeData.schools) !== null && _nodeData$schools !== void 0 && _nodeData$schools.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { title: "\u8BE5\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E", children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { diff --git a/p__Classrooms__Lists__Polls__Add__index.chunk.css b/p__Classrooms__Lists__Polls__Add__index.chunk.css index 5bbb11f039..dc4644fc8d 100644 --- a/p__Classrooms__Lists__Polls__Add__index.chunk.css +++ b/p__Classrooms__Lists__Polls__Add__index.chunk.css @@ -265,6 +265,238 @@ li:last-child > .ant-breadcrumb-separator { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Polls/Edit/components/editor.less?modules ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Polls__Answer__index.chunk.css b/p__Classrooms__Lists__Polls__Answer__index.chunk.css index b1a3b41691..e6c920bade 100644 --- a/p__Classrooms__Lists__Polls__Answer__index.chunk.css +++ b/p__Classrooms__Lists__Polls__Answer__index.chunk.css @@ -959,6 +959,238 @@ span.ant-radio + * { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/PreviewAll/index.less?modules ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Polls__Edit__index.chunk.css b/p__Classrooms__Lists__Polls__Edit__index.chunk.css index 4b427c9a9a..53d44a0e32 100644 --- a/p__Classrooms__Lists__Polls__Edit__index.chunk.css +++ b/p__Classrooms__Lists__Polls__Edit__index.chunk.css @@ -211,6 +211,238 @@ li:last-child > .ant-breadcrumb-separator { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Polls/Edit/components/editor.less?modules ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__ProgramHomework__Comment__index.async.js b/p__Classrooms__Lists__ProgramHomework__Comment__index.async.js index df9376cc0c..19d7dc3853 100644 --- a/p__Classrooms__Lists__ProgramHomework__Comment__index.async.js +++ b/p__Classrooms__Lists__ProgramHomework__Comment__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[12884,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[12884,36579,23805],{ /***/ 77680: /*!********************************************************************************************************!*\ diff --git a/p__Classrooms__Lists__ProgramHomework__Ranking__index.async.js b/p__Classrooms__Lists__ProgramHomework__Ranking__index.async.js index 45fc4d866f..28ac668da1 100644 --- a/p__Classrooms__Lists__ProgramHomework__Ranking__index.async.js +++ b/p__Classrooms__Lists__ProgramHomework__Ranking__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[6127],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[6127,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1200,6 +1200,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Statistics__StudentDetail__index.async.js b/p__Classrooms__Lists__Statistics__StudentDetail__index.async.js index 1a8bbd6035..e8d0d6a750 100644 --- a/p__Classrooms__Lists__Statistics__StudentDetail__index.async.js +++ b/p__Classrooms__Lists__Statistics__StudentDetail__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[27395],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[27395,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -2651,6 +2651,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index.async.js b/p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index.async.js index 73551fbafb..ee2388532f 100644 --- a/p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index.async.js +++ b/p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index.async.js @@ -773,6 +773,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Statistics__StudentStatistics__index.async.js b/p__Classrooms__Lists__Statistics__StudentStatistics__index.async.js index 21d4150eee..0c299e3aae 100644 --- a/p__Classrooms__Lists__Statistics__StudentStatistics__index.async.js +++ b/p__Classrooms__Lists__Statistics__StudentStatistics__index.async.js @@ -1520,6 +1520,195 @@ var style_default = __webpack_require__(43146); +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Template__teacher__index.chunk.css b/p__Classrooms__Lists__Template__teacher__index.chunk.css index 78dde9afb1..bc9a2d772e 100644 --- a/p__Classrooms__Lists__Template__teacher__index.chunk.css +++ b/p__Classrooms__Lists__Template__teacher__index.chunk.css @@ -158,6 +158,238 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Video__Statistics__Detail__index.async.js b/p__Classrooms__Lists__Video__Statistics__Detail__index.async.js index 6e48c921f1..8993c510ce 100644 --- a/p__Classrooms__Lists__Video__Statistics__Detail__index.async.js +++ b/p__Classrooms__Lists__Video__Statistics__Detail__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[60533],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[60533,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1207,6 +1207,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Video__Statistics__StudentDetail__index.async.js b/p__Classrooms__Lists__Video__Statistics__StudentDetail__index.async.js index 19cfeb2fc3..ec49a24094 100644 --- a/p__Classrooms__Lists__Video__Statistics__StudentDetail__index.async.js +++ b/p__Classrooms__Lists__Video__Statistics__StudentDetail__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[69944],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[69944,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1054,6 +1054,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Video__Statistics__index.async.js b/p__Classrooms__Lists__Video__Statistics__index.async.js index 1534bb1f07..6cf51f3a1e 100644 --- a/p__Classrooms__Lists__Video__Statistics__index.async.js +++ b/p__Classrooms__Lists__Video__Statistics__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[64217],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[64217,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1106,6 +1106,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Video__index.async.js b/p__Classrooms__Lists__Video__index.async.js index 8a014a579f..93a7dd30ab 100644 --- a/p__Classrooms__Lists__Video__index.async.js +++ b/p__Classrooms__Lists__Video__index.async.js @@ -215,12 +215,12 @@ var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerat var modal_style = __webpack_require__(35611); // EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules var modal = __webpack_require__(85402); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(27424); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js var objectSpread2 = __webpack_require__(42122); var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(70215); var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); @@ -2132,21 +2132,24 @@ var ShixunsListPage = function ShixunsListPage(_ref) { user = _ref.user, dispatch = _ref.dispatch, props = objectWithoutProperties_default()(_ref, _excluded); - var params = objectSpread2_default()(objectSpread2_default()({}, (0,_umi_production_exports.useParams)()), {}, { - page: 1, - limit: 15 - }); + var _useState = (0,react.useState)(objectSpread2_default()(objectSpread2_default()({}, (0,_umi_production_exports.useParams)()), {}, { + page: 1, + limit: 15 + })), + _useState2 = slicedToArray_default()(_useState, 2), + params = _useState2[0], + setParams = _useState2[1]; var detailVideoList = classroomList.detailVideoList, updateData = classroomList.updateData; - var _useState = (0,react.useState)({}), - _useState2 = slicedToArray_default()(_useState, 2), - selectArrs = _useState2[0], - setSelectArrs = _useState2[1]; - //排序or正常显示 - var _useState3 = (0,react.useState)(true), + var _useState3 = (0,react.useState)({}), _useState4 = slicedToArray_default()(_useState3, 2), - isSort = _useState4[0], - setIsSort = _useState4[1]; + selectArrs = _useState4[0], + setSelectArrs = _useState4[1]; + //排序or正常显示 + var _useState5 = (0,react.useState)(true), + _useState6 = slicedToArray_default()(_useState5, 2), + isSort = _useState6[0], + setIsSort = _useState6[1]; params['id'] = params['coursesId']; if (params['categoryId'] != 0) params['category_id'] = params['categoryId']; (0,react.useEffect)(function () { @@ -2171,6 +2174,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) { }, [location.pathname]); var onShowSizeChange = function onShowSizeChange(current, pageSize) { params.page = current; + setParams(objectSpread2_default()({}, params)); dispatch({ type: 'classroomList/getVideoList', payload: objectSpread2_default()({}, params) diff --git a/p__Classrooms__New__index.async.js b/p__Classrooms__New__index.async.js index 748c3cd076..3ae928c932 100644 --- a/p__Classrooms__New__index.async.js +++ b/p__Classrooms__New__index.async.js @@ -2194,6 +2194,196 @@ function copy(text, options) { module.exports = copy; +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }), /***/ 43159: diff --git a/p__Colleges__index.async.js b/p__Colleges__index.async.js index f5be594da7..6b731abb3d 100644 --- a/p__Colleges__index.async.js +++ b/p__Colleges__index.async.js @@ -1634,6 +1634,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Competitions__Detail__index.async.js b/p__Competitions__Detail__index.async.js index c5bf8b6ec1..067285074d 100644 --- a/p__Competitions__Detail__index.async.js +++ b/p__Competitions__Detail__index.async.js @@ -1,4 +1,256 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[72570,12768,67570,12325,30707],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[72570,4977,12768,67570,12325,30707],{ + +/***/ 50675: +/*!**********************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_CheckCircleFilled__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/CheckCircleFilled */ 72961); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var CheckCircleFilled = function CheckCircleFilled(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_CheckCircleFilled__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +CheckCircleFilled.displayName = 'CheckCircleFilled'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CheckCircleFilled)); + +/***/ }), + +/***/ 38900: +/*!**********************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_CloseCircleFilled__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/CloseCircleFilled */ 1085); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var CloseCircleFilled = function CloseCircleFilled(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_CloseCircleFilled__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +CloseCircleFilled.displayName = 'CloseCircleFilled'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CloseCircleFilled)); + +/***/ }), + +/***/ 28508: +/*!******************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_CloseOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/CloseOutlined */ 89503); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var CloseOutlined = function CloseOutlined(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_CloseOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +CloseOutlined.displayName = 'CloseOutlined'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(CloseOutlined)); + +/***/ }), + +/***/ 87588: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined)); + +/***/ }), + +/***/ 64082: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_InboxOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/InboxOutlined.js +// This icon file is generated automatically. +var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z" } }] }, "name": "inbox", "theme": "outlined" }; +/* harmony default export */ var asn_InboxOutlined = (InboxOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules +var AntdIcon = __webpack_require__(7918); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var InboxOutlined_InboxOutlined = function InboxOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + ref: ref, + icon: asn_InboxOutlined + })); +}; +InboxOutlined_InboxOutlined.displayName = 'InboxOutlined'; +/* harmony default export */ var icons_InboxOutlined = (/*#__PURE__*/react.forwardRef(InboxOutlined_InboxOutlined)); + +/***/ }), + +/***/ 37653: +/*!*****************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_LeftOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/LeftOutlined */ 26554); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var LeftOutlined = function LeftOutlined(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_LeftOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +LeftOutlined.displayName = 'LeftOutlined'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(LeftOutlined)); + +/***/ }), + +/***/ 43929: +/*!******************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/RightOutlined.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons_svg_es_asn_RightOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/RightOutlined */ 50756); +/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918); + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var RightOutlined = function RightOutlined(props, ref) { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { + ref: ref, + icon: _ant_design_icons_svg_es_asn_RightOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z + })); +}; +RightOutlined.displayName = 'RightOutlined'; +/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(RightOutlined)); + +/***/ }), + +/***/ 88484: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_UploadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.js +// This icon file is generated automatically. +var UploadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" }; +/* harmony default export */ var asn_UploadOutlined = (UploadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules +var AntdIcon = __webpack_require__(7918); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + +var UploadOutlined_UploadOutlined = function UploadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + ref: ref, + icon: asn_UploadOutlined + })); +}; +UploadOutlined_UploadOutlined.displayName = 'UploadOutlined'; +/* harmony default export */ var icons_UploadOutlined = (/*#__PURE__*/react.forwardRef(UploadOutlined_UploadOutlined)); + +/***/ }), /***/ 96403: /*!*********************************!*\ @@ -87,6 +339,83 @@ var apiPref = _utils_env__WEBPACK_IMPORTED_MODULE_0__/* ["default"].API_SERVER * /***/ }), +/***/ 48559: +/*!**********************************************!*\ + !*** ./src/components/AsyncButton/index.tsx ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ AsyncButton; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_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 antd_es_button_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/button/style */ 29913); +/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd/es/button */ 71577); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __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_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js */ 70215); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + +var _excluded = ["children"]; + + +var AsyncButton = function AsyncButton(_ref) { + var children = _ref.children, + props = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5___default()(_ref, _excluded); + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false), + _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default()(_useState, 2), + btnLoading = _useState2[0], + setBtnLoading = _useState2[1]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(antd_es_button__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()({}, props), {}, { + loading: btnLoading, + onClick: /*#__PURE__*/function () { + var _ref2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().mark(function _callee(e) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + setBtnLoading(true); + _context.next = 4; + return props.onClick(e); + case 4: + setBtnLoading(false); + _context.next = 11; + break; + case 7: + _context.prev = 7; + _context.t0 = _context["catch"](0); + console.error(_context.t0); + setBtnLoading(false); + case 11: + case "end": + return _context.stop(); + } + }, _callee, null, [[0, 7]]); + })); + return function (_x) { + return _ref2.apply(this, arguments); + }; + }(), + children: children + })); +}; + +/***/ }), + /***/ 8213: /*!******************************************************!*\ !*** ./src/components/AuthenticationModel/index.tsx ***! @@ -156,6 +485,62 @@ var AuthModal = function AuthModal(_ref) { /***/ }), +/***/ 82982: +/*!*****************************************!*\ + !*** ./src/components/NoData/index.tsx ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var antd_es_button_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/button/style */ 29913); +/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/button */ 71577); +/* 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 react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + +var noData = function noData(_ref) { + var _ref$buttonProps = _ref.buttonProps, + buttonProps = _ref$buttonProps === void 0 ? {} : _ref$buttonProps, + _ref$styles = _ref.styles, + styles = _ref$styles === void 0 ? {} : _ref$styles, + customText = _ref.customText, + ButtonText = _ref.ButtonText, + ButtonClick = _ref.ButtonClick, + Buttonclass = _ref.Buttonclass, + ButtonTwo = _ref.ButtonTwo, + imgStyles = _ref.imgStyles; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("section", { + className: "tc animated fadeIn", + style: _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()({}, { + color: '#999', + margin: '200px auto' + }), styles), + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("img", { + src: _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_3__, + style: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, imgStyles) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("p", { + className: "mt20 font14", + children: customText || '暂时还没有相关数据哦!' + }), ButtonText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, _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()({ + className: Buttonclass, + onClick: ButtonClick + }, buttonProps), {}, { + children: ButtonText + })), ButtonTwo && ButtonTwo] + }); +}; +/* harmony default export */ __webpack_exports__["Z"] = (noData); + +/***/ }), + /***/ 36579: /*!*********************************************************!*\ !*** ./src/components/PreviewAll/index.tsx + 1 modules ***! @@ -2415,7 +2800,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -2798,9 +3183,9 @@ function useInterval(callback, delay) { /***/ }), -/***/ 84541: +/***/ 11940: /*!**************************************************************!*\ - !*** ./src/pages/Competitions/Detail/index.tsx + 25 modules ***! + !*** ./src/pages/Competitions/Detail/index.tsx + 27 modules ***! \**************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -3017,7 +3402,7 @@ var RenderHtml = __webpack_require__(12768); // EXTERNAL MODULE: ./src/utils/env.ts + 1 modules var env = __webpack_require__(59758); // EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(84519); +var utils_fetch = __webpack_require__(84519); // EXTERNAL MODULE: ./src/utils/verifyLogin.tsx + 2 modules var verifyLogin = __webpack_require__(7303); // EXTERNAL MODULE: ./node_modules/antd/es/carousel/style/index.js + 1 modules @@ -3657,7 +4042,7 @@ var SeeItem = function SeeItem(_ref, ref) { // } setLoading(true); _context.next = 6; - return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/upload_file.json"), { + return (0,utils_fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/upload_file.json"), { method: 'post', body: { attachment_id: fileId, @@ -4412,7 +4797,7 @@ function Ranking(_ref) { break; } _context.next = 8; - return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/update_md_content.json"), { + return (0,utils_fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/update_md_content.json"), { method: 'post', body: { competition_module_id: Selectkey, @@ -4434,7 +4819,7 @@ function Ranking(_ref) { break; case 12: _context.next = 14; - return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/update_md_content.json"), { + return (0,utils_fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/update_md_content.json"), { method: 'post', body: { competition_module_id: Selectkey, @@ -7197,7 +7582,7 @@ function SubmitResult_Ranking(_ref) { break; } _context.next = 8; - return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/update_md_content.json"), { + return (0,utils_fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/update_md_content.json"), { method: 'post', body: { competition_module_id: Selectkey, @@ -7219,7 +7604,7 @@ function SubmitResult_Ranking(_ref) { break; case 12: _context.next = 14; - return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/update_md_content.json"), { + return (0,utils_fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/update_md_content.json"), { method: 'post', body: { competition_module_id: Selectkey, @@ -8366,7 +8751,25 @@ var JoinModel = __webpack_require__(74195); var Addteams = __webpack_require__(6237); // EXTERNAL MODULE: ./src/pages/Competitions/components/PhoneModal.tsx var PhoneModal = __webpack_require__(74009); -;// CONCATENATED MODULE: ./src/pages/Competitions/Detail/index.tsx +// 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/@babel/runtime/helpers/createForOfIteratorHelper.js +var createForOfIteratorHelper = __webpack_require__(74704); +var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + 1 modules +var UploadOutlined = __webpack_require__(88484); +;// CONCATENATED MODULE: ./src/pages/Competitions/Detail/components/WorkSubmit/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var WorkSubmitmodules = ({"WorkSubmitDesc":"WorkSubmitDesc___zk_Kc","WorkSubmit":"WorkSubmit___BOuVl","span":"span___sGFYr","search":"search___wZWVl","downBut":"downBut___tfNYQ"}); +// EXTERNAL MODULE: ./src/components/NoData/index.tsx +var NoData = __webpack_require__(82982); +// EXTERNAL MODULE: ./src/components/AsyncButton/index.tsx +var AsyncButton = __webpack_require__(48559); +// EXTERNAL MODULE: ./node_modules/jszip/dist/jszip.min.js +var jszip_min = __webpack_require__(55733); +var jszip_min_default = /*#__PURE__*/__webpack_require__.n(jszip_min); +;// CONCATENATED MODULE: ./src/pages/Competitions/Detail/components/WorkSubmit/index.tsx @@ -8384,18 +8787,13 @@ var PhoneModal = __webpack_require__(74009); -var Detail_excluded = ["globalSetting", "loading", "dispatch", "user"]; -//查看内容 -//编辑内容 - //排行榜 - //获奖证书 @@ -8408,71 +8806,1113 @@ var Detail_excluded = ["globalSetting", "loading", "dispatch", "user"]; -var competitionDetails = function competitionDetails(_ref) { - var _HeaderDetail$competi5, _HeaderDetail$competi6, _user$userInfo3, _HeaderDetail$permiss, _HeaderDetail$permiss2, _HeaderDetail$permiss3, _HeaderDetail$permiss4, _HeaderDetail$permiss5; - var globalSetting = _ref.globalSetting, - loading = _ref.loading, - dispatch = _ref.dispatch, - user = _ref.user, - props = objectWithoutProperties_default()(_ref, Detail_excluded); - var _useState = (0,react.useState)({ - avatar_url: "" - }), + + + + + + + + +var WorkSubmit = function WorkSubmit(_ref) { + var _TabResults$stages5, _TabResults$stages5$, _TabResults$stages6, _TabResults$rule_cont3, _TabResults$rule_cont4, _TabResults$rule_cont6, _TabResults$rule_cont7; + var dispatch = _ref.dispatch, + userinfo = _ref.userinfo, + Editable = _ref.Editable, + ItemData = _ref.ItemData, + TabResults = _ref.TabResults, + HeaderDetail = _ref.HeaderDetail, + StaffDetail = _ref.StaffDetail, + _ref$getTabResults = _ref.getTabResults, + getTabResults = _ref$getTabResults === void 0 ? function () {} : _ref$getTabResults; + // 开启/关闭 编辑 + var _useState = (0,react.useState)(false), _useState2 = slicedToArray_default()(_useState, 2), - HeaderDetail = _useState2[0], - setHeaderDetail = _useState2[1]; - var _useState3 = (0,react.useState)([]), - _useState4 = slicedToArray_default()(_useState3, 2), - StaffDetail = _useState4[0], - setStaffDetail = _useState4[1]; + isEdit = _useState2[0], + setIsEdit = _useState2[1]; var _useParams = (0,_umi_production_exports.useParams)(), identifier = _useParams.identifier; - var _useState5 = (0,react.useState)([]), + // 提交作品:1, 仅提交文件:2 + var _useState3 = (0,react.useState)(1), + _useState4 = slicedToArray_default()(_useState3, 2), + modelType = _useState4[0], + setModelType = _useState4[1]; + // 竞赛管理员、超管、运营 + var _useState5 = (0,react.useState)(false), _useState6 = slicedToArray_default()(_useState5, 2), - ItemData = _useState6[0], - setItemData = _useState6[1]; - //打开编辑还是打开查看 - var _useState7 = (0,react.useState)(true), + identity = _useState6[0], + setIdentity = _useState6[1]; + var _useState7 = (0,react.useState)(false), _useState8 = slicedToArray_default()(_useState7, 2), - ISsee = _useState8[0], - setIssee = _useState8[1]; + isSubmitModel = _useState8[0], + setIsSubmitModel = _useState8[1]; + // 上传列表数据 var _useState9 = (0,react.useState)([]), _useState10 = slicedToArray_default()(_useState9, 2), - MenuItem = _useState10[0], - setMenuItem = _useState10[1]; - var _useState11 = (0,react.useState)([]), + fileList = _useState10[0], + setFileList = _useState10[1]; + // 表格数据 + var _useState11 = (0,react.useState)(false), _useState12 = slicedToArray_default()(_useState11, 2), - ModelType = _useState12[0], - setModelType = _useState12[1]; - //点击了排行榜 - var _useState13 = (0,react.useState)(false), + tableLoading = _useState12[0], + setTableLoading = _useState12[1]; + var _useState13 = (0,react.useState)({ + name: "", + url: "", + id: null, + fileList: [] + }), _useState14 = slicedToArray_default()(_useState13, 2), - isRanKing = _useState14[0], - setIsRanKing = _useState14[1]; - //获取排行榜 - var _useState15 = (0,react.useState)(false), + rowTable = _useState14[0], + setRowTable = _useState14[1]; + var _useState15 = (0,react.useState)({ + total_count: 0, + results: [] + }), _useState16 = slicedToArray_default()(_useState15, 2), - ChartRules = _useState16[0], - setChartRules = _useState16[1]; - //点击了获奖证书 - var _useState17 = (0,react.useState)(false), + tableList = _useState16[0], + setTableList = _useState16[1]; + // 当前赛事 + var _useState17 = (0,react.useState)(null), _useState18 = slicedToArray_default()(_useState17, 2), - isAward = _useState18[0], - setIsAward = _useState18[1]; - //获奖证书信息 - var _useState19 = (0,react.useState)([]), + gameItem = _useState18[0], + setGameItem = _useState18[1]; + // 分页,搜索 + var _useState19 = (0,react.useState)({ + page: 1, + per_page: 20, + keyword: "" + }), _useState20 = slicedToArray_default()(_useState19, 2), - Prize = _useState20[0], - setPrize = _useState20[1]; - //获取个人信息 Accounts - var _useState21 = (0,react.useState)([]), + urlData = _useState20[0], + setUrlData = _useState20[1]; + // MD内容 + var _useState21 = (0,react.useState)(""), _useState22 = slicedToArray_default()(_useState21, 2), - Accounts = _useState22[0], - SetAccounts = _useState22[1]; - //设置选中的条目 - var _useState23 = (0,react.useState)([]), + mdContent = _useState22[0], + setMdContent = _useState22[1]; + // 下载所有文件时打包成zip文件 + var _useState23 = (0,react.useState)(new (jszip_min_default())()), _useState24 = slicedToArray_default()(_useState23, 2), - Selectkey = _useState24[0], + zipAll = _useState24[0], + setZipAll = _useState24[1]; + (0,react.useEffect)(function () { + setIdentity((userinfo === null || userinfo === void 0 ? void 0 : userinfo.admin) || (userinfo === null || userinfo === void 0 ? void 0 : userinfo.business) || Editable); + }, [userinfo === null || userinfo === void 0 ? void 0 : userinfo.admin, userinfo === null || userinfo === void 0 ? void 0 : userinfo.business, Editable]); + (0,react.useEffect)(function () { + if (ItemData !== null && ItemData !== void 0 && ItemData.only_file) setModelType(2); + }, [ItemData]); + (0,react.useEffect)(function () { + var _TabResults$stages; + if (TabResults.stages && ((_TabResults$stages = TabResults.stages) === null || _TabResults$stages === void 0 ? void 0 : _TabResults$stages.length) > 0) { + var _TabResults$stages2, _TabResults$stages2$, _TabResults$stages2$$, _TabResults$stages3, _TabResults$stages3$, _TabResults$stages3$$, _TabResults$stages4; + ((_TabResults$stages2 = TabResults.stages) === null || _TabResults$stages2 === void 0 ? void 0 : (_TabResults$stages2$ = _TabResults$stages2[0]) === null || _TabResults$stages2$ === void 0 ? void 0 : (_TabResults$stages2$$ = _TabResults$stages2$.children) === null || _TabResults$stages2$$ === void 0 ? void 0 : _TabResults$stages2$$.length) > 0 ? setGameItem(((_TabResults$stages3 = TabResults.stages) === null || _TabResults$stages3 === void 0 ? void 0 : (_TabResults$stages3$ = _TabResults$stages3[0]) === null || _TabResults$stages3$ === void 0 ? void 0 : (_TabResults$stages3$$ = _TabResults$stages3$.children) === null || _TabResults$stages3$$ === void 0 ? void 0 : _TabResults$stages3$$[0]) || null) : setGameItem(((_TabResults$stages4 = TabResults.stages) === null || _TabResults$stages4 === void 0 ? void 0 : _TabResults$stages4[0]) || null); + } + }, [TabResults.stages]); + (0,react.useEffect)(function () { + getResults(); + }, [gameItem === null || gameItem === void 0 ? void 0 : gameItem.id, urlData.page]); + // 表格头部数据 + var columns = [{ + title: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: "#5F6368" + }, + children: "\u961F\u4F0D\u540D\u79F0" + }), + dataIndex: 'team_name', + width: "120px", + ellipsis: true, + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "topLeft", + title: text, + children: text || "- -" + }); + }, + isShow: [1, 2] + }, { + title: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: "#5F6368" + }, + children: "\u63D0\u4EA4\u4EBA" + }), + dataIndex: 'user_name', + width: "120px", + ellipsis: true, + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "topLeft", + title: text, + children: text || "- -" + }); + }, + isShow: [1, 2] + }, { + title: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: "#5F6368" + }, + children: "\u4F5C\u54C1\u540D\u79F0" + }), + dataIndex: 'name', + ellipsis: true, + render: function render(text, record) { + return text ? /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: record.url || '#', + target: "_blank", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "topLeft", + title: text, + children: text + }) + }) : "--"; + }, + isShow: [1] + }, { + title: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: "#5F6368" + }, + children: "\u4F5C\u54C1\u6587\u4EF6" + }), + dataIndex: 'file_name', + width: modelType == 1 ? "180px" : "", + ellipsis: true, + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "topLeft", + title: text, + children: text || "- -" + }); + }, + isShow: [1, 2] + }, { + title: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: "#5F6368" + }, + children: "\u66F4\u65B0\u65F6\u95F4" + }), + dataIndex: 'updated_at', + width: "180px", + render: function render(text) { + return text || '- -'; + }, + isShow: [1, 2] + }, { + title: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: "#5F6368" + }, + children: "\u64CD\u4F5C" + }), + dataIndex: 'result_url', + ellipsis: true, + width: "140px", + align: 'center', + render: function render(text, record) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: identity ? "center" : "space-between", + children: [!identity && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "link", + onClick: function onClick() { + setIsSubmitModel(true); + setRowTable({ + name: record.name, + url: record.url, + id: record.id + }); + if (record.file_name) { + setFileList([{ + uid: "-1", + // TODO : 这里目前无法获取到id或者唯一标识,暂时只能用-1 + name: record.file_name, + status: 'done', + url: record.result_url || "" + }]); + } + }, + children: "\u7F16\u8F91" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + type: "link", + disabled: !text, + onClick: /*#__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: + return _context.abrupt("return", (0,util/* downLoadLink */.Nd)(record.file_name, text)); + case 1: + case "end": + return _context.stop(); + } + }, _callee); + })), + children: identity ? "下载文件" : "下载" + })] + }); + }, + isShow: [1, 2] + }].filter(function (item) { + return item.isShow.includes(modelType); + }); + // 获取列表数据 + var getResults = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var data; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + setTableLoading(true); + _context2.next = 3; + return dispatch({ + type: 'competitions/Results', + payload: objectSpread2_default()({ + identifier: identifier, + stage_id: gameItem === null || gameItem === void 0 ? void 0 : gameItem.id, + module_type: 'worksubmit' + }, urlData) + }); + case 3: + data = _context2.sent; + setTableList(data); + setTableLoading(false); + case 6: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function getResults() { + return _ref3.apply(this, arguments); + }; + }(); + // 更新MD内容 + var getUpMDContent = /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(data) { + var res; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return dispatch({ + type: 'competitions/updateMdContent', + payload: { + identifier: identifier, + stage_id: gameItem === null || gameItem === void 0 ? void 0 : gameItem.id, + competition_module_id: ItemData.id, + content: mdContent, + md_content_id: data === null || data === void 0 ? void 0 : data.id + } + }); + case 2: + res = _context3.sent; + res.status == 0 && message/* default.success */.ZP.success(res.message); + setIsEdit(false); + _context3.next = 7; + return getTabResults(); + case 7: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function getUpMDContent(_x) { + return _ref4.apply(this, arguments); + }; + }(); + // 作品提交或者编辑 + var handleFormFinish = /*#__PURE__*/function () { + var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(values) { + var _fileList$, _res2; + var res, Data, _res, _res3; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + console.log(values, fileList); + if (!(modelType == 2 && fileList.length == 0)) { + _context4.next = 4; + break; + } + message/* default.error */.ZP.error("请选择文件"); + return _context4.abrupt("return"); + case 4: + Data = { + login: userinfo === null || userinfo === void 0 ? void 0 : userinfo.login, + container_type: "Competition", + file_name: fileList === null || fileList === void 0 ? void 0 : (_fileList$ = fileList[0]) === null || _fileList$ === void 0 ? void 0 : _fileList$.name, + stage_type: gameItem === null || gameItem === void 0 ? void 0 : gameItem.id, + container_id: HeaderDetail === null || HeaderDetail === void 0 ? void 0 : HeaderDetail.id, + result_id: rowTable === null || rowTable === void 0 ? void 0 : rowTable.id, + module_type: 'worksubmit' + }; + if (!(modelType == 1)) { + _context4.next = 13; + break; + } + _context4.next = 8; + return (0,utils_fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/check_result_url.json"), { + method: "GET", + params: { + url: values.url, + stage_id: gameItem === null || gameItem === void 0 ? void 0 : gameItem.id, + result_id: rowTable === null || rowTable === void 0 ? void 0 : rowTable.id + } + }); + case 8: + _res = _context4.sent; + if (!((_res === null || _res === void 0 ? void 0 : _res.status) != 0)) { + _context4.next = 11; + break; + } + return _context4.abrupt("return"); + case 11: + Data["name"] = values.name; + Data["url"] = values.url; + case 13: + if (!(modelType == 1 && fileList.length == 0)) { + _context4.next = 19; + break; + } + _context4.next = 16; + return dispatch({ + type: 'competitions/getWorkSubmitUpdateRes', + payload: { + identifier: identifier, + result_id: rowTable === null || rowTable === void 0 ? void 0 : rowTable.id, + name: values.name, + url: values.url, + stage_id: gameItem === null || gameItem === void 0 ? void 0 : gameItem.id, + result_url: rowTable === null || rowTable === void 0 ? void 0 : rowTable.result_url, + module_type: 'worksubmit' + } + }); + case 16: + res = _context4.sent; + _context4.next = 22; + break; + case 19: + _context4.next = 21; + return (0,UploadFile/* uploadFile */.cT)(fileList[0], Data); + case 21: + res = _context4.sent; + case 22: + if (((_res2 = res) === null || _res2 === void 0 ? void 0 : _res2.status) == 0) { + message/* default.success */.ZP.success("提交成功"); + } else { + message/* default.info */.ZP.info(((_res3 = res) === null || _res3 === void 0 ? void 0 : _res3.message) || "提交失败"); + } + setIsSubmitModel(false); + setFileList([]); + getResults(); + case 26: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function handleFormFinish(_x2) { + return _ref5.apply(this, arguments); + }; + }(); + // 下载所有作品 + var handleAllDownload = /*#__PURE__*/function () { + var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6() { + var _res$results; + var res, DownloadList, modal, nameLsit, addzip, i, _iterator, _step, item; + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + _context6.next = 2; + return dispatch({ + type: 'competitions/Results', + payload: { + identifier: identifier, + stage_id: gameItem === null || gameItem === void 0 ? void 0 : gameItem.id, + page: 1, + per_page: 9999999, + // TODO :查询所有列表数据 + keyword: "", + module_type: 'worksubmit' + } + }); + case 2: + res = _context6.sent; + DownloadList = res === null || res === void 0 ? void 0 : (_res$results = res.results) === null || _res$results === void 0 ? void 0 : _res$results.filter(function (item) { + return (item === null || item === void 0 ? void 0 : item.result_url) && item.file_name; + }); + modal = es_modal/* default.info */.Z.info({ + width: 460, + title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u6B63\u5728\u5BFC\u51FA\u53C2\u8D5B\u6587\u4EF6,", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-red", + children: "\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3" + })] + }), + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u5F53\u524D\u8FDB\u5EA6: ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-blue", + children: 0 + }), "/", DownloadList.length] + }), + maskClosable: false, + className: WorkSubmitmodules.modal, + onOk: function onOk() {} + }); + nameLsit = []; + addzip = /*#__PURE__*/function () { + var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(data, progress) { + var zip, response, blob; + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + _context5.prev = 0; + zip = new (jszip_min_default())(); + _context5.next = 4; + return fetch(data.result_url, { + method: "get" + }); + case 4: + response = _context5.sent; + _context5.next = 7; + return response.blob(); + case 7: + blob = _context5.sent; + zip.file(data.file_name, blob); + _context5.next = 11; + return zip.generateAsync({ + type: "blob" + }).then(function (blob) { + var getNameFile = function getNameFile(name) { + var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; + if (index == 0 && nameLsit.includes(name) || nameLsit.includes("".concat(name, "(").concat(index, ")"))) { + getNameFile(name, index + 1); + } else { + nameLsit.push(index == 0 ? name : "".concat(name, "(").concat(index, ")")); + zipAll.file(index == 0 ? name + ".zip" : "".concat(name, "(").concat(index, ")") + ".zip", blob); + } + }; + getNameFile("".concat(data === null || data === void 0 ? void 0 : data.team_name, "-").concat(data === null || data === void 0 ? void 0 : data.user_name)); + }); + case 11: + modal.update({ + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u5F53\u524D\u8FDB\u5EA6: ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-blue", + children: progress + }), "/", DownloadList.length] + }) + }); + _context5.next = 17; + break; + case 14: + _context5.prev = 14; + _context5.t0 = _context5["catch"](0); + message/* default.error */.ZP.error("".concat(data.file_name, "\u4E0B\u8F7D\u5931\u8D25")); + case 17: + case "end": + return _context5.stop(); + } + }, _callee5, null, [[0, 14]]); + })); + return function addzip(_x3, _x4) { + return _ref7.apply(this, arguments); + }; + }(); + if (!(DownloadList.length > 0)) { + _context6.next = 27; + break; + } + i = 0; + _iterator = createForOfIteratorHelper_default()(DownloadList); + _context6.prev = 10; + _iterator.s(); + case 12: + if ((_step = _iterator.n()).done) { + _context6.next = 18; + break; + } + item = _step.value; + _context6.next = 16; + return addzip(item, ++i); + case 16: + _context6.next = 12; + break; + case 18: + _context6.next = 23; + break; + case 20: + _context6.prev = 20; + _context6.t0 = _context6["catch"](10); + _iterator.e(_context6.t0); + case 23: + _context6.prev = 23; + _iterator.f(); + return _context6.finish(23); + case 26: + zipAll.generateAsync({ + type: "blob" + }).then(function (blob) { + (0,util/* downLoadLink */.Nd)(HeaderDetail.name, window.URL.createObjectURL(blob)); + }); + case 27: + modal.destroy(); + case 28: + case "end": + return _context6.stop(); + } + }, _callee6, null, [[10, 20, 23, 26]]); + })); + return function handleAllDownload() { + return _ref6.apply(this, arguments); + }; + }(); + var uploadProps = { + maxCount: 1, + withCredentials: true, + fileList: fileList, + onRemove: function onRemove() { + setFileList([]); + }, + beforeUpload: function beforeUpload(file) { + var fileSize = file.size / 1024 / 1024; + var fileType = file.name.split(".").slice(-1)[0].toLowerCase(); + if (modelType == 1 && fileSize > 150 || modelType == 2 && fileSize / 1024 > 1 || fileSize == 0) { + message/* default.error */.ZP.error("".concat(file.name, " \u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002").concat(fileSize == 0 ? "文件内容不能为空" : "\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(modelType == 1 ? '150MB' : '1G', ")"))); + return Promise.reject(); + } + setFileList([file]); + return false; + } + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: WorkSubmitmodules.WorkSubmit, + children: [gameItem ? /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z, { + defaultActiveKey: ((_TabResults$stages5 = TabResults.stages) === null || _TabResults$stages5 === void 0 ? void 0 : (_TabResults$stages5$ = _TabResults$stages5[0]) === null || _TabResults$stages5$ === void 0 ? void 0 : _TabResults$stages5$.id) || 1, + destroyInactiveTabPane: true, + tabBarExtraContent: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + style: { + marginBottom: "10px" + }, + children: [!identity && StaffDetail.enrolled && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "primary", + onClick: function onClick() { + return setIsSubmitModel(true); + }, + children: "\u4F5C\u54C1\u63D0\u4EA4" + }), identity && !isEdit && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + style: { + marginLeft: "10px" + }, + type: "primary", + onClick: function onClick() { + return setIsEdit(true); + }, + children: "\u7F16\u8F91" + })] + }), + onChange: function onChange(activeKey) { + var item = TabResults.stages.find(function (item) { + return item.id == activeKey; + }); + item.children.length > 0 ? setGameItem(item.children[0]) : setGameItem(item); + }, + children: (_TabResults$stages6 = TabResults.stages) === null || _TabResults$stages6 === void 0 ? void 0 : _TabResults$stages6.map(function (item, index) { + var _TabResults$rule_cont, _TabResults$rule_cont2, _item$children$, _item$children; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(tabs/* default.TabPane */.Z.TabPane, { + tab: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + marginBottom: "20px" + }, + children: item.name + }), + children: [isEdit ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + defaultValue: ((_TabResults$rule_cont = TabResults.rule_contents[index]) === null || _TabResults$rule_cont === void 0 ? void 0 : _TabResults$rule_cont.content) || "", + onChange: function onChange(e) { + return setMdContent(e); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + type: "primary", + onClick: function onClick() { + return getUpMDContent(TabResults.rule_contents[index]); + }, + children: "\u63D0\u4EA4" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + style: { + marginLeft: "10px" + }, + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() { + return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { + case 0: + return _context7.abrupt("return", setIsEdit(false)); + case 1: + case "end": + return _context7.stop(); + } + }, _callee7); + })), + children: "\u53D6\u6D88" + })] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + style: { + marginTop: "10px" + }, + value: ((_TabResults$rule_cont2 = TabResults.rule_contents[index]) === null || _TabResults$rule_cont2 === void 0 ? void 0 : _TabResults$rule_cont2.content) || "" + }), item.children.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z, { + defaultActiveKey: (_item$children$ = item.children[0]) === null || _item$children$ === void 0 ? void 0 : _item$children$.id, + destroyInactiveTabPane: true, + onChange: function onChange(activeKey) { + setGameItem(item.children.find(function (item) { + return item.id == activeKey; + })); + }, + children: (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.map(function (ChildItem) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default.TabPane */.Z.TabPane, { + tab: ChildItem.name + }, ChildItem.id); + }) + })] + }, item.id); + }) + }) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [(StaffDetail.enrolled || identity) && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + style: { + marginBottom: "10px", + paddingBottom: "10px", + borderBottom: "1px solid #eee" + }, + children: [!identity && StaffDetail.enrolled && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + style: { + marginLeft: "auto" + }, + type: "primary", + onClick: function onClick() { + return setIsSubmitModel(true); + }, + children: "\u4F5C\u54C1\u63D0\u4EA4" + }), identity && !isEdit && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + style: { + marginLeft: !identity && StaffDetail.enrolled ? "10px" : "auto" + }, + type: "primary", + onClick: function onClick() { + return setIsEdit(true); + }, + children: "\u7F16\u8F91" + })] + }), isEdit ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + defaultValue: ((_TabResults$rule_cont3 = TabResults.rule_contents) === null || _TabResults$rule_cont3 === void 0 ? void 0 : (_TabResults$rule_cont4 = _TabResults$rule_cont3[0]) === null || _TabResults$rule_cont4 === void 0 ? void 0 : _TabResults$rule_cont4.content) || "", + onChange: function onChange(e) { + return setMdContent(e); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + type: "primary", + onClick: function onClick() { + var _TabResults$rule_cont5; + return getUpMDContent((_TabResults$rule_cont5 = TabResults.rule_contents) === null || _TabResults$rule_cont5 === void 0 ? void 0 : _TabResults$rule_cont5[0]); + }, + children: "\u63D0\u4EA4" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + style: { + marginLeft: "10px" + }, + 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: + return _context8.abrupt("return", setIsEdit(false)); + case 1: + case "end": + return _context8.stop(); + } + }, _callee8); + })), + children: "\u53D6\u6D88" + })] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + style: { + marginTop: "10px" + }, + value: ((_TabResults$rule_cont6 = TabResults.rule_contents) === null || _TabResults$rule_cont6 === void 0 ? void 0 : (_TabResults$rule_cont7 = _TabResults$rule_cont6[0]) === null || _TabResults$rule_cont7 === void 0 ? void 0 : _TabResults$rule_cont7.content) || "" + })] + }), identity && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + justify: "space-between", + style: { + marginTop: "21px" + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + className: WorkSubmitmodules.search, + placeholder: "\u8BF7\u8F93\u5165\u961F\u4F0D\u540D\u79F0\u6216\u63D0\u4EA4\u4EBA\u59D3\u540D\u641C\u7D22", + suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-sousuo9", + onClick: getResults, + style: { + color: "#000", + cursor: "pointer", + fontSize: "14px" + } + }), + onChange: function onChange(e) { + urlData.keyword = e.target.value; + setUrlData(urlData); + }, + style: { + background: "#F6F7F9" + }, + bordered: false, + onPressEnter: getResults + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + color: "#9B9B9B", + fontSize: "14px", + marginLeft: "20px" + }, + children: ["\u5F53\u524D\u5171\u8BA1\u4F5C\u54C1", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: "#165DFF" + }, + children: tableList.total_count + }), "\u4E2A"] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + children: [modelType == 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + style: { + lineHeight: "32px" + }, + target: "_blank", + href: "/api/competitions/".concat(identifier, "/results.xlsx?identifier=").concat(identifier, "&stage_id=").concat((gameItem === null || gameItem === void 0 ? void 0 : gameItem.id) || "", "&module_type=worksubmit"), + icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-lianjie3", + style: { + fontSize: "16px", + color: "#44D7B6" + } + }), + className: WorkSubmitmodules.downBut, + children: "\u4E0B\u8F7D\u4F5C\u54C1\u94FE\u63A5" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-wenjian4", + style: { + fontSize: "16px", + color: "#F6C555" + } + }), + className: WorkSubmitmodules.downBut, + style: { + marginLeft: "20px" + }, + onClick: handleAllDownload, + children: "\u4E0B\u8F7D\u6240\u6709\u6587\u4EF6" + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + style: { + marginTop: "17px" + }, + loading: tableLoading, + columns: columns, + dataSource: tableList.results, + locale: { + emptyText: /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}) + }, + pagination: false + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + style: { + marginTop: "20px" + }, + align: "middle", + justify: "space-between", + children: [((gameItem === null || gameItem === void 0 ? void 0 : gameItem.end_time) && (gameItem === null || gameItem === void 0 ? void 0 : gameItem.start_time) || HeaderDetail.start_time && HeaderDetail.end_time) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: WorkSubmitmodules.span, + children: ["\u63D0\u4EA4\u65F6\u95F4\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: moment_default()((gameItem === null || gameItem === void 0 ? void 0 : gameItem.start_time) || HeaderDetail.start_time).format("YYYY-MM-DD HH:mm:ss") + }), " \u81F3 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: moment_default()((gameItem === null || gameItem === void 0 ? void 0 : gameItem.end_time) || HeaderDetail.end_time).format("YYYY-MM-DD HH:mm:ss") + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { + showQuickJumper: true, + hideOnSinglePage: true, + total: tableList.total_count, + pageSize: urlData.per_page, + onChange: function onChange(page) { + urlData.page = page; + setUrlData(urlData); + } + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_modal/* default */.Z, { + centered: true, + destroyOnClose: true, + title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + fontWeight: "500", + color: "#000000", + marginTop: "10px" + }, + children: "\u53C2\u6570\u4F5C\u54C1\u63D0\u4EA4" + }), + open: isSubmitModel, + bodyStyle: { + padding: " 0px 25px 10px 25px" + }, + footer: null, + onCancel: function onCancel() { + setIsSubmitModel(false); + setFileList([]); + setRowTable(null); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: WorkSubmitmodules.WorkSubmitDesc, + children: "\u8BF4\u660E\uFF1A\u53C2\u8D5B\u4F5C\u54C1\u4E0D\u652F\u6301\u5220\u9664\uFF0C\u5927\u8D5B\u8FDB\u884C\u4E2D\u4E0A\u4F20\u540E\u7684\u4F5C\u54C1\u5982\u9700\u4FEE\u6539\uFF0C\u53EF\u5728\u3010\u4F5C\u54C1\u63D0\u4EA4\u3011\u5217\u8868\u70B9\u51FB\u201C\u7F16\u8F91\u201D\u8FDB\u884C\u4FEE\u6539\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + initialValues: rowTable, + colon: false, + onFinish: handleFormFinish, + children: [modelType == 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u4F5C\u54C1\u540D\u79F0", + name: "name", + rules: [{ + required: true, + message: "请填写作品名称" + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + showCount: true, + maxLength: 60, + placeholder: "\u8BF7\u8F93\u5165\u4F5C\u54C1\u540D\u79F0" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u4F5C\u54C1\u94FE\u63A5", + name: "url", + rules: [{ + required: true, + message: "请填写作品链接" + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u8BF7\u8F93\u5165\u4F5C\u54C1\u94FE\u63A5" + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default.Item */.Z.Item, { + name: "fileList", + style: { + paddingLeft: modelType == 1 ? "76px" : "0" + }, + valuePropName: "fileList", + getValueFromEvent: function getValueFromEvent(e) { + if (Array.isArray(e)) return e; + return e === null || e === void 0 ? void 0 : e.fileList; + }, + children: [modelType == 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "primary", + ghost: true, + icon: /*#__PURE__*/(0,jsx_runtime.jsx)(UploadOutlined/* default */.Z, {}), + children: fileList.length > 0 ? "更换文件" : "文件上传" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "right", + overlayStyle: { + maxWidth: 600 + }, + title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick(e) { + e.preventDefault(); + e.stopPropagation(); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + children: "\u63D0\u793A\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + children: "1. \u4E00\u6B21\u6700\u591A\u4E0A\u4F201\u4E2A\u6587\u4EF6\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + children: "2. \u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7150M\u3002" + })] + }), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick(e) { + e.preventDefault(); + e.stopPropagation(); + }, + className: "iconfont icon-tishixiaowenhao ml5", + style: { + cursor: 'pointer', + color: '#C5C5C5' + } + }) + })] + }) + })), modelType == 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)(upload/* default.Dragger */.Z.Dragger, objectSpread2_default()(objectSpread2_default()({ + className: WorkSubmitmodules.fileList, + style: { + background: "#fff", + padding: "31px 0px" + } + }, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "ant-upload-drag-icon", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-shangchuan4", + style: { + fontSize: "32px", + color: "#165DFF" + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "ant-upload-text", + children: "\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20" + })] + }))] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + style: { + marginLeft: "auto" + }, + onClick: function onClick() { + setIsSubmitModel(false); + setFileList([]); + setRowTable(null); + }, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + type: "primary", + style: { + marginLeft: "10px" + }, + htmlType: "submit", + children: "\u786E\u5B9A" + })] + }) + })] + })] + })] + }); +}; +/* harmony default export */ var components_WorkSubmit = ((0,_umi_production_exports.connect)(function (_ref10) { + objectDestructuringEmpty_default()(_ref10); + return {}; +})(WorkSubmit)); +;// CONCATENATED MODULE: ./src/pages/Competitions/Detail/index.tsx + + + + + + + + + + + + + + + + + +var Detail_excluded = ["globalSetting", "loading", "dispatch", "user"]; + + + + + +//查看内容 + +//编辑内容 + + //排行榜 + //获奖证书 + + + + + + + + + + + + + +var competitionDetails = function competitionDetails(_ref) { + var _HeaderDetail$competi5, _HeaderDetail$competi6, _user$userInfo3, _HeaderDetail$permiss, _HeaderDetail$permiss2, _HeaderDetail$permiss3, _HeaderDetail$permiss4, _HeaderDetail$permiss5, _HeaderDetail$permiss6; + var globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + user = _ref.user, + props = objectWithoutProperties_default()(_ref, Detail_excluded); + var _useState = (0,react.useState)({ + avatar_url: "" + }), + _useState2 = slicedToArray_default()(_useState, 2), + HeaderDetail = _useState2[0], + setHeaderDetail = _useState2[1]; + var _useState3 = (0,react.useState)([]), + _useState4 = slicedToArray_default()(_useState3, 2), + StaffDetail = _useState4[0], + setStaffDetail = _useState4[1]; + var _useParams = (0,_umi_production_exports.useParams)(), + identifier = _useParams.identifier; + var _useState5 = (0,react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + ItemData = _useState6[0], + setItemData = _useState6[1]; + //打开编辑还是打开查看 + var _useState7 = (0,react.useState)(true), + _useState8 = slicedToArray_default()(_useState7, 2), + ISsee = _useState8[0], + setIssee = _useState8[1]; + var _useState9 = (0,react.useState)([]), + _useState10 = slicedToArray_default()(_useState9, 2), + MenuItem = _useState10[0], + setMenuItem = _useState10[1]; + var _useState11 = (0,react.useState)([]), + _useState12 = slicedToArray_default()(_useState11, 2), + ModelType = _useState12[0], + setModelType = _useState12[1]; + //点击了排行榜 + var _useState13 = (0,react.useState)(false), + _useState14 = slicedToArray_default()(_useState13, 2), + isRanKing = _useState14[0], + setIsRanKing = _useState14[1]; + //获取排行榜 + var _useState15 = (0,react.useState)(false), + _useState16 = slicedToArray_default()(_useState15, 2), + ChartRules = _useState16[0], + setChartRules = _useState16[1]; + //点击了获奖证书 + var _useState17 = (0,react.useState)(false), + _useState18 = slicedToArray_default()(_useState17, 2), + isAward = _useState18[0], + setIsAward = _useState18[1]; + //获奖证书信息 + var _useState19 = (0,react.useState)([]), + _useState20 = slicedToArray_default()(_useState19, 2), + Prize = _useState20[0], + setPrize = _useState20[1]; + //获取个人信息 Accounts + var _useState21 = (0,react.useState)([]), + _useState22 = slicedToArray_default()(_useState21, 2), + Accounts = _useState22[0], + SetAccounts = _useState22[1]; + //设置选中的条目 + var _useState23 = (0,react.useState)([]), + _useState24 = slicedToArray_default()(_useState23, 2), + Selectkey = _useState24[0], setSeleckjey = _useState24[1]; //md_tab var _useState25 = (0,react.useState)(false), @@ -8531,6 +9971,12 @@ var competitionDetails = function competitionDetails(_ref) { setdatas = _useState50[1]; var loction = (0,_umi_production_exports.useLocation)(); var see = (0,react.useRef)(null); + + // 作品提交 + var _useState51 = (0,react.useState)(false), + _useState52 = slicedToArray_default()(_useState51, 2), + isWorkSubmit = _useState52[0], + setIsWorkSubmit = _useState52[1]; (0,react.useEffect)(function () { console.log("++++++++++++++++++++++++++++++++++++", identifier); if (identifier) { @@ -8647,8 +10093,13 @@ var competitionDetails = function competitionDetails(_ref) { setItemData(data); setshowmake(false); setentrance(false); + setIsWorkSubmit(false); setModelType(item.module_type); - if (item.module_type === "chart") { + if (item.module_type === "worksubmit") { + setIssee(false); + setIsWorkSubmit(true); + getTabResults(); + } else if (item.module_type === "chart") { setIsRanKing(true); setIssee(false); getChartRules(); @@ -8677,7 +10128,7 @@ var competitionDetails = function competitionDetails(_ref) { setIssee(true); localStorage.setItem('issee', '1'); } - case 20: + case 21: case "end": return _context3.stop(); } @@ -9094,8 +10545,8 @@ var competitionDetails = function competitionDetails(_ref) { var _user$userInfo, _user$userInfo2; //判断 如果不符合条件 不能加入竞赛 if (user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && _user$userInfo.is_teacher) { - var _StaffDetail$teacher_; - if (StaffDetail !== null && StaffDetail !== void 0 && (_StaffDetail$teacher_ = StaffDetail.teacher_staff) !== null && _StaffDetail$teacher_ !== void 0 && _StaffDetail$teacher_.mutiple_limited) { + var _StaffDetail$all_staf, _StaffDetail$teacher_; + if (StaffDetail !== null && StaffDetail !== void 0 && (_StaffDetail$all_staf = StaffDetail.all_staff) !== null && _StaffDetail$all_staf !== void 0 && _StaffDetail$all_staf.mutiple_limited || StaffDetail !== null && StaffDetail !== void 0 && (_StaffDetail$teacher_ = StaffDetail.teacher_staff) !== null && _StaffDetail$teacher_ !== void 0 && _StaffDetail$teacher_.mutiple_limited) { if (StaffDetail !== null && StaffDetail !== void 0 && StaffDetail.enrolled) { message/* default.info */.ZP.info('你已经报名,不能重复报名'); setIsClick(true); @@ -9103,8 +10554,8 @@ var competitionDetails = function competitionDetails(_ref) { } } } else { - var _StaffDetail$member_s; - if (StaffDetail !== null && StaffDetail !== void 0 && (_StaffDetail$member_s = StaffDetail.member_staff) !== null && _StaffDetail$member_s !== void 0 && _StaffDetail$member_s.mutiple_limited) { + var _StaffDetail$all_staf2, _StaffDetail$member_s; + if (StaffDetail !== null && StaffDetail !== void 0 && (_StaffDetail$all_staf2 = StaffDetail.all_staff) !== null && _StaffDetail$all_staf2 !== void 0 && _StaffDetail$all_staf2.mutiple_limited || StaffDetail !== null && StaffDetail !== void 0 && (_StaffDetail$member_s = StaffDetail.member_staff) !== null && _StaffDetail$member_s !== void 0 && _StaffDetail$member_s.mutiple_limited) { if (StaffDetail !== null && StaffDetail !== void 0 && StaffDetail.enrolled) { message/* default.info */.ZP.info('你已经报名,不能重复报名'); setIsClick(true); @@ -9118,6 +10569,8 @@ var competitionDetails = function competitionDetails(_ref) { setIsClick(true); return true; } + // 是否可以全部报名 + if (StaffDetail !== null && StaffDetail !== void 0 && StaffDetail.all_staff) return false; //禁止老师or学生报名 if (user !== null && user !== void 0 && (_user$userInfo2 = user.userInfo) !== null && _user$userInfo2 !== void 0 && _user$userInfo2.is_teacher) { if (!StaffDetail.teacher_staff) { @@ -9455,7 +10908,7 @@ var competitionDetails = function competitionDetails(_ref) { setIssee: setIssee, ModelType: ModelType, dispatch: dispatch - }) : null, !ISsee && !showmake && !entrance && !isRanKing && !isAward && !MdTab ? /*#__PURE__*/(0,jsx_runtime.jsx)(Update, { + }) : null, !ISsee && !showmake && !entrance && !isRanKing && !isAward && !MdTab && !isWorkSubmit ? /*#__PURE__*/(0,jsx_runtime.jsx)(Update, { userinfo: user.userInfo, ModelType: ModelType, getrightdatas: getrightdatas, @@ -9499,6 +10952,14 @@ var competitionDetails = function competitionDetails(_ref) { Selectkey: Selectkey, ChartRules: TabResults, ItemData: ItemData + }), isWorkSubmit && /*#__PURE__*/(0,jsx_runtime.jsx)(components_WorkSubmit, { + HeaderDetail: HeaderDetail, + userinfo: user.userInfo, + StaffDetail: StaffDetail, + Editable: HeaderDetail === null || HeaderDetail === void 0 ? void 0 : (_HeaderDetail$permiss6 = HeaderDetail.permission) === null || _HeaderDetail$permiss6 === void 0 ? void 0 : _HeaderDetail$permiss6.editable, + ItemData: MenuItem, + TabResults: TabResults, + getTabResults: getTabResults })] })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(AuthenticationModel/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(AddSubmitModel, { @@ -12075,6 +13536,240 @@ function useInterval(callback, delay) { /***/ }), +/***/ 49288: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/auto-complete/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 71002); +/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ 97685); +/* 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_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 50344); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rc-util/es/omit */ 98423); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../select */ 34041); +/* harmony import */ var _util_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/reactNode */ 96159); + + + +/** + * TODO: 4.0 + * + * - Remove `dataSource` + * - `size` not work with customizeInput + * - CustomizeInput not feedback `ENTER` key since accessibility enhancement + */ + + + + + + + + +var Option = _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"].Option */ .Z.Option; +function isSelectOptionOrSelectOptGroup(child) { + return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup); +} +var AutoComplete = function AutoComplete(props, ref) { + var customizePrefixCls = props.prefixCls, + className = props.className, + popupClassName = props.popupClassName, + dropdownClassName = props.dropdownClassName, + children = props.children, + dataSource = props.dataSource; + var childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children); + // ============================= Input ============================= + var customizeInput; + if (childNodes.length === 1 && (0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) { + var _childNodes = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(childNodes, 1); + customizeInput = _childNodes[0]; + } + var getInputElement = customizeInput ? function () { + return customizeInput; + } : undefined; + // ============================ Options ============================ + var optionChildren; + // [Legacy] convert `children` or `dataSource` into option children + if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) { + optionChildren = children; + } else { + optionChildren = dataSource ? dataSource.map(function (item) { + if ((0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(item)) { + return item; + } + switch ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(item)) { + case 'string': + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { + key: item, + value: item + }, item); + case 'object': + { + var optionValue = item.value; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { + key: optionValue, + value: optionValue + }, item.text); + } + default: + false ? 0 : void 0; + return undefined; + } + }) : []; + } + false ? 0 : void 0; + false ? 0 : void 0; + false ? 0 : void 0; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_config_provider__WEBPACK_IMPORTED_MODULE_7__/* .ConfigConsumer */ .C, null, function (_ref) { + var getPrefixCls = _ref.getPrefixCls; + var prefixCls = getPrefixCls('select', customizePrefixCls); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)({ + ref: ref + }, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(props, ['dataSource']), { + prefixCls: prefixCls, + popupClassName: popupClassName || dropdownClassName, + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()("".concat(prefixCls, "-auto-complete"), className), + mode: _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"].SECRET_COMBOBOX_MODE_DO_NOT_USE */ .Z.SECRET_COMBOBOX_MODE_DO_NOT_USE + }, { + // Internal api + getInputElement: getInputElement + }), optionChildren); + }); +}; +var RefAutoComplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(AutoComplete); +RefAutoComplete.Option = Option; +/* harmony default export */ __webpack_exports__["Z"] = (RefAutoComplete); + +/***/ }), + +/***/ 19070: +/*!***********************************************************************!*\ + !*** ./node_modules/antd/es/auto-complete/style/index.js + 1 modules ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/auto-complete/style/index.less +// extracted by mini-css-extract-plugin + +// EXTERNAL MODULE: ./node_modules/antd/es/select/style/index.js + 1 modules +var style = __webpack_require__(95985); +;// CONCATENATED MODULE: ./node_modules/antd/es/auto-complete/style/index.js + + +// style dependencies + + +/***/ }), + +/***/ 27049: +/*!***********************************************!*\ + !*** ./node_modules/antd/es/divider/index.js ***! + \***********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ 53124); + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + +var Divider = function Divider(props) { + var _classNames; + var _React$useContext = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__/* .ConfigContext */ .E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var customizePrefixCls = props.prefixCls, + _props$type = props.type, + type = _props$type === void 0 ? 'horizontal' : _props$type, + _props$orientation = props.orientation, + orientation = _props$orientation === void 0 ? 'center' : _props$orientation, + orientationMargin = props.orientationMargin, + className = props.className, + children = props.children, + dashed = props.dashed, + plain = props.plain, + restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"]); + var prefixCls = getPrefixCls('divider', customizePrefixCls); + var orientationPrefix = orientation.length > 0 ? "-".concat(orientation) : orientation; + var hasChildren = !!children; + var hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; + var hasCustomMarginRight = orientation === 'right' && orientationMargin != null; + var classString = classnames__WEBPACK_IMPORTED_MODULE_0___default()(prefixCls, "".concat(prefixCls, "-").concat(type), (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text"), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-with-text").concat(orientationPrefix), hasChildren), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-dashed"), !!dashed), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-plain"), !!plain), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-left"), hasCustomMarginLeft), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-no-default-orientation-margin-right"), hasCustomMarginRight), _classNames), className); + var innerStyle = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, hasCustomMarginLeft && { + marginLeft: orientationMargin + }), hasCustomMarginRight && { + marginRight: orientationMargin + }); + // Warning children not work in vertical mode + if (false) {} + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + className: classString + }, restProps, { + role: "separator" + }), children && type !== 'vertical' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { + className: "".concat(prefixCls, "-inner-text"), + style: innerStyle + }, children)); +}; +/* harmony default export */ __webpack_exports__["Z"] = (Divider); + +/***/ }), + +/***/ 98541: +/*!*****************************************************************!*\ + !*** ./node_modules/antd/es/divider/style/index.js + 1 modules ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js + + + +/***/ }), + +/***/ 4977: +/*!********************************************!*\ + !*** ./src/assets/images/icons/nodata.png ***! + \********************************************/ +/***/ (function(module) { + +"use strict"; +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+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="; + +/***/ }), + /***/ 42480: /*!************************!*\ !*** crypto (ignored) ***! diff --git a/p__Competitions__Detail__index.chunk.css b/p__Competitions__Detail__index.chunk.css index 098bad4a3a..c61cdb6fd4 100644 --- a/p__Competitions__Detail__index.chunk.css +++ b/p__Competitions__Detail__index.chunk.css @@ -1,3 +1,87 @@ +/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! + \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-breadcrumb { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + color: rgba(0, 0, 0, 0.45); + font-size: 12px; +} +.ant-breadcrumb .anticon { + font-size: 12px; +} +.ant-breadcrumb ol { + display: flex; + flex-wrap: wrap; + margin: 0; + padding: 0; + list-style: none; +} +.ant-breadcrumb a { + color: rgba(0, 0, 0, 0.45); + transition: color 0.3s; +} +.ant-breadcrumb a:hover { + color: rgba(0, 0, 0, 0.85); +} +.ant-breadcrumb li:last-child { + color: rgba(0, 0, 0, 0.85); +} +.ant-breadcrumb li:last-child a { + color: rgba(0, 0, 0, 0.85); +} +li:last-child > .ant-breadcrumb-separator { + display: none; +} +.ant-breadcrumb-separator { + margin: 0 4px; + color: rgba(0, 0, 0, 0.45); +} +.ant-breadcrumb-link > .anticon + span, +.ant-breadcrumb-link > .anticon + a { + margin-left: 4px; +} +.ant-breadcrumb-overlay-link > .anticon { + margin-left: 4px; +} +.ant-breadcrumb-rtl { + direction: rtl; +} +.ant-breadcrumb-rtl::before { + display: table; + content: ''; +} +.ant-breadcrumb-rtl::after { + display: table; + clear: both; + content: ''; +} +.ant-breadcrumb-rtl > span { + float: right; +} +.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span, +.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a { + margin-right: 4px; + margin-left: 0; +} +.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon { + margin-right: 4px; + margin-left: 0; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[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/Competitions/Detail/index.less?modules ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -501,6 +585,299 @@ .highlighted-line { background: #4B4B18; } +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/carousel/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-carousel { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; +} +.ant-carousel .slick-slider { + position: relative; + display: block; + box-sizing: border-box; + touch-action: pan-y; + -webkit-touch-callout: none; + -webkit-tap-highlight-color: transparent; +} +.ant-carousel .slick-list { + position: relative; + display: block; + margin: 0; + padding: 0; + overflow: hidden; +} +.ant-carousel .slick-list:focus { + outline: none; +} +.ant-carousel .slick-list.dragging { + cursor: pointer; +} +.ant-carousel .slick-list .slick-slide { + pointer-events: none; +} +.ant-carousel .slick-list .slick-slide input.ant-radio-input, +.ant-carousel .slick-list .slick-slide input.ant-checkbox-input { + visibility: hidden; +} +.ant-carousel .slick-list .slick-slide.slick-active { + pointer-events: auto; +} +.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input, +.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input { + visibility: visible; +} +.ant-carousel .slick-list .slick-slide > div > div { + vertical-align: bottom; +} +.ant-carousel .slick-slider .slick-track, +.ant-carousel .slick-slider .slick-list { + transform: translate3d(0, 0, 0); + touch-action: pan-y; +} +.ant-carousel .slick-track { + position: relative; + top: 0; + left: 0; + display: block; +} +.ant-carousel .slick-track::before, +.ant-carousel .slick-track::after { + display: table; + content: ''; +} +.ant-carousel .slick-track::after { + clear: both; +} +.slick-loading .ant-carousel .slick-track { + visibility: hidden; +} +.ant-carousel .slick-slide { + display: none; + float: left; + height: 100%; + min-height: 1px; +} +.ant-carousel .slick-slide img { + display: block; +} +.ant-carousel .slick-slide.slick-loading img { + display: none; +} +.ant-carousel .slick-slide.dragging img { + pointer-events: none; +} +.ant-carousel .slick-initialized .slick-slide { + display: block; +} +.ant-carousel .slick-loading .slick-slide { + visibility: hidden; +} +.ant-carousel .slick-vertical .slick-slide { + display: block; + height: auto; +} +.ant-carousel .slick-arrow.slick-hidden { + display: none; +} +.ant-carousel .slick-prev, +.ant-carousel .slick-next { + position: absolute; + top: 50%; + display: block; + width: 20px; + height: 20px; + margin-top: -10px; + padding: 0; + color: transparent; + font-size: 0; + line-height: 0; + background: transparent; + border: 0; + outline: none; + cursor: pointer; +} +.ant-carousel .slick-prev:hover, +.ant-carousel .slick-next:hover, +.ant-carousel .slick-prev:focus, +.ant-carousel .slick-next:focus { + color: transparent; + background: transparent; + outline: none; +} +.ant-carousel .slick-prev:hover::before, +.ant-carousel .slick-next:hover::before, +.ant-carousel .slick-prev:focus::before, +.ant-carousel .slick-next:focus::before { + opacity: 1; +} +.ant-carousel .slick-prev.slick-disabled::before, +.ant-carousel .slick-next.slick-disabled::before { + opacity: 0.25; +} +.ant-carousel .slick-prev { + left: -25px; +} +.ant-carousel .slick-prev::before { + content: '←'; +} +.ant-carousel .slick-next { + right: -25px; +} +.ant-carousel .slick-next::before { + content: '→'; +} +.ant-carousel .slick-dots { + position: absolute; + right: 0; + bottom: 0; + left: 0; + z-index: 15; + display: flex !important; + justify-content: center; + margin-right: 15%; + margin-bottom: 0; + margin-left: 15%; + padding-left: 0; + list-style: none; +} +.ant-carousel .slick-dots-bottom { + bottom: 12px; +} +.ant-carousel .slick-dots-top { + top: 12px; + bottom: auto; +} +.ant-carousel .slick-dots li { + position: relative; + display: inline-block; + flex: 0 1 auto; + box-sizing: content-box; + width: 16px; + height: 3px; + margin: 0 4px; + padding: 0; + text-align: center; + text-indent: -999px; + vertical-align: top; + transition: all 0.5s; +} +.ant-carousel .slick-dots li button { + position: relative; + display: block; + width: 100%; + height: 3px; + padding: 0; + color: transparent; + font-size: 0; + background: #fff; + border: 0; + border-radius: 1px; + outline: none; + cursor: pointer; + opacity: 0.3; + transition: all 0.5s; +} +.ant-carousel .slick-dots li button:hover, +.ant-carousel .slick-dots li button:focus { + opacity: 0.75; +} +.ant-carousel .slick-dots li button::after { + position: absolute; + top: -4px; + right: -4px; + bottom: -4px; + left: -4px; + content: ''; +} +.ant-carousel .slick-dots li.slick-active { + width: 24px; +} +.ant-carousel .slick-dots li.slick-active button { + background: #fff; + opacity: 1; +} +.ant-carousel .slick-dots li.slick-active:hover, +.ant-carousel .slick-dots li.slick-active:focus { + opacity: 1; +} +.ant-carousel-vertical .slick-dots { + top: 50%; + bottom: auto; + flex-direction: column; + width: 3px; + height: auto; + margin: 0; + transform: translateY(-50%); +} +.ant-carousel-vertical .slick-dots-left { + right: auto; + left: 12px; +} +.ant-carousel-vertical .slick-dots-right { + right: 12px; + left: auto; +} +.ant-carousel-vertical .slick-dots li { + width: 3px; + height: 16px; + margin: 4px 0; + vertical-align: baseline; +} +.ant-carousel-vertical .slick-dots li button { + width: 3px; + height: 16px; +} +.ant-carousel-vertical .slick-dots li.slick-active { + width: 3px; + height: 24px; +} +.ant-carousel-vertical .slick-dots li.slick-active button { + width: 3px; + height: 24px; +} +.ant-carousel-rtl { + direction: rtl; +} +.ant-carousel-rtl .ant-carousel .slick-track { + right: 0; + left: auto; +} +.ant-carousel-rtl .ant-carousel .slick-prev { + right: -25px; + left: auto; +} +.ant-carousel-rtl .ant-carousel .slick-prev::before { + content: '→'; +} +.ant-carousel-rtl .ant-carousel .slick-next { + right: auto; + left: -25px; +} +.ant-carousel-rtl .ant-carousel .slick-next::before { + content: '←'; +} +.ant-carousel-rtl.ant-carousel .slick-dots { + flex-direction: row-reverse; +} +.ant-carousel-rtl.ant-carousel-vertical .slick-dots { + flex-direction: column; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/index.less ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -1249,76 +1626,777 @@ span.CodeMirror-selectedtext { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Detail/component/index.less?modules ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.modal___A9Ovz div[class~='ant-modal-body'] { - height: 500px; - overflow-y: auto; +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/card/style/index.less ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-card { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + background: #fff; + border-radius: 2px; } -.colorBlue___XSmR5 { - color: #0152d9; +.ant-card-rtl { + direction: rtl; } -.formWrap___wRvaA div[class~='ant-form-item-label'] { - width: 100px; - text-align: right; +.ant-card-hoverable { + cursor: pointer; + transition: box-shadow 0.3s, border-color 0.3s; } -.formWrap___wRvaA span[class~='ant-upload-btn'] { - padding: 0px !important; +.ant-card-hoverable:hover { + border-color: transparent; + box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09); } -.flexRow___C40dc { - display: flex; - flex-direction: row; +.ant-card-bordered { + border: 1px solid #f0f0f0; } -.flexColumn___LkZfj { +.ant-card-head { + min-height: 36px; + margin-bottom: -1px; + padding: 0 12px; + color: rgba(0, 0, 0, 0.85); + font-weight: 500; + font-size: 12px; + background: transparent; + border-bottom: 1px solid #f0f0f0; + border-radius: 2px 2px 0 0; +} +.ant-card-head::before { + display: table; + content: ''; +} +.ant-card-head::after { + display: table; + clear: both; + content: ''; +} +.ant-card-head-wrapper { display: flex; - flex-direction: column; align-items: center; } -.example___bz7Hw p { - margin: 0px; +.ant-card-head-title { + display: inline-block; + flex: 1 1; + padding: 8.5px 0; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } -.exampleImg___gNkC_ { - width: 160px; - height: 110px; - background: #f0f0f0; - border: 1px solid #dadada; - border-radius: 4px; - padding: 0px 5px; - justify-content: center; - align-items: center; - display: flex; +.ant-card-head-title > .ant-typography, +.ant-card-head-title > .ant-typography-edit-content { + left: 0; + margin-top: 0; + margin-bottom: 0; +} +.ant-card-head .ant-tabs-top { + clear: both; + margin-bottom: -9px; + color: rgba(0, 0, 0, 0.85); + font-weight: normal; + font-size: 12px; } -.colorOrange___Ka6zf { - color: #ff6800; +.ant-card-head .ant-tabs-top-bar { + border-bottom: 1px solid #f0f0f0; } -.uploader___plQRr p { - margin: 0px; +.ant-card-extra { + margin-left: auto; + padding: 8.5px 0; + color: rgba(0, 0, 0, 0.85); + font-weight: normal; + font-size: 12px; } -.uploadImg___cjOpL { - height: 110px; - width: 162px; +.ant-card-rtl .ant-card-extra { + margin-right: auto; + margin-left: 0; } -.imageTip___p1_lZ { - display: flex; - flex-direction: column; - align-items: center; - justify-content: space-between; - height: 110px; - width: 162px; - padding: 20px 0; +.ant-card-body { + padding: 12px; } -.uploadTipIcon___SpsS2 { - color: #4b667f; - cursor: pointer; - font-size: 18px; +.ant-card-body::before { + display: table; + content: ''; } -.uploadTip___e9JlL { - font-size: 16px; - color: #05101a; +.ant-card-body::after { + display: table; + clear: both; + content: ''; } -.color05101a___CDEUv { - color: #05101a; +.ant-card-contain-grid .ant-card-body { + display: flex; + flex-wrap: wrap; +} +.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body { + margin: -1px 0 0 -1px; + padding: 0; +} +.ant-card-grid { + width: 33.33%; + padding: 12px; + border: 0; + border-radius: 0; + box-shadow: 1px 0 0 0 #f0f0f0, 0 1px 0 0 #f0f0f0, 1px 1px 0 0 #f0f0f0, 1px 0 0 0 #f0f0f0 inset, 0 1px 0 0 #f0f0f0 inset; + transition: all 0.3s; +} +.ant-card-grid-hoverable:hover { + position: relative; + z-index: 1; + box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09); +} +.ant-card-contain-tabs > .ant-card-head .ant-card-head-title { + min-height: 27.5px; + padding-bottom: 0; +} +.ant-card-contain-tabs > .ant-card-head .ant-card-extra { + padding-bottom: 0; +} +.ant-card-bordered .ant-card-cover { + margin-top: -1px; + margin-right: -1px; + margin-left: -1px; +} +.ant-card-cover > * { + display: block; + width: 100%; +} +.ant-card-cover img { + border-radius: 2px 2px 0 0; +} +.ant-card-actions { + display: flex; + margin: 0; + padding: 0; + list-style: none; + background: #fff; + border-top: 1px solid #f0f0f0; +} +.ant-card-actions::before { + display: table; + content: ''; +} +.ant-card-actions::after { + display: table; + clear: both; + content: ''; +} +.ant-card-actions > li { + margin: 4px 0; + color: rgba(0, 0, 0, 0.45); + text-align: center; +} +.ant-card-actions > li > span { + position: relative; + display: block; + min-width: 32px; + font-size: 12px; + line-height: 1.66667; + cursor: pointer; +} +.ant-card-actions > li > span:hover { + color: #3061D0; + transition: color 0.3s; +} +.ant-card-actions > li > span a:not(.ant-btn), +.ant-card-actions > li > span > .anticon { + display: inline-block; + width: 100%; + color: rgba(0, 0, 0, 0.45); + line-height: 22px; + transition: color 0.3s; +} +.ant-card-actions > li > span a:not(.ant-btn):hover, +.ant-card-actions > li > span > .anticon:hover { + color: #3061D0; +} +.ant-card-actions > li > span > .anticon { + font-size: 16px; + line-height: 22px; +} +.ant-card-actions > li:not(:last-child) { + border-right: 1px solid #f0f0f0; +} +.ant-card-rtl .ant-card-actions > li:not(:last-child) { + border-right: none; + border-left: 1px solid #f0f0f0; +} +.ant-card-type-inner .ant-card-head { + padding: 0 12px; + background: #fafafa; +} +.ant-card-type-inner .ant-card-head-title { + padding: 12px 0; + font-size: 12px; +} +.ant-card-type-inner .ant-card-body { + padding: 16px 12px; +} +.ant-card-type-inner .ant-card-extra { + padding: 13.5px 0; +} +.ant-card-meta { + display: flex; + margin: -4px 0; +} +.ant-card-meta::before { + display: table; + content: ''; +} +.ant-card-meta::after { + display: table; + clear: both; + content: ''; +} +.ant-card-meta-avatar { + padding-right: 16px; +} +.ant-card-rtl .ant-card-meta-avatar { + padding-right: 0; + padding-left: 16px; +} +.ant-card-meta-detail { + flex: 1 1; + overflow: hidden; +} +.ant-card-meta-detail > div:not(:last-child) { + margin-bottom: 4px; +} +.ant-card-meta-title { + overflow: hidden; + color: rgba(0, 0, 0, 0.85); + font-weight: 500; + font-size: 14px; + white-space: nowrap; + text-overflow: ellipsis; +} +.ant-card-meta-description { + color: rgba(0, 0, 0, 0.45); +} +.ant-card-loading { + overflow: hidden; +} +.ant-card-loading .ant-card-body { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.ant-card-small > .ant-card-head { + min-height: 30px; + padding: 0 12px; + font-size: 12px; +} +.ant-card-small > .ant-card-head > .ant-card-head-wrapper > .ant-card-head-title { + padding: 6px 0; +} +.ant-card-small > .ant-card-head > .ant-card-head-wrapper > .ant-card-extra { + padding: 6px 0; + font-size: 12px; +} +.ant-card-small > .ant-card-body { + padding: 12px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/skeleton/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-skeleton { + display: table; + width: 100%; +} +.ant-skeleton-header { + display: table-cell; + padding-right: 8px; + vertical-align: top; +} +.ant-skeleton-header .ant-skeleton-avatar { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 28px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-header .ant-skeleton-avatar-lg { + width: 32px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-header .ant-skeleton-avatar-sm { + width: 22px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-content { + display: table-cell; + width: 100%; + vertical-align: top; +} +.ant-skeleton-content .ant-skeleton-title { + width: 100%; + height: 14px; + background: rgba(190, 190, 190, 0.2); + border-radius: 2px; +} +.ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph { + margin-top: 20px; +} +.ant-skeleton-content .ant-skeleton-paragraph { + padding: 0; +} +.ant-skeleton-content .ant-skeleton-paragraph > li { + width: 100%; + height: 14px; + list-style: none; + background: rgba(190, 190, 190, 0.2); + border-radius: 2px; +} +.ant-skeleton-content .ant-skeleton-paragraph > li:last-child:not(:first-child):not(:nth-child(2)) { + width: 61%; +} +.ant-skeleton-content .ant-skeleton-paragraph > li + li { + margin-top: 12px; +} +.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title { + margin-top: 8px; +} +.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph { + margin-top: 20px; +} +.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title, +.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph > li { + border-radius: 100px; +} +.ant-skeleton-active .ant-skeleton-title, +.ant-skeleton-active .ant-skeleton-paragraph > li, +.ant-skeleton-active .ant-skeleton-avatar, +.ant-skeleton-active .ant-skeleton-button, +.ant-skeleton-active .ant-skeleton-input, +.ant-skeleton-active .ant-skeleton-image { + position: relative; + /* stylelint-disable-next-line property-no-vendor-prefix,value-no-vendor-prefix */ + z-index: 0; + overflow: hidden; + background: transparent; +} +.ant-skeleton-active .ant-skeleton-title::after, +.ant-skeleton-active .ant-skeleton-paragraph > li::after, +.ant-skeleton-active .ant-skeleton-avatar::after, +.ant-skeleton-active .ant-skeleton-button::after, +.ant-skeleton-active .ant-skeleton-input::after, +.ant-skeleton-active .ant-skeleton-image::after { + position: absolute; + top: 0; + right: -150%; + bottom: 0; + left: -150%; + background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%); + animation: ant-skeleton-loading 1.4s ease infinite; + content: ''; +} +.ant-skeleton.ant-skeleton-block { + width: 100%; +} +.ant-skeleton.ant-skeleton-block .ant-skeleton-button { + width: 100%; +} +.ant-skeleton.ant-skeleton-block .ant-skeleton-input { + width: 100%; +} +.ant-skeleton-element { + display: inline-block; + width: auto; +} +.ant-skeleton-element .ant-skeleton-button { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + border-radius: 2px; + width: 56px; + min-width: 56px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-square { + width: 28px; + min-width: 28px; +} +.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle { + width: 28px; + min-width: 28px; + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round { + border-radius: 28px; +} +.ant-skeleton-element .ant-skeleton-button-lg { + width: 64px; + min-width: 64px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-square { + width: 32px; + min-width: 32px; +} +.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle { + width: 32px; + min-width: 32px; + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round { + border-radius: 32px; +} +.ant-skeleton-element .ant-skeleton-button-sm { + width: 44px; + min-width: 44px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-square { + width: 22px; + min-width: 22px; +} +.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle { + width: 22px; + min-width: 22px; + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round { + border-radius: 22px; +} +.ant-skeleton-element .ant-skeleton-avatar { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 28px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-avatar-lg { + width: 32px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-avatar-sm { + width: 22px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-input { + display: inline-block; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 140px; + min-width: 140px; + height: 28px; + line-height: 28px; +} +.ant-skeleton-element .ant-skeleton-input-lg { + width: 160px; + min-width: 160px; + height: 32px; + line-height: 32px; +} +.ant-skeleton-element .ant-skeleton-input-sm { + width: 110px; + min-width: 110px; + height: 22px; + line-height: 22px; +} +.ant-skeleton-element .ant-skeleton-image { + display: flex; + align-items: center; + justify-content: center; + vertical-align: top; + background: rgba(190, 190, 190, 0.2); + width: 96px; + height: 96px; + line-height: 96px; +} +.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle { + border-radius: 50%; +} +.ant-skeleton-element .ant-skeleton-image-path { + fill: #bfbfbf; +} +.ant-skeleton-element .ant-skeleton-image-svg { + width: 48px; + height: 48px; + line-height: 48px; + max-width: 192px; + max-height: 192px; +} +.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle { + border-radius: 50%; +} +@keyframes ant-skeleton-loading { + 0% { + transform: translateX(-37.5%); + } + 100% { + transform: translateX(37.5%); + } +} +.ant-skeleton-rtl { + direction: rtl; +} +.ant-skeleton-rtl .ant-skeleton-header { + padding-right: 0; + padding-left: 16px; +} +.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title, +.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li { + animation-name: ant-skeleton-loading-rtl; +} +.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar { + animation-name: ant-skeleton-loading-rtl; +} +@keyframes ant-skeleton-loading-rtl { + 0% { + background-position: 0% 50%; + } + 100% { + background-position: 100% 50%; + } +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/divider/style/index.less ***! + \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-divider { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + border-top: 1px solid rgba(0, 0, 0, 0.06); +} +.ant-divider-vertical { + position: relative; + top: -0.06em; + display: inline-block; + height: 0.9em; + margin: 0 8px; + vertical-align: middle; + border-top: 0; + border-left: 1px solid rgba(0, 0, 0, 0.06); +} +.ant-divider-horizontal { + display: flex; + clear: both; + width: 100%; + min-width: 100%; + margin: 24px 0; +} +.ant-divider-horizontal.ant-divider-with-text { + display: flex; + align-items: center; + margin: 16px 0; + color: rgba(0, 0, 0, 0.85); + font-weight: 500; + font-size: 14px; + white-space: nowrap; + text-align: center; + border-top: 0; + border-top-color: rgba(0, 0, 0, 0.06); +} +.ant-divider-horizontal.ant-divider-with-text::before, +.ant-divider-horizontal.ant-divider-with-text::after { + position: relative; + width: 50%; + border-top: 1px solid transparent; + border-top-color: inherit; + border-bottom: 0; + transform: translateY(50%); + content: ''; +} +.ant-divider-horizontal.ant-divider-with-text-left::before { + width: 5%; +} +.ant-divider-horizontal.ant-divider-with-text-left::after { + width: 95%; +} +.ant-divider-horizontal.ant-divider-with-text-right::before { + width: 95%; +} +.ant-divider-horizontal.ant-divider-with-text-right::after { + width: 5%; +} +.ant-divider-inner-text { + display: inline-block; + padding: 0 1em; +} +.ant-divider-dashed { + background: none; + border-color: rgba(0, 0, 0, 0.06); + border-style: dashed; + border-width: 1px 0 0; +} +.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::before, +.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::after { + border-style: dashed none none; +} +.ant-divider-vertical.ant-divider-dashed { + border-width: 0 0 0 1px; +} +.ant-divider-plain.ant-divider-with-text { + color: rgba(0, 0, 0, 0.85); + font-weight: normal; + font-size: 12px; +} +.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::before { + width: 0; +} +.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::after { + width: 100%; +} +.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text { + padding-left: 0; +} +.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::before { + width: 100%; +} +.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::after { + width: 0; +} +.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text { + padding-right: 0; +} +.ant-divider-rtl { + direction: rtl; +} +.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::before { + width: 95%; +} +.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::after { + width: 5%; +} +.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::before { + width: 5%; +} +.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after { + width: 95%; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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/Competitions/Detail/component/index.less?modules ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.modal___A9Ovz div[class~='ant-modal-body'] { + height: 500px; + overflow-y: auto; +} +.colorBlue___XSmR5 { + color: #0152d9; +} +.formWrap___wRvaA div[class~='ant-form-item-label'] { + width: 100px; + text-align: right; +} +.formWrap___wRvaA span[class~='ant-upload-btn'] { + padding: 0px !important; +} +.flexRow___C40dc { + display: flex; + flex-direction: row; +} +.flexColumn___LkZfj { + display: flex; + flex-direction: column; + align-items: center; +} +.example___bz7Hw p { + margin: 0px; +} +.exampleImg___gNkC_ { + width: 160px; + height: 110px; + background: #f0f0f0; + border: 1px solid #dadada; + border-radius: 4px; + padding: 0px 5px; + justify-content: center; + align-items: center; + display: flex; +} +.colorOrange___Ka6zf { + color: #ff6800; +} +.uploader___plQRr p { + margin: 0px; +} +.uploadImg___cjOpL { + height: 110px; + width: 162px; +} +.imageTip___p1_lZ { + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + height: 110px; + width: 162px; + padding: 20px 0; +} +.uploadTipIcon___SpsS2 { + color: #4b667f; + cursor: pointer; + font-size: 18px; +} +.uploadTip___e9JlL { + font-size: 16px; + color: #05101a; +} +.color05101a___CDEUv { + color: #05101a; } .viewLargerImg___IclRX { border-bottom: 1px solid #ff6800; @@ -1360,6 +2438,31 @@ span.CodeMirror-selectedtext { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/auto-complete/style/index.less ***! + \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +.ant-select-auto-complete { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; +} +.ant-select-auto-complete .ant-select-clear { + right: 13px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Detail/components/AppplyDepartmentModal/index.less?modules ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -1405,6 +2508,345 @@ span.CodeMirror-selectedtext { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/cascader/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-cascader-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner, +.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner, +.ant-cascader-checkbox-input:focus + .ant-cascader-checkbox-inner { + border-color: #3061D0; +} +.ant-cascader-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-cascader-checkbox:hover::after, +.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox::after { + visibility: visible; +} +.ant-cascader-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-cascader-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-cascader-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-cascader-checkbox-disabled { + cursor: not-allowed; +} +.ant-cascader-checkbox-disabled.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-cascader-checkbox-disabled .ant-cascader-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-cascader-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-cascader-checkbox-disabled:hover::after, +.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-disabled::after { + visibility: hidden; +} +.ant-cascader-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-cascader-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-cascader-checkbox-wrapper.ant-cascader-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-cascader-checkbox-wrapper + .ant-cascader-checkbox-wrapper { + margin-left: 8px; +} +.ant-cascader-checkbox-wrapper.ant-cascader-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-cascader-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-cascader-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-cascader-checkbox-group-item { + margin-right: 6px; +} +.ant-cascader-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-cascader-checkbox-group-item + .ant-cascader-checkbox-group-item { + margin-left: 0; +} +.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-cascader-checkbox-indeterminate.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-cascader { + width: 184px; +} +.ant-cascader-checkbox { + top: 0; + margin-right: 4px; +} +.ant-cascader-menus { + display: flex; + flex-wrap: nowrap; + align-items: flex-start; +} +.ant-cascader-menus.ant-cascader-menu-empty .ant-cascader-menu { + width: 100%; + height: auto; +} +.ant-cascader-menu { + flex-grow: 1; + min-width: 111px; + height: 180px; + margin: 0; + margin: -4px 0; + padding: 4px 0; + overflow: auto; + vertical-align: top; + list-style: none; + border-right: 1px solid #f0f0f0; + -ms-overflow-style: -ms-autohiding-scrollbar; +} +.ant-cascader-menu-item { + display: flex; + flex-wrap: nowrap; + align-items: center; + padding: 5px 8px; + overflow: hidden; + line-height: 18px; + white-space: nowrap; + text-overflow: ellipsis; + cursor: pointer; + transition: all 0.3s; +} +.ant-cascader-menu-item:hover { + background: #f5f5f5; +} +.ant-cascader-menu-item-disabled { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-cascader-menu-item-disabled:hover { + background: transparent; +} +.ant-cascader-menu-empty .ant-cascader-menu-item { + color: rgba(0, 0, 0, 0.25); + cursor: default; + pointer-events: none; +} +.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled), +.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover { + font-weight: 600; + background-color: #f0f7ff; +} +.ant-cascader-menu-item-content { + flex: auto; +} +.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon, +.ant-cascader-menu-item-loading-icon { + margin-left: 0px; + color: rgba(0, 0, 0, 0.45); + font-size: 10px; +} +.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon, +.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon { + color: rgba(0, 0, 0, 0.25); +} +.ant-cascader-menu-item-keyword { + color: #ff4d4f; +} +.ant-cascader-compact-item:not(.ant-cascader-compact-last-item):not(.ant-cascader-compact-item-rtl) { + margin-right: -1px; +} +.ant-cascader-compact-item:not(.ant-cascader-compact-last-item).ant-cascader-compact-item-rtl { + margin-left: -1px; +} +.ant-cascader-compact-item:hover, +.ant-cascader-compact-item:focus, +.ant-cascader-compact-item:active { + z-index: 2; +} +.ant-cascader-compact-item[disabled] { + z-index: 0; +} +.ant-cascader-compact-item:not(.ant-cascader-compact-first-item):not(.ant-cascader-compact-last-item).ant-cascader { + border-radius: 0; +} +.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-first-item:not(.ant-cascader-compact-last-item):not(.ant-cascader-compact-item-rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-last-item:not(.ant-cascader-compact-first-item):not(.ant-cascader-compact-item-rtl) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-item-rtl.ant-cascader-compact-first-item:not(.ant-cascader-compact-last-item) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.ant-cascader-compact-item.ant-cascader.ant-cascader-compact-item-rtl.ant-cascader-compact-last-item:not(.ant-cascader-compact-first-item) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.ant-cascader-rtl .ant-cascader-menu-item-expand-icon, +.ant-cascader-rtl .ant-cascader-menu-item-loading-icon { + margin-right: 0px; + margin-left: 0; +} +.ant-cascader-rtl .ant-cascader-checkbox { + top: 0; + margin-right: 0; + margin-left: 4px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Detail/components/AppplySchoolModal/index.less?modules ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -1450,3 +2892,51 @@ span.CodeMirror-selectedtext { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Detail/components/WorkSubmit/index.less?modules ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +[class^='ant-upload-list-item-info'] { + padding: 10px; + height: 26px; + background: #F6F7F9; + border-radius: 15px; +} +[class^="ant-table-cell"]::before { + background: rgba(255, 255, 255, 0); +} +.WorkSubmitDesc___zk_Kc { + width: 100%; + padding: 8px 14px; + background: #f5f5f5; + color: #9096a3; + font-size: 12px; + border-radius: 0 0 8px 8px; + margin: 20px 0 30px 0; +} +.WorkSubmit___BOuVl .span___sGFYr { + font-size: 12px; + font-weight: 400; + color: #C5C5C5; +} +.WorkSubmit___BOuVl .span___sGFYr span { + color: #717171; +} +.WorkSubmit___BOuVl .search___wZWVl { + width: 292px; + border-radius: 19px; + height: 38px; + padding: 5px 14px; + font-size: 14px; +} +.WorkSubmit___BOuVl .downBut___tfNYQ { + border-radius: 16px; + color: #3061D0; + padding: 0 20px; + height: 32px; + border: 1px solid #BACFFE; + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/p__Competitions__Entered__Assembly__TeamDateil.async.js b/p__Competitions__Entered__Assembly__TeamDateil.async.js index e2ed71429c..789dd6a2c8 100644 --- a/p__Competitions__Entered__Assembly__TeamDateil.async.js +++ b/p__Competitions__Entered__Assembly__TeamDateil.async.js @@ -1348,6 +1348,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Competitions__Entered__index.async.js b/p__Competitions__Entered__index.async.js index 25f987d65a..91b310fdb1 100644 --- a/p__Competitions__Entered__index.async.js +++ b/p__Competitions__Entered__index.async.js @@ -1211,7 +1211,7 @@ var SetmembersModel_Search = input/* default.Search */.Z.Search; function Setmembers(_ref) { - var _StaffDetail$teacher_, _StaffDetail$teacher_2, _StaffDetail$member_s, _StaffDetail$member_s2; + var _StaffDetail$teacher_, _StaffDetail$teacher_2, _StaffDetail$member_s, _StaffDetail$member_s2, _StaffDetail$all_staf, _StaffDetail$all_staf2; var Membersshow = _ref.Membersshow, setClose = _ref.setClose, HeaderDetail = _ref.HeaderDetail, @@ -1258,7 +1258,7 @@ function Setmembers(_ref) { _useState16 = slicedToArray_default()(_useState15, 2), loaderid = _useState16[0], setLoaderid = _useState16[1]; - //提交时学生数量 与老师数量 + //提交时学生数量 与老师数量,或者总成员 var _useState17 = (0,react.useState)([]), _useState18 = slicedToArray_default()(_useState17, 2), TeacherNumber = _useState18[0], @@ -1267,15 +1267,23 @@ function Setmembers(_ref) { _useState20 = slicedToArray_default()(_useState19, 2), StudentNumber = _useState20[0], setStudentNumber = _useState20[1]; - //判断是否需要弹出警告 - var _useState21 = (0,react.useState)(false), + var _useState21 = (0,react.useState)([]), _useState22 = slicedToArray_default()(_useState21, 2), - isTwarning = _useState22[0], - setIsTwarning = _useState22[1]; + MemberNumber = _useState22[0], + setMemberNumber = _useState22[1]; + //判断是否需要弹出警告 var _useState23 = (0,react.useState)(false), _useState24 = slicedToArray_default()(_useState23, 2), - isSwarning = _useState24[0], - setIsSwarning = _useState24[1]; + isTwarning = _useState24[0], + setIsTwarning = _useState24[1]; + var _useState25 = (0,react.useState)(false), + _useState26 = slicedToArray_default()(_useState25, 2), + isSwarning = _useState26[0], + setIsSwarning = _useState26[1]; + var _useState27 = (0,react.useState)(false), + _useState28 = slicedToArray_default()(_useState27, 2), + isMwarning = _useState28[0], + setIsMwarning = _useState28[1]; (0,react.useEffect)(function () { //排序 规则为 队长永远只第一位 创建者只第二位 var datas = mydatas && mydatas.team_members.sort(function (item, item1) { @@ -1355,7 +1363,7 @@ function Setmembers(_ref) { } function _submitTeam() { _submitTeam = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { - var _StaffDetail$teacher_3, _StaffDetail$member_s3; + var _StaffDetail$teacher_3, _StaffDetail$member_s3, _StaffDetail$all_staf3; var member_ids, teacher_ids, data; return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { @@ -1371,23 +1379,32 @@ function Setmembers(_ref) { }); setTeacherNumber(teacher_ids.length); setStudentNumber(member_ids.length); + setMemberNumber(member_ids.length + teacher_ids.length); if (!((StaffDetail === null || StaffDetail === void 0 ? void 0 : (_StaffDetail$teacher_3 = StaffDetail.teacher_staff) === null || _StaffDetail$teacher_3 === void 0 ? void 0 : _StaffDetail$teacher_3.maximum) < teacher_ids.length)) { - _context3.next = 8; + _context3.next = 9; break; } setIsTwarning(true); return _context3.abrupt("return"); - case 8: + case 9: setIsTwarning(false); if (!((StaffDetail === null || StaffDetail === void 0 ? void 0 : (_StaffDetail$member_s3 = StaffDetail.member_staff) === null || _StaffDetail$member_s3 === void 0 ? void 0 : _StaffDetail$member_s3.maximum) < member_ids.length)) { - _context3.next = 12; + _context3.next = 13; break; } setIsSwarning(true); return _context3.abrupt("return"); - case 12: + case 13: setIsSwarning(false); - _context3.next = 15; + if (!((StaffDetail === null || StaffDetail === void 0 ? void 0 : (_StaffDetail$all_staf3 = StaffDetail.all_staff) === null || _StaffDetail$all_staf3 === void 0 ? void 0 : _StaffDetail$all_staf3.maximum) < member_ids.length + teacher_ids.length)) { + _context3.next = 17; + break; + } + setIsMwarning(true); + return _context3.abrupt("return"); + case 17: + setIsMwarning(false); + _context3.next = 20; return dispatch({ type: 'competitions/SubmitTeam', payload: { @@ -1398,7 +1415,7 @@ function Setmembers(_ref) { leader: loaderid } }); - case 15: + case 20: data = _context3.sent; if (data && data.status === 0) { // console.log(data.teachers); @@ -1406,7 +1423,7 @@ function Setmembers(_ref) { setMembers(false); selectlist(''); } - case 17: + case 22: case "end": return _context3.stop(); } @@ -1521,7 +1538,9 @@ function Setmembers(_ref) { style: { flex: '1' }, - children: ["\u8BF7\u6DFB\u52A0\u6218\u961F\u6210\u5458\uFF1A", StaffDetail && StaffDetail.teacher_staff ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\u8BF7\u6DFB\u52A0\u6218\u961F\u6210\u5458\uFF1A", StaffDetail && StaffDetail.all_staff ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [StaffDetail && StaffDetail.all_staff.minimum, "-", StaffDetail && StaffDetail.all_staff.maximum, "\u540D\u6210\u5458"] + }) : '', StaffDetail && StaffDetail.teacher_staff ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { children: [StaffDetail && StaffDetail.teacher_staff.minimum, "-", StaffDetail && StaffDetail.teacher_staff.maximum, "\u540D\u6559\u5E08"] }) : '', StaffDetail && StaffDetail.teacher_staff && StaffDetail.member_staff ? '/' : '', StaffDetail && StaffDetail.member_staff ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { children: [StaffDetail && StaffDetail.member_staff.minimum, "-", StaffDetail && StaffDetail.member_staff.maximum, "\u540D\u5B66\u751F"] @@ -1557,6 +1576,14 @@ function Setmembers(_ref) { marginTop: "9px" }, children: ["\u6218\u961F\u6210\u5458(\u804C\u4E1A\u4E3A\u5B66\u751F)\u9700\u4E3A", StaffDetail === null || StaffDetail === void 0 ? void 0 : (_StaffDetail$member_s = StaffDetail.member_staff) === null || _StaffDetail$member_s === void 0 ? void 0 : _StaffDetail$member_s.minimum, "-", StaffDetail === null || StaffDetail === void 0 ? void 0 : (_StaffDetail$member_s2 = StaffDetail.member_staff) === null || _StaffDetail$member_s2 === void 0 ? void 0 : _StaffDetail$member_s2.maximum, "\u4EBA,\u73B0\u4E3A", StudentNumber, "\u4EBA"] + }), isMwarning && /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + style: { + marginLeft: "53px", + color: "#D0021B", + fontSize: "12px", + marginTop: "9px" + }, + children: ["\u6218\u961F\u6210\u5458\u9700\u4E3A", StaffDetail === null || StaffDetail === void 0 ? void 0 : (_StaffDetail$all_staf = StaffDetail.all_staff) === null || _StaffDetail$all_staf === void 0 ? void 0 : _StaffDetail$all_staf.minimum, "-", StaffDetail === null || StaffDetail === void 0 ? void 0 : (_StaffDetail$all_staf2 = StaffDetail.all_staff) === null || _StaffDetail$all_staf2 === void 0 ? void 0 : _StaffDetail$all_staf2.maximum, "\u4EBA,\u73B0\u4E3A", MemberNumber, "\u4EBA"] })] }) }); diff --git a/p__Competitions__Update__index.async.js b/p__Competitions__Update__index.async.js index e409db76f9..6a926efb80 100644 --- a/p__Competitions__Update__index.async.js +++ b/p__Competitions__Update__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[45650,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[45650],{ /***/ 66023: /*!*******************************************************************!*\ diff --git a/p__Engineering__Evaluate__Detail__index.async.js b/p__Engineering__Evaluate__Detail__index.async.js index 3fb9c05162..85cb7789ca 100644 --- a/p__Engineering__Evaluate__Detail__index.async.js +++ b/p__Engineering__Evaluate__Detail__index.async.js @@ -1123,6 +1123,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Engineering__Evaluate__List__index.async.js b/p__Engineering__Evaluate__List__index.async.js index 49476346c2..6e95414ac0 100644 --- a/p__Engineering__Evaluate__List__index.async.js +++ b/p__Engineering__Evaluate__List__index.async.js @@ -840,6 +840,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Engineering__Lists__CourseList__index.async.js b/p__Engineering__Lists__CourseList__index.async.js index f750694a3f..b9542b1686 100644 --- a/p__Engineering__Lists__CourseList__index.async.js +++ b/p__Engineering__Lists__CourseList__index.async.js @@ -1629,6 +1629,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Engineering__Lists__Document__index.async.js b/p__Engineering__Lists__Document__index.async.js index 986ce30797..94a1362f97 100644 --- a/p__Engineering__Lists__Document__index.async.js +++ b/p__Engineering__Lists__Document__index.async.js @@ -1474,6 +1474,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Engineering__Lists__GraduatedMatrix__index.async.js b/p__Engineering__Lists__GraduatedMatrix__index.async.js index ab613668bd..250e4ff8c7 100644 --- a/p__Engineering__Lists__GraduatedMatrix__index.async.js +++ b/p__Engineering__Lists__GraduatedMatrix__index.async.js @@ -592,1399 +592,6 @@ var SelectWrap = function SelectWrap(_ref) { // 选择包装器 -/***/ }), - -/***/ 98787: -/*!**********************************************!*\ - !*** ./node_modules/antd/es/_util/colors.js ***! - \**********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "E": function() { return /* binding */ PresetStatusColorTypes; }, -/* harmony export */ "Y": function() { return /* binding */ PresetColorTypes; } -/* harmony export */ }); -/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./type */ 93355); - -var PresetStatusColorTypes = (0,_type__WEBPACK_IMPORTED_MODULE_0__/* .tuple */ .b)('success', 'processing', 'error', 'default', 'warning'); -// eslint-disable-next-line import/prefer-default-export -var PresetColorTypes = (0,_type__WEBPACK_IMPORTED_MODULE_0__/* .tuple */ .b)('pink', 'red', 'yellow', 'orange', 'cyan', 'green', 'blue', 'purple', 'geekblue', 'magenta', 'volcano', 'gold', 'lime'); - -/***/ }), - -/***/ 80636: -/*!**************************************************!*\ - !*** ./node_modules/antd/es/_util/placements.js ***! - \**************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ getPlacements; } -/* harmony export */ }); -/* unused harmony export getOverflowOptions */ -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); -/* harmony import */ var rc_tooltip_es_placements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-tooltip/es/placements */ 43159); - - -var autoAdjustOverflowEnabled = { - adjustX: 1, - adjustY: 1 -}; -var autoAdjustOverflowDisabled = { - adjustX: 0, - adjustY: 0 -}; -var targetOffset = [0, 0]; -function getOverflowOptions(autoAdjustOverflow) { - if (typeof autoAdjustOverflow === 'boolean') { - return autoAdjustOverflow ? autoAdjustOverflowEnabled : autoAdjustOverflowDisabled; - } - return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, autoAdjustOverflowDisabled), autoAdjustOverflow); -} -function getPlacements(config) { - var _config$arrowWidth = config.arrowWidth, - arrowWidth = _config$arrowWidth === void 0 ? 4 : _config$arrowWidth, - _config$horizontalArr = config.horizontalArrowShift, - horizontalArrowShift = _config$horizontalArr === void 0 ? 16 : _config$horizontalArr, - _config$verticalArrow = config.verticalArrowShift, - verticalArrowShift = _config$verticalArrow === void 0 ? 8 : _config$verticalArrow, - autoAdjustOverflow = config.autoAdjustOverflow, - arrowPointAtCenter = config.arrowPointAtCenter; - var placementMap = { - left: { - points: ['cr', 'cl'], - offset: [-4, 0] - }, - right: { - points: ['cl', 'cr'], - offset: [4, 0] - }, - top: { - points: ['bc', 'tc'], - offset: [0, -4] - }, - bottom: { - points: ['tc', 'bc'], - offset: [0, 4] - }, - topLeft: { - points: ['bl', 'tc'], - offset: [-(horizontalArrowShift + arrowWidth), -4] - }, - leftTop: { - points: ['tr', 'cl'], - offset: [-4, -(verticalArrowShift + arrowWidth)] - }, - topRight: { - points: ['br', 'tc'], - offset: [horizontalArrowShift + arrowWidth, -4] - }, - rightTop: { - points: ['tl', 'cr'], - offset: [4, -(verticalArrowShift + arrowWidth)] - }, - bottomRight: { - points: ['tr', 'bc'], - offset: [horizontalArrowShift + arrowWidth, 4] - }, - rightBottom: { - points: ['bl', 'cr'], - offset: [4, verticalArrowShift + arrowWidth] - }, - bottomLeft: { - points: ['tl', 'bc'], - offset: [-(horizontalArrowShift + arrowWidth), 4] - }, - leftBottom: { - points: ['br', 'cl'], - offset: [-4, verticalArrowShift + arrowWidth] - } - }; - Object.keys(placementMap).forEach(function (key) { - placementMap[key] = arrowPointAtCenter ? (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, placementMap[key]), { - overflow: getOverflowOptions(autoAdjustOverflow), - targetOffset: targetOffset - }) : (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)({}, rc_tooltip_es_placements__WEBPACK_IMPORTED_MODULE_0__/* .placements */ .C[key]), { - overflow: getOverflowOptions(autoAdjustOverflow) - }); - placementMap[key].ignoreShake = true; - }); - return placementMap; -} - -/***/ }), - -/***/ 9708: -/*!***************************************************!*\ - !*** ./node_modules/antd/es/_util/statusUtils.js ***! - \***************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "F": function() { return /* binding */ getMergedStatus; }, -/* harmony export */ "Z": function() { return /* binding */ getStatusClassNames; } -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./type */ 93355); - - - -var InputStatuses = (0,_type__WEBPACK_IMPORTED_MODULE_1__/* .tuple */ .b)('warning', 'error', ''); -function getStatusClassNames(prefixCls, status, hasFeedback) { - var _classNames; - return classnames__WEBPACK_IMPORTED_MODULE_0___default()((_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-status-success"), status === 'success'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-status-warning"), status === 'warning'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-status-error"), status === 'error'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-status-validating"), status === 'validating'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-has-feedback"), hasFeedback), _classNames)); -} -var getMergedStatus = function getMergedStatus(contextStatus, customStatus) { - return customStatus || contextStatus; -}; - -/***/ }), - -/***/ 34041: -/*!**********************************************!*\ - !*** ./node_modules/antd/es/select/index.js ***! - \**********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); -/* 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_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 7752); -/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 98423); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); -/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 88258); -/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 98866); -/* harmony import */ var _config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider/SizeContext */ 97647); -/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../form/context */ 65223); -/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_util/motion */ 33603); -/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/statusUtils */ 9708); -/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/iconUtil */ 46163); -/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../space/Compact */ 4173); - - -// TODO: 4.0 - codemod should help to change `filterOption` to support node props. -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - - - - - - -var SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE'; -var InternalSelect = function InternalSelect(_a, ref) { - var _classNames2; - var customizePrefixCls = _a.prefixCls, - _a$bordered = _a.bordered, - bordered = _a$bordered === void 0 ? true : _a$bordered, - className = _a.className, - getPopupContainer = _a.getPopupContainer, - dropdownClassName = _a.dropdownClassName, - popupClassName = _a.popupClassName, - _a$listHeight = _a.listHeight, - listHeight = _a$listHeight === void 0 ? 256 : _a$listHeight, - placement = _a.placement, - _a$listItemHeight = _a.listItemHeight, - listItemHeight = _a$listItemHeight === void 0 ? 24 : _a$listItemHeight, - customizeSize = _a.size, - customDisabled = _a.disabled, - notFoundContent = _a.notFoundContent, - customStatus = _a.status, - showArrow = _a.showArrow, - props = __rest(_a, ["prefixCls", "bordered", "className", "getPopupContainer", "dropdownClassName", "popupClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "showArrow"]); - var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_), - getContextPopupContainer = _React$useContext.getPopupContainer, - getPrefixCls = _React$useContext.getPrefixCls, - renderEmpty = _React$useContext.renderEmpty, - direction = _React$useContext.direction, - virtual = _React$useContext.virtual, - dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth; - var size = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z); - var prefixCls = getPrefixCls('select', customizePrefixCls); - var rootPrefixCls = getPrefixCls(); - var _useCompactItemContex = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_5__/* .useCompactItemContext */ .ri)(prefixCls, direction), - compactSize = _useCompactItemContex.compactSize, - compactItemClassnames = _useCompactItemContex.compactItemClassnames; - var mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(function () { - var m = props.mode; - if (m === 'combobox') { - return undefined; - } - if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) { - return 'combobox'; - } - return m; - }, [props.mode]); - var isMultiple = mode === 'multiple' || mode === 'tags'; - var mergedShowArrow = showArrow !== undefined ? showArrow : props.loading || !(isMultiple || mode === 'combobox'); - // =================== Warning ===================== - false ? 0 : void 0; - // ===================== Form Status ===================== - var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_form_context__WEBPACK_IMPORTED_MODULE_6__/* .FormItemInputContext */ .aM), - contextStatus = _useContext.status, - hasFeedback = _useContext.hasFeedback, - isFormItemInput = _useContext.isFormItemInput, - feedbackIcon = _useContext.feedbackIcon; - var mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getMergedStatus */ .F)(contextStatus, customStatus); - // ===================== Empty ===================== - var mergedNotFound; - if (notFoundContent !== undefined) { - mergedNotFound = notFoundContent; - } else if (mode === 'combobox') { - mergedNotFound = null; - } else { - mergedNotFound = (renderEmpty || _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)('Select'); - } - // ===================== Icons ===================== - var _getIcons = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({}, props), { - multiple: isMultiple, - hasFeedback: hasFeedback, - feedbackIcon: feedbackIcon, - showArrow: mergedShowArrow, - prefixCls: prefixCls - })), - suffixIcon = _getIcons.suffixIcon, - itemIcon = _getIcons.itemIcon, - removeIcon = _getIcons.removeIcon, - clearIcon = _getIcons.clearIcon; - var selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']); - var rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl')); - var mergedSize = compactSize || customizeSize || size; - // ===================== Disabled ===================== - var disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z); - var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled; - var mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()((_classNames2 = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(_classNames2, "".concat(prefixCls, "-in-form-item"), isFormItemInput), _classNames2), (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_7__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, className); - // ===================== Placement ===================== - var getPlacement = function getPlacement() { - if (placement !== undefined) { - return placement; - } - return direction === 'rtl' ? 'bottomRight' : 'bottomLeft'; - }; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)({ - ref: ref, - virtual: virtual, - dropdownMatchSelectWidth: dropdownMatchSelectWidth - }, selectProps, { - transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionName */ .mL)(rootPrefixCls, (0,_util_motion__WEBPACK_IMPORTED_MODULE_14__/* .getTransitionDirection */ .q0)(placement), props.transitionName), - listHeight: listHeight, - listItemHeight: listItemHeight, - mode: mode, - prefixCls: prefixCls, - placement: getPlacement(), - direction: direction, - inputIcon: suffixIcon, - menuItemSelectedIcon: itemIcon, - removeIcon: removeIcon, - clearIcon: clearIcon, - notFoundContent: mergedNotFound, - className: mergedClassName, - getPopupContainer: getPopupContainer || getContextPopupContainer, - dropdownClassName: rcSelectRtlDropdownClassName, - showArrow: hasFeedback || showArrow, - disabled: mergedDisabled - })); -}; -var Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect); -Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE; -Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx; -Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo; -/* harmony default export */ __webpack_exports__["Z"] = (Select); - -/***/ }), - -/***/ 84908: -/*!***********************************************************!*\ - !*** ./node_modules/antd/es/tooltip/index.js + 3 modules ***! - \***********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ tooltip; } -}); - -// 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/extends.js -var esm_extends = __webpack_require__(87462); -// 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/typeof.js -var esm_typeof = __webpack_require__(71002); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(45987); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/rc-trigger/es/index.js + 15 modules -var es = __webpack_require__(81263); -// EXTERNAL MODULE: ./node_modules/rc-tooltip/es/placements.js -var placements = __webpack_require__(43159); -;// CONCATENATED MODULE: ./node_modules/rc-tooltip/es/Popup.js - - -function Popup(props) { - var showArrow = props.showArrow, - arrowContent = props.arrowContent, - children = props.children, - prefixCls = props.prefixCls, - id = props.id, - overlayInnerStyle = props.overlayInnerStyle, - className = props.className, - style = props.style; - return /*#__PURE__*/react.createElement("div", { - className: classnames_default()("".concat(prefixCls, "-content"), className), - style: style - }, showArrow !== false && /*#__PURE__*/react.createElement("div", { - className: "".concat(prefixCls, "-arrow"), - key: "arrow" - }, arrowContent), /*#__PURE__*/react.createElement("div", { - className: "".concat(prefixCls, "-inner"), - id: id, - role: "tooltip", - style: overlayInnerStyle - }, typeof children === 'function' ? children() : children)); -} -;// CONCATENATED MODULE: ./node_modules/rc-tooltip/es/Tooltip.js - - - - - - - - - - -var Tooltip = function Tooltip(props, ref) { - var overlayClassName = props.overlayClassName, - _props$trigger = props.trigger, - trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger, - _props$mouseEnterDela = props.mouseEnterDelay, - mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela, - _props$mouseLeaveDela = props.mouseLeaveDelay, - mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, - overlayStyle = props.overlayStyle, - _props$prefixCls = props.prefixCls, - prefixCls = _props$prefixCls === void 0 ? 'rc-tooltip' : _props$prefixCls, - children = props.children, - onVisibleChange = props.onVisibleChange, - afterVisibleChange = props.afterVisibleChange, - transitionName = props.transitionName, - animation = props.animation, - motion = props.motion, - _props$placement = props.placement, - placement = _props$placement === void 0 ? 'right' : _props$placement, - _props$align = props.align, - align = _props$align === void 0 ? {} : _props$align, - _props$destroyTooltip = props.destroyTooltipOnHide, - destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip, - defaultVisible = props.defaultVisible, - getTooltipContainer = props.getTooltipContainer, - overlayInnerStyle = props.overlayInnerStyle, - arrowContent = props.arrowContent, - overlay = props.overlay, - id = props.id, - showArrow = props.showArrow, - restProps = (0,objectWithoutProperties/* default */.Z)(props, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow"]); - - var domRef = (0,react.useRef)(null); - (0,react.useImperativeHandle)(ref, function () { - return domRef.current; - }); - - var extraProps = (0,objectSpread2/* default */.Z)({}, restProps); - - if ('visible' in props) { - extraProps.popupVisible = props.visible; - } - - var getPopupElement = function getPopupElement() { - return /*#__PURE__*/react.createElement(Popup, { - showArrow: showArrow, - arrowContent: arrowContent, - key: "content", - prefixCls: prefixCls, - id: id, - overlayInnerStyle: overlayInnerStyle - }, overlay); - }; - - var destroyTooltip = false; - var autoDestroy = false; - - if (typeof destroyTooltipOnHide === 'boolean') { - destroyTooltip = destroyTooltipOnHide; - } else if (destroyTooltipOnHide && (0,esm_typeof/* default */.Z)(destroyTooltipOnHide) === 'object') { - var keepParent = destroyTooltipOnHide.keepParent; - destroyTooltip = keepParent === true; - autoDestroy = keepParent === false; - } - - return /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ - popupClassName: overlayClassName, - prefixCls: prefixCls, - popup: getPopupElement, - action: trigger, - builtinPlacements: placements/* placements */.C, - popupPlacement: placement, - ref: domRef, - popupAlign: align, - getPopupContainer: getTooltipContainer, - onPopupVisibleChange: onVisibleChange, - afterPopupVisibleChange: afterVisibleChange, - popupTransitionName: transitionName, - popupAnimation: animation, - popupMotion: motion, - defaultPopupVisible: defaultVisible, - destroyPopupOnHide: destroyTooltip, - autoDestroy: autoDestroy, - mouseLeaveDelay: mouseLeaveDelay, - popupStyle: overlayStyle, - mouseEnterDelay: mouseEnterDelay - }, extraProps), children); -}; - -/* harmony default export */ var es_Tooltip = (/*#__PURE__*/(0,react.forwardRef)(Tooltip)); -;// CONCATENATED MODULE: ./node_modules/rc-tooltip/es/index.js - - - -/* harmony default export */ var rc_tooltip_es = (es_Tooltip); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(21770); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/colors.js -var colors = __webpack_require__(98787); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/motion.js -var motion = __webpack_require__(33603); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/placements.js -var _util_placements = __webpack_require__(80636); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js -var reactNode = __webpack_require__(96159); -;// CONCATENATED MODULE: ./node_modules/antd/es/tooltip/index.js - - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var splitObject = function splitObject(obj, keys) { - var picked = {}; - var omitted = (0,esm_extends/* default */.Z)({}, obj); - keys.forEach(function (key) { - if (obj && key in obj) { - picked[key] = obj[key]; - delete omitted[key]; - } - }); - return { - picked: picked, - omitted: omitted - }; -}; -var PresetColorRegex = new RegExp("^(".concat(colors/* PresetColorTypes.join */.Y.join('|'), ")(-inverse)?$")); -// Fix Tooltip won't hide at disabled button -// mouse events don't trigger at disabled button in Chrome -// https://github.com/react-component/tooltip/issues/18 -function getDisabledCompatibleChildren(element, prefixCls) { - var elementType = element.type; - if ((elementType.__ANT_BUTTON === true || element.type === 'button') && element.props.disabled || elementType.__ANT_SWITCH === true && (element.props.disabled || element.props.loading) || elementType.__ANT_RADIO === true && element.props.disabled) { - // Pick some layout related style properties up to span - // Prevent layout bugs like https://github.com/ant-design/ant-design/issues/5254 - var _splitObject = splitObject(element.props.style, ['position', 'left', 'right', 'top', 'bottom', 'float', 'display', 'zIndex']), - picked = _splitObject.picked, - omitted = _splitObject.omitted; - var spanStyle = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({ - display: 'inline-block' - }, picked), { - cursor: 'not-allowed', - width: element.props.block ? '100%' : undefined - }); - var buttonStyle = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, omitted), { - pointerEvents: 'none' - }); - var child = (0,reactNode/* cloneElement */.Tm)(element, { - style: buttonStyle, - className: null - }); - return /*#__PURE__*/react.createElement("span", { - style: spanStyle, - className: classnames_default()(element.props.className, "".concat(prefixCls, "-disabled-compatible-wrapper")) - }, child); - } - return element; -} -var tooltip_Tooltip = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames2; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getContextPopupContainer = _React$useContext.getPopupContainer, - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - // Warning for deprecated usage - if (false) {} - var _useMergedState = (0,useMergedState/* default */.Z)(false, { - value: props.open !== undefined ? props.open : props.visible, - defaultValue: props.defaultOpen !== undefined ? props.defaultOpen : props.defaultVisible - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - open = _useMergedState2[0], - setOpen = _useMergedState2[1]; - var isNoTitle = function isNoTitle() { - var title = props.title, - overlay = props.overlay; - return !title && !overlay && title !== 0; // overlay for old version compatibility - }; - - var onOpenChange = function onOpenChange(vis) { - var _a, _b; - setOpen(isNoTitle() ? false : vis); - if (!isNoTitle()) { - (_a = props.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(props, vis); - (_b = props.onVisibleChange) === null || _b === void 0 ? void 0 : _b.call(props, vis); - } - }; - var getTooltipPlacements = function getTooltipPlacements() { - var builtinPlacements = props.builtinPlacements, - _props$arrowPointAtCe = props.arrowPointAtCenter, - arrowPointAtCenter = _props$arrowPointAtCe === void 0 ? false : _props$arrowPointAtCe, - _props$autoAdjustOver = props.autoAdjustOverflow, - autoAdjustOverflow = _props$autoAdjustOver === void 0 ? true : _props$autoAdjustOver; - return builtinPlacements || (0,_util_placements/* default */.Z)({ - arrowPointAtCenter: arrowPointAtCenter, - autoAdjustOverflow: autoAdjustOverflow - }); - }; - // 动态设置动画点 - var onPopupAlign = function onPopupAlign(domNode, align) { - var placements = getTooltipPlacements(); - // 当前返回的位置 - var placement = Object.keys(placements).find(function (key) { - var _a, _b; - return placements[key].points[0] === ((_a = align.points) === null || _a === void 0 ? void 0 : _a[0]) && placements[key].points[1] === ((_b = align.points) === null || _b === void 0 ? void 0 : _b[1]); - }); - if (!placement) { - return; - } - // 根据当前坐标设置动画点 - var rect = domNode.getBoundingClientRect(); - var transformOrigin = { - top: '50%', - left: '50%' - }; - if (/top|Bottom/.test(placement)) { - transformOrigin.top = "".concat(rect.height - align.offset[1], "px"); - } else if (/Top|bottom/.test(placement)) { - transformOrigin.top = "".concat(-align.offset[1], "px"); - } - if (/left|Right/.test(placement)) { - transformOrigin.left = "".concat(rect.width - align.offset[0], "px"); - } else if (/right|Left/.test(placement)) { - transformOrigin.left = "".concat(-align.offset[0], "px"); - } - domNode.style.transformOrigin = "".concat(transformOrigin.left, " ").concat(transformOrigin.top); - }; - var getOverlay = function getOverlay() { - var title = props.title, - overlay = props.overlay; - if (title === 0) { - return title; - } - return overlay || title || ''; - }; - var getPopupContainer = props.getPopupContainer, - _props$placement = props.placement, - placement = _props$placement === void 0 ? 'top' : _props$placement, - _props$mouseEnterDela = props.mouseEnterDelay, - mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela, - _props$mouseLeaveDela = props.mouseLeaveDelay, - mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, - otherProps = __rest(props, ["getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay"]); - var customizePrefixCls = props.prefixCls, - openClassName = props.openClassName, - getTooltipContainer = props.getTooltipContainer, - overlayClassName = props.overlayClassName, - color = props.color, - overlayInnerStyle = props.overlayInnerStyle, - children = props.children; - var prefixCls = getPrefixCls('tooltip', customizePrefixCls); - var rootPrefixCls = getPrefixCls(); - var tempOpen = open; - // Hide tooltip when there is no title - if (!('open' in props) && !('visible' in props) && isNoTitle()) { - tempOpen = false; - } - var child = getDisabledCompatibleChildren((0,reactNode/* isValidElement */.l$)(children) && !(0,reactNode/* isFragment */.M2)(children) ? children : /*#__PURE__*/react.createElement("span", null, children), prefixCls); - var childProps = child.props; - var childCls = !childProps.className || typeof childProps.className === 'string' ? classnames_default()(childProps.className, (0,defineProperty/* default */.Z)({}, openClassName || "".concat(prefixCls, "-open"), true)) : childProps.className; - var customOverlayClassName = classnames_default()(overlayClassName, (_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-").concat(color), color && PresetColorRegex.test(color)), _classNames2)); - var formattedOverlayInnerStyle = overlayInnerStyle; - var arrowContentStyle = {}; - if (color && !PresetColorRegex.test(color)) { - formattedOverlayInnerStyle = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, overlayInnerStyle), { - background: color - }); - // @ts-ignore - arrowContentStyle = { - '--antd-arrow-background-color': color - }; - } - return /*#__PURE__*/react.createElement(rc_tooltip_es, (0,esm_extends/* default */.Z)({}, otherProps, { - placement: placement, - mouseEnterDelay: mouseEnterDelay, - mouseLeaveDelay: mouseLeaveDelay, - prefixCls: prefixCls, - overlayClassName: customOverlayClassName, - getTooltipContainer: getPopupContainer || getTooltipContainer || getContextPopupContainer, - ref: ref, - builtinPlacements: getTooltipPlacements(), - overlay: getOverlay(), - visible: tempOpen, - onVisibleChange: onOpenChange, - onPopupAlign: onPopupAlign, - overlayInnerStyle: formattedOverlayInnerStyle, - arrowContent: /*#__PURE__*/react.createElement("span", { - className: "".concat(prefixCls, "-arrow-content"), - style: arrowContentStyle - }), - motion: { - motionName: (0,motion/* getTransitionName */.mL)(rootPrefixCls, 'zoom-big-fast', props.transitionName), - motionDeadline: 1000 - } - }), tempOpen ? (0,reactNode/* cloneElement */.Tm)(child, { - className: childCls - }) : child); -}); -if (false) {} -/* harmony default export */ var tooltip = (tooltip_Tooltip); - -/***/ }), - -/***/ 60057: -/*!**********************************************************!*\ - !*** ./node_modules/rc-dropdown/es/index.js + 3 modules ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ rc_dropdown_es; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// 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/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/rc-trigger/es/index.js + 15 modules -var es = __webpack_require__(81263); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -;// CONCATENATED MODULE: ./node_modules/rc-dropdown/es/placements.js -var autoAdjustOverflow = { - adjustX: 1, - adjustY: 1 -}; -var targetOffset = [0, 0]; -var placements = { - topLeft: { - points: ['bl', 'tl'], - overflow: autoAdjustOverflow, - offset: [0, -4], - targetOffset: targetOffset - }, - topCenter: { - points: ['bc', 'tc'], - overflow: autoAdjustOverflow, - offset: [0, -4], - targetOffset: targetOffset - }, - topRight: { - points: ['br', 'tr'], - overflow: autoAdjustOverflow, - offset: [0, -4], - targetOffset: targetOffset - }, - bottomLeft: { - points: ['tl', 'bl'], - overflow: autoAdjustOverflow, - offset: [0, 4], - targetOffset: targetOffset - }, - bottomCenter: { - points: ['tc', 'bc'], - overflow: autoAdjustOverflow, - offset: [0, 4], - targetOffset: targetOffset - }, - bottomRight: { - points: ['tr', 'br'], - overflow: autoAdjustOverflow, - offset: [0, 4], - targetOffset: targetOffset - } -}; -/* harmony default export */ var es_placements = (placements); -// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js -var KeyCode = __webpack_require__(15105); -// EXTERNAL MODULE: ./node_modules/rc-util/es/raf.js -var raf = __webpack_require__(75164); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/focus.js -var Dom_focus = __webpack_require__(88603); -;// CONCATENATED MODULE: ./node_modules/rc-dropdown/es/hooks/useAccessibility.js - - - - -var ESC = KeyCode/* default.ESC */.Z.ESC, - TAB = KeyCode/* default.TAB */.Z.TAB; -function useAccessibility(_ref) { - var visible = _ref.visible, - setTriggerVisible = _ref.setTriggerVisible, - triggerRef = _ref.triggerRef, - onVisibleChange = _ref.onVisibleChange, - autoFocus = _ref.autoFocus; - var focusMenuRef = react.useRef(false); - - var handleCloseMenuAndReturnFocus = function handleCloseMenuAndReturnFocus() { - if (visible && triggerRef.current) { - var _triggerRef$current, _triggerRef$current$t, _triggerRef$current$t2, _triggerRef$current$t3; - - (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : (_triggerRef$current$t = _triggerRef$current.triggerRef) === null || _triggerRef$current$t === void 0 ? void 0 : (_triggerRef$current$t2 = _triggerRef$current$t.current) === null || _triggerRef$current$t2 === void 0 ? void 0 : (_triggerRef$current$t3 = _triggerRef$current$t2.focus) === null || _triggerRef$current$t3 === void 0 ? void 0 : _triggerRef$current$t3.call(_triggerRef$current$t2); - setTriggerVisible(false); - - if (typeof onVisibleChange === 'function') { - onVisibleChange(false); - } - } - }; - - var focusMenu = function focusMenu() { - var _triggerRef$current2, _triggerRef$current2$, _triggerRef$current2$2, _triggerRef$current2$3; - - var elements = (0,Dom_focus/* getFocusNodeList */.tS)((_triggerRef$current2 = triggerRef.current) === null || _triggerRef$current2 === void 0 ? void 0 : (_triggerRef$current2$ = _triggerRef$current2.popupRef) === null || _triggerRef$current2$ === void 0 ? void 0 : (_triggerRef$current2$2 = _triggerRef$current2$.current) === null || _triggerRef$current2$2 === void 0 ? void 0 : (_triggerRef$current2$3 = _triggerRef$current2$2.getElement) === null || _triggerRef$current2$3 === void 0 ? void 0 : _triggerRef$current2$3.call(_triggerRef$current2$2)); - var firstElement = elements[0]; - - if (firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus) { - firstElement.focus(); - focusMenuRef.current = true; - return true; - } - - return false; - }; - - var handleKeyDown = function handleKeyDown(event) { - switch (event.keyCode) { - case ESC: - handleCloseMenuAndReturnFocus(); - break; - - case TAB: - { - var focusResult = false; - - if (!focusMenuRef.current) { - focusResult = focusMenu(); - } - - if (focusResult) { - event.preventDefault(); - } else { - handleCloseMenuAndReturnFocus(); - } - - break; - } - } - }; - - react.useEffect(function () { - if (visible) { - window.addEventListener('keydown', handleKeyDown); - - if (autoFocus) { - // FIXME: hack with raf - (0,raf/* default */.Z)(focusMenu, 3); - } - - return function () { - window.removeEventListener('keydown', handleKeyDown); - focusMenuRef.current = false; - }; - } - - return function () { - focusMenuRef.current = false; - }; - }, [visible]); // eslint-disable-line react-hooks/exhaustive-deps -} -;// CONCATENATED MODULE: ./node_modules/rc-dropdown/es/Dropdown.js - - - - -var _excluded = ["arrow", "prefixCls", "transitionName", "animation", "align", "placement", "placements", "getPopupContainer", "showAction", "hideAction", "overlayClassName", "overlayStyle", "visible", "trigger", "autoFocus"]; - - - - - - -function Dropdown(props, ref) { - var _props$arrow = props.arrow, - arrow = _props$arrow === void 0 ? false : _props$arrow, - _props$prefixCls = props.prefixCls, - prefixCls = _props$prefixCls === void 0 ? 'rc-dropdown' : _props$prefixCls, - transitionName = props.transitionName, - animation = props.animation, - align = props.align, - _props$placement = props.placement, - placement = _props$placement === void 0 ? 'bottomLeft' : _props$placement, - _props$placements = props.placements, - placements = _props$placements === void 0 ? es_placements : _props$placements, - getPopupContainer = props.getPopupContainer, - showAction = props.showAction, - hideAction = props.hideAction, - overlayClassName = props.overlayClassName, - overlayStyle = props.overlayStyle, - visible = props.visible, - _props$trigger = props.trigger, - trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger, - autoFocus = props.autoFocus, - otherProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); - - var _React$useState = react.useState(), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - triggerVisible = _React$useState2[0], - setTriggerVisible = _React$useState2[1]; - - var mergedVisible = 'visible' in props ? visible : triggerVisible; - var triggerRef = react.useRef(null); - react.useImperativeHandle(ref, function () { - return triggerRef.current; - }); - useAccessibility({ - visible: mergedVisible, - setTriggerVisible: setTriggerVisible, - triggerRef: triggerRef, - onVisibleChange: props.onVisibleChange, - autoFocus: autoFocus - }); - - var getOverlayElement = function getOverlayElement() { - var overlay = props.overlay; - var overlayElement; - - if (typeof overlay === 'function') { - overlayElement = overlay(); - } else { - overlayElement = overlay; - } - - return overlayElement; - }; - - var onClick = function onClick(e) { - var onOverlayClick = props.onOverlayClick; - setTriggerVisible(false); - - if (onOverlayClick) { - onOverlayClick(e); - } - }; - - var onVisibleChange = function onVisibleChange(newVisible) { - var onVisibleChangeProp = props.onVisibleChange; - setTriggerVisible(newVisible); - - if (typeof onVisibleChangeProp === 'function') { - onVisibleChangeProp(newVisible); - } - }; - - var getMenuElement = function getMenuElement() { - var overlayElement = getOverlayElement(); - return /*#__PURE__*/react.createElement(react.Fragment, null, arrow && /*#__PURE__*/react.createElement("div", { - className: "".concat(prefixCls, "-arrow") - }), overlayElement); - }; - - var getMenuElementOrLambda = function getMenuElementOrLambda() { - var overlay = props.overlay; - - if (typeof overlay === 'function') { - return getMenuElement; - } - - return getMenuElement(); - }; - - var getMinOverlayWidthMatchTrigger = function getMinOverlayWidthMatchTrigger() { - var minOverlayWidthMatchTrigger = props.minOverlayWidthMatchTrigger, - alignPoint = props.alignPoint; - - if ('minOverlayWidthMatchTrigger' in props) { - return minOverlayWidthMatchTrigger; - } - - return !alignPoint; - }; - - var getOpenClassName = function getOpenClassName() { - var openClassName = props.openClassName; - - if (openClassName !== undefined) { - return openClassName; - } - - return "".concat(prefixCls, "-open"); - }; - - var renderChildren = function renderChildren() { - var children = props.children; - var childrenProps = children.props ? children.props : {}; - var childClassName = classnames_default()(childrenProps.className, getOpenClassName()); - return mergedVisible && children ? /*#__PURE__*/react.cloneElement(children, { - className: childClassName - }) : children; - }; - - var triggerHideAction = hideAction; - - if (!triggerHideAction && trigger.indexOf('contextMenu') !== -1) { - triggerHideAction = ['click']; - } - - return /*#__PURE__*/react.createElement(es/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - builtinPlacements: placements - }, otherProps), {}, { - prefixCls: prefixCls, - ref: triggerRef, - popupClassName: classnames_default()(overlayClassName, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-show-arrow"), arrow)), - popupStyle: overlayStyle, - action: trigger, - showAction: showAction, - hideAction: triggerHideAction || [], - popupPlacement: placement, - popupAlign: align, - popupTransitionName: transitionName, - popupAnimation: animation, - popupVisible: mergedVisible, - stretch: getMinOverlayWidthMatchTrigger() ? 'minWidth' : '', - popup: getMenuElementOrLambda(), - onPopupVisibleChange: onVisibleChange, - onPopupClick: onClick, - getPopupContainer: getPopupContainer - }), renderChildren()); -} - -/* harmony default export */ var es_Dropdown = (/*#__PURE__*/react.forwardRef(Dropdown)); -;// CONCATENATED MODULE: ./node_modules/rc-dropdown/es/index.js - -/* harmony default export */ var rc_dropdown_es = (es_Dropdown); - -/***/ }), - -/***/ 48555: -/*!*****************************************************************!*\ - !*** ./node_modules/rc-resize-observer/es/index.js + 4 modules ***! - \*****************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ es; } -}); - -// UNUSED EXPORTS: _rs - -// 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); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js -var toArray = __webpack_require__(50344); -// EXTERNAL MODULE: ./node_modules/rc-util/es/warning.js -var warning = __webpack_require__(80334); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/findDOMNode.js -var findDOMNode = __webpack_require__(34203); -// EXTERNAL MODULE: ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js -var ResizeObserver_es = __webpack_require__(91033); -;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/utils/observerUtil.js - -// =============================== Const =============================== -var elementListeners = new Map(); -function onResize(entities) { - entities.forEach(function (entity) { - var _elementListeners$get; - var target = entity.target; - (_elementListeners$get = elementListeners.get(target)) === null || _elementListeners$get === void 0 ? void 0 : _elementListeners$get.forEach(function (listener) { - return listener(target); - }); - }); -} -// Note: ResizeObserver polyfill not support option to measure border-box resize -var resizeObserver = new ResizeObserver_es/* default */.Z(onResize); -// Dev env only -var _el = (/* unused pure expression or super */ null && ( false ? 0 : null)); // eslint-disable-line -var _rs = (/* unused pure expression or super */ null && ( false ? 0 : null)); // eslint-disable-line -// ============================== Observe ============================== -function observe(element, callback) { - if (!elementListeners.has(element)) { - elementListeners.set(element, new Set()); - resizeObserver.observe(element); - } - elementListeners.get(element).add(callback); -} -function unobserve(element, callback) { - if (elementListeners.has(element)) { - elementListeners.get(element).delete(callback); - if (!elementListeners.get(element).size) { - resizeObserver.unobserve(element); - elementListeners.delete(element); - } - } -} -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(15671); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(43144); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js -var inherits = __webpack_require__(60136); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules -var createSuper = __webpack_require__(51630); -;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js - - - - - -/** - * Fallback to findDOMNode if origin ref do not provide any dom element - */ -var DomWrapper = /*#__PURE__*/function (_React$Component) { - (0,inherits/* default */.Z)(DomWrapper, _React$Component); - var _super = (0,createSuper/* default */.Z)(DomWrapper); - function DomWrapper() { - (0,classCallCheck/* default */.Z)(this, DomWrapper); - return _super.apply(this, arguments); - } - (0,createClass/* default */.Z)(DomWrapper, [{ - key: "render", - value: function render() { - return this.props.children; - } - }]); - return DomWrapper; -}(react.Component); - -;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/Collection.js - -var CollectionContext = /*#__PURE__*/react.createContext(null); -/** - * Collect all the resize event from children ResizeObserver - */ -function Collection(_ref) { - var children = _ref.children, - onBatchResize = _ref.onBatchResize; - var resizeIdRef = react.useRef(0); - var resizeInfosRef = react.useRef([]); - var onCollectionResize = react.useContext(CollectionContext); - var onResize = react.useCallback(function (size, element, data) { - resizeIdRef.current += 1; - var currentId = resizeIdRef.current; - resizeInfosRef.current.push({ - size: size, - element: element, - data: data - }); - Promise.resolve().then(function () { - if (currentId === resizeIdRef.current) { - onBatchResize === null || onBatchResize === void 0 ? void 0 : onBatchResize(resizeInfosRef.current); - resizeInfosRef.current = []; - } - }); - // Continue bubbling if parent exist - onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(size, element, data); - }, [onBatchResize, onCollectionResize]); - return /*#__PURE__*/react.createElement(CollectionContext.Provider, { - value: onResize - }, children); -} -;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/SingleObserver/index.js - - - - - - - -function SingleObserver(props, ref) { - var children = props.children, - disabled = props.disabled; - var elementRef = react.useRef(null); - var wrapperRef = react.useRef(null); - var onCollectionResize = react.useContext(CollectionContext); - // =========================== Children =========================== - var isRenderProps = typeof children === 'function'; - var mergedChildren = isRenderProps ? children(elementRef) : children; - // ============================= Size ============================= - var sizeRef = react.useRef({ - width: -1, - height: -1, - offsetWidth: -1, - offsetHeight: -1 - }); - // ============================= Ref ============================== - var canRef = !isRenderProps && /*#__PURE__*/react.isValidElement(mergedChildren) && (0,es_ref/* supportRef */.Yr)(mergedChildren); - var originRef = canRef ? mergedChildren.ref : null; - var mergedRef = react.useMemo(function () { - return (0,es_ref/* composeRef */.sQ)(originRef, elementRef); - }, [originRef, elementRef]); - var getDom = function getDom() { - return (0,findDOMNode/* default */.Z)(elementRef.current) || (0,findDOMNode/* default */.Z)(wrapperRef.current); - }; - react.useImperativeHandle(ref, function () { - return getDom(); - }); - // =========================== Observe ============================ - var propsRef = react.useRef(props); - propsRef.current = props; - // Handler - var onInternalResize = react.useCallback(function (target) { - var _propsRef$current = propsRef.current, - onResize = _propsRef$current.onResize, - data = _propsRef$current.data; - var _target$getBoundingCl = target.getBoundingClientRect(), - width = _target$getBoundingCl.width, - height = _target$getBoundingCl.height; - var offsetWidth = target.offsetWidth, - offsetHeight = target.offsetHeight; - /** - * Resize observer trigger when content size changed. - * In most case we just care about element size, - * let's use `boundary` instead of `contentRect` here to avoid shaking. - */ - var fixedWidth = Math.floor(width); - var fixedHeight = Math.floor(height); - if (sizeRef.current.width !== fixedWidth || sizeRef.current.height !== fixedHeight || sizeRef.current.offsetWidth !== offsetWidth || sizeRef.current.offsetHeight !== offsetHeight) { - var size = { - width: fixedWidth, - height: fixedHeight, - offsetWidth: offsetWidth, - offsetHeight: offsetHeight - }; - sizeRef.current = size; - // IE is strange, right? - var mergedOffsetWidth = offsetWidth === Math.round(width) ? width : offsetWidth; - var mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight; - var sizeInfo = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, size), {}, { - offsetWidth: mergedOffsetWidth, - offsetHeight: mergedOffsetHeight - }); - // Let collection know what happened - onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(sizeInfo, target, data); - if (onResize) { - // defer the callback but not defer to next frame - Promise.resolve().then(function () { - onResize(sizeInfo, target); - }); - } - } - }, []); - // Dynamic observe - react.useEffect(function () { - var currentElement = getDom(); - if (currentElement && !disabled) { - observe(currentElement, onInternalResize); - } - return function () { - return unobserve(currentElement, onInternalResize); - }; - }, [elementRef.current, disabled]); - // ============================ Render ============================ - return /*#__PURE__*/react.createElement(DomWrapper, { - ref: wrapperRef - }, canRef ? /*#__PURE__*/react.cloneElement(mergedChildren, { - ref: mergedRef - }) : mergedChildren); -} -var RefSingleObserver = /*#__PURE__*/react.forwardRef(SingleObserver); -if (false) {} -/* harmony default export */ var es_SingleObserver = (RefSingleObserver); -;// CONCATENATED MODULE: ./node_modules/rc-resize-observer/es/index.js - - - - - - -var INTERNAL_PREFIX_KEY = 'rc-observer-key'; - - -function ResizeObserver(props, ref) { - var children = props.children; - var childNodes = typeof children === 'function' ? [children] : (0,toArray/* default */.Z)(children); - if (false) {} - return childNodes.map(function (child, index) { - var key = (child === null || child === void 0 ? void 0 : child.key) || "".concat(INTERNAL_PREFIX_KEY, "-").concat(index); - return /*#__PURE__*/react.createElement(es_SingleObserver, (0,esm_extends/* default */.Z)({}, props, { - key: key, - ref: index === 0 ? ref : undefined - }), child); - }); -} -var RefResizeObserver = /*#__PURE__*/react.forwardRef(ResizeObserver); -if (false) {} -RefResizeObserver.Collection = Collection; -/* harmony default export */ var es = (RefResizeObserver); - -/***/ }), - -/***/ 43159: -/*!**************************************************!*\ - !*** ./node_modules/rc-tooltip/es/placements.js ***! - \**************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "C": function() { return /* binding */ placements; } -/* harmony export */ }); -var autoAdjustOverflow = { - adjustX: 1, - adjustY: 1 -}; -var targetOffset = [0, 0]; -var placements = { - left: { - points: ['cr', 'cl'], - overflow: autoAdjustOverflow, - offset: [-4, 0], - targetOffset: targetOffset - }, - right: { - points: ['cl', 'cr'], - overflow: autoAdjustOverflow, - offset: [4, 0], - targetOffset: targetOffset - }, - top: { - points: ['bc', 'tc'], - overflow: autoAdjustOverflow, - offset: [0, -4], - targetOffset: targetOffset - }, - bottom: { - points: ['tc', 'bc'], - overflow: autoAdjustOverflow, - offset: [0, 4], - targetOffset: targetOffset - }, - topLeft: { - points: ['bl', 'tl'], - overflow: autoAdjustOverflow, - offset: [0, -4], - targetOffset: targetOffset - }, - leftTop: { - points: ['tr', 'tl'], - overflow: autoAdjustOverflow, - offset: [-4, 0], - targetOffset: targetOffset - }, - topRight: { - points: ['br', 'tr'], - overflow: autoAdjustOverflow, - offset: [0, -4], - targetOffset: targetOffset - }, - rightTop: { - points: ['tl', 'tr'], - overflow: autoAdjustOverflow, - offset: [4, 0], - targetOffset: targetOffset - }, - bottomRight: { - points: ['tr', 'br'], - overflow: autoAdjustOverflow, - offset: [0, 4], - targetOffset: targetOffset - }, - rightBottom: { - points: ['bl', 'br'], - overflow: autoAdjustOverflow, - offset: [4, 0], - targetOffset: targetOffset - }, - bottomLeft: { - points: ['tl', 'bl'], - overflow: autoAdjustOverflow, - offset: [0, 4], - targetOffset: targetOffset - }, - leftBottom: { - points: ['br', 'bl'], - overflow: autoAdjustOverflow, - offset: [-4, 0], - targetOffset: targetOffset - } -}; -/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (placements))); - /***/ }) }]); \ No newline at end of file diff --git a/p__Engineering__Lists__GraduatedMatrix__index.chunk.css b/p__Engineering__Lists__GraduatedMatrix__index.chunk.css index 8d7c9d79e3..80be9a4f31 100644 --- a/p__Engineering__Lists__GraduatedMatrix__index.chunk.css +++ b/p__Engineering__Lists__GraduatedMatrix__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Engineering/Lists/GraduatedMatrix/index.less?modules ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Engineering__Lists__TrainingProgram__Add__index.async.js b/p__Engineering__Lists__TrainingProgram__Add__index.async.js index a87644fcab..f440b0bdfa 100644 --- a/p__Engineering__Lists__TrainingProgram__Add__index.async.js +++ b/p__Engineering__Lists__TrainingProgram__Add__index.async.js @@ -1182,6 +1182,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Engineering__Lists__TrainingProgram__Edit__index.async.js b/p__Engineering__Lists__TrainingProgram__Edit__index.async.js index 6b954e2b9c..3bdd04cd79 100644 --- a/p__Engineering__Lists__TrainingProgram__Edit__index.async.js +++ b/p__Engineering__Lists__TrainingProgram__Edit__index.async.js @@ -1226,6 +1226,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Engineering__Lists__TrainingProgram__index.async.js b/p__Engineering__Lists__TrainingProgram__index.async.js index 52a185ba0d..288bc23da2 100644 --- a/p__Engineering__Lists__TrainingProgram__index.async.js +++ b/p__Engineering__Lists__TrainingProgram__index.async.js @@ -1327,6 +1327,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Help__Index.async.js b/p__Help__Index.async.js index 7edecbcebc..6b154d8a1a 100644 --- a/p__Help__Index.async.js +++ b/p__Help__Index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[35729,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[35729,36579,23805],{ /***/ 68996: /*!**********************************************!*\ diff --git a/p__Innovation__PublicMirror__index.async.js b/p__Innovation__PublicMirror__index.async.js index 0f0a552389..601dcc7ecf 100644 --- a/p__Innovation__PublicMirror__index.async.js +++ b/p__Innovation__PublicMirror__index.async.js @@ -619,6 +619,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Messages__Private__index.async.js b/p__Messages__Private__index.async.js index 2f59cfc0db..49741ef854 100644 --- a/p__Messages__Private__index.async.js +++ b/p__Messages__Private__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[52829,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[52829,36579,23805],{ /***/ 82982: /*!*****************************************!*\ diff --git a/p__MoopCases__FormPanel__index.chunk.css b/p__MoopCases__FormPanel__index.chunk.css index f259416903..f0dfc79297 100644 --- a/p__MoopCases__FormPanel__index.chunk.css +++ b/p__MoopCases__FormPanel__index.chunk.css @@ -131,3 +131,235 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/p__MyProblem__index.async.js b/p__MyProblem__index.async.js index 259ec1f1c3..a1691cb169 100644 --- a/p__MyProblem__index.async.js +++ b/p__MyProblem__index.async.js @@ -377,6 +377,124 @@ var UpOutlined = function UpOutlined(props, ref) { UpOutlined.displayName = 'UpOutlined'; /* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(UpOutlined)); +/***/ }), + +/***/ 4663: +/*!****************************************!*\ + !*** ./src/components/Hooks/index.tsx ***! + \****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "y": function() { return /* binding */ useDisableAction; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +var useDisableAction = function useDisableAction(disable) { + (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () { + if (disable) { + var handleKeyDown = function handleKeyDown(event) { + if (event.key === "F12") { + event.preventDefault(); + // 执行你的自定义行为 + console.log('F12被禁用'); + } + }; + var handleContextmenu = function handleContextmenu(event) { + event.preventDefault(); + }; + document.addEventListener("keydown", handleKeyDown); + document.addEventListener("contextmenu", handleContextmenu); + return function () { + document.removeEventListener("keydown", handleKeyDown); + document.removeEventListener("contextmenu", handleContextmenu); + }; + } + }, [disable]); +}; + +/***/ }), + +/***/ 53280: +/*!***********************************************************************!*\ + !*** ./src/pages/Classrooms/Lists/Exercise/Answer/useRemindModal.tsx ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "_": function() { return /* binding */ useRemindModal; } +/* harmony export */ }); +/* harmony import */ var antd_es_modal_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/modal/style */ 35611); +/* harmony import */ var antd_es_modal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/modal */ 85402); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js */ 74704); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/icons */ 30071); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + +//只需要left_time和exercise_events参数,实际上传进来的answerData还有很多其它的属性 + +var useRemindModal = function useRemindModal(answerData) { + var _answerData$exercise7, _answerData$exercise8; + var countDownRefArr = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)([]); + var clearCountdownTimeout = function clearCountdownTimeout() { + var _iterator = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1___default()(countDownRefArr.current), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var id = _step.value; + clearTimeout(id); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + countDownRefArr.current = []; + }; + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + var _answerData$exercise, _answerData$exercise2, _answerData$exercise3; + clearCountdownTimeout(); + if (answerData !== null && answerData !== void 0 && (_answerData$exercise = answerData.exercise) !== null && _answerData$exercise !== void 0 && _answerData$exercise.left_time && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : (_answerData$exercise3 = _answerData$exercise2.exercise_events) === null || _answerData$exercise3 === void 0 ? void 0 : _answerData$exercise3.length) > 0) { + var _answerData$exercise4; + var _iterator2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1___default()(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise4 = answerData.exercise) === null || _answerData$exercise4 === void 0 ? void 0 : _answerData$exercise4.exercise_events), + _step2; + try { + var _loop = function _loop() { + var _answerData$exercise5; + var eventItem = _step2.value; + if ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise5 = answerData.exercise) === null || _answerData$exercise5 === void 0 ? void 0 : _answerData$exercise5.left_time) > (eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_time) * 60) { + var _answerData$exercise6; + var timeoutId = setTimeout(function () { + antd_es_modal__WEBPACK_IMPORTED_MODULE_4__/* ["default"].info */ .Z.info({ + content: "".concat(eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_content), + icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {}), + centered: true, + okText: "知道了" + }); + }, ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise6 = answerData.exercise) === null || _answerData$exercise6 === void 0 ? void 0 : _answerData$exercise6.left_time) - (eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_time) * 60) * 1000); + countDownRefArr.current.push(timeoutId); + } + }; + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + _loop(); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + } + }, [answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise7 = answerData.exercise) === null || _answerData$exercise7 === void 0 ? void 0 : _answerData$exercise7.left_time, answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise8 = answerData.exercise) === null || _answerData$exercise8 === void 0 ? void 0 : _answerData$exercise8.exercise_events]); + return clearCountdownTimeout; +}; + + /***/ }), /***/ 61050: @@ -1360,16 +1478,16 @@ var spin = __webpack_require__(11382); var button_style = __webpack_require__(29913); // EXTERNAL MODULE: ./node_modules/antd/es/button/index.js var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules +var modal_style = __webpack_require__(35611); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules +var modal = __webpack_require__(85402); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/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/antd/es/modal/style/index.js + 1 modules -var modal_style = __webpack_require__(35611); -// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules -var modal = __webpack_require__(85402); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js var slicedToArray = __webpack_require__(27424); var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); @@ -1382,8 +1500,6 @@ var statistic_style = __webpack_require__(14558); var statistic = __webpack_require__(74763); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.js -var ClockCircleOutlined = __webpack_require__(30071); // EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/FormOutlined.js + 1 modules var FormOutlined = __webpack_require__(77123); // EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/PoweroffOutlined.js + 1 modules @@ -3089,8 +3205,12 @@ var Exercise_ip = __webpack_require__(79443); var Timepiece = __webpack_require__(44635); // EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/components/Unlock.tsx var Unlock = __webpack_require__(61050); +// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/useRemindModal.tsx +var useRemindModal = __webpack_require__(53280); // EXTERNAL MODULE: ./src/components/Exercise/recordScreen.tsx + 3 modules var recordScreen = __webpack_require__(78806); +// EXTERNAL MODULE: ./src/components/Hooks/index.tsx +var Hooks = __webpack_require__(4663); // EXTERNAL MODULE: ./src/assets/images/question/time.svg var time = __webpack_require__(39022); // EXTERNAL MODULE: ./src/assets/images/question/title.svg @@ -3139,6 +3259,8 @@ var _excluded = ["input", "showNote", "onShowNote", "notes", "onCancelNote", "on + + @@ -3223,7 +3345,7 @@ function MyProblem_reducer(state, action) { } } /* harmony default export */ var MyProblem = (function (_ref) { - var _data$test_case, _exerciseData$exercis7; + var _data$test_case, _exerciseData$exercis2, _exerciseData$exercis3, _exerciseData$exercis4; var children = _ref.children; var _useReducer = (0,react.useReducer)(MyProblem_reducer, initalilState), _useReducer2 = slicedToArray_default()(_useReducer, 2), @@ -3245,7 +3367,7 @@ function MyProblem_reducer(state, action) { debuging = state.debuging, submitting = state.submitting, executingMessage = state.executingMessage; - var _useState = (0,react.useState)("#FFF"), + var _useState = (0,react.useState)("#37AD83"), _useState2 = slicedToArray_default()(_useState, 2), countDownColor = _useState2[0], setCountDownColor = _useState2[1]; @@ -3270,44 +3392,44 @@ function MyProblem_reducer(state, action) { var user = data === null || data === void 0 ? void 0 : data.user; var hack = data === null || data === void 0 ? void 0 : data.hack; var runTypeRef = (0,react.useRef)(1); - var countDownRef = (0,react.useRef)(); - var countDownRef2 = (0,react.useRef)(); + // const countDownRef = useRef(); + // const countDownRef2 = useRef(); var lockExitFullRef = (0,react.useRef)(false); - (0,react.useEffect)(function () { - var _exerciseData$exercis; - clearTimeout(countDownRef.current); - clearTimeout(countDownRef2.current); - if (exerciseData !== null && exerciseData !== void 0 && (_exerciseData$exercis = exerciseData.exercise) !== null && _exerciseData$exercis !== void 0 && _exerciseData$exercis.left_time) { - var _exerciseData$exercis2, _exerciseData$exercis4; - if ((exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis2 = exerciseData.exercise) === null || _exerciseData$exercis2 === void 0 ? void 0 : _exerciseData$exercis2.left_time) > 1800) { - var _exerciseData$exercis3; - countDownRef2.current = setTimeout(function () { - modal/* default.info */.Z.info({ - content: "当前距离考试结束还有30分钟", - icon: /*#__PURE__*/(0,jsx_runtime.jsx)(ClockCircleOutlined/* default */.Z, {}), - okText: "知道了" - }); - }, ((exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis3 = exerciseData.exercise) === null || _exerciseData$exercis3 === void 0 ? void 0 : _exerciseData$exercis3.left_time) - 1800) * 1000); - } - if ((exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis4 = exerciseData.exercise) === null || _exerciseData$exercis4 === void 0 ? void 0 : _exerciseData$exercis4.left_time) > 900) { - var _exerciseData$exercis5; - countDownRef.current = setTimeout(function () { - modal/* default.info */.Z.info({ - content: "当前距离考试结束还有15分钟", - icon: /*#__PURE__*/(0,jsx_runtime.jsx)(ClockCircleOutlined/* default */.Z, {}), - okText: "知道了" - }); - }, ((exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis5 = exerciseData.exercise) === null || _exerciseData$exercis5 === void 0 ? void 0 : _exerciseData$exercis5.left_time) - 900) * 1000); - } - } - }, [exerciseData]); + (0,Hooks/* useDisableAction */.y)(searchParams.get("type") === 'exercises'); + var clearCountdownTimeout = (0,useRemindModal/* useRemindModal */._)(exerciseData); + + // useEffect(() => { + // clearTimeout(countDownRef.current) + // clearTimeout(countDownRef2.current) + // if (exerciseData?.exercise?.left_time) { + // if (exerciseData?.exercise?.left_time > 1800) { + // countDownRef2.current = setTimeout(() => { + // Modal.info({ + // content: "当前距离考试结束还有30分钟", + // icon: , + // okText: "知道了" + // }) + // }, (exerciseData?.exercise?.left_time - 1800) * 1000) + // } + // if (exerciseData?.exercise?.left_time > 900) { + // countDownRef.current = setTimeout(() => { + // Modal.info({ + // content: "当前距离考试结束还有15分钟", + // icon: , + // okText: "知道了" + // }) + // }, (exerciseData?.exercise?.left_time - 900) * 1000) + // } + // } + // }, [exerciseData]) + (0,react.useEffect)(function () { function init() { return _init.apply(this, arguments); } function _init() { _init = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var response, _res, _res2, _res2$exercise, res, _res3, _res3$exercise, _res4, _res4$exercise, _res5, _res5$exercise; + var response, _res, _res2, _res2$exercise, res, _res3, _res3$exercise; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: @@ -3377,9 +3499,9 @@ function MyProblem_reducer(state, action) { setExerciseData(objectSpread2_default()({}, res)); if ((_res = res) !== null && _res !== void 0 && _res.left_banner_id && (_res2 = res) !== null && _res2 !== void 0 && (_res2$exercise = _res2.exercise) !== null && _res2$exercise !== void 0 && _res2$exercise.left_time) { setCountDownTime(Date.now() + ((_res3 = res) === null || _res3 === void 0 ? void 0 : (_res3$exercise = _res3.exercise) === null || _res3$exercise === void 0 ? void 0 : _res3$exercise.left_time) * 1000); - setTimeout(function () { - setCountDownColor("red"); - }, (((_res4 = res) === null || _res4 === void 0 ? void 0 : (_res4$exercise = _res4.exercise) === null || _res4$exercise === void 0 ? void 0 : _res4$exercise.left_time) - 300 > 0 ? ((_res5 = res) === null || _res5 === void 0 ? void 0 : (_res5$exercise = _res5.exercise) === null || _res5$exercise === void 0 ? void 0 : _res5$exercise.left_time) - 300 : 0) * 1000); + // setTimeout(() => { + // setCountDownColor("red") + // }, (res?.exercise?.left_time - 300 > 0 ? res?.exercise?.left_time - 300 : 0) * 1000) } case 21: case "end": @@ -3394,8 +3516,8 @@ function MyProblem_reducer(state, action) { } }, [id]); (0,react.useEffect)(function () { - var _exerciseData$exercis6; - if (searchParams.get("type") === 'exercises' && exerciseData !== null && exerciseData !== void 0 && (_exerciseData$exercis6 = exerciseData.exercise) !== null && _exerciseData$exercis6 !== void 0 && _exerciseData$exercis6.screen_open) { + var _exerciseData$exercis; + if (searchParams.get("type") === 'exercises' && exerciseData !== null && exerciseData !== void 0 && (_exerciseData$exercis = exerciseData.exercise) !== null && _exerciseData$exercis !== void 0 && _exerciseData$exercis.screen_open) { window.removeEventListener('blur', backExercise, false); recordScreen/* fullchange.forEach */.U.forEach(function (item, index) { window.addEventListener(item, backExercise, false); @@ -3504,7 +3626,7 @@ function MyProblem_reducer(state, action) { } function _onUpdateCode() { _onUpdateCode = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9(value) { - var ip, response, _exerciseData$exercis8; + var ip, response, _exerciseData$exercis5; return regeneratorRuntime_default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: @@ -3538,7 +3660,7 @@ function MyProblem_reducer(state, action) { exerciseParams: objectSpread2_default()(objectSpread2_default()({ errorMessage: response === null || response === void 0 ? void 0 : response.message }, (exerciseData === null || exerciseData === void 0 ? void 0 : exerciseData.exercise) || {}), {}, { - exercise_user_id: exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis8 = exerciseData.exercise) === null || _exerciseData$exercis8 === void 0 ? void 0 : _exerciseData$exercis8.exercise_user_id, + exercise_user_id: exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis5 = exerciseData.exercise) === null || _exerciseData$exercis5 === void 0 ? void 0 : _exerciseData$exercis5.exercise_user_id, id: searchParams.get("exercisesId") }) } @@ -4103,6 +4225,7 @@ function MyProblem_reducer(state, action) { user: data === null || data === void 0 ? void 0 : data.user, onTriggerPraise: onTriggerPraise }; + console.log(exerciseData); return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { spinning: loading, @@ -4118,6 +4241,20 @@ function MyProblem_reducer(state, action) { }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: user === null || user === void 0 ? void 0 : user.name })] + }), searchParams.get("type") === "exercises" && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "exercise_user_info", + children: ["\u59D3\u540D", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "ml10", + children: exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis2 = exerciseData.exercise) === null || _exerciseData$exercis2 === void 0 ? void 0 : _exerciseData$exercis2.user_name + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "exercise_user_info ml30", + children: ["\u5B66\u53F7", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "ml10", + children: exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis3 = exerciseData.exercise) === null || _exerciseData$exercis3 === void 0 ? void 0 : _exerciseData$exercis3.student_id + })] + })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("h2", { className: "flex-wrp flex_box_column flex_box_center", children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { @@ -4137,26 +4274,28 @@ function MyProblem_reducer(state, action) { marginRight: 10 }, children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(FormOutlined/* default */.Z, {}), " \u7F16\u8F91"] - }) : null, (exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis7 = exerciseData.exercise) === null || _exerciseData$exercis7 === void 0 ? void 0 : _exerciseData$exercis7.left_time) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + }) : null, (exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis4 = exerciseData.exercise) === null || _exerciseData$exercis4 === void 0 ? void 0 : _exerciseData$exercis4.left_time) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - color: countDownColor + color: countDownColor, + marginRight: 6 }, - className: "iconfont icon-kaoshishichang mr5" + className: "iconfont icon-daojishi" }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: "c-white mr20", children: /*#__PURE__*/(0,jsx_runtime.jsx)(Countdown, { valueStyle: { color: countDownColor, - fontSize: 16, - fontWeight: "normal" + fontSize: 20, + fontWeight: 500 }, title: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { color: countDownColor, - fontSize: 16 + fontSize: 14, + marginRight: 10 }, - children: "\u5269\u4F59\u65F6\u95F4\uFF1A" + children: "\u5269\u4F59\u7B54\u9898\u65F6\u957F" }), value: countDownTime, onFinish: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6() { @@ -4228,6 +4367,7 @@ function MyProblem_reducer(state, action) { }), onOk: function onOk() { // window.close() + clearCountdownTimeout(); lockExitFullRef.current = true; backExercise(); } diff --git a/p__MyProblem__index.chunk.css b/p__MyProblem__index.chunk.css index 82df5bbefd..576da28fb9 100644 --- a/p__MyProblem__index.chunk.css +++ b/p__MyProblem__index.chunk.css @@ -397,6 +397,16 @@ font-size: 12px; line-height: 30px !important; } +.exercise_user_info { + font-size: 14px; + font-weight: 400; + color: #B2BACB; +} +.exercise_user_info span { + font-size: 16px; + font-weight: 500; + color: #55BFD6; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ diff --git a/p__Paperlibrary__Add__index.async.js b/p__Paperlibrary__Add__index.async.js index 6551a839fb..5cffa55f13 100644 --- a/p__Paperlibrary__Add__index.async.js +++ b/p__Paperlibrary__Add__index.async.js @@ -140,13 +140,14 @@ var AsyncButton = function AsyncButton(_ref) { return props.onClick(e); case 4: setBtnLoading(false); - _context.next = 10; + _context.next = 11; break; case 7: _context.prev = 7; _context.t0 = _context["catch"](0); + console.error(_context.t0); setBtnLoading(false); - case 10: + case 11: case "end": return _context.stop(); } @@ -3492,7 +3493,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -8918,7 +8919,7 @@ var Add_AddNewPaper = function AddNewPaper(_ref2) { active: current !== 1, className: "mr10" }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u6DFB\u52A0\u8BD5\u9898" + children: "\u7F16\u8F91\u8BD5\u9898" })] })] }), current === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { diff --git a/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js b/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js index 9cc13dd1a4..52392c9bb8 100644 --- a/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js +++ b/p__Paperlibrary__Random__ExchangeFromProblemSet__index.async.js @@ -54,13 +54,14 @@ var AsyncButton = function AsyncButton(_ref) { return props.onClick(e); case 4: setBtnLoading(false); - _context.next = 10; + _context.next = 11; break; case 7: _context.prev = 7; _context.t0 = _context["catch"](0); + console.error(_context.t0); setBtnLoading(false); - case 10: + case 11: case "end": return _context.stop(); } @@ -8890,7 +8891,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }), className: Problemsetmodules.search, - placeholder: "\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22", + placeholder: "\u8BF7\u8F93\u5165\u9898\u53F7\u6216\u5176\u4ED6\u5173\u952E\u8BCD\u8FDB\u884C\u641C\u7D22", size: "large" // value={decodeURIComponent(params.keyword)} , @@ -9160,7 +9161,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { size: "large", spinning: loading['problemset/getItemBanks'], children: problemsetList.map(function (v, index) { - var _questionType$find, _v$author5; + var _questionType$find, _v$author5, _v$author6, _v$author6$name, _v$author7, _v$author7$name, _v$author8; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Problemsetmodules.li, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { @@ -9172,7 +9173,10 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }, v.id) }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Problemsetmodules.bottom, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "".concat(Problemsetmodules.actionLeftItem, " ").concat(Problemsetmodules.questionTypeName), + children: ["No.", v === null || v === void 0 ? void 0 : v.id] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { className: "".concat(Problemsetmodules.actionLeftItem, " ").concat(Problemsetmodules.questionTypeName), children: (_questionType$find = questionType.find(function (item) { return item.type === v.item_type; @@ -9182,9 +9186,12 @@ var ProblemsetPage = function ProblemsetPage(_ref) { children: difficultyMapping[v.difficulty] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { className: Problemsetmodules.actionLeftItem, - children: ["\u521B\u5EFA\u8005", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-grey-333", - children: v === null || v === void 0 ? void 0 : (_v$author5 = v.author) === null || _v$author5 === void 0 ? void 0 : _v$author5.name + children: ["\u521B\u5EFA\u8005", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: v === null || v === void 0 ? void 0 : (_v$author5 = v.author) === null || _v$author5 === void 0 ? void 0 : _v$author5.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-333", + children: (v === null || v === void 0 ? void 0 : (_v$author6 = v.author) === null || _v$author6 === void 0 ? void 0 : (_v$author6$name = _v$author6.name) === null || _v$author6$name === void 0 ? void 0 : _v$author6$name.length) > 6 ? (v === null || v === void 0 ? void 0 : (_v$author7 = v.author) === null || _v$author7 === void 0 ? void 0 : (_v$author7$name = _v$author7.name) === null || _v$author7$name === void 0 ? void 0 : _v$author7$name.substr(0, 5)) + '...' : v === null || v === void 0 ? void 0 : (_v$author8 = v.author) === null || _v$author8 === void 0 ? void 0 : _v$author8.name + }) })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { className: Problemsetmodules.actionLeftItem, diff --git a/p__Paperlibrary__Random__PreviewEdit__index.async.js b/p__Paperlibrary__Random__PreviewEdit__index.async.js index 942346a95a..d70719de87 100644 --- a/p__Paperlibrary__Random__PreviewEdit__index.async.js +++ b/p__Paperlibrary__Random__PreviewEdit__index.async.js @@ -569,6 +569,303 @@ function getPlacements(config) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 27049: /*!***********************************************!*\ !*** ./node_modules/antd/es/divider/index.js ***! diff --git a/p__Paperlibrary__Random__PreviewEdit__index.chunk.css b/p__Paperlibrary__Random__PreviewEdit__index.chunk.css index 2c0c661921..08003d1e5f 100644 --- a/p__Paperlibrary__Random__PreviewEdit__index.chunk.css +++ b/p__Paperlibrary__Random__PreviewEdit__index.chunk.css @@ -1022,6 +1022,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/tag/style/index.less ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Paperlibrary__See__index.async.js b/p__Paperlibrary__See__index.async.js index 5654706fe1..fdf833d0bb 100644 --- a/p__Paperlibrary__See__index.async.js +++ b/p__Paperlibrary__See__index.async.js @@ -94,13 +94,14 @@ var AsyncButton = function AsyncButton(_ref) { return props.onClick(e); case 4: setBtnLoading(false); - _context.next = 10; + _context.next = 11; break; case 7: _context.prev = 7; _context.t0 = _context["catch"](0); + console.error(_context.t0); setBtnLoading(false); - case 10: + case 11: case "end": return _context.stop(); } diff --git a/p__Paths__Detail__id.async.js b/p__Paths__Detail__id.async.js index 6b0c8a14c2..2f8871fba5 100644 --- a/p__Paths__Detail__id.async.js +++ b/p__Paths__Detail__id.async.js @@ -640,13 +640,14 @@ var AsyncButton = function AsyncButton(_ref) { return props.onClick(e); case 4: setBtnLoading(false); - _context.next = 10; + _context.next = 11; break; case 7: _context.prev = 7; _context.t0 = _context["catch"](0); + console.error(_context.t0); setBtnLoading(false); - case 10: + case 11: case "end": return _context.stop(); } @@ -4225,7 +4226,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -8658,6 +8659,7 @@ var Right_excluded = ["pathsDetail", "user", "globalSetting", "loading", "classr + function onPreviewImage(e) { @@ -9926,17 +9928,17 @@ var Right = function Right(_ref) { className: SortTeammodules.imgradius, onClick: function onClick() { //判断 是否登录 - // if(isLogin()){ - // history.push(`${item.user_url}`) - // }else{ - // dispatch({ - // type: 'user/showPopLogin', - // payload: { - // showPopLogin: true, - // showClosable: true - // }, - // }) - // } + if ((0,authority/* isLogin */.bg)()) { + _umi_production_exports.history.push("".concat(item.user_url)); + } else { + dispatch({ + type: 'user/showPopLogin', + payload: { + showPopLogin: true, + showClosable: true + } + }); + } }, 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", { @@ -15734,7 +15736,7 @@ var SendToClassModal = function SendToClassModal(_ref) { , blockNode: true, titleRender: function titleRender(nodeData) { - var _nodeData$learning_st, _nodeData$schools, _nodeData$children; + var _nodeData$learning_st, _nodeData$shixun_mark, _nodeData$schools, _nodeData$children; var item = nodeData; if (item.item_type !== visibleType && visibleType !== 'All') { return null; @@ -15754,6 +15756,9 @@ var SendToClassModal = function SendToClassModal(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { flex: "1", className: "c-grey-333", + style: { + display: 'flex' + }, children: [props.cust_seq && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: "mr10" // style={{flexShrink:0}} @@ -15842,6 +15847,26 @@ var SendToClassModal = function SendToClassModal(_ref) { fontSize: '12px' }, children: "Jupyter Notebook" + }), nodeData.item_type === 'Shixun' && (nodeData === null || nodeData === void 0 ? void 0 : (_nodeData$shixun_mark = nodeData.shixun_marks) === null || _nodeData$shixun_mark === void 0 ? void 0 : _nodeData$shixun_mark.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "".concat(nodeData === null || nodeData === void 0 ? void 0 : nodeData.shixun_marks), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + background: '#43a2ff', + color: '#fff', + borderRadius: '13px', + marginLeft: '5px', + height: '20px', + textAlign: 'center', + fontSize: '12px', + maxWidth: '70px', + padding: '0px 13px', + overflow: 'hidden', + whiteSpace: 'nowrap', + display: 'inline-block', + textOverflow: 'ellipsis' + }, + children: nodeData === null || nodeData === void 0 ? void 0 : nodeData.shixun_marks + }) }), !!((_nodeData$schools = nodeData.schools) !== null && _nodeData$schools !== void 0 && _nodeData$schools.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { title: "\u8BE5\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E", children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { diff --git a/p__Paths__Detail__id.chunk.css b/p__Paths__Detail__id.chunk.css index 0aca51422b..71353353cc 100644 --- a/p__Paths__Detail__id.chunk.css +++ b/p__Paths__Detail__id.chunk.css @@ -1744,6 +1744,7 @@ border-radius: 50%; margin-bottom: 10px; border: 1px solid #eeeeee; + cursor: pointer; } .directionItemWrap___MKzHd { flex-direction: row; diff --git a/p__Paths__Index__index.async.js b/p__Paths__Index__index.async.js index a4fa2b1744..35f34580b5 100644 --- a/p__Paths__Index__index.async.js +++ b/p__Paths__Index__index.async.js @@ -956,7 +956,7 @@ var Page = function Page(_ref) { value: params.keyword }, onChange: handleFilter, - placeholder: "\u8BF7\u8F93\u5165\u8BFE\u7A0B\u540D\u79F0\u8FDB\u884C\u641C\u7D22" + placeholder: "\u8BF7\u8F93\u5165\u8BFE\u7A0B\u3001\u59D3\u540D\u6216\u5B66\u6821\u540D\u79F0\u8FDB\u884C\u641C\u7D22" })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CourseList */.cQ, { dataSource: list, diff --git a/p__Problems__OjForm__NewEdit__index.async.js b/p__Problems__OjForm__NewEdit__index.async.js index 8df3227c98..7990b5fda6 100644 --- a/p__Problems__OjForm__NewEdit__index.async.js +++ b/p__Problems__OjForm__NewEdit__index.async.js @@ -1100,7 +1100,7 @@ var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); var react = __webpack_require__(67294); ;// CONCATENATED MODULE: ./src/pages/Problems/OjForm/NewEdit/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var NewEditmodules = ({"bg":"bg___HduZ7","header":"header___KbUo2","avatar":"avatar___UDYJ4","title":"title___OP1JL","exitBtn":"exitBtn___E3w1m","contentWrapper":"contentWrapper___IeO8M","tabWrapper":"tabWrapper___qc2MC","buttonFixed":"buttonFixed___jzejH","cancelBtn":"cancelBtn___c5OpP","saveBtn":"saveBtn___UhxvN","challengeBtn":"challengeBtn___h9r2O","baseInfoWrapper":"baseInfoWrapper___jei0F","baseLineHeight":"baseLineHeight___v1JXM","folderLineHeight":"folderLineHeight___tF8xb","uploadBtnWrapper":"uploadBtnWrapper___ICJS3","baseFormItem":"baseFormItem___sca4N","radioBtnWrapper":"radioBtnWrapper___VIxZD","difficultyRadio":"difficultyRadio___isD54","easy":"easy___gparw","medium":"medium___wRzjL","hard":"hard___sWxqC","testCaseTypeRadio":"testCaseTypeRadio___oiSFl","cascaderPopup":"cascaderPopup___OADQu","collapseWrapper":"collapseWrapper___saVIT","panelHeader":"panelHeader___hRptX","rateInput":"rateInput____HzUM","operationWrapper":"operationWrapper___YJRMc","open":"open___zkYQ_","close":"close___q9p81","add":"add___NB0_y","remove":"remove___xa9jD","codePanelWrapper":"codePanelWrapper___oacDD","uploadTableWrapper":"uploadTableWrapper___iMDly"}); +/* harmony default export */ var NewEditmodules = ({"bg":"bg___HduZ7","header":"header___KbUo2","avatar":"avatar___UDYJ4","title":"title___OP1JL","exitBtn":"exitBtn___E3w1m","contentWrapper":"contentWrapper___IeO8M","tabWrapper":"tabWrapper___qc2MC","buttonFixed":"buttonFixed___jzejH","cancelBtn":"cancelBtn___c5OpP","saveBtn":"saveBtn___UhxvN","challengeBtn":"challengeBtn___h9r2O","baseInfoWrapper":"baseInfoWrapper___jei0F","baseLineHeight":"baseLineHeight___v1JXM","folderLineHeight":"folderLineHeight___tF8xb","uploadBtnWrapper":"uploadBtnWrapper___ICJS3","baseFormItem":"baseFormItem___sca4N","radioBtnWrapper":"radioBtnWrapper___VIxZD","difficultyRadio":"difficultyRadio___isD54","easy":"easy___gparw","medium":"medium___wRzjL","hard":"hard___sWxqC","testCaseTypeRadio":"testCaseTypeRadio___oiSFl","cascaderPopup":"cascaderPopup___OADQu","collapseWrapper":"collapseWrapper___saVIT","panelHeader":"panelHeader___hRptX","rateInput":"rateInput____HzUM","operationWrapper":"operationWrapper___YJRMc","open":"open___zkYQ_","close":"close___q9p81","add":"add___NB0_y","remove":"remove___xa9jD","codePanelWrapper":"codePanelWrapper___oacDD","uploadTableWrapper":"uploadTableWrapper___iMDly","unfold":"unfold___TdtCA"}); // EXTERNAL MODULE: ./src/pages/Problems/OjForm/util.tsx var util = __webpack_require__(52238); // EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules @@ -1264,8 +1264,12 @@ function BaseInfo(_ref) { test_set_score = hack.test_set_score; var _useState3 = (0,react.useState)(false), _useState4 = slicedToArray_default()(_useState3, 2), - showUploadFile = _useState4[0], - setShowUploadFile = _useState4[1]; + unfold = _useState4[0], + setUnfold = _useState4[1]; + var _useState5 = (0,react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + showUploadFile = _useState6[0], + setShowUploadFile = _useState6[1]; var handleRemove = function handleRemove(item, key) { var newList = toConsumableArray_default()(uploadData); newList.splice(key, 1); @@ -1421,49 +1425,6 @@ function BaseInfo(_ref) { onChange: onChangeLanguage, children: (0,util/* getSelectOptions */.jw)(util/* Keys.language */.R8.language) }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u96BE\u5EA6", - name: ['hack', 'difficult'], - className: NewEditmodules.radioBtnWrapper, - rules: [{ - required: true, - message: '请选择难度' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - optionType: "button", - className: NewEditmodules.difficultyRadio, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - className: NewEditmodules.easy, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - className: NewEditmodules.medium, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - className: NewEditmodules.hard, - children: "\u56F0\u96BE" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u77E5\u8BC6\u70B9", - name: ['hack', 'tag_discipline_ids'], - className: NewEditmodules.baseLineHeight, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - selectvalues: (hack === null || hack === void 0 ? void 0 : hack.tag_discipline_id) || (hack === null || hack === void 0 ? void 0 : hack.tag_discipline_ids), - disabled: is_random, - subId: formValue === null || formValue === void 0 ? void 0 : (_formValue$hack = formValue.hack) === null || _formValue$hack === void 0 ? void 0 : (_formValue$hack$sub_d = _formValue$hack.sub_discipline_id) === null || _formValue$hack$sub_d === void 0 ? void 0 : _formValue$hack$sub_d[1], - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), !is_random && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - className: NewEditmodules.folderLineHeight, - label: '放入文件夹', - name: ['hack', 'item_banks_group_ids'], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(FolderTree/* default */.Z, { - scrollId: "item_banks_group_ids" - }) }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default.Item */.Z.Item, { label: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { @@ -1787,6 +1748,66 @@ function BaseInfo(_ref) { }) }); } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: NewEditmodules.unfold, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + return setUnfold(!unfold); + }, + children: ["\u66F4\u591A\u8BBE\u7F6E", unfold ? /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-xialajiantou1" + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-xialajiantoubeifen" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: unfold ? 'block' : 'none' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u96BE\u5EA6", + name: ['hack', 'difficult'], + className: NewEditmodules.radioBtnWrapper, + rules: [{ + required: true, + message: '请选择难度' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + optionType: "button", + className: NewEditmodules.difficultyRadio, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 1, + className: NewEditmodules.easy, + children: "\u7B80\u5355" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 2, + className: NewEditmodules.medium, + children: "\u9002\u4E2D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 3, + className: NewEditmodules.hard, + children: "\u56F0\u96BE" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u77E5\u8BC6\u70B9", + name: ['hack', 'tag_discipline_ids'], + className: NewEditmodules.baseLineHeight, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { + selectvalues: (hack === null || hack === void 0 ? void 0 : hack.tag_discipline_id) || (hack === null || hack === void 0 ? void 0 : hack.tag_discipline_ids), + disabled: is_random, + subId: formValue === null || formValue === void 0 ? void 0 : (_formValue$hack = formValue.hack) === null || _formValue$hack === void 0 ? void 0 : (_formValue$hack$sub_d = _formValue$hack.sub_discipline_id) === null || _formValue$hack$sub_d === void 0 ? void 0 : _formValue$hack$sub_d[1], + knowledgeOptions: knowledgeOptions, + onAddKnowledgeFinish: handleAddKnowledgeFinish + }) + }), !is_random && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + className: NewEditmodules.folderLineHeight, + label: '放入文件夹', + name: ['hack', 'item_banks_group_ids'], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(FolderTree/* default */.Z, { + scrollId: "item_banks_group_ids" + }) + })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(UploadFile/* default */.ZP, { rootIdentifier: null, visible: showUploadFile, diff --git a/p__Problems__OjForm__NewEdit__index.chunk.css b/p__Problems__OjForm__NewEdit__index.chunk.css index 1aa2bed7e9..e249117775 100644 --- a/p__Problems__OjForm__NewEdit__index.chunk.css +++ b/p__Problems__OjForm__NewEdit__index.chunk.css @@ -339,6 +339,30 @@ div[class~='ant-collapse-borderless'] { .uploadTableWrapper___iMDly { margin-left: 124px; } +.unfold___TdtCA { + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 26px; + margin-top: 45px; +} +.unfold___TdtCA div { + font-size: 14px; + font-weight: 400; + color: #3061D0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.unfold___TdtCA div i { + display: inline-block; + width: 20px; + font-size: 12px; + transform: scale(0.8) translateY(-1px); + margin-left: 3px; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ diff --git a/p__Problemset__NewItem__index.async.js b/p__Problemset__NewItem__index.async.js index 6b1240f4c2..049631332c 100644 --- a/p__Problemset__NewItem__index.async.js +++ b/p__Problemset__NewItem__index.async.js @@ -1955,7 +1955,7 @@ var _umi_production_exports = __webpack_require__(89214); var env = __webpack_require__(59758); ;// CONCATENATED MODULE: ./src/pages/Problemset/NewItem/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var NewItemmodules = ({"bgWrapper":"bgWrapper___yZrnF","bg":"bg___DMAyj","main":"main___l1oS8","addTypeRadio":"addTypeRadio___eH2zI","formWrap":"formWrap___ydPvR","questionTypeRadio":"questionTypeRadio___jQze1","difficultyWrapper":"difficultyWrapper___W9ML_","difficultyRadio":"difficultyRadio___z9UyX","easy":"easy___5Owsm","medium":"medium___NeHBc","hard":"hard___Hrees","cascaderWrapper":"cascaderWrapper___AUd1O","courseCascader":"courseCascader___UEeI3","knowledgeWrapper":"knowledgeWrapper___sIao8","knowledgeWrap":"knowledgeWrap___PX71i","uploadTips":"uploadTips___v_XSU","uploadTipsIcon":"uploadTipsIcon___gfQUD","downloadBtn":"downloadBtn___BqNPb","uploadBtn":"uploadBtn___p7bAk","buttonFixed":"buttonFixed___j1UZJ","buttonWrap":"buttonWrap___FfqsJ","button":"button___TuRr2","topicWrap":"topicWrap___v5_lJ","cascaderPopup":"cascaderPopup___nXZ4B"}); +/* harmony default export */ var NewItemmodules = ({"bgWrapper":"bgWrapper___yZrnF","bg":"bg___DMAyj","main":"main___l1oS8","addTypeRadio":"addTypeRadio___eH2zI","formWrap":"formWrap___ydPvR","questionTypeRadio":"questionTypeRadio___jQze1","difficultyWrapper":"difficultyWrapper___W9ML_","difficultyRadio":"difficultyRadio___z9UyX","easy":"easy___5Owsm","medium":"medium___NeHBc","hard":"hard___Hrees","cascaderWrapper":"cascaderWrapper___AUd1O","courseCascader":"courseCascader___UEeI3","knowledgeWrapper":"knowledgeWrapper___sIao8","knowledgeWrap":"knowledgeWrap___PX71i","uploadTips":"uploadTips___v_XSU","uploadTipsIcon":"uploadTipsIcon___gfQUD","downloadBtn":"downloadBtn___BqNPb","uploadBtn":"uploadBtn___p7bAk","buttonFixed":"buttonFixed___j1UZJ","buttonWrap":"buttonWrap___FfqsJ","button":"button___TuRr2","topicWrap":"topicWrap___v5_lJ","cascaderPopup":"cascaderPopup___nXZ4B","unfold":"unfold____IJ2y"}); // EXTERNAL MODULE: ./src/components/QuestionEditor/ChoiceQuestionEditor.tsx var ChoiceQuestionEditor = __webpack_require__(23197); // EXTERNAL MODULE: ./src/components/QuestionEditor/JudgmentQuestionEditor.tsx @@ -2020,6 +2020,7 @@ var jsx_runtime = __webpack_require__(85893); + var transformItemType = function transformItemType(itemType) { @@ -2110,14 +2111,18 @@ var NewItem = function NewItem(_ref2) { _useState12 = slicedToArray_default()(_useState11, 2), isLoading = _useState12[0], setisloading = _useState12[1]; - var _useState13 = (0,react.useState)(), + var _useState13 = (0,react.useState)(false), _useState14 = slicedToArray_default()(_useState13, 2), - initValues = _useState14[0], - setInitValues = _useState14[1]; - var _useState15 = (0,react.useState)('SELECT'), + unfold = _useState14[0], + setUnfold = _useState14[1]; + var _useState15 = (0,react.useState)(), _useState16 = slicedToArray_default()(_useState15, 2), - currentItemType = _useState16[0], - setCurrentItemType = _useState16[1]; + initValues = _useState16[0], + setInitValues = _useState16[1]; + var _useState17 = (0,react.useState)('SELECT'), + _useState18 = slicedToArray_default()(_useState17, 2), + currentItemType = _useState18[0], + setCurrentItemType = _useState18[1]; var formKnowLedgeValue = es_form/* default.useWatch */.Z.useWatch('knowledge', form); (0,react.useEffect)(function () { dispatch({ @@ -2223,9 +2228,11 @@ var NewItem = function NewItem(_ref2) { event.returnValue = ''; }; var setInitDataByQuestionType = function setInitDataByQuestionType(questionType) { + var item_banks_group_id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; form.resetFields(); form.setFieldsValue({ - item_type: questionType + item_type: questionType, + item_banks_group_id: item_banks_group_id }); setCurrentItemType(questionType); switch (questionType) { @@ -2272,6 +2279,7 @@ var NewItem = function NewItem(_ref2) { if (changedValues !== null && changedValues !== void 0 && changedValues.item_type) { //更改了试题类型,需要重新设置初始值(只有创建的时候才可以改变试题类型) setInitDataByQuestionType(changedValues === null || changedValues === void 0 ? void 0 : changedValues.item_type); + setUnfold(false); } if (changedValues !== null && changedValues !== void 0 && changedValues.course) { var _changedValues$course = slicedToArray_default()(changedValues.course, 2), @@ -2288,25 +2296,25 @@ var NewItem = function NewItem(_ref2) { }; var handleFinish = /*#__PURE__*/function () { var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var formValues, _ref5, course, item_type, item_banks_group_id, _ref5$knowledge, knowledge, choices, _course, id, subId, tagIds, _ref6, sub_item_banks, postData, res, formData, result, _result$fail, _result$fail2; + var formValues, _ref5, _ref5$course, course, item_type, item_banks_group_id, _ref5$knowledge, knowledge, choices, _course, id, subId, _ref6, sub_item_banks, postData, res, formData, result, _result$fail, _result$fail2; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: formValues = form.getFieldsValue(); - _ref5 = formValues || {}, course = _ref5.course, item_type = _ref5.item_type, item_banks_group_id = _ref5.item_banks_group_id, _ref5$knowledge = _ref5.knowledge, knowledge = _ref5$knowledge === void 0 ? [] : _ref5$knowledge, choices = _ref5.choices; + _ref5 = formValues || {}, _ref5$course = _ref5.course, course = _ref5$course === void 0 ? [] : _ref5$course, item_type = _ref5.item_type, item_banks_group_id = _ref5.item_banks_group_id, _ref5$knowledge = _ref5.knowledge, knowledge = _ref5$knowledge === void 0 ? [] : _ref5$knowledge, choices = _ref5.choices; _course = slicedToArray_default()(course, 2), id = _course[0], subId = _course[1]; if (!(IsSingle === 1)) { - _context.next = 23; + _context.next = 22; break; } if (!(item_type === "PROGRAM")) { - _context.next = 8; + _context.next = 7; break; } - tagIds = knowledge === null || knowledge === void 0 ? void 0 : knowledge.join(','); - (0,util/* openNewWindow */.xg)("/problems/newcreate?sub_discipline_id=".concat(subId, "&newoj=1&pages=").concat(pages, "&tagIds=").concat(tagIds, "&banksIds=").concat(item_banks_group_id !== null && item_banks_group_id !== void 0 && item_banks_group_id[0] ? item_banks_group_id === null || item_banks_group_id === void 0 ? void 0 : item_banks_group_id[0] : 0)); + // const tagIds = knowledge?.join(','); + (0,util/* openNewWindow */.xg)("/problems/newcreate"); return _context.abrupt("return"); - case 8: + case 7: if (item_type === 'SELECT') { item_type = choices.filter(function (choice) { return choice.is_answer === 1; @@ -2328,29 +2336,29 @@ var NewItem = function NewItem(_ref2) { item_type: item_type }); if (!isEdit) { - _context.next = 17; + _context.next = 16; break; } - _context.next = 14; + _context.next = 13; return dispatch({ type: 'problemset/editProblemset', payload: objectSpread2_default()(objectSpread2_default()({}, postData), {}, { id: editId.current }) }); - case 14: + case 13: res = _context.sent; - _context.next = 20; - break; - case 17: _context.next = 19; + break; + case 16: + _context.next = 18; return dispatch({ type: 'problemset/addProblemset', payload: postData }); - case 19: + case 18: res = _context.sent; - case 20: + case 19: if (res.status === 0) { if (isEdit) { _umi_production_exports.history.replace("/problemset?group_id=".concat(item_banks_group_id)); @@ -2363,7 +2371,7 @@ var NewItem = function NewItem(_ref2) { okText: "继续新增", cancelText: '返回列表', onOk: function onOk() { - setInitDataByQuestionType(currentItemType); + setInitDataByQuestionType(currentItemType, item_banks_group_id); }, onCancel: function onCancel() { _umi_production_exports.history.replace("/problemset?group_id=".concat(item_banks_group_id)); @@ -2371,47 +2379,47 @@ var NewItem = function NewItem(_ref2) { }); } } - _context.next = 43; + _context.next = 42; break; - case 23: + case 22: if (!((fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 0)) { - _context.next = 26; + _context.next = 25; break; } message/* default.info */.ZP.info('请上传试题文件'); return _context.abrupt("return"); - case 26: + case 25: setisloading(true); formData = new FormData(); formData.append('file', fileList[0]); formData.append('sub_discipline_id', subId); - _context.next = 32; + _context.next = 31; return (0,fetch/* default */.ZP)("/api/item_banks/file_import.json", { method: 'post', body: formData }, true); - case 32: + case 31: result = _context.sent; setisloading(false); if (!((result === null || result === void 0 ? void 0 : result.status) === 0)) { - _context.next = 43; + _context.next = 42; break; } if (!((result === null || result === void 0 ? void 0 : (_result$fail = result.fail) === null || _result$fail === void 0 ? void 0 : _result$fail.length) > 0)) { - _context.next = 39; + _context.next = 38; break; } setFail(result === null || result === void 0 ? void 0 : result.fail); message/* default.error */.ZP.error('上传失败题数为' + (result === null || result === void 0 ? void 0 : (_result$fail2 = result.fail) === null || _result$fail2 === void 0 ? void 0 : _result$fail2.length) + ',可在底部试题列表查看错误原因。'); return _context.abrupt("return"); - case 39: + case 38: form.setFieldsValue({ course: [] }); setFileList([]); setFail([]); message/* default.info */.ZP.info('上传成功'); - case 43: + case 42: case "end": return _context.stop(); } @@ -2558,97 +2566,116 @@ var NewItem = function NewItem(_ref2) { currentItemType: currentItemType, form: form }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - className: "".concat(NewItemmodules.cascaderWrapper, " mb30"), - labelAlign: "left", - labelCol: { - flex: '62px' - }, - style: { - marginTop: currentItemType === 'PROGRAM' ? 0 : 60 - }, - name: "course", - label: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: ["\u65B9\u5411", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "&\u8BFE\u7A0B"] - }), - rules: [{ - required: true, - message: '请选择课程' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(cascader/* default */.Z, { - className: NewItemmodules.courseCascader, - popupClassName: NewItemmodules.cascaderPopup, - dropdownMenuColumnStyle: { - padding: '8px 12px', - fontSize: 14 + }), currentItemType !== 'PROGRAM' && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + className: "".concat(NewItemmodules.cascaderWrapper, " mb30"), + labelAlign: "left", + labelCol: { + flex: '62px' }, - showArrow: true, - placeholder: "\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B", - allowClear: false, - options: problemset.courseOptions, style: { - width: 490 - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: "\u77E5\u8BC6\u70B9", - name: "knowledge", - labelCol: { - flex: '62px' - }, - labelAlign: "left", - className: "".concat(NewItemmodules.knowledgeWrapper, " mb30"), - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { - selectvalues: formKnowLedgeValue, - subId: (_form$getFieldsValue$ = form.getFieldsValue().course) === null || _form$getFieldsValue$ === void 0 ? void 0 : _form$getFieldsValue$[1], - knowledgeOptions: knowledgeOptions, - onAddKnowledgeFinish: handleAddKnowledgeFinish - }) - }), currentItemType !== 'PROGRAM' && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - labelCol: { - flex: '62px' - }, - labelAlign: "left", - label: "\u96BE\u5EA6", - name: "difficulty", - className: "".concat(NewItemmodules.difficultyWrapper, " mb30"), - rules: [{ - required: true, - message: '请选择难度' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { - optionType: "button", - className: NewItemmodules.difficultyRadio, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 1, - className: NewItemmodules.easy, - children: "\u7B80\u5355" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 2, - className: NewItemmodules.medium, - children: "\u9002\u4E2D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { - value: 3, - className: NewItemmodules.hard, - children: "\u56F0\u96BE" + marginTop: currentItemType === 'PROGRAM' ? 0 : 60 + }, + name: "course", + label: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\u65B9\u5411", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "&\u8BFE\u7A0B"] + }), + rules: [{ + required: true, + message: '请选择课程' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(cascader/* default */.Z, { + className: NewItemmodules.courseCascader, + popupClassName: NewItemmodules.cascaderPopup, + dropdownMenuColumnStyle: { + padding: '8px 12px', + fontSize: 14 + }, + showArrow: true, + placeholder: "\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B", + allowClear: false, + options: problemset.courseOptions, + style: { + width: 490 + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: NewItemmodules.unfold, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + return setUnfold(!unfold); + }, + children: ["\u66F4\u591A\u8BBE\u7F6E", unfold ? /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-xialajiantou1" + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-xialajiantoubeifen" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: unfold ? 'block' : 'none' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u77E5\u8BC6\u70B9", + name: "knowledge", + labelCol: { + flex: '62px' + }, + labelAlign: "left", + className: "".concat(NewItemmodules.knowledgeWrapper, " mb30"), + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Knowledge/* Knowledge */.N, { + selectvalues: formKnowLedgeValue, + subId: (_form$getFieldsValue$ = form.getFieldsValue().course) === null || _form$getFieldsValue$ === void 0 ? void 0 : _form$getFieldsValue$[1], + knowledgeOptions: knowledgeOptions, + onAddKnowledgeFinish: handleAddKnowledgeFinish + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + labelCol: { + flex: '62px' + }, + labelAlign: "left", + label: "\u96BE\u5EA6", + name: "difficulty", + className: "".concat(NewItemmodules.difficultyWrapper, " mb30"), + rules: [{ + required: true, + message: '请选择难度' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + optionType: "button", + className: NewItemmodules.difficultyRadio, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 1, + className: NewItemmodules.easy, + children: "\u7B80\u5355" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 2, + className: NewItemmodules.medium, + children: "\u9002\u4E2D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: 3, + className: NewItemmodules.hard, + children: "\u56F0\u96BE" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: '放入文件夹目录', + rules: [{ + required: true, + message: '请选择文件夹' + }], + name: "item_banks_group_id", + labelCol: { + span: 24 + }, + wrapperCol: { + span: 24 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(FolderTree/* default */.Z, { + scrollId: "item_banks_group_id" + }) })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - label: '放入文件夹目录', - rules: [{ - required: true, - message: '请选择文件夹' - }], - name: "item_banks_group_id", - labelCol: { - span: 24 - }, - wrapperCol: { - span: 24 - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(FolderTree/* default */.Z, { - scrollId: "item_banks_group_id" - }) + })] })] }), IsSingle === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { diff --git a/p__Problemset__NewItem__index.chunk.css b/p__Problemset__NewItem__index.chunk.css index d97ffb1edd..0084bf9a54 100644 --- a/p__Problemset__NewItem__index.chunk.css +++ b/p__Problemset__NewItem__index.chunk.css @@ -22,7 +22,6 @@ .main___l1oS8 { padding: 20px 80px 300px 80px; background: #fff; - box-shadow: 0px 2px 4px 0px #EAEEF4; } .main___l1oS8 .addTypeRadio___eH2zI { background: #F6F7F9; @@ -261,6 +260,30 @@ color: #3061D0; font-weight: 400; } +.unfold____IJ2y { + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 26px; + margin-top: 45px; +} +.unfold____IJ2y div { + font-size: 14px; + font-weight: 400; + color: #3061D0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.unfold____IJ2y div i { + display: inline-block; + width: 20px; + font-size: 12px; + transform: scale(0.8) translateY(-1px); + margin-left: 3px; +} /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ diff --git a/p__Problemset__Preview__New__index.async.js b/p__Problemset__Preview__New__index.async.js index 506a9e9771..0a8a25af2e 100644 --- a/p__Problemset__Preview__New__index.async.js +++ b/p__Problemset__Preview__New__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[64144,69771],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[64144],{ /***/ 16915: /*!****************************************************************!*\ diff --git a/p__Problemset__index.async.js b/p__Problemset__index.async.js index bc177b598a..a42dc92178 100644 --- a/p__Problemset__index.async.js +++ b/p__Problemset__index.async.js @@ -54,13 +54,14 @@ var AsyncButton = function AsyncButton(_ref) { return props.onClick(e); case 4: setBtnLoading(false); - _context.next = 10; + _context.next = 11; break; case 7: _context.prev = 7; _context.t0 = _context["catch"](0); + console.error(_context.t0); setBtnLoading(false); - case 10: + case 11: case "end": return _context.stop(); } @@ -7864,7 +7865,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }), className: Problemsetmodules.search, - placeholder: "\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22", + placeholder: "\u8BF7\u8F93\u5165\u9898\u53F7\u6216\u5176\u4ED6\u5173\u952E\u8BCD\u8FDB\u884C\u641C\u7D22", size: "large" // value={decodeURIComponent(params.keyword)} , @@ -8134,7 +8135,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { size: "large", spinning: loading['problemset/getItemBanks'], children: problemsetList.map(function (v, index) { - var _questionType$find, _v$author5; + var _questionType$find, _v$author5, _v$author6, _v$author6$name, _v$author7, _v$author7$name, _v$author8; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Problemsetmodules.li, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { @@ -8146,7 +8147,10 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }, v.id) }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Problemsetmodules.bottom, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "".concat(Problemsetmodules.actionLeftItem, " ").concat(Problemsetmodules.questionTypeName), + children: ["No.", v === null || v === void 0 ? void 0 : v.id] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { className: "".concat(Problemsetmodules.actionLeftItem, " ").concat(Problemsetmodules.questionTypeName), children: (_questionType$find = questionType.find(function (item) { return item.type === v.item_type; @@ -8156,9 +8160,12 @@ var ProblemsetPage = function ProblemsetPage(_ref) { children: difficultyMapping[v.difficulty] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { className: Problemsetmodules.actionLeftItem, - children: ["\u521B\u5EFA\u8005", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-grey-333", - children: v === null || v === void 0 ? void 0 : (_v$author5 = v.author) === null || _v$author5 === void 0 ? void 0 : _v$author5.name + children: ["\u521B\u5EFA\u8005", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: v === null || v === void 0 ? void 0 : (_v$author5 = v.author) === null || _v$author5 === void 0 ? void 0 : _v$author5.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-333", + children: (v === null || v === void 0 ? void 0 : (_v$author6 = v.author) === null || _v$author6 === void 0 ? void 0 : (_v$author6$name = _v$author6.name) === null || _v$author6$name === void 0 ? void 0 : _v$author6$name.length) > 6 ? (v === null || v === void 0 ? void 0 : (_v$author7 = v.author) === null || _v$author7 === void 0 ? void 0 : (_v$author7$name = _v$author7.name) === null || _v$author7$name === void 0 ? void 0 : _v$author7$name.substr(0, 5)) + '...' : v === null || v === void 0 ? void 0 : (_v$author8 = v.author) === null || _v$author8 === void 0 ? void 0 : _v$author8.name + }) })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { className: Problemsetmodules.actionLeftItem, diff --git a/p__Question__AddOrEdit__index.async.js b/p__Question__AddOrEdit__index.async.js index ca07ff5be7..0cf915122c 100644 --- a/p__Question__AddOrEdit__index.async.js +++ b/p__Question__AddOrEdit__index.async.js @@ -2068,7 +2068,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } diff --git a/p__Question__OjProblem__index.async.js b/p__Question__OjProblem__index.async.js index 6a442f3745..fbf177fe00 100644 --- a/p__Question__OjProblem__index.async.js +++ b/p__Question__OjProblem__index.async.js @@ -2609,7 +2609,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } diff --git a/p__Search__index.chunk.css b/p__Search__index.chunk.css index 95d20c126b..e3f80174ed 100644 --- a/p__Search__index.chunk.css +++ b/p__Search__index.chunk.css @@ -813,6 +813,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Search/index.less?modules ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Detail__Dataset__index.async.js b/p__Shixuns__Detail__Dataset__index.async.js index 64d4b8e1af..38146f6040 100644 --- a/p__Shixuns__Detail__Dataset__index.async.js +++ b/p__Shixuns__Detail__Dataset__index.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[86541,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[86541,36579,23805],{ /***/ 82982: /*!*****************************************!*\ diff --git a/p__Shixuns__Detail__ForkList__index.async.js b/p__Shixuns__Detail__ForkList__index.async.js index 2a2326ba6c..84a21ecfb2 100644 --- a/p__Shixuns__Detail__ForkList__index.async.js +++ b/p__Shixuns__Detail__ForkList__index.async.js @@ -546,6 +546,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__Shixuns__Detail__Merge__index.chunk.css b/p__Shixuns__Detail__Merge__index.chunk.css index 61aec531f3..d8d54da71a 100644 --- a/p__Shixuns__Detail__Merge__index.chunk.css +++ b/p__Shixuns__Detail__Merge__index.chunk.css @@ -560,6 +560,238 @@ textarea.ant-pagination-options-quick-jumper input { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Detail__id.async.js b/p__Shixuns__Detail__id.async.js index f5219a557a..03ca7e6542 100644 --- a/p__Shixuns__Detail__id.async.js +++ b/p__Shixuns__Detail__id.async.js @@ -54,13 +54,14 @@ var AsyncButton = function AsyncButton(_ref) { return props.onClick(e); case 4: setBtnLoading(false); - _context.next = 10; + _context.next = 11; break; case 7: _context.prev = 7; _context.t0 = _context["catch"](0); + console.error(_context.t0); setBtnLoading(false); - case 10: + case 11: case "end": return _context.stop(); } @@ -173,7 +174,7 @@ var showSendToButton = function showSendToButton() { }; ;// CONCATENATED MODULE: ./src/pages/Shixuns/Detail/components/Banner/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var Bannermodules = ({"flex_box_center":"flex_box_center___C7BpK","flex_space_between":"flex_space_between___y5tEt","flex_box_vertical_center":"flex_box_vertical_center___BzS9v","flex_box_center_end":"flex_box_center_end___BlZGt","flex_box_column":"flex_box_column___XFVq1","banner":"banner___x1zhX","wrp":"wrp___HroXY","action":"action___Q9oWd","titleWrap":"titleWrap___LbsjD","deleteBtnStatus":"deleteBtnStatus___QiOcU","title":"title___nwoJQ","btn":"btn___tsJce","actionBtns":"actionBtns___VEzTd","ratingTitle":"ratingTitle___sVN4G","fork":"fork___zCzx7","collect":"collect___JiCST","gold":"gold___f3DHn","handleOverflow":"handleOverflow___gVLUz","contentWrap":"contentWrap___IYvpn","contentLeftWrap":"contentLeftWrap___O88ow","user":"user___WJ43b","text":"text___Ip9I2","d1":"d1___iRJGr","d2":"d2___GxMoB","operationWrap":"operationWrap___OafFH","iconBtn":"iconBtn___SopdR","testBtn":"testBtn___FstX2","fullScreenLoading":"fullScreenLoading___QcDyh","customPopover":"customPopover___v_kEO","active":"active___B6kUu"}); +/* harmony default export */ var Bannermodules = ({"flex_box_center":"flex_box_center___C7BpK","flex_space_between":"flex_space_between___y5tEt","flex_box_vertical_center":"flex_box_vertical_center___BzS9v","flex_box_center_end":"flex_box_center_end___BlZGt","flex_box_column":"flex_box_column___XFVq1","banner":"banner___x1zhX","wrp":"wrp___HroXY","action":"action___Q9oWd","titleWrap":"titleWrap___LbsjD","deleteBtnStatus":"deleteBtnStatus___QiOcU","title":"title___nwoJQ","btn":"btn___tsJce","btn_type":"btn_type___pqyD9","actionBtns":"actionBtns___VEzTd","ratingTitle":"ratingTitle___sVN4G","fork":"fork___zCzx7","collect":"collect___JiCST","gold":"gold___f3DHn","handleOverflow":"handleOverflow___gVLUz","contentWrap":"contentWrap___IYvpn","contentLeftWrap":"contentLeftWrap___O88ow","user":"user___WJ43b","text":"text___Ip9I2","d1":"d1___iRJGr","d2":"d2___GxMoB","operationWrap":"operationWrap___OafFH","iconBtn":"iconBtn___SopdR","testBtn":"testBtn___FstX2","fullScreenLoading":"fullScreenLoading___QcDyh","customPopover":"customPopover___v_kEO","active":"active___B6kUu"}); // EXTERNAL MODULE: ./src/pages/Shixuns/Detail/components/Banner/components/AuthModal.tsx var AuthModal = __webpack_require__(54758); // EXTERNAL MODULE: ./node_modules/antd/es/pagination/style/index.js + 1 modules @@ -1112,7 +1113,7 @@ var Banner_excluded = ["shixunsDetail", "user", "globalSetting", "loading", "dis var Banner = function Banner(_ref) { - var _user$userInfo, _user$userInfo$shixun, _shixunsDetail$detail13, _shixunsDetail$detail19, _shixunsDetail$detail20, _shixunsDetail$detail21, _shixunsDetail$detail22, _shixunsDetail$detail23, _shixunsDetail$detail24, _shixunsDetail$detail25, _shixunsDetail$detail26, _shixunsDetail$detail27, _shixunsDetail$detail28, _shixunsDetail$detail29, _statustype, _shixunsDetail$detail30, _statustype2, _shixunsDetail$detail31, _statustype3, _shixunsDetail$detail32, _statustype4, _shixunsDetail$detail33, _shixunsDetail$detail34, _shixunsDetail$detail35, _shixunsDetail$detail36, _shixunsDetail$detail37, _shixunsDetail$detail38, _shixunsDetail$detail39, _shixunsDetail$detail40, _shixunsDetail$detail41, _user$userInfo2, _shixunsDetail$detail42, _shixunsDetail$detail43, _shixunsDetail$detail44, _shixunsDetail$detail45, _shixunsDetail$detail46, _shixunsDetail$detail49, _shixunsDetail$detail50, _shixunsDetail$detail51, _shixunsDetail$detail52, _shixunsDetail$rightD, _shixunsDetail$rightD2, _shixunsDetail$rightD3, _shixunsDetail$rightD4, _shixunsDetail$rightD5, _shixunsDetail$rightD6, _shixunsDetail$rightD7, _shixunsDetail$rightD8, _shixunsDetail$rightD9, _shixunsDetail$rightD10, _shixunsDetail$rightD11, _shixunsDetail$rightD12, _shixunsDetail$rightD13, _shixunsDetail$rightD14, _shixunsDetail$rightD15, _shixunsDetail$rightD16, _shixunsDetail$detail53, _shixunsDetail$detail54, _shixunsDetail$detail55, _shixunsDetail$detail56, _shixunsDetail$detail57, _shixunsDetail$detail58, _shixunsDetail$detail59, _shixunsDetail$detail60, _user$userInfo3, _shixunsDetail$detail61, _shixunsDetail$detail62, _shixunsDetail$detail63, _shixunsDetail$detail64, _shixunsDetail$detail65, _user$userInfo4, _shixunsDetail$detail66, _shixunsDetail$detail67, _shixunsDetail$detail68, _shixunsDetail$detail69, _shixunsDetail$detail70, _shixunsDetail$detail71, _shixunsDetail$detail72, _shixunsDetail$detail77, _shixunsDetail$detail78, _shixunsDetail$detail79, _shixunsDetail$detail80; + var _user$userInfo, _user$userInfo$shixun, _shixunsDetail$detail13, _shixunsDetail$detail19, _shixunsDetail$detail20, _shixunsDetail$detail21, _shixunsDetail$detail22, _shixunsDetail$detail23, _shixunsDetail$detail24, _shixunsDetail$detail25, _shixunsDetail$detail26, _shixunsDetail$detail27, _shixunsDetail$detail28, _shixunsDetail$detail29, _shixunsDetail$detail30, _shixunsDetail$detail31, _shixunsDetail$detail32, _shixunsDetail$detail33, _statustype, _shixunsDetail$detail34, _statustype2, _shixunsDetail$detail35, _statustype3, _shixunsDetail$detail36, _statustype4, _shixunsDetail$detail37, _shixunsDetail$detail38, _shixunsDetail$detail39, _shixunsDetail$detail40, _shixunsDetail$detail41, _shixunsDetail$detail42, _shixunsDetail$detail43, _shixunsDetail$detail44, _shixunsDetail$detail45, _user$userInfo2, _shixunsDetail$detail46, _shixunsDetail$detail47, _shixunsDetail$detail48, _shixunsDetail$detail49, _shixunsDetail$detail50, _shixunsDetail$detail53, _shixunsDetail$detail54, _shixunsDetail$detail55, _shixunsDetail$detail56, _shixunsDetail$rightD, _shixunsDetail$rightD2, _shixunsDetail$rightD3, _shixunsDetail$rightD4, _shixunsDetail$rightD5, _shixunsDetail$rightD6, _shixunsDetail$rightD7, _shixunsDetail$rightD8, _shixunsDetail$rightD9, _shixunsDetail$rightD10, _shixunsDetail$rightD11, _shixunsDetail$rightD12, _shixunsDetail$rightD13, _shixunsDetail$rightD14, _shixunsDetail$rightD15, _shixunsDetail$rightD16, _shixunsDetail$detail57, _shixunsDetail$detail58, _shixunsDetail$detail59, _shixunsDetail$detail60, _shixunsDetail$detail61, _shixunsDetail$detail62, _shixunsDetail$detail63, _shixunsDetail$detail64, _user$userInfo3, _shixunsDetail$detail65, _shixunsDetail$detail66, _shixunsDetail$detail67, _shixunsDetail$detail68, _shixunsDetail$detail69, _user$userInfo4, _shixunsDetail$detail70, _shixunsDetail$detail71, _shixunsDetail$detail72, _shixunsDetail$detail73, _shixunsDetail$detail74, _shixunsDetail$detail75, _shixunsDetail$detail76, _shixunsDetail$detail81, _shixunsDetail$detail82, _shixunsDetail$detail83, _shixunsDetail$detail84; var shixunsDetail = _ref.shixunsDetail, user = _ref.user, globalSetting = _ref.globalSetting, @@ -1779,18 +1780,27 @@ var Banner = function Banner(_ref) { backgroundColor: renderLevel() }, children: (_shixunsDetail$detail28 = shixunsDetail.detail) === null || _shixunsDetail$detail28 === void 0 ? void 0 : _shixunsDetail$detail28.diffcult - }), ((_shixunsDetail$detail29 = shixunsDetail.detail) === null || _shixunsDetail$detail29 === void 0 ? void 0 : _shixunsDetail$detail29.identity) < 5 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (_statustype = statustype[((_shixunsDetail$detail30 = shixunsDetail.detail) === null || _shixunsDetail$detail30 === void 0 ? void 0 : _shixunsDetail$detail30.shixun_tag_num) - 1]) === null || _statustype === void 0 ? void 0 : _statustype.connect, + }), (shixunsDetail === null || shixunsDetail === void 0 ? void 0 : (_shixunsDetail$detail29 = shixunsDetail.detail) === null || _shixunsDetail$detail29 === void 0 ? void 0 : (_shixunsDetail$detail30 = _shixunsDetail$detail29.shixun_marks) === null || _shixunsDetail$detail30 === void 0 ? void 0 : _shixunsDetail$detail30.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "".concat(shixunsDetail === null || shixunsDetail === void 0 ? void 0 : (_shixunsDetail$detail31 = shixunsDetail.detail) === null || _shixunsDetail$detail31 === void 0 ? void 0 : _shixunsDetail$detail31.shixun_marks), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Bannermodules.btn_type, + style: { + backgroundColor: '#43a2ff' + }, + children: shixunsDetail === null || shixunsDetail === void 0 ? void 0 : (_shixunsDetail$detail32 = shixunsDetail.detail) === null || _shixunsDetail$detail32 === void 0 ? void 0 : _shixunsDetail$detail32.shixun_marks + }) + }), ((_shixunsDetail$detail33 = shixunsDetail.detail) === null || _shixunsDetail$detail33 === void 0 ? void 0 : _shixunsDetail$detail33.identity) < 5 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: (_statustype = statustype[((_shixunsDetail$detail34 = shixunsDetail.detail) === null || _shixunsDetail$detail34 === void 0 ? void 0 : _shixunsDetail$detail34.shixun_tag_num) - 1]) === null || _statustype === void 0 ? void 0 : _statustype.connect, children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: Bannermodules.btn, style: { - backgroundColor: (_statustype2 = statustype[((_shixunsDetail$detail31 = shixunsDetail.detail) === null || _shixunsDetail$detail31 === void 0 ? void 0 : _shixunsDetail$detail31.shixun_tag_num) - 1]) === null || _statustype2 === void 0 ? void 0 : _statustype2.bkcolor, - color: (_statustype3 = statustype[((_shixunsDetail$detail32 = shixunsDetail.detail) === null || _shixunsDetail$detail32 === void 0 ? void 0 : _shixunsDetail$detail32.shixun_tag_num) - 1]) === null || _statustype3 === void 0 ? void 0 : _statustype3.txcolor + backgroundColor: (_statustype2 = statustype[((_shixunsDetail$detail35 = shixunsDetail.detail) === null || _shixunsDetail$detail35 === void 0 ? void 0 : _shixunsDetail$detail35.shixun_tag_num) - 1]) === null || _statustype2 === void 0 ? void 0 : _statustype2.bkcolor, + color: (_statustype3 = statustype[((_shixunsDetail$detail36 = shixunsDetail.detail) === null || _shixunsDetail$detail36 === void 0 ? void 0 : _shixunsDetail$detail36.shixun_tag_num) - 1]) === null || _statustype3 === void 0 ? void 0 : _statustype3.txcolor }, - children: (_statustype4 = statustype[((_shixunsDetail$detail33 = shixunsDetail.detail) === null || _shixunsDetail$detail33 === void 0 ? void 0 : _shixunsDetail$detail33.shixun_tag_num) - 1]) === null || _statustype4 === void 0 ? void 0 : _statustype4.name + children: (_statustype4 = statustype[((_shixunsDetail$detail37 = shixunsDetail.detail) === null || _shixunsDetail$detail37 === void 0 ? void 0 : _shixunsDetail$detail37.shixun_tag_num) - 1]) === null || _statustype4 === void 0 ? void 0 : _statustype4.name }) - }), (0,authority/* isSuperAdmins */.Ny)() && ((_shixunsDetail$detail34 = shixunsDetail.detail) === null || _shixunsDetail$detail34 === void 0 ? void 0 : _shixunsDetail$detail34.fork_from) && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - href: "/shixuns/".concat((_shixunsDetail$detail35 = shixunsDetail.detail) === null || _shixunsDetail$detail35 === void 0 ? void 0 : (_shixunsDetail$detail36 = _shixunsDetail$detail35.fork_from) === null || _shixunsDetail$detail36 === void 0 ? void 0 : _shixunsDetail$detail36.fork_identifier, "/challenges"), + }), (0,authority/* isSuperAdmins */.Ny)() && ((_shixunsDetail$detail38 = shixunsDetail.detail) === null || _shixunsDetail$detail38 === void 0 ? void 0 : _shixunsDetail$detail38.fork_from) && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "/shixuns/".concat((_shixunsDetail$detail39 = shixunsDetail.detail) === null || _shixunsDetail$detail39 === void 0 ? void 0 : (_shixunsDetail$detail40 = _shixunsDetail$detail39.fork_from) === null || _shixunsDetail$detail40 === void 0 ? void 0 : _shixunsDetail$detail40.fork_identifier, "/challenges"), target: "_blank", className: "iconfont icon-fork", style: { @@ -1801,7 +1811,7 @@ var Banner = function Banner(_ref) { content: renderContent(), children: /*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, { style: { - color: fontColor((_shixunsDetail$detail37 = shixunsDetail.detail) === null || _shixunsDetail$detail37 === void 0 ? void 0 : _shixunsDetail$detail37.mark_status) + color: fontColor((_shixunsDetail$detail41 = shixunsDetail.detail) === null || _shixunsDetail$detail41 === void 0 ? void 0 : _shixunsDetail$detail41.mark_status) }, className: "current font18 ml5 c-light-primary", rotate: 180 @@ -1819,9 +1829,9 @@ var Banner = function Banner(_ref) { })] }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: Bannermodules.handleOverflow, - children: shixunsDetail === null || shixunsDetail === void 0 ? void 0 : (_shixunsDetail$detail38 = shixunsDetail.detail) === null || _shixunsDetail$detail38 === void 0 ? void 0 : _shixunsDetail$detail38.gold + children: shixunsDetail === null || shixunsDetail === void 0 ? void 0 : (_shixunsDetail$detail42 = shixunsDetail.detail) === null || _shixunsDetail$detail42 === void 0 ? void 0 : _shixunsDetail$detail42.gold })] - }), !((_shixunsDetail$detail39 = shixunsDetail.detail) !== null && _shixunsDetail$detail39 !== void 0 && _shixunsDetail$detail39.is_jupyter) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + }), !((_shixunsDetail$detail43 = shixunsDetail.detail) !== null && _shixunsDetail$detail43 !== void 0 && _shixunsDetail$detail43.is_jupyter) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Bannermodules.gold, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { @@ -1831,12 +1841,12 @@ var Banner = function Banner(_ref) { })] }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: Bannermodules.handleOverflow, - children: (_shixunsDetail$detail40 = shixunsDetail.detail) === null || _shixunsDetail$detail40 === void 0 ? void 0 : _shixunsDetail$detail40.score_info + children: (_shixunsDetail$detail44 = shixunsDetail.detail) === null || _shixunsDetail$detail44 === void 0 ? void 0 : _shixunsDetail$detail44.score_info })] - }), (((_shixunsDetail$detail41 = shixunsDetail.detail) === null || _shixunsDetail$detail41 === void 0 ? void 0 : _shixunsDetail$detail41.identity) < 8 || ((_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.is_shixun_marker)) && ((_shixunsDetail$detail42 = shixunsDetail.detail) === null || _shixunsDetail$detail42 === void 0 ? void 0 : _shixunsDetail$detail42.shixun_status) !== -1 && ((_shixunsDetail$detail43 = shixunsDetail.detail) === null || _shixunsDetail$detail43 === void 0 ? void 0 : _shixunsDetail$detail43.shixun_status) !== 0 && ((_shixunsDetail$detail44 = shixunsDetail.detail) === null || _shixunsDetail$detail44 === void 0 ? void 0 : _shixunsDetail$detail44.can_copy) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + }), (((_shixunsDetail$detail45 = shixunsDetail.detail) === null || _shixunsDetail$detail45 === void 0 ? void 0 : _shixunsDetail$detail45.identity) < 8 || ((_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.is_shixun_marker)) && ((_shixunsDetail$detail46 = shixunsDetail.detail) === null || _shixunsDetail$detail46 === void 0 ? void 0 : _shixunsDetail$detail46.shixun_status) !== -1 && ((_shixunsDetail$detail47 = shixunsDetail.detail) === null || _shixunsDetail$detail47 === void 0 ? void 0 : _shixunsDetail$detail47.shixun_status) !== 0 && ((_shixunsDetail$detail48 = shixunsDetail.detail) === null || _shixunsDetail$detail48 === void 0 ? void 0 : _shixunsDetail$detail48.can_copy) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Bannermodules.fork, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - open: (_shixunsDetail$detail45 = shixunsDetail.detail) !== null && _shixunsDetail$detail45 !== void 0 && _shixunsDetail$detail45.is_jupyter ? false : isshow, + open: (_shixunsDetail$detail49 = shixunsDetail.detail) !== null && _shixunsDetail$detail49 !== void 0 && _shixunsDetail$detail49.is_jupyter ? false : isshow, title: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { color: '#000' @@ -1845,7 +1855,7 @@ var Banner = function Banner(_ref) { }), color: "#fff", children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: !(0,authority/* isCommonSuperAdminOrOperation */.ag)() && ((_shixunsDetail$detail46 = shixunsDetail.detail) === null || _shixunsDetail$detail46 === void 0 ? void 0 : _shixunsDetail$detail46.windows_vnc) && 'Windows镜像不支持复制', + title: !(0,authority/* isCommonSuperAdminOrOperation */.ag)() && ((_shixunsDetail$detail50 = shixunsDetail.detail) === null || _shixunsDetail$detail50 === void 0 ? void 0 : _shixunsDetail$detail50.windows_vnc) && 'Windows镜像不支持复制', children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { onClick: function onClick() { // if (shixunsDetail.detail?.need_authorize) { @@ -1861,10 +1871,10 @@ var Banner = function Banner(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { onClick: function onClick() { - var _shixunsDetail$detail47; - if ((_shixunsDetail$detail47 = shixunsDetail.detail) !== null && _shixunsDetail$detail47 !== void 0 && _shixunsDetail$detail47.is_jupyter) { - var _shixunsDetail$detail48; - if ((_shixunsDetail$detail48 = shixunsDetail.detail) !== null && _shixunsDetail$detail48 !== void 0 && _shixunsDetail$detail48.need_authorize) { + var _shixunsDetail$detail51; + if ((_shixunsDetail$detail51 = shixunsDetail.detail) !== null && _shixunsDetail$detail51 !== void 0 && _shixunsDetail$detail51.is_jupyter) { + var _shixunsDetail$detail52; + if ((_shixunsDetail$detail52 = shixunsDetail.detail) !== null && _shixunsDetail$detail52 !== void 0 && _shixunsDetail$detail52.need_authorize) { (0,verifyLogin/* AuthorizeModel */.rX)(false); return; } @@ -1877,7 +1887,7 @@ var Banner = function Banner(_ref) { } }, children: "\u590D\u5236" - }), !((_shixunsDetail$detail49 = shixunsDetail.detail) !== null && _shixunsDetail$detail49 !== void 0 && _shixunsDetail$detail49.is_jupyter) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + }), !((_shixunsDetail$detail53 = shixunsDetail.detail) !== null && _shixunsDetail$detail53 !== void 0 && _shixunsDetail$detail53.is_jupyter) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: "ml5 mr5", children: "/" @@ -1897,12 +1907,12 @@ var Banner = function Banner(_ref) { onClick: function onClick() { return _umi_production_exports.history.push("/shixuns/".concat(shixunId.current, "/fork_list")); }, - children: numFormat((_shixunsDetail$detail50 = shixunsDetail.detail) === null || _shixunsDetail$detail50 === void 0 ? void 0 : _shixunsDetail$detail50.fork_num) + children: numFormat((_shixunsDetail$detail54 = shixunsDetail.detail) === null || _shixunsDetail$detail54 === void 0 ? void 0 : _shixunsDetail$detail54.fork_num) })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Bannermodules.collect, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: (_shixunsDetail$detail51 = shixunsDetail.detail) !== null && _shixunsDetail$detail51 !== void 0 && _shixunsDetail$detail51.is_collect ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: (_shixunsDetail$detail55 = shixunsDetail.detail) !== null && _shixunsDetail$detail55 !== void 0 && _shixunsDetail$detail55.is_collect ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { onClick: handleCancelCollect, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { className: "iconfont icon-shoucangerji font13" @@ -1919,7 +1929,7 @@ var Banner = function Banner(_ref) { }) }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: Bannermodules.handleOverflow, - children: numFormat((_shixunsDetail$detail52 = shixunsDetail.detail) === null || _shixunsDetail$detail52 === void 0 ? void 0 : _shixunsDetail$detail52.collection_count) + children: numFormat((_shixunsDetail$detail56 = shixunsDetail.detail) === null || _shixunsDetail$detail56 === void 0 ? void 0 : _shixunsDetail$detail56.collection_count) })] })] })] @@ -1956,20 +1966,20 @@ var Banner = function Banner(_ref) { })] })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [!!((_shixunsDetail$detail53 = shixunsDetail.detail) !== null && _shixunsDetail$detail53 !== void 0 && _shixunsDetail$detail53.total_stu_num) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [!!((_shixunsDetail$detail57 = shixunsDetail.detail) !== null && _shixunsDetail$detail57 !== void 0 && _shixunsDetail$detail57.total_stu_num) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Bannermodules.ratingTitle, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: "\u5B66\u4E60\u4EBA\u6B21\xA0" }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [(_shixunsDetail$detail54 = shixunsDetail.detail) === null || _shixunsDetail$detail54 === void 0 ? void 0 : _shixunsDetail$detail54.total_stu_num, /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [(_shixunsDetail$detail58 = shixunsDetail.detail) === null || _shixunsDetail$detail58 === void 0 ? void 0 : _shixunsDetail$detail58.total_stu_num, /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: "font12", - children: [!!((_shixunsDetail$detail55 = shixunsDetail.detail) !== null && _shixunsDetail$detail55 !== void 0 && _shixunsDetail$detail55.stu_num) ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: ["\uFF08\u81EA\u4E3B\u5B66\u4E60\uFF1A", (_shixunsDetail$detail56 = shixunsDetail.detail) === null || _shixunsDetail$detail56 === void 0 ? void 0 : _shixunsDetail$detail56.stu_num] - }) : '(', !!((_shixunsDetail$detail57 = shixunsDetail.detail) !== null && _shixunsDetail$detail57 !== void 0 && _shixunsDetail$detail57.spoc_stu_num) ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [!!((_shixunsDetail$detail59 = shixunsDetail.detail) !== null && _shixunsDetail$detail59 !== void 0 && _shixunsDetail$detail59.stu_num) ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\uFF08\u81EA\u4E3B\u5B66\u4E60\uFF1A", (_shixunsDetail$detail60 = shixunsDetail.detail) === null || _shixunsDetail$detail60 === void 0 ? void 0 : _shixunsDetail$detail60.stu_num] + }) : '(', !!((_shixunsDetail$detail61 = shixunsDetail.detail) !== null && _shixunsDetail$detail61 !== void 0 && _shixunsDetail$detail61.spoc_stu_num) ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { style: { marginLeft: 5 }, - children: ["SPOC\u5B66\u4E60\uFF1A", (_shixunsDetail$detail58 = shixunsDetail.detail) === null || _shixunsDetail$detail58 === void 0 ? void 0 : _shixunsDetail$detail58.spoc_stu_num, "\uFF09"] + children: ["SPOC\u5B66\u4E60\uFF1A", (_shixunsDetail$detail62 = shixunsDetail.detail) === null || _shixunsDetail$detail62 === void 0 ? void 0 : _shixunsDetail$detail62.spoc_stu_num, "\uFF09"] }) : ')'] })] })] @@ -1978,7 +1988,7 @@ var Banner = function Banner(_ref) { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { children: "\u8BBF\u95EE\u6B21\u6570\xA0" }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: (_shixunsDetail$detail59 = shixunsDetail.detail) === null || _shixunsDetail$detail59 === void 0 ? void 0 : _shixunsDetail$detail59.total_visits + children: (_shixunsDetail$detail63 = shixunsDetail.detail) === null || _shixunsDetail$detail63 === void 0 ? void 0 : _shixunsDetail$detail63.total_visits })] })] })] @@ -1987,7 +1997,7 @@ var Banner = function Banner(_ref) { children: [ // !shixunsDetail.detail?.is_jupyter && // !shixunsDetail.detail?.is_jupyter_lab && - showSendToButton((_shixunsDetail$detail60 = shixunsDetail.detail) === null || _shixunsDetail$detail60 === void 0 ? void 0 : _shixunsDetail$detail60.shixun_status) && ((_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.user_identity) !== '学生' && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + showSendToButton((_shixunsDetail$detail64 = shixunsDetail.detail) === null || _shixunsDetail$detail64 === void 0 ? void 0 : _shixunsDetail$detail64.shixun_status) && ((_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.user_identity) !== '学生' && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { placement: "bottom", title: "\u4EE5\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u5F62\u5F0F\u53D1\u9001\u5230\u6211\u7684\u8BFE\u5802", children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -1999,7 +2009,7 @@ var Banner = function Banner(_ref) { children: "\u53D1\u9001\u81F3" })] }) - }), ((_shixunsDetail$detail61 = shixunsDetail.detail) === null || _shixunsDetail$detail61 === void 0 ? void 0 : _shixunsDetail$detail61.shixun_status) === 2 && ((_shixunsDetail$detail62 = shixunsDetail.detail) === null || _shixunsDetail$detail62 === void 0 ? void 0 : _shixunsDetail$detail62["public"]) === 0 && editable && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + }), ((_shixunsDetail$detail65 = shixunsDetail.detail) === null || _shixunsDetail$detail65 === void 0 ? void 0 : _shixunsDetail$detail65.shixun_status) === 2 && ((_shixunsDetail$detail66 = shixunsDetail.detail) === null || _shixunsDetail$detail66 === void 0 ? void 0 : _shixunsDetail$detail66["public"]) === 0 && editable && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { placement: "bottom", title: "\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60", children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -2011,7 +2021,7 @@ var Banner = function Banner(_ref) { children: "\u64A4\u9500\u53D1\u5E03" })] }) - }), ((_shixunsDetail$detail63 = shixunsDetail.detail) === null || _shixunsDetail$detail63 === void 0 ? void 0 : _shixunsDetail$detail63.shixun_status) === 0 && editable && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + }), ((_shixunsDetail$detail67 = shixunsDetail.detail) === null || _shixunsDetail$detail67 === void 0 ? void 0 : _shixunsDetail$detail67.shixun_status) === 0 && editable && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { placement: "bottom", title: "\u53D1\u5E03\u540E\uFF0C\u53EF\u4EE5\u4F7F\u7528\u5230\u81EA\u5DF1\u7684\u8BFE\u5802\u548C\u8BFE\u7A0B", children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -2023,7 +2033,7 @@ var Banner = function Banner(_ref) { children: "\u53D1\u5E03" })] }) - }), ((_shixunsDetail$detail64 = shixunsDetail.detail) === null || _shixunsDetail$detail64 === void 0 ? void 0 : _shixunsDetail$detail64.shixun_status) === 2 && ((_shixunsDetail$detail65 = shixunsDetail.detail) === null || _shixunsDetail$detail65 === void 0 ? void 0 : _shixunsDetail$detail65["public"]) === 1 && editable && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + }), ((_shixunsDetail$detail68 = shixunsDetail.detail) === null || _shixunsDetail$detail68 === void 0 ? void 0 : _shixunsDetail$detail68.shixun_status) === 2 && ((_shixunsDetail$detail69 = shixunsDetail.detail) === null || _shixunsDetail$detail69 === void 0 ? void 0 : _shixunsDetail$detail69["public"]) === 1 && editable && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { placement: "bottom", title: "\u64A4\u9500\u540E\uFF0C\u4EC5\u53EF\u4EE5\u4F7F\u7528\u5230\u81EA\u5DF1\u7684\u8BFE\u5802\u548C\u8BFE\u7A0B", children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -2037,7 +2047,7 @@ var Banner = function Banner(_ref) { children: "\u64A4\u9500\u7533\u8BF7\u516C\u5F00" })] }) - }), ((_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.admin) && ((_shixunsDetail$detail66 = shixunsDetail.detail) === null || _shixunsDetail$detail66 === void 0 ? void 0 : _shixunsDetail$detail66["public"]) === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + }), ((_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.admin) && ((_shixunsDetail$detail70 = shixunsDetail.detail) === null || _shixunsDetail$detail70 === void 0 ? void 0 : _shixunsDetail$detail70["public"]) === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { placement: "bottom", title: "\u64A4\u9500\u540E\uFF0C\u4EC5\u53EF\u4EE5\u4F7F\u7528\u5230\u81EA\u5DF1\u7684\u8BFE\u5802\u548C\u8BFE\u7A0B", children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -2051,7 +2061,7 @@ var Banner = function Banner(_ref) { children: "\u64A4\u9500\u516C\u5F00" })] }) - }), ((_shixunsDetail$detail67 = shixunsDetail.detail) === null || _shixunsDetail$detail67 === void 0 ? void 0 : _shixunsDetail$detail67.shixun_status) === 2 && ((_shixunsDetail$detail68 = shixunsDetail.detail) === null || _shixunsDetail$detail68 === void 0 ? void 0 : _shixunsDetail$detail68["public"]) === 0 && editable && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + }), ((_shixunsDetail$detail71 = shixunsDetail.detail) === null || _shixunsDetail$detail71 === void 0 ? void 0 : _shixunsDetail$detail71.shixun_status) === 2 && ((_shixunsDetail$detail72 = shixunsDetail.detail) === null || _shixunsDetail$detail72 === void 0 ? void 0 : _shixunsDetail$detail72["public"]) === 0 && editable && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { placement: "bottom", title: "\u5BA1\u6838\u901A\u8FC7\u540E\uFF0C\u5E73\u53F0\u7528\u6237\u53EF\u4EE5\u67E5\u770B\u5B9E\u8BAD", children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -2063,17 +2073,17 @@ var Banner = function Banner(_ref) { children: "\u7533\u8BF7\u516C\u5F00" })] }) - }), ((_shixunsDetail$detail69 = shixunsDetail.detail) === null || _shixunsDetail$detail69 === void 0 ? void 0 : _shixunsDetail$detail69.shixun_status) !== -1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + }), ((_shixunsDetail$detail73 = shixunsDetail.detail) === null || _shixunsDetail$detail73 === void 0 ? void 0 : _shixunsDetail$detail73.shixun_status) !== -1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { placement: "bottom", - title: (_shixunsDetail$detail70 = shixunsDetail.detail) !== null && _shixunsDetail$detail70 !== void 0 && _shixunsDetail$detail70.need_authorize ? '需授权' : formatOperationToText((_shixunsDetail$detail71 = shixunsDetail.detail) === null || _shixunsDetail$detail71 === void 0 ? void 0 : (_shixunsDetail$detail72 = _shixunsDetail$detail71.task_operation) === null || _shixunsDetail$detail72 === void 0 ? void 0 : _shixunsDetail$detail72[0]), + title: (_shixunsDetail$detail74 = shixunsDetail.detail) !== null && _shixunsDetail$detail74 !== void 0 && _shixunsDetail$detail74.need_authorize ? '需授权' : formatOperationToText((_shixunsDetail$detail75 = shixunsDetail.detail) === null || _shixunsDetail$detail75 === void 0 ? void 0 : (_shixunsDetail$detail76 = _shixunsDetail$detail75.task_operation) === null || _shixunsDetail$detail76 === void 0 ? void 0 : _shixunsDetail$detail76[0]), children: /*#__PURE__*/(0,jsx_runtime.jsxs)(AsyncButton/* AsyncButton */.Z, { onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() { - var _shixunsDetail$detail73, _shixunsDetail$detail74, _shixunsDetail$detail75, _shixunsDetail$detail76; + var _shixunsDetail$detail77, _shixunsDetail$detail78, _shixunsDetail$detail79, _shixunsDetail$detail80; var hasProgressShixun; return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: - if (!((_shixunsDetail$detail73 = shixunsDetail.detail) !== null && _shixunsDetail$detail73 !== void 0 && _shixunsDetail$detail73.need_authorize)) { + if (!((_shixunsDetail$detail77 = shixunsDetail.detail) !== null && _shixunsDetail$detail77 !== void 0 && _shixunsDetail$detail77.need_authorize)) { _context7.next = 4; break; } @@ -2083,9 +2093,9 @@ var Banner = function Banner(_ref) { case 4: (0,util/* trackEvent */.L9)(['实践项目', '详情页', '开启挑战']); _context7.next = 7; - return (0,shixunExec/* checkShixunInClassroom */._)("".concat((_shixunsDetail$detail74 = shixunsDetail.detail) === null || _shixunsDetail$detail74 === void 0 ? void 0 : _shixunsDetail$detail74.id), { - is_jupyter: (_shixunsDetail$detail75 = shixunsDetail.detail) === null || _shixunsDetail$detail75 === void 0 ? void 0 : _shixunsDetail$detail75.is_jupyter, - is_jupyter_lab: (_shixunsDetail$detail76 = shixunsDetail.detail) === null || _shixunsDetail$detail76 === void 0 ? void 0 : _shixunsDetail$detail76.is_jupyter_lab + return (0,shixunExec/* checkShixunInClassroom */._)("".concat((_shixunsDetail$detail78 = shixunsDetail.detail) === null || _shixunsDetail$detail78 === void 0 ? void 0 : _shixunsDetail$detail78.id), { + is_jupyter: (_shixunsDetail$detail79 = shixunsDetail.detail) === null || _shixunsDetail$detail79 === void 0 ? void 0 : _shixunsDetail$detail79.is_jupyter, + is_jupyter_lab: (_shixunsDetail$detail80 = shixunsDetail.detail) === null || _shixunsDetail$detail80 === void 0 ? void 0 : _shixunsDetail$detail80.is_jupyter_lab }); case 7: hasProgressShixun = _context7.sent; @@ -2102,7 +2112,7 @@ var Banner = function Banner(_ref) { type: "primary", children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { className: "iconfont icon-jixutiaozhan mr10 font14" - }), (_shixunsDetail$detail77 = shixunsDetail.detail) !== null && _shixunsDetail$detail77 !== void 0 && _shixunsDetail$detail77.need_authorize ? '需授权' : ((_shixunsDetail$detail78 = shixunsDetail.detail) === null || _shixunsDetail$detail78 === void 0 ? void 0 : _shixunsDetail$detail78.shixun_status) > 1 ? (_shixunsDetail$detail79 = shixunsDetail.detail) === null || _shixunsDetail$detail79 === void 0 ? void 0 : (_shixunsDetail$detail80 = _shixunsDetail$detail79.task_operation) === null || _shixunsDetail$detail80 === void 0 ? void 0 : _shixunsDetail$detail80[0] : '模拟实战'] + }), (_shixunsDetail$detail81 = shixunsDetail.detail) !== null && _shixunsDetail$detail81 !== void 0 && _shixunsDetail$detail81.need_authorize ? '需授权' : ((_shixunsDetail$detail82 = shixunsDetail.detail) === null || _shixunsDetail$detail82 === void 0 ? void 0 : _shixunsDetail$detail82.shixun_status) > 1 ? (_shixunsDetail$detail83 = shixunsDetail.detail) === null || _shixunsDetail$detail83 === void 0 ? void 0 : (_shixunsDetail$detail84 = _shixunsDetail$detail83.task_operation) === null || _shixunsDetail$detail84 === void 0 ? void 0 : _shixunsDetail$detail84[0] : '模拟实战'] }) })] })] @@ -2172,8 +2182,8 @@ var Banner = function Banner(_ref) { loading: isLoading, onClick: function onClick() { if (isredio == 1) { - var _shixunsDetail$detail81; - if ((_shixunsDetail$detail81 = shixunsDetail.detail) !== null && _shixunsDetail$detail81 !== void 0 && _shixunsDetail$detail81.need_authorize) { + var _shixunsDetail$detail85; + if ((_shixunsDetail$detail85 = shixunsDetail.detail) !== null && _shixunsDetail$detail85 !== void 0 && _shixunsDetail$detail85.need_authorize) { (0,verifyLogin/* AuthorizeModel */.rX)(false); return; } @@ -2205,7 +2215,7 @@ var Banner = function Banner(_ref) { setispublicmodal(false); }, onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() { - var _shixunsDetail$detail82; + var _shixunsDetail$detail86; return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { while (1) switch (_context8.prev = _context8.next) { case 0: @@ -2219,7 +2229,7 @@ var Banner = function Banner(_ref) { discipline_name: discipline_name, sub_discipline_name: sub_discipline_name, sub_discipline_id: sub_discipline_id, - type: (_shixunsDetail$detail82 = shixunsDetail.detail) === null || _shixunsDetail$detail82 === void 0 ? void 0 : _shixunsDetail$detail82.has_sub_discipline + type: (_shixunsDetail$detail86 = shixunsDetail.detail) === null || _shixunsDetail$detail86 === void 0 ? void 0 : _shixunsDetail$detail86.has_sub_discipline } } }); diff --git a/p__Shixuns__Detail__id.chunk.css b/p__Shixuns__Detail__id.chunk.css index 0d8fcdef15..8ca1ea9a00 100644 --- a/p__Shixuns__Detail__id.chunk.css +++ b/p__Shixuns__Detail__id.chunk.css @@ -1120,6 +1120,21 @@ span.ant-radio + * { margin: 0 10px; white-space: nowrap; } +.banner___x1zhX .wrp___HroXY .action___Q9oWd .titleWrap___LbsjD .btn_type___pqyD9 { + text-align: center; + height: 24px; + line-height: 24px; + background: #43a2ff; + border-radius: 4px; + font-size: 12px; + padding: 0 13px; + color: #ffffff; + margin: 0 10px; + max-width: 70px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} .banner___x1zhX .wrp___HroXY .action___Q9oWd .actionBtns___VEzTd { display: flex; justify-content: flex-end; diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.async.js b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.async.js index 9816be8092..ef434aedc3 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.async.js +++ b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.async.js @@ -805,6 +805,303 @@ var formatCodemirrorValue = function formatCodemirrorValue(value) { /***/ }), +/***/ 32808: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 2 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/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/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 +var es = __webpack_require__(50132); +// 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/form/context.js +var context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js +var omit = __webpack_require__(98423); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + + + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +var GroupContext = /*#__PURE__*/react.createContext(null); +var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { + var defaultValue = _a.defaultValue, + children = _a.children, + _a$options = _a.options, + options = _a$options === void 0 ? [] : _a$options, + customizePrefixCls = _a.prefixCls, + className = _a.className, + style = _a.style, + onChange = _a.onChange, + restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var _React$useState = react.useState(restProps.value || defaultValue || []), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + var _React$useState3 = react.useState([]), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + registeredValues = _React$useState4[0], + setRegisteredValues = _React$useState4[1]; + react.useEffect(function () { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + var getOptions = function getOptions() { + return options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }); + }; + var cancelValue = function cancelValue(val) { + setRegisteredValues(function (prevValues) { + return prevValues.filter(function (v) { + return v !== val; + }); + }); + }; + var registerValue = function registerValue(val) { + setRegisteredValues(function (prevValues) { + return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); + }); + }; + var toggleOption = function toggleOption(option) { + var optionIndex = value.indexOf(option.value); + var newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + var opts = getOptions(); + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { + return registeredValues.includes(val); + }).sort(function (a, b) { + var indexA = opts.findIndex(function (opt) { + return opt.value === a; + }); + var indexB = opts.findIndex(function (opt) { + return opt.value === b; + }); + return indexA - indexB; + })); + }; + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + if (options && options.length > 0) { + children = getOptions().map(function (option) { + return /*#__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: "".concat(groupPrefixCls, "-item"), + style: option.style + }, option.label); + }); + } + // eslint-disable-next-line react/jsx-no-constructed-context-values + var context = { + toggleOption: toggleOption, + value: value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue: registerValue, + cancelValue: cancelValue + }; + var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(GroupContext.Provider, { + value: context + }, children)); +}; +var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js + + +var Checkbox_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +var InternalCheckbox = function InternalCheckbox(_a, ref) { + var _classNames; + var _b; + var customizePrefixCls = _a.prefixCls, + className = _a.className, + children = _a.children, + _a$indeterminate = _a.indeterminate, + indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, + style = _a.style, + onMouseEnter = _a.onMouseEnter, + onMouseLeave = _a.onMouseLeave, + _a$skipGroup = _a.skipGroup, + skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, + disabled = _a.disabled, + restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var checkboxGroup = react.useContext(GroupContext); + var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); + var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; + var prevValue = react.useRef(restProps.value); + react.useEffect(function () { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(function () { + 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 function () { + return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }; + }, [restProps.value]); + var prefixCls = getPrefixCls('checkbox', customizePrefixCls); + var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); + } + var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); + var ariaChecked = indeterminate ? 'mixed' : undefined; + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) + ); +}; +var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js + + +var es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 82000: +/*!******************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js + + +// deps-lint-skip: form + +/***/ }), + /***/ 34041: /*!**********************************************!*\ !*** ./node_modules/antd/es/select/index.js ***! diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.chunk.css b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.chunk.css index 48b5638025..888b0e761c 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.chunk.css +++ b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeAnswer/index.less?modules ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.async.js b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.async.js index b4e6dac879..dffbca4405 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.async.js +++ b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[49205],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[49205,61437],{ /***/ 36845: /*!**********************************************************!*\ diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.chunk.css b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.chunk.css index 8417b9f1f7..b4df2ec4d8 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.chunk.css +++ b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.chunk.css @@ -333,6 +333,238 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/form/style/index.less ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.chunk.css b/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.chunk.css index f96e1ce96b..40998f3061 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.chunk.css +++ b/p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.chunk.css @@ -220,6 +220,238 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/tag/style/index.less ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.chunk.css b/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.chunk.css index d412bb53c8..64b5c55263 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.chunk.css +++ b/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.less?modules ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index.async.js b/p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index.async.js index 4e6df63de3..14933e12b9 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index.async.js +++ b/p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index.async.js @@ -1,19 +1,6 @@ "use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([[57614],{ -/***/ 509: -/*!*********************************************************************!*\ - !*** ./node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js ***! - \*********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__) { - -// This icon file is generated automatically. -var SearchOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" }; -/* harmony default export */ __webpack_exports__["Z"] = (SearchOutlined); - - -/***/ }), - /***/ 36845: /*!**********************************************************!*\ !*** ./src/components/FixedButton/index.tsx + 1 modules ***! @@ -710,531 +697,6 @@ var Loading = function Loading(_ref) { }; /* harmony default export */ var components_Loading = (Loading); -/***/ }), - -/***/ 5467: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } -/* harmony export */ }); -function getDataOrAriaProps(props) { - return Object.keys(props).reduce(function (prev, key) { - if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { - prev[key] = props[key]; - } - return prev; - }, {}); -} - -/***/ }), - -/***/ 29924: -/*!*********************************************************!*\ - !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "ZP": function() { return /* binding */ es_radio; } -}); - -// UNUSED EXPORTS: Button, Group - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(21770); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js -var getDataOrAriaProps = __webpack_require__(5467); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js - -var RadioGroupContext = /*#__PURE__*/react.createContext(null); -var RadioGroupContextProvider = RadioGroupContext.Provider; -/* harmony default export */ var radio_context = (RadioGroupContext); -var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); -var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; -// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js -var es = __webpack_require__(50132); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js -var DisabledContext = __webpack_require__(98866); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -var InternalRadio = function InternalRadio(props, ref) { - var _classNames; - var groupContext = react.useContext(radio_context); - var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var innerRef = react.useRef(); - var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); - var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), - isFormItemInput = _useContext.isFormItemInput; - false ? 0 : void 0; - var onChange = function onChange(e) { - var _a, _b; - (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); - (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); - }; - var customizePrefixCls = props.prefixCls, - className = props.className, - children = props.children, - style = props.style, - customDisabled = props.disabled, - restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); - var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); - var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; - var radioProps = (0,esm_extends/* default */.Z)({}, restProps); - // ===================== Disabled ===================== - var disabled = react.useContext(DisabledContext/* default */.Z); - radioProps.disabled = customDisabled || disabled; - if (groupContext) { - radioProps.name = groupContext.name; - radioProps.onChange = onChange; - radioProps.checked = props.value === groupContext.value; - radioProps.disabled = radioProps.disabled || groupContext.disabled; - } - var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); - return ( - /*#__PURE__*/ - // eslint-disable-next-line jsx-a11y/label-has-associated-control - react.createElement("label", { - className: wrapperClassString, - style: style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave - }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { - type: "radio", - prefixCls: prefixCls, - ref: mergedRef - })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) - ); -}; -var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); -if (false) {} -/* harmony default export */ var radio_radio = (Radio); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js - - - - - - - - - - - -var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { - var _classNames; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var size = react.useContext(SizeContext/* default */.Z); - var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { - value: props.value - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - value = _useMergedState2[0], - setValue = _useMergedState2[1]; - var onRadioChange = function onRadioChange(ev) { - var lastValue = value; - var val = ev.target.value; - if (!('value' in props)) { - setValue(val); - } - var onChange = props.onChange; - if (onChange && val !== lastValue) { - onChange(ev); - } - }; - var customizePrefixCls = props.prefixCls, - _props$className = props.className, - className = _props$className === void 0 ? '' : _props$className, - options = props.options, - _props$buttonStyle = props.buttonStyle, - buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, - disabled = props.disabled, - children = props.children, - customizeSize = props.size, - style = props.style, - id = props.id, - onMouseEnter = props.onMouseEnter, - onMouseLeave = props.onMouseLeave, - onFocus = props.onFocus, - onBlur = props.onBlur; - var prefixCls = getPrefixCls('radio', customizePrefixCls); - var groupPrefixCls = "".concat(prefixCls, "-group"); - var childrenToRender = children; - // 如果存在 options, 优先使用 - if (options && options.length > 0) { - childrenToRender = options.map(function (option) { - if (typeof option === 'string' || typeof option === 'number') { - // 此处类型自动推导为 string - return /*#__PURE__*/react.createElement(radio_radio, { - key: option.toString(), - prefixCls: prefixCls, - disabled: disabled, - value: option, - checked: value === option - }, option); - } - // 此处类型自动推导为 { label: string value: string } - return /*#__PURE__*/react.createElement(radio_radio, { - key: "radio-group-value-options-".concat(option.value), - prefixCls: prefixCls, - disabled: option.disabled || disabled, - value: option.value, - checked: value === option.value, - style: option.style - }, option.label); - }); - } - var mergedSize = customizeSize || size; - var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { - className: classString, - style: style, - onMouseEnter: onMouseEnter, - onMouseLeave: onMouseLeave, - onFocus: onFocus, - onBlur: onBlur, - id: id, - ref: ref - }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { - value: { - onChange: onRadioChange, - value: value, - disabled: props.disabled, - name: props.name, - optionType: props.optionType - } - }, childrenToRender)); -}); -/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js - -var radioButton_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - -var RadioButton = function RadioButton(props, ref) { - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls; - var customizePrefixCls = props.prefixCls, - radioProps = radioButton_rest(props, ["prefixCls"]); - var prefixCls = getPrefixCls('radio', customizePrefixCls); - return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { - value: "button" - }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ - prefixCls: prefixCls - }, radioProps, { - type: "radio", - ref: ref - }))); -}; -/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js - - - - -var radio_Radio = radio_radio; -radio_Radio.Button = radioButton; -radio_Radio.Group = group; -radio_Radio.__ANT_RADIO = true; -/* harmony default export */ var es_radio = (radio_Radio); - -/***/ }), - -/***/ 83822: -/*!***************************************************************!*\ - !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js - - -// deps-lint-skip: form - -/***/ }), - -/***/ 94594: -/*!**********************************************************!*\ - !*** ./node_modules/antd/es/switch/index.js + 1 modules ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ es_switch; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js -var LoadingOutlined = __webpack_require__(19267); -// 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/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/react/index.js -var react = __webpack_require__(67294); -// 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); -;// CONCATENATED MODULE: ./node_modules/rc-switch/es/index.js - - - - - - - -var Switch = react.forwardRef(function (_ref, ref) { - var _classNames; - - var _ref$prefixCls = _ref.prefixCls, - prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls, - className = _ref.className, - checked = _ref.checked, - defaultChecked = _ref.defaultChecked, - disabled = _ref.disabled, - loadingIcon = _ref.loadingIcon, - checkedChildren = _ref.checkedChildren, - unCheckedChildren = _ref.unCheckedChildren, - onClick = _ref.onClick, - onChange = _ref.onChange, - onKeyDown = _ref.onKeyDown, - restProps = (0,objectWithoutProperties/* default */.Z)(_ref, ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"]); - - var _useMergedState = (0,useMergedState/* default */.Z)(false, { - value: checked, - defaultValue: defaultChecked - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - innerChecked = _useMergedState2[0], - setInnerChecked = _useMergedState2[1]; - - function triggerChange(newChecked, event) { - var mergedChecked = innerChecked; - - if (!disabled) { - mergedChecked = newChecked; - setInnerChecked(mergedChecked); - onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event); - } - - return mergedChecked; - } - - function onInternalKeyDown(e) { - if (e.which === KeyCode/* default.LEFT */.Z.LEFT) { - triggerChange(false, e); - } else if (e.which === KeyCode/* default.RIGHT */.Z.RIGHT) { - triggerChange(true, e); - } - - onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e); - } - - function onInternalClick(e) { - var ret = triggerChange(!innerChecked, e); // [Legacy] trigger onClick with value - - onClick === null || onClick === void 0 ? void 0 : onClick(ret, e); - } - - var switchClassName = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), innerChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); - return react.createElement("button", Object.assign({}, restProps, { - type: "button", - role: "switch", - "aria-checked": innerChecked, - disabled: disabled, - className: switchClassName, - ref: ref, - onKeyDown: onInternalKeyDown, - onClick: onInternalClick - }), loadingIcon, react.createElement("span", { - className: "".concat(prefixCls, "-inner") - }, innerChecked ? checkedChildren : unCheckedChildren)); -}); -Switch.displayName = 'Switch'; -/* harmony default export */ var es = (Switch); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var 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/config-provider/SizeContext.js -var SizeContext = __webpack_require__(97647); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/wave.js + 1 modules -var wave = __webpack_require__(68349); -;// CONCATENATED MODULE: ./node_modules/antd/es/switch/index.js - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - -var switch_Switch = /*#__PURE__*/react.forwardRef(function (_a, ref) { - var _classNames; - var customizePrefixCls = _a.prefixCls, - customizeSize = _a.size, - customDisabled = _a.disabled, - loading = _a.loading, - _a$className = _a.className, - className = _a$className === void 0 ? '' : _a$className, - props = __rest(_a, ["prefixCls", "size", "disabled", "loading", "className"]); - false ? 0 : void 0; - var _React$useContext = react.useContext(context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var size = react.useContext(SizeContext/* default */.Z); - // ===================== Disabled ===================== - var disabled = react.useContext(DisabledContext/* default */.Z); - var mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading; - var prefixCls = getPrefixCls('switch', customizePrefixCls); - var loadingIcon = /*#__PURE__*/react.createElement("div", { - className: "".concat(prefixCls, "-handle") - }, loading && /*#__PURE__*/react.createElement(LoadingOutlined/* default */.Z, { - className: "".concat(prefixCls, "-loading-icon") - })); - var classes = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-small"), (customizeSize || size) === 'small'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-loading"), loading), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); - return /*#__PURE__*/react.createElement(wave/* default */.Z, { - insertExtraNode: true - }, /*#__PURE__*/react.createElement(es, (0,esm_extends/* default */.Z)({}, props, { - prefixCls: prefixCls, - className: classes, - disabled: mergedDisabled, - ref: ref, - loadingIcon: loadingIcon - }))); -}); -switch_Switch.__ANT_SWITCH = true; -if (false) {} -/* harmony default export */ var es_switch = (switch_Switch); - -/***/ }), - -/***/ 5812: -/*!****************************************************************!*\ - !*** ./node_modules/antd/es/switch/style/index.js + 1 modules ***! - \****************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/switch/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/switch/style/index.js - - - -/***/ }), - -/***/ 25783: -/*!*************************************************************************************!*\ - !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js ***! - \*************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _ant_design_icons_svg_es_asn_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/SearchOutlined */ 509); -/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 93771); - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - -var SearchOutlined = function SearchOutlined(props, ref) { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, { - ref: ref, - icon: _ant_design_icons_svg_es_asn_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z - })); -}; -SearchOutlined.displayName = 'SearchOutlined'; -/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(SearchOutlined)); - /***/ }) }]); \ No newline at end of file diff --git a/p__Shixuns__Edit__index.async.js b/p__Shixuns__Edit__index.async.js index b1775ea662..16b13fb15c 100644 --- a/p__Shixuns__Edit__index.async.js +++ b/p__Shixuns__Edit__index.async.js @@ -2533,7 +2533,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -9905,7 +9905,7 @@ var resetmodules = __webpack_require__(39132); var Option = es_select/* default.Option */.Z.Option; var MAX_COUNT = 3; var Environment = function Environment(_ref) { - var _template$find, _cloudList$find, _mirror_repository$ch, _mirror_repository$sh2, _mirror_repository$sh3, _mirror_repository$sh4, _mirror_repository$sh5; + var _cloudList$find, _mirror_repository$ch, _mirror_repository$sh2, _mirror_repository$sh3, _mirror_repository$sh4, _mirror_repository$sh5; var practiceSetting = _ref.practiceSetting, dispatch = _ref.dispatch, shixunsDetail = _ref.shixunsDetail, @@ -9939,7 +9939,9 @@ var Environment = function Environment(_ref) { _data$mirror_reposito = data.mirror_repository, mirror_repository = _data$mirror_reposito === void 0 ? {} : _data$mirror_reposito, _data$small_type = data.small_type, - small_type = _data$small_type === void 0 ? [] : _data$small_type; + small_type = _data$small_type === void 0 ? [] : _data$small_type, + _data$new_service_con = data.new_service_configs, + new_service_configs = _data$new_service_con === void 0 ? [] : _data$new_service_con; var _useState11 = (0,react.useState)(''), _useState12 = slicedToArray_default()(_useState11, 2), error = _useState12[0], @@ -9952,30 +9954,34 @@ var Environment = function Environment(_ref) { _useState16 = slicedToArray_default()(_useState15, 2), expand = _useState16[0], setExpand = _useState16[1]; - var _useState17 = (0,react.useState)(true), + var _useState17 = (0,react.useState)(false), _useState18 = slicedToArray_default()(_useState17, 2), - loading = _useState18[0], - setLoading = _useState18[1]; + elseExpand = _useState18[0], + setElseExpand = _useState18[1]; var _useState19 = (0,react.useState)(true), _useState20 = slicedToArray_default()(_useState19, 2), - cloudListLoading = _useState20[0], - setCloudListLoading = _useState20[1]; - var _useState21 = (0,react.useState)(false), + loading = _useState20[0], + setLoading = _useState20[1]; + var _useState21 = (0,react.useState)(true), _useState22 = slicedToArray_default()(_useState21, 2), - btnLoading = _useState22[0], - setBtnLoading = _useState22[1]; - - //右边抽屉 + cloudListLoading = _useState22[0], + setCloudListLoading = _useState22[1]; var _useState23 = (0,react.useState)(false), _useState24 = slicedToArray_default()(_useState23, 2), - settingDrawer = _useState24[0], - setSettingDrawer = _useState24[1]; + btnLoading = _useState24[0], + setBtnLoading = _useState24[1]; - //添加和切换环境 + //右边抽屉 var _useState25 = (0,react.useState)(false), _useState26 = slicedToArray_default()(_useState25, 2), - mirrorModal = _useState26[0], - setMirrorModal = _useState26[1]; + settingDrawer = _useState26[0], + setSettingDrawer = _useState26[1]; + + //添加和切换环境 + var _useState27 = (0,react.useState)(false), + _useState28 = slicedToArray_default()(_useState27, 2), + mirrorModal = _useState28[0], + setMirrorModal = _useState28[1]; var cloudItems = [{ id: 1, name: '通用云' @@ -10003,9 +10009,11 @@ var Environment = function Environment(_ref) { id: 2, name: 'RDP' }]; - var templateDes = template === null || template === void 0 ? void 0 : (_template$find = template.find(function (e) { + var templateDes = (template === null || template === void 0 ? void 0 : template.find(function (e) { return e.id === shixun_environment.instance_startup_template_id; - })) === null || _template$find === void 0 ? void 0 : _template$find.desc; + })) || {}; + var desc = templateDes.desc, + virt_type = templateDes.virt_type; var isAliCloud = (cloudList === null || cloudList === void 0 ? void 0 : (_cloudList$find = cloudList.find(function (e) { return e.id === (shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.private_cloud_id); })) === null || _cloudList$find === void 0 ? void 0 : _cloudList$find.cloud_type) === 1; @@ -10765,7 +10773,7 @@ var Environment = function Environment(_ref) { name: value.name, choice_small_type: [], choice_small_mirrors: [], - shixun_service_configs: value.shixun_service_configs, + shixun_service_configs: value.shixun_service_configs || [], description: value.description }), small_type: value.small_type @@ -10893,7 +10901,8 @@ var Environment = function Environment(_ref) { shixun_environment: objectSpread2_default()(objectSpread2_default()({}, shixun_environment), {}, { name: name }), - shixun_service_configs: mirror_repository === null || mirror_repository === void 0 ? void 0 : mirror_repository.shixun_service_configs + shixun_service_configs: mirror_repository === null || mirror_repository === void 0 ? void 0 : mirror_repository.shixun_service_configs, + new_service_configs: new_service_configs } }); case 43: @@ -10982,6 +10991,7 @@ var Environment = function Environment(_ref) { }); cloneData.shixun_environment.disabled2_support_vnc = param.disabled_support_vnc; cloneData.shixun_environment.disabled2_support_webssh = param.disabled_support_webssh; + cloneData.new_service_configs = param !== null && param !== void 0 && param.service_config_info ? [param.service_config_info] : []; } if (type === 'private_is_support_vnc' || type === 'private_is_support_webssh') { cloneData.shixun_environment.instance_startup_type = 1; @@ -11016,7 +11026,11 @@ var Environment = function Environment(_ref) { }); } } - cloneData[key][type] = value; + if (type) { + cloneData[key][type] = value; + } else { + cloneData[key] = value; + } setError(''); setData(cloneData); case 15: @@ -11037,6 +11051,14 @@ var Environment = function Environment(_ref) { handleValueChange('mirror_repository', 'shixun_service_configs', cloneConfigs); } }; + var dealElseConfigs = function dealElseConfigs(i, type, value) { + var reg = /^\d*(\.\d*)?$/; + if (value.match(reg)) { + var cloneConfigs = (0,lodash.cloneDeep)(new_service_configs); + cloneConfigs[i][type] = value; + handleValueChange('new_service_configs', '', cloneConfigs); + } + }; var handleContact = function handleContact() { modal/* default.info */.Z.info({ centered: true, @@ -11758,8 +11780,8 @@ var Environment = function Environment(_ref) { }; }), value: shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.instance_startup_template_id - }), !!templateDes && /*#__PURE__*/(0,jsx_runtime.jsx)(MarkdownModal/* default */.Z, { - value: templateDes, + }), !!desc && /*#__PURE__*/(0,jsx_runtime.jsx)(MarkdownModal/* default */.Z, { + value: desc, title: "\u6A21\u7248\u63CF\u8FF0", children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: Environmentmodules.explain, @@ -11785,6 +11807,152 @@ var Environment = function Environment(_ref) { }, e.id); }) }) + }), (0,authority/* isSuperAdmins */.Ny)() && virt_type === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + return setElseExpand(!elseExpand); + }, + className: Environmentmodules.grade, + children: ["\u9AD8\u7EA7\u8BBE\u7F6E", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont ".concat(elseExpand ? 'icon-shouqi4' : 'icon-a-xialazhankai') + })] + }), elseExpand && /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Environment_Label, { + required: true, + name: "\u670D\u52A1\u914D\u7F6E", + align: "start", + errorKey: "shixun_service_configs", + errorValue: error, + errorName: "\u8BF7\u6DFB\u52A0\u670D\u52A1\u914D\u7F6E", + contentStyle: { + overflow: new_service_configs !== null && new_service_configs !== void 0 && new_service_configs.length ? 'hidden' : 'initial' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Environmentmodules.tabsBox, + children: [!(new_service_configs !== null && new_service_configs !== void 0 && new_service_configs.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(empty/* default */.Z, { + image: noEnvData, + imageStyle: { + height: 180, + marginTop: 67 + }, + description: '' + }), !!(new_service_configs !== null && new_service_configs !== void 0 && new_service_configs.length) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_tabs/* default */.Z, { + destroyInactiveTabPane: true, + moreIcon: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: Environmentmodules.more, + children: ["\u66F4\u591A ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-xiala1" + })] + }), + children: new_service_configs === null || new_service_configs === void 0 ? void 0 : new_service_configs.map(function (e, i) { + var cpu_limit = e.cpu_limit, + lower_cpu_limit = e.lower_cpu_limit, + memory_limit = e.memory_limit, + request_limit = e.request_limit, + resource_limit = e.resource_limit, + name = e.name; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_tabs/* default.TabPane */.Z.TabPane, { + className: "p20", + tab: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + title: name, + className: Environmentmodules.tabTitle, + children: name + }), + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + className: "mb20", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + className: "mr60", + wrap: false, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-333 font14", + style: { + flexShrink: 0, + marginLeft: 27 + }, + children: "CPU" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + style: { + width: 198 + }, + onClick: verifyModal, + value: cpu_limit, + addonAfter: "\u6838", + onChange: function onChange(v) { + return dealElseConfigs(i, 'cpu_limit', v.target.value); + } + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + wrap: false, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-333 font14", + style: { + flexShrink: 0 + }, + children: "\u6700\u4F4ECPU" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + onClick: verifyModal, + value: lower_cpu_limit, + onChange: function onChange(v) { + return dealElseConfigs(i, 'lower_cpu_limit', v.target.value); + }, + addonAfter: "\u6838" + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + className: "mr60 mb20", + wrap: false, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-333 font14", + style: { + flexShrink: 0 + }, + children: "\u5185\u5B58\u9650\u5236" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + onClick: verifyModal, + value: memory_limit, + onChange: function onChange(v) { + return dealElseConfigs(i, 'memory_limit', v.target.value); + }, + addonAfter: "M" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + className: "mb20", + wrap: false, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-333 font14", + style: { + flexShrink: 0 + }, + children: "\u5185\u5B58\u8981\u6C42" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + onClick: verifyModal, + value: request_limit, + onChange: function onChange(v) { + return dealElseConfigs(i, 'request_limit', v.target.value); + }, + addonAfter: "M" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "c-grey-999 ml10", + style: { + flexShrink: 0 + }, + children: "\u6E29\u99A8\u63D0\u793A\uFF1A\u7EAF\u7F16\u7A0B\u7C7B\u578B\u5B9E\u8BAD\u5EFA\u8BAE\u4F7F\u7528\u9ED8\u8BA4\u503C\uFF0C\u5BF9\u4E8E\u5927\u6570\u636E\u7B49\u5EFA\u8BAE\u4F7F\u7528\u6700\u5927\u5185\u5B58\u768430%" + })] + })] + })] + }, i); + }) + })] + }) + }) + })] })] })] }), !tabs.length && /*#__PURE__*/(0,jsx_runtime.jsx)(empty/* default */.Z, { diff --git a/p__Shixuns__New__CreateImg__index.async.js b/p__Shixuns__New__CreateImg__index.async.js index a4a5f1450a..9fe2064be7 100644 --- a/p__Shixuns__New__CreateImg__index.async.js +++ b/p__Shixuns__New__CreateImg__index.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[65549,34180,36579,25619,23805,62654,7303,79779],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[65549,34180,36579,23805,25619,79779],{ /***/ 74734: /*!***************************************************************!*\ diff --git a/p__Shixuns__New__index.chunk.css b/p__Shixuns__New__index.chunk.css index 824ad5816b..22cb63610a 100644 --- a/p__Shixuns__New__index.chunk.css +++ b/p__Shixuns__New__index.chunk.css @@ -853,6 +853,238 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/New/components/JupyterPractice/index.less?modules ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__User__Detail__LearningPath__index.async.js b/p__User__Detail__LearningPath__index.async.js index 2101da818b..283c864438 100644 --- a/p__User__Detail__LearningPath__index.async.js +++ b/p__User__Detail__LearningPath__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[14610],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[14610,21104],{ /***/ 7918: /*!******************************************************************************!*\ @@ -1184,6 +1184,195 @@ var style_default = __webpack_require__(43146); // deps-lint-skip: form +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + /***/ }) }]); \ No newline at end of file diff --git a/p__User__Detail__TeachGroup__index.async.js b/p__User__Detail__TeachGroup__index.async.js index 63ae568be9..e94e94f14b 100644 --- a/p__User__Detail__TeachGroup__index.async.js +++ b/p__User__Detail__TeachGroup__index.async.js @@ -2071,6 +2071,195 @@ var style_default = __webpack_require__(43146); /***/ }), +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); + +/***/ }), + /***/ 58143: /*!********************************************!*\ !*** ./src/assets/images/icons/search.png ***! diff --git a/p__User__Detail__Topics__Group__index.chunk.css b/p__User__Detail__Topics__Group__index.chunk.css index 37f4e7e5cb..1feea83847 100644 --- a/p__User__Detail__Topics__Group__index.chunk.css +++ b/p__User__Detail__Topics__Group__index.chunk.css @@ -1,3 +1,235 @@ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/breadcrumb/style/index.less ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__User__Detail__Topics__Poll__Edit__index.async.js b/p__User__Detail__Topics__Poll__Edit__index.async.js index c2a8b14d82..a729470210 100644 --- a/p__User__Detail__Topics__Poll__Edit__index.async.js +++ b/p__User__Detail__Topics__Poll__Edit__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[75043],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[75043,61437],{ /***/ 37286: /*!**********************************************************************!*\ diff --git a/p__User__Detail__Topics__Poll__Edit__index.chunk.css b/p__User__Detail__Topics__Poll__Edit__index.chunk.css index 2fc414f2f1..59fe81eec6 100644 --- a/p__User__Detail__Topics__Poll__Edit__index.chunk.css +++ b/p__User__Detail__Topics__Poll__Edit__index.chunk.css @@ -800,6 +800,238 @@ li:last-child > .ant-breadcrumb-separator { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/PreviewAll/index.less?modules ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__User__Login__index.async.js b/p__User__Login__index.async.js index f2e2b67e87..3d43686d4f 100644 --- a/p__User__Login__index.async.js +++ b/p__User__Login__index.async.js @@ -286,9 +286,9 @@ var LoginPopComponents = function LoginPopComponents(_ref) { /***/ }), -/***/ 55942: +/***/ 34907: /*!****************************************************!*\ - !*** ./src/pages/User/Login/index.tsx + 2 modules ***! + !*** ./src/pages/User/Login/index.tsx + 3 modules ***! \****************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -300,19 +300,19 @@ __webpack_require__.d(__webpack_exports__, { "default": function() { return /* binding */ Login; } }); +// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules +var style = __webpack_require__(29913); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); // 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: ./node_modules/antd/es/checkbox/style/index.js + 1 modules -var style = __webpack_require__(82000); +var checkbox_style = __webpack_require__(82000); // EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 2 modules var es_checkbox = __webpack_require__(32808); -// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules -var button_style = __webpack_require__(29913); -// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js -var es_button = __webpack_require__(71577); // EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js + 1 modules var input_style = __webpack_require__(69463); // EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules @@ -338,9 +338,9 @@ var user = __webpack_require__(58839); var CloseOutlined = __webpack_require__(28508); // EXTERNAL MODULE: ./src/components/User/UnlockLogin/index.tsx var UnlockLogin = __webpack_require__(37577); -;// CONCATENATED MODULE: ./src/components/User/LoginPanel/index.less +;// CONCATENATED MODULE: ./src/components/User/LoginPanel/index.less?modules // extracted by mini-css-extract-plugin - +/* harmony default export */ var LoginPanelmodules = ({"wrap":"wrap___Qb1cF","formWrapper":"formWrapper___yygd7","link":"link___DT46s","errorRes":"errorRes___cDEqD"}); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(85893); ;// CONCATENATED MODULE: ./src/components/User/LoginPanel/LoginForm.tsx @@ -367,7 +367,7 @@ var jsx_runtime = __webpack_require__(85893); var inputStyle = { - height: 48, + height: 46, borderRadius: 4 }; var LoginPopComponents = function LoginPopComponents(_ref) { @@ -478,61 +478,70 @@ var LoginPopComponents = function LoginPopComponents(_ref) { }); }; return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - layout: "vertical", - form: form, - initialValues: { - autologin: true - }, - onFinish: onFinish, - onValuesChange: function onValuesChange() { - return setErrorValue(''); - }, - children: [!!errorValue && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "res-error-values", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: errorValue - }), /*#__PURE__*/(0,jsx_runtime.jsx)(CloseOutlined/* default */.Z, { - onClick: function onClick() { - return setErrorValue(''); - } - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "login", - rules: [{ - required: true, - message: '请输入用户名、手机号或邮箱' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - style: inputStyle, - size: "large", - placeholder: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "password", - rules: [{ - required: true, - message: '请输入8-16位密码,区分大小写、不能使用空格' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Password */.Z.Password, { - style: inputStyle - // visibilityToggle={false} - , - size: "large", - placeholder: "\u5BC6\u7801" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - size: "large", - type: "primary", - htmlType: "submit", - block: true, - className: "font16", - style: inputStyle, - children: "\u767B\u5F55" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [!!errorValue && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: LoginPanelmodules.errorRes, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: errorValue + }), /*#__PURE__*/(0,jsx_runtime.jsx)(CloseOutlined/* default */.Z, { + onClick: function onClick() { + return setErrorValue(''); + } + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: LoginPanelmodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + layout: "vertical", + form: form, + initialValues: { + autologin: true + }, + onFinish: onFinish, + onValuesChange: function onValuesChange() { + return setErrorValue(''); + }, + className: LoginPanelmodules.formWrapper, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "login", + className: "mb20", + required: false, + label: "\u8D26\u53F7", + rules: [{ + required: true, + message: '请输入用户名、手机号或邮箱' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + style: inputStyle, + size: "large", + placeholder: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "password", + required: false, + className: "mb30", + label: "\u5BC6\u7801", + rules: [{ + required: true, + message: '请输入8-16位密码,区分大小写、不能使用空格' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Password */.Z.Password, { + style: inputStyle + // visibilityToggle={false} + , + size: "large", + placeholder: "\u5BC6\u7801" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + className: "mb30", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + size: "large", + type: "primary", + htmlType: "submit", + block: true, + className: "font16", + style: inputStyle, + children: "\u767B\u5F55" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: "flex-container", style: { justifyContent: 'space-between' @@ -542,11 +551,14 @@ var LoginPopComponents = function LoginPopComponents(_ref) { noStyle: true, valuePropName: "checked", children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { + style: { + color: '#666666' + }, children: "\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55" }) }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - className: "c-grey-333 font14", + className: LoginPanelmodules.link, onClick: function onClick() { return handleClick(); }, @@ -554,12 +566,12 @@ var LoginPopComponents = function LoginPopComponents(_ref) { children: "\u627E\u56DE\u5BC6\u7801" }) })] - }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(UnlockLogin/* default */.Z, { + open: openUnlockLogin, + data: errorData, + accountInfo: objectSpread2_default()({}, formValue) })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(UnlockLogin/* default */.Z, { - open: openUnlockLogin, - data: errorData, - accountInfo: objectSpread2_default()({}, formValue) })] }); }; @@ -573,12 +585,19 @@ var LoginPopComponents = function LoginPopComponents(_ref) { loading: loading.models.index }; })(LoginPopComponents)); +;// CONCATENATED MODULE: ./src/pages/User/Login/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Loginmodules = ({"registerBtn":"registerBtn___QKFy2"}); ;// CONCATENATED MODULE: ./src/pages/User/Login/index.tsx + + + + /* harmony default export */ var Login = (function () { var location = (0,_umi_production_exports.useLocation)(); var _useSearchParams = (0,_umi_production_exports.useSearchParams)(), @@ -591,8 +610,520 @@ var LoginPopComponents = function LoginPopComponents(_ref) { localStorage.removeItem("isClientExam"); } }, [location]); - return /*#__PURE__*/(0,jsx_runtime.jsx)(LoginForm, {}); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(LoginForm, {}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + block: true, + className: Loginmodules.registerBtn, + onClick: function onClick() { + return _umi_production_exports.history.push('/user/register'); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#666666' + }, + children: "\u65B0\u7528\u6237\uFF1F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#3061D0' + }, + children: "\u6CE8\u518C\u4E00\u4E2A\u8D26\u53F7" + })] + })] + }); +}); + +/***/ }), + +/***/ 5467: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getDataOrAriaProps.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getDataOrAriaProps; } +/* harmony export */ }); +function getDataOrAriaProps(props) { + return Object.keys(props).reduce(function (prev, key) { + if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) { + prev[key] = props[key]; + } + return prev; + }, {}); +} + +/***/ }), + +/***/ 29924: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/radio/index.js + 4 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "ZP": function() { return /* binding */ es_radio; } +}); + +// UNUSED EXPORTS: Button, Group + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/SizeContext.js +var SizeContext = __webpack_require__(97647); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/getDataOrAriaProps.js +var getDataOrAriaProps = __webpack_require__(5467); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js + +var RadioGroupContext = /*#__PURE__*/react.createContext(null); +var RadioGroupContextProvider = RadioGroupContext.Provider; +/* harmony default export */ var radio_context = (RadioGroupContext); +var RadioOptionTypeContext = /*#__PURE__*/react.createContext(null); +var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider; +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js +var es = __webpack_require__(50132); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js + + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +var InternalRadio = function InternalRadio(props, ref) { + var _classNames; + var groupContext = react.useContext(radio_context); + var radioOptionTypeContext = react.useContext(RadioOptionTypeContext); + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var innerRef = react.useRef(); + var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef); + var _useContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM), + isFormItemInput = _useContext.isFormItemInput; + false ? 0 : void 0; + var onChange = function onChange(e) { + var _a, _b; + (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e); + (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e); + }; + var customizePrefixCls = props.prefixCls, + className = props.className, + children = props.children, + style = props.style, + customDisabled = props.disabled, + restProps = __rest(props, ["prefixCls", "className", "children", "style", "disabled"]); + var radioPrefixCls = getPrefixCls('radio', customizePrefixCls); + var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls; + var radioProps = (0,esm_extends/* default */.Z)({}, restProps); + // ===================== Disabled ===================== + var disabled = react.useContext(DisabledContext/* default */.Z); + radioProps.disabled = customDisabled || disabled; + if (groupContext) { + radioProps.name = groupContext.name; + radioProps.onChange = onChange; + radioProps.checked = props.value === groupContext.value; + radioProps.disabled = radioProps.disabled || groupContext.disabled; + } + var wrapperClassString = classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); + return ( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: wrapperClassString, + style: style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({}, radioProps, { + type: "radio", + prefixCls: prefixCls, + ref: mergedRef + })), children !== undefined ? /*#__PURE__*/react.createElement("span", null, children) : null) + ); +}; +var Radio = /*#__PURE__*/react.forwardRef(InternalRadio); +if (false) {} +/* harmony default export */ var radio_radio = (Radio); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js + + + + + + + + + + + +var RadioGroup = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var size = react.useContext(SizeContext/* default */.Z); + var _useMergedState = (0,useMergedState/* default */.Z)(props.defaultValue, { + value: props.value + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var onRadioChange = function onRadioChange(ev) { + var lastValue = value; + var val = ev.target.value; + if (!('value' in props)) { + setValue(val); + } + var onChange = props.onChange; + if (onChange && val !== lastValue) { + onChange(ev); + } + }; + var customizePrefixCls = props.prefixCls, + _props$className = props.className, + className = _props$className === void 0 ? '' : _props$className, + options = props.options, + _props$buttonStyle = props.buttonStyle, + buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle, + disabled = props.disabled, + children = props.children, + customizeSize = props.size, + style = props.style, + id = props.id, + onMouseEnter = props.onMouseEnter, + onMouseLeave = props.onMouseLeave, + onFocus = props.onFocus, + onBlur = props.onBlur; + var prefixCls = getPrefixCls('radio', customizePrefixCls); + var groupPrefixCls = "".concat(prefixCls, "-group"); + var childrenToRender = children; + // 如果存在 options, 优先使用 + if (options && options.length > 0) { + childrenToRender = options.map(function (option) { + if (typeof option === 'string' || typeof option === 'number') { + // 此处类型自动推导为 string + return /*#__PURE__*/react.createElement(radio_radio, { + key: option.toString(), + prefixCls: prefixCls, + disabled: disabled, + value: option, + checked: value === option + }, option); + } + // 此处类型自动推导为 { label: string value: string } + return /*#__PURE__*/react.createElement(radio_radio, { + key: "radio-group-value-options-".concat(option.value), + prefixCls: prefixCls, + disabled: option.disabled || disabled, + value: option.value, + checked: value === option.value, + style: option.style + }, option.label); + }); + } + var mergedSize = customizeSize || size; + var classString = classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className); + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, (0,getDataOrAriaProps/* default */.Z)(props), { + className: classString, + style: style, + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave, + onFocus: onFocus, + onBlur: onBlur, + id: id, + ref: ref + }), /*#__PURE__*/react.createElement(RadioGroupContextProvider, { + value: { + onChange: onRadioChange, + value: value, + disabled: props.disabled, + name: props.name, + optionType: props.optionType + } + }, childrenToRender)); }); +/* harmony default export */ var group = (/*#__PURE__*/react.memo(RadioGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js + +var radioButton_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + +var RadioButton = function RadioButton(props, ref) { + var _React$useContext = react.useContext(context/* ConfigContext */.E_), + getPrefixCls = _React$useContext.getPrefixCls; + var customizePrefixCls = props.prefixCls, + radioProps = radioButton_rest(props, ["prefixCls"]); + var prefixCls = getPrefixCls('radio', customizePrefixCls); + return /*#__PURE__*/react.createElement(RadioOptionTypeContextProvider, { + value: "button" + }, /*#__PURE__*/react.createElement(radio_radio, (0,esm_extends/* default */.Z)({ + prefixCls: prefixCls + }, radioProps, { + type: "radio", + ref: ref + }))); +}; +/* harmony default export */ var radioButton = (/*#__PURE__*/react.forwardRef(RadioButton)); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js + + + + +var radio_Radio = radio_radio; +radio_Radio.Button = radioButton; +radio_Radio.Group = group; +radio_Radio.__ANT_RADIO = true; +/* harmony default export */ var es_radio = (radio_Radio); + +/***/ }), + +/***/ 83822: +/*!***************************************************************!*\ + !*** ./node_modules/antd/es/radio/style/index.js + 1 modules ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { + + +// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less +var style_default = __webpack_require__(43146); +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./node_modules/antd/es/radio/style/index.js + + +// deps-lint-skip: form + +/***/ }), + +/***/ 50132: +/*!**********************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); +/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); + + + + + + + + +// eslint-disable-next-line import/no-extraneous-dependencies + + + +var Checkbox = /*#__PURE__*/function (_Component) { + (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); + + var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); + + function Checkbox(props) { + var _this; + + (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); + + _this = _super.call(this, props); + + _this.handleChange = function (e) { + var _this$props = _this.props, + disabled = _this$props.disabled, + onChange = _this$props.onChange; + + if (disabled) { + return; + } + + if (!('checked' in _this.props)) { + _this.setState({ + checked: e.target.checked + }); + } + + if (onChange) { + onChange({ + target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + } + }; + + _this.saveInput = function (node) { + _this.input = node; + }; + + var checked = 'checked' in props ? props.checked : props.defaultChecked; + _this.state = { + checked: checked + }; + return _this; + } + + (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ + key: "focus", + value: function focus() { + this.input.focus(); + } + }, { + key: "blur", + value: function blur() { + this.input.blur(); + } + }, { + key: "render", + value: function render() { + var _classNames; + + var _this$props2 = this.props, + prefixCls = _this$props2.prefixCls, + className = _this$props2.className, + style = _this$props2.style, + name = _this$props2.name, + id = _this$props2.id, + type = _this$props2.type, + disabled = _this$props2.disabled, + readOnly = _this$props2.readOnly, + tabIndex = _this$props2.tabIndex, + onClick = _this$props2.onClick, + onFocus = _this$props2.onFocus, + onBlur = _this$props2.onBlur, + onKeyDown = _this$props2.onKeyDown, + onKeyPress = _this$props2.onKeyPress, + onKeyUp = _this$props2.onKeyUp, + autoFocus = _this$props2.autoFocus, + value = _this$props2.value, + required = _this$props2.required, + others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); + + var globalProps = Object.keys(others).reduce(function (prev, key) { + if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { + // eslint-disable-next-line no-param-reassign + prev[key] = others[key]; + } + + return prev; + }, {}); + var checked = this.state.checked; + var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: classString, + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ + name: name, + id: id, + type: type, + required: required, + readOnly: readOnly, + disabled: disabled, + tabIndex: tabIndex, + className: "".concat(prefixCls, "-input"), + checked: !!checked, + onClick: onClick, + onFocus: onFocus, + onBlur: onBlur, + onKeyUp: onKeyUp, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress, + onChange: this.handleChange, + autoFocus: autoFocus, + ref: this.saveInput, + value: value + }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props, state) { + if ('checked' in props) { + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { + checked: props.checked + }); + } + + return null; + } + }]); + + return Checkbox; +}(react__WEBPACK_IMPORTED_MODULE_0__.Component); + +Checkbox.defaultProps = { + prefixCls: 'rc-checkbox', + className: '', + style: {}, + type: 'checkbox', + defaultChecked: false, + onFocus: function onFocus() {}, + onBlur: function onBlur() {}, + onChange: function onChange() {}, + onKeyDown: function onKeyDown() {}, + onKeyPress: function onKeyPress() {}, + onKeyUp: function onKeyUp() {} +}; +/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); /***/ }) diff --git a/p__User__Login__index.chunk.css b/p__User__Login__index.chunk.css index 29e6e565f9..54b28dd27e 100644 --- a/p__User__Login__index.chunk.css +++ b/p__User__Login__index.chunk.css @@ -1,31 +1,56 @@ -/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** 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/User/LoginPanel/index.less ***! - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.login-panel-wrapper { - padding: 0 26px 36px 26px; -} -.login-panel-wrapper .ant-form-item-explain { - line-height: 2; -} -.login-panel-wrapper .ant-form-item { - margin-bottom: 20px; -} -.login-panel-wrapper .ant-form-item-with-help { - margin-bottom: 0; -} -.res-error-values { - background: #ffecec; - border-radius: 4px; - border: 1px solid #e02020; - color: #e02020; +/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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/User/LoginPanel/index.less?modules ***! + \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.wrap___Qb1cF { + width: 465px; + background-color: #F7F8FA; + border: 1px solid #E2E2E2; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + padding: 30px; + margin-bottom: 15px; + border-radius: 8px; +} +.wrap___Qb1cF .formWrapper___yygd7 div[class~='ant-form-item-label'] { + margin-bottom: 15px; + padding: 0; +} +.wrap___Qb1cF .formWrapper___yygd7 div[class~='ant-form-item-label'] label { + font-size: 16px; + color: #666666; +} +.wrap___Qb1cF .formWrapper___yygd7 .link___DT46s { + color: #3061D0; +} +.wrap___Qb1cF .formWrapper___yygd7 .link___DT46s:hover { + color: #165DFF; +} +.errorRes___cDEqD { + background: #FFDCDC; + border-radius: 8px; + border: 1px solid #FF8787; + font-size: 14px; + color: #E30000; + padding: 24px 30px; + margin-bottom: 15px; display: flex; - justify-content: space-between; align-items: center; - padding: 8px 22px; - margin-bottom: 24px; + justify-content: space-between; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Login/index.less?modules ***! + \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.registerBtn___QKFy2 { + height: 68px; + border-radius: 8px; } -.res-error-values svg { - cursor: pointer; +.registerBtn___QKFy2 span { + font-size: 16px; } /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ diff --git a/p__User__OtherLogin__index.async.js b/p__User__OtherLogin__index.async.js index 49e98caa1a..5ee8d32eb8 100644 --- a/p__User__OtherLogin__index.async.js +++ b/p__User__OtherLogin__index.async.js @@ -12,624 +12,6 @@ var EditOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 89 /* harmony default export */ __webpack_exports__["Z"] = (EditOutlined); -/***/ }), - -/***/ 16379: -/*!*****************************************************!*\ - !*** ./src/components/User/RegisterPanel/index.tsx ***! - \*****************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var antd_es_message_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/message/style */ 14934); -/* harmony import */ var antd_es_message__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd/es/message */ 12461); -/* harmony import */ var antd_es_checkbox_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/checkbox/style */ 82000); -/* harmony import */ var antd_es_checkbox__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd/es/checkbox */ 32808); -/* harmony import */ var antd_es_button_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd/es/button/style */ 29913); -/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd/es/button */ 71577); -/* harmony import */ var antd_es_input_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! antd/es/input/style */ 69463); -/* harmony import */ var antd_es_input__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd/es/input */ 75008); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__); -/* harmony import */ var antd_es_form_style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd/es/form/style */ 75627); -/* harmony import */ var antd_es_form__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd/es/form */ 51018); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _unlock__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./unlock */ 61854); -/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/utils/util */ 29427); -/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! umi */ 89214); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ 85893); - - - - - - - - - - - - - - - - - - - - -var inputStyle = { - height: 48 -}; -var loginRegex = /(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i; -var initialState = { - timer: 0 -}; -var Types; -(function (Types) { - Types[Types["setTimer"] = 0] = "setTimer"; -})(Types || (Types = {})); -function reducer(state, action) { - switch (action.type) { - case Types.setTimer: - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8___default()({}, state), {}, { - timer: action.payload - }); - default: - throw new Error(); - } -} -var RegisterComponent = function RegisterComponent(_ref) { - var _globalSetting$settin, _globalSetting$settin2; - var validateName = _ref.validateName, - getCode = _ref.getCode, - register = _ref.register, - _ref$style = _ref.style, - style = _ref$style === void 0 ? {} : _ref$style, - _ref$buttonText = _ref.buttonText, - buttonText = _ref$buttonText === void 0 ? '注册' : _ref$buttonText, - globalSetting = _ref.globalSetting; - var _Form$useForm = antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].useForm */ .Z.useForm(), - _Form$useForm2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7___default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - var _useReducer = (0,react__WEBPACK_IMPORTED_MODULE_9__.useReducer)(reducer, initialState), - _useReducer2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7___default()(_useReducer, 2), - state = _useReducer2[0], - dispatch = _useReducer2[1]; - var _useState = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(false), - _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7___default()(_useState, 2), - codeLoading = _useState2[0], - setCodeLoading = _useState2[1]; - var timer = state.timer; - function onFinish(_x) { - return _onFinish.apply(this, arguments); - } - function _onFinish() { - _onFinish = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().mark(function _callee2(values) { - var login, password, code, _yield$register, message, status, addinfo, href; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - login = values.login, password = values.password, code = values.code; - _context2.next = 3; - return register({ - login: login, - password: password, - code: code - }); - case 3: - _yield$register = _context2.sent; - message = _yield$register.message; - status = _yield$register.status; - if (!(status < 0)) { - _context2.next = 9; - break; - } - form.setFields([{ - name: 'code', - errors: [message] - }]); - return _context2.abrupt("return"); - case 9: - localStorage.removeItem('extension-modal'); - antd_es_message__WEBPACK_IMPORTED_MODULE_15__/* ["default"].info */ .ZP.info('注册成功'); - addinfo = localStorage.getItem('addinfo'); - if (addinfo === '2') { - localStorage.setItem('addinfo', '2'); - href = localStorage.getItem('classromeurl'); - umi__WEBPACK_IMPORTED_MODULE_12__.history.replace(href); - } else { - umi__WEBPACK_IMPORTED_MODULE_12__.history.replace('/'); - } - case 13: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return _onFinish.apply(this, arguments); - } - function onValidateName() { - return _onValidateName.apply(this, arguments); - } - function _onValidateName() { - _onValidateName = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().mark(function _callee3() { - var login, flag, _yield$validateName, status, message, isOk; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - login = form.getFieldValue('login'); - flag = 0; - if (!(!loginRegex.test(login) || login.indexOf(" ") > -1)) { - _context3.next = 6; - break; - } - form.setFields([{ - name: 'login', - errors: ['请输入正确的手机号或邮箱'] - }]); - flag = 1; - return _context3.abrupt("return", flag); - case 6: - _context3.next = 8; - return validateName({ - login: login, - type: 1 - }); - case 8: - _yield$validateName = _context3.sent; - status = _yield$validateName.status; - message = _yield$validateName.message; - isOk = status > 0; - if (isOk) { - flag = 2; - } else { - form.setFields([{ - name: 'login', - errors: [message] - }]); - flag = 1; - } - return _context3.abrupt("return", flag); - case 14: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return _onValidateName.apply(this, arguments); - } - var onGetCode = /*#__PURE__*/function () { - var _ref2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().mark(function _callee() { - var verify, login, _yield$getCode, status, message; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - verify = form.getFieldValue('verify'); - login = form.getFieldValue('login'); - if (verify) { - _context.next = 6; - break; - } - form.validateFields(['verify']); - _context.next = 15; - break; - case 6: - setCodeLoading(true); - _context.next = 9; - return getCode({ - login: login, - type: 1, - smscode: (0,_utils_util__WEBPACK_IMPORTED_MODULE_11__/* .setmiyah */ .M)(login) - }); - case 9: - _yield$getCode = _context.sent; - status = _yield$getCode.status; - message = _yield$getCode.message; - if (status < 0) { - form.setFields([{ - name: 'code', - errors: [message] - }]); - } - dispatch({ - type: Types.setTimer, - payload: 60 - }); - setCodeLoading(false); - case 15: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function onGetCode() { - return _ref2.apply(this, arguments); - }; - }(); - function validatePassword(_, value) { - if (!value) { - return Promise.resolve(); - } - if (value.indexOf(" ") > -1) { - return Promise.reject('请输入8-16位密码,区分大小写、不能使用空格'); - } - var len = value.length; - if (len >= 8 && len <= 16) { - return Promise.resolve(); - } else { - return Promise.reject('请输入8-16位密码,区分大小写、不能使用空格'); - } - } - var verifyValidate = function verifyValidate(_, value) { - return value ? Promise.resolve() : Promise.reject('请拖动滑块验证'); - }; - (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () { - if (timer > 0) { - setTimeout(function () { - dispatch({ - type: Types.setTimer, - payload: timer - 1 - }); - }, 1000); - } - }, [timer]); - var LoginValidate = function LoginValidate(_, value) { - if (!value) { - return Promise.resolve(); - } - if (value.indexOf(" ") > -1) { - return Promise.reject('请输入正确的手机号或邮箱'); - } - if (loginRegex.test(value)) { - return Promise.resolve(); - } else { - return Promise.reject('请输入正确的手机号或邮箱'); - } - }; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { - layout: "vertical", - form: form, - style: style, - initialValues: { - autologin: true, - protool: false - }, - onFinish: onFinish, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - name: "login", - rules: [{ - required: true, - message: '请输入正确的手机号或邮箱' - }, { - validator: LoginValidate - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_input__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { - style: inputStyle, - autoComplete: "new-login", - size: "large", - placeholder: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7", - onChange: function onChange() { - return form.setFieldsValue({ - verify: 0 - }); - } - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - name: "verify", - rules: [{ - validator: verifyValidate - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_unlock__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, { - onValidate: onValidateName - }) - }), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin = globalSetting.setting) !== null && _globalSetting$settin !== void 0 && _globalSetting$settin.is_local) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - name: "code", - rules: [{ - required: true, - message: '请输入验证码' - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_input__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { - suffix: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(antd_es_button__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { - loading: codeLoading, - type: "link", - onClick: onGetCode, - disabled: timer > 0, - children: [" ", timer === 0 ? '获取验证码' : "".concat(timer, "\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6")] - }), - style: { - paddingRight: 2, - height: 48 - }, - placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", - size: "large" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - name: "password", - rules: [{ - required: true, - message: '请输入8-16位密码,区分大小写、不能使用空格' - }, { - validator: validatePassword - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_input__WEBPACK_IMPORTED_MODULE_16__/* ["default"].Password */ .Z.Password, { - autoComplete: "new-password", - style: inputStyle, - size: "large", - placeholder: "\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199", - visibilityToggle: false - }) - }), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin2 = globalSetting.setting) !== null && _globalSetting$settin2 !== void 0 && _globalSetting$settin2.is_local) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - className: "service-terms", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - noStyle: true, - name: "protool", - valuePropName: "checked", - rules: [{ - validator: function validator(_, value) { - return value ? Promise.resolve() : Promise.reject('请同意《服务协议条款》'); - } - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, { - style: { - marginRight: 10 - } - }) - }), "\u6211\u5DF2\u9605\u8BFB\u5E76\u540C\u610F ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("a", { - href: "https://engineer.educoder.net/help?index=4", - target: "_blank", - children: "\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(antd_es_button__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { - size: "large", - type: "primary", - htmlType: "submit", - block: true, - style: inputStyle, - className: "font16", - children: [" ", buttonText, " "] - }) - })] - }); -}; -/* harmony default export */ __webpack_exports__["Z"] = ((0,umi__WEBPACK_IMPORTED_MODULE_12__.connect)(function (_ref3) { - var globalSetting = _ref3.globalSetting; - return { - globalSetting: globalSetting - }; -})(RegisterComponent)); - -/***/ }), - -/***/ 61854: -/*!******************************************************************!*\ - !*** ./src/components/User/RegisterPanel/unlock.tsx + 1 modules ***! - \******************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ unlock; } -}); - -// 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/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./src/components/User/RegisterPanel/unlock.less -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js -var CloseOutlined = __webpack_require__(28508); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CheckOutlined.js -var CheckOutlined = __webpack_require__(88284); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/DoubleRightOutlined.js -var DoubleRightOutlined = __webpack_require__(43183); -// 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/components/User/RegisterPanel/unlock.tsx - - - - - - - - - - -var initialState = { - moveX: 0, - verify: 0 -}; -var Types; -(function (Types) { - Types[Types["SET_MOVEX"] = 0] = "SET_MOVEX"; - Types[Types["VERIFY"] = 1] = "VERIFY"; -})(Types || (Types = {})); -function reducer(state, action) { - switch (action.type) { - case Types.SET_MOVEX: - return objectSpread2_default()(objectSpread2_default()({}, state), {}, { - moveX: action.payload - }); - case Types.VERIFY: - return objectSpread2_default()(objectSpread2_default()({}, state), action.payload); - default: - throw new Error(); - } -} - -//antd 自定义表单项 -/* harmony default export */ var unlock = (function (_ref) { - var value = _ref.value, - onChange = _ref.onChange, - onValidate = _ref.onValidate; - var _useReducer = (0,react.useReducer)(reducer, initialState), - _useReducer2 = slicedToArray_default()(_useReducer, 2), - state = _useReducer2[0], - dispatch = _useReducer2[1]; - var moveX = state.moveX, - verify = state.verify; - var handlerEl = (0,react.useRef)(); - var wrapperEL = (0,react.useRef)(); - var bgEl = (0,react.useRef)(); - var startDrag = (0,react.useRef)(); - var wrapperRect = (0,react.useMemo)(function () { - if (wrapperEL.current) { - return wrapperEL.current.getBoundingClientRect(); - } - }, [wrapperEL.current]); - (0,react.useEffect)(function () { - if (wrapperRect) { - var onMove = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(e) { - var pageX; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - if (!startDrag.current) { - _context.next = 15; - break; - } - pageX = e.pageX - left; - if (isMobile) { - pageX = e.changedTouches[0].pageX - left; - } - if (pageX < 0) { - pageX = 0; - } - if (!(pageX >= distance)) { - _context.next = 14; - break; - } - startDrag.current = false; - pageX = distance; - _context.next = 9; - return onValidate(); - case 9: - flag = _context.sent; - dispatch({ - type: Types.VERIFY, - payload: { - moveX: pageX, - verify: flag - } - }); - onChange(flag); - _context.next = 15; - break; - case 14: - dispatch({ - type: Types.SET_MOVEX, - payload: pageX - }); - case 15: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function onMove(_x) { - return _ref2.apply(this, arguments); - }; - }(); - var onMouseUp = function onMouseUp() { - startDrag.current = false; - if (flag === 0) { - handlerEl.current.style.transition = 'left .5s ease'; - bgEl.current.style.transition = 'width .5s ease'; - dispatch({ - type: Types.VERIFY, - payload: { - moveX: 0 - } - }); - } - }; - var flag = 0; - var width = wrapperRect.width, - left = wrapperRect.left; - var distance = width - 48; - var isMobile = !(0,util/* isPc */.b9)(); - if (!isMobile) { - window.addEventListener('mousemove', onMove); - window.addEventListener('mouseup', onMouseUp); - } else { - window.addEventListener('touchmove', onMove); - window.addEventListener('touchend', onMouseUp); - } - return function () { - if (!isMobile) { - window.removeEventListener('mousemove', onMove); - window.removeEventListener('mouseup', onMouseUp); - } else { - window.removeEventListener('touchmove', onMove); - window.removeEventListener('touchend', onMouseUp); - } - }; - } - }, [wrapperRect, util/* isPc */.b9]); - (0,react.useEffect)(function () { - dispatch({ - type: Types.VERIFY, - payload: { - verify: value, - moveX: value ? (wrapperRect === null || wrapperRect === void 0 ? void 0 : wrapperRect.width) - 48 : 0 - } - }); - }, [value]); - function onStartDrag() { - if (!verify) { - startDrag.current = true; - handlerEl.current.style.transition = ''; - bgEl.current.style.transition = ''; - } - } - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - ref: wrapperEL, - className: "unlock-wrapper", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - ref: bgEl, - className: verify === 1 ? 'unlock-error-bg' : 'unlock-bg', - style: { - width: moveX - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "unlock-text", - children: verify ? verify === 1 ? '验证失败' : '验证通过' : '拖动滑块至右侧验证' - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - ref: handlerEl, - onTouchStart: onStartDrag, - onMouseDown: onStartDrag, - style: { - left: moveX - }, - className: "unlock-handler", - children: verify ? verify === 1 ? /*#__PURE__*/(0,jsx_runtime.jsx)(CloseOutlined/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(CheckOutlined/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(DoubleRightOutlined/* default */.Z, {}) - })] - }); -}); - /***/ }), /***/ 7304: @@ -788,8 +170,8 @@ var SimpleLogin = function SimpleLogin(_ref) { }); }; /* harmony default export */ var SImpleLoginForm = (SimpleLogin); -// EXTERNAL MODULE: ./src/components/User/RegisterPanel/index.tsx -var RegisterPanel = __webpack_require__(16379); +// EXTERNAL MODULE: ./src/components/User/RegisterPanel/index.tsx + 1 modules +var RegisterPanel = __webpack_require__(68269); // EXTERNAL MODULE: ./src/utils/fetch.ts var fetch = __webpack_require__(84519); // EXTERNAL MODULE: ./src/pages/User/Register/service.ts @@ -946,41 +328,6 @@ var service = __webpack_require__(88063); }); }); -/***/ }), - -/***/ 88063: -/*!********************************************!*\ - !*** ./src/pages/User/Register/service.ts ***! - \********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Ol": function() { return /* binding */ validateName; }, -/* harmony export */ "c0": function() { return /* binding */ resetPassword; }, -/* harmony export */ "o1": function() { return /* binding */ getValidateCode; }, -/* harmony export */ "ry": function() { return /* binding */ wechatRegister; }, -/* harmony export */ "z2": function() { return /* binding */ register; } -/* harmony export */ }); -/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/utils/fetch */ 84519); - -//type 1 表示用户注册 2 忘记密码 3 绑定手机/邮箱 -function validateName(params) { - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .get */ .U2)('accounts/valid_email_and_phone.json', params); -} -//type 1:用户注册注册 2:忘记密码 3:绑定手机 4: 绑定邮箱,5: 验收手机号有效 -function getValidateCode(params) { - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .get */ .U2)('accounts/get_verification_code.json', params); -} -function register(params) { - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .post */ .v_)('accounts/register.json', params); -} -function wechatRegister(params) { - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .post */ .v_)('weapps/register.json', params); -} -function resetPassword(params) { - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .post */ .v_)('accounts/reset_password.json', params); -} - /***/ }) }]); \ No newline at end of file diff --git a/p__User__OtherLogin__index.chunk.css b/p__User__OtherLogin__index.chunk.css index fbc75b6922..670463d419 100644 --- a/p__User__OtherLogin__index.chunk.css +++ b/p__User__OtherLogin__index.chunk.css @@ -60,595 +60,6 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/form/style/index.less ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-form-item .ant-input-number + .ant-form-text { - margin-left: 8px; -} -.ant-form-inline { - display: flex; - flex-wrap: wrap; -} -.ant-form-inline .ant-form-item { - flex: none; - flex-wrap: nowrap; - margin-right: 16px; - margin-bottom: 0; -} -.ant-form-inline .ant-form-item-with-help { - margin-bottom: 16px; -} -.ant-form-inline .ant-form-item > .ant-form-item-label, -.ant-form-inline .ant-form-item > .ant-form-item-control { - display: inline-block; - vertical-align: top; -} -.ant-form-inline .ant-form-item > .ant-form-item-label { - flex: none; -} -.ant-form-inline .ant-form-item .ant-form-text { - display: inline-block; -} -.ant-form-inline .ant-form-item .ant-form-item-has-feedback { - display: inline-block; -} -.ant-form-horizontal .ant-form-item-label { - flex-grow: 0; -} -.ant-form-horizontal .ant-form-item-control { - flex: 1 1; - min-width: 0; -} -.ant-form-horizontal .ant-form-item-label[class$='-24'] + .ant-form-item-control, -.ant-form-horizontal .ant-form-item-label[class*='-24 '] + .ant-form-item-control { - min-width: 0; - min-width: initial; -} -.ant-form-vertical .ant-form-item-row { - flex-direction: column; -} -.ant-form-vertical .ant-form-item-label > label { - height: auto; -} -.ant-form-vertical .ant-form-item .ant-form-item-control { - width: 100%; -} -.ant-form-vertical .ant-form-item-label, -.ant-col-24.ant-form-item-label, -.ant-col-xl-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; -} -.ant-form-vertical .ant-form-item-label > label, -.ant-col-24.ant-form-item-label > label, -.ant-col-xl-24.ant-form-item-label > label { - margin: 0; -} -.ant-form-vertical .ant-form-item-label > label::after, -.ant-col-24.ant-form-item-label > label::after, -.ant-col-xl-24.ant-form-item-label > label::after { - display: none; -} -.ant-form-rtl.ant-form-vertical .ant-form-item-label, -.ant-form-rtl.ant-col-24.ant-form-item-label, -.ant-form-rtl.ant-col-xl-24.ant-form-item-label { - text-align: right; -} -@media (max-width: 575px) { - .ant-form-item .ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-form-item .ant-form-item-label > label { - margin: 0; - } - .ant-form-item .ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-form-item .ant-form-item-label { - text-align: right; - } - .ant-form .ant-form-item { - flex-wrap: wrap; - } - .ant-form .ant-form-item .ant-form-item-label, - .ant-form .ant-form-item .ant-form-item-control { - flex: 0 0 100%; - max-width: 100%; - } - .ant-col-xs-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-col-xs-24.ant-form-item-label > label { - margin: 0; - } - .ant-col-xs-24.ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-col-xs-24.ant-form-item-label { - text-align: right; - } -} -@media (max-width: 767px) { - .ant-col-sm-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-col-sm-24.ant-form-item-label > label { - margin: 0; - } - .ant-col-sm-24.ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-col-sm-24.ant-form-item-label { - text-align: right; - } -} -@media (max-width: 991px) { - .ant-col-md-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-col-md-24.ant-form-item-label > label { - margin: 0; - } - .ant-col-md-24.ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-col-md-24.ant-form-item-label { - text-align: right; - } -} -@media (max-width: 1199px) { - .ant-col-lg-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-col-lg-24.ant-form-item-label > label { - margin: 0; - } - .ant-col-lg-24.ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-col-lg-24.ant-form-item-label { - text-align: right; - } -} -@media (max-width: 1599px) { - .ant-col-xl-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-col-xl-24.ant-form-item-label > label { - margin: 0; - } - .ant-col-xl-24.ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-col-xl-24.ant-form-item-label { - text-align: right; - } -} -.ant-form-item { - /* Some non-status related component style is in `components.less` */ - /* To support leave along ErrorList. We add additional className to handle explain style */ -} -.ant-form-item-explain-error { - color: #ff4d4f; -} -.ant-form-item-explain-warning { - color: #faad14; -} -.ant-form-item-has-feedback .ant-switch { - margin: 2px 0 4px; -} -.ant-form-item-has-warning .ant-form-item-split { - color: #faad14; -} -.ant-form-item-has-error .ant-form-item-split { - color: #ff4d4f; -} -.ant-form { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; -} -.ant-form legend { - display: block; - width: 100%; - margin-bottom: 20px; - padding: 0; - color: rgba(0, 0, 0, 0.45); - font-size: 14px; - line-height: inherit; - border: 0; - border-bottom: 1px solid #d9d9d9; -} -.ant-form label { - font-size: 12px; -} -.ant-form input[type='search'] { - box-sizing: border-box; -} -.ant-form input[type='radio'], -.ant-form input[type='checkbox'] { - line-height: normal; -} -.ant-form input[type='file'] { - display: block; -} -.ant-form input[type='range'] { - display: block; - width: 100%; -} -.ant-form select[multiple], -.ant-form select[size] { - height: auto; -} -.ant-form input[type='file']:focus, -.ant-form input[type='radio']:focus, -.ant-form input[type='checkbox']:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.ant-form output { - display: block; - padding-top: 15px; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - line-height: 1.66667; -} -.ant-form .ant-form-text { - display: inline-block; - padding-right: 8px; -} -.ant-form-small .ant-form-item-label > label { - height: 22px; -} -.ant-form-small .ant-form-item-control-input { - min-height: 22px; -} -.ant-form-large .ant-form-item-label > label { - height: 32px; -} -.ant-form-large .ant-form-item-control-input { - min-height: 32px; -} -.ant-form-item { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - margin-bottom: 16px; - vertical-align: top; -} -.ant-form-item-with-help { - transition: none; -} -.ant-form-item-hidden, -.ant-form-item-hidden.ant-row { - display: none; -} -.ant-form-item-label { - display: inline-block; - flex-grow: 0; - overflow: hidden; - white-space: nowrap; - text-align: right; - vertical-align: middle; -} -.ant-form-item-label-left { - text-align: left; -} -.ant-form-item-label-wrap { - overflow: visible; - overflow: initial; - line-height: 1.41667em; - white-space: inherit; -} -.ant-form-item-label > label { - position: relative; - display: inline-flex; - align-items: center; - max-width: 100%; - height: 28px; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; -} -.ant-form-item-label > label > .anticon { - font-size: 12px; - vertical-align: top; -} -.ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before { - display: inline-block; - margin-right: 4px; - color: #ff4d4f; - font-size: 12px; - font-family: SimSun, sans-serif; - line-height: 1; - content: '*'; -} -.ant-form-hide-required-mark .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before { - display: none; -} -.ant-form-item-label > label .ant-form-item-optional { - display: inline-block; - margin-left: 0px; - color: rgba(0, 0, 0, 0.45); -} -.ant-form-hide-required-mark .ant-form-item-label > label .ant-form-item-optional { - display: none; -} -.ant-form-item-label > label .ant-form-item-tooltip { - color: rgba(0, 0, 0, 0.45); - cursor: help; - -webkit-writing-mode: horizontal-tb; - -ms-writing-mode: lr-tb; - writing-mode: horizontal-tb; - -webkit-margin-start: 0px; - margin-inline-start: 0px; -} -.ant-form-item-label > label::after { - content: ':'; - position: relative; - top: -0.5px; - margin: 0 8px 0 2px; -} -.ant-form-item-label > label.ant-form-item-no-colon::after { - content: ' '; -} -.ant-form-item-control { - display: flex; - flex-direction: column; - flex-grow: 1; -} -.ant-form-item-control:first-child:not([class^='ant-col-']):not([class*=' ant-col-']) { - width: 100%; -} -.ant-form-item-control-input { - position: relative; - display: flex; - align-items: center; - min-height: 28px; -} -.ant-form-item-control-input-content { - flex: auto; - max-width: 100%; -} -.ant-form-item-explain, -.ant-form-item-extra { - clear: both; - color: rgba(0, 0, 0, 0.45); - font-size: 12px; - line-height: 1.66667; - transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1); -} -.ant-form-item-explain-connected { - width: 100%; -} -.ant-form-item-extra { - min-height: 16px; -} -.ant-form-item-with-help .ant-form-item-explain { - height: auto; - opacity: 1; -} -.ant-form-item-feedback-icon { - font-size: 12px; - text-align: center; - visibility: visible; - animation: zoomIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46); - pointer-events: none; -} -.ant-form-item-feedback-icon-success { - color: #52c41a; -} -.ant-form-item-feedback-icon-error { - color: #ff4d4f; -} -.ant-form-item-feedback-icon-warning { - color: #faad14; -} -.ant-form-item-feedback-icon-validating { - color: #3061D0; -} -.ant-show-help { - transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); -} -.ant-show-help-appear, -.ant-show-help-enter { - opacity: 0; -} -.ant-show-help-appear-active, -.ant-show-help-enter-active { - opacity: 1; -} -.ant-show-help-leave { - opacity: 1; -} -.ant-show-help-leave-active { - opacity: 0; -} -.ant-show-help-item { - overflow: hidden; - transition: height 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) !important; -} -.ant-show-help-item-appear, -.ant-show-help-item-enter { - transform: translateY(-5px); - opacity: 0; -} -.ant-show-help-item-appear-active, -.ant-show-help-item-enter-active { - transform: translateY(0); - opacity: 1; -} -.ant-show-help-item-leave { - transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important; -} -.ant-show-help-item-leave-active { - transform: translateY(-5px); -} -@keyframes diffZoomIn1 { - 0% { - transform: scale(0); - opacity: 0; - } - 100% { - transform: scale(1); - opacity: 1; - } -} -@keyframes diffZoomIn2 { - 0% { - transform: scale(0); - opacity: 0; - } - 100% { - transform: scale(1); - opacity: 1; - } -} -@keyframes diffZoomIn3 { - 0% { - transform: scale(0); - opacity: 0; - } - 100% { - transform: scale(1); - opacity: 1; - } -} -.ant-form-rtl { - direction: rtl; -} -.ant-form-rtl .ant-form-item-label { - text-align: left; -} -.ant-form-rtl .ant-form-item-label > label.ant-form-item-required::before { - margin-right: 0; - margin-left: 4px; -} -.ant-form-rtl .ant-form-item-label > label::after { - margin: 0 2px 0 8px; -} -.ant-form-rtl .ant-form-item-label > label .ant-form-item-optional { - margin-right: 0px; - margin-left: 0; -} -.ant-col-rtl .ant-form-item-control:first-child { - width: 100%; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input { - padding-right: 7px; - padding-left: 24px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix { - padding-right: 7px; - padding-left: 18px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input { - padding: 0; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input-number-affix-wrapper .ant-input-number { - padding: 0; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix { - right: auto; - left: 28px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input-number { - padding-left: 18px; -} -.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-arrow, -.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-clear, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-arrow, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-clear, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon) > .ant-select .ant-select-arrow, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon) > .ant-select .ant-select-clear { - right: auto; - left: 32px; -} -.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-selection-selected-value, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection-selected-value, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon) > .ant-select .ant-select-selection-selected-value { - padding-right: 0; - padding-left: 42px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow { - margin-right: 0; - margin-left: 19px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear { - right: auto; - left: 32px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-picker { - padding-right: 7px; - padding-left: 22.6px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large { - padding-right: 11px; - padding-left: 26.6px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small { - padding-right: 7px; - padding-left: 22.6px; -} -.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon, -.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon, -.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon, -.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon { - right: auto; - left: 0; -} -.ant-form-rtl.ant-form-inline .ant-form-item { - margin-right: 0; - margin-left: 16px; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/User/RegisterPanel/unlock.less ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -707,3 +118,35 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/User/RegisterPanel/index.less?modules ***! + \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.wrap___FgHHn { + width: 465px; + background-color: #F7F8FA; + border: 1px solid #E2E2E2; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + padding: 30px; + margin-bottom: 15px; + border-radius: 8px; +} +.wrap___FgHHn .formWrapper___FFsPt div[class~='ant-form-item-label'] { + margin-bottom: 15px; + padding: 0; +} +.wrap___FgHHn .formWrapper___FFsPt div[class~='ant-form-item-label'] label { + font-size: 16px; + color: #666666; +} +.wrap___FgHHn .formWrapper___FFsPt .link___Z6mDj { + color: #666666; +} +.wrap___FgHHn .formWrapper___FFsPt .link___Z6mDj:hover { + color: #3061D0; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/p__User__Register__index.async.js b/p__User__Register__index.async.js index 34cf381d0d..994f4b1099 100644 --- a/p__User__Register__index.async.js +++ b/p__User__Register__index.async.js @@ -1,440 +1,47 @@ "use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([[91470],{ -/***/ 16379: -/*!*****************************************************!*\ - !*** ./src/components/User/RegisterPanel/index.tsx ***! - \*****************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var antd_es_message_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/message/style */ 14934); -/* harmony import */ var antd_es_message__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd/es/message */ 12461); -/* harmony import */ var antd_es_checkbox_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/checkbox/style */ 82000); -/* harmony import */ var antd_es_checkbox__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd/es/checkbox */ 32808); -/* harmony import */ var antd_es_button_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd/es/button/style */ 29913); -/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd/es/button */ 71577); -/* harmony import */ var antd_es_input_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! antd/es/input/style */ 69463); -/* harmony import */ var antd_es_input__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd/es/input */ 75008); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__); -/* harmony import */ var antd_es_form_style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd/es/form/style */ 75627); -/* harmony import */ var antd_es_form__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd/es/form */ 51018); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _unlock__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./unlock */ 61854); -/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/utils/util */ 29427); -/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! umi */ 89214); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ 85893); - - - - - - - - - - - - - - - - - - - - -var inputStyle = { - height: 48 -}; -var loginRegex = /(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i; -var initialState = { - timer: 0 -}; -var Types; -(function (Types) { - Types[Types["setTimer"] = 0] = "setTimer"; -})(Types || (Types = {})); -function reducer(state, action) { - switch (action.type) { - case Types.setTimer: - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8___default()({}, state), {}, { - timer: action.payload - }); - default: - throw new Error(); - } -} -var RegisterComponent = function RegisterComponent(_ref) { - var _globalSetting$settin, _globalSetting$settin2; - var validateName = _ref.validateName, - getCode = _ref.getCode, - register = _ref.register, - _ref$style = _ref.style, - style = _ref$style === void 0 ? {} : _ref$style, - _ref$buttonText = _ref.buttonText, - buttonText = _ref$buttonText === void 0 ? '注册' : _ref$buttonText, - globalSetting = _ref.globalSetting; - var _Form$useForm = antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].useForm */ .Z.useForm(), - _Form$useForm2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7___default()(_Form$useForm, 1), - form = _Form$useForm2[0]; - var _useReducer = (0,react__WEBPACK_IMPORTED_MODULE_9__.useReducer)(reducer, initialState), - _useReducer2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7___default()(_useReducer, 2), - state = _useReducer2[0], - dispatch = _useReducer2[1]; - var _useState = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(false), - _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7___default()(_useState, 2), - codeLoading = _useState2[0], - setCodeLoading = _useState2[1]; - var timer = state.timer; - function onFinish(_x) { - return _onFinish.apply(this, arguments); - } - function _onFinish() { - _onFinish = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().mark(function _callee2(values) { - var login, password, code, _yield$register, message, status, addinfo, href; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - login = values.login, password = values.password, code = values.code; - _context2.next = 3; - return register({ - login: login, - password: password, - code: code - }); - case 3: - _yield$register = _context2.sent; - message = _yield$register.message; - status = _yield$register.status; - if (!(status < 0)) { - _context2.next = 9; - break; - } - form.setFields([{ - name: 'code', - errors: [message] - }]); - return _context2.abrupt("return"); - case 9: - localStorage.removeItem('extension-modal'); - antd_es_message__WEBPACK_IMPORTED_MODULE_15__/* ["default"].info */ .ZP.info('注册成功'); - addinfo = localStorage.getItem('addinfo'); - if (addinfo === '2') { - localStorage.setItem('addinfo', '2'); - href = localStorage.getItem('classromeurl'); - umi__WEBPACK_IMPORTED_MODULE_12__.history.replace(href); - } else { - umi__WEBPACK_IMPORTED_MODULE_12__.history.replace('/'); - } - case 13: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return _onFinish.apply(this, arguments); - } - function onValidateName() { - return _onValidateName.apply(this, arguments); - } - function _onValidateName() { - _onValidateName = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().mark(function _callee3() { - var login, flag, _yield$validateName, status, message, isOk; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - login = form.getFieldValue('login'); - flag = 0; - if (!(!loginRegex.test(login) || login.indexOf(" ") > -1)) { - _context3.next = 6; - break; - } - form.setFields([{ - name: 'login', - errors: ['请输入正确的手机号或邮箱'] - }]); - flag = 1; - return _context3.abrupt("return", flag); - case 6: - _context3.next = 8; - return validateName({ - login: login, - type: 1 - }); - case 8: - _yield$validateName = _context3.sent; - status = _yield$validateName.status; - message = _yield$validateName.message; - isOk = status > 0; - if (isOk) { - flag = 2; - } else { - form.setFields([{ - name: 'login', - errors: [message] - }]); - flag = 1; - } - return _context3.abrupt("return", flag); - case 14: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return _onValidateName.apply(this, arguments); - } - var onGetCode = /*#__PURE__*/function () { - var _ref2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().mark(function _callee() { - var verify, login, _yield$getCode, status, message; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4___default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - verify = form.getFieldValue('verify'); - login = form.getFieldValue('login'); - if (verify) { - _context.next = 6; - break; - } - form.validateFields(['verify']); - _context.next = 15; - break; - case 6: - setCodeLoading(true); - _context.next = 9; - return getCode({ - login: login, - type: 1, - smscode: (0,_utils_util__WEBPACK_IMPORTED_MODULE_11__/* .setmiyah */ .M)(login) - }); - case 9: - _yield$getCode = _context.sent; - status = _yield$getCode.status; - message = _yield$getCode.message; - if (status < 0) { - form.setFields([{ - name: 'code', - errors: [message] - }]); - } - dispatch({ - type: Types.setTimer, - payload: 60 - }); - setCodeLoading(false); - case 15: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function onGetCode() { - return _ref2.apply(this, arguments); - }; - }(); - function validatePassword(_, value) { - if (!value) { - return Promise.resolve(); - } - if (value.indexOf(" ") > -1) { - return Promise.reject('请输入8-16位密码,区分大小写、不能使用空格'); - } - var len = value.length; - if (len >= 8 && len <= 16) { - return Promise.resolve(); - } else { - return Promise.reject('请输入8-16位密码,区分大小写、不能使用空格'); - } - } - var verifyValidate = function verifyValidate(_, value) { - return value ? Promise.resolve() : Promise.reject('请拖动滑块验证'); - }; - (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () { - if (timer > 0) { - setTimeout(function () { - dispatch({ - type: Types.setTimer, - payload: timer - 1 - }); - }, 1000); - } - }, [timer]); - var LoginValidate = function LoginValidate(_, value) { - if (!value) { - return Promise.resolve(); - } - if (value.indexOf(" ") > -1) { - return Promise.reject('请输入正确的手机号或邮箱'); - } - if (loginRegex.test(value)) { - return Promise.resolve(); - } else { - return Promise.reject('请输入正确的手机号或邮箱'); - } - }; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { - layout: "vertical", - form: form, - style: style, - initialValues: { - autologin: true, - protool: false - }, - onFinish: onFinish, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - name: "login", - rules: [{ - required: true, - message: '请输入正确的手机号或邮箱' - }, { - validator: LoginValidate - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_input__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { - style: inputStyle, - autoComplete: "new-login", - size: "large", - placeholder: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7", - onChange: function onChange() { - return form.setFieldsValue({ - verify: 0 - }); - } - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - name: "verify", - rules: [{ - validator: verifyValidate - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_unlock__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, { - onValidate: onValidateName - }) - }), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin = globalSetting.setting) !== null && _globalSetting$settin !== void 0 && _globalSetting$settin.is_local) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - name: "code", - rules: [{ - required: true, - message: '请输入验证码' - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_input__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { - suffix: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(antd_es_button__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { - loading: codeLoading, - type: "link", - onClick: onGetCode, - disabled: timer > 0, - children: [" ", timer === 0 ? '获取验证码' : "".concat(timer, "\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6")] - }), - style: { - paddingRight: 2, - height: 48 - }, - placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", - size: "large" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - name: "password", - rules: [{ - required: true, - message: '请输入8-16位密码,区分大小写、不能使用空格' - }, { - validator: validatePassword - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_input__WEBPACK_IMPORTED_MODULE_16__/* ["default"].Password */ .Z.Password, { - autoComplete: "new-password", - style: inputStyle, - size: "large", - placeholder: "\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199", - visibilityToggle: false - }) - }), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin2 = globalSetting.setting) !== null && _globalSetting$settin2 !== void 0 && _globalSetting$settin2.is_local) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - className: "service-terms", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - noStyle: true, - name: "protool", - valuePropName: "checked", - rules: [{ - validator: function validator(_, value) { - return value ? Promise.resolve() : Promise.reject('请同意《服务协议条款》'); - } - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, { - style: { - marginRight: 10 - } - }) - }), "\u6211\u5DF2\u9605\u8BFB\u5E76\u540C\u610F ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)("a", { - href: "https://engineer.educoder.net/help?index=4", - target: "_blank", - children: "\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(antd_es_form__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Item */ .Z.Item, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(antd_es_button__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { - size: "large", - type: "primary", - htmlType: "submit", - block: true, - style: inputStyle, - className: "font16", - children: [" ", buttonText, " "] - }) - })] - }); -}; -/* harmony default export */ __webpack_exports__["Z"] = ((0,umi__WEBPACK_IMPORTED_MODULE_12__.connect)(function (_ref3) { - var globalSetting = _ref3.globalSetting; - return { - globalSetting: globalSetting - }; -})(RegisterComponent)); - -/***/ }), - -/***/ 61854: -/*!******************************************************************!*\ - !*** ./src/components/User/RegisterPanel/unlock.tsx + 1 modules ***! - \******************************************************************/ +/***/ 48028: +/*!*******************************************************!*\ + !*** ./src/pages/User/Register/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__, { - "Z": function() { return /* binding */ unlock; } + "default": function() { return /* binding */ Register; } }); +// EXTERNAL MODULE: ./node_modules/antd/es/button/style/index.js + 1 modules +var style = __webpack_require__(29913); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// 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/@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(42122); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./src/components/User/RegisterPanel/unlock.less +// EXTERNAL MODULE: ./src/components/User/RegisterPanel/index.tsx + 1 modules +var RegisterPanel = __webpack_require__(68269); +// EXTERNAL MODULE: ./src/pages/User/Register/service.ts +var service = __webpack_require__(88063); +;// CONCATENATED MODULE: ./src/pages/User/Register/index.less?modules // extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js -var CloseOutlined = __webpack_require__(28508); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CheckOutlined.js -var CheckOutlined = __webpack_require__(88284); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/DoubleRightOutlined.js -var DoubleRightOutlined = __webpack_require__(43183); -// EXTERNAL MODULE: ./src/utils/util.tsx -var util = __webpack_require__(29427); +/* harmony default export */ var Registermodules = ({"loginBtn":"loginBtn___QkOCa"}); +// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules +var _umi_production_exports = __webpack_require__(89214); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(85893); -;// CONCATENATED MODULE: ./src/components/User/RegisterPanel/unlock.tsx - +;// CONCATENATED MODULE: ./src/pages/User/Register/index.tsx @@ -444,216 +51,20 @@ var jsx_runtime = __webpack_require__(85893); -var initialState = { - moveX: 0, - verify: 0 -}; -var Types; -(function (Types) { - Types[Types["SET_MOVEX"] = 0] = "SET_MOVEX"; - Types[Types["VERIFY"] = 1] = "VERIFY"; -})(Types || (Types = {})); -function reducer(state, action) { - switch (action.type) { - case Types.SET_MOVEX: - return objectSpread2_default()(objectSpread2_default()({}, state), {}, { - moveX: action.payload - }); - case Types.VERIFY: - return objectSpread2_default()(objectSpread2_default()({}, state), action.payload); - default: - throw new Error(); - } -} - -//antd 自定义表单项 -/* harmony default export */ var unlock = (function (_ref) { - var value = _ref.value, - onChange = _ref.onChange, - onValidate = _ref.onValidate; - var _useReducer = (0,react.useReducer)(reducer, initialState), - _useReducer2 = slicedToArray_default()(_useReducer, 2), - state = _useReducer2[0], - dispatch = _useReducer2[1]; - var moveX = state.moveX, - verify = state.verify; - var handlerEl = (0,react.useRef)(); - var wrapperEL = (0,react.useRef)(); - var bgEl = (0,react.useRef)(); - var startDrag = (0,react.useRef)(); - var wrapperRect = (0,react.useMemo)(function () { - if (wrapperEL.current) { - return wrapperEL.current.getBoundingClientRect(); - } - }, [wrapperEL.current]); - (0,react.useEffect)(function () { - if (wrapperRect) { - var onMove = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(e) { - var pageX; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - if (!startDrag.current) { - _context.next = 15; - break; - } - pageX = e.pageX - left; - if (isMobile) { - pageX = e.changedTouches[0].pageX - left; - } - if (pageX < 0) { - pageX = 0; - } - if (!(pageX >= distance)) { - _context.next = 14; - break; - } - startDrag.current = false; - pageX = distance; - _context.next = 9; - return onValidate(); - case 9: - flag = _context.sent; - dispatch({ - type: Types.VERIFY, - payload: { - moveX: pageX, - verify: flag - } - }); - onChange(flag); - _context.next = 15; - break; - case 14: - dispatch({ - type: Types.SET_MOVEX, - payload: pageX - }); - case 15: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function onMove(_x) { - return _ref2.apply(this, arguments); - }; - }(); - var onMouseUp = function onMouseUp() { - startDrag.current = false; - if (flag === 0) { - handlerEl.current.style.transition = 'left .5s ease'; - bgEl.current.style.transition = 'width .5s ease'; - dispatch({ - type: Types.VERIFY, - payload: { - moveX: 0 - } - }); - } - }; - var flag = 0; - var width = wrapperRect.width, - left = wrapperRect.left; - var distance = width - 48; - var isMobile = !(0,util/* isPc */.b9)(); - if (!isMobile) { - window.addEventListener('mousemove', onMove); - window.addEventListener('mouseup', onMouseUp); - } else { - window.addEventListener('touchmove', onMove); - window.addEventListener('touchend', onMouseUp); - } - return function () { - if (!isMobile) { - window.removeEventListener('mousemove', onMove); - window.removeEventListener('mouseup', onMouseUp); - } else { - window.removeEventListener('touchmove', onMove); - window.removeEventListener('touchend', onMouseUp); - } - }; - } - }, [wrapperRect, util/* isPc */.b9]); - (0,react.useEffect)(function () { - dispatch({ - type: Types.VERIFY, - payload: { - verify: value, - moveX: value ? (wrapperRect === null || wrapperRect === void 0 ? void 0 : wrapperRect.width) - 48 : 0 - } - }); - }, [value]); - function onStartDrag() { - if (!verify) { - startDrag.current = true; - handlerEl.current.style.transition = ''; - bgEl.current.style.transition = ''; - } - } - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - ref: wrapperEL, - className: "unlock-wrapper", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - ref: bgEl, - className: verify === 1 ? 'unlock-error-bg' : 'unlock-bg', - style: { - width: moveX - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "unlock-text", - children: verify ? verify === 1 ? '验证失败' : '验证通过' : '拖动滑块至右侧验证' - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - ref: handlerEl, - onTouchStart: onStartDrag, - onMouseDown: onStartDrag, - style: { - left: moveX - }, - className: "unlock-handler", - children: verify ? verify === 1 ? /*#__PURE__*/(0,jsx_runtime.jsx)(CloseOutlined/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(CheckOutlined/* default */.Z, {}) : /*#__PURE__*/(0,jsx_runtime.jsx)(DoubleRightOutlined/* default */.Z, {}) - })] - }); -}); - -/***/ }), - -/***/ 47407: -/*!*******************************************!*\ - !*** ./src/pages/User/Register/index.tsx ***! - \*******************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -__webpack_require__.r(__webpack_exports__); -/* 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_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __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_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_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 react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _components_User_RegisterPanel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/User/RegisterPanel */ 16379); -/* harmony import */ var _service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./service */ 88063); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 85893); - - - - -/* harmony default export */ __webpack_exports__["default"] = (function () { +/* harmony default export */ var Register = (function () { var registerPanelProps = { - getCode: _service__WEBPACK_IMPORTED_MODULE_5__/* .getValidateCode */ .o1, + getCode: service/* getValidateCode */.o1, register: function () { - var _register2 = _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_1___default()().mark(function _callee(values) { + var _register2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(values) { var response; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { + return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: _context.next = 2; - return (0,_service__WEBPACK_IMPORTED_MODULE_5__/* .register */ .z2)(values); + return (0,service/* register */.z2)(values); case 2: response = _context.sent; return _context.abrupt("return", response); @@ -668,46 +79,30 @@ __webpack_require__.r(__webpack_exports__); } return register; }(), - validateName: _service__WEBPACK_IMPORTED_MODULE_5__/* .validateName */ .Ol + validateName: service/* validateName */.Ol }; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_User_RegisterPanel__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, registerPanelProps)); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(RegisterPanel/* default */.Z, objectSpread2_default()({}, registerPanelProps)), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + block: true, + className: Registermodules.loginBtn, + onClick: function onClick() { + return _umi_production_exports.history.push('/user/login'); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#666666' + }, + children: "\u5DF2\u6709\u8D26\u53F7\uFF1F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#3061D0' + }, + children: "\u7ACB\u5373\u767B\u5F55" + })] + })] + }); }); -/***/ }), - -/***/ 88063: -/*!********************************************!*\ - !*** ./src/pages/User/Register/service.ts ***! - \********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Ol": function() { return /* binding */ validateName; }, -/* harmony export */ "c0": function() { return /* binding */ resetPassword; }, -/* harmony export */ "o1": function() { return /* binding */ getValidateCode; }, -/* harmony export */ "ry": function() { return /* binding */ wechatRegister; }, -/* harmony export */ "z2": function() { return /* binding */ register; } -/* harmony export */ }); -/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/utils/fetch */ 84519); - -//type 1 表示用户注册 2 忘记密码 3 绑定手机/邮箱 -function validateName(params) { - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .get */ .U2)('accounts/valid_email_and_phone.json', params); -} -//type 1:用户注册注册 2:忘记密码 3:绑定手机 4: 绑定邮箱,5: 验收手机号有效 -function getValidateCode(params) { - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .get */ .U2)('accounts/get_verification_code.json', params); -} -function register(params) { - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .post */ .v_)('accounts/register.json', params); -} -function wechatRegister(params) { - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .post */ .v_)('weapps/register.json', params); -} -function resetPassword(params) { - return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_0__/* .post */ .v_)('accounts/reset_password.json', params); -} - /***/ }) }]); \ No newline at end of file diff --git a/p__User__Register__index.chunk.css b/p__User__Register__index.chunk.css index d8849cf64b..61d3eebbc3 100644 --- a/p__User__Register__index.chunk.css +++ b/p__User__Register__index.chunk.css @@ -1,592 +1,3 @@ -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/form/style/index.less ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -.ant-form-item .ant-input-number + .ant-form-text { - margin-left: 8px; -} -.ant-form-inline { - display: flex; - flex-wrap: wrap; -} -.ant-form-inline .ant-form-item { - flex: none; - flex-wrap: nowrap; - margin-right: 16px; - margin-bottom: 0; -} -.ant-form-inline .ant-form-item-with-help { - margin-bottom: 16px; -} -.ant-form-inline .ant-form-item > .ant-form-item-label, -.ant-form-inline .ant-form-item > .ant-form-item-control { - display: inline-block; - vertical-align: top; -} -.ant-form-inline .ant-form-item > .ant-form-item-label { - flex: none; -} -.ant-form-inline .ant-form-item .ant-form-text { - display: inline-block; -} -.ant-form-inline .ant-form-item .ant-form-item-has-feedback { - display: inline-block; -} -.ant-form-horizontal .ant-form-item-label { - flex-grow: 0; -} -.ant-form-horizontal .ant-form-item-control { - flex: 1 1; - min-width: 0; -} -.ant-form-horizontal .ant-form-item-label[class$='-24'] + .ant-form-item-control, -.ant-form-horizontal .ant-form-item-label[class*='-24 '] + .ant-form-item-control { - min-width: 0; - min-width: initial; -} -.ant-form-vertical .ant-form-item-row { - flex-direction: column; -} -.ant-form-vertical .ant-form-item-label > label { - height: auto; -} -.ant-form-vertical .ant-form-item .ant-form-item-control { - width: 100%; -} -.ant-form-vertical .ant-form-item-label, -.ant-col-24.ant-form-item-label, -.ant-col-xl-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; -} -.ant-form-vertical .ant-form-item-label > label, -.ant-col-24.ant-form-item-label > label, -.ant-col-xl-24.ant-form-item-label > label { - margin: 0; -} -.ant-form-vertical .ant-form-item-label > label::after, -.ant-col-24.ant-form-item-label > label::after, -.ant-col-xl-24.ant-form-item-label > label::after { - display: none; -} -.ant-form-rtl.ant-form-vertical .ant-form-item-label, -.ant-form-rtl.ant-col-24.ant-form-item-label, -.ant-form-rtl.ant-col-xl-24.ant-form-item-label { - text-align: right; -} -@media (max-width: 575px) { - .ant-form-item .ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-form-item .ant-form-item-label > label { - margin: 0; - } - .ant-form-item .ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-form-item .ant-form-item-label { - text-align: right; - } - .ant-form .ant-form-item { - flex-wrap: wrap; - } - .ant-form .ant-form-item .ant-form-item-label, - .ant-form .ant-form-item .ant-form-item-control { - flex: 0 0 100%; - max-width: 100%; - } - .ant-col-xs-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-col-xs-24.ant-form-item-label > label { - margin: 0; - } - .ant-col-xs-24.ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-col-xs-24.ant-form-item-label { - text-align: right; - } -} -@media (max-width: 767px) { - .ant-col-sm-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-col-sm-24.ant-form-item-label > label { - margin: 0; - } - .ant-col-sm-24.ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-col-sm-24.ant-form-item-label { - text-align: right; - } -} -@media (max-width: 991px) { - .ant-col-md-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-col-md-24.ant-form-item-label > label { - margin: 0; - } - .ant-col-md-24.ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-col-md-24.ant-form-item-label { - text-align: right; - } -} -@media (max-width: 1199px) { - .ant-col-lg-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-col-lg-24.ant-form-item-label > label { - margin: 0; - } - .ant-col-lg-24.ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-col-lg-24.ant-form-item-label { - text-align: right; - } -} -@media (max-width: 1599px) { - .ant-col-xl-24.ant-form-item-label { - padding: 0 0 4px; - line-height: 1.66667; - white-space: normal; - white-space: initial; - text-align: left; - } - .ant-col-xl-24.ant-form-item-label > label { - margin: 0; - } - .ant-col-xl-24.ant-form-item-label > label::after { - display: none; - } - .ant-form-rtl.ant-col-xl-24.ant-form-item-label { - text-align: right; - } -} -.ant-form-item { - /* Some non-status related component style is in `components.less` */ - /* To support leave along ErrorList. We add additional className to handle explain style */ -} -.ant-form-item-explain-error { - color: #ff4d4f; -} -.ant-form-item-explain-warning { - color: #faad14; -} -.ant-form-item-has-feedback .ant-switch { - margin: 2px 0 4px; -} -.ant-form-item-has-warning .ant-form-item-split { - color: #faad14; -} -.ant-form-item-has-error .ant-form-item-split { - color: #ff4d4f; -} -.ant-form { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; -} -.ant-form legend { - display: block; - width: 100%; - margin-bottom: 20px; - padding: 0; - color: rgba(0, 0, 0, 0.45); - font-size: 14px; - line-height: inherit; - border: 0; - border-bottom: 1px solid #d9d9d9; -} -.ant-form label { - font-size: 12px; -} -.ant-form input[type='search'] { - box-sizing: border-box; -} -.ant-form input[type='radio'], -.ant-form input[type='checkbox'] { - line-height: normal; -} -.ant-form input[type='file'] { - display: block; -} -.ant-form input[type='range'] { - display: block; - width: 100%; -} -.ant-form select[multiple], -.ant-form select[size] { - height: auto; -} -.ant-form input[type='file']:focus, -.ant-form input[type='radio']:focus, -.ant-form input[type='checkbox']:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.ant-form output { - display: block; - padding-top: 15px; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - line-height: 1.66667; -} -.ant-form .ant-form-text { - display: inline-block; - padding-right: 8px; -} -.ant-form-small .ant-form-item-label > label { - height: 22px; -} -.ant-form-small .ant-form-item-control-input { - min-height: 22px; -} -.ant-form-large .ant-form-item-label > label { - height: 32px; -} -.ant-form-large .ant-form-item-control-input { - min-height: 32px; -} -.ant-form-item { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - margin-bottom: 16px; - vertical-align: top; -} -.ant-form-item-with-help { - transition: none; -} -.ant-form-item-hidden, -.ant-form-item-hidden.ant-row { - display: none; -} -.ant-form-item-label { - display: inline-block; - flex-grow: 0; - overflow: hidden; - white-space: nowrap; - text-align: right; - vertical-align: middle; -} -.ant-form-item-label-left { - text-align: left; -} -.ant-form-item-label-wrap { - overflow: visible; - overflow: initial; - line-height: 1.41667em; - white-space: inherit; -} -.ant-form-item-label > label { - position: relative; - display: inline-flex; - align-items: center; - max-width: 100%; - height: 28px; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; -} -.ant-form-item-label > label > .anticon { - font-size: 12px; - vertical-align: top; -} -.ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before { - display: inline-block; - margin-right: 4px; - color: #ff4d4f; - font-size: 12px; - font-family: SimSun, sans-serif; - line-height: 1; - content: '*'; -} -.ant-form-hide-required-mark .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before { - display: none; -} -.ant-form-item-label > label .ant-form-item-optional { - display: inline-block; - margin-left: 0px; - color: rgba(0, 0, 0, 0.45); -} -.ant-form-hide-required-mark .ant-form-item-label > label .ant-form-item-optional { - display: none; -} -.ant-form-item-label > label .ant-form-item-tooltip { - color: rgba(0, 0, 0, 0.45); - cursor: help; - -webkit-writing-mode: horizontal-tb; - -ms-writing-mode: lr-tb; - writing-mode: horizontal-tb; - -webkit-margin-start: 0px; - margin-inline-start: 0px; -} -.ant-form-item-label > label::after { - content: ':'; - position: relative; - top: -0.5px; - margin: 0 8px 0 2px; -} -.ant-form-item-label > label.ant-form-item-no-colon::after { - content: ' '; -} -.ant-form-item-control { - display: flex; - flex-direction: column; - flex-grow: 1; -} -.ant-form-item-control:first-child:not([class^='ant-col-']):not([class*=' ant-col-']) { - width: 100%; -} -.ant-form-item-control-input { - position: relative; - display: flex; - align-items: center; - min-height: 28px; -} -.ant-form-item-control-input-content { - flex: auto; - max-width: 100%; -} -.ant-form-item-explain, -.ant-form-item-extra { - clear: both; - color: rgba(0, 0, 0, 0.45); - font-size: 12px; - line-height: 1.66667; - transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1); -} -.ant-form-item-explain-connected { - width: 100%; -} -.ant-form-item-extra { - min-height: 16px; -} -.ant-form-item-with-help .ant-form-item-explain { - height: auto; - opacity: 1; -} -.ant-form-item-feedback-icon { - font-size: 12px; - text-align: center; - visibility: visible; - animation: zoomIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46); - pointer-events: none; -} -.ant-form-item-feedback-icon-success { - color: #52c41a; -} -.ant-form-item-feedback-icon-error { - color: #ff4d4f; -} -.ant-form-item-feedback-icon-warning { - color: #faad14; -} -.ant-form-item-feedback-icon-validating { - color: #3061D0; -} -.ant-show-help { - transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); -} -.ant-show-help-appear, -.ant-show-help-enter { - opacity: 0; -} -.ant-show-help-appear-active, -.ant-show-help-enter-active { - opacity: 1; -} -.ant-show-help-leave { - opacity: 1; -} -.ant-show-help-leave-active { - opacity: 0; -} -.ant-show-help-item { - overflow: hidden; - transition: height 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) !important; -} -.ant-show-help-item-appear, -.ant-show-help-item-enter { - transform: translateY(-5px); - opacity: 0; -} -.ant-show-help-item-appear-active, -.ant-show-help-item-enter-active { - transform: translateY(0); - opacity: 1; -} -.ant-show-help-item-leave { - transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important; -} -.ant-show-help-item-leave-active { - transform: translateY(-5px); -} -@keyframes diffZoomIn1 { - 0% { - transform: scale(0); - opacity: 0; - } - 100% { - transform: scale(1); - opacity: 1; - } -} -@keyframes diffZoomIn2 { - 0% { - transform: scale(0); - opacity: 0; - } - 100% { - transform: scale(1); - opacity: 1; - } -} -@keyframes diffZoomIn3 { - 0% { - transform: scale(0); - opacity: 0; - } - 100% { - transform: scale(1); - opacity: 1; - } -} -.ant-form-rtl { - direction: rtl; -} -.ant-form-rtl .ant-form-item-label { - text-align: left; -} -.ant-form-rtl .ant-form-item-label > label.ant-form-item-required::before { - margin-right: 0; - margin-left: 4px; -} -.ant-form-rtl .ant-form-item-label > label::after { - margin: 0 2px 0 8px; -} -.ant-form-rtl .ant-form-item-label > label .ant-form-item-optional { - margin-right: 0px; - margin-left: 0; -} -.ant-col-rtl .ant-form-item-control:first-child { - width: 100%; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input { - padding-right: 7px; - padding-left: 24px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix { - padding-right: 7px; - padding-left: 18px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input { - padding: 0; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input-number-affix-wrapper .ant-input-number { - padding: 0; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix { - right: auto; - left: 28px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-input-number { - padding-left: 18px; -} -.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-arrow, -.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-clear, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-arrow, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-clear, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon) > .ant-select .ant-select-arrow, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon) > .ant-select .ant-select-clear { - right: auto; - left: 32px; -} -.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-selection-selected-value, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection-selected-value, -.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon) > .ant-select .ant-select-selection-selected-value { - padding-right: 0; - padding-left: 42px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow { - margin-right: 0; - margin-left: 19px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear { - right: auto; - left: 32px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-picker { - padding-right: 7px; - padding-left: 22.6px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large { - padding-right: 11px; - padding-left: 26.6px; -} -.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small { - padding-right: 7px; - padding-left: 22.6px; -} -.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon, -.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon, -.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon, -.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon { - right: auto; - left: 0; -} -.ant-form-rtl.ant-form-inline .ant-form-item { - margin-right: 0; - margin-left: 16px; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/User/RegisterPanel/unlock.less ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -645,3 +56,49 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/User/RegisterPanel/index.less?modules ***! + \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.wrap___FgHHn { + width: 465px; + background-color: #F7F8FA; + border: 1px solid #E2E2E2; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + padding: 30px; + margin-bottom: 15px; + border-radius: 8px; +} +.wrap___FgHHn .formWrapper___FFsPt div[class~='ant-form-item-label'] { + margin-bottom: 15px; + padding: 0; +} +.wrap___FgHHn .formWrapper___FFsPt div[class~='ant-form-item-label'] label { + font-size: 16px; + color: #666666; +} +.wrap___FgHHn .formWrapper___FFsPt .link___Z6mDj { + color: #666666; +} +.wrap___FgHHn .formWrapper___FFsPt .link___Z6mDj:hover { + color: #3061D0; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/User/Register/index.less?modules ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.loginBtn___QkOCa { + height: 68px; + border-radius: 8px; +} +.loginBtn___QkOCa span { + font-size: 16px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/p__User__ResetPassword__index.async.js b/p__User__ResetPassword__index.async.js index 2932fe6295..b8b4b6d105 100644 --- a/p__User__ResetPassword__index.async.js +++ b/p__User__ResetPassword__index.async.js @@ -261,9 +261,9 @@ function resetPassword(params) { /***/ }), -/***/ 95987: +/***/ 63100: /*!************************************************************!*\ - !*** ./src/pages/User/ResetPassword/index.tsx + 1 modules ***! + !*** ./src/pages/User/ResetPassword/index.tsx + 2 modules ***! \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -307,6 +307,9 @@ var unlock = __webpack_require__(61854); var util = __webpack_require__(29427); // EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules var _umi_production_exports = __webpack_require__(89214); +;// CONCATENATED MODULE: ./src/components/User/ResetPasswordPanel/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var ResetPasswordPanelmodules = ({"wrap":"wrap___jh1g8","formWrapper":"formWrapper___ac7hS","link":"link___eiEQu"}); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(85893); ;// CONCATENATED MODULE: ./src/components/User/ResetPasswordPanel/index.tsx @@ -326,8 +329,10 @@ var jsx_runtime = __webpack_require__(85893); + var inputStyle = { - height: 48 + height: 48, + borderRadius: 4 }; var loginRegex = /(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i; var initialState = { @@ -562,114 +567,126 @@ function reducer(state, action) { return Promise.reject('请输入正确的手机号或邮箱'); } }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - layout: "vertical", - form: form, - style: style, - initialValues: { - autologin: true, - protool: true - }, - onFinish: onFinish, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "login", - rules: [{ - required: true, - message: '请输入正确的手机号或邮箱' - }, { - validator: LoginValidate - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - style: inputStyle, - size: "large", - placeholder: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7", - onChange: function onChange() { - return form.setFieldsValue({ - verify: 0 - }); - } - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "verify", - rules: [{ - validator: verifyValidate - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(unlock/* default */.Z, { - onValidate: onValidateName - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "new_password", - rules: [{ - required: true, - message: '请输入8-16位密码,区分大小写、不能使用空格' - }, { - validator: validatePassword - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Password */.Z.Password, { - style: inputStyle, - size: "large", - placeholder: "\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199", - visibilityToggle: false - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "new_password_confirmation", - rules: [{ - required: true, - message: '请再次输入新密码' - }, function (_ref3) { - var getFieldValue = _ref3.getFieldValue; - return { - validator: function validator(_, value) { - if (!value || getFieldValue('new_password') === value) { - return Promise.resolve(); - } - return Promise.reject('两次密码不一致'); + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ResetPasswordPanelmodules.wrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + layout: "vertical", + form: form, + style: style, + className: ResetPasswordPanelmodules.formWrapper, + initialValues: { + autologin: true, + protool: true + }, + onFinish: onFinish, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "login", + label: "\u8D26\u53F7", + required: false, + rules: [{ + required: true, + message: '请输入正确的手机号或邮箱' + }, { + validator: LoginValidate + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + style: inputStyle, + size: "large", + placeholder: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7", + onChange: function onChange() { + return form.setFieldsValue({ + verify: 0 + }); } - }; - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Password */.Z.Password, { - style: inputStyle, - size: "large", - placeholder: "\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801", - visibilityToggle: false - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - name: "code", - rules: [{ - required: true, - message: '请输入验证码' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - suffix: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { - loading: codeLoading, - type: "link", - onClick: onGetCode, - disabled: timer > 0, - children: [" ", timer === 0 ? '获取验证码' : "".concat(timer, "\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6")] - }), - style: { - paddingRight: 2, - height: 48 - }, - placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", - size: "large" - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { - size: "large", - type: "primary", - htmlType: "submit", - block: true, - style: inputStyle, - children: " \u5B8C\u6210 " - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { - className: "tc", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { - to: "/user/login", - children: "\u8FD4\u56DE\u767B\u5F55" - }) - })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "verify", + rules: [{ + validator: verifyValidate + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(unlock/* default */.Z, { + onValidate: onValidateName + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u5BC6\u7801", + required: false, + name: "new_password", + rules: [{ + required: true, + message: '请输入8-16位密码,区分大小写、不能使用空格' + }, { + validator: validatePassword + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Password */.Z.Password, { + style: inputStyle, + size: "large", + placeholder: "\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199", + visibilityToggle: false + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "new_password_confirmation", + rules: [{ + required: true, + message: '请再次输入新密码' + }, function (_ref3) { + var getFieldValue = _ref3.getFieldValue; + return { + validator: function validator(_, value) { + if (!value || getFieldValue('new_password') === value) { + return Promise.resolve(); + } + return Promise.reject('两次密码不一致'); + } + }; + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Password */.Z.Password, { + style: inputStyle, + size: "large", + placeholder: "\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801", + visibilityToggle: false + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "code", + label: "\u9A8C\u8BC1\u7801", + required: false, + rules: [{ + required: true, + message: '请输入验证码' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + suffix: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.Z, { + loading: codeLoading, + type: "link", + onClick: onGetCode, + disabled: timer > 0, + children: [" ", timer === 0 ? '获取验证码' : "".concat(timer, "\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6")] + }), + style: { + paddingRight: 2, + height: 48, + borderRadius: 4 + }, + placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", + size: "large" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, { + size: "large", + type: "primary", + htmlType: "submit", + block: true, + style: inputStyle, + children: " \u5B8C\u6210 " + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + className: "tc", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { + className: "font14", + to: "/user/login", + children: "\u8FD4\u56DE\u767B\u5F55" + }) + })] + }) }); }); // EXTERNAL MODULE: ./src/pages/User/Register/service.ts diff --git a/p__User__ResetPassword__index.chunk.css b/p__User__ResetPassword__index.chunk.css index d8849cf64b..b0138afb62 100644 --- a/p__User__ResetPassword__index.chunk.css +++ b/p__User__ResetPassword__index.chunk.css @@ -645,3 +645,35 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/User/ResetPasswordPanel/index.less?modules ***! + \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.wrap___jh1g8 { + width: 465px; + background-color: #F7F8FA; + border: 1px solid #E2E2E2; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + padding: 30px; + margin-bottom: 15px; + border-radius: 8px; +} +.wrap___jh1g8 .formWrapper___ac7hS div[class~='ant-form-item-label'] { + margin-bottom: 15px; + padding: 0; +} +.wrap___jh1g8 .formWrapper___ac7hS div[class~='ant-form-item-label'] label { + font-size: 16px; + color: #666666; +} +.wrap___jh1g8 .formWrapper___ac7hS .link___eiEQu { + color: #666666; +} +.wrap___jh1g8 .formWrapper___ac7hS .link___eiEQu:hover { + color: #3061D0; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + diff --git a/p__index.async.js b/p__index.async.js index ba39f03597..149433ca3c 100644 --- a/p__index.async.js +++ b/p__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[88866],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[88866,8423],{ /***/ 62824: /*!****************************************************************!*\ @@ -311,6 +311,717 @@ var VideoModal = function VideoModal(_ref) { /***/ }), +/***/ 8423: +/*!*********************************************************!*\ + !*** ./src/components/Video/Play/index.jsx + 1 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ Play; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/message/style/index.js + 1 modules +var style = __webpack_require__(14934); +// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 1 modules +var message = __webpack_require__(12461); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(17061); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(17156); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/flv.js/src/flv.js + 38 modules +var flv = __webpack_require__(99160); +// EXTERNAL MODULE: ./node_modules/hls.js/dist/hls.js +var dist_hls = __webpack_require__(67631); +var hls_default = /*#__PURE__*/__webpack_require__.n(dist_hls); +// EXTERNAL MODULE: ./src/utils/authority.ts +var authority = __webpack_require__(7); +// EXTERNAL MODULE: ./node_modules/react-copy-to-clipboard/lib/index.js +var lib = __webpack_require__(74855); +// EXTERNAL MODULE: ./src/utils/fullscreen.ts +var fullscreen = __webpack_require__(15994); +;// CONCATENATED MODULE: ./src/components/Video/Play/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Playmodules = ({"watermark":"watermark___hNYlv","videovideo":"videovideo___ovOkV","animate__loop":"animate__loop___mvL6s","upDown":"upDown___SlgHv","container":"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq","hide":"hide___NA3DV","video-progress":"video-progress___gqHsd","seek":"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq","volume":"volume___OTmpP","hidden":"hidden___o7GkT"}); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/Video/Play/index.jsx + + + + + + + + + + + + + +function formatTime(timeInSeconds) { + if (isNaN(timeInSeconds)) { + return { + minutes: '00', + seconds: '00' + }; + } + var result = new Date(timeInSeconds * 1000).toISOString().substr(11, 8); + return { + hour: result.substr(0, 2), + minutes: result.substr(3, 2), + seconds: result.substr(6, 2) + }; +} +Object.defineProperty(HTMLMediaElement.prototype, 'playing', { + get: function get() { + return !!(this.currentTime > 0 && !this.paused && !this.ended && this.readyState > 2); + } +}); +function compareNumbers(a, b) { + return a - b; +} +function getTotalEffectTime(pos) { + pos.sort(compareNumbers); + var sum = 0; + for (var i = 0; i < pos.length - 1; i++) { + var v = Math.abs(pos[i + 1] - pos[i]); + if (v < 21) { + sum += v; + } + } + return sum; +} +var regex = /(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i; +//接口文档 https://www.showdoc.cc/educoder?page_id=4029884447803706 +/* harmony default export */ var Play = (/*#__PURE__*/(0,react.forwardRef)(function (_ref, ref) { + var _src, _src2, _src2$split; + var src = _ref.src, + toLog = _ref.toLog, + videoId = _ref.videoId, + logWatchHistory = _ref.logWatchHistory, + _ref$courseId = _ref.courseId, + courseId = _ref$courseId === void 0 ? null : _ref$courseId, + startTime = _ref.startTime, + _ref$handlePause = _ref.handlePause, + handlePause = _ref$handlePause === void 0 ? function () {} : _ref$handlePause, + _ref$handlePlay = _ref.handlePlay, + handlePlay = _ref$handlePlay === void 0 ? function () {} : _ref$handlePlay, + _ref$handlePlayEnded = _ref.handlePlayEnded, + handlePlayEnded = _ref$handlePlayEnded === void 0 ? function () {} : _ref$handlePlayEnded, + _ref$videoSpeed = _ref.videoSpeed, + videoSpeed = _ref$videoSpeed === void 0 ? 1 : _ref$videoSpeed; + src = (_src = src) === null || _src === void 0 ? void 0 : _src.replace('http://', 'https://'); + var suf = (_src2 = src) === null || _src2 === void 0 ? void 0 : (_src2$split = _src2.split('.')) === null || _src2$split === void 0 ? void 0 : _src2$split.pop(); + var isFlv = suf === 'flv'; + var el = (0,react.useRef)(); + var watermarkRef = (0,react.useRef)(); + var warpEl = (0,react.useRef)(); + var pauseIcon = (0,react.useRef)(); + var playIcon = (0,react.useRef)(); + var seekEl = (0,react.useRef)(); + var progressBarEl = (0,react.useRef)(); + var durationEl = (0,react.useRef)(); + var timeElapsedEl = (0,react.useRef)(); + var seekTooltipEl = (0,react.useRef)(); + var noMuteVolEl = (0,react.useRef)(); + var highVolEl = (0,react.useRef)(); + var lowVolEl = (0,react.useRef)(); + var volumeEl = (0,react.useRef)(); + var deviceMatch = navigator.userAgent.toLowerCase().match(regex); + var device = deviceMatch ? deviceMatch[0] : 'pc'; + var firstOnPlayFlag = (0,react.useRef)(false); + var user = (0,authority/* userInfo */.eY)(); + var totalDuration = 0; + var sumTimePlayed = 0; + var lastUpdatedTime = 0; + var logId = null; + var initLog = false; + var timeTick = 20; //记录频率 默认20s + var logCount = 1; + var isLoging = false; + var isSeeking = false; + var pos = []; //播放时间点集 + + (0,react.useImperativeHandle)(ref, function () { + return { + getLastUpdatedTime: function getLastUpdatedTime() { + return el.current.currentTime; + }, + getDuration: function getDuration() { + return el.current.duration; + } + }; + }); + var log = (0,react.useCallback)(function (callback) { + var isEnd = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var params = { + point: el.current.currentTime + }; + if (logId) { + params['log_id'] = logId; + params['watch_duration'] = getTotalEffectTime(pos); //当前观看视频时长,拖放进度条,重复的视频片段观看时,不会把重复的时长累积进来,最大时长是视频的总时长 + params['total_duration'] = sumTimePlayed; //累计观看视频时长,拖放进度条,重复的视频片段观看时,重复观看时长要累积进来 + } else { + if (courseId) { + params['video_id'] = parseInt(videoId, 10); + params['course_id'] = courseId; + } else { + params['video_id'] = videoId; + } + params['duration'] = totalDuration; + params['device'] = device; + } + if (isEnd) { + params['ed'] = '1'; + } + function getLogId() { + return _getLogId.apply(this, arguments); + } + function _getLogId() { + _getLogId = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var id; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + isLoging = true; + _context.next = 3; + return logWatchHistory(params); + case 3: + id = _context.sent; + logId = id; + isLoging = false; + if (callback) { + callback(); + } + case 7: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _getLogId.apply(this, arguments); + } + getLogId(); + }, [videoId, courseId]); + (0,react.useEffect)(function () { + var _src3; + message/* default.destroy */.ZP.destroy(); + var player = null; + if (flv/* default.isSupported */.Z.isSupported && isFlv && src && ((_src3 = src) === null || _src3 === void 0 ? void 0 : _src3.indexOf('.m3u8')) < 0) { + player = flv/* default.createPlayer */.Z.createPlayer({ + type: 'flv', + volume: 0.8, + cors: true, + url: src, + muted: false + }); + if (el.current) { + player.attachMediaElement(el.current); + player.load(); + } + } else { + el.current.setAttribute('src', src); + } + updateVolumeIcon(); + return function () { + if (player) { + player.unload(); + player.pause(); + player.destroy(); + player = null; + } + }; + }, [el, isFlv, src]); + function playIconStatus() { + if (el.current.paused) { + pauseIcon.current.style.display = 'none'; + playIcon.current.style.display = 'block'; + } else { + pauseIcon.current.style.display = 'block'; + playIcon.current.style.display = 'none'; + } + } + function updateVolumeIcon() { + noMuteVolEl.current.style.display = 'none'; + lowVolEl.current.style.display = 'none'; + highVolEl.current.style.display = 'none'; + if (el.current.muted || el.current.volume === 0) { + noMuteVolEl.current.style.display = 'block'; + } else if (el.current.volume > 0 && el.current.volume <= 0.5) { + lowVolEl.current.style.display = 'block'; + } else { + highVolEl.current.style.display = 'block'; + } + } + (0,react.useEffect)(function () { + var playButton = document.getElementById('play'); + var playbackIcons = document.querySelectorAll('.playback-icons use'); + function onPlay() { + handlePlay(); + if (startTime && !firstOnPlayFlag.current) { + el.current.currentTime = startTime; + } + firstOnPlayFlag.current = true; + pos.push(el.current.currentTime); + if (!initLog) { + initLog = true; + if (toLog) { + log(); + } + } + } + //循环播放, 累计时长不能清空 + function onEnded() { + return _onEnded.apply(this, arguments); + } + function _onEnded() { + _onEnded = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + playIconStatus(); + pos.push(el.current.currentTime); + if (toLog) { + log(function () { + logId = null; + lastUpdatedTime = 0; + initLog = false; + isLoging = false; + isSeeking = false; + pos = []; //有效时长重新累计,算新的一遍 + sumTimePlayed = 0; + logCount = 1; + }, true); + } + case 3: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return _onEnded.apply(this, arguments); + } + function updateProgress() { + // seekEl.current.value = Math.floor(el.current.currentTime); + // progressBarEl.current.value = Math.floor(el.current.currentTime); + + seekEl.current.value = Math.round(el.current.currentTime); + progressBarEl.current.value = Math.round(el.current.currentTime); + } + function updateTimeElapsed() { + var time = formatTime(Math.round(el.current.currentTime)); + timeElapsedEl.current.innerText = "".concat(time.hour > 0 ? time.hour + ':' : '').concat(time.minutes, ":").concat(time.seconds); + timeElapsedEl.current.setAttribute('datetime', "".concat(time.hour > 0 ? ' ' + time.hour + ' ' : '').concat(time.minutes, "m ").concat(time.seconds, "s")); + } + function initializeVideo() { + var videoDuration = Math.round(el.current.duration); + seekEl.current.setAttribute('max', videoDuration); + progressBarEl.current.setAttribute('max', videoDuration); + var time = formatTime(videoDuration); + durationEl.current.innerText = "".concat(time.hour > 0 ? time.hour + ':' : '').concat(time.minutes, ":").concat(time.seconds); + durationEl.current.setAttribute('datetime', "".concat(time.hour > 0 ? ' ' + time.hour + ' ' : '').concat(time.minutes, "m ").concat(time.seconds, "s")); + } + function onTimeupdate() { + var videoDuration = Math.round(el.current.duration); + seekEl.current.setAttribute('max', videoDuration); + progressBarEl.current.setAttribute('max', videoDuration); + var time = formatTime(videoDuration); + durationEl.current.innerText = "".concat(time.hour > 0 ? time.hour + ':' : '').concat(time.minutes, ":").concat(time.seconds); + durationEl.current.setAttribute('datetime', "".concat(time.hour > 0 ? ' ' + time.hour + ' ' : '').concat(time.minutes, "m ").concat(time.seconds, "s")); + updateProgress(); + updateTimeElapsed(); + var _watermarkRef$current = watermarkRef.current.getBoundingClientRect(), + width = _watermarkRef$current.width, + height = _watermarkRef$current.height, + x = _watermarkRef$current.x, + y = _watermarkRef$current.y; + if (x < 0 || y < 0 || !width) { + // el.current.src = ''; + // el.current.pause(); + // message.warn({ + // content: '当前操作非法,已禁止观看视频', + // key: 'watermarkRef', + // }); + return; + } + if (!isSeeking) { + var newTime = el.current.currentTime; + var timeDiff = newTime - lastUpdatedTime; + //currenttime update before Seeking & Seeked fired + if (Math.abs(timeDiff) < 10) { + sumTimePlayed += Math.abs(timeDiff); + lastUpdatedTime = newTime; + if (!isLoging) { + if (sumTimePlayed - logCount * timeTick >= 0) { + logCount++; + pos.push(lastUpdatedTime); + if (toLog) { + log(); + } + } + } + } else { + lastUpdatedTime = newTime; + if (toLog) { + log(); + } + } + } + } + function onSeeking() { + isSeeking = true; + } + function onSeeked() { + if (el.current.playing) { + pos.push(el.current.currentTime, lastUpdatedTime); + } + lastUpdatedTime = el.current.currentTime; + isSeeking = false; + } + function onCanPlay() { + totalDuration = el.current.duration; + if (totalDuration <= 20) { + timeTick = totalDuration / 3; + } + el.current.addEventListener('play', onPlay); + } + function onFullscreenchange(e) { + e.preventDefault(); + if ((0,fullscreen/* IsFull */.vp)()) { + el.current.style.width = '100%'; + el.current.style.height = '100%'; + } else { + el.current.style.cssText = ''; + } + } + function onPause() { + handlePause(); + } + function skipAhead(event) { + var skipTo = event.target.dataset.seek ? event.target.dataset.seek : event.target.value; + el.current.currentTime = skipTo; + progressBarEl.current.value = skipTo; + seekEl.current.value = skipTo; + } + function updateSeekTooltip(event) { + var skipTo = Math.round(event.offsetX / event.target.clientWidth * parseInt(event.target.getAttribute('max'), 10)); + seekEl.current.setAttribute('data-seek', skipTo); + var t = formatTime(skipTo); + seekTooltipEl.current.textContent = "".concat(t.hour > 0 ? t.hour + ':' : '').concat(t.minutes, ":").concat(t.seconds); + var rect = el.current.getBoundingClientRect(); + seekTooltipEl.current.style.left = "".concat(event.pageX - rect.left, "px"); + } + warpEl.current.addEventListener((0,fullscreen/* fullscreenChange */.gH)(), onFullscreenchange); + el.current.addEventListener('canplay', onCanPlay); + el.current.addEventListener('ended', onEnded); + el.current.addEventListener('seeking', onSeeking); + el.current.addEventListener('seeked', onSeeked); + el.current.addEventListener('loadedmetadata', initializeVideo); + seekEl.current.addEventListener('mousemove', updateSeekTooltip); + seekEl.current.addEventListener('input', skipAhead); + el.current.addEventListener('timeupdate', onTimeupdate); + el.current.addEventListener('pause', onPause); + el.current.addEventListener('volumechange', updateVolumeIcon); + return function () { + var _el$current, _el$current2, _el$current3, _el$current4, _el$current5, _seekEl$current, _seekEl$current2, _el$current6, _el$current7, _el$current8, _el$current9, _el$current10; + (_el$current = el.current) === null || _el$current === void 0 ? void 0 : _el$current.removeEventListener('canplay', onCanPlay); + (_el$current2 = el.current) === null || _el$current2 === void 0 ? void 0 : _el$current2.removeEventListener('play', onPlay); + (_el$current3 = el.current) === null || _el$current3 === void 0 ? void 0 : _el$current3.removeEventListener('ended', onEnded); + (_el$current4 = el.current) === null || _el$current4 === void 0 ? void 0 : _el$current4.removeEventListener('seeking', onSeeking); + (_el$current5 = el.current) === null || _el$current5 === void 0 ? void 0 : _el$current5.removeEventListener('seeked', onSeeked); + (_seekEl$current = seekEl.current) === null || _seekEl$current === void 0 ? void 0 : _seekEl$current.removeEventListener('mousemove', updateSeekTooltip); + (_seekEl$current2 = seekEl.current) === null || _seekEl$current2 === void 0 ? void 0 : _seekEl$current2.removeEventListener('input', skipAhead); + (_el$current6 = el.current) === null || _el$current6 === void 0 ? void 0 : _el$current6.removeEventListener('timeupdate', onTimeupdate); + (_el$current7 = el.current) === null || _el$current7 === void 0 ? void 0 : _el$current7.removeEventListener('pause', onPause); + (_el$current8 = el.current) === null || _el$current8 === void 0 ? void 0 : _el$current8.removeEventListener('loadedmetadata', initializeVideo); + (_el$current9 = el.current) === null || _el$current9 === void 0 ? void 0 : _el$current9.removeEventListener('volumechange', updateVolumeIcon); + if ((_el$current10 = el.current) !== null && _el$current10 !== void 0 && _el$current10.playing) { + pos.push(lastUpdatedTime, el.current.currentTime); + if (toLog) { + log(); + } + } + }; + }, [el, src]); + (0,react.useEffect)(function () { + var _src4; + el.current.onended = function () { + handlePlayEnded(el); + }; + el.current.oncontextmenu = function () { + return false; + }; + if (((_src4 = src) === null || _src4 === void 0 ? void 0 : _src4.indexOf('.m3u8')) > -1) { + if (el.current.canPlayType('application/vnd.apple.mpegurl')) { + el.current.src = src; + } else if (hls_default().isSupported()) { + var hls = new (hls_default())(); + hls.loadSource(src); + hls.attachMedia(el.current); + } + } + }, [src]); + (0,react.useEffect)(function () { + el.current.playbackRate = videoSpeed; + }, [videoSpeed]); + var togglePlay = function togglePlay() { + if (el.current.paused || el.current.ended) { + el.current.play(); + } else { + el.current.pause(); + } + playIconStatus(); + }; + function toggleMute() { + el.current.muted = !el.current.muted; + if (el.current.muted) { + volumeEl.current.setAttribute('data-volume', volume.value); + volumeEl.current.value = 0; + } else { + volumeEl.current.value = volumeEl.current.dataset.volume; + } + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + position: 'relative' + }, + ref: warpEl, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + ref: watermarkRef, + className: "".concat(Playmodules.watermark, " animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(Playmodules.animate__loop), + children: user ? user.login : ' ' + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Playmodules.container, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Playmodules["video-container"], + id: "video-container", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Playmodules["playback-animation"], + id: "playback-animation", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("svg", { + className: Playmodules["playback-icons"], + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("use", { + className: "hidden", + href: "#play-icon" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("use", { + href: "#pause" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("video", { + className: Playmodules.video, + id: "video", + preload: "auto", + disablePictureInPicture: true, + ref: el, + autoPlay: false + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(Playmodules["video-controls"], " "), + id: "video-controls", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Playmodules["bottom-controls"], + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Playmodules["left-controls"], + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("button", { + "data-title": "\u64AD\u653E/\u6682\u505C", + id: "play", + onClick: togglePlay, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("svg", { + className: Playmodules["playback-icons"], + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("use", { + ref: playIcon, + href: "#play-icon" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("use", { + ref: pauseIcon, + style: { + display: 'none' + }, + href: "#pause" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Playmodules.time, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("time", { + id: "time-elapsed", + ref: timeElapsedEl, + children: "00:00" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: " / " + }), /*#__PURE__*/(0,jsx_runtime.jsx)("time", { + id: "duration", + ref: durationEl, + children: "00:00" + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Playmodules["right-controls"], + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(lib.CopyToClipboard, { + text: src, + onCopy: function onCopy() { + return message/* default.success */.ZP.success('复制成功'); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("button", { + "data-title": '复制链接', + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-lianjie2 iconfont", + style: { + fontSize: '12px', + color: 'white' + } + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Playmodules["volume-controls"], + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("button", { + "data-title": "\u5F00\u542F/\u5173\u95ED\u58F0\u97F3", + className: Playmodules["volume-button"], + id: "volume-button", + onClick: toggleMute, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + ref: noMuteVolEl, + className: "icon-a-bianzu8 iconfont", + style: { + fontSize: '14px', + color: 'white' + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + ref: lowVolEl, + className: "icon-shengyinkaibeifen iconfont", + style: { + fontSize: '14px', + color: 'white' + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + ref: highVolEl, + className: "icon-shengyinkai iconfont", + style: { + fontSize: '14px', + color: 'white' + } + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("input", { + className: Playmodules.volume, + id: "volume", + value: "1", + "data-mute": "0.5", + type: "range", + max: "1", + min: "0", + step: "0.01", + ref: volumeEl, + style: { + display: 'none' + }, + onClick: updateVolumeIcon + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("button", { + "data-title": "\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F", + className: Playmodules["fullscreen-button"], + onClick: function onClick() { + if ((0,fullscreen/* IsFull */.vp)()) { + (0,fullscreen/* exitFull */.BU)(); + } else { + (0,fullscreen/* requestFullScreen */.Dj)(warpEl.current); + } + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-fangda1 iconfont", + style: { + fontSize: '12px', + color: 'white' + } + }) + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Playmodules["video-progress"], + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("progress", { + ref: progressBarEl, + value: "0", + min: "0" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("input", { + className: Playmodules.seek, + ref: seekEl, + value: "0", + min: "0", + type: "range", + step: "1" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Playmodules["seek-tooltip"], + ref: seekTooltipEl, + id: "seek-tooltip", + children: "00:00" + })] + })] + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("svg", { + style: { + display: 'none' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("defs", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("symbol", { + id: "pause", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", { + d: "M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", { + id: "play-icon", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", { + d: "M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", { + id: "volume-high", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", { + d: "M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", { + id: "volume-low", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", { + d: "M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", { + id: "volume-mute", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", { + d: "M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", { + id: "fullscreen", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", { + d: "M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", { + id: "fullscreen-exit", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", { + d: "M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("symbol", { + id: "pip", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", { + d: "M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z" + }) + })] + }) + })] + }); +})); + +/***/ }), + /***/ 19721: /*!*************************************************************!*\ !*** ./src/pages/Classrooms/ExamList/index.tsx + 5 modules ***! @@ -5951,6 +6662,110 @@ var SimpleLayouts = function SimpleLayouts(_ref) { /***/ }), +/***/ 15994: +/*!*********************************!*\ + !*** ./src/utils/fullscreen.ts ***! + \*********************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "BU": function() { return /* binding */ exitFull; }, +/* harmony export */ "Dj": function() { return /* binding */ requestFullScreen; }, +/* harmony export */ "gH": function() { return /* binding */ fullscreenChange; }, +/* harmony export */ "vp": function() { return /* binding */ IsFull; } +/* harmony export */ }); +function requestFullScreen(element) { + try { + if (element.mozRequestFullScreen) { + element.mozRequestFullScreen(); + } else if (element.webkitRequestFullScreen) { + element.webkitRequestFullScreen(); + } + } catch (e) { + console.log(e, ":e"); + } +} +function exitFull() { + if (window.top.document.webkitExitFullscreen) { + window.top.document.webkitExitFullscreen(); + } else if (document.exitFullscreen) { + window.top.document.exitFullscreen(); + } else if (document.msExitFullscreen) { + window.top.document.msExitFullscreen(); + } else if (document.mozCancelFullScreen) { + window.top.document.mozCancelFullScreen(); + } +} + +// esliint disabled +var fullscreenChange = function fullscreenChange() { + //['fullscreenchange','msfullscreenchange','webkitfullscreenchange', 'mozfullscreenchange'] + if (document.webkitExitFullscreen) { + // document.webkitExitFullscreen() + return 'webkitfullscreenchange'; + } else if (document.exitFullscreen) { + // document.exitFullscreen() + return 'fullscreenchange'; + } else if (document.msExitFullscreen) { + // document.msExitFullscreen() + return 'msfullscreenchange'; + } else if (document.mozCancelFullScreen) { + // document.mozCancelFullScreen() + return 'mozfullscreenchange'; + } +}; + +//判断是否全屏 +function IsFull() { + var fullscreenElement = window.top.document.fullscreenElement || window.top.document.mozFullscreenElement || window.top.document.webkitFullscreenElement; + var fullscreenEnabled = document.fullscreenEnabled || document.mozFullscreenEnabled || document.webkitFullscreenEnabled; + console.log("fullscreenElement", fullscreenElement); + if (fullscreenElement == null) { + return false; + } else { + return true; + } +} + +// document.addEventListener("mozfullscreenchange", function (event) { +// console.log("mozfullscreenchange ", event); +// if (IsFull()) { +// console.log('进入全屏') +// $("#closescreen").show(); +// $("#openscreen").hide(); +// } else { +// console.log('退出全屏') +// $("#closescreen").hide(); +// $("#openscreen").show(); +// } +// }); +// document.addEventListener("webkitfullscreenchange", function (event) { +// console.log("webkitfullscreenchange", event); +// if (IsFull()) { +// console.log('进入全屏') +// $("#closescreen").show(); +// $("#openscreen").hide(); +// } else { +// console.log('退出全屏') +// $("#closescreen").hide(); +// $("#openscreen").show(); +// } +// }); +// document.addEventListener("msfullscreenchange", function (event) { +// console.log("msfullscreenchange", event); +// if (IsFull()) { +// console.log('进入全屏') +// $("#closescreen").show(); +// $("#openscreen").hide(); +// } else { +// console.log('退出全屏') +// $("#closescreen").hide(); +// $("#openscreen").show(); +// } +// }); + +/***/ }), + /***/ 40937: /*!********************************************!*\ !*** ./src/assets/images/index/qqCode.png ***! diff --git a/p__tasks__index.async.js b/p__tasks__index.async.js index b67f016273..470b510270 100644 --- a/p__tasks__index.async.js +++ b/p__tasks__index.async.js @@ -325,6 +325,43 @@ var apiPref = _utils_env__WEBPACK_IMPORTED_MODULE_0__/* ["default"].API_SERVER * /***/ }), +/***/ 4663: +/*!****************************************!*\ + !*** ./src/components/Hooks/index.tsx ***! + \****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "y": function() { return /* binding */ useDisableAction; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +var useDisableAction = function useDisableAction(disable) { + (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () { + if (disable) { + var handleKeyDown = function handleKeyDown(event) { + if (event.key === "F12") { + event.preventDefault(); + // 执行你的自定义行为 + console.log('F12被禁用'); + } + }; + var handleContextmenu = function handleContextmenu(event) { + event.preventDefault(); + }; + document.addEventListener("keydown", handleKeyDown); + document.addEventListener("contextmenu", handleContextmenu); + return function () { + document.removeEventListener("keydown", handleKeyDown); + document.removeEventListener("contextmenu", handleContextmenu); + }; + } + }, [disable]); +}; + +/***/ }), + /***/ 31590: /*!**********************************************************!*\ !*** ./src/components/MultiUpload/index.tsx + 1 modules ***! @@ -2607,7 +2644,7 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, ' if (defaultValue !== cm.getValue()) { cm.setValue(defaultValue); setValue(defaultValue); - cm.setCursor(cm.lineCount(), 0); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); } } } @@ -3842,6 +3879,89 @@ var difficultyDesc = { }); }); +/***/ }), + +/***/ 53280: +/*!***********************************************************************!*\ + !*** ./src/pages/Classrooms/Lists/Exercise/Answer/useRemindModal.tsx ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "_": function() { return /* binding */ useRemindModal; } +/* harmony export */ }); +/* harmony import */ var antd_es_modal_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/modal/style */ 35611); +/* harmony import */ var antd_es_modal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/modal */ 85402); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js */ 74704); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/icons */ 30071); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + +//只需要left_time和exercise_events参数,实际上传进来的answerData还有很多其它的属性 + +var useRemindModal = function useRemindModal(answerData) { + var _answerData$exercise7, _answerData$exercise8; + var countDownRefArr = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)([]); + var clearCountdownTimeout = function clearCountdownTimeout() { + var _iterator = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1___default()(countDownRefArr.current), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var id = _step.value; + clearTimeout(id); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + countDownRefArr.current = []; + }; + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + var _answerData$exercise, _answerData$exercise2, _answerData$exercise3; + clearCountdownTimeout(); + if (answerData !== null && answerData !== void 0 && (_answerData$exercise = answerData.exercise) !== null && _answerData$exercise !== void 0 && _answerData$exercise.left_time && (answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : (_answerData$exercise3 = _answerData$exercise2.exercise_events) === null || _answerData$exercise3 === void 0 ? void 0 : _answerData$exercise3.length) > 0) { + var _answerData$exercise4; + var _iterator2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1___default()(answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise4 = answerData.exercise) === null || _answerData$exercise4 === void 0 ? void 0 : _answerData$exercise4.exercise_events), + _step2; + try { + var _loop = function _loop() { + var _answerData$exercise5; + var eventItem = _step2.value; + if ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise5 = answerData.exercise) === null || _answerData$exercise5 === void 0 ? void 0 : _answerData$exercise5.left_time) > (eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_time) * 60) { + var _answerData$exercise6; + var timeoutId = setTimeout(function () { + antd_es_modal__WEBPACK_IMPORTED_MODULE_4__/* ["default"].info */ .Z.info({ + content: "".concat(eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_content), + icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {}), + centered: true, + okText: "知道了" + }); + }, ((answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise6 = answerData.exercise) === null || _answerData$exercise6 === void 0 ? void 0 : _answerData$exercise6.left_time) - (eventItem === null || eventItem === void 0 ? void 0 : eventItem.reminder_time) * 60) * 1000); + countDownRefArr.current.push(timeoutId); + } + }; + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + _loop(); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + } + }, [answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise7 = answerData.exercise) === null || _answerData$exercise7 === void 0 ? void 0 : _answerData$exercise7.left_time, answerData === null || answerData === void 0 ? void 0 : (_answerData$exercise8 = answerData.exercise) === null || _answerData$exercise8 === void 0 ? void 0 : _answerData$exercise8.exercise_events]); + return clearCountdownTimeout; +}; + + /***/ }), /***/ 61050: @@ -9779,38 +9899,38 @@ function left_panel_reducer(state, action) { return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsx)(header, objectSpread2_default()({}, headerOption)), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: left_panelmodules["content-wrapper"], - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [unity_3d_routes && with_code_file ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(left_panelmodules["unity-3d-container"], " ").concat(enlarge_unity3D ? left_panelmodules.enlarge : ''), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", { + onClick: onTriggerUnity3D, + className: "".concat(left_panelmodules["btn-enlarge"], " ").concat(enlarge_unity3D ? left_panelmodules.enlarge : ''), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont ".concat(enlarge_unity3D ? 'icon-suoxiao1' : 'icon-kuoda', " ") + }) + }), (userInfo === null || userInfo === void 0 ? void 0 : userInfo.user_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(unity3d_panel, { + userInfo: userInfo, + taskData: taskData, + unity_3d_routes: unity_3d_routes, + onGetUnity3dMessage: onGetUnity3dMessage + })] + }) : null, /*#__PURE__*/(0,jsx_runtime.jsx)("ul", { + className: "".concat(left_panelmodules["tab-nav"], " ").concat(tab_fixed ? left_panelmodules["tab-fixed"] : ''), + children: tabs.map(function (item) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + onClick: onSetActiveIndex, + id: item.index, + className: activeIndex === item.index ? left_panelmodules.active : '', + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", { + children: [item.title, item.index === 3 && discusses_count ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: discusses_count + }) : null] + }) + }, item.title); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: left_panelmodules.scroll, ref: contentEl, - children: [unity_3d_routes && with_code_file ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "".concat(left_panelmodules["unity-3d-container"], " ").concat(enlarge_unity3D ? left_panelmodules.enlarge : ''), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", { - onClick: onTriggerUnity3D, - className: "".concat(left_panelmodules["btn-enlarge"], " ").concat(enlarge_unity3D ? left_panelmodules.enlarge : ''), - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont ".concat(enlarge_unity3D ? 'icon-suoxiao1' : 'icon-kuoda', " ") - }) - }), (userInfo === null || userInfo === void 0 ? void 0 : userInfo.user_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(unity3d_panel, { - userInfo: userInfo, - taskData: taskData, - unity_3d_routes: unity_3d_routes, - onGetUnity3dMessage: onGetUnity3dMessage - })] - }) : null, /*#__PURE__*/(0,jsx_runtime.jsx)("ul", { - className: "".concat(left_panelmodules["tab-nav"], " ").concat(tab_fixed ? left_panelmodules["tab-fixed"] : ''), - children: tabs.map(function (item) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - onClick: onSetActiveIndex, - id: item.index, - className: activeIndex === item.index ? left_panelmodules.active : '', - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", { - children: [item.title, item.index === 3 && discusses_count ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: discusses_count - }) : null] - }) - }, item.title); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { className: activeIndex === 0 ? left_panelmodules["tab-panel-body"] : 'hide', value: challenge.task_pass }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { @@ -10523,12 +10643,14 @@ var Banner = function Banner(_ref) { var env = __webpack_require__(59758); ;// CONCATENATED MODULE: ./src/pages/tasks/header/gold.png var gold_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAHGUlEQVRYR7WZW2xcVxWGv3XOjMfj8f2a2ImTNklpCoKASB9aQELNDCBuohJQKA+IkgohUYGEuLy0RUJQUUERSCAaXngAoT5QtaUqiluJB5KWFmgatcq1Nk0c2zO5NLFrezxzZi+0z4xn5sw54xlHYUkjWXuvvdd/1n1tC9dJxWzmDox+WFx5v1F9l8AEMAi4giyBZlXkLHBMSuYf7pY7nxP5kdmsONnMgbW5zK2Oy30ieo8q2zZzFlgW5E/GlA51bH3hlXbPtgVQL2S2l+L6oCpfb/fijfgsUE/04c7RqTOt7msJsJBNf0PgF0Cy1WWb2hdKavQ7HVue//XGH7PBbmEh87iIHmwpuFSCov154DgQdyHmlv9uQSL8PjY61VRGpAZVEe9i+imUTze9/51VuPoO5N6GghfNluqEkX7o74bOjuZQhWdiI1OfFUEbmSIBFnPpp5uCu3QN7M+C2wxZoMN90JeKPiU8Ex+d+kxLgE3NurgMb+VgeXUzsMK8gz1wy/bIO6LMHdBgJSB+GzptwZ04BxqyQI3VdZFEh//zfW/d/4wBY1Drn56HFoqQiMP7dkWCVNUH6gOnCtCmEi9mToEEozVfgGM23zaxTCIBnYkyMLFBIaCl5lo2iubzaH4NPnhLmE+wIbd3PQVVAXq59KFQnisZeO1sZBCIBZVMQjxWFSJbbUwJOvskuG5LV1AUvXksxGfzZGzs8L12wwdYrhB6IsR5ehauLIYvSHUhqa7gupPAee9j/lrpyEEkFW8J0DKoK+iOkRCvGnO7rTg+wGI28yjodwNcuaswPdceOPul43cjowd8fvPWs3DxKYjVtLsRWjOYgv5gdAtyKDZ2+H4foJdLnw/UVq8Eb8zAaiFwryQSSF9PWFasG+c9Pwusl45+E2lQcjOQqgbdtaVxezk2ekev+F0JeiSovbdher49cFZ72+5Bhj8S4DezU+jcE0hHe6Y2/UmwKaiOxOinpDif/j4OjwR2zl4oJ+M6cgb6AwFR3eoYxLntx5HK8V58ACfZpMo0nFAHdOdocFXkEfFymT+r6hcDO6+egbVidSlgWnEhOYF0jkPnBCTHkZ69kQD18nHwLoN3CV2dheUZ0CaAVTG7GiJa5G9SyKZfFdhXlWAT68snAwLd274CPTuRrkmI92/k7633vCV05TyszKALzwbdYksfdCVqioGzUsymc0Atzq3mrAbXKebiDA4gE59HRj7aGkAbHDp/GF14EiTYCpjhHuit1QnbmVuAVue1rGq7lNdnal9Rl/Nk/F5k9M42IDRnMRdewLzxO5/BL429PVWgZqALBrqDgVLMpoMFdiUPx6erTM5AH8QrkSgOsu1ryNAHrgukZl+idPyXoMaPbh9cXc9ohlKhbke8bGZR0Vp82xz4r1M1gEMDwbLlppDJ+5C+WzcFUq+8Tum1n0Nx2c8GjgXXUA7N+AB01tKSb2Ivmz6jsDsg7d+ny90x4IwMhXyF+CCy436ke7ItkLr0X0rHHoXViz4oxyb7iCpjbhoJyBI/SHKZ51D9eECS9UHri80AWv/Z+jlkLN0WQFv6zKk/gCM4fb01l6k/rQbTWE1sminmMj9F9QcBSeeyMHe5DLDRxBVG2fFVZOD2tgBq9p++eaWvt9yWRVDzRD1/4JPqyF8DZ+oiORAkdUzO7m9Dd0Q/FyV88U1KL/0w2l0q/NrfhQ42RLAtdaoPOV7uqO2pgu3EyXP+3CE93UiyMyTWefdP2k/ahWt4fz/o51N/2guRYsJ9YblZsLxeNvO40jBeXrwKb8754CzIRnL2/SawpCvzZT8rFXD2fAnp2xPY9w5/AenvRTrCJtbuBDraF+APtFuF+bv2i+O8HEJx+jwsruIMhstbFWD+Emb2ecz0X2rH43FkaD/OzXdXI90HGGENtRPCTQ1Ngm1k6xvWihb/qOiXQyBfOeV3z7bFr5Kbwtn7IJo9Sun0E1BcKm9ZYJa3I+4PR5o3OFsP4Ex+DO/F7yFxL9iJ2wZh5wi4wQE/1PLbu/O59B4XTqB1Zc9urOSRk7O+eaqUnACnE73wHx+I3/Mlk5ERqmsFkGEwCoV5pLfmLmZioDzh1VOzocnyFBYOfEtEfhXSYtFDZnJIQ3LVa4uVia5OuxEhYJf8KS6fR/qtrylmcjgyYJqOnev3Rk53lU1n2jY+FbLDYRuTWyNef0jaPuwn7UZqObivH9jo6UPmriCrxXD5a6K52rKiqQQ61qSfbPfpwzdHq8cjY5BLS8jymrXWhqRWUz2dqJ3aGoKhenCzj0ftmLt6uX0OKXjImlcZExRs0MRd1AZAM1CVC67r+a1eJX7gOPJYKLpbmrQFw414wFwXYVNQTOXhyDx5HUBv6BNwQJvzd+13HPdgBWiTh76miP9/j+ihVKEPOaWFI59Q1/kQsE9Ud4OMrXfmN/LfEP8D/KDA5doYpwkAAAAASUVORK5CYII="; -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.js -var ClockCircleOutlined = __webpack_require__(30071); // EXTERNAL MODULE: ./src/components/Exercise/recordScreen.tsx + 3 modules var recordScreen = __webpack_require__(78806); // EXTERNAL MODULE: ./node_modules/lodash/lodash.js var lodash = __webpack_require__(96486); +// EXTERNAL MODULE: ./src/components/Hooks/index.tsx +var Hooks = __webpack_require__(4663); +// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/useRemindModal.tsx +var useRemindModal = __webpack_require__(53280); ;// CONCATENATED MODULE: ./src/pages/tasks/header/index.jsx @@ -10560,6 +10682,8 @@ var lodash = __webpack_require__(96486); + + @@ -10570,7 +10694,7 @@ function TipContent() { }); } /* harmony default export */ var tasks_header = (function (_ref) { - var _exerciseData$exercis7; + var _exerciseData$exercis2; var mirror_description = _ref.mirror_description, difficulty = _ref.difficulty, git_url = _ref.git_url, @@ -10650,34 +10774,34 @@ function TipContent() { resData = toolbarItem.resData, instance_startup_type = toolbarItem.instance_startup_type; var lockExitFullRef = (0,react.useRef)(false); - (0,react.useEffect)(function () { - var _exerciseData$exercis; - clearTimeout(countDownRef.current); - clearTimeout(countDownRef2.current); - if (exerciseData !== null && exerciseData !== void 0 && (_exerciseData$exercis = exerciseData.exercise) !== null && _exerciseData$exercis !== void 0 && _exerciseData$exercis.left_time) { - var _exerciseData$exercis2, _exerciseData$exercis4; - if ((exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis2 = exerciseData.exercise) === null || _exerciseData$exercis2 === void 0 ? void 0 : _exerciseData$exercis2.left_time) > 1800) { - var _exerciseData$exercis3; - countDownRef2.current = setTimeout(function () { - es_modal/* default.info */.Z.info({ - content: '当前距离考试结束还有30分钟', - icon: /*#__PURE__*/(0,jsx_runtime.jsx)(ClockCircleOutlined/* default */.Z, {}), - okText: '知道了' - }); - }, ((exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis3 = exerciseData.exercise) === null || _exerciseData$exercis3 === void 0 ? void 0 : _exerciseData$exercis3.left_time) - 1800) * 1000); - } - if ((exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis4 = exerciseData.exercise) === null || _exerciseData$exercis4 === void 0 ? void 0 : _exerciseData$exercis4.left_time) > 900) { - var _exerciseData$exercis5; - countDownRef.current = setTimeout(function () { - es_modal/* default.info */.Z.info({ - content: '当前距离考试结束还有15分钟', - icon: /*#__PURE__*/(0,jsx_runtime.jsx)(ClockCircleOutlined/* default */.Z, {}), - okText: '知道了' - }); - }, ((exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis5 = exerciseData.exercise) === null || _exerciseData$exercis5 === void 0 ? void 0 : _exerciseData$exercis5.left_time) - 900) * 1000); - } - } - }, [exerciseData]); + (0,Hooks/* useDisableAction */.y)(searchParams.get("type") === 'exercises'); + var clearCountdownTimeout = (0,useRemindModal/* useRemindModal */._)(exerciseData); + + // useEffect(() => { + // clearTimeout(countDownRef.current); + // clearTimeout(countDownRef2.current); + // if (exerciseData?.exercise?.left_time) { + // if (exerciseData?.exercise?.left_time > 1800) { + // countDownRef2.current = setTimeout(() => { + // Modal.info({ + // content: '当前距离考试结束还有30分钟', + // icon: , + // okText: '知道了', + // }); + // }, (exerciseData?.exercise?.left_time - 1800) * 1000); + // } + // if (exerciseData?.exercise?.left_time > 900) { + // countDownRef.current = setTimeout(() => { + // Modal.info({ + // content: '当前距离考试结束还有15分钟', + // icon: , + // okText: '知道了', + // }); + // }, (exerciseData?.exercise?.left_time - 900) * 1000); + // } + // } + // }, [exerciseData]); + (0,react.useEffect)(function () { function init() { return _init.apply(this, arguments); @@ -10752,8 +10876,8 @@ function TipContent() { }; }, []); (0,react.useEffect)(function () { - var _exerciseData$exercis6; - if (searchParams.get("type") === 'exercises' && exerciseData !== null && exerciseData !== void 0 && (_exerciseData$exercis6 = exerciseData.exercise) !== null && _exerciseData$exercis6 !== void 0 && _exerciseData$exercis6.screen_open) { + var _exerciseData$exercis; + if (searchParams.get("type") === 'exercises' && exerciseData !== null && exerciseData !== void 0 && (_exerciseData$exercis = exerciseData.exercise) !== null && _exerciseData$exercis !== void 0 && _exerciseData$exercis.screen_open) { recordScreen/* fullchange.forEach */.U.forEach(function (item, index) { window.addEventListener(item, backExercise, false); window.addEventListener('blur', backExercise, false); @@ -11091,7 +11215,7 @@ function TipContent() { children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { className: "iconfont icon-kaiguan" }) - }), (exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis7 = exerciseData.exercise) === null || _exerciseData$exercis7 === void 0 ? void 0 : _exerciseData$exercis7.left_time) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + }), (exerciseData === null || exerciseData === void 0 ? void 0 : (_exerciseData$exercis2 = exerciseData.exercise) === null || _exerciseData$exercis2 === void 0 ? void 0 : _exerciseData$exercis2.left_time) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { color: countDownColor @@ -11187,6 +11311,7 @@ function TipContent() { }), onOk: function onOk() { // window.close() + clearCountdownTimeout(); lockExitFullRef.current = true; backExercise(); } @@ -15971,22 +16096,28 @@ function code_repository_reducer(state, action) { } _context.next = 5; return (0,service/* commitFiles */.ZH)(game.identifier, { - homework_common_id: homeworkCommonId + homework_common_id: homeworkCommonId, + shixun_environment_id: item.shixun_environment_id }); case 5: _context.next = 7; return (0,service/* pullFiles */.gn)(game.identifier, { - homework_common_id: homeworkCommonId + homework_common_id: homeworkCommonId, + shixun_environment_id: item.shixun_environment_id }); case 7: _context.next = 13; break; case 9: _context.next = 11; - return (0,service/* commitFiles */.ZH)(game.identifier); + return (0,service/* commitFiles */.ZH)(game.identifier, { + shixun_environment_id: item.shixun_environment_id + }); case 11: _context.next = 13; - return (0,service/* pullFiles */.gn)(game.identifier); + return (0,service/* pullFiles */.gn)(game.identifier, { + shixun_environment_id: item.shixun_environment_id + }); case 13: if (item.tab_type === 1) { setShowCaseList(true); @@ -18839,6 +18970,9 @@ function tasks_reducer(state, action) { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: "task-wrapper", children: [showDragMask && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + cursor: resizeXFlag.current ? 'ew-resize' : resizeYFlag.current ? 'ns-resize' : 'initial' + }, className: "dragging-mask" }), /*#__PURE__*/(0,jsx_runtime.jsx)(tasks_header, { difficulty: challenge === null || challenge === void 0 ? void 0 : challenge.difficulty, diff --git a/p__tasks__index.chunk.css b/p__tasks__index.chunk.css index 55d3ecf3cb..c2fb40a768 100644 --- a/p__tasks__index.chunk.css +++ b/p__tasks__index.chunk.css @@ -386,7 +386,7 @@ .dragging-mask { position: absolute; background: rgba(0, 0, 0, 0); - z-index: 20; + z-index: 1000; top: 0; bottom: 51px; width: 100%; diff --git a/p__virtualSpaces__Index__index.async.js b/p__virtualSpaces__Index__index.async.js index 59f53ad583..259fefae87 100644 --- a/p__virtualSpaces__Index__index.async.js +++ b/p__virtualSpaces__Index__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[34608,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[34608,36579,23805],{ /***/ 23468: /*!*************************************************************!*\ diff --git a/p__virtualSpaces__Lists__Managements__index.async.js b/p__virtualSpaces__Lists__Managements__index.async.js index 5f5221a723..e8cb377c2b 100644 --- a/p__virtualSpaces__Lists__Managements__index.async.js +++ b/p__virtualSpaces__Lists__Managements__index.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[13414,36579,23805,62654],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[13414,36579,23805,61437],{ /***/ 11365: /*!*************************************************************************!*\ diff --git a/p__virtualSpaces__Lists__Managements__index.chunk.css b/p__virtualSpaces__Lists__Managements__index.chunk.css index 72699feb1e..0b23a193e4 100644 --- a/p__virtualSpaces__Lists__Managements__index.chunk.css +++ b/p__virtualSpaces__Lists__Managements__index.chunk.css @@ -287,6 +287,238 @@ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ +@keyframes antCheckboxEffect { + 0% { + transform: scale(1); + opacity: 0.5; + } + 100% { + transform: scale(1.6); + opacity: 0; + } +} +.ant-checkbox { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + position: relative; + top: 0.2em; + line-height: 1; + white-space: nowrap; + outline: none; + cursor: pointer; +} +.ant-checkbox-wrapper:hover .ant-checkbox-inner, +.ant-checkbox:hover .ant-checkbox-inner, +.ant-checkbox-input:focus + .ant-checkbox-inner { + border-color: #3061D0; +} +.ant-checkbox-checked::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 1px solid #3061D0; + border-radius: 2px; + visibility: hidden; + animation: antCheckboxEffect 0.36s ease-in-out; + animation-fill-mode: backwards; + content: ''; +} +.ant-checkbox:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox::after { + visibility: visible; +} +.ant-checkbox-inner { + position: relative; + top: 0; + left: 0; + display: block; + width: 14px; + height: 14px; + direction: ltr; + background-color: #fff; + border: 1px solid #d9d9d9; + border-radius: 2px; + border-collapse: separate; + transition: all 0.3s; +} +.ant-checkbox-inner::after { + position: absolute; + top: 50%; + left: 21.5%; + display: table; + width: 5px; + height: 8px; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(0) translate(-50%, -50%); + opacity: 0; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + content: ' '; +} +.ant-checkbox-input { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + cursor: pointer; + opacity: 0; +} +.ant-checkbox-checked .ant-checkbox-inner::after { + position: absolute; + display: table; + border: 2px solid #fff; + border-top: 0; + border-left: 0; + transform: rotate(45deg) scale(1) translate(-50%, -50%); + opacity: 1; + transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + content: ' '; +} +.ant-checkbox-checked .ant-checkbox-inner { + background-color: #3061D0; + border-color: #3061D0; +} +.ant-checkbox-disabled { + cursor: not-allowed; +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { + border-color: rgba(0, 0, 0, 0.25); + animation-name: none; +} +.ant-checkbox-disabled .ant-checkbox-input { + cursor: not-allowed; + pointer-events: none; +} +.ant-checkbox-disabled .ant-checkbox-inner { + background-color: #f5f5f5; + border-color: #d9d9d9 !important; +} +.ant-checkbox-disabled .ant-checkbox-inner::after { + border-color: #f5f5f5; + border-collapse: separate; + animation-name: none; +} +.ant-checkbox-disabled + span { + color: rgba(0, 0, 0, 0.25); + cursor: not-allowed; +} +.ant-checkbox-disabled:hover::after, +.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { + visibility: hidden; +} +.ant-checkbox-wrapper { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-flex; + align-items: baseline; + line-height: inherit; + cursor: pointer; +} +.ant-checkbox-wrapper::after { + display: inline-block; + width: 0; + overflow: hidden; + content: '\a0'; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { + cursor: not-allowed; +} +.ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 8px; +} +.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { + width: 14px; + height: 14px; +} +.ant-checkbox + span { + padding-right: 8px; + padding-left: 8px; +} +.ant-checkbox-group { + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.85); + font-size: 12px; + font-variant: tabular-nums; + line-height: 1.66667; + list-style: none; + font-feature-settings: tnum, "tnum"; + display: inline-block; +} +.ant-checkbox-group-item { + margin-right: 6px; +} +.ant-checkbox-group-item:last-child { + margin-right: 0; +} +.ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 0; +} +.ant-checkbox-indeterminate .ant-checkbox-inner { + background-color: #fff; + border-color: #d9d9d9; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after { + top: 50%; + left: 50%; + width: 6px; + height: 6px; + background-color: #3061D0; + border: 0; + transform: translate(-50%, -50%) scale(1); + opacity: 1; + content: ' '; +} +.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { + background-color: rgba(0, 0, 0, 0.25); + border-color: rgba(0, 0, 0, 0.25); +} +.ant-checkbox-rtl { + direction: rtl; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item { + margin-right: 0; + margin-left: 6px; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { + margin-left: 0 !important; +} +.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { + margin-left: 6px; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Managements/index.less?modules ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/static/bg.9e08c4e7.png b/static/bg.9e08c4e7.png deleted file mode 100644 index b51f655c49..0000000000 Binary files a/static/bg.9e08c4e7.png and /dev/null differ diff --git a/static/iconfont.146fdbdf.woff2 b/static/iconfont.146fdbdf.woff2 deleted file mode 100644 index e4c571d98d..0000000000 Binary files a/static/iconfont.146fdbdf.woff2 and /dev/null differ diff --git a/static/iconfont.1612351b.svg b/static/iconfont.1612351b.svg new file mode 100644 index 0000000000..ca509198f6 --- /dev/null +++ b/static/iconfont.1612351b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/iconfont.2c32e91e.svg b/static/iconfont.2c32e91e.svg deleted file mode 100644 index 827e6e3e73..0000000000 --- a/static/iconfont.2c32e91e.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/iconfont.965300a7.woff b/static/iconfont.965300a7.woff deleted file mode 100644 index 3998aec95e..0000000000 Binary files a/static/iconfont.965300a7.woff and /dev/null differ diff --git a/static/iconfont.9ed0c421.woff2 b/static/iconfont.9ed0c421.woff2 new file mode 100644 index 0000000000..54bfff11f2 Binary files /dev/null and b/static/iconfont.9ed0c421.woff2 differ diff --git a/static/iconfont.15452b21.ttf b/static/iconfont.b41145d6.ttf similarity index 90% rename from static/iconfont.15452b21.ttf rename to static/iconfont.b41145d6.ttf index 907ab01176..28ee231d58 100644 Binary files a/static/iconfont.15452b21.ttf and b/static/iconfont.b41145d6.ttf differ diff --git a/static/iconfont.ebff8e24.woff b/static/iconfont.ebff8e24.woff new file mode 100644 index 0000000000..0196a6a57c Binary files /dev/null and b/static/iconfont.ebff8e24.woff differ diff --git a/umi.css b/umi.css index 738602b130..f1f5e2215b 100644 --- a/umi.css +++ b/umi.css @@ -1374,10 +1374,10 @@ html { \*************************************************************************************************************************************************************************************************************************************/ @font-face { font-family: "iconfont"; /* Project id 653600 */ - src: url(./static/iconfont.146fdbdf.woff2) format('woff2'), - url(./static/iconfont.965300a7.woff) format('woff'), - url(./static/iconfont.15452b21.ttf) format('truetype'), - url(./static/iconfont.2c32e91e.svg#iconfont) format('svg'); + src: url(./static/iconfont.9ed0c421.woff2) format('woff2'), + url(./static/iconfont.ebff8e24.woff) format('woff'), + url(./static/iconfont.b41145d6.ttf) format('truetype'), + url(./static/iconfont.1612351b.svg#iconfont) format('svg'); } .iconfont { @@ -1388,6 +1388,46 @@ html { -moz-osx-font-smoothing: grayscale; } +.icon-chengxinkaoshishengming:before { + content: "\eb67"; +} + +.icon-dangqiankaoshengxinxi:before { + content: "\eb68"; +} + +.icon-yikaiqifangzuobimoshi:before { + content: "\eb69"; +} + +.icon-keyanhuanjinggoujian:before { + content: "\eb63"; +} + +.icon-daimatuoguan1:before { + content: "\eb64"; +} + +.icon-xietongkaifa:before { + content: "\eb65"; +} + +.icon-ziyuangongxiang:before { + content: "\eb66"; +} + +.icon-biaojigaiti:before { + content: "\eb62"; +} + +.icon-biaoji1:before { + content: "\eb60"; +} + +.icon-wo-hezuoqiye:before { + content: "\eb61"; +} + .icon-danbutiaoshi:before { content: "\eb5c"; } @@ -14892,238 +14932,6 @@ a.ant-btn-sm { /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/checkbox/style/index.less ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ -@keyframes antCheckboxEffect { - 0% { - transform: scale(1); - opacity: 0.5; - } - 100% { - transform: scale(1.6); - opacity: 0; - } -} -.ant-checkbox { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - position: relative; - top: 0.2em; - line-height: 1; - white-space: nowrap; - outline: none; - cursor: pointer; -} -.ant-checkbox-wrapper:hover .ant-checkbox-inner, -.ant-checkbox:hover .ant-checkbox-inner, -.ant-checkbox-input:focus + .ant-checkbox-inner { - border-color: #3061D0; -} -.ant-checkbox-checked::after { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - border: 1px solid #3061D0; - border-radius: 2px; - visibility: hidden; - animation: antCheckboxEffect 0.36s ease-in-out; - animation-fill-mode: backwards; - content: ''; -} -.ant-checkbox:hover::after, -.ant-checkbox-wrapper:hover .ant-checkbox::after { - visibility: visible; -} -.ant-checkbox-inner { - position: relative; - top: 0; - left: 0; - display: block; - width: 14px; - height: 14px; - direction: ltr; - background-color: #fff; - border: 1px solid #d9d9d9; - border-radius: 2px; - border-collapse: separate; - transition: all 0.3s; -} -.ant-checkbox-inner::after { - position: absolute; - top: 50%; - left: 21.5%; - display: table; - width: 5px; - height: 8px; - border: 2px solid #fff; - border-top: 0; - border-left: 0; - transform: rotate(45deg) scale(0) translate(-50%, -50%); - opacity: 0; - transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; - content: ' '; -} -.ant-checkbox-input { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1; - width: 100%; - height: 100%; - cursor: pointer; - opacity: 0; -} -.ant-checkbox-checked .ant-checkbox-inner::after { - position: absolute; - display: table; - border: 2px solid #fff; - border-top: 0; - border-left: 0; - transform: rotate(45deg) scale(1) translate(-50%, -50%); - opacity: 1; - transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; - content: ' '; -} -.ant-checkbox-checked .ant-checkbox-inner { - background-color: #3061D0; - border-color: #3061D0; -} -.ant-checkbox-disabled { - cursor: not-allowed; -} -.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after { - border-color: rgba(0, 0, 0, 0.25); - animation-name: none; -} -.ant-checkbox-disabled .ant-checkbox-input { - cursor: not-allowed; - pointer-events: none; -} -.ant-checkbox-disabled .ant-checkbox-inner { - background-color: #f5f5f5; - border-color: #d9d9d9 !important; -} -.ant-checkbox-disabled .ant-checkbox-inner::after { - border-color: #f5f5f5; - border-collapse: separate; - animation-name: none; -} -.ant-checkbox-disabled + span { - color: rgba(0, 0, 0, 0.25); - cursor: not-allowed; -} -.ant-checkbox-disabled:hover::after, -.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after { - visibility: hidden; -} -.ant-checkbox-wrapper { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - display: inline-flex; - align-items: baseline; - line-height: inherit; - cursor: pointer; -} -.ant-checkbox-wrapper::after { - display: inline-block; - width: 0; - overflow: hidden; - content: '\a0'; -} -.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled { - cursor: not-allowed; -} -.ant-checkbox-wrapper + .ant-checkbox-wrapper { - margin-left: 8px; -} -.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] { - width: 14px; - height: 14px; -} -.ant-checkbox + span { - padding-right: 8px; - padding-left: 8px; -} -.ant-checkbox-group { - box-sizing: border-box; - margin: 0; - padding: 0; - color: rgba(0, 0, 0, 0.85); - font-size: 12px; - font-variant: tabular-nums; - line-height: 1.66667; - list-style: none; - font-feature-settings: tnum, "tnum"; - display: inline-block; -} -.ant-checkbox-group-item { - margin-right: 6px; -} -.ant-checkbox-group-item:last-child { - margin-right: 0; -} -.ant-checkbox-group-item + .ant-checkbox-group-item { - margin-left: 0; -} -.ant-checkbox-indeterminate .ant-checkbox-inner { - background-color: #fff; - border-color: #d9d9d9; -} -.ant-checkbox-indeterminate .ant-checkbox-inner::after { - top: 50%; - left: 50%; - width: 6px; - height: 6px; - background-color: #3061D0; - border: 0; - transform: translate(-50%, -50%) scale(1); - opacity: 1; - content: ' '; -} -.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after { - background-color: rgba(0, 0, 0, 0.25); - border-color: rgba(0, 0, 0, 0.25); -} -.ant-checkbox-rtl { - direction: rtl; -} -.ant-checkbox-group-rtl .ant-checkbox-group-item { - margin-right: 0; - margin-left: 6px; -} -.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child { - margin-left: 0 !important; -} -.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item { - margin-left: 6px; -} -/* stylelint-disable no-duplicate-selectors */ -/* stylelint-disable */ -/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ - /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./node_modules/antd/es/grid/style/index.less ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/umi.js b/umi.js index f5f3b3f83e..3c47268cc6 100644 --- a/umi.js +++ b/umi.js @@ -39913,62 +39913,62 @@ var CompetitionsModel = { count: '' }, effects: { - // 获取页面数据 - getList: function getList(_ref, _ref2) { - var payload = _ref.payload; + //获取头部信息 + getWorkSubmitUpdateRes: function getWorkSubmitUpdateRes(_ref, _ref2) { + var payload = _ref.payload, + callback = _ref.callback; var call = _ref2.call, put = _ref2.put; return /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var listParams, response; + var response; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: - listParams = payload; - _context.next = 3; - return call(competitions/* getCompetitionsList */.bQ, payload); - case 3: + _context.next = 2; + return call(competitions/* getWorkSubmitUpdateRes */.zF, payload); + case 2: response = _context.sent; - _context.next = 6; - return put({ - type: "save", - payload: objectSpread2_default()({ - listParams: listParams - }, response) - }); - case 6: return _context.abrupt("return", response); - case 7: + case 4: case "end": return _context.stop(); } }, _callee); })(); }, - //提交学生数据 - addApplytojoincourse: function addApplytojoincourse(_ref3, _ref4) { - var payload = _ref3.payload, - callback = _ref3.callback; + // 获取页面数据 + getList: function getList(_ref3, _ref4) { + var payload = _ref3.payload; var call = _ref4.call, put = _ref4.put; return /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - var response; + var listParams, response; return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: - _context2.next = 2; - return call(competitions/* addApplytojoincourse */.qS, payload); - case 2: + listParams = payload; + _context2.next = 3; + return call(competitions/* getCompetitionsList */.bQ, payload); + case 3: response = _context2.sent; + _context2.next = 6; + return put({ + type: "save", + payload: objectSpread2_default()({ + listParams: listParams + }, response) + }); + case 6: return _context2.abrupt("return", response); - case 4: + case 7: case "end": return _context2.stop(); } }, _callee2); })(); }, - //报名 - competitionTeams: function competitionTeams(_ref5, _ref6) { + //提交学生数据 + addApplytojoincourse: function addApplytojoincourse(_ref5, _ref6) { var payload = _ref5.payload, callback = _ref5.callback; var call = _ref6.call, @@ -39979,7 +39979,7 @@ var CompetitionsModel = { while (1) switch (_context3.prev = _context3.next) { case 0: _context3.next = 2; - return call(competitions/* competitionTeams */.Pt, payload); + return call(competitions/* addApplytojoincourse */.qS, payload); case 2: response = _context3.sent; return _context3.abrupt("return", response); @@ -39990,8 +39990,8 @@ var CompetitionsModel = { }, _callee3); })(); }, - //获取限制 - getStaff: function getStaff(_ref7, _ref8) { + //报名 + competitionTeams: function competitionTeams(_ref7, _ref8) { var payload = _ref7.payload, callback = _ref7.callback; var call = _ref8.call, @@ -40002,7 +40002,7 @@ var CompetitionsModel = { while (1) switch (_context4.prev = _context4.next) { case 0: _context4.next = 2; - return call(competitions/* getStaff */.Dh, payload); + return call(competitions/* competitionTeams */.Pt, payload); case 2: response = _context4.sent; return _context4.abrupt("return", response); @@ -40013,8 +40013,8 @@ var CompetitionsModel = { }, _callee4); })(); }, - //获取头部信息 - getHeader: function getHeader(_ref9, _ref10) { + //获取限制 + getStaff: function getStaff(_ref9, _ref10) { var payload = _ref9.payload, callback = _ref9.callback; var call = _ref10.call, @@ -40025,7 +40025,7 @@ var CompetitionsModel = { while (1) switch (_context5.prev = _context5.next) { case 0: _context5.next = 2; - return call(competitions/* getHeader */.Pg, payload); + return call(competitions/* getStaff */.Dh, payload); case 2: response = _context5.sent; return _context5.abrupt("return", response); @@ -40036,8 +40036,8 @@ var CompetitionsModel = { }, _callee5); })(); }, - //获取竞赛底部item信息 - getItem: function getItem(_ref11, _ref12) { + //获取头部信息 + getHeader: function getHeader(_ref11, _ref12) { var payload = _ref11.payload, callback = _ref11.callback; var call = _ref12.call, @@ -40048,7 +40048,7 @@ var CompetitionsModel = { while (1) switch (_context6.prev = _context6.next) { case 0: _context6.next = 2; - return call(competitions/* getItem */.rV, payload); + return call(competitions/* getHeader */.Pg, payload); case 2: response = _context6.sent; return _context6.abrupt("return", response); @@ -40059,8 +40059,8 @@ var CompetitionsModel = { }, _callee6); })(); }, - //修改item updateMdContent - updateMdContent: function updateMdContent(_ref13, _ref14) { + //获取竞赛底部item信息 + getItem: function getItem(_ref13, _ref14) { var payload = _ref13.payload, callback = _ref13.callback; var call = _ref14.call, @@ -40071,7 +40071,7 @@ var CompetitionsModel = { while (1) switch (_context7.prev = _context7.next) { case 0: _context7.next = 2; - return call(competitions/* updateMdContent */.zj, payload); + return call(competitions/* getItem */.rV, payload); case 2: response = _context7.sent; return _context7.abrupt("return", response); @@ -40082,8 +40082,8 @@ var CompetitionsModel = { }, _callee7); })(); }, - //获取战队列表 - getTeamList: function getTeamList(_ref15, _ref16) { + //修改item updateMdContent + updateMdContent: function updateMdContent(_ref15, _ref16) { var payload = _ref15.payload, callback = _ref15.callback; var call = _ref16.call, @@ -40094,7 +40094,7 @@ var CompetitionsModel = { while (1) switch (_context8.prev = _context8.next) { case 0: _context8.next = 2; - return call(competitions/* getTeamList */.aq, payload); + return call(competitions/* updateMdContent */.zj, payload); case 2: response = _context8.sent; return _context8.abrupt("return", response); @@ -40105,8 +40105,8 @@ var CompetitionsModel = { }, _callee8); })(); }, - //获取战队头像 Edit - getTeamDetail: function getTeamDetail(_ref17, _ref18) { + //获取战队列表 + getTeamList: function getTeamList(_ref17, _ref18) { var payload = _ref17.payload, callback = _ref17.callback; var call = _ref18.call, @@ -40117,7 +40117,7 @@ var CompetitionsModel = { while (1) switch (_context9.prev = _context9.next) { case 0: _context9.next = 2; - return call(competitions/* getTeamDetail */.Ze, payload); + return call(competitions/* getTeamList */.aq, payload); case 2: response = _context9.sent; return _context9.abrupt("return", response); @@ -40128,8 +40128,8 @@ var CompetitionsModel = { }, _callee9); })(); }, - //修改战队信息 - UpTeam: function UpTeam(_ref19, _ref20) { + //获取战队头像 Edit + getTeamDetail: function getTeamDetail(_ref19, _ref20) { var payload = _ref19.payload, callback = _ref19.callback; var call = _ref20.call, @@ -40140,7 +40140,7 @@ var CompetitionsModel = { while (1) switch (_context10.prev = _context10.next) { case 0: _context10.next = 2; - return call(competitions/* UpTeam */.yS, payload); + return call(competitions/* getTeamDetail */.Ze, payload); case 2: response = _context10.sent; return _context10.abrupt("return", response); @@ -40151,8 +40151,8 @@ var CompetitionsModel = { }, _callee10); })(); }, - //删除战队 - DeleteTeam: function DeleteTeam(_ref21, _ref22) { + //修改战队信息 + UpTeam: function UpTeam(_ref21, _ref22) { var payload = _ref21.payload, callback = _ref21.callback; var call = _ref22.call, @@ -40163,7 +40163,7 @@ var CompetitionsModel = { while (1) switch (_context11.prev = _context11.next) { case 0: _context11.next = 2; - return call(competitions/* DeleteTeam */.ps, payload); + return call(competitions/* UpTeam */.yS, payload); case 2: response = _context11.sent; return _context11.abrupt("return", response); @@ -40174,8 +40174,8 @@ var CompetitionsModel = { }, _callee11); })(); }, - //退出战队 ExitTeam - ExitTeam: function ExitTeam(_ref23, _ref24) { + //删除战队 + DeleteTeam: function DeleteTeam(_ref23, _ref24) { var payload = _ref23.payload, callback = _ref23.callback; var call = _ref24.call, @@ -40186,7 +40186,7 @@ var CompetitionsModel = { while (1) switch (_context12.prev = _context12.next) { case 0: _context12.next = 2; - return call(competitions/* ExitTeam */.vV, payload); + return call(competitions/* DeleteTeam */.ps, payload); case 2: response = _context12.sent; return _context12.abrupt("return", response); @@ -40197,8 +40197,8 @@ var CompetitionsModel = { }, _callee12); })(); }, - //新增战队 AddTeam - AddTeam: function AddTeam(_ref25, _ref26) { + //退出战队 ExitTeam + ExitTeam: function ExitTeam(_ref25, _ref26) { var payload = _ref25.payload, callback = _ref25.callback; var call = _ref26.call, @@ -40209,7 +40209,7 @@ var CompetitionsModel = { while (1) switch (_context13.prev = _context13.next) { case 0: _context13.next = 2; - return call(competitions/* AddTeam */.FU, payload); + return call(competitions/* ExitTeam */.vV, payload); case 2: response = _context13.sent; return _context13.abrupt("return", response); @@ -40220,8 +40220,8 @@ var CompetitionsModel = { }, _callee13); })(); }, - //加入战队 JoinTeam - JoinTeam: function JoinTeam(_ref27, _ref28) { + //新增战队 AddTeam + AddTeam: function AddTeam(_ref27, _ref28) { var payload = _ref27.payload, callback = _ref27.callback; var call = _ref28.call, @@ -40232,7 +40232,7 @@ var CompetitionsModel = { while (1) switch (_context14.prev = _context14.next) { case 0: _context14.next = 2; - return call(competitions/* JoinTeam */.zc, payload); + return call(competitions/* AddTeam */.FU, payload); case 2: response = _context14.sent; return _context14.abrupt("return", response); @@ -40243,8 +40243,8 @@ var CompetitionsModel = { }, _callee14); })(); }, - //查找老师 getTeacher - getTeacher: function getTeacher(_ref29, _ref30) { + //加入战队 JoinTeam + JoinTeam: function JoinTeam(_ref29, _ref30) { var payload = _ref29.payload, callback = _ref29.callback; var call = _ref30.call, @@ -40255,7 +40255,7 @@ var CompetitionsModel = { while (1) switch (_context15.prev = _context15.next) { case 0: _context15.next = 2; - return call(competitions/* getTeacher */.jS, payload); + return call(competitions/* JoinTeam */.zc, payload); case 2: response = _context15.sent; return _context15.abrupt("return", response); @@ -40266,8 +40266,8 @@ var CompetitionsModel = { }, _callee15); })(); }, - //查找学生 getStudents - getStudents: function getStudents(_ref31, _ref32) { + //查找老师 getTeacher + getTeacher: function getTeacher(_ref31, _ref32) { var payload = _ref31.payload, callback = _ref31.callback; var call = _ref32.call, @@ -40278,7 +40278,7 @@ var CompetitionsModel = { while (1) switch (_context16.prev = _context16.next) { case 0: _context16.next = 2; - return call(competitions/* getStudents */.sK, payload); + return call(competitions/* getTeacher */.jS, payload); case 2: response = _context16.sent; return _context16.abrupt("return", response); @@ -40289,8 +40289,8 @@ var CompetitionsModel = { }, _callee16); })(); }, - //提交战队成员 SubmitTeam - SubmitTeam: function SubmitTeam(_ref33, _ref34) { + //查找学生 getStudents + getStudents: function getStudents(_ref33, _ref34) { var payload = _ref33.payload, callback = _ref33.callback; var call = _ref34.call, @@ -40301,7 +40301,7 @@ var CompetitionsModel = { while (1) switch (_context17.prev = _context17.next) { case 0: _context17.next = 2; - return call(competitions/* SubmitTeam */.rm, payload); + return call(competitions/* getStudents */.sK, payload); case 2: response = _context17.sent; return _context17.abrupt("return", response); @@ -40312,8 +40312,8 @@ var CompetitionsModel = { }, _callee17); })(); }, - //领取代金劵 Reward - Reward: function Reward(_ref35, _ref36) { + //提交战队成员 SubmitTeam + SubmitTeam: function SubmitTeam(_ref35, _ref36) { var payload = _ref35.payload, callback = _ref35.callback; var call = _ref36.call, @@ -40324,7 +40324,7 @@ var CompetitionsModel = { while (1) switch (_context18.prev = _context18.next) { case 0: _context18.next = 2; - return call(competitions/* Reward */.Qp, payload); + return call(competitions/* SubmitTeam */.rm, payload); case 2: response = _context18.sent; return _context18.abrupt("return", response); @@ -40335,8 +40335,8 @@ var CompetitionsModel = { }, _callee18); })(); }, - //获取排行榜头部 ChartRules - ChartRules: function ChartRules(_ref37, _ref38) { + //领取代金劵 Reward + Reward: function Reward(_ref37, _ref38) { var payload = _ref37.payload, callback = _ref37.callback; var call = _ref38.call, @@ -40347,7 +40347,7 @@ var CompetitionsModel = { while (1) switch (_context19.prev = _context19.next) { case 0: _context19.next = 2; - return call(competitions/* ChartRules */.Ux, payload); + return call(competitions/* Reward */.Qp, payload); case 2: response = _context19.sent; return _context19.abrupt("return", response); @@ -40358,8 +40358,8 @@ var CompetitionsModel = { }, _callee19); })(); }, - //获取战队信息 Charts - Charts: function Charts(_ref39, _ref40) { + //获取排行榜头部 ChartRules + ChartRules: function ChartRules(_ref39, _ref40) { var payload = _ref39.payload, callback = _ref39.callback; var call = _ref40.call, @@ -40370,7 +40370,7 @@ var CompetitionsModel = { while (1) switch (_context20.prev = _context20.next) { case 0: _context20.next = 2; - return call(competitions/* Charts */.GQ, payload); + return call(competitions/* ChartRules */.Ux, payload); case 2: response = _context20.sent; return _context20.abrupt("return", response); @@ -40381,8 +40381,8 @@ var CompetitionsModel = { }, _callee20); })(); }, - //获取战队信息 TabResults - TabResults: function TabResults(_ref41, _ref42) { + //获取战队信息 Charts + Charts: function Charts(_ref41, _ref42) { var payload = _ref41.payload, callback = _ref41.callback; var call = _ref42.call, @@ -40393,7 +40393,7 @@ var CompetitionsModel = { while (1) switch (_context21.prev = _context21.next) { case 0: _context21.next = 2; - return call(competitions/* TabResults */.ml, payload); + return call(competitions/* Charts */.GQ, payload); case 2: response = _context21.sent; return _context21.abrupt("return", response); @@ -40404,8 +40404,8 @@ var CompetitionsModel = { }, _callee21); })(); }, - //获取战队信息 Results - Results: function Results(_ref43, _ref44) { + //获取战队信息 TabResults + TabResults: function TabResults(_ref43, _ref44) { var payload = _ref43.payload, callback = _ref43.callback; var call = _ref44.call, @@ -40416,7 +40416,7 @@ var CompetitionsModel = { while (1) switch (_context22.prev = _context22.next) { case 0: _context22.next = 2; - return call(competitions/* Results */.u9, payload); + return call(competitions/* TabResults */.ml, payload); case 2: response = _context22.sent; return _context22.abrupt("return", response); @@ -40427,8 +40427,8 @@ var CompetitionsModel = { }, _callee22); })(); }, - //获取获奖证书 Prize - Prize: function Prize(_ref45, _ref46) { + //获取战队信息 Results + Results: function Results(_ref45, _ref46) { var payload = _ref45.payload, callback = _ref45.callback; var call = _ref46.call, @@ -40439,7 +40439,7 @@ var CompetitionsModel = { while (1) switch (_context23.prev = _context23.next) { case 0: _context23.next = 2; - return call(competitions/* Prize */.pU, payload); + return call(competitions/* Results */.u9, payload); case 2: response = _context23.sent; return _context23.abrupt("return", response); @@ -40450,8 +40450,8 @@ var CompetitionsModel = { }, _callee23); })(); }, - //获取用户信息 Accounts - Accounts: function Accounts(_ref47, _ref48) { + //获取获奖证书 Prize + Prize: function Prize(_ref47, _ref48) { var payload = _ref47.payload, callback = _ref47.callback; var call = _ref48.call, @@ -40462,7 +40462,7 @@ var CompetitionsModel = { while (1) switch (_context24.prev = _context24.next) { case 0: _context24.next = 2; - return call(competitions/* Accounts */.XJ, payload); + return call(competitions/* Prize */.pU, payload); case 2: response = _context24.sent; return _context24.abrupt("return", response); @@ -40473,8 +40473,8 @@ var CompetitionsModel = { }, _callee24); })(); }, - //获取验证码 getVerification - getVerification: function getVerification(_ref49, _ref50) { + //获取用户信息 Accounts + Accounts: function Accounts(_ref49, _ref50) { var payload = _ref49.payload, callback = _ref49.callback; var call = _ref50.call, @@ -40485,7 +40485,7 @@ var CompetitionsModel = { while (1) switch (_context25.prev = _context25.next) { case 0: _context25.next = 2; - return call(competitions/* getVerification */.Ni, payload); + return call(competitions/* Accounts */.XJ, payload); case 2: response = _context25.sent; return _context25.abrupt("return", response); @@ -40496,8 +40496,8 @@ var CompetitionsModel = { }, _callee25); })(); }, - //绑定手机 - PhoneBind: function PhoneBind(_ref51, _ref52) { + //获取验证码 getVerification + getVerification: function getVerification(_ref51, _ref52) { var payload = _ref51.payload, callback = _ref51.callback; var call = _ref52.call, @@ -40508,7 +40508,7 @@ var CompetitionsModel = { while (1) switch (_context26.prev = _context26.next) { case 0: _context26.next = 2; - return call(competitions/* PhoneBind */.uZ, payload); + return call(competitions/* getVerification */.Ni, payload); case 2: response = _context26.sent; return _context26.abrupt("return", response); @@ -40519,8 +40519,8 @@ var CompetitionsModel = { }, _callee26); })(); }, - //绑定邮箱 - EmailBind: function EmailBind(_ref53, _ref54) { + //绑定手机 + PhoneBind: function PhoneBind(_ref53, _ref54) { var payload = _ref53.payload, callback = _ref53.callback; var call = _ref54.call, @@ -40531,7 +40531,7 @@ var CompetitionsModel = { while (1) switch (_context27.prev = _context27.next) { case 0: _context27.next = 2; - return call(competitions/* EmailBind */.rk, payload); + return call(competitions/* PhoneBind */.uZ, payload); case 2: response = _context27.sent; return _context27.abrupt("return", response); @@ -40542,8 +40542,8 @@ var CompetitionsModel = { }, _callee27); })(); }, - //撤销认证 Authentication, Professional - Authentication: function Authentication(_ref55, _ref56) { + //绑定邮箱 + EmailBind: function EmailBind(_ref55, _ref56) { var payload = _ref55.payload, callback = _ref55.callback; var call = _ref56.call, @@ -40554,7 +40554,7 @@ var CompetitionsModel = { while (1) switch (_context28.prev = _context28.next) { case 0: _context28.next = 2; - return call(competitions/* Authentication */.Vy, payload); + return call(competitions/* EmailBind */.rk, payload); case 2: response = _context28.sent; return _context28.abrupt("return", response); @@ -40565,7 +40565,8 @@ var CompetitionsModel = { }, _callee28); })(); }, - Professional: function Professional(_ref57, _ref58) { + //撤销认证 Authentication, Professional + Authentication: function Authentication(_ref57, _ref58) { var payload = _ref57.payload, callback = _ref57.callback; var call = _ref58.call, @@ -40576,7 +40577,7 @@ var CompetitionsModel = { while (1) switch (_context29.prev = _context29.next) { case 0: _context29.next = 2; - return call(competitions/* Professional */.tC, payload); + return call(competitions/* Authentication */.Vy, payload); case 2: response = _context29.sent; return _context29.abrupt("return", response); @@ -40587,8 +40588,7 @@ var CompetitionsModel = { }, _callee29); })(); }, - //提交银行卡信息 - setleader: function setleader(_ref59, _ref60) { + Professional: function Professional(_ref59, _ref60) { var payload = _ref59.payload, callback = _ref59.callback; var call = _ref60.call, @@ -40599,7 +40599,7 @@ var CompetitionsModel = { while (1) switch (_context30.prev = _context30.next) { case 0: _context30.next = 2; - return call(competitions/* setleader */.tO, payload); + return call(competitions/* Professional */.tC, payload); case 2: response = _context30.sent; return _context30.abrupt("return", response); @@ -40610,8 +40610,8 @@ var CompetitionsModel = { }, _callee30); })(); }, - //获取实训 getShixun - getShixun: function getShixun(_ref61, _ref62) { + //提交银行卡信息 + setleader: function setleader(_ref61, _ref62) { var payload = _ref61.payload, callback = _ref61.callback; var call = _ref62.call, @@ -40622,7 +40622,7 @@ var CompetitionsModel = { while (1) switch (_context31.prev = _context31.next) { case 0: _context31.next = 2; - return call(competitions/* getShixun */.qj, payload); + return call(competitions/* setleader */.tO, payload); case 2: response = _context31.sent; return _context31.abrupt("return", response); @@ -40633,8 +40633,8 @@ var CompetitionsModel = { }, _callee31); })(); }, - //获取课堂 getCourse - getCourse: function getCourse(_ref63, _ref64) { + //获取实训 getShixun + getShixun: function getShixun(_ref63, _ref64) { var payload = _ref63.payload, callback = _ref63.callback; var call = _ref64.call, @@ -40645,7 +40645,7 @@ var CompetitionsModel = { while (1) switch (_context32.prev = _context32.next) { case 0: _context32.next = 2; - return call(competitions/* getCourse */.XR, payload); + return call(competitions/* getShixun */.qj, payload); case 2: response = _context32.sent; return _context32.abrupt("return", response); @@ -40655,6 +40655,29 @@ var CompetitionsModel = { } }, _callee32); })(); + }, + //获取课堂 getCourse + getCourse: function getCourse(_ref65, _ref66) { + var payload = _ref65.payload, + callback = _ref65.callback; + var call = _ref66.call, + put = _ref66.put; + return /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee33() { + var response; + return regeneratorRuntime_default()().wrap(function _callee33$(_context33) { + while (1) switch (_context33.prev = _context33.next) { + case 0: + _context33.next = 2; + return call(competitions/* getCourse */.XR, payload); + case 2: + response = _context33.sent; + return _context33.abrupt("return", response); + case 4: + case "end": + return _context33.stop(); + } + }, _callee33); + })(); } }, reducers: { @@ -40664,12 +40687,12 @@ var CompetitionsModel = { } }, subscriptions: { - setup: function setup(_ref65) { - var dispatch = _ref65.dispatch, - history = _ref65.history; + setup: function setup(_ref67) { + var dispatch = _ref67.dispatch, + history = _ref67.history; // console.log("subscriptions:", dispatch, history) - return history.listen(function (_ref66) { - var pathname = _ref66.pathname; + return history.listen(function (_ref68) { + var pathname = _ref68.pathname; if (pathname === '/') { dispatch({ type: 'query' @@ -57060,13 +57083,14 @@ function _getCommitIdContent() { /* harmony export */ "vV": function() { return /* binding */ ExitTeam; }, /* harmony export */ "y8": function() { return /* binding */ deletAttachments; }, /* harmony export */ "yS": function() { return /* binding */ UpTeam; }, +/* harmony export */ "zF": function() { return /* binding */ getWorkSubmitUpdateRes; }, /* harmony export */ "zc": function() { return /* binding */ JoinTeam; }, /* harmony export */ "zj": function() { return /* binding */ updateMdContent; } /* 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_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_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __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_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_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 _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 84519); @@ -57074,710 +57098,731 @@ function _getCommitIdContent() { +// 作品提交-作品编辑 /api/competitions/test22/update_result.json +function getWorkSubmitUpdateRes(_x) { + return _getWorkSubmitUpdateRes.apply(this, arguments); +} //获取在线竞赛列表 -function getCompetitionsList(_x) { +function _getWorkSubmitUpdateRes() { + _getWorkSubmitUpdateRes = _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_1___default()().mark(function _callee(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/update_result.json"), { + method: 'post', + body: params + })); + case 1: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _getWorkSubmitUpdateRes.apply(this, arguments); +} +function getCompetitionsList(_x2) { return _getCompetitionsList.apply(this, arguments); } //学生身份调用加入课堂进入课堂首页 function _getCompetitionsList() { - _getCompetitionsList = _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(params) { - 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) { + _getCompetitionsList = _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_1___default()().mark(function _callee2(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { case 0: - return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/competitions.json', { + return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/competitions.json', { method: 'Get', - params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context.stop(); + return _context2.stop(); } - }, _callee); + }, _callee2); })); return _getCompetitionsList.apply(this, arguments); } -function addApplytojoincourse(_x2) { +function addApplytojoincourse(_x3) { return _addApplytojoincourse.apply(this, arguments); } //报名接口 function _addApplytojoincourse() { - _addApplytojoincourse = _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 _callee2(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { + _addApplytojoincourse = _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_1___default()().mark(function _callee3(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { case 0: - return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/apply_to_join_course.json", { + return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/apply_to_join_course.json", { method: 'post', body: params })); case 1: case "end": - return _context2.stop(); + return _context3.stop(); } - }, _callee2); + }, _callee3); })); return _addApplytojoincourse.apply(this, arguments); } -function competitionTeams(_x3) { +function competitionTeams(_x4) { return _competitionTeams.apply(this, arguments); } //获取竞赛详情信息接口 function _competitionTeams() { - _competitionTeams = _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 _callee3(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { + _competitionTeams = _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_1___default()().mark(function _callee4(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { case 0: - return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams.json"), { + return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams.json"), { method: 'post' })); case 1: case "end": - return _context3.stop(); + return _context4.stop(); } - }, _callee3); + }, _callee4); })); return _competitionTeams.apply(this, arguments); } -function getStaff(_x4) { +function getStaff(_x5) { return _getStaff.apply(this, arguments); } //获取头部信息接口 function _getStaff() { - _getStaff = _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 _callee4(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { + _getStaff = _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_1___default()().mark(function _callee5(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { case 0: - return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_staff.json"), { + return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_staff.json"), { method: 'get' })); case 1: case "end": - return _context4.stop(); + return _context5.stop(); } - }, _callee4); + }, _callee5); })); return _getStaff.apply(this, arguments); } -function getHeader(_x5) { +function getHeader(_x6) { return _getHeader.apply(this, arguments); } //获取竞赛底部item function _getHeader() { - _getHeader = _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 _callee5(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { + _getHeader = _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_1___default()().mark(function _callee6(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { case 0: - return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/common_header.json"), { + return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/common_header.json"), { method: 'get' })); case 1: case "end": - return _context5.stop(); + return _context6.stop(); } - }, _callee5); + }, _callee6); })); return _getHeader.apply(this, arguments); } -function getItem(_x6) { +function getItem(_x7) { return _getItem.apply(this, arguments); } //修改底部item function _getItem() { - _getItem = _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 _callee6(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { + _getItem = _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_1___default()().mark(function _callee7(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { case 0: - return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/".concat(params.url), { + return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/".concat(params.url), { method: 'get', - params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context6.stop(); + return _context7.stop(); } - }, _callee6); + }, _callee7); })); return _getItem.apply(this, arguments); } -function updateMdContent(_x7) { +function updateMdContent(_x8) { return _updateMdContent.apply(this, arguments); } //获取战队信息 competition_teams function _updateMdContent() { - _updateMdContent = _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 _callee7(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { - while (1) switch (_context7.prev = _context7.next) { + _updateMdContent = _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_1___default()().mark(function _callee8(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) { + while (1) switch (_context8.prev = _context8.next) { case 0: - return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/update_md_content.json"), { + return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/update_md_content.json"), { method: 'post', body: params })); case 1: case "end": - return _context7.stop(); + return _context8.stop(); } - }, _callee7); + }, _callee8); })); return _updateMdContent.apply(this, arguments); } -function getTeamList(_x8) { +function getTeamList(_x9) { return _getTeamList.apply(this, arguments); } //获取战队详情信息 function _getTeamList() { - _getTeamList = _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 _callee8(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { - while (1) switch (_context8.prev = _context8.next) { + _getTeamList = _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_1___default()().mark(function _callee9(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee9$(_context9) { + while (1) switch (_context9.prev = _context9.next) { case 0: - return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams.json"), { + return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams.json"), { method: 'get', params: params })); case 1: case "end": - return _context8.stop(); + return _context9.stop(); } - }, _callee8); + }, _callee9); })); return _getTeamList.apply(this, arguments); } -function getTeamDetail(_x9) { +function getTeamDetail(_x10) { return _getTeamDetail.apply(this, arguments); } //修改战队信息 function _getTeamDetail() { - _getTeamDetail = _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 _callee9(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { - while (1) switch (_context9.prev = _context9.next) { + _getTeamDetail = _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_1___default()().mark(function _callee10(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) { + while (1) switch (_context10.prev = _context10.next) { case 0: - return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.Teannameid, "/edit.json"), { + return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.Teannameid, "/edit.json"), { method: 'get', params: params })); case 1: case "end": - return _context9.stop(); + return _context10.stop(); } - }, _callee9); + }, _callee10); })); return _getTeamDetail.apply(this, arguments); } -function UpTeam(_x10) { +function UpTeam(_x11) { return _UpTeam.apply(this, arguments); } //退出战队 function _UpTeam() { - _UpTeam = _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 _callee10(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { - while (1) switch (_context10.prev = _context10.next) { + _UpTeam = _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_1___default()().mark(function _callee11(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) { + while (1) switch (_context11.prev = _context11.next) { case 0: - return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.Teannameid, ".json"), { + return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.Teannameid, ".json"), { method: 'put', body: params })); case 1: case "end": - return _context10.stop(); + return _context11.stop(); } - }, _callee10); + }, _callee11); })); return _UpTeam.apply(this, arguments); } -function ExitTeam(_x11) { +function ExitTeam(_x12) { return _ExitTeam.apply(this, arguments); } //删除战队 function _ExitTeam() { - _ExitTeam = _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 _callee11(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { - while (1) switch (_context11.prev = _context11.next) { + _ExitTeam = _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_1___default()().mark(function _callee12(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) { + while (1) switch (_context12.prev = _context12.next) { case 0: - return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.id, "/leave.json"), { + return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.id, "/leave.json"), { method: 'post', body: params })); case 1: case "end": - return _context11.stop(); + return _context12.stop(); } - }, _callee11); + }, _callee12); })); return _ExitTeam.apply(this, arguments); } -function DeleteTeam(_x12) { +function DeleteTeam(_x13) { return _DeleteTeam.apply(this, arguments); } //创建战队 function _DeleteTeam() { - _DeleteTeam = _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 _callee12(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { - while (1) switch (_context12.prev = _context12.next) { + _DeleteTeam = _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_1___default()().mark(function _callee13(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) { + while (1) switch (_context13.prev = _context13.next) { case 0: - return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.id, ".json"), { + return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": - return _context12.stop(); + return _context13.stop(); } - }, _callee12); + }, _callee13); })); return _DeleteTeam.apply(this, arguments); } -function AddTeam(_x13) { +function AddTeam(_x14) { return _AddTeam.apply(this, arguments); } //加入战队 function _AddTeam() { - _AddTeam = _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 _callee13(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { - while (1) switch (_context13.prev = _context13.next) { + _AddTeam = _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_1___default()().mark(function _callee14(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) { + while (1) switch (_context14.prev = _context14.next) { case 0: - return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams.json"), { + return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams.json"), { method: 'post', body: params })); case 1: case "end": - return _context13.stop(); + return _context14.stop(); } - }, _callee13); + }, _callee14); })); return _AddTeam.apply(this, arguments); } -function JoinTeam(_x14) { +function JoinTeam(_x15) { return _JoinTeam.apply(this, arguments); } //查找老师 function _JoinTeam() { - _JoinTeam = _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 _callee14(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { - while (1) switch (_context14.prev = _context14.next) { + _JoinTeam = _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_1___default()().mark(function _callee15(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) { + while (1) switch (_context15.prev = _context15.next) { case 0: - return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/join.json"), { + return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/join.json"), { method: 'post', body: params })); case 1: case "end": - return _context14.stop(); + return _context15.stop(); } - }, _callee14); + }, _callee15); })); return _JoinTeam.apply(this, arguments); } -function getTeacher(_x15) { +function getTeacher(_x16) { return _getTeacher.apply(this, arguments); } //查找学生 function _getTeacher() { - _getTeacher = _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 _callee15(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { - while (1) switch (_context15.prev = _context15.next) { + _getTeacher = _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_1___default()().mark(function _callee16(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) { + while (1) switch (_context16.prev = _context16.next) { case 0: - return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/teachers.json"), { + return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/teachers.json"), { method: 'get', params: params })); case 1: case "end": - return _context15.stop(); + return _context16.stop(); } - }, _callee15); + }, _callee16); })); return _getTeacher.apply(this, arguments); } -function getStudents(_x16) { +function getStudents(_x17) { return _getStudents.apply(this, arguments); } //提交数据 function _getStudents() { - _getStudents = _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 _callee16(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { - while (1) switch (_context16.prev = _context16.next) { + _getStudents = _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_1___default()().mark(function _callee17(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) { + while (1) switch (_context17.prev = _context17.next) { case 0: - return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/students.json"), { + return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/students.json"), { method: 'get', params: params })); case 1: case "end": - return _context16.stop(); + return _context17.stop(); } - }, _callee16); + }, _callee17); })); return _getStudents.apply(this, arguments); } -function SubmitTeam(_x17) { +function SubmitTeam(_x18) { return _SubmitTeam.apply(this, arguments); } //领取代金劵 function _SubmitTeam() { - _SubmitTeam = _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 _callee17(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { - while (1) switch (_context17.prev = _context17.next) { + _SubmitTeam = _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_1___default()().mark(function _callee18(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) { + while (1) switch (_context18.prev = _context18.next) { case 0: - return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.teamid, "/crud_team_members.json"), { + return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.teamid, "/crud_team_members.json"), { method: 'post', body: params })); case 1: case "end": - return _context17.stop(); + return _context18.stop(); } - }, _callee17); + }, _callee18); })); return _SubmitTeam.apply(this, arguments); } -function Reward(_x18) { +function Reward(_x19) { return _Reward.apply(this, arguments); } //获取排行榜tab chart_rules function _Reward() { - _Reward = _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 _callee18(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { - while (1) switch (_context18.prev = _context18.next) { + _Reward = _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_1___default()().mark(function _callee19(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) { + while (1) switch (_context19.prev = _context19.next) { case 0: - return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/competition_reward.json", { + return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/competition_reward.json", { method: 'post', body: params })); case 1: case "end": - return _context18.stop(); + return _context19.stop(); } - }, _callee18); + }, _callee19); })); return _Reward.apply(this, arguments); } -function ChartRules(_x19) { +function ChartRules(_x20) { return _ChartRules.apply(this, arguments); } //获取排行榜 排名数据 function _ChartRules() { - _ChartRules = _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 _callee19(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { - while (1) switch (_context19.prev = _context19.next) { + _ChartRules = _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_1___default()().mark(function _callee20(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) { + while (1) switch (_context20.prev = _context20.next) { case 0: - return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/chart_rules.json"), { + return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/chart_rules.json"), { method: 'get' })); case 1: case "end": - return _context19.stop(); + return _context20.stop(); } - }, _callee19); + }, _callee20); })); return _ChartRules.apply(this, arguments); } -function Charts(_x20) { +function Charts(_x21) { return _Charts.apply(this, arguments); } //获取提交结果拍行榜数据 function _Charts() { - _Charts = _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 _callee20(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { - while (1) switch (_context20.prev = _context20.next) { + _Charts = _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_1___default()().mark(function _callee21(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) { + while (1) switch (_context21.prev = _context21.next) { case 0: - return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/charts.json"), { + return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/charts.json"), { method: 'get', params: params })); case 1: case "end": - return _context20.stop(); + return _context21.stop(); } - }, _callee20); + }, _callee21); })); return _Charts.apply(this, arguments); } -function Results(_x21) { +function Results(_x22) { return _Results.apply(this, arguments); } //获取提交结果拍行榜数据 function _Results() { - _Results = _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 _callee21(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { - while (1) switch (_context21.prev = _context21.next) { + _Results = _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_1___default()().mark(function _callee22(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) { + while (1) switch (_context22.prev = _context22.next) { case 0: - return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/results.json"), { + return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/results.json"), { method: 'get', params: params })); case 1: case "end": - return _context21.stop(); + return _context22.stop(); } - }, _callee21); + }, _callee22); })); return _Results.apply(this, arguments); } -function TabResults(_x22) { +function TabResults(_x23) { return _TabResults.apply(this, arguments); } //获取获奖证书 prize function _TabResults() { - _TabResults = _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 _callee22(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { - while (1) switch (_context22.prev = _context22.next) { + _TabResults = _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_1___default()().mark(function _callee23(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) { + while (1) switch (_context23.prev = _context23.next) { case 0: - return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/md_tab_rules.json"), { + return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/md_tab_rules.json"), { method: 'get', params: params })); case 1: case "end": - return _context22.stop(); + return _context23.stop(); } - }, _callee22); + }, _callee23); })); return _TabResults.apply(this, arguments); } -function Prize(_x23) { +function Prize(_x24) { return _Prize.apply(this, arguments); } //获取个人详情信息 function _Prize() { - _Prize = _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 _callee23(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) { - while (1) switch (_context23.prev = _context23.next) { + _Prize = _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_1___default()().mark(function _callee24(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) { + while (1) switch (_context24.prev = _context24.next) { case 0: - return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/prize.json"), { + return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/prize.json"), { method: 'get', params: params })); case 1: case "end": - return _context23.stop(); + return _context24.stop(); } - }, _callee23); + }, _callee24); })); return _Prize.apply(this, arguments); } -function Accounts(_x24) { +function Accounts(_x25) { return _Accounts.apply(this, arguments); } //获取邮箱 get_verification_code function _Accounts() { - _Accounts = _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 _callee24(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { - while (1) switch (_context24.prev = _context24.next) { + _Accounts = _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_1___default()().mark(function _callee25(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee25$(_context25) { + while (1) switch (_context25.prev = _context25.next) { case 0: - return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.id, ".json"), { + return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.id, ".json"), { method: 'get', params: params })); case 1: case "end": - return _context24.stop(); + return _context25.stop(); } - }, _callee24); + }, _callee25); })); return _Accounts.apply(this, arguments); } -function getVerification(_x25) { +function getVerification(_x26) { return _getVerification.apply(this, arguments); } //绑定手机号 /api/users/accounts/130978/phone_bind.json function _getVerification() { - _getVerification = _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 _callee25(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { - while (1) switch (_context25.prev = _context25.next) { + _getVerification = _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_1___default()().mark(function _callee26(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee26$(_context26) { + while (1) switch (_context26.prev = _context26.next) { case 0: - return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/accounts/get_verification_code.json", { + return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/accounts/get_verification_code.json", { method: 'get', params: params })); case 1: case "end": - return _context25.stop(); + return _context26.stop(); } - }, _callee25); + }, _callee26); })); return _getVerification.apply(this, arguments); } -function PhoneBind(_x26) { +function PhoneBind(_x27) { return _PhoneBind.apply(this, arguments); } //绑定邮箱 function _PhoneBind() { - _PhoneBind = _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 _callee26(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { - while (1) switch (_context26.prev = _context26.next) { + _PhoneBind = _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_1___default()().mark(function _callee27(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee27$(_context27) { + while (1) switch (_context27.prev = _context27.next) { case 0: - return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/phone_bind.json"), { + return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/phone_bind.json"), { method: 'post', body: params })); case 1: case "end": - return _context26.stop(); + return _context27.stop(); } - }, _callee26); + }, _callee27); })); return _PhoneBind.apply(this, arguments); } -function EmailBind(_x27) { +function EmailBind(_x28) { return _EmailBind.apply(this, arguments); } //职业信息撤销认证/users/accounts/${userid}/professional_auth_apply.json function _EmailBind() { - _EmailBind = _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 _callee27(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) { - while (1) switch (_context27.prev = _context27.next) { + _EmailBind = _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_1___default()().mark(function _callee28(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee28$(_context28) { + while (1) switch (_context28.prev = _context28.next) { case 0: - return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/email_bind.json"), { + return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/email_bind.json"), { method: 'post', body: params })); case 1: case "end": - return _context27.stop(); + return _context28.stop(); } - }, _callee27); + }, _callee28); })); return _EmailBind.apply(this, arguments); } -function Professional(_x28) { +function Professional(_x29) { return _Professional.apply(this, arguments); } //实名信息撤销认证 /users/accounts/${userid}/authentication_apply.json function _Professional() { - _Professional = _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 _callee28(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) { - while (1) switch (_context28.prev = _context28.next) { + _Professional = _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_1___default()().mark(function _callee29(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee29$(_context29) { + while (1) switch (_context29.prev = _context29.next) { case 0: - return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/professional_auth_apply.json"), { + return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/professional_auth_apply.json"), { method: 'delete' })); case 1: case "end": - return _context28.stop(); + return _context29.stop(); } - }, _callee28); + }, _callee29); })); return _Professional.apply(this, arguments); } -function Authentication(_x29) { +function Authentication(_x30) { return _Authentication.apply(this, arguments); } //提交银行卡信息 function _Authentication() { - _Authentication = _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 _callee29(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee29$(_context29) { - while (1) switch (_context29.prev = _context29.next) { + _Authentication = _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_1___default()().mark(function _callee30(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee30$(_context30) { + while (1) switch (_context30.prev = _context30.next) { case 0: - return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/authentication_apply.json"), { + return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/accounts/".concat(params.userid, "/authentication_apply.json"), { method: 'delete' })); case 1: case "end": - return _context29.stop(); + return _context30.stop(); } - }, _callee29); + }, _callee30); })); return _Authentication.apply(this, arguments); } -function setleader(_x30) { +function setleader(_x31) { return _setleader.apply(this, arguments); } //获取战队实训信息 function _setleader() { - _setleader = _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 _callee30(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) { - while (1) switch (_context30.prev = _context30.next) { + _setleader = _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_1___default()().mark(function _callee31(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee31$(_context31) { + while (1) switch (_context31.prev = _context31.next) { case 0: - return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/prize_leader_account.json"), { + return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/prize_leader_account.json"), { method: 'patch', body: params })); case 1: case "end": - return _context30.stop(); + return _context31.stop(); } - }, _callee30); + }, _callee31); })); return _setleader.apply(this, arguments); } -function getShixun(_x31) { +function getShixun(_x32) { return _getShixun.apply(this, arguments); } //获取战队课堂信息 function _getShixun() { - _getShixun = _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 _callee31(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee31$(_context31) { - while (1) switch (_context31.prev = _context31.next) { + _getShixun = _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_1___default()().mark(function _callee32(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee32$(_context32) { + while (1) switch (_context32.prev = _context32.next) { case 0: - return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.teamid, "/shixun_detail.json"), { + return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.teamid, "/shixun_detail.json"), { method: 'get' })); case 1: case "end": - return _context31.stop(); + return _context32.stop(); } - }, _callee31); + }, _callee32); })); return _getShixun.apply(this, arguments); } -function getCourse(_x32) { +function getCourse(_x33) { return _getCourse.apply(this, arguments); } //删除视频 function _getCourse() { - _getCourse = _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 _callee32(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee32$(_context32) { - while (1) switch (_context32.prev = _context32.next) { + _getCourse = _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_1___default()().mark(function _callee33(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee33$(_context33) { + while (1) switch (_context33.prev = _context33.next) { case 0: - return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.teamid, "/course_detail.json"), { + return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.identifier, "/competition_teams/").concat(params.teamid, "/course_detail.json"), { method: 'get' })); case 1: case "end": - return _context32.stop(); + return _context33.stop(); } - }, _callee32); + }, _callee33); })); return _getCourse.apply(this, arguments); } -function deletAttachments(_x33) { +function deletAttachments(_x34) { return _deletAttachments.apply(this, arguments); } // 导出证书 function _deletAttachments() { - _deletAttachments = _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 _callee33(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee33$(_context33) { - while (1) switch (_context33.prev = _context33.next) { + _deletAttachments = _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_1___default()().mark(function _callee34(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee34$(_context34) { + while (1) switch (_context34.prev = _context34.next) { case 0: - return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/attachments/".concat(params.id, ".json"), { + return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/attachments/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": - return _context33.stop(); + return _context34.stop(); } - }, _callee33); + }, _callee34); })); return _deletAttachments.apply(this, arguments); } -function getCertificateInfo(_x34) { +function getCertificateInfo(_x35) { return _getCertificateInfo.apply(this, arguments); } function _getCertificateInfo() { - _getCertificateInfo = _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 _callee34(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee34$(_context34) { - while (1) switch (_context34.prev = _context34.next) { + _getCertificateInfo = _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_1___default()().mark(function _callee35(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee35$(_context35) { + while (1) switch (_context35.prev = _context35.next) { case 0: - return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.id, "/get_certificate_info.json"), { + return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/competitions/".concat(params.id, "/get_certificate_info.json"), { method: 'get', params: params })); case 1: case "end": - return _context34.stop(); + return _context35.stop(); } - }, _callee34); + }, _callee35); })); return _getCertificateInfo.apply(this, arguments); } @@ -58215,6 +58260,7 @@ var putTopPageService = function putTopPageService(_ref4) { /* harmony export */ "qz": function() { return /* binding */ delayedTime; }, /* harmony export */ "s": function() { return /* binding */ getRedoListModal; }, /* harmony export */ "sA": function() { return /* binding */ getExaminationIntelligentSettings; }, +/* harmony export */ "sS": function() { return /* binding */ markQuestion; }, /* harmony export */ "tX": function() { return /* binding */ getRedoModal; }, /* harmony export */ "uR": function() { return /* binding */ addExercise; }, /* harmony export */ "ux": function() { return /* binding */ getPublishGroups; }, @@ -59314,6 +59360,26 @@ function _checkRedoStatus() { })); return _checkRedoStatus.apply(this, arguments); } +function markQuestion(_x49, _x50) { + return _markQuestion.apply(this, arguments); +} +function _markQuestion() { + _markQuestion = _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 _callee46(id, params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee46$(_context46) { + while (1) switch (_context46.prev = _context46.next) { + case 0: + return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(id, "/mark.json"), { + method: 'post', + body: params + })); + case 1: + case "end": + return _context46.stop(); + } + }, _callee46); + })); + return _markQuestion.apply(this, arguments); +} /***/ }), @@ -70712,8 +70778,8 @@ __webpack_require__.d(__webpack_exports__, { ;// CONCATENATED MODULE: ./src/utils/env/dev.ts var DEV = { - PROXY_SERVER: 'https://test-data.educoder.net', - API_SERVER: 'http://localhost:8000', + 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', FORGE: 'https://code.educoder.net/', @@ -71539,39 +71605,35 @@ function del(url, params) { /* unused harmony exports parseParams, StatusTags, WorkStatus, timego, timeformat, delCookie, getBlob, saveAs, isChromeOrFirefox, formatMoney, openNewWindows, formatTextMiddleIntercept, isEmpty, middleEllipsis, getUrlToken, checkDisabledExam, messageInfo, base64ToBlob, trackEventCustom */ /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/toConsumableArray.js */ 861); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var antd_es_checkbox_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/checkbox/style */ 82000); -/* harmony import */ var antd_es_checkbox__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! antd/es/checkbox */ 32808); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var antd_es_row_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! antd/es/row/style */ 13062); -/* harmony import */ var antd_es_row__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! antd/es/row */ 71230); -/* harmony import */ var antd_es_col_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/col/style */ 89032); -/* harmony import */ var antd_es_col__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! antd/es/col */ 15746); -/* harmony import */ var antd_es_modal_style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/modal/style */ 35611); -/* harmony import */ var antd_es_modal__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! antd/es/modal */ 85402); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__); -/* harmony import */ var antd_es_message_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd/es/message/style */ 14934); -/* harmony import */ var antd_es_message__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! antd/es/message */ 12461); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/defineProperty.js */ 38416); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/typeof.js */ 18698); -/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_10__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _utils_authority__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/utils/authority */ 7); -/* harmony import */ var _components_Exercise_ip__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/components/Exercise/ip */ 79443); -/* harmony import */ var _service_exercise__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/service/exercise */ 51412); -/* harmony import */ var _contentType__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./contentType */ 30729); -/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! umi */ 89214); -/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! md5 */ 2568); -/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_17__); -/* harmony import */ var _env__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./env */ 59758); -/* harmony import */ var _components_mediator__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/components/mediator */ 91562); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! react/jsx-runtime */ 85893); - - +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __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_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var antd_es_row_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd/es/row/style */ 13062); +/* harmony import */ var antd_es_row__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! antd/es/row */ 71230); +/* harmony import */ var antd_es_col_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! antd/es/col/style */ 89032); +/* harmony import */ var antd_es_col__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! antd/es/col */ 15746); +/* harmony import */ var antd_es_modal_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/modal/style */ 35611); +/* harmony import */ var antd_es_modal__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! antd/es/modal */ 85402); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var antd_es_message_style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd/es/message/style */ 14934); +/* harmony import */ var antd_es_message__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd/es/message */ 12461); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/defineProperty.js */ 38416); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/typeof.js */ 18698); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_9__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _utils_authority__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/utils/authority */ 7); +/* harmony import */ var _components_Exercise_ip__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/components/Exercise/ip */ 79443); +/* harmony import */ var _service_exercise__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/service/exercise */ 51412); +/* harmony import */ var _contentType__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./contentType */ 30729); +/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! umi */ 89214); +/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! md5 */ 2568); +/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_16__); +/* harmony import */ var _env__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./env */ 59758); +/* harmony import */ var _components_mediator__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/components/mediator */ 91562); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! react/jsx-runtime */ 85893); @@ -71598,7 +71660,6 @@ var _location, _location$pathname, _location$pathname$sp; - var aKey = "e83900ca9be33747397cc81a8f68ac11"; var sKey = "6de3a75ae5718cde1e0907a593afd01f"; var parseParams = function parseParams(param) { @@ -71606,7 +71667,7 @@ var parseParams = function parseParams(param) { // param.domain = window.location.host var paramStr = ''; var _loop = function _loop(key) { - if (_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_10___default()(param[key]) === 'object') { + if (_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_9___default()(param[key]) === 'object') { if (Array.isArray(param[key])) { param[key].forEach(function (element, k) { paramStr += '&' + key + "[]=" + element; @@ -71716,7 +71777,7 @@ var StatusTags = function StatusTags(props) { } }; return props.data && props.data.map(function (v, k) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: tags[v] && tags[v]['class'], children: v }, k); @@ -71729,7 +71790,7 @@ var StatusTags = function StatusTags(props) { */ var formatHomeWorkStatusToName = function formatHomeWorkStatusToName(status) { var _mapping; - var mapping = (_mapping = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_mapping, -1, '重做中'), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_mapping, 0, '未开启'), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_mapping, 1, '未通关'), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_mapping, 2, '按时通关'), _mapping); + var mapping = (_mapping = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_mapping, -1, '重做中'), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_mapping, 0, '未开启'), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_mapping, 1, '未通关'), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_mapping, 2, '按时通关'), _mapping); return mapping[status] || '迟交通关'; }; @@ -71739,52 +71800,52 @@ var formatHomeWorkStatusToName = function formatHomeWorkStatusToName(status) { */ var HomeWorkListStatus = function HomeWorkListStatus(props) { var _wStatus, _wStatus$props$status, _wStatus$props$status2; - var wStatus = (_wStatus = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus, -1, { + var wStatus = (_wStatus = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus, -1, { name: '重做中', "class": 'c-orange' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus, 0, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus, 0, { name: '未开启', "class": 'c-black' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus, 1, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus, 1, { name: '未通关', "class": 'c-red' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus, 2, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus, 2, { name: '按时通关', "class": 'c-green' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus, 3, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus, 3, { name: '迟交通关', "class": 'c-orange' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus, 4, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus, 4, { name: '截止通关', "class": 'c-red' }), _wStatus); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: wStatus === null || wStatus === void 0 ? void 0 : (_wStatus$props$status = wStatus[props.status]) === null || _wStatus$props$status === void 0 ? void 0 : _wStatus$props$status['class'], children: wStatus === null || wStatus === void 0 ? void 0 : (_wStatus$props$status2 = wStatus[props.status]) === null || _wStatus$props$status2 === void 0 ? void 0 : _wStatus$props$status2['name'] }); }; var HomeWorkShixunListStatus = function HomeWorkShixunListStatus(props) { var _wStatus2, _wStatus$props$status3, _wStatus$props$status4; - var wStatus = (_wStatus2 = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus2, -1, { + var wStatus = (_wStatus2 = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus2, -1, { name: '重做中', "class": 'c-orange' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus2, 0, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus2, 0, { name: '未开启', "class": 'c-black' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus2, 1, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus2, 1, { name: '未通关', "class": 'c-red' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus2, 2, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus2, 2, { name: '按时通关', "class": 'c-green' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus2, 3, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus2, 3, { name: '迟交通关', "class": 'c-orange' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus2, 4, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus2, 4, { name: '截止后通关', "class": 'c-red' }), _wStatus2); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: wStatus === null || wStatus === void 0 ? void 0 : (_wStatus$props$status3 = wStatus[props.status]) === null || _wStatus$props$status3 === void 0 ? void 0 : _wStatus$props$status3['class'], children: wStatus === null || wStatus === void 0 ? void 0 : (_wStatus$props$status4 = wStatus[props.status]) === null || _wStatus$props$status4 === void 0 ? void 0 : _wStatus$props$status4['name'] }); @@ -71796,32 +71857,32 @@ var HomeWorkShixunListStatus = function HomeWorkShixunListStatus(props) { */ var HomeWorkDetailStatus = function HomeWorkDetailStatus(props) { var _wStatus3, _wStatus$props$status5, _wStatus$props$status6; - var wStatus = (_wStatus3 = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus3, -1, { + var wStatus = (_wStatus3 = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus3, -1, { name: '重做中', "class": 'c-orange', color: '#999999' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus3, 0, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus3, 0, { name: '未开启', "class": 'c-black', color: '#999999' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus3, 1, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus3, 1, { name: '未通关', "class": 'c-red', color: '#d4443d' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus3, 2, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus3, 2, { name: '按时通关', "class": 'c-green', color: '#57be40' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus3, 3, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus3, 3, { name: '迟交通关', "class": 'c-orange', color: '#f09143' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus3, 4, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus3, 4, { name: '截止通关', "class": 'c-red', color: '#d4443d' }), _wStatus3); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { style: { marginLeft: '10px', color: '#fff', @@ -71838,32 +71899,32 @@ var HomeWorkDetailStatus = function HomeWorkDetailStatus(props) { }; var HomeWorkShixunDetailStatus = function HomeWorkShixunDetailStatus(props) { var _wStatus4, _wStatus$props$status7, _wStatus$props$status8; - var wStatus = (_wStatus4 = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus4, -1, { + var wStatus = (_wStatus4 = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus4, -1, { name: '重做中', "class": 'c-orange', color: '#999999' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus4, 0, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus4, 0, { name: '未开启', "class": 'c-black', color: '#999999' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus4, 1, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus4, 1, { name: '未通关', "class": 'c-red', color: '#d4443d' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus4, 2, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus4, 2, { name: '按时通关', "class": 'c-green', color: '#57be40' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus4, 3, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus4, 3, { name: '迟交通关', "class": 'c-orange', color: '#f09143' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus4, 4, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus4, 4, { name: '截止后通关', "class": 'c-red', color: '#d4443d' }), _wStatus4); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { style: { marginLeft: '10px', color: '#fff', @@ -71900,7 +71961,7 @@ var StatusGraduationProjectTags = function StatusGraduationProjectTags(props) { } }; try { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: tags[status]['class'], children: tags[status]['name'] }); @@ -72059,11 +72120,11 @@ var StatusClassroomsTags = function StatusClassroomsTags(props) { } }; if (props.temporary) { - tags = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8___default()({}, tags), temporaryTags); + tags = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_7___default()({}, tags), temporaryTags); } var arr = []; if (props.is_random) { - arr.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + arr.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: "tag-style bg-blue ml10", children: "\u968F\u673A" })); @@ -72073,7 +72134,7 @@ var StatusClassroomsTags = function StatusClassroomsTags(props) { props.status && // console.log(props, "props"); props.status.map(function (v, k) { - arr.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + arr.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { style: (props === null || props === void 0 ? void 0 : props.style) || [], className: tags[v] && tags[v]['class'], children: v @@ -72087,7 +72148,7 @@ var StatusClassroomsTags = function StatusClassroomsTags(props) { var exerciseTips = function exerciseTips(v, appraise_label) { // 可更新评阅设置--答题列表的状态 if (v === 5 || appraise_label) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { style: { backgroundColor: '#f59a23' }, @@ -72096,7 +72157,7 @@ var exerciseTips = function exerciseTips(v, appraise_label) { }); } if (v === 1) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { style: { backgroundColor: '#B8B8B8' }, @@ -72105,7 +72166,7 @@ var exerciseTips = function exerciseTips(v, appraise_label) { }); } if (v === 2) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { style: { backgroundColor: '#007AFF' }, @@ -72114,7 +72175,7 @@ var exerciseTips = function exerciseTips(v, appraise_label) { }); } if (v === 3) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { style: { backgroundColor: '#FC2D6B' }, @@ -72132,23 +72193,23 @@ var exerciseTips = function exerciseTips(v, appraise_label) { // "work_status": 2, //-1:重做中、 0:未提交、1:未通关,2:按时通关,3:迟交通关 var WorkStatus = function WorkStatus(props) { var _wStatus5, _wStatus$props$status9, _wStatus$props$status10; - var wStatus = (_wStatus5 = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus5, -1, { + var wStatus = (_wStatus5 = {}, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus5, -1, { name: '重做中', "class": 'c-orange' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus5, 0, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus5, 0, { name: '未提交', "class": 'c-black' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus5, 1, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus5, 1, { name: '未通关', "class": 'c-red' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus5, 2, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus5, 2, { name: '按时通关', "class": 'c-green' - }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(_wStatus5, 3, { + }), _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_8___default()(_wStatus5, 3, { name: '迟交通关', "class": 'c-orange' }), _wStatus5); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: (_wStatus$props$status9 = wStatus[props.status]) === null || _wStatus$props$status9 === void 0 ? void 0 : _wStatus$props$status9['class'], children: (_wStatus$props$status10 = wStatus[props.status]) === null || _wStatus$props$status10 === void 0 ? void 0 : _wStatus$props$status10['name'] }); @@ -72176,7 +72237,7 @@ var CommonWorkStatus = function CommonWorkStatus(props) { "class": 'c-red' } }; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: (_wStatus$props$status11 = wStatus[props.status]) === null || _wStatus$props$status11 === void 0 ? void 0 : _wStatus$props$status11['class'], children: (_wStatus$props$status12 = wStatus[props.status]) === null || _wStatus$props$status12 === void 0 ? void 0 : _wStatus$props$status12['name'] }); @@ -72374,7 +72435,7 @@ var getFileContentAndUrl = function getFileContentAndUrl(file) { link: link }); } catch (e) { - antd_es_message__WEBPACK_IMPORTED_MODULE_21__/* ["default"].warn */ .ZP.warn("当前文件无法读取内容"); + antd_es_message__WEBPACK_IMPORTED_MODULE_20__/* ["default"].warn */ .ZP.warn("当前文件无法读取内容"); reject("当前文件无法读取内容"); } }; @@ -72383,7 +72444,7 @@ var getFileContentAndUrl = function getFileContentAndUrl(file) { }; function setmiyah(logins) { var opens = '79e33abd4b6588941ab7622aed1e67e8'; - return md5__WEBPACK_IMPORTED_MODULE_17___default()(opens + logins); + return md5__WEBPACK_IMPORTED_MODULE_16___default()(opens + logins); } var getCookie = function getCookie(key) { var arr, @@ -72514,7 +72575,7 @@ var setUrlQuery = function setUrlQuery(options) { var queryArr = []; var _loop2 = function _loop2(key) { if (query.hasOwnProperty(key) && !isUnOrNull(query[key])) { - if (_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_10___default()(query[key]) === 'object') { + if (_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_9___default()(query[key]) === 'object') { query[key].map(function (v) { queryArr.push("".concat(key, "[]=").concat(v)); }); @@ -72859,19 +72920,19 @@ var getMessagesUrl = function getMessagesUrl(item) { return ''; case 'JoinProject': //项目详情-申请加入项目审核页 :id = container_id - return window.open(_env__WEBPACK_IMPORTED_MODULE_18__/* ["default"].FORGE */ .Z.FORGE + item.project_url); + return window.open(_env__WEBPACK_IMPORTED_MODULE_17__/* ["default"].FORGE */ .Z.FORGE + item.project_url); // return window.open(`/projects/${item.container_id}`) case 'ReporterJoinProject': //项目详情页 :id = container_id - return window.open(_env__WEBPACK_IMPORTED_MODULE_18__/* ["default"].FORGE */ .Z.FORGE + item.project_url); + return window.open(_env__WEBPACK_IMPORTED_MODULE_17__/* ["default"].FORGE */ .Z.FORGE + item.project_url); // return window.open(`/projects/${item.container_id}`) case 'DealProject': //项目详情页 :id = container_id - return window.open(_env__WEBPACK_IMPORTED_MODULE_18__/* ["default"].FORGE */ .Z.FORGE + item.project_url); + return window.open(_env__WEBPACK_IMPORTED_MODULE_17__/* ["default"].FORGE */ .Z.FORGE + item.project_url); // return window.open(`/projects/${item.container_id}`) case 'ManagerJoinProject': //项目详情页 :id = container_id - return window.open(_env__WEBPACK_IMPORTED_MODULE_18__/* ["default"].FORGE */ .Z.FORGE + item.project_url); + return window.open(_env__WEBPACK_IMPORTED_MODULE_17__/* ["default"].FORGE */ .Z.FORGE + item.project_url); // return window.open(`/projects/${item.container_id}`) case 'Poll': switch (item.parent_container_type) { @@ -72992,7 +73053,7 @@ var getMessagesUrl = function getMessagesUrl(item) { case 'SendMessage': // /managements/mirror_repository // return window.open(`/managements/mirror_repository`) - return window.open("".concat(_env__WEBPACK_IMPORTED_MODULE_18__/* ["default"].API_SERVER */ .Z.API_SERVER, "/admins/mirror_repositories")); + return window.open("".concat(_env__WEBPACK_IMPORTED_MODULE_17__/* ["default"].API_SERVER */ .Z.API_SERVER, "/admins/mirror_repositories")); case 'Journal': //项目Issue页 :id = parent_container_id return window.open("/issues/".concat(item.parent_container_id)); @@ -73001,7 +73062,7 @@ var getMessagesUrl = function getMessagesUrl(item) { return window.open("/issues/".concat(item.container_id)); case 'PullRequest': // 项目pull request页 :id = parent_container_id - return window.open(_env__WEBPACK_IMPORTED_MODULE_18__/* ["default"].FORGE */ .Z.FORGE + item.project_url); + return window.open(_env__WEBPACK_IMPORTED_MODULE_17__/* ["default"].FORGE */ .Z.FORGE + item.project_url); // return window.open(`/projects/${item.parent_container_id}/pull_requests`) case 'Department': //账号管理页 @@ -73045,7 +73106,7 @@ var getMessagesUrl = function getMessagesUrl(item) { return window.open("/admins/video_applies"); } else if (item.tiding_type === 'System') { var _userInfo; - return window.open("/users/".concat((_userInfo = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_12__/* .userInfo */ .eY)()) === null || _userInfo === void 0 ? void 0 : _userInfo.login, "/videos")); + return window.open("/users/".concat((_userInfo = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_11__/* .userInfo */ .eY)()) === null || _userInfo === void 0 ? void 0 : _userInfo.login, "/videos")); } return ''; case 'PublicCourseStart': @@ -73082,16 +73143,16 @@ var getMessagesUrl = function getMessagesUrl(item) { } }; var checkLocalOrPublicIp = /*#__PURE__*/function () { - var _ref = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().mark(function _callee2(v, hideTip) { + var _ref = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(v, hideTip) { var ip, modal; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().wrap(function _callee2$(_context2) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: ip = ""; return _context2.abrupt("return", new Promise( /*#__PURE__*/function () { - var _ref2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().mark(function _callee(resolve, reject) { + var _ref2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(resolve, reject) { var res; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().wrap(function _callee$(_context) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: if (!(v.ip_limit !== 'no')) { @@ -73099,7 +73160,7 @@ var checkLocalOrPublicIp = /*#__PURE__*/function () { break; } _context.next = 3; - return (0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_13__/* .findLocalIp */ .y)({ + return (0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_12__/* .findLocalIp */ .y)({ ip_limit: v === null || v === void 0 ? void 0 : v.ip_limit, ip_bind: v === null || v === void 0 ? void 0 : v.ip_bind }); @@ -73107,7 +73168,7 @@ var checkLocalOrPublicIp = /*#__PURE__*/function () { ip = _context.sent; case 4: _context.next = 6; - return (0,_service_exercise__WEBPACK_IMPORTED_MODULE_14__/* .checkIp */ .Cl)({ + return (0,_service_exercise__WEBPACK_IMPORTED_MODULE_13__/* .checkIp */ .Cl)({ id: v.exerciseId, ip: ip }); @@ -73125,7 +73186,7 @@ var checkLocalOrPublicIp = /*#__PURE__*/function () { _context.next = 16; break; } - (0,umi__WEBPACK_IMPORTED_MODULE_16__.getDvaApp)()._store.dispatch({ + (0,umi__WEBPACK_IMPORTED_MODULE_15__.getDvaApp)()._store.dispatch({ type: 'exercise/setActionTabs', payload: { key: 'student-unlock', @@ -73151,13 +73212,13 @@ var checkLocalOrPublicIp = /*#__PURE__*/function () { _context.next = 24; break; } - modal = antd_es_modal__WEBPACK_IMPORTED_MODULE_22__/* ["default"].info */ .Z.info({ - title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { + modal = antd_es_modal__WEBPACK_IMPORTED_MODULE_21__/* ["default"].info */ .Z.info({ + title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { flex: "1", children: "\u63D0\u793A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: "iconfont icon-yiguanbi1 current c-grey-c", onClick: function onClick() { return modal.destroy(); @@ -73167,7 +73228,7 @@ var checkLocalOrPublicIp = /*#__PURE__*/function () { }), icon: null, className: 'custom-modal-divider', - content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("div", { + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("div", { className: "font16 p20", children: "\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01" }), @@ -73179,13 +73240,13 @@ var checkLocalOrPublicIp = /*#__PURE__*/function () { _context.next = 27; break; } - modal = antd_es_modal__WEBPACK_IMPORTED_MODULE_22__/* ["default"].info */ .Z.info({ - title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { + modal = antd_es_modal__WEBPACK_IMPORTED_MODULE_21__/* ["default"].info */ .Z.info({ + title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { flex: "1", children: "\u63D0\u793A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: "iconfont icon-yiguanbi1 current c-grey-c", onClick: function onClick() { return modal.destroy(); @@ -73195,9 +73256,9 @@ var checkLocalOrPublicIp = /*#__PURE__*/function () { }), icon: null, className: 'custom-modal-divider', - content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)("div", { + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)("div", { className: "font16 p20", - children: ["\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + children: ["\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: "c-red", children: res.ip }), "\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"] @@ -73227,13 +73288,13 @@ var checkLocalOrPublicIp = /*#__PURE__*/function () { }(); var checkDisabledExam = function checkDisabledExam(v) { return new Promise( /*#__PURE__*/function () { - var _ref3 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().mark(function _callee3(resolve, reject) { + var _ref3 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(resolve, reject) { var res; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().wrap(function _callee3$(_context3) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: _context3.next = 2; - return (0,_service_exercise__WEBPACK_IMPORTED_MODULE_14__/* .checkExam */ .Zg)({ + return (0,_service_exercise__WEBPACK_IMPORTED_MODULE_13__/* .checkExam */ .Zg)({ id: v === null || v === void 0 ? void 0 : v.exerciseId, coursesId: v === null || v === void 0 ? void 0 : v.coursesId }); @@ -73269,9 +73330,9 @@ var isKepuKehuan = function isKepuKehuan() { } }; var startExercise = /*#__PURE__*/function () { - var _ref4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().mark(function _callee4(v) { - var modal, res; - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2___default()().wrap(function _callee4$(_context4) { + var _ref4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(v) { + var modal, res, _userInfo2, _userInfo3, _userInfo4; + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: sessionStorage.removeItem("studentunlock"); @@ -73279,7 +73340,7 @@ var startExercise = /*#__PURE__*/function () { _context4.next = 4; break; } - antd_es_modal__WEBPACK_IMPORTED_MODULE_22__/* ["default"].info */ .Z.info({ + antd_es_modal__WEBPACK_IMPORTED_MODULE_21__/* ["default"].info */ .Z.info({ content: '请使用电脑参加考试!' }); return _context4.abrupt("return"); @@ -73306,16 +73367,16 @@ var startExercise = /*#__PURE__*/function () { _context4.next = 16; break; } - antd_es_modal__WEBPACK_IMPORTED_MODULE_22__/* ["default"].info */ .Z.info({ + antd_es_modal__WEBPACK_IMPORTED_MODULE_21__/* ["default"].info */ .Z.info({ icon: null, okText: '确定', width: 500, - content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)("div", { + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)("div", { className: "font16", - children: ["\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + children: ["\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: "c-red", children: "\u8C37\u6B4C" - }), "\u3002", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("br", {}), "\u8BF7\u4F7F\u7528", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + }), "\u3002", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("br", {}), "\u8BF7\u4F7F\u7528", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: "c-red", children: "\u8C37\u6B4C" }), "\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002"] @@ -73331,22 +73392,22 @@ var startExercise = /*#__PURE__*/function () { _context4.next = 20; break; } - antd_es_modal__WEBPACK_IMPORTED_MODULE_22__/* ["default"].info */ .Z.info({ + antd_es_modal__WEBPACK_IMPORTED_MODULE_21__/* ["default"].info */ .Z.info({ icon: null, okText: '确定', width: 500, - content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)("div", { + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)("div", { className: "font16", - children: ["\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + children: ["\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: "c-red", children: "\u8C37\u6B4C" - }), "\u3001", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + }), "\u3001", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: "c-red", children: "\u706B\u72D0" - }), "\u6D4F\u89C8\u5668\u3002", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("br", {}), "\u8BF7\u4F7F\u7528", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + }), "\u6D4F\u89C8\u5668\u3002", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("br", {}), "\u8BF7\u4F7F\u7528", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: "c-red", children: "\u8C37\u6B4C" - }), "\u3001", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { + }), "\u3001", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)("span", { className: "c-red", children: "\u706B\u72D0" }), "\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002"] @@ -73354,155 +73415,164 @@ var startExercise = /*#__PURE__*/function () { }); return _context4.abrupt("return", false); case 20: - modal = antd_es_modal__WEBPACK_IMPORTED_MODULE_22__/* ["default"].info */ .Z.info({ - title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - flex: "1", - children: "\u8003\u8BD5\u8BF4\u660E" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { - className: "iconfont icon-yiguanbi1 current c-grey-c", - onClick: function onClick() { - return modal.destroy(); - } - }) - })] - }), - width: 700, - icon: null, - className: 'custom-modal-divider', - content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)("div", { - className: "font16 p20", - children: [v.identity_verify && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { - align: "middle", - justify: "start", - className: "mt20", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - flex: "45px", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { - className: "iconfont icon-kaiqishexiangtou c-blue mr20 font24" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - flex: "1", - children: ["\u8FDB\u5165\u8003\u8BD5\u524D\uFF0C\u8BF7\u5141\u8BB8\u6444\u50CF\u5934\u6388\u6743\uFF0C\u6388\u6743\u540E\u9700\u91C7\u96C6\u7167\u7247\u8BA4\u8BC1\uFF0C\u8BA4\u8BC1\u901A\u8FC7\u5E76\u5F00\u542F\u624B\u673A\u5F55\u5236\u624D\u53EF\u4EE5\u8FDB\u5165\u8003\u8BD5\u3002", !checkIsClientExam() && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("a", { - target: "_blank", - href: "https://www.educoder.net/forums/4459", - children: "\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934\uFF1F" - })] - })] - }), v.open_camera && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { - align: "middle", - justify: "start", - className: "mt20", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { - className: "iconfont icon-kaiqishexiangtou c-blue mr20 font24" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - children: ["\u8FDB\u5165\u8003\u8BD5\u540E\uFF0C\u8BF7\u5141\u8BB8\u6444\u50CF\u5934\u6388\u6743\uFF0C\u6388\u6743\u540E\u6253\u5F00\u6444\u50CF\u5934\u65B9\u53EF\u4F5C\u7B54\uFF01", !checkIsClientExam() && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("a", { - target: "_blank", - href: "https://www.educoder.net/forums/4459", - children: "\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934\uFF1F" - })] - })] - }), v.screen_open && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { - justify: "start", - className: "mt20", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - flex: "24px", - className: "mr20", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { - className: "iconfont icon-kaiqifangqieping c-blue font24" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - flex: "1", - children: ["\u5F53\u524D\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u5207\u5C4F\uFF0C\u5207\u5C4F\u8D85\u8FC7", v.screen_num, "\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377\u3002\uFF08\u5207\u6362\u5230\u5176\u4ED6\u9875\u9762", v.screen_sec, "\u79D2\u540E\u5373\u5224\u5B9A\u4E3A\u4E00\u6B21\u5207\u5C4F\uFF0C", v.screen_sec * 2, "\u79D2\u5219\u5224\u5B9A\u4E3A2\u6B21\u5207\u5C4F\uFF0C\u4EE5\u6B64\u7C7B\u63A8\uFF1B\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u8BF7\u52FF\u5207\u6362\u5230\u5176\u4ED6\u9875\u9762\u6216\u9000\u51FA\u5168\u5C4F\uFF09", !checkIsClientExam() && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("a", { - target: "_blank", - href: "https://www.educoder.net/forums/4460", - children: "\u6D4F\u89C8\u5668\u65E0\u6CD5\u81EA\u52A8\u5168\u5C4F\uFF1F" - })] - })] - }), (v.inner_ip !== '' || v.public_ip !== '') && v.ip_limit !== 'no' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { - justify: "start", - className: "mt20", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - flex: "24px", - className: "mr20", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { - className: "iconfont icon-IP c-blue font24" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - flex: "1", - children: ["\u5F53\u524D\u8003\u8BD5\u5DF2\u5F00\u542FIP\u8303\u56F4\u9650\u5B9A\u3002IP\u5730\u5740\u4E0D\u5728\u8303\u56F4\u5185\u4E0D\u53EF\u53C2\u52A0\u8003\u8BD5\u3002", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("br", {}), !checkIsClientExam() && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { - className: "c-red", - children: "\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("br", {}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("a", { - href: "https://www.educoder.net/forums/4478", - target: "_blank", - children: "\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?" - })] - })] - })] - }), v.ip_bind && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_row__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z, { - justify: "start", - className: "mt20", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - flex: "24px", - className: "mr20", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { - className: "iconfont icon-IPbangding c-blue font24" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(antd_es_col__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z, { - flex: "1", - children: ["\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u8003\u8BD5\u671F\u95F4IP\u7ED1\u5B9A\u3002\u5F53\u60A8\u5F00\u59CB\u8003\u8BD5\u540E\uFF0C\u5C06\u81EA\u52A8\u7ED1\u5B9AIP\uFF0C\u8003\u8BD5\u671F\u95F4\u53EA\u5141\u8BB8\u4F7F\u7528\u552F\u4E00\u7684IP\u8FDB\u5165\u8003\u8BD5\u3002\u5982\u9047\u7279\u6B8A\u60C5\u51B5\uFF0C\u53EF\u5411\u8001\u5E08\u7533\u8BF7\u89E3\u9664IP\u7ED1\u5B9A\u3002", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("br", {}), !checkIsClientExam() && v.ip_limit !== "no" && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("span", { - className: "c-red", - children: "\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("br", {}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("a", { - href: "https://www.educoder.net/forums/4478", - target: "_blank", - children: "\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?" - })] - })] - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)("p", { - className: "ml40 mt40", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(antd_es_checkbox__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z, { - onChange: function onChange(e) { - return modal.update({ - okButtonProps: { - disabled: !e.target.checked - } - }); - }, - children: "\u6211\u5DF2\u9605\u8BFB" - }) - })] - }), - onOk: function onOk() { - // requestFullScreen(document.body); - if (v.open_phone_video_recording) { - var _userInfo2; - // history.replace(`/classrooms/${v.coursesId}/exercise/${v.exerciseId}/users/${userInfo()?.login}/check`,{ - // hash:"bar" - // }) - window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat((_userInfo2 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_12__/* .userInfo */ .eY)()) === null || _userInfo2 === void 0 ? void 0 : _userInfo2.login, "/check"); - } else if (v.identity_verify && v.current_status === 2) { - var _userInfo3; - // history.replace(`/classrooms/${v.coursesId}/exercise/${v.exerciseId}/users/${userInfo()?.login}/check`) - window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat((_userInfo3 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_12__/* .userInfo */ .eY)()) === null || _userInfo3 === void 0 ? void 0 : _userInfo3.login, "/check"); - } else { - var _userInfo4; - // history.replace(`/classrooms/${v.coursesId}/exercise/${v.exerciseId}/users/${userInfo()?.login}`) - window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat((_userInfo4 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_12__/* .userInfo */ .eY)()) === null || _userInfo4 === void 0 ? void 0 : _userInfo4.login); - } - }, - okText: '进入考试', - okButtonProps: { - disabled: true - } - }); + //弹窗里的内容都迁移到考试中间页展示 + // modal = Modal.info({ + // title: ( + // + // 考试说明 + // + // modal.destroy()} + // > + // + // + // ), + // width: 700, + // icon: null, + // className: 'custom-modal-divider', + // content: ( + //
+ // {v.identity_verify && ( + // + // + // + // + // + // 进入考试前,请允许摄像头授权,授权后需采集照片认证,认证通过并开启手机录制才可以进入考试。 + // {!checkIsClientExam() && ( + // + // 无法调用摄像头? + // + // )} + // + // + // )} + + // {v.open_camera && ( + // + // + // + // + // + // 进入考试后,请允许摄像头授权,授权后打开摄像头方可作答! + // {!checkIsClientExam() && ( + // + // 无法调用摄像头? + // + // )} + // + // + // )} + // {v.screen_open && ( + // + // + // + // + // + // 当前考试已开启防切屏,切屏超过{v.screen_num} + // 次将强制交卷。(切换到其他页面{v.screen_sec}秒后即判定为一次切屏,{v.screen_sec * 2}秒则判定为2次切屏,以此类推;考试过程中请勿切换到其他页面或退出全屏) + // {!checkIsClientExam() && ( + // + // 浏览器无法自动全屏? + // + // )} + // + // + // )} + // {(v.inner_ip !== '' || v.public_ip !== '') && v.ip_limit !== 'no' && ( + // + // + // + // + // + // 当前考试已开启IP范围限定。IP地址不在范围内不可参加考试。 + //
+ // {!checkIsClientExam() && ( + // <> + // + // (只允许在Chrome谷歌浏览器作答,并且需要安装WebRTC Leak + // Prevent插件) + // + //
+ // + // 如何安装WebRTC Leak Prevent插件? + // + // + // )} + // + //
+ // )} + + // {v.ip_bind && ( + // + // + // + // + // + // 当前考试已启用考试期间IP绑定。当您开始考试后,将自动绑定IP,考试期间只允许使用唯一的IP进入考试。如遇特殊情况,可向老师申请解除IP绑定。 + //
+ // {!checkIsClientExam() && v.ip_limit !== "no" && ( + // <> + // + // (只允许在Chrome谷歌浏览器作答,并且需要安装WebRTC Leak + // Prevent插件) + // + //
+ // + // 如何安装WebRTC Leak Prevent插件? + // + // + // )} + // + //
+ // )} + + //

+ // + // modal.update({ okButtonProps: { disabled: !e.target.checked } }) + // } + // > + // 我已阅读 + // + //

+ //
+ // ), + // onOk: () => { + // // requestFullScreen(document.body); + if (v.open_phone_video_recording) { + // history.replace(`/classrooms/${v.coursesId}/exercise/${v.exerciseId}/users/${userInfo()?.login}/check`,{ + // hash:"bar" + // }) + window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat((_userInfo2 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_11__/* .userInfo */ .eY)()) === null || _userInfo2 === void 0 ? void 0 : _userInfo2.login, "/check"); + } else if (v.identity_verify && v.current_status === 2) { + // history.replace(`/classrooms/${v.coursesId}/exercise/${v.exerciseId}/users/${userInfo()?.login}/check`) + window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat((_userInfo3 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_11__/* .userInfo */ .eY)()) === null || _userInfo3 === void 0 ? void 0 : _userInfo3.login, "/check"); + } else { + // history.replace(`/classrooms/${v.coursesId}/exercise/${v.exerciseId}/users/${userInfo()?.login}`) + window.location.href = "/classrooms/".concat(v.coursesId, "/exercise/").concat(v.exerciseId, "/users/").concat((_userInfo4 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_11__/* .userInfo */ .eY)()) === null || _userInfo4 === void 0 ? void 0 : _userInfo4.login); + } + + // }, + // okText: '进入考试', + // okButtonProps: { disabled: true }, + // }); _context4.next = 24; break; case 23: @@ -73580,14 +73650,14 @@ var parseParamsStr = function parseParamsStr(v, method) { p[key] = p[key] === false ? "false" : p[key]; if (method === "GET") { if (p[key] !== null) { - if (_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_10___default()(p[key]) === "object" && (!Array.isArray(p[key]) || Array.isArray(p[key]) && !p[key].length)) return; + if (_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_9___default()(p[key]) === "object" && (!Array.isArray(p[key]) || Array.isArray(p[key]) && !p[key].length)) return; var _key = p[key] === null || p[key] === "null" ? "" : p[key]; arr.push("".concat(key, "=").concat(typeof _key === "string" || typeof _key === "number" ? decodeURIComponent(_key) : JSON.stringify(_key))); } } else { var _key4 = p[key] === null || p[key] === "null" ? "" : p[key]; arr.push("".concat(key, "=").concat(typeof _key4 === "string" || typeof _key4 === "number" ? _key4 : JSON.stringify(_key4))); - if (_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_10___default()(p[key]) === "object") { + if (_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_typeof_js__WEBPACK_IMPORTED_MODULE_9___default()(p[key]) === "object") { param[key] = p[key]; } else { param[key] = p[key]; @@ -73631,7 +73701,7 @@ var setHeader = function setHeader(newOptions, url) { var stringToSign = "method=" + newOptions.method + "&" + (newOptions.method === "GET" && !!((_Object$keys = Object.keys((newOptions === null || newOptions === void 0 ? void 0 : newOptions.params) || {})) !== null && _Object$keys !== void 0 && _Object$keys.length) && !!parseParamsStr(newOptions.params, newOptions.method).length ? parseParamsStr(newOptions.params, newOptions.method) + "&" : "") + (!!((_Object$keys2 = Object.keys(body || {})) !== null && _Object$keys2 !== void 0 && _Object$keys2.length) ? parseParamsStr(JSON.parse(newOptions.body), newOptions.method) + "&" : "") + "ak=" + aKey + "&sk=" + sKey + "&time=" + timenow; newOptions.headers["X-EDU-Type"] = "pc"; newOptions.headers["X-EDU-Timestamp"] = timenow; - newOptions.headers["X-EDU-Signature"] = md5__WEBPACK_IMPORTED_MODULE_17___default()(stringToSign); + newOptions.headers["X-EDU-Signature"] = md5__WEBPACK_IMPORTED_MODULE_16___default()(stringToSign); if (document.domain.indexOf("educoder.net") > -1) { console.log("stringToSign:", stringToSign, url); } @@ -73653,7 +73723,7 @@ var messageInfo = function messageInfo(status, date) { 4: "\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E".concat(date, "\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002") }; var s = info[status]; - antd_es_message__WEBPACK_IMPORTED_MODULE_21__/* ["default"].warn */ .ZP.warn(s); + antd_es_message__WEBPACK_IMPORTED_MODULE_20__/* ["default"].warn */ .ZP.warn(s); }; var base64ToBlob = function base64ToBlob(code, filename) { var _filename$split; @@ -73666,7 +73736,7 @@ var base64ToBlob = function base64ToBlob(code, filename) { uInt8Array[i] = raw.charCodeAt(i); } return new Blob([uInt8Array], { - type: _contentType__WEBPACK_IMPORTED_MODULE_15__/* .contentType */ .F[(_filename$split = filename.split('.')) === null || _filename$split === void 0 ? void 0 : _filename$split[1]] || 'application/octet-stream' + type: _contentType__WEBPACK_IMPORTED_MODULE_14__/* .contentType */ .F[(_filename$split = filename.split('.')) === null || _filename$split === void 0 ? void 0 : _filename$split[1]] || 'application/octet-stream' }); }; var downloadFile = function downloadFile(fileName, content, filename) { @@ -73694,7 +73764,7 @@ var trackEvent = function trackEvent(arr) { event_category: arr[0], event_label: arr[2] || '', value: arr[3] || '', - user_id: ((_userInfo5 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_12__/* .userInfo */ .eY)()) === null || _userInfo5 === void 0 ? void 0 : _userInfo5.login) || '' + user_id: ((_userInfo5 = (0,_utils_authority__WEBPACK_IMPORTED_MODULE_11__/* .userInfo */ .eY)()) === null || _userInfo5 === void 0 ? void 0 : _userInfo5.login) || '' }); } catch (e) { console.log('trackEvent:err:', e); @@ -73735,7 +73805,7 @@ var onPreviewImage = function onPreviewImage(e) { if (url && url.indexOf('/images/avatars/User') === -1) { e.stopPropagation(); e.preventDefault(); - _components_mediator__WEBPACK_IMPORTED_MODULE_19__/* ["default"].publish */ .Z.publish('preview-image', url); + _components_mediator__WEBPACK_IMPORTED_MODULE_18__/* ["default"].publish */ .Z.publish('preview-image', url); } } }; @@ -73756,7 +73826,7 @@ var getCategoryName = function getCategoryName(data, categoryId) { // 绑定手机号码 var bindPhone = function bindPhone(obj) { - var modal = antd_es_modal__WEBPACK_IMPORTED_MODULE_22__/* ["default"].confirm */ .Z.confirm({ + var modal = antd_es_modal__WEBPACK_IMPORTED_MODULE_21__/* ["default"].confirm */ .Z.confirm({ title: '完善手机号码', content: '开启挑战前,请先绑定手机号码', okText: '立即绑定', @@ -73782,7 +73852,7 @@ var copyTextFuc = function copyTextFuc() { input.select(); document.execCommand('Copy'); if (!hide) { - antd_es_message__WEBPACK_IMPORTED_MODULE_21__/* ["default"].success */ .ZP.success('复制成功'); + antd_es_message__WEBPACK_IMPORTED_MODULE_20__/* ["default"].success */ .ZP.success('复制成功'); } document.body.removeChild(input); }; @@ -73851,7 +73921,7 @@ var ImgSrcConvert = function ImgSrcConvert(src) { if (src !== null && src !== void 0 && src.startsWith('http')) { return src; } - return _env__WEBPACK_IMPORTED_MODULE_18__/* ["default"].IMG_SERVER */ .Z.IMG_SERVER + src; + return _env__WEBPACK_IMPORTED_MODULE_17__/* ["default"].IMG_SERVER */ .Z.IMG_SERVER + src; }; // 版本号比对 @@ -76465,305 +76535,6 @@ var style_default = __webpack_require__(43146); /***/ }), -/***/ 32808: -/*!************************************************************!*\ - !*** ./node_modules/antd/es/checkbox/index.js + 2 modules ***! - \************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ es_checkbox; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/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 -var es = __webpack_require__(50132); -// 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/form/context.js -var context = __webpack_require__(65223); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(74902); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/rc-util/es/omit.js -var omit = __webpack_require__(98423); -;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js - - - - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - -var GroupContext = /*#__PURE__*/react.createContext(null); -var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) { - var defaultValue = _a.defaultValue, - children = _a.children, - _a$options = _a.options, - options = _a$options === void 0 ? [] : _a$options, - customizePrefixCls = _a.prefixCls, - className = _a.className, - style = _a.style, - onChange = _a.onChange, - restProps = __rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]); - var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var _React$useState = react.useState(restProps.value || defaultValue || []), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - value = _React$useState2[0], - setValue = _React$useState2[1]; - var _React$useState3 = react.useState([]), - _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), - registeredValues = _React$useState4[0], - setRegisteredValues = _React$useState4[1]; - react.useEffect(function () { - if ('value' in restProps) { - setValue(restProps.value || []); - } - }, [restProps.value]); - var getOptions = function getOptions() { - return options.map(function (option) { - if (typeof option === 'string' || typeof option === 'number') { - return { - label: option, - value: option - }; - } - return option; - }); - }; - var cancelValue = function cancelValue(val) { - setRegisteredValues(function (prevValues) { - return prevValues.filter(function (v) { - return v !== val; - }); - }); - }; - var registerValue = function registerValue(val) { - setRegisteredValues(function (prevValues) { - return [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]); - }); - }; - var toggleOption = function toggleOption(option) { - var optionIndex = value.indexOf(option.value); - var newValue = (0,toConsumableArray/* default */.Z)(value); - if (optionIndex === -1) { - newValue.push(option.value); - } else { - newValue.splice(optionIndex, 1); - } - if (!('value' in restProps)) { - setValue(newValue); - } - var opts = getOptions(); - onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) { - return registeredValues.includes(val); - }).sort(function (a, b) { - var indexA = opts.findIndex(function (opt) { - return opt.value === a; - }); - var indexB = opts.findIndex(function (opt) { - return opt.value === b; - }); - return indexA - indexB; - })); - }; - var prefixCls = getPrefixCls('checkbox', customizePrefixCls); - var groupPrefixCls = "".concat(prefixCls, "-group"); - var domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); - if (options && options.length > 0) { - children = getOptions().map(function (option) { - return /*#__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: "".concat(groupPrefixCls, "-item"), - style: option.style - }, option.label); - }); - } - // eslint-disable-next-line react/jsx-no-constructed-context-values - var context = { - toggleOption: toggleOption, - value: value, - disabled: restProps.disabled, - name: restProps.name, - // https://github.com/ant-design/ant-design/issues/16376 - registerValue: registerValue, - cancelValue: cancelValue - }; - var classString = classnames_default()(groupPrefixCls, (0,defineProperty/* default */.Z)({}, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), className); - return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ - className: classString, - style: style - }, domProps, { - ref: ref - }), /*#__PURE__*/react.createElement(GroupContext.Provider, { - value: context - }, children)); -}; -var CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalCheckboxGroup); -/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js -var DisabledContext = __webpack_require__(98866); -;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js - - -var Checkbox_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - -var InternalCheckbox = function InternalCheckbox(_a, ref) { - var _classNames; - var _b; - var customizePrefixCls = _a.prefixCls, - className = _a.className, - children = _a.children, - _a$indeterminate = _a.indeterminate, - indeterminate = _a$indeterminate === void 0 ? false : _a$indeterminate, - style = _a.style, - onMouseEnter = _a.onMouseEnter, - onMouseLeave = _a.onMouseLeave, - _a$skipGroup = _a.skipGroup, - skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup, - disabled = _a.disabled, - restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); - var _React$useContext = react.useContext(config_provider_context/* ConfigContext */.E_), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var checkboxGroup = react.useContext(GroupContext); - var _useContext = (0,react.useContext)(context/* FormItemInputContext */.aM), - isFormItemInput = _useContext.isFormItemInput; - var contextDisabled = (0,react.useContext)(DisabledContext/* default */.Z); - var mergedDisabled = (_b = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _b !== void 0 ? _b : contextDisabled; - var prevValue = react.useRef(restProps.value); - react.useEffect(function () { - checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); - false ? 0 : void 0; - }, []); - react.useEffect(function () { - 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 function () { - return checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); - }; - }, [restProps.value]); - var prefixCls = getPrefixCls('checkbox', customizePrefixCls); - var checkboxProps = (0,esm_extends/* default */.Z)({}, 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); - } - var classString = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper"), true), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className); - var checkboxClass = classnames_default()((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-indeterminate"), indeterminate)); - var ariaChecked = indeterminate ? 'mixed' : undefined; - return ( - /*#__PURE__*/ - // eslint-disable-next-line jsx-a11y/label-has-associated-control - react.createElement("label", { - className: classString, - style: style, - onMouseEnter: onMouseEnter, - onMouseLeave: onMouseLeave - }, /*#__PURE__*/react.createElement(es/* default */.Z, (0,esm_extends/* default */.Z)({ - "aria-checked": ariaChecked - }, checkboxProps, { - prefixCls: prefixCls, - className: checkboxClass, - disabled: mergedDisabled, - ref: ref - })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children)) - ); -}; -var Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); -if (false) {} -/* harmony default export */ var checkbox_Checkbox = (Checkbox); -;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js - - -var es_checkbox_Checkbox = checkbox_Checkbox; -es_checkbox_Checkbox.Group = Group; -es_checkbox_Checkbox.__ANT_CHECKBOX = true; -/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); - -/***/ }), - -/***/ 82000: -/*!******************************************************************!*\ - !*** ./node_modules/antd/es/checkbox/style/index.js + 1 modules ***! - \******************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less -var style_default = __webpack_require__(43146); -;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.less -// extracted by mini-css-extract-plugin - -;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/style/index.js - - -// deps-lint-skip: form - -/***/ }), - /***/ 15746: /*!*******************************************!*\ !*** ./node_modules/antd/es/col/index.js ***! @@ -108238,196 +108009,6 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; module.exports = ReactPropTypesSecret; -/***/ }), - -/***/ 50132: -/*!**********************************************!*\ - !*** ./node_modules/rc-checkbox/es/index.js ***! - \**********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 87462); -/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ 4942); -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); -/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 15671); -/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 43144); -/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 60136); -/* harmony import */ var _babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createSuper */ 51630); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 94184); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__); - - - - - - - - -// eslint-disable-next-line import/no-extraneous-dependencies - - - -var Checkbox = /*#__PURE__*/function (_Component) { - (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(Checkbox, _Component); - - var _super = (0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(Checkbox); - - function Checkbox(props) { - var _this; - - (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(this, Checkbox); - - _this = _super.call(this, props); - - _this.handleChange = function (e) { - var _this$props = _this.props, - disabled = _this$props.disabled, - onChange = _this$props.onChange; - - if (disabled) { - return; - } - - if (!('checked' in _this.props)) { - _this.setState({ - checked: e.target.checked - }); - } - - if (onChange) { - onChange({ - target: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, _this.props), {}, { - checked: e.target.checked - }), - stopPropagation: function stopPropagation() { - e.stopPropagation(); - }, - preventDefault: function preventDefault() { - e.preventDefault(); - }, - nativeEvent: e.nativeEvent - }); - } - }; - - _this.saveInput = function (node) { - _this.input = node; - }; - - var checked = 'checked' in props ? props.checked : props.defaultChecked; - _this.state = { - checked: checked - }; - return _this; - } - - (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Checkbox, [{ - key: "focus", - value: function focus() { - this.input.focus(); - } - }, { - key: "blur", - value: function blur() { - this.input.blur(); - } - }, { - key: "render", - value: function render() { - var _classNames; - - var _this$props2 = this.props, - prefixCls = _this$props2.prefixCls, - className = _this$props2.className, - style = _this$props2.style, - name = _this$props2.name, - id = _this$props2.id, - type = _this$props2.type, - disabled = _this$props2.disabled, - readOnly = _this$props2.readOnly, - tabIndex = _this$props2.tabIndex, - onClick = _this$props2.onClick, - onFocus = _this$props2.onFocus, - onBlur = _this$props2.onBlur, - onKeyDown = _this$props2.onKeyDown, - onKeyPress = _this$props2.onKeyPress, - onKeyUp = _this$props2.onKeyUp, - autoFocus = _this$props2.autoFocus, - value = _this$props2.value, - required = _this$props2.required, - others = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]); - - var globalProps = Object.keys(others).reduce(function (prev, key) { - if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') { - // eslint-disable-next-line no-param-reassign - prev[key] = others[key]; - } - - return prev; - }, {}); - var checked = this.state.checked; - var classString = classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-checked"), checked), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { - className: classString, - style: style - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)({ - name: name, - id: id, - type: type, - required: required, - readOnly: readOnly, - disabled: disabled, - tabIndex: tabIndex, - className: "".concat(prefixCls, "-input"), - checked: !!checked, - onClick: onClick, - onFocus: onFocus, - onBlur: onBlur, - onKeyUp: onKeyUp, - onKeyDown: onKeyDown, - onKeyPress: onKeyPress, - onChange: this.handleChange, - autoFocus: autoFocus, - ref: this.saveInput, - value: value - }, globalProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { - className: "".concat(prefixCls, "-inner") - })); - } - }], [{ - key: "getDerivedStateFromProps", - value: function getDerivedStateFromProps(props, state) { - if ('checked' in props) { - return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)({}, state), {}, { - checked: props.checked - }); - } - - return null; - } - }]); - - return Checkbox; -}(react__WEBPACK_IMPORTED_MODULE_0__.Component); - -Checkbox.defaultProps = { - prefixCls: 'rc-checkbox', - className: '', - style: {}, - type: 'checkbox', - defaultChecked: false, - onFocus: function onFocus() {}, - onBlur: function onBlur() {}, - onChange: function onChange() {}, - onKeyDown: function onKeyDown() {}, - onKeyPress: function onKeyPress() {}, - onKeyUp: function onKeyUp() {} -}; -/* harmony default export */ __webpack_exports__["Z"] = (Checkbox); - /***/ }), /***/ 38425: @@ -120339,7 +119920,7 @@ function _unsupportedIterableToArray(o, minLen) { /******/ // 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","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","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","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","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__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","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__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","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25896":"p__virtualSpaces__Lists__Syllabuses__Detail__index","25972":"layouts__user__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","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","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__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","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","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","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","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__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","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","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","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","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","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","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","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","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","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","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__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","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","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","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","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__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","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","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","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","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__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","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","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","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","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","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"; /******/ }; /******/ }(); /******/ @@ -120348,7 +119929,7 @@ function _unsupportedIterableToArray(o, minLen) { /******/ // 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","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","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","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","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__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","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__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","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25896":"p__virtualSpaces__Lists__Syllabuses__Detail__index","25972":"layouts__user__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","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","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__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","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","45096":"p__Shixuns__Detail__AuditSituation__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","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","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","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__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","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","66034":"p__HttpStatus__UserAgents","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","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","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","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","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) + ".chunk.css"; +/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__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","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","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","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__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","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","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","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","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__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","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","45096":"p__Shixuns__Detail__AuditSituation__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","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","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","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__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","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","66034":"p__HttpStatus__UserAgents","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","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","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","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) + ".chunk.css"; /******/ }; /******/ }(); /******/ @@ -120516,7 +120097,7 @@ function _unsupportedIterableToArray(o, minLen) { /******/ }; /******/ /******/ __webpack_require__.f.miniCss = function(chunkId, promises) { -/******/ var cssChunks = {"192":1,"292":1,"310":1,"794":1,"1226":1,"1482":1,"1660":1,"1702":1,"2082":1,"2206":1,"2282":1,"2659":1,"2819":1,"3317":1,"3391":1,"3451":1,"3509":1,"3585":1,"3951":1,"4390":1,"4639":1,"4656":1,"4736":1,"4884":1,"4900":1,"4973":1,"5348":1,"5572":1,"6127":1,"6685":1,"6758":1,"6788":1,"7043":1,"7852":1,"7884":1,"7918":1,"8083":1,"8787":1,"8999":1,"10195":1,"10226":1,"10485":1,"10737":1,"10799":1,"10921":1,"11004":1,"11070":1,"11512":1,"11520":1,"11545":1,"11581":1,"12102":1,"12412":1,"12476":1,"12865":1,"12884":1,"13006":1,"13355":1,"13414":1,"13581":1,"14058":1,"14074":1,"14105":1,"14514":1,"14599":1,"14610":1,"14628":1,"14662":1,"14889":1,"15148":1,"15319":1,"15402":1,"15428":1,"16328":1,"16729":1,"16758":1,"16845":1,"17379":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,"20959":1,"21265":1,"21423":1,"21578":1,"21939":1,"22254":1,"22257":1,"22307":1,"22562":1,"22707":1,"22842":1,"23332":1,"23805":1,"24504":1,"24972":1,"25470":1,"25705":1,"25896":1,"25972":1,"26366":1,"26685":1,"26741":1,"26883":1,"27078":1,"27084":1,"27182":1,"27333":1,"27395":1,"27703":1,"28072":1,"28435":1,"28723":1,"28782":1,"28982":1,"29080":1,"29647":1,"29730":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,"35631":1,"35729":1,"36040":1,"36270":1,"36433":1,"36483":1,"36579":1,"36784":1,"37062":1,"37099":1,"38447":1,"38634":1,"39332":1,"39391":1,"39404":1,"39695":1,"40018":1,"40559":1,"41048":1,"41657":1,"41717":1,"41953":1,"42240":1,"42241":1,"42977":1,"43442":1,"43465":1,"43778":1,"43915":1,"44216":1,"44259":1,"44449":1,"44510":1,"45096":1,"45359":1,"45650":1,"45775":1,"45818":1,"45825":1,"45992":1,"46059":1,"46796":1,"46963":1,"47824":1,"48077":1,"48431":1,"48689":1,"48896":1,"49205":1,"49366":1,"49666":1,"49716":1,"49890":1,"49960":1,"50869":1,"51276":1,"51370":1,"51582":1,"51855":1,"52338":1,"52404":1,"52424":1,"52806":1,"52829":1,"52875":1,"53247":1,"53440":1,"53910":1,"54056":1,"54164":1,"54285":1,"54472":1,"54572":1,"54770":1,"54836":1,"54862":1,"55573":1,"56277":1,"56379":1,"57045":1,"57614":1,"59133":1,"59289":1,"59649":1,"59788":1,"60479":1,"60533":1,"60547":1,"60578":1,"61043":1,"61713":1,"61727":1,"62548":1,"62654":1,"63543":1,"64144":1,"64217":1,"64496":1,"64520":1,"64547":1,"65111":1,"65148":1,"65191":1,"65294":1,"65491":1,"65549":1,"65816":1,"66034":1,"66583":1,"66651":1,"67242":1,"67570":1,"67878":1,"68014":1,"68665":1,"68827":1,"68882":1,"68922":1,"69922":1,"69944":1,"71218":1,"71450":1,"71783":1,"72230":1,"72465":1,"72529":1,"72570":1,"72693":1,"73183":1,"73220":1,"74264":1,"74795":1,"75043":1,"75357":1,"75800":1,"76904":1,"77460":1,"77857":1,"78085":1,"79489":1,"79590":1,"79921":1,"80508":1,"80670":1,"81148":1,"82339":1,"82425":1,"83141":1,"83212":1,"83935":1,"84169":1,"84546":1,"85048":1,"85111":1,"85297":1,"85343":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,"88551":1,"88866":1,"89076":1,"89540":1,"89677":1,"89785":1,"90109":1,"90265":1,"90337":1,"91045":1,"91470":1,"91487":1,"92045":1,"92501":1,"92603":1,"92823":1,"92983":1,"93260":1,"93282":1,"93291":1,"93496":1,"93665":1,"93668":1,"94078":1,"94220":1,"94498":1,"94662":1,"94715":1,"94849":1,"95125":1,"95176":1,"95335":1,"95971":1,"96444":1,"96882":1,"97008":1,"97046":1,"97278":1,"98007":1,"98062":1,"98398":1,"98688":1,"98885":1,"99674":1}; +/******/ var cssChunks = {"192":1,"292":1,"310":1,"794":1,"1226":1,"1482":1,"1660":1,"1702":1,"2082":1,"2206":1,"2282":1,"2659":1,"2819":1,"3317":1,"3391":1,"3451":1,"3509":1,"3585":1,"3633":1,"3951":1,"4390":1,"4639":1,"4656":1,"4736":1,"4884":1,"4900":1,"4973":1,"5348":1,"5572":1,"6127":1,"6685":1,"6758":1,"6788":1,"7043":1,"7852":1,"7884":1,"7918":1,"8280":1,"8787":1,"8999":1,"10195":1,"10226":1,"10485":1,"10737":1,"10799":1,"10921":1,"11070":1,"11512":1,"11520":1,"11545":1,"11581":1,"12102":1,"12412":1,"12476":1,"12819":1,"12865":1,"12884":1,"13006":1,"13355":1,"13414":1,"13581":1,"14058":1,"14074":1,"14105":1,"14506":1,"14514":1,"14599":1,"14610":1,"14662":1,"14889":1,"15148":1,"15319":1,"15402":1,"15428":1,"16328":1,"16729":1,"16827":1,"16845":1,"17379":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,"20812":1,"20959":1,"21265":1,"21423":1,"21578":1,"21939":1,"22254":1,"22257":1,"22307":1,"22562":1,"22707":1,"22842":1,"23332":1,"23805":1,"24504":1,"25470":1,"25705":1,"25896":1,"26366":1,"26685":1,"26741":1,"26883":1,"27182":1,"27333":1,"27395":1,"27703":1,"28072":1,"28435":1,"28723":1,"28782":1,"28982":1,"29080":1,"29647":1,"29730":1,"30067":1,"30264":1,"30342":1,"31006":1,"31211":1,"31418":1,"31427":1,"31674":1,"31949":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,"36204":1,"36270":1,"36433":1,"36483":1,"36579":1,"36784":1,"37062":1,"37099":1,"38447":1,"38634":1,"39332":1,"39391":1,"39404":1,"39695":1,"40018":1,"40559":1,"41048":1,"41657":1,"41717":1,"41953":1,"42240":1,"42977":1,"43442":1,"43465":1,"43778":1,"43915":1,"44216":1,"44259":1,"44449":1,"44510":1,"45096":1,"45359":1,"45650":1,"45775":1,"45825":1,"45992":1,"46059":1,"46796":1,"46963":1,"46981":1,"48077":1,"48431":1,"48689":1,"48896":1,"49205":1,"49366":1,"49666":1,"49716":1,"49890":1,"49960":1,"50869":1,"51276":1,"51370":1,"51582":1,"51855":1,"52338":1,"52404":1,"52424":1,"52806":1,"52829":1,"52875":1,"53247":1,"53267":1,"53440":1,"53910":1,"54056":1,"54164":1,"54285":1,"54472":1,"54572":1,"54770":1,"54836":1,"54862":1,"55573":1,"56277":1,"56885":1,"57045":1,"57614":1,"59133":1,"59295":1,"59649":1,"59788":1,"60479":1,"60533":1,"60547":1,"61043":1,"61437":1,"61713":1,"61727":1,"62548":1,"62629":1,"63543":1,"64144":1,"64217":1,"64496":1,"64520":1,"65111":1,"65148":1,"65191":1,"65294":1,"65491":1,"65549":1,"65816":1,"66034":1,"66583":1,"66651":1,"67242":1,"67570":1,"67878":1,"68014":1,"68665":1,"68827":1,"68882":1,"68922":1,"69561":1,"69922":1,"69944":1,"71218":1,"71450":1,"71783":1,"72465":1,"72529":1,"72570":1,"72693":1,"73183":1,"73220":1,"74264":1,"74795":1,"75043":1,"75357":1,"75786":1,"75800":1,"76563":1,"76904":1,"77460":1,"77857":1,"78085":1,"78843":1,"79489":1,"79590":1,"79921":1,"80280":1,"80508":1,"80670":1,"81148":1,"82339":1,"82425":1,"83141":1,"83212":1,"83520":1,"83935":1,"84546":1,"84685":1,"85048":1,"85111":1,"85297":1,"85343":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,"89106":1,"89677":1,"89785":1,"90109":1,"90265":1,"90337":1,"91045":1,"91470":1,"91487":1,"92045":1,"92501":1,"92603":1,"92823":1,"92983":1,"93260":1,"93282":1,"93291":1,"93496":1,"93665":1,"93668":1,"94078":1,"94220":1,"94498":1,"94662":1,"94715":1,"94849":1,"95125":1,"95176":1,"95335":1,"96444":1,"96882":1,"96967":1,"97008":1,"97046":1,"97278":1,"98007":1,"98062":1,"98398":1,"98688":1,"98718":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() { @@ -120551,7 +120132,7 @@ function _unsupportedIterableToArray(o, minLen) { /******/ if(installedChunkData) { /******/ promises.push(installedChunkData[2]); /******/ } else { -/******/ if(!/^(2(0576|2562|2842|3805|8723)|36(433|483|579)|(439|8067|9422)0|192|42977|62654)$/.test(chunkId)) { +/******/ if(!/^(2(0576|2562|2842|3805|8723)|36(433|483|579)|(439|8067|9422)0|192|42977|61437)$/.test(chunkId)) { /******/ // setup Promise in chunk cache /******/ var promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; }); /******/ promises.push(installedChunkData[2] = promise); @@ -122424,984 +122005,984 @@ function _getRoutes() { "id": "40" }, "41": { - "path": "/classrooms/:coursesId/exercise/:categoryId/users/:login", + "path": "/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer", "parentId": "17", "id": "41" }, "42": { - "path": "/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer", + "path": "/classrooms/:coursesId/exercise/:categoryId/users/:login", "parentId": "17", "id": "42" }, "43": { - "path": "/classrooms/:coursesId/exercise/:categoryId/random/edit", + "path": "/classrooms/:coursesId/exercisenotice/:categoryId/users/:login", "parentId": "17", "id": "43" }, "44": { - "path": "/classrooms/:coursesId/exercise/:categoryId/random/preview", + "path": "/classrooms/:coursesId/exercise/:categoryId/random/edit", "parentId": "17", "id": "44" }, "45": { - "path": "/classrooms/:coursesId/exercise/add", + "path": "/classrooms/:coursesId/exercise/:categoryId/random/preview", "parentId": "17", "id": "45" }, "46": { - "path": "/classrooms/:coursesId/exercise/add/:exerciseId", + "path": "/classrooms/:coursesId/exercise/add", "parentId": "17", "id": "46" }, "47": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/reviews/group", + "path": "/classrooms/:coursesId/exercise/add/:exerciseId", "parentId": "17", "id": "47" }, "48": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/review/:userId", + "path": "/classrooms/:coursesId/exercise/:exerciseId/reviews/group", "parentId": "17", "id": "48" }, "49": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId", + "path": "/classrooms/:coursesId/exercise/:exerciseId/review/:userId", "parentId": "17", "id": "49" }, "50": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/export/:userId", + "path": "/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId", "parentId": "17", "id": "50" }, "51": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/export_blank", + "path": "/classrooms/:coursesId/exercise/:exerciseId/export/:userId", "parentId": "17", "id": "51" }, "52": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId", + "path": "/classrooms/:coursesId/exercise/:exerciseId/export_blank", "parentId": "17", "id": "52" }, "53": { - "path": "/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId", + "path": "/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId", "parentId": "17", "id": "53" }, "54": { - "path": "/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code", + "path": "/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId", "parentId": "17", "id": "54" }, "55": { - "path": "/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code", + "path": "/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code", "parentId": "17", "id": "55" }, "56": { - "path": "/classrooms/:coursesId/graduation_topics/:categoryId/detail", + "path": "/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code", "parentId": "17", "id": "56" }, "57": { - "path": "/classrooms/:coursesId/graduation_topics/:categoryId/add", + "path": "/classrooms/:coursesId/graduation_topics/:categoryId/detail", "parentId": "17", "id": "57" }, "58": { - "path": "/classrooms/:coursesId/graduation_topics/:categoryId/edit", + "path": "/classrooms/:coursesId/graduation_topics/:categoryId/add", "parentId": "17", "id": "58" }, "59": { - "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/add", + "path": "/classrooms/:coursesId/graduation_topics/:categoryId/edit", "parentId": "17", "id": "59" }, "60": { - "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/edit", + "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/add", "parentId": "17", "id": "60" }, "61": { - "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/detail", + "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/edit", "parentId": "17", "id": "61" }, "62": { - "path": "/classrooms/:coursesId/common_homework/:categoryId/add", + "path": "/classrooms/:coursesId/graduation_tasks/:categoryId/detail", "parentId": "17", "id": "62" }, "63": { - "path": "/classrooms/:coursesId/common_homework/:categoryId/edit", + "path": "/classrooms/:coursesId/common_homework/:categoryId/add", "parentId": "17", "id": "63" }, "64": { - "path": "/classrooms/:coursesId/common_homework/:commonHomeworkId/post", + "path": "/classrooms/:coursesId/common_homework/:categoryId/edit", "parentId": "17", "id": "64" }, "65": { - "path": "/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit", + "path": "/classrooms/:coursesId/common_homework/:commonHomeworkId/post", "parentId": "17", "id": "65" }, "66": { - "path": "/classrooms/:coursesId/group_homework/:categoryId/add", + "path": "/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit", "parentId": "17", "id": "66" }, "67": { - "path": "/classrooms/:coursesId/group_homework/:categoryId/edit", + "path": "/classrooms/:coursesId/group_homework/:categoryId/add", "parentId": "17", "id": "67" }, "68": { - "path": "/classrooms/:coursesId/poll/:categoryId/add", + "path": "/classrooms/:coursesId/group_homework/:categoryId/edit", "parentId": "17", "id": "68" }, "69": { - "path": "/classrooms/:coursesId/poll/:categoryId/edit", + "path": "/classrooms/:coursesId/poll/:categoryId/add", "parentId": "17", "id": "69" }, "70": { - "path": "/classrooms/:coursesId/poll/:categoryId/detail", + "path": "/classrooms/:coursesId/poll/:categoryId/edit", "parentId": "17", "id": "70" }, "71": { - "path": "/classrooms/:coursesId/poll/:categoryId/users/:login", + "path": "/classrooms/:coursesId/poll/:categoryId/detail", "parentId": "17", "id": "71" }, "72": { - "path": "/classrooms/:coursesId/board/:categoryId/Add", + "path": "/classrooms/:coursesId/poll/:categoryId/users/:login", "parentId": "17", "id": "72" }, "73": { - "path": "/classrooms/:coursesId/board/:categoryId/Edit/:boardId", + "path": "/classrooms/:coursesId/board/:categoryId/Add", "parentId": "17", "id": "73" }, "74": { - "path": "/classrooms/:coursesId/board/:categoryId/Detail/:boardId", + "path": "/classrooms/:coursesId/board/:categoryId/Edit/:boardId", "parentId": "17", "id": "74" }, "75": { - "path": "/classrooms/:courseId/template/:templateId", + "path": "/classrooms/:coursesId/board/:categoryId/Detail/:boardId", "parentId": "17", "id": "75" }, "76": { - "path": "/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId", + "path": "/classrooms/:courseId/template/:templateId", "parentId": "17", "id": "76" }, "77": { - "path": "/classrooms/guidance", + "path": "/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId", "parentId": "17", "id": "77" }, "78": { - "path": "/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId", + "path": "/classrooms/guidance", "parentId": "17", "id": "78" }, "79": { - "path": "/classrooms/:coursesId/exercise/:categoryId/users/:login/check", + "path": "/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId", "parentId": "17", "id": "79" }, "80": { - "path": "/classrooms/:coursesId/Studentdetail/:login", + "path": "/classrooms/:coursesId/exercise/:categoryId/users/:login/check", "parentId": "17", "id": "80" }, "81": { - "path": "/classrooms/:coursesId/StudentSituation/:categoryId/:login", + "path": "/classrooms/:coursesId/Studentdetail/:login", "parentId": "17", "id": "81" }, "82": { - "path": "/classrooms/:coursesId/engineering/datail", + "path": "/classrooms/:coursesId/StudentSituation/:categoryId/:login", "parentId": "17", "id": "82" }, "83": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/add", + "path": "/classrooms/:coursesId/engineering/datail", "parentId": "17", "id": "83" }, "84": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/edit", + "path": "/classrooms/:coursesId/program_homework/:categoryId/add", "parentId": "17", "id": "84" }, "85": { - "path": "/classrooms/:coursesId/program_homework/ranking", + "path": "/classrooms/:coursesId/program_homework/:categoryId/edit", "parentId": "17", "id": "85" }, "86": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/detail", + "path": "/classrooms/:coursesId/program_homework/ranking", "parentId": "17", "id": "86" }, "87": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking", + "path": "/classrooms/:coursesId/program_homework/:categoryId/detail", "parentId": "17", "id": "87" }, "88": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment", + "path": "/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking", "parentId": "17", "id": "88" }, "89": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/answer", + "path": "/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment", "parentId": "17", "id": "89" }, "90": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/add", + "path": "/classrooms/:coursesId/program_homework/:categoryId/answer", "parentId": "17", "id": "90" }, "91": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit", + "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/add", "parentId": "17", "id": "91" }, "92": { - "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail", + "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit", "parentId": "17", "id": "92" }, "93": { - "path": "/classrooms/", + "path": "/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail", "parentId": "17", "id": "93" }, "94": { - "path": "/classrooms/:coursesId/shixun_homework/:categoryId", - "parentId": "93", + "path": "/classrooms/", + "parentId": "17", "id": "94" }, "95": { - "path": "/classrooms/:coursesId/shixun_homework", - "parentId": "93", + "path": "/classrooms/:coursesId/shixun_homework/:categoryId", + "parentId": "94", "id": "95" }, "96": { - "path": "/classrooms/:coursesId/graduation_topics/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/shixun_homework", + "parentId": "94", "id": "96" }, "97": { - "path": "/classrooms/:coursesId/graduation_tasks/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/graduation_topics/:categoryId", + "parentId": "94", "id": "97" }, "98": { "path": "/classrooms/:coursesId/graduation_tasks/:categoryId", - "parentId": "93", + "parentId": "94", "id": "98" }, "99": { - "path": "/classrooms/:coursesId/exercise/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/graduation_tasks/:categoryId", + "parentId": "94", "id": "99" }, "100": { - "path": "/classrooms/:coursesId/exercise", - "parentId": "93", + "path": "/classrooms/:coursesId/exercise/:categoryId", + "parentId": "94", "id": "100" }, "101": { - "path": "/classrooms/:coursesId/poll/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/exercise", + "parentId": "94", "id": "101" }, "102": { - "path": "/classrooms/:coursesId/poll", - "parentId": "93", + "path": "/classrooms/:coursesId/poll/:categoryId", + "parentId": "94", "id": "102" }, "103": { - "path": "/classrooms/:coursesId/common_homework/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/poll", + "parentId": "94", "id": "103" }, "104": { - "path": "/classrooms/:coursesId/common_homework", - "parentId": "93", + "path": "/classrooms/:coursesId/common_homework/:categoryId", + "parentId": "94", "id": "104" }, "105": { - "path": "/classrooms/:coursesId/group_homework/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/common_homework", + "parentId": "94", "id": "105" }, "106": { - "path": "/classrooms/:coursesId/group_homework", - "parentId": "93", + "path": "/classrooms/:coursesId/group_homework/:categoryId", + "parentId": "94", "id": "106" }, "107": { - "path": "/classrooms/:coursesId/teachers", - "parentId": "93", + "path": "/classrooms/:coursesId/group_homework", + "parentId": "94", "id": "107" }, "108": { - "path": "/classrooms/:coursesId/students", - "parentId": "93", + "path": "/classrooms/:coursesId/teachers", + "parentId": "94", "id": "108" }, "109": { - "path": "/classrooms/:coursesId/assistant", - "parentId": "93", + "path": "/classrooms/:coursesId/students", + "parentId": "94", "id": "109" }, "110": { - "path": "/classrooms/:coursesId/program_homework", - "parentId": "93", + "path": "/classrooms/:coursesId/assistant", + "parentId": "94", "id": "110" }, "111": { - "path": "/classrooms/:coursesId/program_homework/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/program_homework", + "parentId": "94", "id": "111" }, "112": { - "path": "/classrooms/:coursesId/engineering", - "parentId": "93", + "path": "/classrooms/:coursesId/program_homework/:categoryId", + "parentId": "94", "id": "112" }, "113": { - "path": "/classrooms/:coursesId/attendance", - "parentId": "93", + "path": "/classrooms/:coursesId/engineering", + "parentId": "94", "id": "113" }, "114": { - "path": "/classrooms/:coursesId/attendance/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/attendance", + "parentId": "94", "id": "114" }, "115": { - "path": "/classrooms/:coursesId/attendance/:categoryId/:tabId/detail", - "parentId": "93", + "path": "/classrooms/:coursesId/attendance/:categoryId", + "parentId": "94", "id": "115" }, "116": { - "path": "/classrooms/:coursesId/announcement", - "parentId": "93", + "path": "/classrooms/:coursesId/attendance/:categoryId/:tabId/detail", + "parentId": "94", "id": "116" }, "117": { - "path": "/classrooms/:coursesId/announcement/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/announcement", + "parentId": "94", "id": "117" }, "118": { - "path": "/classrooms/:coursesId/online_learning", - "parentId": "93", + "path": "/classrooms/:coursesId/announcement/:categoryId", + "parentId": "94", "id": "118" }, "119": { - "path": "/classrooms/:coursesId/online_learning/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/online_learning", + "parentId": "94", "id": "119" }, "120": { - "path": "/classrooms/:coursesId/attachment/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/online_learning/:categoryId", + "parentId": "94", "id": "120" }, "121": { - "path": "/classrooms/:coursesId/attachment", - "parentId": "93", + "path": "/classrooms/:coursesId/attachment/:categoryId", + "parentId": "94", "id": "121" }, "122": { - "path": "/classrooms/:coursesId/video", - "parentId": "93", + "path": "/classrooms/:coursesId/attachment", + "parentId": "94", "id": "122" }, "123": { - "path": "/classrooms/:coursesId/video/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/video", + "parentId": "94", "id": "123" }, "124": { - "path": "/classrooms/:coursesId/video/:categoryId/statistics", - "parentId": "93", + "path": "/classrooms/:coursesId/video/:categoryId", + "parentId": "94", "id": "124" }, "125": { - "path": "/classrooms/:coursesId/video/:username/upload", - "parentId": "93", + "path": "/classrooms/:coursesId/video/:categoryId/statistics", + "parentId": "94", "id": "125" }, "126": { - "path": "/classrooms/:coursesId/video/:categoryId/statistics/:videoId", - "parentId": "93", + "path": "/classrooms/:coursesId/video/:username/upload", + "parentId": "94", "id": "126" }, "127": { - "path": "/classrooms/:coursesId/live_video/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/video/:categoryId/statistics/:videoId", + "parentId": "94", "id": "127" }, "128": { - "path": "/classrooms/:coursesId/live_video", - "parentId": "93", + "path": "/classrooms/:coursesId/live_video/:categoryId", + "parentId": "94", "id": "128" }, "129": { - "path": "/classrooms/:coursesId/video/:categoryId/studentstatistics", - "parentId": "93", + "path": "/classrooms/:coursesId/live_video", + "parentId": "94", "id": "129" }, "130": { - "path": "/classrooms/:coursesId/board/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/video/:categoryId/studentstatistics", + "parentId": "94", "id": "130" }, "131": { - "path": "/classrooms/:coursesId/board", - "parentId": "93", + "path": "/classrooms/:coursesId/board/:categoryId", + "parentId": "94", "id": "131" }, "132": { - "path": "/classrooms/:coursesId/course_group", - "parentId": "93", + "path": "/classrooms/:coursesId/board", + "parentId": "94", "id": "132" }, "133": { - "path": "/classrooms/:coursesId/course_group/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/course_group", + "parentId": "94", "id": "133" }, "134": { - "path": "/classrooms/:coursesId/course_group/:categoryId/detail", - "parentId": "93", + "path": "/classrooms/:coursesId/course_group/:categoryId", + "parentId": "94", "id": "134" }, "135": { - "path": "/classrooms/:coursesId/not_course_group/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/course_group/:categoryId/detail", + "parentId": "94", "id": "135" }, "136": { - "path": "/classrooms/:coursesId/not_course_group", - "parentId": "93", + "path": "/classrooms/:coursesId/not_course_group/:categoryId", + "parentId": "94", "id": "136" }, "137": { - "path": "/classrooms/:coursesId/statistics/", - "parentId": "93", + "path": "/classrooms/:coursesId/not_course_group", + "parentId": "94", "id": "137" }, "138": { - "path": "/classrooms/:coursesId/statistics/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/statistics/", + "parentId": "94", "id": "138" }, "139": { - "path": "/classrooms/:coursesId/statistics_video/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/statistics/:categoryId", + "parentId": "94", "id": "139" }, "140": { - "path": "/classrooms/:coursesId/statistics_quality/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/statistics_video/:categoryId", + "parentId": "94", "id": "140" }, "141": { - "path": "/classrooms/:coursesId/student_statistics/:categoryId", - "parentId": "93", + "path": "/classrooms/:coursesId/statistics_quality/:categoryId", + "parentId": "94", "id": "141" }, "142": { - "path": "/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type", - "parentId": "93", + "path": "/classrooms/:coursesId/student_statistics/:categoryId", + "parentId": "94", "id": "142" }, "143": { - "path": "/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid", - "parentId": "93", + "path": "/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type", + "parentId": "94", "id": "143" }, "144": { - "path": "/classrooms/:coursesId/exportlist/:type", - "parentId": "93", + "path": "/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid", + "parentId": "94", "id": "144" }, "145": { - "path": "/classrooms/:coursesId", - "parentId": "93", + "path": "/classrooms/:coursesId/exportlist/:type", + "parentId": "94", "id": "145" }, "146": { - "path": "/classrooms/:coursesId/template", - "parentId": "93", + "path": "/classrooms/:coursesId", + "parentId": "94", "id": "146" }, "147": { - "path": "/competitions", - "parentId": "1", + "path": "/classrooms/:coursesId/template", + "parentId": "94", "id": "147" }, "148": { - "path": "/competitions/index", - "parentId": "147", + "path": "/competitions", + "parentId": "1", "id": "148" }, "149": { - "path": "/competitions/:identifier/list", - "parentId": "147", + "path": "/competitions/index", + "parentId": "148", "id": "149" }, "150": { - "path": "/competitions/exports", - "parentId": "147", + "path": "/competitions/:identifier/list", + "parentId": "148", "id": "150" }, "151": { - "path": "/competitions", - "parentId": "147", + "path": "/competitions/exports", + "parentId": "148", "id": "151" }, "152": { - "path": "/competitions/:identifier", - "parentId": "147", + "path": "/competitions", + "parentId": "148", "id": "152" }, "153": { - "path": "/competitions/index/:identifier", - "parentId": "147", + "path": "/competitions/:identifier", + "parentId": "148", "id": "153" }, "154": { - "path": "/competitions/:identifier/detail/enroll", - "parentId": "147", + "path": "/competitions/index/:identifier", + "parentId": "148", "id": "154" }, "155": { - "path": "/competitions/:identifier/detail/UpdateTeanname/:Teannameid", - "parentId": "147", + "path": "/competitions/:identifier/detail/enroll", + "parentId": "148", "id": "155" }, "156": { - "path": "/competitions/:identifier/detail/teamDetail/:Teamid", - "parentId": "147", + "path": "/competitions/:identifier/detail/UpdateTeanname/:Teannameid", + "parentId": "148", "id": "156" }, "157": { - "path": "/forums", - "parentId": "1", + "path": "/competitions/:identifier/detail/teamDetail/:Teamid", + "parentId": "148", "id": "157" }, "158": { "path": "/forums", - "parentId": "157", + "parentId": "1", "id": "158" }, "159": { - "path": "/forums/categories/:memoType", - "parentId": "157", + "path": "/forums", + "parentId": "158", "id": "159" }, "160": { - "path": "/forums/new", - "parentId": "157", + "path": "/forums/categories/:memoType", + "parentId": "158", "id": "160" }, "161": { - "path": "/forums/:memoId/edit", - "parentId": "157", + "path": "/forums/new", + "parentId": "158", "id": "161" }, "162": { - "path": "/forums/:memoId", - "parentId": "157", + "path": "/forums/:memoId/edit", + "parentId": "158", "id": "162" }, "163": { - "path": "/problemset", - "parentId": "1", + "path": "/forums/:memoId", + "parentId": "158", "id": "163" }, "164": { "path": "/problemset", - "parentId": "163", + "parentId": "1", "id": "164" }, "165": { - "path": "/problemset/newitem", - "parentId": "163", + "path": "/problemset", + "parentId": "164", "id": "165" }, "166": { - "path": "/problemset/:type/:id", - "parentId": "163", + "path": "/problemset/newitem", + "parentId": "164", "id": "166" }, "167": { - "path": "/problemset/preview", - "parentId": "163", + "path": "/problemset/:type/:id", + "parentId": "164", "id": "167" }, "168": { - "path": "/problemset/preview_new", - "parentId": "163", + "path": "/problemset/preview", + "parentId": "164", "id": "168" }, "169": { - "path": "/problemset/preview_select", - "parentId": "163", + "path": "/problemset/preview_new", + "parentId": "164", "id": "169" }, "170": { - "path": "/shixuns", - "parentId": "1", + "path": "/problemset/preview_select", + "parentId": "164", "id": "170" }, "171": { "path": "/shixuns", - "parentId": "170", + "parentId": "1", "id": "171" }, "172": { - "path": "/shixuns/exports", - "parentId": "170", + "path": "/shixuns", + "parentId": "171", "id": "172" }, "173": { - "path": "/shixuns/new", - "parentId": "170", + "path": "/shixuns/exports", + "parentId": "171", "id": "173" }, "174": { - "path": "/shixuns/new/CreateImg", - "parentId": "170", + "path": "/shixuns/new", + "parentId": "171", "id": "174" }, "175": { - "path": "/shixuns/new/:id/imagepreview", - "parentId": "170", + "path": "/shixuns/new/CreateImg", + "parentId": "171", "id": "175" }, "176": { - "path": "/shixuns/:id/Merge", - "parentId": "170", + "path": "/shixuns/new/:id/imagepreview", + "parentId": "171", "id": "176" }, "177": { - "path": "/shixuns/:id/edit", - "parentId": "170", + "path": "/shixuns/:id/Merge", + "parentId": "171", "id": "177" }, "178": { - "path": "shixuns/:id/edit/warehouse", - "parentId": "177", + "path": "/shixuns/:id/edit", + "parentId": "171", "id": "178" }, "179": { - "path": "/shixuns/:id/edit/newquestion", - "parentId": "177", + "path": "shixuns/:id/edit/warehouse", + "parentId": "178", "id": "179" }, "180": { - "path": "/shixuns/:id/edit/:challengesId/editquestion", - "parentId": "177", + "path": "/shixuns/:id/edit/newquestion", + "parentId": "178", "id": "180" }, "181": { - "path": "/shixuns/:id/edit/:challengesId/editquestion/:questionId", - "parentId": "177", + "path": "/shixuns/:id/edit/:challengesId/editquestion", + "parentId": "178", "id": "181" }, "182": { - "path": "/shixuns/:id/edit/new", - "parentId": "177", + "path": "/shixuns/:id/edit/:challengesId/editquestion/:questionId", + "parentId": "178", "id": "182" }, "183": { - "path": "/shixuns/:id/edit/:challengesId/editcheckpoint", - "parentId": "177", + "path": "/shixuns/:id/edit/new", + "parentId": "178", "id": "183" }, "184": { - "path": "/shixuns/:id/edit/:challengesId/tab=2", - "parentId": "177", + "path": "/shixuns/:id/edit/:challengesId/editcheckpoint", + "parentId": "178", "id": "184" }, "185": { - "path": "/shixuns/:id/edit/:challengesId/tab=3", - "parentId": "177", + "path": "/shixuns/:id/edit/:challengesId/tab=2", + "parentId": "178", "id": "185" }, "186": { - "path": "/shixuns/:id/edit/:challengesId/tab=4", - "parentId": "177", + "path": "/shixuns/:id/edit/:challengesId/tab=3", + "parentId": "178", "id": "186" }, "187": { - "path": "/shixuns/:id", - "parentId": "170", + "path": "/shixuns/:id/edit/:challengesId/tab=4", + "parentId": "178", "id": "187" }, "188": { - "path": "/shixuns/:id/challenges", - "parentId": "187", + "path": "/shixuns/:id", + "parentId": "171", "id": "188" }, "189": { - "path": "/shixuns/:id/repository", - "parentId": "187", + "path": "/shixuns/:id/challenges", + "parentId": "188", "id": "189" }, "190": { - "path": "/shixuns/:id/secret_repository", - "parentId": "187", + "path": "/shixuns/:id/repository", + "parentId": "188", "id": "190" }, "191": { - "path": "/shixuns/:id/collaborators", - "parentId": "187", + "path": "/shixuns/:id/secret_repository", + "parentId": "188", "id": "191" }, "192": { - "path": "/shixuns/:id/dataset", - "parentId": "187", + "path": "/shixuns/:id/collaborators", + "parentId": "188", "id": "192" }, "193": { - "path": "/shixuns/:id/shixun_discuss", - "parentId": "187", + "path": "/shixuns/:id/dataset", + "parentId": "188", "id": "193" }, "194": { - "path": "/shixuns/:id/ranking_list", - "parentId": "187", + "path": "/shixuns/:id/shixun_discuss", + "parentId": "188", "id": "194" }, "195": { - "path": "/shixuns/:id/settings", - "parentId": "187", + "path": "/shixuns/:id/ranking_list", + "parentId": "188", "id": "195" }, "196": { - "path": "/shixuns/:id/repository/:repoId/commits", - "parentId": "187", + "path": "/shixuns/:id/settings", + "parentId": "188", "id": "196" }, "197": { - "path": "/shixuns/:id/secret_repository/:repoId/commits", - "parentId": "187", + "path": "/shixuns/:id/repository/:repoId/commits", + "parentId": "188", "id": "197" }, "198": { - "path": "/shixuns/:id/repository/upload_file", - "parentId": "187", + "path": "/shixuns/:id/secret_repository/:repoId/commits", + "parentId": "188", "id": "198" }, "199": { - "path": "/shixuns/:id/secret_repository/upload_file", - "parentId": "187", + "path": "/shixuns/:id/repository/upload_file", + "parentId": "188", "id": "199" }, "200": { - "path": "/shixuns/:id/repository/add_file", - "parentId": "187", + "path": "/shixuns/:id/secret_repository/upload_file", + "parentId": "188", "id": "200" }, "201": { - "path": "/shixuns/:id/secret_repository/add_file", - "parentId": "187", + "path": "/shixuns/:id/repository/add_file", + "parentId": "188", "id": "201" }, "202": { - "path": "/shixuns/:id/repository/master/shixun_show/:fileId", - "exact": false, - "parentId": "187", + "path": "/shixuns/:id/secret_repository/add_file", + "parentId": "188", "id": "202" }, "203": { - "path": "/shixuns/:id/secret_repository/master/shixun_show/:fileId", + "path": "/shixuns/:id/repository/master/shixun_show/:fileId", "exact": false, - "parentId": "187", + "parentId": "188", "id": "203" }, "204": { - "path": "/shixuns/:id/audit_situation", - "parentId": "187", + "path": "/shixuns/:id/secret_repository/master/shixun_show/:fileId", + "exact": false, + "parentId": "188", "id": "204" }, "205": { - "path": "/shixuns/:id/fork_list", - "parentId": "187", + "path": "/shixuns/:id/audit_situation", + "parentId": "188", "id": "205" }, "206": { - "path": "/users", - "parentId": "1", + "path": "/shixuns/:id/fork_list", + "parentId": "188", "id": "206" }, "207": { - "path": "/users/:username/videos/protocol", - "parentId": "206", + "path": "/users", + "parentId": "1", "id": "207" }, "208": { - "path": "/users/:username/videos/success", - "parentId": "206", + "path": "/users/:username/videos/protocol", + "parentId": "207", "id": "208" }, "209": { - "path": "/users/:username/topicbank/:topicstype", - "parentId": "206", + "path": "/users/:username/videos/success", + "parentId": "207", "id": "209" }, "210": { - "path": "/users/:username/topics/:topicId/:topictype/normal/detail", - "parentId": "206", + "path": "/users/:username/topicbank/:topicstype", + "parentId": "207", "id": "210" }, "211": { - "path": "/users/:username/topics/:topicId/:topictype/group/detail", - "parentId": "206", + "path": "/users/:username/topics/:topicId/:topictype/normal/detail", + "parentId": "207", "id": "211" }, "212": { - "path": "/users/:username/topics/:topicId/:topictype/normal/edit", - "parentId": "206", + "path": "/users/:username/topics/:topicId/:topictype/group/detail", + "parentId": "207", "id": "212" }, "213": { - "path": "/users/:username/topics/:topicId/:topictype/group/edit", - "parentId": "206", + "path": "/users/:username/topics/:topicId/:topictype/normal/edit", + "parentId": "207", "id": "213" }, "214": { - "path": "/users/:username/topics/:topicId/:topictype/exercise/edit", - "parentId": "206", + "path": "/users/:username/topics/:topicId/:topictype/group/edit", + "parentId": "207", "id": "214" }, "215": { - "path": "/users/:username/topics/:topicId/:topictype/exercise/detail", - "parentId": "206", + "path": "/users/:username/topics/:topicId/:topictype/exercise/edit", + "parentId": "207", "id": "215" }, "216": { - "path": "/users/:username/topics/:topicId/:topictype/poll/edit", - "parentId": "206", + "path": "/users/:username/topics/:topicId/:topictype/exercise/detail", + "parentId": "207", "id": "216" }, "217": { - "path": "/users/:username/topics/:topicId/:topictype/poll/detail", - "parentId": "206", + "path": "/users/:username/topics/:topicId/:topictype/poll/edit", + "parentId": "207", "id": "217" }, "218": { - "path": "/users/:username", - "parentId": "206", + "path": "/users/:username/topics/:topicId/:topictype/poll/detail", + "parentId": "207", "id": "218" }, "219": { "path": "/users/:username", - "parentId": "218", + "parentId": "207", "id": "219" }, "220": { - "path": "/users/:username/classrooms", - "parentId": "218", + "path": "/users/:username", + "parentId": "219", "id": "220" }, "221": { - "path": "/users/:username/shixuns", - "parentId": "218", + "path": "/users/:username/classrooms", + "parentId": "219", "id": "221" }, "222": { - "path": "/users/:username/userPortrait", - "parentId": "218", + "path": "/users/:username/shixuns", + "parentId": "219", "id": "222" }, "223": { - "path": "/users/:username/learningPath", - "parentId": "218", + "path": "/users/:username/userPortrait", + "parentId": "219", "id": "223" }, "224": { - "path": "/users/:username/teach-group", - "parentId": "218", + "path": "/users/:username/learningPath", + "parentId": "219", "id": "224" }, "225": { - "path": "/users/:username/experiment-img", - "parentId": "218", + "path": "/users/:username/teach-group", + "parentId": "219", "id": "225" }, "226": { - "path": "/users/:username/experiment-img/:experid/detail", - "parentId": "218", + "path": "/users/:username/experiment-img", + "parentId": "219", "id": "226" }, "227": { - "path": "/users/:username/certificate", - "parentId": "218", + "path": "/users/:username/experiment-img/:experid/detail", + "parentId": "219", "id": "227" }, "228": { - "path": "/users/:username/otherResources", - "parentId": "218", + "path": "/users/:username/certificate", + "parentId": "219", "id": "228" }, "229": { - "path": "/users/:username/paths", - "parentId": "218", + "path": "/users/:username/otherResources", + "parentId": "219", "id": "229" }, "230": { - "path": "/users/:username/projects", - "parentId": "218", + "path": "/users/:username/paths", + "parentId": "219", "id": "230" }, "231": { - "path": "/users/:username/videos", - "parentId": "218", + "path": "/users/:username/projects", + "parentId": "219", "id": "231" }, "232": { - "path": "/users/:username/videos/upload", - "parentId": "218", + "path": "/users/:username/videos", + "parentId": "219", "id": "232" }, "233": { - "path": "/users/:username/topics/:topicstype", - "parentId": "218", + "path": "/users/:username/videos/upload", + "parentId": "219", "id": "233" }, "234": { - "path": "/users/:username/vspaces", - "parentId": "218", + "path": "/users/:username/topics/:topicstype", + "parentId": "219", "id": "234" }, "235": { - "parentId": "1", + "path": "/users/:username/vspaces", + "parentId": "219", "id": "235" }, "236": { - "path": "/problems", - "parentId": "235", + "parentId": "1", "id": "236" }, "237": { @@ -123410,903 +122991,908 @@ function _getRoutes() { "id": "237" }, "238": { - "path": "/problems/batchAdd", - "parentId": "236", + "path": "/problems", + "parentId": "237", "id": "238" }, "239": { - "path": "/problems/newcreate", - "parentId": "235", + "path": "/problems/batchAdd", + "parentId": "237", "id": "239" }, "240": { - "path": "/problems/newedit/:id", - "exact": true, - "parentId": "235", + "path": "/problems/newcreate", + "parentId": "236", "id": "240" }, "241": { - "path": "/problems/:id/edit", + "path": "/problems/newedit/:id", "exact": true, - "parentId": "235", + "parentId": "236", "id": "241" }, "242": { - "path": "/problems/new", + "path": "/problems/:id/edit", "exact": true, - "parentId": "235", + "parentId": "236", "id": "242" }, "243": { - "path": "/problems/:id/oj/:save_identifier", - "parentId": "235", + "path": "/problems/new", + "exact": true, + "parentId": "236", "id": "243" }, "244": { - "path": "/problems/:id/record-detail/:submitId", - "parentId": "235", + "path": "/problems/:id/oj/:save_identifier", + "parentId": "236", "id": "244" }, "245": { - "path": "/problems/add", - "parentId": "235", + "path": "/problems/:id/record-detail/:submitId", + "parentId": "236", "id": "245" }, "246": { - "path": "/problems/:id/ojedit", - "parentId": "235", + "path": "/problems/add", + "parentId": "236", "id": "246" }, "247": { - "path": "/engineering", - "parentId": "1", + "path": "/problems/:id/ojedit", + "parentId": "236", "id": "247" }, "248": { "path": "/engineering", - "parentId": "247", + "parentId": "1", "id": "248" }, "249": { - "path": "/engineering/teacherList", + "path": "/engineering", "parentId": "248", "id": "249" }, "250": { - "path": "/engineering/studentList", - "parentId": "248", + "path": "/engineering/teacherList", + "parentId": "249", "id": "250" }, "251": { - "path": "/engineering/trainingProgram", - "parentId": "248", + "path": "/engineering/studentList", + "parentId": "249", "id": "251" }, "252": { - "path": "/engineering/trainingProgram/add", - "parentId": "248", + "path": "/engineering/trainingProgram", + "parentId": "249", "id": "252" }, "253": { - "path": "/engineering/trainingProgram/edit", - "parentId": "248", + "path": "/engineering/trainingProgram/add", + "parentId": "249", "id": "253" }, "254": { - "path": "/engineering/trainingObjectives", - "parentId": "248", + "path": "/engineering/trainingProgram/edit", + "parentId": "249", "id": "254" }, "255": { - "path": "/engineering/graduationindex", - "parentId": "248", + "path": "/engineering/trainingObjectives", + "parentId": "249", "id": "255" }, "256": { - "path": "/engineering/graduatedMatrix", - "parentId": "248", + "path": "/engineering/graduationindex", + "parentId": "249", "id": "256" }, "257": { - "path": "/engineering/courseList", - "parentId": "248", + "path": "/engineering/graduatedMatrix", + "parentId": "249", "id": "257" }, "258": { - "path": "/engineering/cursesetting", - "parentId": "248", + "path": "/engineering/courseList", + "parentId": "249", "id": "258" }, "259": { - "path": "/engineering/courseMatrix", - "parentId": "248", + "path": "/engineering/cursesetting", + "parentId": "249", "id": "259" }, "260": { - "path": "/engineering/navigation", - "parentId": "248", + "path": "/engineering/courseMatrix", + "parentId": "249", "id": "260" }, "261": { - "path": "/engineering/evaluate/course", - "parentId": "248", + "path": "/engineering/navigation", + "parentId": "249", "id": "261" }, "262": { - "path": "/engineering/evaluate/course/:ec_year_id/:id", - "parentId": "248", + "path": "/engineering/evaluate/course", + "parentId": "249", "id": "262" }, "263": { - "path": "/engineering/evaluate/norm", - "parentId": "248", + "path": "/engineering/evaluate/course/:ec_year_id/:id", + "parentId": "249", "id": "263" }, "264": { - "path": "/engineering/evaluate/document", - "parentId": "248", + "path": "/engineering/evaluate/norm", + "parentId": "249", "id": "264" }, "265": { - "path": "/engineering/evaluate/norm/:ec_year_id/:id", - "parentId": "248", + "path": "/engineering/evaluate/document", + "parentId": "249", "id": "265" }, "266": { - "path": "/engineering/*", - "redirect": "/404", - "parentId": "248", + "path": "/engineering/evaluate/norm/:ec_year_id/:id", + "parentId": "249", "id": "266" }, "267": { - "path": "/vspaces", - "parentId": "1", + "path": "/engineering/*", + "redirect": "/404", + "parentId": "249", "id": "267" }, "268": { "path": "/vspaces", - "exact": true, - "parentId": "267", + "parentId": "1", "id": "268" }, "269": { - "path": "/vspaces/:virtual_spacesId/syllabuses/add", + "path": "/vspaces", "exact": true, - "parentId": "267", + "parentId": "268", "id": "269" }, "270": { - "path": "/vspaces/:virtual_spacesId/syllabuses/:id/edit", + "path": "/vspaces/:virtual_spacesId/syllabuses/add", "exact": true, - "parentId": "267", + "parentId": "268", "id": "270" }, "271": { - "path": "/vspaces/:virtual_spacesId/", - "parentId": "267", + "path": "/vspaces/:virtual_spacesId/syllabuses/:id/edit", + "exact": true, + "parentId": "268", "id": "271" }, "272": { - "path": "/vspaces/:virtual_spacesId/syllabuses", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/", + "parentId": "268", "id": "272" }, "273": { - "path": "/vspaces/:virtual_spacesId/syllabuses/:id/detail", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/syllabuses", + "parentId": "272", "id": "273" }, "274": { - "path": "/vspaces/:virtual_spacesId/courses", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/syllabuses/:id/detail", + "parentId": "272", "id": "274" }, "275": { - "path": "/vspaces/:virtual_spacesId/shixuns", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/courses", + "parentId": "272", "id": "275" }, "276": { - "path": "/vspaces/:virtual_spacesId/videos", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/shixuns", + "parentId": "272", "id": "276" }, "277": { - "path": "/vspaces/:virtual_spacesId/videos/:username/upload", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/videos", + "parentId": "272", "id": "277" }, "278": { - "path": "/vspaces/:virtual_spacesId/members", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/videos/:username/upload", + "parentId": "272", "id": "278" }, "279": { - "path": "/vspaces/:virtual_spacesId/notices", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/members", + "parentId": "272", "id": "279" }, "280": { - "path": "/vspaces/:virtual_spacesId/managements", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/notices", + "parentId": "272", "id": "280" }, "281": { - "path": "/vspaces/:virtual_spacesId/graphs", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/managements", + "parentId": "272", "id": "281" }, "282": { - "path": "/vspaces/:virtual_spacesId/*", - "parentId": "271", + "path": "/vspaces/:virtual_spacesId/graphs", + "parentId": "272", "id": "282" }, "283": { - "path": "/innovation", - "parentId": "1", + "path": "/vspaces/:virtual_spacesId/*", + "parentId": "272", "id": "283" }, "284": { - "path": "/innovation/tasks/:taskId", - "parentId": "283", + "path": "/innovation", + "parentId": "1", "id": "284" }, "285": { - "path": "/innovation", - "parentId": "283", + "path": "/innovation/tasks/:taskId", + "parentId": "284", "id": "285" }, "286": { - "path": "/innovation/project", - "parentId": "285", + "path": "/innovation", + "parentId": "284", "id": "286" }, "287": { - "path": "/innovation/dataset", - "parentId": "285", + "path": "/innovation/project", + "parentId": "286", "id": "287" }, "288": { - "path": "/innovation/mirror", - "parentId": "285", + "path": "/innovation/dataset", + "parentId": "286", "id": "288" }, "289": { - "path": "/innovation/my-project", - "parentId": "285", + "path": "/innovation/mirror", + "parentId": "286", "id": "289" }, "290": { - "path": "/innovation/my-dataset", - "parentId": "285", + "path": "/innovation/my-project", + "parentId": "286", "id": "290" }, "291": { - "path": "/innovation/my-mirror", - "parentId": "285", + "path": "/innovation/my-dataset", + "parentId": "286", "id": "291" }, "292": { - "path": "/innovation/project/create", - "parentId": "285", + "path": "/innovation/my-mirror", + "parentId": "286", "id": "292" }, "293": { - "path": "/innovation/project/edit/:id", - "parentId": "285", + "path": "/innovation/project/create", + "parentId": "286", "id": "293" }, "294": { - "path": "/innovation/project/detail/:taskId", - "parentId": "285", + "path": "/innovation/project/edit/:id", + "parentId": "286", "id": "294" }, "295": { - "path": "/tasks", - "parentId": "1", + "path": "/innovation/project/detail/:taskId", + "parentId": "286", "id": "295" }, "296": { - "path": "/tasks/:taskId", - "exact": true, - "parentId": "295", + "path": "/tasks", + "parentId": "1", "id": "296" }, "297": { - "path": "/tasks/:identifier/jupyter/", + "path": "/tasks/:taskId", "exact": true, - "parentId": "295", + "parentId": "296", "id": "297" }, "298": { - "path": "/tasks/:courseId/:homeworkId/:taskId", + "path": "/tasks/:identifier/jupyter/", "exact": true, - "parentId": "295", + "parentId": "296", "id": "298" }, "299": { - "path": "/tasks/jupyter/:courseId/:homeworkId/:identifier", + "path": "/tasks/:courseId/:homeworkId/:taskId", "exact": true, - "parentId": "295", + "parentId": "296", "id": "299" }, "300": { - "path": "/tasks/:courseId/:exerciseId/:taskId/exercise", + "path": "/tasks/jupyter/:courseId/:homeworkId/:identifier", "exact": true, - "parentId": "295", + "parentId": "296", "id": "300" }, "301": { - "path": "/myproblems", - "parentId": "1", + "path": "/tasks/:courseId/:exerciseId/:taskId/exercise", + "exact": true, + "parentId": "296", "id": "301" }, "302": { - "path": "/myproblems/:id/record-detail/:submitId", - "exact": true, - "parentId": "301", + "path": "/myproblems", + "parentId": "1", "id": "302" }, "303": { - "path": "/myproblems/:id", + "path": "/myproblems/:id/record-detail/:submitId", "exact": true, - "parentId": "301", + "parentId": "302", "id": "303" }, "304": { - "path": "/account", - "parentId": "1", + "path": "/myproblems/:id", + "exact": true, + "parentId": "302", "id": "304" }, "305": { "path": "/account", - "parentId": "304", + "parentId": "1", "id": "305" }, "306": { - "path": "/account/profile", + "path": "/account", "parentId": "305", "id": "306" }, "307": { - "path": "/account/profile/edit", - "parentId": "305", + "path": "/account/profile", + "parentId": "306", "id": "307" }, "308": { - "path": "/account/certification", - "parentId": "305", + "path": "/account/profile/edit", + "parentId": "306", "id": "308" }, "309": { - "path": "/account/secure", - "parentId": "305", + "path": "/account/certification", + "parentId": "306", "id": "309" }, "310": { - "path": "/account/binding", - "parentId": "305", + "path": "/account/secure", + "parentId": "306", "id": "310" }, "311": { - "path": "/account/Results", - "parentId": "305", + "path": "/account/binding", + "parentId": "306", "id": "311" }, "312": { - "path": "/ch", - "parentId": "1", + "path": "/account/Results", + "parentId": "306", "id": "312" }, "313": { - "path": "/ch/rest/edit/:categoryId/:id", - "exact": true, - "parentId": "312", + "path": "/ch", + "parentId": "1", "id": "313" }, "314": { - "path": "/ch/rest/", + "path": "/ch/rest/edit/:categoryId/:id", "exact": true, - "parentId": "312", + "parentId": "313", "id": "314" }, "315": { - "path": "/ch/rest/:id", + "path": "/ch/rest/", "exact": true, - "parentId": "312", + "parentId": "313", "id": "315" }, "316": { - "path": "/order", - "parentId": "1", + "path": "/ch/rest/:id", + "exact": true, + "parentId": "313", "id": "316" }, "317": { "path": "/order", - "parentId": "316", + "parentId": "1", "id": "317" }, "318": { - "path": "/order/:courseId/information", - "parentId": "316", + "path": "/order", + "parentId": "317", "id": "318" }, "319": { - "path": "/order/:courseId/pay", - "parentId": "316", + "path": "/order/:courseId/information", + "parentId": "317", "id": "319" }, "320": { - "path": "/order/:orderNum/result", - "parentId": "316", + "path": "/order/:courseId/pay", + "parentId": "317", "id": "320" }, "321": { - "path": "/messages", - "parentId": "1", + "path": "/order/:orderNum/result", + "parentId": "317", "id": "321" }, "322": { - "path": "/messages/:userId/user_tidings", - "parentId": "321", + "path": "/messages", + "parentId": "1", "id": "322" }, "323": { - "path": "/messages/:userId/private_messages", - "parentId": "321", + "path": "/messages/:userId/user_tidings", + "parentId": "322", "id": "323" }, "324": { - "path": "/messages/:userId/message_detail", - "parentId": "321", + "path": "/messages/:userId/private_messages", + "parentId": "322", "id": "324" }, "325": { - "path": "/vtrs", - "parentId": "1", + "path": "/messages/:userId/message_detail", + "parentId": "322", "id": "325" }, "326": { - "path": "/vtrs/:virtual_spacesId", - "parentId": "325", + "path": "/vtrs", + "parentId": "1", "id": "326" }, "327": { - "path": "/vtrs/:virtual_spacesId/experiment", + "path": "/vtrs/:virtual_spacesId", "parentId": "326", "id": "327" }, "328": { - "path": "/vtrs/:virtual_spacesId/announcement", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/experiment", + "parentId": "327", "id": "328" }, "329": { - "path": "/vtrs/:virtual_spacesId/announcement/add", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/announcement", + "parentId": "327", "id": "329" }, "330": { - "path": "/vtrs/:virtual_spacesId/announcement/:id/edit", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/announcement/add", + "parentId": "327", "id": "330" }, "331": { - "path": "/vtrs/:virtual_spacesId/announcement/:id/detail", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/announcement/:id/edit", + "parentId": "327", "id": "331" }, "332": { - "path": "/vtrs/:virtual_spacesId/survey", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/announcement/:id/detail", + "parentId": "327", "id": "332" }, "333": { - "path": "/vtrs/:virtual_spacesId/survey/:id/detail", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/survey", + "parentId": "327", "id": "333" }, "334": { - "path": "/vtrs/:virtual_spacesId/knowledge", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/survey/:id/detail", + "parentId": "327", "id": "334" }, "335": { - "path": "/vtrs/:virtual_spacesId/knowledge/add", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/knowledge", + "parentId": "327", "id": "335" }, "336": { - "path": "/vtrs/:virtual_spacesId/knowledge/:id/edit", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/knowledge/add", + "parentId": "327", "id": "336" }, "337": { - "path": "/vtrs/:virtual_spacesId/material", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/knowledge/:id/edit", + "parentId": "327", "id": "337" }, "338": { - "path": "/vtrs/:virtual_spacesId/material/:id/detail", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/material", + "parentId": "327", "id": "338" }, "339": { - "path": "/vtrs/:virtual_spacesId/settings", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/material/:id/detail", + "parentId": "327", "id": "339" }, "340": { - "path": "/vtrs/:virtual_spacesId/resources", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/settings", + "parentId": "327", "id": "340" }, "341": { - "path": "/vtrs/:virtual_spacesId/resources/:id/detail", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/resources", + "parentId": "327", "id": "341" }, "342": { - "path": "/vtrs/:virtual_spacesId/Plan", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/resources/:id/detail", + "parentId": "327", "id": "342" }, "343": { - "path": "/vtrs/:virtual_spacesId/plan/:id/detail", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/Plan", + "parentId": "327", "id": "343" }, "344": { - "path": "/vtrs/:virtual_spacesId/homepage", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/plan/:id/detail", + "parentId": "327", "id": "344" }, "345": { - "path": "/vtrs/:virtual_spacesId/*", - "parentId": "326", + "path": "/vtrs/:virtual_spacesId/homepage", + "parentId": "327", "id": "345" }, "346": { - "path": "/101", - "parentId": "1", + "path": "/vtrs/:virtual_spacesId/*", + "parentId": "327", "id": "346" }, "347": { - "path": "/101/:virtual_spacesId", - "parentId": "346", + "path": "/101", + "parentId": "1", "id": "347" }, "348": { - "path": "/101/:virtual_spacesId/experiment", + "path": "/101/:virtual_spacesId", "parentId": "347", "id": "348" }, "349": { - "path": "/101/:virtual_spacesId/announcement", - "parentId": "347", + "path": "/101/:virtual_spacesId/experiment", + "parentId": "348", "id": "349" }, "350": { - "path": "/101/:virtual_spacesId/announcement/add", - "parentId": "347", + "path": "/101/:virtual_spacesId/announcement", + "parentId": "348", "id": "350" }, "351": { - "path": "/101/:virtual_spacesId/announcement/:id/edit", - "parentId": "347", + "path": "/101/:virtual_spacesId/announcement/add", + "parentId": "348", "id": "351" }, "352": { - "path": "/101/:virtual_spacesId/announcement/:id/detail", - "parentId": "347", + "path": "/101/:virtual_spacesId/announcement/:id/edit", + "parentId": "348", "id": "352" }, "353": { - "path": "/101/:virtual_spacesId/survey", - "parentId": "347", + "path": "/101/:virtual_spacesId/announcement/:id/detail", + "parentId": "348", "id": "353" }, "354": { - "path": "/101/:virtual_spacesId/survey/:id/detail", - "parentId": "347", + "path": "/101/:virtual_spacesId/survey", + "parentId": "348", "id": "354" }, "355": { - "path": "/101/:virtual_spacesId/knowledge", - "parentId": "347", + "path": "/101/:virtual_spacesId/survey/:id/detail", + "parentId": "348", "id": "355" }, "356": { - "path": "/101/:virtual_spacesId/knowledge/add", - "parentId": "347", + "path": "/101/:virtual_spacesId/knowledge", + "parentId": "348", "id": "356" }, "357": { - "path": "/101/:virtual_spacesId/knowledge/:id/edit", - "parentId": "347", + "path": "/101/:virtual_spacesId/knowledge/add", + "parentId": "348", "id": "357" }, "358": { - "path": "/101/:virtual_spacesId/material", - "parentId": "347", + "path": "/101/:virtual_spacesId/knowledge/:id/edit", + "parentId": "348", "id": "358" }, "359": { - "path": "/101/:virtual_spacesId/material/:id/detail", - "parentId": "347", + "path": "/101/:virtual_spacesId/material", + "parentId": "348", "id": "359" }, "360": { - "path": "/101/:virtual_spacesId/settings", - "parentId": "347", + "path": "/101/:virtual_spacesId/material/:id/detail", + "parentId": "348", "id": "360" }, "361": { - "path": "/101/:virtual_spacesId/resources", - "parentId": "347", + "path": "/101/:virtual_spacesId/settings", + "parentId": "348", "id": "361" }, "362": { - "path": "/101/:virtual_spacesId/resources/:id/detail", - "parentId": "347", + "path": "/101/:virtual_spacesId/resources", + "parentId": "348", "id": "362" }, "363": { - "path": "/101/:virtual_spacesId/Plan", - "parentId": "347", + "path": "/101/:virtual_spacesId/resources/:id/detail", + "parentId": "348", "id": "363" }, "364": { - "path": "/101/:virtual_spacesId/plan/:id/detail", - "parentId": "347", + "path": "/101/:virtual_spacesId/Plan", + "parentId": "348", "id": "364" }, "365": { - "path": "/101/:virtual_spacesId/homepage", - "parentId": "347", + "path": "/101/:virtual_spacesId/plan/:id/detail", + "parentId": "348", "id": "365" }, "366": { - "path": "/101/:virtual_spacesId/*", - "parentId": "347", + "path": "/101/:virtual_spacesId/homepage", + "parentId": "348", "id": "366" }, "367": { - "path": "/educoder-demo", - "exact": true, - "parentId": "1", + "path": "/101/:virtual_spacesId/*", + "parentId": "348", "id": "367" }, "368": { - "path": "/training", + "path": "/educoder-demo", + "exact": true, "parentId": "1", "id": "368" }, "369": { - "name": "精培课程", "path": "/training", - "parentId": "368", + "parentId": "1", "id": "369" }, "370": { - "path": "/otherlogin", - "exact": true, - "parentId": "1", + "name": "精培课程", + "path": "/training", + "parentId": "369", "id": "370" }, "371": { - "path": "/otherloginqq", + "path": "/otherlogin", "exact": true, "parentId": "1", "id": "371" }, "372": { - "path": "/otherloginstart", + "path": "/otherloginqq", "exact": true, "parentId": "1", "id": "372" }, "373": { - "path": "/login", + "path": "/otherloginstart", + "exact": true, "parentId": "1", "id": "373" }, "374": { "path": "/login", - "parentId": "373", + "parentId": "1", "id": "374" }, "375": { - "path": "/user", - "parentId": "1", + "path": "/login", + "parentId": "374", "id": "375" }, "376": { - "path": "/user/login", - "parentId": "375", + "path": "/user", + "parentId": "1", "id": "376" }, "377": { - "path": "/user/register", - "parentId": "375", + "path": "/user/login", + "parentId": "376", "id": "377" }, "378": { - "path": "/user/reset-password", - "parentId": "375", + "path": "/user/register", + "parentId": "376", "id": "378" }, "379": { - "path": "/colleges", - "parentId": "1", + "path": "/user/reset-password", + "parentId": "376", "id": "379" }, "380": { - "path": "/colleges/:id/statistics", - "parentId": "379", + "path": "/colleges", + "parentId": "1", "id": "380" }, "381": { - "path": "/help", - "parentId": "1", + "path": "/colleges/:id/statistics", + "parentId": "380", "id": "381" }, "382": { - "path": "/help/:id", - "parentId": "381", + "path": "/help", + "parentId": "1", "id": "382" }, "383": { - "path": "/video", - "parentId": "1", + "path": "/help/:id", + "parentId": "382", "id": "383" }, "384": { - "path": "/video/:videoId", - "parentId": "383", + "path": "/video", + "parentId": "1", "id": "384" }, "385": { - "path": "/terminal", - "parentId": "1", + "path": "/video/:videoId", + "parentId": "384", "id": "385" }, "386": { - "path": "/report/:taskId/:game_report_id", + "path": "/terminal", "parentId": "1", "id": "386" }, "387": { - "path": "/", + "path": "/report/:taskId/:game_report_id", "parentId": "1", "id": "387" }, "388": { "path": "/", - "exact": true, - "parentId": "387", + "parentId": "1", "id": "388" }, "389": { - "path": "/api/*", + "path": "/", "exact": true, - "parentId": "387", + "parentId": "388", "id": "389" }, "390": { - "path": "/search", + "path": "/api/*", "exact": true, - "parentId": "387", + "parentId": "388", "id": "390" }, "391": { - "path": "/moop_cases", + "path": "/search", "exact": true, - "parentId": "387", + "parentId": "388", "id": "391" }, "392": { - "path": "/moop_cases/new", + "path": "/moop_cases", "exact": true, - "parentId": "387", + "parentId": "388", "id": "392" }, "393": { - "path": "/moop_cases/:caseId", + "path": "/moop_cases/new", "exact": true, - "parentId": "387", + "parentId": "388", "id": "393" }, "394": { - "path": "/moop_cases/:caseId/edit", + "path": "/moop_cases/:caseId", "exact": true, - "parentId": "387", + "parentId": "388", "id": "394" }, "395": { - "path": "/moop_cases/:caseId/publish-success", + "path": "/moop_cases/:caseId/edit", "exact": true, - "parentId": "387", + "parentId": "388", "id": "395" }, "396": { - "path": "/randompaper", + "path": "/moop_cases/:caseId/publish-success", "exact": true, - "parentId": "387", + "parentId": "388", "id": "396" }, "397": { - "path": "/randompaper/edit/:id", + "path": "/randompaper", "exact": true, - "parentId": "387", + "parentId": "388", "id": "397" }, "398": { - "path": "/randompaper/detail/:id", + "path": "/randompaper/edit/:id", "exact": true, - "parentId": "387", + "parentId": "388", "id": "398" }, "399": { - "path": "/403", - "parentId": "387", + "path": "/randompaper/detail/:id", + "exact": true, + "parentId": "388", "id": "399" }, "400": { - "path": "/500", - "parentId": "387", + "path": "/403", + "parentId": "388", "id": "400" }, "401": { - "path": "/404", - "parentId": "387", + "path": "/500", + "parentId": "388", "id": "401" }, "402": { - "path": "/iwce", - "parentId": "387", + "path": "/404", + "parentId": "388", "id": "402" }, "403": { - "path": "/Activities", - "parentId": "387", + "path": "/iwce", + "parentId": "388", "id": "403" }, "404": { - "path": "/iwce/:itemname", - "parentId": "387", + "path": "/Activities", + "parentId": "388", "id": "404" }, "405": { - "path": "/hpc-course", - "parentId": "387", + "path": "/iwce/:itemname", + "parentId": "388", "id": "405" }, "406": { - "path": "/user_agents", - "parentId": "387", + "path": "/hpc-course", + "parentId": "388", "id": "406" }, "407": { - "path": "/three", - "parentId": "387", + "path": "/user_agents", + "parentId": "388", "id": "407" }, "408": { - "path": "/introduction", - "parentId": "387", + "path": "/three", + "parentId": "388", "id": "408" }, "409": { - "path": "/chatgpt", - "parentId": "387", + "path": "/introduction", + "parentId": "388", "id": "409" }, "410": { - "path": "/*", - "parentId": "387", + "path": "/chatgpt", + "parentId": "388", "id": "410" }, + "411": { + "path": "/*", + "parentId": "388", + "id": "411" + }, "@@/global-layout": { "id": "@@/global-layout", "path": "/", @@ -124320,7 +123906,7 @@ function _getRoutes() { return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); }), '2': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __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(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(36579), __webpack_require__.e(79256), __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)); @@ -124332,25 +123918,25 @@ function _getRoutes() { return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(4977), __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(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(36579), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(60696), __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(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(48764), __webpack_require__.e(80599), __webpack_require__.e(87939), __webpack_require__.e(36579), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(60696), __webpack_require__.e(79086), __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(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(69561), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '8': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__ExchangeFromProblemSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(11545)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExchangeFromProblemSet/index.tsx */ 40945)); + return Promise.all(/*! import() | p__Paperlibrary__Random__ExchangeFromProblemSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(69561), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(11545)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExchangeFromProblemSet/index.tsx */ 40945)); }), '9': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '10': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paths__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(20085), __webpack_require__.e(42241), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(86052)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Index/index.tsx */ 18117)); + return Promise.all(/*! import() | p__Paths__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(20085), __webpack_require__.e(20812), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(86052)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Index/index.tsx */ 18117)); }), '11': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Paths__HigherVocationalEducation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(66813), __webpack_require__.e(4977), __webpack_require__.e(5572)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/HigherVocationalEducation/index.tsx */ 21923)); }), '12': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paths__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(93562), __webpack_require__.e(84169), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(28982)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/New/index.tsx */ 81353)); + return Promise.all(/*! import() | p__Paths__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(93562), __webpack_require__.e(8280), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(28982)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/New/index.tsx */ 81353)); }), '13': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Guidance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(50869)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Guidance/index.tsx */ 62744)); @@ -124362,13 +123948,13 @@ function _getRoutes() { return Promise.all(/*! import() | p__Paths__Detail__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(47501), __webpack_require__.e(4977), __webpack_require__.e(34601)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Detail/Statistics/index.tsx */ 41046)); }), '16': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paths__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(93562), __webpack_require__.e(84169), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(28982)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/New/index.tsx */ 81353)); + return Promise.all(/*! import() | p__Paths__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(93562), __webpack_require__.e(8280), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(28982)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/New/index.tsx */ 81353)); }), '17': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '18': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(88201), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(26685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Index/index.tsx */ 22635)); + return Promise.all(/*! import() | p__Classrooms__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(56885), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(26685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Index/index.tsx */ 22635)); }), '19': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__ExamList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(4977), __webpack_require__.e(79921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/ExamList/index.tsx */ 19721)); @@ -124377,19 +123963,19 @@ function _getRoutes() { return __webpack_require__.e(/*! import() | p__Classrooms__ClassicCases__index */ 31674).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/ClassicCases/index.tsx */ 74094)); }), '21': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(88201), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(26685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Index/index.tsx */ 22635)); + return Promise.all(/*! import() | p__Classrooms__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(56885), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(26685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Index/index.tsx */ 22635)); }), '22': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(89540), __webpack_require__.e(12325), __webpack_require__.e(1702)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/index.tsx */ 50100)); + return Promise.all(/*! import() | p__Classrooms__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(31949), __webpack_require__.e(12325), __webpack_require__.e(1702)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/index.tsx */ 50100)); }), '23': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(89540), __webpack_require__.e(12325), __webpack_require__.e(1702)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/index.tsx */ 50100)); + return Promise.all(/*! import() | p__Classrooms__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(31949), __webpack_require__.e(12325), __webpack_require__.e(1702)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/index.tsx */ 50100)); }), '24': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__New__StartClass__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(89540), __webpack_require__.e(12325), __webpack_require__.e(96882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/StartClass/index.tsx */ 48553)); + return Promise.all(/*! import() | p__Classrooms__New__StartClass__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(31949), __webpack_require__.e(12325), __webpack_require__.e(96882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/StartClass/index.tsx */ 48553)); }), '25': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__New__StartClass__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(89540), __webpack_require__.e(12325), __webpack_require__.e(96882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/StartClass/index.tsx */ 48553)); + return Promise.all(/*! import() | p__Classrooms__New__StartClass__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(31949), __webpack_require__.e(12325), __webpack_require__.e(96882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/New/StartClass/index.tsx */ 48553)); }), '26': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(90109)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/CodeReview/Detail/index.tsx */ 36991)); @@ -124404,7 +123990,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(80807), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(38448), __webpack_require__.e(13581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/index.tsx */ 61294)); }), '30': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Comment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50976), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(13615), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(30342)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Comment/index.tsx */ 51517)); + return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Comment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50976), __webpack_require__.e(48764), __webpack_require__.e(80599), __webpack_require__.e(87939), __webpack_require__.e(13615), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(30342)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Comment/index.tsx */ 51517)); }), '31': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(65814), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(71450)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Commitsummary/index.tsx */ 47765)); @@ -124416,1138 +124002,1141 @@ function _getRoutes() { return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(70335), __webpack_require__.e(44851), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(93668)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Detail/index.tsx */ 59212)); }), '34': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(70335), __webpack_require__.e(60608), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41297), __webpack_require__.e(52338)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Review/index.tsx */ 51330)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(70335), __webpack_require__.e(37807), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41297), __webpack_require__.e(52338)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Review/index.tsx */ 51330)); }), '35': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(70335), __webpack_require__.e(37807), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41297), __webpack_require__.e(14662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Review/index.tsx */ 38117)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(70335), __webpack_require__.e(36183), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41297), __webpack_require__.e(14662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Review/index.tsx */ 38117)); }), '36': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__SubmitWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(17400), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(28072)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/SubmitWork/index.tsx */ 31303)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__SubmitWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(77093), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(28072)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/SubmitWork/index.tsx */ 31303)); }), '37': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__EditWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(11417), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(60479)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/EditWork/index.tsx */ 54524)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__EditWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(29111), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(60479)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/EditWork/index.tsx */ 54524)); }), '38': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __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(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(55806), __webpack_require__.e(66012), __webpack_require__.e(99160), __webpack_require__.e(42977), __webpack_require__.e(39437), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __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 */ 8344)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(55806), __webpack_require__.e(66012), __webpack_require__.e(99160), __webpack_require__.e(42977), __webpack_require__.e(39437), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __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)); }), '40': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(69561), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '41': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(24192), __webpack_require__.e(79361), __webpack_require__.e(47824), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(14105)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Answer/index.tsx */ 84926)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ImitateAnswer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(24192), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(14889)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.tsx */ 87746)); }), '42': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ImitateAnswer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(24192), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(14889)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.tsx */ 87746)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(24192), __webpack_require__.e(79361), __webpack_require__.e(61193), __webpack_require__.e(69491), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(14105)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Answer/index.tsx */ 97343)); }), '43': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__ExerciseEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(51370), __webpack_require__.e(36579), __webpack_require__.e(7713), __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__Classrooms__Lists__Exercise__Notice__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(30589), __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__PreviewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __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__ExerciseEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(51370), __webpack_require__.e(36579), __webpack_require__.e(7713), __webpack_require__.e(70368), __webpack_require__.e(7918)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExerciseEdit/index.tsx */ 19368)); }), '45': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 55105)); + return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20139), __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(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 55105)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 22292)); }), '47': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ReviewGroup__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(24192), __webpack_require__.e(12059), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(45992)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ReviewGroup/index.tsx */ 28927)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(78617), __webpack_require__.e(66012), __webpack_require__.e(98007), __webpack_require__.e(26057), __webpack_require__.e(8691), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 22292)); }), '48': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(29730), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78085)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Review/index.tsx */ 48634)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ReviewGroup__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(24192), __webpack_require__.e(12059), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(45992)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ReviewGroup/index.tsx */ 28927)); }), '49': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(29730), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78085)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Review/index.tsx */ 48634)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(48764), __webpack_require__.e(80599), __webpack_require__.e(87939), __webpack_require__.e(29730), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78085)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Review/index.tsx */ 48634)); }), '50': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(88994), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(48431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Export/index.tsx */ 45437)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(48764), __webpack_require__.e(80599), __webpack_require__.e(87939), __webpack_require__.e(29730), __webpack_require__.e(8691), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78085)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Review/index.tsx */ 48634)); }), '51': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(88994), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(48431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Export/index.tsx */ 45437)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(48764), __webpack_require__.e(80599), __webpack_require__.e(87939), __webpack_require__.e(88994), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(48431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Export/index.tsx */ 45437)); }), '52': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__DetailedAnalysis__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(95125)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/DetailedAnalysis/index.tsx */ 35951)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(48764), __webpack_require__.e(80599), __webpack_require__.e(87939), __webpack_require__.e(88994), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(48431)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Export/index.tsx */ 45437)); }), '53': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__DetailedAnalysis__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(95125)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/DetailedAnalysis/index.tsx */ 35951)); }), '54': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__CodeDetails__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(9497), __webpack_require__.e(8691), __webpack_require__.e(10921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/CodeDetails/index.tsx */ 66022)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__DetailedAnalysis__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(95125)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/DetailedAnalysis/index.tsx */ 35951)); }), '55': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__CodeDetails__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(9497), __webpack_require__.e(8691), __webpack_require__.e(10921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/CodeDetails/index.tsx */ 66022)); }), '56': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21578)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Detail/index.tsx */ 37525)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__CodeDetails__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(9497), __webpack_require__.e(8691), __webpack_require__.e(10921)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/CodeDetails/index.tsx */ 66022)); }), '57': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(33210), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Add/index.tsx */ 40199)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21578)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Detail/index.tsx */ 37525)); }), '58': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(15973), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Edit/index.tsx */ 3055)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(33210), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Add/index.tsx */ 40199)); }), '59': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(45886), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74795)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Add/index.tsx */ 69185)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(15973), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12325), __webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/Edit/index.tsx */ 3055)); }), '60': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(45061), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20026)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Edit/index.tsx */ 57095)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(45886), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74795)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Add/index.tsx */ 69185)); }), '61': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(68882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Detail/index.tsx */ 55711)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(45061), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(20026)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Edit/index.tsx */ 57095)); }), '62': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(69245), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(85888)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Add/index.tsx */ 1553)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(68882)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/Detail/index.tsx */ 55711)); }), '63': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(68661), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(19715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Edit/index.tsx */ 13763)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(60887), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(85888)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Add/index.tsx */ 1553)); }), '64': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__SubmitWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(97141), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(57045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/SubmitWork/index.tsx */ 10373)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(77248), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(19715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/Edit/index.tsx */ 13763)); }), '65': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__EditWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(99491), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(31211)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/EditWork/index.tsx */ 64280)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__SubmitWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(97141), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(57045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/SubmitWork/index.tsx */ 10373)); }), '66': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(29848), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(51582)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Add/index.tsx */ 84326)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__EditWork__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(99491), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(31211)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/EditWork/index.tsx */ 64280)); }), '67': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(1264), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(16729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Edit/index.tsx */ 20671)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(95369), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(51582)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Add/index.tsx */ 84326)); }), '68': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(23316), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52546), __webpack_require__.e(39695)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Add/index.tsx */ 96272)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(16346), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(56369), __webpack_require__.e(16729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Edit/index.tsx */ 20671)); }), '69': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(23316), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52546), __webpack_require__.e(28723)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Edit/index.tsx */ 52546)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(8930), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52546), __webpack_require__.e(39695)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Add/index.tsx */ 96272)); }), '70': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(23805), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(12034), __webpack_require__.e(17622)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Detail/index.tsx */ 91405)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(8930), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52546), __webpack_require__.e(28723)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Edit/index.tsx */ 52546)); }), '71': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(24192), __webpack_require__.e(63183), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(65148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Answer/index.tsx */ 15461)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(23805), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(12034), __webpack_require__.e(17622)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Detail/index.tsx */ 91405)); }), '72': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Board__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50745), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(43442)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Add/index.tsx */ 71239)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(24192), __webpack_require__.e(52137), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(65148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/Answer/index.tsx */ 15461)); }), '73': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Board__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(32640), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12102)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Edit/index.tsx */ 45497)); + return Promise.all(/*! import() | p__Classrooms__Lists__Board__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(17942), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(43442)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Add/index.tsx */ 71239)); }), '74': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Board__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(99848), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(82425)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Detail/index.tsx */ 57639)); + return Promise.all(/*! import() | p__Classrooms__Lists__Board__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(40722), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(12102)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Edit/index.tsx */ 45497)); }), '75': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Template__teacher__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42573), __webpack_require__.e(29353), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52404)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/teacher/index.tsx */ 43519)); + return Promise.all(/*! import() | p__Classrooms__Lists__Board__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12819), __webpack_require__.e(74515), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(82425)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/Detail/index.tsx */ 57639)); }), '76': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Template__student__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42573), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(89785)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/student/index.tsx */ 92068)); + return Promise.all(/*! import() | p__Classrooms__Lists__Template__teacher__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42573), __webpack_require__.e(67068), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(52404)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/teacher/index.tsx */ 43519)); }), '77': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Guidance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(50869)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Guidance/index.tsx */ 62744)); + return Promise.all(/*! import() | p__Classrooms__Lists__Template__student__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42573), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(89785)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/student/index.tsx */ 92068)); }), '78': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Template__detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(80599), __webpack_require__.e(34472), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(2819)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/detail/index.tsx */ 29791)); + return Promise.all(/*! import() | p__Guidance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(50869)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Guidance/index.tsx */ 62744)); }), '79': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__AnswerCheck__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(48764), __webpack_require__.e(79361), __webpack_require__.e(94220), __webpack_require__.e(46859), __webpack_require__.e(11512)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/AnswerCheck/index.tsx */ 14976)); + return Promise.all(/*! import() | p__Classrooms__Lists__Template__detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(80599), __webpack_require__.e(34472), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(2819)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/detail/index.tsx */ 29791)); }), '80': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(27395)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentDetail/index.tsx */ 41142)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__AnswerCheck__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(55806), __webpack_require__.e(48764), __webpack_require__.e(40542), __webpack_require__.e(79361), __webpack_require__.e(94220), __webpack_require__.e(46859), __webpack_require__.e(11512)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/AnswerCheck/index.tsx */ 14976)); }), '81': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentSituation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(69085), __webpack_require__.e(3585)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentSituation/index.tsx */ 68956)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(27395)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentDetail/index.tsx */ 41142)); }), '82': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72693), __webpack_require__.e(4977), __webpack_require__.e(46963)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/Detail/index.tsx */ 73852)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentSituation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(69085), __webpack_require__.e(3585)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentSituation/index.tsx */ 68956)); }), '83': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72693), __webpack_require__.e(4977), __webpack_require__.e(46963)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/Detail/index.tsx */ 73852)); }), '84': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(69561), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '85': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Ranking__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(12034), __webpack_require__.e(87954), __webpack_require__.e(6127)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Ranking/index.tsx */ 807)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(69561), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '86': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(80807), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(38448), __webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/index.tsx */ 25317)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Ranking__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(12034), __webpack_require__.e(87954), __webpack_require__.e(6127)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Ranking/index.tsx */ 807)); }), '87': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(12034), __webpack_require__.e(87954), __webpack_require__.e(41048)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/Ranking/index.tsx */ 85373)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(80807), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(38448), __webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/index.tsx */ 25317)); }), '88': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Comment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(80599), __webpack_require__.e(48764), __webpack_require__.e(87939), __webpack_require__.e(54447), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(12884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Comment/index.tsx */ 13458)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(12034), __webpack_require__.e(87954), __webpack_require__.e(41048)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/Ranking/index.tsx */ 85373)); }), '89': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(72465), __webpack_require__.e(24058), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(54770)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/index.tsx */ 98739)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Comment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(48764), __webpack_require__.e(80599), __webpack_require__.e(87939), __webpack_require__.e(54447), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(12884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Comment/index.tsx */ 13458)); }), '90': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87388), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(92603)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Add/index.tsx */ 20721)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(72465), __webpack_require__.e(24058), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(54770)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/index.tsx */ 98739)); }), '91': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(95946), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(44216)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Edit/index.tsx */ 77869)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87388), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(92603)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Add/index.tsx */ 20721)); }), '92': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(92785), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(15319)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Detail/index.tsx */ 23462)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(95946), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(44216)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Edit/index.tsx */ 77869)); }), '93': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__ShixunDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(66012), __webpack_require__.e(27703), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93282)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/ShixunDetail/index.tsx */ 1313)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(92785), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __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() | p__Classrooms__Lists__ShixunHomeworks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(20549), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(60696), __webpack_require__.e(66550), __webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/index.tsx */ 51198)); + return Promise.all(/*! import() | layouts__ShixunDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(66012), __webpack_require__.e(27703), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __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(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(20549), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(60696), __webpack_require__.e(66550), __webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/index.tsx */ 51198)); }), '96': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(64057), __webpack_require__.e(92023), __webpack_require__.e(4977), __webpack_require__.e(85048)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/index.tsx */ 27725)); + return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(20549), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(60696), __webpack_require__.e(66550), __webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/index.tsx */ 51198)); }), '97': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(97278), __webpack_require__.e(62654), __webpack_require__.e(75004), __webpack_require__.e(4977), __webpack_require__.e(61043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/index.tsx */ 27031)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(64057), __webpack_require__.e(38057), __webpack_require__.e(4977), __webpack_require__.e(85048)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Topics/index.tsx */ 27725)); }), '98': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(97278), __webpack_require__.e(62654), __webpack_require__.e(75004), __webpack_require__.e(4977), __webpack_require__.e(61043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/index.tsx */ 27031)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(97278), __webpack_require__.e(46981), __webpack_require__.e(16484), __webpack_require__.e(4977), __webpack_require__.e(61043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/index.tsx */ 27031)); }), '99': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(55806), __webpack_require__.e(42102), __webpack_require__.e(65911), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(37110), __webpack_require__.e(45825)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/index.tsx */ 34690)); + return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(97278), __webpack_require__.e(46981), __webpack_require__.e(16484), __webpack_require__.e(4977), __webpack_require__.e(61043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Graduation/Tasks/index.tsx */ 27031)); }), '100': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(55806), __webpack_require__.e(42102), __webpack_require__.e(65911), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(37110), __webpack_require__.e(45825)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/index.tsx */ 34690)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(55806), __webpack_require__.e(42102), __webpack_require__.e(61193), __webpack_require__.e(65911), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(37110), __webpack_require__.e(45825)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/index.tsx */ 34690)); }), '101': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(23805), __webpack_require__.e(31958), __webpack_require__.e(4977), __webpack_require__.e(13355)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/index.tsx */ 64355)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(55806), __webpack_require__.e(42102), __webpack_require__.e(61193), __webpack_require__.e(65911), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(37110), __webpack_require__.e(45825)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/index.tsx */ 34690)); }), '102': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(23805), __webpack_require__.e(31958), __webpack_require__.e(4977), __webpack_require__.e(13355)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/index.tsx */ 64355)); }), '103': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(49890)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/index.tsx */ 97380)); + return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(23805), __webpack_require__.e(31958), __webpack_require__.e(4977), __webpack_require__.e(13355)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Polls/index.tsx */ 64355)); }), '104': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(49890)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/index.tsx */ 97380)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(49890)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/index.tsx */ 97380)); }), '105': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(83935)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/index.tsx */ 46978)); + return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(47015), __webpack_require__.e(49890)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CommonHomework/index.tsx */ 97380)); }), '106': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(83935)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/index.tsx */ 46978)); }), '107': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Teachers__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(2282), __webpack_require__.e(23607), __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)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(15395), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(83935)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/index.tsx */ 46978)); }), '108': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Students__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(2282), __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__Teachers__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(2282), __webpack_require__.e(23607), __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__Assistant__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(2282), __webpack_require__.e(12034), __webpack_require__.e(33356)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Assistant/index.tsx */ 3453)); + return Promise.all(/*! import() | p__Classrooms__Lists__Students__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(2282), __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)); }), '110': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(3395), __webpack_require__.e(4977), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/index.tsx */ 94693)); + return Promise.all(/*! import() | p__Classrooms__Lists__Assistant__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(2282), __webpack_require__.e(12034), __webpack_require__.e(33356)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Assistant/index.tsx */ 3453)); }), '111': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(3395), __webpack_require__.e(4977), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/index.tsx */ 94693)); }), '112': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72693), __webpack_require__.e(31962)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/index.tsx */ 67325)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(53362), __webpack_require__.e(3502), __webpack_require__.e(4390), __webpack_require__.e(3395), __webpack_require__.e(4977), __webpack_require__.e(38448), __webpack_require__.e(66550), __webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/index.tsx */ 94693)); }), '113': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(48764), __webpack_require__.e(93562), __webpack_require__.e(24972), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(28435)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/index.tsx */ 83522)); + return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72693), __webpack_require__.e(31962)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/index.tsx */ 67325)); }), '114': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(48764), __webpack_require__.e(93562), __webpack_require__.e(24972), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(28435)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/index.tsx */ 83522)); + return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(48764), __webpack_require__.e(93562), __webpack_require__.e(83520), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(28435)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/index.tsx */ 83522)); }), '115': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(79361), __webpack_require__.e(4977), __webpack_require__.e(34093)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/Detail/index.tsx */ 58297)); + return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(48764), __webpack_require__.e(93562), __webpack_require__.e(83520), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(28435)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/index.tsx */ 83522)); }), '116': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(68922), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Announcement/index.tsx */ 91671)); + return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(79361), __webpack_require__.e(4977), __webpack_require__.e(34093)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attendance/Detail/index.tsx */ 58297)); }), '117': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(68922), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Announcement/index.tsx */ 91671)); }), '118': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(69548), __webpack_require__.e(66012), __webpack_require__.e(52424), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(68827)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/OnlineLearning/index.tsx */ 14665)); + return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(68922), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Announcement/index.tsx */ 91671)); }), '119': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(69548), __webpack_require__.e(66012), __webpack_require__.e(52424), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(68827)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/OnlineLearning/index.tsx */ 14665)); }), '120': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(62654), __webpack_require__.e(33172), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(6758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attachment/index.tsx */ 40915)); + return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(69548), __webpack_require__.e(66012), __webpack_require__.e(52424), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(68827)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/OnlineLearning/index.tsx */ 14665)); }), '121': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(62654), __webpack_require__.e(33172), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(6758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attachment/index.tsx */ 40915)); + return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(46981), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(6758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attachment/index.tsx */ 40915)); }), '122': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(75463), __webpack_require__.e(39332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/index.tsx */ 25127)); + return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(42102), __webpack_require__.e(46981), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(6758)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Attachment/index.tsx */ 40915)); }), '123': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(75463), __webpack_require__.e(39332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/index.tsx */ 25127)); }), '124': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(64217)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/index.tsx */ 69687)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(75463), __webpack_require__.e(39332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/index.tsx */ 25127)); }), '125': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(19428), __webpack_require__.e(73220)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Upload/index.tsx */ 13321)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(64217)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/index.tsx */ 69687)); }), '126': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(60533)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/Detail/index.tsx */ 88276)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(19428), __webpack_require__.e(73220)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Upload/index.tsx */ 13321)); }), '127': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(47054), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(67878)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/LiveVideo/index.tsx */ 75089)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(60533)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/Detail/index.tsx */ 88276)); }), '128': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(47054), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(67878)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/LiveVideo/index.tsx */ 75089)); }), '129': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__StudentDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(69944)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/StudentDetail/index.tsx */ 2438)); + return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(47054), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(67878)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/LiveVideo/index.tsx */ 75089)); }), '130': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(42102), __webpack_require__.e(95112), __webpack_require__.e(4977), __webpack_require__.e(18302)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/index.tsx */ 1284)); + return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__StudentDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(69944)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Video/Statistics/StudentDetail/index.tsx */ 2438)); }), '131': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(42102), __webpack_require__.e(95112), __webpack_require__.e(4977), __webpack_require__.e(18302)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/index.tsx */ 1284)); + return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(42102), __webpack_require__.e(12819), __webpack_require__.e(21104), __webpack_require__.e(4977), __webpack_require__.e(18302)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/index.tsx */ 1284)); }), '132': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(87075), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(38634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/List/index.tsx */ 30440)); + return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(42102), __webpack_require__.e(12819), __webpack_require__.e(21104), __webpack_require__.e(4977), __webpack_require__.e(18302)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Board/index.tsx */ 1284)); }), '133': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(87075), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(38634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/List/index.tsx */ 30440)); }), '134': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(4977), __webpack_require__.e(87922)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/Detail/index.tsx */ 33344)); + return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(97278), __webpack_require__.e(93562), __webpack_require__.e(87075), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(38634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/List/index.tsx */ 30440)); }), '135': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(93562), __webpack_require__.e(35449), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(61727)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/NotList/index.tsx */ 63919)); + return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(4977), __webpack_require__.e(87922)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/Detail/index.tsx */ 33344)); }), '136': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(93562), __webpack_require__.e(35449), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(61727)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/NotList/index.tsx */ 63919)); }), '137': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(66422), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(31427)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/index.tsx */ 5809)); + return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(93562), __webpack_require__.e(35449), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(61727)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/CourseGroup/NotList/index.tsx */ 63919)); }), '138': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(66422), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(31427)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/index.tsx */ 5809)); }), '139': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__VideoStatistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(33399), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(48689)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/VideoStatistics/index.tsx */ 83307)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(66422), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(31427)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/index.tsx */ 5809)); }), '140': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StatisticsQuality__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(50976), __webpack_require__.e(17806)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StatisticsQuality/index.tsx */ 87579)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__VideoStatistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(97278), __webpack_require__.e(50976), __webpack_require__.e(33399), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(48689)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/VideoStatistics/index.tsx */ 83307)); }), '141': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(98885)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/index.tsx */ 4719)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StatisticsQuality__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(50976), __webpack_require__.e(17806)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StatisticsQuality/index.tsx */ 87579)); }), '142': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(3451)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/Detail/index.tsx */ 75288)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(98885)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/index.tsx */ 4719)); }), '143': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(33399), __webpack_require__.e(4977), __webpack_require__.e(69922)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentVideo/index.tsx */ 18709)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(3451)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/Detail/index.tsx */ 75288)); }), '144': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ExportList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(12034), __webpack_require__.e(54572)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ExportList/index.tsx */ 34509)); + return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentVideo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(33399), __webpack_require__.e(4977), __webpack_require__.e(69922)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Statistics/StudentVideo/index.tsx */ 18709)); }), '145': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Classrooms__Lists__PlaceholderPage__index */ 64017).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/PlaceholderPage/index.tsx */ 96235)); + return Promise.all(/*! import() | p__Classrooms__Lists__ExportList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(12034), __webpack_require__.e(54572)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ExportList/index.tsx */ 34509)); }), '146': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Template__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(34510), __webpack_require__.e(4977), __webpack_require__.e(15148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/index.tsx */ 65123)); + return __webpack_require__.e(/*! import() | p__Classrooms__Lists__PlaceholderPage__index */ 64017).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/PlaceholderPage/index.tsx */ 96235)); }), '147': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Classrooms__Lists__Template__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(34510), __webpack_require__.e(4977), __webpack_require__.e(15148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Template/index.tsx */ 65123)); }), '148': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(88551), __webpack_require__.e(87545), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '149': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(88551), __webpack_require__.e(87545), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); + return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(84685), __webpack_require__.e(12030), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); }), '150': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Exports__index */[__webpack_require__.e(80599), __webpack_require__.e(44449)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Exports/index.tsx */ 11268)); + return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(84685), __webpack_require__.e(12030), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); }), '151': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(88551), __webpack_require__.e(87545), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); + return Promise.all(/*! import() | p__Competitions__Exports__index */[__webpack_require__.e(80599), __webpack_require__.e(44449)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Exports/index.tsx */ 11268)); }), '152': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(40542), __webpack_require__.e(64398), __webpack_require__.e(20085), __webpack_require__.e(60578), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55693), __webpack_require__.e(72570)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Detail/index.tsx */ 84541)); + return Promise.all(/*! import() | p__Competitions__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(84685), __webpack_require__.e(12030), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(12034), __webpack_require__.e(30707), __webpack_require__.e(26883)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Index/index.tsx */ 92272)); }), '153': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(40542), __webpack_require__.e(64398), __webpack_require__.e(20085), __webpack_require__.e(60578), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55693), __webpack_require__.e(72570)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Detail/index.tsx */ 84541)); + return Promise.all(/*! import() | p__Competitions__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(48764), __webpack_require__.e(40542), __webpack_require__.e(64398), __webpack_require__.e(87939), __webpack_require__.e(20085), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55693), __webpack_require__.e(72570)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Detail/index.tsx */ 11940)); }), '154': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Entered__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(84567), __webpack_require__.e(30707), __webpack_require__.e(8787)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/index.tsx */ 14997)); + return Promise.all(/*! import() | p__Competitions__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(78617), __webpack_require__.e(48764), __webpack_require__.e(40542), __webpack_require__.e(64398), __webpack_require__.e(87939), __webpack_require__.e(20085), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55693), __webpack_require__.e(72570)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Detail/index.tsx */ 11940)); }), '155': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Update__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67851), __webpack_require__.e(45650)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Update/index.tsx */ 88306)); + return Promise.all(/*! import() | p__Competitions__Entered__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(84567), __webpack_require__.e(30707), __webpack_require__.e(8787)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/index.tsx */ 14997)); }), '156': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Entered__Assembly__TeamDateil */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(36483), __webpack_require__.e(81799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/Assembly/TeamDateil.tsx */ 26491)); + return Promise.all(/*! import() | p__Competitions__Update__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67851), __webpack_require__.e(45650)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Update/index.tsx */ 88306)); }), '157': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Competitions__Entered__Assembly__TeamDateil */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(36483), __webpack_require__.e(81799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/Assembly/TeamDateil.tsx */ 26491)); }), '158': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Forums__Index__redirect */ 28639).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Index/redirect.tsx */ 81577)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '159': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Forums__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(97073), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92983)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Index/index.tsx */ 25113)); + return __webpack_require__.e(/*! import() | p__Forums__Index__redirect */ 28639).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Index/redirect.tsx */ 81577)); }), '160': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Forums__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88975), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/New/index.tsx */ 40266)); + return Promise.all(/*! import() | p__Forums__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(97073), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92983)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Index/index.tsx */ 25113)); }), '161': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Forums__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88975), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/New/index.tsx */ 40266)); }), '162': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Forums__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(51326), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(80508)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Detail/[id].tsx */ 49190)); + return Promise.all(/*! import() | p__Forums__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88975), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(74264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/New/index.tsx */ 40266)); }), '163': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Forums__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(51326), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(80508)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Forums/Detail/[id].tsx */ 49190)); }), '164': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '165': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(98007), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 177)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(69561), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '166': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(98007), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 177)); }), '167': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__Preview__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(66012), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/index.tsx */ 99953)); + return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(78617), __webpack_require__.e(98007), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 177)); }), '168': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__Preview__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(78617), __webpack_require__.e(64144)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/New/index.tsx */ 16915)); + return Promise.all(/*! import() | p__Problemset__Preview__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(66012), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/index.tsx */ 99953)); }), '169': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(27078), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); + return Promise.all(/*! import() | p__Problemset__Preview__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(51370), __webpack_require__.e(78617), __webpack_require__.e(64144)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/New/index.tsx */ 16915)); }), '170': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(69561), __webpack_require__.e(22842), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(12034), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 31283)); }), '171': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(5506), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(28782)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Index/index.tsx */ 30258)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '172': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Exports__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(80599), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(7884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Exports/index.tsx */ 25601)); + return Promise.all(/*! import() | p__Shixuns__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(5506), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(28782)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Index/index.tsx */ 30258)); }), '173': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(25619), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(36723), __webpack_require__.e(97008)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/index.tsx */ 19088)); + return Promise.all(/*! import() | p__Shixuns__Exports__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(80599), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(7884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Exports/index.tsx */ 25601)); }), '174': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__New__CreateImg__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(55806), __webpack_require__.e(65549)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/CreateImg/index.tsx */ 74734)); + return Promise.all(/*! import() | p__Shixuns__New__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(67921), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(36723), __webpack_require__.e(97008)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/index.tsx */ 19088)); }), '175': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__New__ImagePreview__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(39430), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(99674)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/ImagePreview/index.tsx */ 29285)); + return Promise.all(/*! import() | p__Shixuns__New__CreateImg__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(55806), __webpack_require__.e(65549)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/CreateImg/index.tsx */ 74734)); }), '176': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Merge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(69771), __webpack_require__.e(4977), __webpack_require__.e(55573)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Merge/index.tsx */ 39753)); + return Promise.all(/*! import() | p__Shixuns__New__ImagePreview__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(39430), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(99674)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/New/ImagePreview/index.tsx */ 29285)); }), '177': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(66012), __webpack_require__.e(10226), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(18710), __webpack_require__.e(35643), __webpack_require__.e(56277)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/index.tsx */ 66518)); + return Promise.all(/*! import() | p__Shixuns__Detail__Merge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(29254), __webpack_require__.e(4977), __webpack_require__.e(55573)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Merge/index.tsx */ 39753)); }), '178': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Warehouse__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(27277), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(18710), __webpack_require__.e(16328)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Warehouse/index.tsx */ 18710)); + return Promise.all(/*! import() | p__Shixuns__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(66012), __webpack_require__.e(10226), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(18710), __webpack_require__.e(35643), __webpack_require__.e(56277)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/index.tsx */ 66518)); }), '179': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(77857)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewQuestion/index.tsx */ 75966)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Warehouse__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(27277), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(18710), __webpack_require__.e(16328)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Warehouse/index.tsx */ 18710)); }), '180': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(16804), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41657)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx */ 13856)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(77857)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewQuestion/index.tsx */ 75966)); }), '181': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(16804), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41657)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx */ 13856)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(49971), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41657)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx */ 13856)); }), '182': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(47391), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(94498)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.tsx */ 77218)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(34180), __webpack_require__.e(49971), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(41657)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion/index.tsx */ 13856)); }), '183': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(47391), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(94498)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.tsx */ 77218)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(78895), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(94498)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.tsx */ 77218)); }), '184': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(40542), __webpack_require__.e(34180), __webpack_require__.e(27318), __webpack_require__.e(99608), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(49205)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeSetting/index.tsx */ 97976)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(78895), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(94498)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice/index.tsx */ 77218)); }), '185': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21423)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeAnswer/index.tsx */ 36599)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(40542), __webpack_require__.e(34180), __webpack_require__.e(27318), __webpack_require__.e(4434), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(49205)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeSetting/index.tsx */ 97976)); }), '186': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(34180), __webpack_require__.e(57614)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/RankingSetting/index.tsx */ 14317)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(34180), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(21423)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeAnswer/index.tsx */ 36599)); }), '187': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(78617), __webpack_require__.e(26444), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(52875)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/[id].tsx */ 20142)); + return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(34180), __webpack_require__.e(71896), __webpack_require__.e(57614)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Edit/body/Level/Challenges/RankingSetting/index.tsx */ 14317)); }), '188': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(50976), __webpack_require__.e(55806), __webpack_require__.e(53362), __webpack_require__.e(89777), __webpack_require__.e(26621), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(59133)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Challenges/index.tsx */ 61282)); + return Promise.all(/*! import() | p__Shixuns__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(78617), __webpack_require__.e(26444), __webpack_require__.e(3482), __webpack_require__.e(60696), __webpack_require__.e(52875)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/[id].tsx */ 20142)); }), '189': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); + return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(50976), __webpack_require__.e(55806), __webpack_require__.e(53362), __webpack_require__.e(89777), __webpack_require__.e(26621), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(59133)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Challenges/index.tsx */ 61282)); }), '190': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); }), '191': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Collaborators__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(77566), __webpack_require__.e(54285), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(93601), __webpack_require__.e(35643), __webpack_require__.e(25470)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Collaborators/index.tsx */ 83390)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); }), '192': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Dataset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(50976), __webpack_require__.e(40542), __webpack_require__.e(89777), __webpack_require__.e(23916), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(86541)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Dataset/index.tsx */ 97938)); + return Promise.all(/*! import() | p__Shixuns__Detail__Collaborators__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(77566), __webpack_require__.e(54285), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(93601), __webpack_require__.e(35643), __webpack_require__.e(25470)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Collaborators/index.tsx */ 83390)); }), '193': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Discuss__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4656), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(32925), __webpack_require__.e(22254)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Discuss/index.tsx */ 69638)); + return Promise.all(/*! import() | p__Shixuns__Detail__Dataset__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(50976), __webpack_require__.e(40542), __webpack_require__.e(89777), __webpack_require__.e(23916), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(86541)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Dataset/index.tsx */ 97938)); }), '194': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__RankingList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(6685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/RankingList/index.tsx */ 97513)); + return Promise.all(/*! import() | p__Shixuns__Detail__Discuss__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4656), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(32925), __webpack_require__.e(22254)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Discuss/index.tsx */ 69638)); }), '195': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(25619), __webpack_require__.e(59289), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(16845)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Settings/index.tsx */ 90418)); + return Promise.all(/*! import() | p__Shixuns__Detail__RankingList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(6685)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/RankingList/index.tsx */ 97513)); }), '196': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/Commit/index.tsx */ 92041)); + return Promise.all(/*! import() | p__Shixuns__Detail__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(97278), __webpack_require__.e(67921), __webpack_require__.e(89106), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(16845)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Settings/index.tsx */ 90418)); }), '197': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/Commit/index.tsx */ 92041)); }), '198': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(81148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/UploadFile/index.tsx */ 91802)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/Commit/index.tsx */ 92041)); }), '199': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(81148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/UploadFile/index.tsx */ 91802)); }), '200': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(43915), __webpack_require__.e(97046)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/AddFile/index.tsx */ 95479)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(81148)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/UploadFile/index.tsx */ 91802)); }), '201': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(43915), __webpack_require__.e(97046)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/AddFile/index.tsx */ 95479)); }), '202': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(43915), __webpack_require__.e(97046)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/AddFile/index.tsx */ 95479)); }), '203': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); }), '204': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__AuditSituation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4967), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(45096)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/AuditSituation/index.tsx */ 97367)); + return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(28119), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(98688)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/Repository/index.tsx */ 23074)); }), '205': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Shixuns__Detail__ForkList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(19215)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/ForkList/index.tsx */ 69422)); + return Promise.all(/*! import() | p__Shixuns__Detail__AuditSituation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4967), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(93601), __webpack_require__.e(45096)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/AuditSituation/index.tsx */ 97367)); }), '206': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Shixuns__Detail__ForkList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(19215)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Shixuns/Detail/ForkList/index.tsx */ 69422)); }), '207': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Videos__Protocol__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(95176)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Protocol/index.tsx */ 50360)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '208': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Videos__Success__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(19891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Success/index.tsx */ 33218)); + return Promise.all(/*! import() | p__User__Detail__Videos__Protocol__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(95176)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Protocol/index.tsx */ 50360)); }), '209': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topicbank__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(11004), __webpack_require__.e(4977), __webpack_require__.e(98062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topicbank/index.tsx */ 1858)); + return Promise.all(/*! import() | p__User__Detail__Videos__Success__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(19891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Success/index.tsx */ 33218)); }), '210': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(93291), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(15402)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Detail/index.tsx */ 71683)); + return Promise.all(/*! import() | p__User__Detail__Topicbank__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(53267), __webpack_require__.e(4977), __webpack_require__.e(98062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topicbank/index.tsx */ 1858)); }), '211': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(93291), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(15402)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Detail/index.tsx */ 71683)); }), '212': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Normal__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(94512), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(86820)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Normal/index.tsx */ 28282)); + return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(93291), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(15402)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Detail/index.tsx */ 71683)); }), '213': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Group__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88092), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(88517)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Group/index.tsx */ 6247)); + return Promise.all(/*! import() | p__User__Detail__Topics__Normal__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(88092), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(86820)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Normal/index.tsx */ 28282)); }), '214': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(16758), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Exercise/Edit/index.tsx */ 69744)); + return Promise.all(/*! import() | p__User__Detail__Topics__Group__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(6812), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(88517)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Group/index.tsx */ 6247)); }), '215': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(64547), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(52806)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Exercise/Detail/index.tsx */ 40216)); + return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(31418), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Exercise/Edit/index.tsx */ 69744)); }), '216': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(41880), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(75043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Poll/Edit/index.tsx */ 37286)); + return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(3633), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(52806)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Exercise/Detail/index.tsx */ 40216)); }), '217': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(36040), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(10799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Poll/Detail/index.tsx */ 81711)); + return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(75014), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(75043)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Poll/Edit/index.tsx */ 37286)); }), '218': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(72529)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/[id].tsx */ 79296)); + return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(72465), __webpack_require__.e(71514), __webpack_require__.e(14506), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(10799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/Poll/Detail/index.tsx */ 81711)); }), '219': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(66582), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(66583)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Classrooms/index.tsx */ 74303)); + return Promise.all(/*! import() | p__User__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(72529)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/[id].tsx */ 79296)); }), '220': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(66582), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(66583)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Classrooms/index.tsx */ 74303)); + return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(66582), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(66583)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Classrooms/index.tsx */ 74303)); }), '221': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Shixuns__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(43778), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18307)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Shixuns/index.tsx */ 48358)); + return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(66582), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(66583)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Classrooms/index.tsx */ 74303)); }), '222': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__UserPortrait__index */[__webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/UserPortrait/index.tsx */ 51819)); + return Promise.all(/*! import() | p__User__Detail__Shixuns__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(43778), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18307)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Shixuns/index.tsx */ 48358)); }), '223': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__LearningPath__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(3482), __webpack_require__.e(14610)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/LearningPath/index.tsx */ 62891)); + return Promise.all(/*! import() | p__User__Detail__UserPortrait__index */[__webpack_require__.e(50976), __webpack_require__.e(89777), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/UserPortrait/index.tsx */ 51819)); }), '224': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__TeachGroup__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(77566), __webpack_require__.e(80670), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(79590)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/TeachGroup/index.tsx */ 27217)); + return Promise.all(/*! import() | p__User__Detail__LearningPath__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(3482), __webpack_require__.e(14610)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/LearningPath/index.tsx */ 62891)); }), '225': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__ExperImentImg__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(75800), __webpack_require__.e(55806), __webpack_require__.e(40018), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(94849)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/index.tsx */ 73301)); + return Promise.all(/*! import() | p__User__Detail__TeachGroup__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(77566), __webpack_require__.e(80670), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(79590)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/TeachGroup/index.tsx */ 27217)); }), '226': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__ExperImentImg__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/Detail/index.tsx */ 90157)); + return Promise.all(/*! import() | p__User__Detail__ExperImentImg__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(75800), __webpack_require__.e(55806), __webpack_require__.e(40018), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(94849)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/index.tsx */ 73301)); }), '227': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Certificate__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(55806), __webpack_require__.e(80599), __webpack_require__.e(63543), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(8348), __webpack_require__.e(65191)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Certificate/index.tsx */ 22246)); + return Promise.all(/*! import() | p__User__Detail__ExperImentImg__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/ExperImentImg/Detail/index.tsx */ 90157)); }), '228': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__OtherResources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(48896), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(93496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/OtherResources/index.tsx */ 65571)); + return Promise.all(/*! import() | p__User__Detail__Certificate__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(55806), __webpack_require__.e(80599), __webpack_require__.e(63543), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(8348), __webpack_require__.e(65191)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Certificate/index.tsx */ 22246)); }), '229': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Paths__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(98991), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(94662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Paths/index.tsx */ 91805)); + return Promise.all(/*! import() | p__User__Detail__OtherResources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(48896), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(93496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/OtherResources/index.tsx */ 65571)); }), '230': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Projects__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(53440), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(4736)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Projects/index.tsx */ 2187)); + return Promise.all(/*! import() | p__User__Detail__Paths__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(98991), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(94662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Paths/index.tsx */ 91805)); }), '231': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Videos__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(71514), __webpack_require__.e(20959), __webpack_require__.e(22562), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(8423), __webpack_require__.e(75463), __webpack_require__.e(12412)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/index.tsx */ 85077)); + return Promise.all(/*! import() | p__User__Detail__Projects__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(53440), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(4736)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Projects/index.tsx */ 2187)); }), '232': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Videos__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(39146), __webpack_require__.e(42240)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Upload/index.tsx */ 13198)); + return Promise.all(/*! import() | p__User__Detail__Videos__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(71514), __webpack_require__.e(20959), __webpack_require__.e(22562), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(8423), __webpack_require__.e(75463), __webpack_require__.e(12412)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/index.tsx */ 85077)); }), '233': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Topics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(71514), __webpack_require__.e(11004), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(90265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/index.tsx */ 12569)); + return Promise.all(/*! import() | p__User__Detail__Videos__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(39146), __webpack_require__.e(42240)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Videos/Upload/index.tsx */ 13198)); }), '234': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__virtualSpaces__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(37099), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(97642), __webpack_require__.e(36723), __webpack_require__.e(19360)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/virtualSpaces/index.tsx */ 82862)); + return Promise.all(/*! import() | p__User__Detail__Topics__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(71514), __webpack_require__.e(53267), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(90265)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Topics/index.tsx */ 12569)); }), '235': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); + return Promise.all(/*! import() | p__User__Detail__virtualSpaces__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(37099), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(97642), __webpack_require__.e(36723), __webpack_require__.e(19360)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/virtualSpaces/index.tsx */ 82862)); }), '236': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); }), '237': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(20085), __webpack_require__.e(3446), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(29647)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/Index/index.tsx */ 83453)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '238': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__AddOrEdit__BatchAdd__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(10485)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/BatchAdd/index.tsx */ 78298)); + return Promise.all(/*! import() | p__Question__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(20085), __webpack_require__.e(3446), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(29647)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/Index/index.tsx */ 83453)); }), '239': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problems__OjForm__NewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(6968), __webpack_require__.e(35631), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/NewEdit/index.tsx */ 6981)); + return Promise.all(/*! import() | p__Question__AddOrEdit__BatchAdd__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(10485)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/BatchAdd/index.tsx */ 78298)); }), '240': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problems__OjForm__NewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(6968), __webpack_require__.e(35631), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/NewEdit/index.tsx */ 6981)); + return Promise.all(/*! import() | p__Problems__OjForm__NewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(6968), __webpack_require__.e(98718), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/NewEdit/index.tsx */ 6981)); }), '241': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problems__OjForm__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(27078), __webpack_require__.e(6968), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34994)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/index.tsx */ 74658)); + return Promise.all(/*! import() | p__Problems__OjForm__NewEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(6968), __webpack_require__.e(98718), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/NewEdit/index.tsx */ 6981)); }), '242': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Problems__OjForm__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(27078), __webpack_require__.e(6968), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34994)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/index.tsx */ 74658)); + return Promise.all(/*! import() | p__Problems__OjForm__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(69561), __webpack_require__.e(6968), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34994)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/index.tsx */ 74658)); }), '243': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__OjProblem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(75153), __webpack_require__.e(36433), __webpack_require__.e(13215), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(69060), __webpack_require__.e(77460)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/OjProblem/index.tsx */ 98968)); + return Promise.all(/*! import() | p__Problems__OjForm__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(78617), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(69561), __webpack_require__.e(6968), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(35574), __webpack_require__.e(34994)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problems/OjForm/index.tsx */ 74658)); }), '244': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__OjProblem__RecordDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(49716)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/OjProblem/RecordDetail/index.tsx */ 41721)); + return Promise.all(/*! import() | p__Question__OjProblem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(75153), __webpack_require__.e(36433), __webpack_require__.e(13215), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(69060), __webpack_require__.e(77460)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/OjProblem/index.tsx */ 98968)); }), '245': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(192), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(86913)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/index.tsx */ 16347)); + return Promise.all(/*! import() | p__Question__OjProblem__RecordDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(49716)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/OjProblem/RecordDetail/index.tsx */ 41721)); }), '246': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Question__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(192), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(86913)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/index.tsx */ 16347)); }), '247': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Question__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(40542), __webpack_require__.e(75153), __webpack_require__.e(27318), __webpack_require__.e(192), __webpack_require__.e(8691), __webpack_require__.e(35574), __webpack_require__.e(86913)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/index.tsx */ 16347)); }), '248': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(13006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/index.tsx */ 46305)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '249': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__TeacherList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(2082), __webpack_require__.e(92045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TeacherList/index.tsx */ 3369)); + return Promise.all(/*! import() | p__Engineering__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(13006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/index.tsx */ 46305)); }), '250': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__StudentList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(2082), __webpack_require__.e(11520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/StudentList/index.tsx */ 45721)); + return Promise.all(/*! import() | p__Engineering__Lists__TeacherList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(2082), __webpack_require__.e(92045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TeacherList/index.tsx */ 3369)); }), '251': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12034), __webpack_require__.e(59649)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/index.tsx */ 75200)); + return Promise.all(/*! import() | p__Engineering__Lists__StudentList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(2082), __webpack_require__.e(11520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/StudentList/index.tsx */ 45721)); }), '252': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(84546)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/Add/index.tsx */ 21785)); + return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12034), __webpack_require__.e(59649)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/index.tsx */ 75200)); }), '253': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(75357)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/Edit/index.tsx */ 63879)); + return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Add__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(84546)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/Add/index.tsx */ 21785)); }), '254': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__TrainingObjectives__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43025), __webpack_require__.e(12034), __webpack_require__.e(68665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingObjectives/index.tsx */ 64517)); + return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(75357)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingProgram/Edit/index.tsx */ 63879)); }), '255': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__GraduationIndex__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(68369), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(73183)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/GraduationIndex/index.tsx */ 45331)); + return Promise.all(/*! import() | p__Engineering__Lists__TrainingObjectives__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43025), __webpack_require__.e(12034), __webpack_require__.e(68665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/TrainingObjectives/index.tsx */ 64517)); }), '256': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__GraduatedMatrix__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(72465), __webpack_require__.e(34800)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/GraduatedMatrix/index.tsx */ 70309)); + return Promise.all(/*! import() | p__Engineering__Lists__GraduationIndex__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(68369), __webpack_require__.e(4977), __webpack_require__.e(12034), __webpack_require__.e(73183)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/GraduationIndex/index.tsx */ 45331)); }), '257': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__CourseList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(12034), __webpack_require__.e(79489)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CourseList/index.tsx */ 73816)); + return Promise.all(/*! import() | p__Engineering__Lists__GraduatedMatrix__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(72465), __webpack_require__.e(64742), __webpack_require__.e(34800)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/GraduatedMatrix/index.tsx */ 70309)); }), '258': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__CurseSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(94220), __webpack_require__.e(87234), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(39391)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CurseSetting/index.tsx */ 15613)); + return Promise.all(/*! import() | p__Engineering__Lists__CourseList__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(12034), __webpack_require__.e(79489)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CourseList/index.tsx */ 73816)); }), '259': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__CourseMatrix__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(95335)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CourseMatrix/index.tsx */ 99438)); + return Promise.all(/*! import() | p__Engineering__Lists__CurseSetting__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(94220), __webpack_require__.e(87234), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(39391)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CurseSetting/index.tsx */ 15613)); }), '260': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Navigation__Home__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(92823)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Navigation/Home/index.tsx */ 12653)); + return Promise.all(/*! import() | p__Engineering__Lists__CourseMatrix__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(95335)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/CourseMatrix/index.tsx */ 99438)); }), '261': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Evaluate__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(53362), __webpack_require__.e(4973)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Evaluate/List/index.tsx */ 35272)); + return Promise.all(/*! import() | p__Engineering__Navigation__Home__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(92823)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Navigation/Home/index.tsx */ 12653)); }), '262': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Evaluate__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(50976), __webpack_require__.e(66651)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Evaluate/Detail/index.tsx */ 14057)); + return Promise.all(/*! import() | p__Engineering__Evaluate__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(53362), __webpack_require__.e(4973)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Evaluate/List/index.tsx */ 35272)); }), '263': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Norm__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(26741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Norm/List/index.tsx */ 12758)); + return Promise.all(/*! import() | p__Engineering__Evaluate__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(50976), __webpack_require__.e(66651)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Evaluate/Detail/index.tsx */ 14057)); }), '264': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Engineering__Lists__Document__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12034), __webpack_require__.e(45775)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/Document/index.tsx */ 31659)); + return Promise.all(/*! import() | p__Engineering__Norm__List__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(26741)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Norm/List/index.tsx */ 12758)); }), '265': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Engineering__Norm__Detail__index */ 62548).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Norm/Detail/index.tsx */ 79222)); + return Promise.all(/*! import() | p__Engineering__Lists__Document__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8691), __webpack_require__.e(12034), __webpack_require__.e(45775)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Lists/Document/index.tsx */ 31659)); }), '266': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); + return __webpack_require__.e(/*! import() | p__Engineering__Norm__Detail__index */ 62548).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Engineering/Norm/Detail/index.tsx */ 79222)); }), '267': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); }), '268': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(61655), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(36723), __webpack_require__.e(34608)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Index/index.tsx */ 23468)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '269': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(26184), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(44510)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ 78816)); + return Promise.all(/*! import() | p__virtualSpaces__Index__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(61655), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(36723), __webpack_require__.e(34608)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Index/index.tsx */ 23468)); }), '270': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(26184), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(44510)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ 78816)); }), '271': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__AddOrEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(26184), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(44510)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ 78816)); }), '272': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(44666), __webpack_require__.e(4977), __webpack_require__.e(71218)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/index.tsx */ 95307)); + return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); }), '273': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(25896)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/Detail/index.tsx */ 30769)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(44666), __webpack_require__.e(4977), __webpack_require__.e(71218)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/index.tsx */ 95307)); }), '274': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Course__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(64398), __webpack_require__.e(72230), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(35588)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Course/index.tsx */ 78342)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(25896)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Syllabuses/Detail/index.tsx */ 30769)); }), '275': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Shixuns__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(56379), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(59267), __webpack_require__.e(91487)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Shixuns/index.tsx */ 87563)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Course__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(64398), __webpack_require__.e(78843), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(35588)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Course/index.tsx */ 78342)); }), '276': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(15109), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(4639)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Video/index.tsx */ 57418)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Shixuns__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(59295), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(59267), __webpack_require__.e(91487)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Shixuns/index.tsx */ 87563)); }), '277': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Video__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(19428), __webpack_require__.e(5348)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Video/Upload/index.tsx */ 97257)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Video__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(93562), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(20959), __webpack_require__.e(15109), __webpack_require__.e(4977), __webpack_require__.e(8423), __webpack_require__.e(54836), __webpack_require__.e(4639)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Video/index.tsx */ 57418)); }), '278': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Member__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(81425), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(43465)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Member/index.tsx */ 52606)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Video__Upload__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(19428), __webpack_require__.e(5348)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Video/Upload/index.tsx */ 97257)); }), '279': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Notices__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(17379), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(54472)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Notices/index.tsx */ 3968)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Member__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(81425), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(43465)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Member/index.tsx */ 52606)); }), '280': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Managements__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(8631), __webpack_require__.e(97642), __webpack_require__.e(13414)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Managements/index.tsx */ 11365)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Notices__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(17379), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(54472)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Notices/index.tsx */ 3968)); }), '281': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Graphs__index */ 29080).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Graphs/index.tsx */ 98776)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Managements__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(64339), __webpack_require__.e(97642), __webpack_require__.e(13414)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Managements/index.tsx */ 11365)); }), '282': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); + return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Graphs__index */ 29080).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Graphs/index.tsx */ 98776)); }), '283': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); }), '284': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(77566), __webpack_require__.e(2206), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(78806), __webpack_require__.e(70992), __webpack_require__.e(86634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Tasks/index.jsx */ 11198)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '285': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(20680)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/index.tsx */ 78148)); + return Promise.all(/*! import() | p__Innovation__Tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(77566), __webpack_require__.e(2206), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(78806), __webpack_require__.e(70992), __webpack_require__.e(86634)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Tasks/index.jsx */ 11198)); }), '286': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__PublicProject__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(33692), __webpack_require__.e(4977), __webpack_require__.e(26366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicProject/index.tsx */ 62218)); + return Promise.all(/*! import() | p__Innovation__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(20680)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/index.tsx */ 78148)); }), '287': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__PublicDataSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(86452)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicDataSet/index.tsx */ 11884)); + return Promise.all(/*! import() | p__Innovation__PublicProject__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(33692), __webpack_require__.e(4977), __webpack_require__.e(26366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicProject/index.tsx */ 62218)); }), '288': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__PublicMirror__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(11070)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicMirror/index.tsx */ 65142)); + return Promise.all(/*! import() | p__Innovation__PublicDataSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(86452)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicDataSet/index.tsx */ 11884)); }), '289': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__MyProject__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(46041), __webpack_require__.e(4977), __webpack_require__.e(67242)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyProject/index.tsx */ 18263)); + return Promise.all(/*! import() | p__Innovation__PublicMirror__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(11070)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/PublicMirror/index.tsx */ 65142)); }), '290': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__MyDataSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(22707)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyDataSet/index.tsx */ 98160)); + return Promise.all(/*! import() | p__Innovation__MyProject__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(46041), __webpack_require__.e(4977), __webpack_require__.e(67242)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyProject/index.tsx */ 18263)); }), '291': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__MyMirror__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(12865)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyMirror/index.tsx */ 72746)); + return Promise.all(/*! import() | p__Innovation__MyDataSet__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(22707)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyDataSet/index.tsx */ 98160)); }), '292': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(28338), __webpack_require__.e(36784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Edit/index.tsx */ 5480)); + return Promise.all(/*! import() | p__Innovation__MyMirror__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(28338), __webpack_require__.e(12865)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/MyMirror/index.tsx */ 72746)); }), '293': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Innovation__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(28338), __webpack_require__.e(36784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Edit/index.tsx */ 5480)); }), '294': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Innovation__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(77566), __webpack_require__.e(4900), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(70992), __webpack_require__.e(83141)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Detail/index.tsx */ 93175)); + return Promise.all(/*! import() | p__Innovation__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(28338), __webpack_require__.e(36784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Edit/index.tsx */ 5480)); }), '295': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); + return Promise.all(/*! import() | p__Innovation__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(53362), __webpack_require__.e(77566), __webpack_require__.e(4900), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(70992), __webpack_require__.e(83141)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Innovation/Detail/index.tsx */ 93175)); }), '296': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 24968)); + return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); }), '297': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(1988), __webpack_require__.e(32827), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 80133)); + return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 24968)); }), '298': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 24968)); + return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(1988), __webpack_require__.e(32827), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 80133)); }), '299': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(1988), __webpack_require__.e(32827), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 80133)); + return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 24968)); }), '300': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 24968)); + return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(1988), __webpack_require__.e(32827), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 80133)); }), '301': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); + return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(72465), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(31794), __webpack_require__.e(1988), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(78806), __webpack_require__.e(32925), __webpack_require__.e(73718), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 24968)); }), '302': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MyProblem__RecordDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(28510), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(17527)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MyProblem/RecordDetail/index.tsx */ 33010)); + return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); }), '303': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MyProblem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(36433), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(78806), __webpack_require__.e(69060), __webpack_require__.e(36270)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MyProblem/index.tsx */ 99971)); + return Promise.all(/*! import() | p__MyProblem__RecordDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(28510), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(17527)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MyProblem/RecordDetail/index.tsx */ 33010)); }), '304': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__MyProblem__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87261), __webpack_require__.e(55806), __webpack_require__.e(28510), __webpack_require__.e(75153), __webpack_require__.e(36433), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(78806), __webpack_require__.e(69060), __webpack_require__.e(36270)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MyProblem/index.tsx */ 99971)); }), '305': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__index */[__webpack_require__.e(67851), __webpack_require__.e(60547)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/index.tsx */ 34120)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '306': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__Profile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(44838), __webpack_require__.e(59788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Profile/index.tsx */ 91830)); + return Promise.all(/*! import() | p__Account__index */[__webpack_require__.e(67851), __webpack_require__.e(60547)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/index.tsx */ 34120)); }), '307': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__Profile__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(44838), __webpack_require__.e(20576)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Profile/Edit/index.tsx */ 28744)); + return Promise.all(/*! import() | p__Account__Profile__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(44838), __webpack_require__.e(59788)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Profile/index.tsx */ 91830)); }), '308': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__Certification__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(55693), __webpack_require__.e(87260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Certification/index.tsx */ 24464)); + return Promise.all(/*! import() | p__Account__Profile__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(44838), __webpack_require__.e(20576)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Profile/Edit/index.tsx */ 28744)); }), '309': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__Secure__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(64520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Secure/index.tsx */ 29051)); + return Promise.all(/*! import() | p__Account__Certification__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(67390), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(78617), __webpack_require__.e(46059), __webpack_require__.e(12325), __webpack_require__.e(55693), __webpack_require__.e(87260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Certification/index.tsx */ 24464)); }), '310': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Account__Binding__index */ 89076).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Binding/index.tsx */ 55291)); + return Promise.all(/*! import() | p__Account__Secure__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(64520)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Secure/index.tsx */ 29051)); }), '311': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Account__Results__index */[__webpack_require__.e(21649), __webpack_require__.e(1226), __webpack_require__.e(14514)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Results/index.tsx */ 55487)); + return __webpack_require__.e(/*! import() | p__Account__Binding__index */ 89076).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Binding/index.tsx */ 55291)); }), '312': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Account__Results__index */[__webpack_require__.e(21649), __webpack_require__.e(1226), __webpack_require__.e(14514)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Account/Results/index.tsx */ 55487)); }), '313': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__RestFul__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(79779), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(70928)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/Edit/index.tsx */ 37513)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '314': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__RestFul__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(93562), __webpack_require__.e(43295), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(31006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/index.tsx */ 23632)); + return Promise.all(/*! import() | p__RestFul__Edit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(79779), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(70928)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/Edit/index.tsx */ 37513)); }), '315': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__RestFul__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(93562), __webpack_require__.e(43295), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(31006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/index.tsx */ 23632)); }), '316': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__RestFul__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(93562), __webpack_require__.e(43295), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(31006)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/RestFul/index.tsx */ 23632)); }), '317': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Order__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(21939)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/index.tsx */ 21101)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '318': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__User__Detail__Order__pages__orderInformation__index */ 85111).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/orderInformation/index.tsx */ 76638)); + return Promise.all(/*! import() | p__User__Detail__Order__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(64057), __webpack_require__.e(72465), __webpack_require__.e(21939)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/index.tsx */ 21101)); }), '319': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Order__pages__orderPay__index */[__webpack_require__.e(79361), __webpack_require__.e(30264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/orderPay/index.tsx */ 97244)); + return __webpack_require__.e(/*! import() | p__User__Detail__Order__pages__orderInformation__index */ 85111).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/orderInformation/index.tsx */ 76638)); }), '320': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Order__pages__result__index */[__webpack_require__.e(53114), __webpack_require__.e(44259)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/result/index.tsx */ 51972)); + return Promise.all(/*! import() | p__User__Detail__Order__pages__orderPay__index */[__webpack_require__.e(79361), __webpack_require__.e(30264)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/orderPay/index.tsx */ 97244)); }), '321': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__User__Detail__Order__pages__result__index */[__webpack_require__.e(53114), __webpack_require__.e(44259)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/result/index.tsx */ 51972)); }), '322': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Messages__Tidings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(64057), __webpack_require__.e(94078)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Tidings/index.tsx */ 20315)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '323': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Messages__Private__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(11525), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(52829)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Private/index.tsx */ 22845)); + return Promise.all(/*! import() | p__Messages__Tidings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(64057), __webpack_require__.e(94078)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Tidings/index.tsx */ 20315)); }), '324': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Messages__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(8774), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(45359)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Detail/index.tsx */ 82949)); + return Promise.all(/*! import() | p__Messages__Private__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(11525), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(52829)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Private/index.tsx */ 22845)); }), '325': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Messages__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(8774), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(45359)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Messages/Detail/index.tsx */ 82949)); }), '326': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '327': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(56379), __webpack_require__.e(28020), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); + return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); }), '328': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(32415), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(59295), __webpack_require__.e(28020), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); }), '329': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(32415), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); }), '330': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '331': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(89626), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 22619)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '332': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(47638), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(24504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/index.tsx */ 57041)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(89626), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 22619)); }), '333': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(79713), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 95888)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(47638), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(24504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/index.tsx */ 57041)); }), '334': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(52182), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 47447)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(79713), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 95888)); }), '335': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(52182), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 47447)); }), '336': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); }), '337': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87561), __webpack_require__.e(49666), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(35238)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/index.tsx */ 64909)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); }), '338': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87561), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(94715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/Detail/index.tsx */ 56035)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87561), __webpack_require__.e(49666), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(35238)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/index.tsx */ 64909)); }), '339': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(49960), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(61713)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Settings/index.tsx */ 32826)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87561), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(94715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/Detail/index.tsx */ 56035)); }), '340': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(794), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(85891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/index.tsx */ 2306)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(49960), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(61713)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Settings/index.tsx */ 32826)); }), '341': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(58269), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(98398)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/Detail/index.tsx */ 7285)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(794), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(85891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/index.tsx */ 2306)); }), '342': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(99532), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18241)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/index.tsx */ 4262)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(58269), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(98398)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/Detail/index.tsx */ 7285)); }), '343': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(95870), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 70190)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(99532), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18241)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/index.tsx */ 4262)); }), '344': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80747), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(95870), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 70190)); }), '345': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80747), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); }), '346': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); }), '347': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '348': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(56379), __webpack_require__.e(28020), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); + return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(82375), __webpack_require__.e(59013), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(66012), __webpack_require__.e(25578), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); }), '349': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(32415), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(87261), __webpack_require__.e(59295), __webpack_require__.e(28020), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(85343), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); }), '350': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(32415), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); }), '351': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '352': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(89626), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 22619)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(12614), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '353': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(47638), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(24504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/index.tsx */ 57041)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(89626), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 22619)); }), '354': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(79713), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 95888)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(47638), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(24504)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/index.tsx */ 57041)); }), '355': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(52182), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 47447)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(79713), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 95888)); }), '356': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(52182), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 47447)); }), '357': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); }), '358': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87561), __webpack_require__.e(49666), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(35238)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/index.tsx */ 64909)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(15026), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); }), '359': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87561), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(94715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/Detail/index.tsx */ 56035)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(87561), __webpack_require__.e(49666), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(85343), __webpack_require__.e(35238)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/index.tsx */ 64909)); }), '360': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(49960), __webpack_require__.e(4977), __webpack_require__.e(55351), __webpack_require__.e(85343), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(61713)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Settings/index.tsx */ 32826)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Material__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(87561), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(94715)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Material/Detail/index.tsx */ 56035)); }), '361': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(794), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(85891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/index.tsx */ 2306)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Settings__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(49960), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(61713)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Settings/index.tsx */ 32826)); }), '362': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(58269), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(98398)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/Detail/index.tsx */ 7285)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(75800), __webpack_require__.e(15428), __webpack_require__.e(794), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(85891)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/index.tsx */ 2306)); }), '363': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(99532), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18241)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/index.tsx */ 4262)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Resources__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(58269), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(98398)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Resources/Detail/index.tsx */ 7285)); }), '364': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(95870), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 70190)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(99532), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(18241)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/index.tsx */ 4262)); }), '365': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80747), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(95870), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(85343), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 70190)); }), '366': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(80747), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(85343), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); }), '367': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Demo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(14058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Demo/index.tsx */ 64161)); + return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); }), '368': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Demo__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(72465), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(14058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Demo/index.tsx */ 64161)); }), '369': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__IntrainCourse__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(20085), __webpack_require__.e(14628), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(54056)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/IntrainCourse/index.tsx */ 33654)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '370': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__OtherLogin__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(65294)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/OtherLogin/index.tsx */ 7304)); + return Promise.all(/*! import() | p__IntrainCourse__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(20085), __webpack_require__.e(80280), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(54056)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/IntrainCourse/index.tsx */ 33654)); }), '371': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__User__QQLogin__index */ 1660).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/QQLogin/index.tsx */ 97944)); + return Promise.all(/*! import() | p__User__OtherLogin__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(61437), __webpack_require__.e(53270), __webpack_require__.e(65294)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/OtherLogin/index.tsx */ 7304)); }), '372': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__User__WechatLogin__index */ 27333).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/WechatLogin/index.tsx */ 128)); + return __webpack_require__.e(/*! import() | p__User__QQLogin__index */ 1660).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/QQLogin/index.tsx */ 97944)); }), '373': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__user__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38385), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(25972)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/user/index.tsx */ 59885)); + return __webpack_require__.e(/*! import() | p__User__WechatLogin__index */ 27333).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/WechatLogin/index.tsx */ 128)); }), '374': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Login__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8083), __webpack_require__.e(49366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Login/index.tsx */ 55942)); + return Promise.all(/*! import() | layouts__LoginAndRegister__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(75786)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/LoginAndRegister/index.tsx */ 34306)); }), '375': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__user__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38385), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(25972)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/user/index.tsx */ 59885)); + return Promise.all(/*! import() | p__User__Login__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(16827), __webpack_require__.e(49366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Login/index.tsx */ 34907)); }), '376': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Login__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(8083), __webpack_require__.e(49366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Login/index.tsx */ 55942)); + return Promise.all(/*! import() | layouts__LoginAndRegister__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(75786)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/LoginAndRegister/index.tsx */ 34306)); }), '377': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Register__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(91470)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Register/index.tsx */ 47407)); + return Promise.all(/*! import() | p__User__Login__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(16827), __webpack_require__.e(49366)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Login/index.tsx */ 34907)); }), '378': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__ResetPassword__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(27182)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/ResetPassword/index.tsx */ 95987)); + return Promise.all(/*! import() | p__User__Register__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(61437), __webpack_require__.e(53270), __webpack_require__.e(91470)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Register/index.tsx */ 48028)); }), '379': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__User__ResetPassword__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(59013), __webpack_require__.e(2246), __webpack_require__.e(27182)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/ResetPassword/index.tsx */ 63100)); }), '380': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Colleges__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(50976), __webpack_require__.e(4977), __webpack_require__.e(12476)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Colleges/index.tsx */ 94490)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '381': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Colleges__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(50976), __webpack_require__.e(4977), __webpack_require__.e(12476)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Colleges/index.tsx */ 94490)); }), '382': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Help__Index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(34131), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(35729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Help/Index.tsx */ 68996)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '383': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return Promise.all(/*! import() | p__Help__Index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(34131), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(35729)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Help/Index.tsx */ 68996)); }), '384': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Video__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(27084), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(8423), __webpack_require__.e(96444)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Video/Detail/[id].tsx */ 9893)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '385': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Terminal__index */[__webpack_require__.e(21649), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(73718), __webpack_require__.e(65111)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Terminal/index.tsx */ 52510)); + return Promise.all(/*! import() | p__Video__Detail__id */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(69548), __webpack_require__.e(99160), __webpack_require__.e(96967), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(8423), __webpack_require__.e(96444)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Video/Detail/[id].tsx */ 9893)); }), '386': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Report__index */ 22307).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Report/index.tsx */ 6584)); + return Promise.all(/*! import() | p__Terminal__index */[__webpack_require__.e(21649), __webpack_require__.e(1226), __webpack_require__.e(99836), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(73718), __webpack_require__.e(65111)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Terminal/index.tsx */ 52510)); }), '387': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(54051), __webpack_require__.e(39602), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); + return __webpack_require__.e(/*! import() | p__Report__index */ 22307).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Report/index.tsx */ 6584)); }), '388': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(20085), __webpack_require__.e(20959), __webpack_require__.e(94220), __webpack_require__.e(66813), __webpack_require__.e(88551), __webpack_require__.e(95971), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(8423), __webpack_require__.e(88866)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/index.tsx */ 60145)); + return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(20085), __webpack_require__.e(43525), __webpack_require__.e(54051), __webpack_require__.e(76563), __webpack_require__.e(8691), __webpack_require__.e(4977), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '389': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__Api__index */ 62300).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Api/index.tsx */ 56541)); + return Promise.all(/*! import() | p__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67631), __webpack_require__.e(99836), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(99160), __webpack_require__.e(20085), __webpack_require__.e(20959), __webpack_require__.e(94220), __webpack_require__.e(43525), __webpack_require__.e(66813), __webpack_require__.e(84685), __webpack_require__.e(36204), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(88866)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/index.tsx */ 60145)); }), '390': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Search__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(58240), __webpack_require__.e(92501)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Search/index.tsx */ 60269)); + return __webpack_require__.e(/*! import() | p__Api__index */ 62300).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Api/index.tsx */ 56541)); }), '391': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MoopCases__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(83212)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/index.tsx */ 56514)); + return Promise.all(/*! import() | p__Search__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(42268), __webpack_require__.e(92501)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Search/index.tsx */ 60269)); }), '392': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MoopCases__FormPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(63695), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(76904)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/FormPanel/index.tsx */ 93592)); + return Promise.all(/*! import() | p__MoopCases__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(83212)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/index.tsx */ 56514)); }), '393': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MoopCases__InfoPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(51855)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/InfoPanel/index.tsx */ 66867)); + return Promise.all(/*! import() | p__MoopCases__FormPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(3065), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(76904)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/FormPanel/index.tsx */ 93592)); }), '394': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__MoopCases__FormPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(63695), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(76904)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/FormPanel/index.tsx */ 93592)); + return Promise.all(/*! import() | p__MoopCases__InfoPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(51855)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/InfoPanel/index.tsx */ 66867)); }), '395': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__MoopCases__Success__index */ 51276).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/Success/index.tsx */ 10968)); + return Promise.all(/*! import() | p__MoopCases__FormPanel__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(3065), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(76904)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/FormPanel/index.tsx */ 93592)); }), '396': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(7713), __webpack_require__.e(45818), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __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 __webpack_require__.e(/*! import() | p__MoopCases__Success__index */ 51276).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/Success/index.tsx */ 10968)); }), '397': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(7713), __webpack_require__.e(45818), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __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__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(7713), __webpack_require__.e(62629), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __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)); }), '398': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(36579), __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__AddAndEdit__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(38603), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(42977), __webpack_require__.e(7713), __webpack_require__.e(62629), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __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)); }), '399': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__HttpStatus__403 */ 43862).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/403.tsx */ 34247)); + return Promise.all(/*! import() | p__Paperlibrary__Random__Detail__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(51370), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(64398), __webpack_require__.e(36579), __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)); }), '400': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__HttpStatus__500 */ 44565).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/500.tsx */ 51601)); + return __webpack_require__.e(/*! import() | p__HttpStatus__403 */ 43862).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/403.tsx */ 34247)); }), '401': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__HttpStatus__404 */ 66531).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/404.tsx */ 70876)); + return __webpack_require__.e(/*! import() | p__HttpStatus__500 */ 44565).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/500.tsx */ 51601)); }), '402': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(7303), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 94736)); + return __webpack_require__.e(/*! import() | p__HttpStatus__404 */ 66531).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/404.tsx */ 70876)); }), '403': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__HttpStatus__SixActivities */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(24192), __webpack_require__.e(54051), __webpack_require__.e(3509)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/SixActivities.tsx */ 65226)); + return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(25619), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 94736)); }), '404': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(7303), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 94736)); + return Promise.all(/*! import() | p__HttpStatus__SixActivities */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(24192), __webpack_require__.e(54051), __webpack_require__.e(3509)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/SixActivities.tsx */ 65226)); }), '405': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(7303), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 94736)); + return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(25619), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 94736)); }), '406': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__HttpStatus__UserAgents */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(66034)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/UserAgents.tsx */ 86441)); + return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(25619), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(64496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/HpcCourse.tsx */ 94736)); }), '407': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Three__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(20390), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Three/index.tsx */ 2868)); + return Promise.all(/*! import() | p__HttpStatus__UserAgents */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(64057), __webpack_require__.e(66034)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/UserAgents.tsx */ 86441)); }), '408': /*#__PURE__*/react.lazy(function () { - return __webpack_require__.e(/*! import() | p__HttpStatus__introduction */ 53910).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/introduction.tsx */ 16249)); + return Promise.all(/*! import() | p__Three__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(59013), __webpack_require__.e(38603), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(51370), __webpack_require__.e(99836), __webpack_require__.e(15428), __webpack_require__.e(43915), __webpack_require__.e(40477), __webpack_require__.e(20390), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(67570), __webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Three/index.tsx */ 2868)); }), '409': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Message__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(42255), __webpack_require__.e(30067)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Message/index.tsx */ 49929)); + return __webpack_require__.e(/*! import() | p__HttpStatus__introduction */ 53910).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/introduction.tsx */ 16249)); }), '410': /*#__PURE__*/react.lazy(function () { + return Promise.all(/*! import() | p__Message__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(42255), __webpack_require__.e(30067)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Message/index.tsx */ 49929)); + }), + '411': /*#__PURE__*/react.lazy(function () { return __webpack_require__.e(/*! import() | p__HttpStatus__404 */ 66531).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/HttpStatus/404.tsx */ 70876)); }), '@@/global-layout': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | layouts__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(8083), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(41717)]).then(__webpack_require__.bind(__webpack_require__, /*! ./src/layouts/index.tsx */ 58310)); + return Promise.all(/*! import() | layouts__index */[__webpack_require__.e(21649), __webpack_require__.e(81263), __webpack_require__.e(1226), __webpack_require__.e(73453), __webpack_require__.e(65491), __webpack_require__.e(8571), __webpack_require__.e(82375), __webpack_require__.e(66516), __webpack_require__.e(18562), __webpack_require__.e(59013), __webpack_require__.e(64057), __webpack_require__.e(67390), __webpack_require__.e(33479), __webpack_require__.e(75800), __webpack_require__.e(72465), __webpack_require__.e(43525), __webpack_require__.e(16827), __webpack_require__.e(4977), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(66728), __webpack_require__.e(92026), __webpack_require__.e(41717)]).then(__webpack_require__.bind(__webpack_require__, /*! ./src/layouts/index.tsx */ 58310)); }) } });