diff --git a/11594.9bd63dd5.async.js b/11594.9bd63dd5.async.js new file mode 100644 index 0000000000..e61ae6d432 --- /dev/null +++ b/11594.9bd63dd5.async.js @@ -0,0 +1,2450 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[11594],{ + +/***/ 81877: +/*!******************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/lib/asn/ArrowLeftOutlined.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + + +// This icon file is generated automatically. +Object.defineProperty(exports, "__esModule", ({ value: true })); +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" }; +exports["default"] = ArrowLeftOutlined; + + +/***/ }), + +/***/ 9091: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/lib/asn/ArrowRightOutlined.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + + +// This icon file is generated automatically. +Object.defineProperty(exports, "__esModule", ({ value: true })); +var ArrowRightOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z" } }] }, "name": "arrow-right", "theme": "outlined" }; +exports["default"] = ArrowRightOutlined; + + +/***/ }), + +/***/ 83047: +/*!**************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/ArrowLeftOutlined.js ***! + \**************************************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +const _ArrowLeftOutlined = _interopRequireDefault(__webpack_require__(/*! ./lib/icons/ArrowLeftOutlined */ 85508)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +const _default = _ArrowLeftOutlined; +exports["default"] = _default; +module.exports = _default; + +/***/ }), + +/***/ 24115: +/*!***************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/ArrowRightOutlined.js ***! + \***************************************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +const _ArrowRightOutlined = _interopRequireDefault(__webpack_require__(/*! ./lib/icons/ArrowRightOutlined */ 25815)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +const _default = _ArrowRightOutlined; +exports["default"] = _default; +module.exports = _default; + +/***/ }), + +/***/ 85508: +/*!************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/lib/icons/ArrowLeftOutlined.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + + +var _interopRequireWildcard = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireWildcard */ 14274)["default"]); +var _interopRequireDefault = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 78514)["default"]); +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; +var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ 90310)); +var React = _interopRequireWildcard(__webpack_require__(/*! react */ 59301)); +var _ArrowLeftOutlined = _interopRequireDefault(__webpack_require__(/*! @ant-design/icons-svg/lib/asn/ArrowLeftOutlined */ 81877)); +var _AntdIcon = _interopRequireDefault(__webpack_require__(/*! ../components/AntdIcon */ 26315)); +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + +var ArrowLeftOutlined = function ArrowLeftOutlined(props, ref) { + return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _extends2.default)({}, props, { + ref: ref, + icon: _ArrowLeftOutlined.default + })); +}; + +/** */ +var RefIcon = /*#__PURE__*/React.forwardRef(ArrowLeftOutlined); +if (false) {} +var _default = exports["default"] = RefIcon; + +/***/ }), + +/***/ 25815: +/*!*************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/lib/icons/ArrowRightOutlined.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + + +var _interopRequireWildcard = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireWildcard */ 14274)["default"]); +var _interopRequireDefault = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 78514)["default"]); +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; +var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ 90310)); +var React = _interopRequireWildcard(__webpack_require__(/*! react */ 59301)); +var _ArrowRightOutlined = _interopRequireDefault(__webpack_require__(/*! @ant-design/icons-svg/lib/asn/ArrowRightOutlined */ 9091)); +var _AntdIcon = _interopRequireDefault(__webpack_require__(/*! ../components/AntdIcon */ 26315)); +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + +var ArrowRightOutlined = function ArrowRightOutlined(props, ref) { + return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _extends2.default)({}, props, { + ref: ref, + icon: _ArrowRightOutlined.default + })); +}; + +/** */ +var RefIcon = /*#__PURE__*/React.forwardRef(ArrowRightOutlined); +if (false) {} +var _default = exports["default"] = RefIcon; + +/***/ }), + +/***/ 5: +/*!********************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Checkbox/index.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 35227); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 61206); +/* harmony import */ var _ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/pro-utils */ 2005); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd */ 24905); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _BaseForm_createField__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../BaseForm/createField */ 43225); +/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Field */ 22839); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ 37712); + + +var _excluded = ["options", "fieldProps", "proFieldProps", "valueEnum"]; + + + + + + +var CheckboxGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function (_ref, ref) { + var options = _ref.options, + fieldProps = _ref.fieldProps, + proFieldProps = _ref.proFieldProps, + valueEnum = _ref.valueEnum, + rest = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_ref, _excluded); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Field__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + ref: ref, + valueType: "checkbox", + valueEnum: (0,_ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__/* .runFunction */ .h)(valueEnum, undefined), + fieldProps: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + options: options + }, fieldProps), + lightProps: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + labelFormatter: function labelFormatter() { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Field__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + ref: ref, + valueType: "checkbox", + mode: "read", + valueEnum: (0,_ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__/* .runFunction */ .h)(valueEnum, undefined), + filedConfig: { + customLightMode: true + }, + fieldProps: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + options: options + }, fieldProps), + proFieldProps: proFieldProps + }, rest)); + } + }, rest.lightProps), + proFieldProps: proFieldProps + }, rest)); +}); +/** + * 多选框的 + * + * @param + */ +var ProFormCheckboxComponents = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function (_ref2, ref) { + var fieldProps = _ref2.fieldProps, + children = _ref2.children; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + ref: ref + }, fieldProps), {}, { + children: children + })); +}); +var ProFormCheckbox = (0,_BaseForm_createField__WEBPACK_IMPORTED_MODULE_7__/* .createField */ .G)(ProFormCheckboxComponents, { + valuePropName: 'checked' +}); +var WrappedProFormCheckbox = ProFormCheckbox; +WrappedProFormCheckbox.Group = CheckboxGroup; +/* harmony default export */ __webpack_exports__.Z = (WrappedProFormCheckbox); + +/***/ }), + +/***/ 36911: +/*!*****************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Digit/index.js ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 35227); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 61206); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Field */ 22839); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ 37712); + + +var _excluded = ["fieldProps", "min", "proFieldProps", "max"]; + + + +/** + * 数组选择组件 + * + * @param + */ +var ProFormDigit = function ProFormDigit(_ref, ref) { + var fieldProps = _ref.fieldProps, + min = _ref.min, + proFieldProps = _ref.proFieldProps, + max = _ref.max, + rest = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_ref, _excluded); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Field__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + valueType: "digit", + fieldProps: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + min: min, + max: max + }, fieldProps), + ref: ref, + filedConfig: { + defaultProps: { + width: '100%' + } + }, + proFieldProps: proFieldProps + }, rest)); +}; +var ForwardRefProFormDigit = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ProFormDigit); +/* harmony default export */ __webpack_exports__.Z = (ForwardRefProFormDigit); + +/***/ }), + +/***/ 45016: +/*!*****************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Radio/index.js ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 35227); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 61206); +/* harmony import */ var _ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/pro-utils */ 2005); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd */ 5112); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _BaseForm_createField__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../BaseForm/createField */ 43225); +/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Field */ 22839); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ 37712); + + +var _excluded = ["fieldProps", "options", "radioType", "layout", "proFieldProps", "valueEnum"]; + + + + + + +var RadioGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function (_ref, ref) { + var fieldProps = _ref.fieldProps, + options = _ref.options, + radioType = _ref.radioType, + layout = _ref.layout, + proFieldProps = _ref.proFieldProps, + valueEnum = _ref.valueEnum, + rest = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_ref, _excluded); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Field__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + valueType: radioType === 'button' ? 'radioButton' : 'radio', + ref: ref, + valueEnum: (0,_ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__/* .runFunction */ .h)(valueEnum, undefined) + }, rest), {}, { + fieldProps: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + options: options, + layout: layout + }, fieldProps), + proFieldProps: proFieldProps, + filedConfig: { + customLightMode: true + } + })); +}); + +/** + * Radio + * + * @param + */ +var ProFormRadioComponents = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function (_ref2, ref) { + var fieldProps = _ref2.fieldProps, + children = _ref2.children; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, fieldProps), {}, { + ref: ref, + children: children + })); +}); +var ProFormRadio = (0,_BaseForm_createField__WEBPACK_IMPORTED_MODULE_7__/* .createField */ .G)(ProFormRadioComponents, { + valuePropName: 'checked', + ignoreWidth: true +}); +var WrappedProFormRadio = ProFormRadio; +WrappedProFormRadio.Group = RadioGroup; +WrappedProFormRadio.Button = antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"].Button */ .ZP.Button; + +// @ts-ignore +// eslint-disable-next-line no-param-reassign +WrappedProFormRadio.displayName = 'ProFormComponent'; +/* harmony default export */ __webpack_exports__.Z = (WrappedProFormRadio); + +/***/ }), + +/***/ 96079: +/*!****************************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/layouts/ProForm/index.js + 6 modules ***! + \****************************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + A: function() { return /* binding */ ProForm; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(35227); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules +var es_form = __webpack_require__(78241); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/BaseForm/BaseForm.js + 101 modules +var BaseForm = __webpack_require__(27439); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/BaseForm/EditOrReadOnlyContext.js +var EditOrReadOnlyContext = __webpack_require__(37957); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(78772); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(10859); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/RightOutlined.js + 1 modules +var RightOutlined = __webpack_require__(38226); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(35788); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(16378); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/InfoCircleOutlined.js +// This icon file is generated automatically. +var InfoCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" } }] }, "name": "info-circle", "theme": "outlined" }; +/* harmony default export */ var asn_InfoCircleOutlined = (InfoCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(31533); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/InfoCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var InfoCircleOutlined_InfoCircleOutlined = function InfoCircleOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_InfoCircleOutlined + })); +}; + +/** */ +var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(InfoCircleOutlined_InfoCircleOutlined); +if (false) {} +/* harmony default export */ var icons_InfoCircleOutlined = (RefIcon); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules +var config_provider = __webpack_require__(92736); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules +var es_tooltip = __webpack_require__(6848); +// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js +var _classnames_2_5_1_classnames = __webpack_require__(92310); +var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/useStyle/index.js +var useStyle = __webpack_require__(77989); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/components/LabelIconTip/style.js + + + +var genProStyle = function genProStyle(token) { + return (0,defineProperty/* default */.Z)({}, token.componentCls, { + display: 'inline-flex', + alignItems: 'center', + maxWidth: '100%', + '&-icon': { + display: 'block', + marginInlineStart: '4px', + cursor: 'pointer', + '&:hover': { + color: token.colorPrimary + } + }, + '&-title': { + display: 'inline-flex', + flex: '1' + }, + '&-subtitle ': { + marginInlineStart: 8, + color: token.colorTextSecondary, + fontWeight: 'normal', + fontSize: token.fontSize, + whiteSpace: 'nowrap' + }, + '&-title-ellipsis': { + overflow: 'hidden', + whiteSpace: 'nowrap', + textOverflow: 'ellipsis', + wordBreak: 'keep-all' + } + }); +}; +function style_useStyle(prefixCls) { + return (0,useStyle/* useStyle */.Xj)('LabelIconTip', function (token) { + var proToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { + componentCls: ".".concat(prefixCls) + }); + return [genProStyle(proToken)]; + }); +} +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/components/LabelIconTip/index.js + + + + + + + + +/** + * 在 form 的 label 后面增加一个 tips 来展示一些说明文案 + * + * @param props + */ + + + +var LabelIconTip = /*#__PURE__*/_react_17_0_2_react.memo(function (props) { + var label = props.label, + tooltip = props.tooltip, + ellipsis = props.ellipsis, + subTitle = props.subTitle; + var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + getPrefixCls = _useContext.getPrefixCls; + var className = getPrefixCls('pro-core-label-tip'); + var _useStyle = style_useStyle(className), + wrapSSR = _useStyle.wrapSSR, + hashId = _useStyle.hashId; + if (!tooltip && !subTitle) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: label + }); + } + var tooltipProps = typeof tooltip === 'string' || /*#__PURE__*/_react_17_0_2_react.isValidElement(tooltip) ? { + title: tooltip + } : tooltip; + var icon = (tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.icon) || /*#__PURE__*/(0,jsx_runtime.jsx)(icons_InfoCircleOutlined, {}); + return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: _classnames_2_5_1_classnames_default()(className, hashId), + onMouseDown: function onMouseDown(e) { + return e.stopPropagation(); + }, + onMouseLeave: function onMouseLeave(e) { + return e.stopPropagation(); + }, + onMouseMove: function onMouseMove(e) { + return e.stopPropagation(); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: _classnames_2_5_1_classnames_default()("".concat(className, "-title"), hashId, (0,defineProperty/* default */.Z)({}, "".concat(className, "-title-ellipsis"), ellipsis)), + children: label + }), subTitle && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(className, "-subtitle ").concat(hashId).trim(), + children: subTitle + }), tooltip && /*#__PURE__*/(0,jsx_runtime.jsx)(es_tooltip/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, tooltipProps), {}, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(className, "-icon ").concat(hashId).trim(), + children: icon + }) + }))] + })); +}); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules +var space = __webpack_require__(81327); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/FieldContext.js +var FieldContext = __webpack_require__(8459); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/helpers/grid.js +var grid = __webpack_require__(31238); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Group/style.js + + + +var style_genProStyle = function genProStyle(token) { + return (0,defineProperty/* default */.Z)({}, token.componentCls, { + '&-title': { + marginBlockEnd: token.marginXL, + fontWeight: 'bold' + }, + '&-container': (0,defineProperty/* default */.Z)({ + flexWrap: 'wrap', + maxWidth: '100%' + }, "> div".concat(token.antCls, "-space-item"), { + maxWidth: '100%' + }), + '&-twoLine': (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ + display: 'block', + width: '100%' + }, "".concat(token.componentCls, "-title"), { + width: '100%', + margin: '8px 0' + }), "".concat(token.componentCls, "-container"), { + paddingInlineStart: 16 + }), "".concat(token.antCls, "-space-item,").concat(token.antCls, "-form-item"), { + width: '100%' + }), "".concat(token.antCls, "-form-item"), { + '&-control': { + display: 'flex', + alignItems: 'center', + justifyContent: 'flex-end', + '&-input': { + alignItems: 'center', + justifyContent: 'flex-end', + '&-content': { + flex: 'none' + } + } + } + }) + }); +}; +function Group_style_useStyle(prefixCls) { + return (0,useStyle/* useStyle */.Xj)('ProFormGroup', function (token) { + var proToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { + componentCls: ".".concat(prefixCls) + }); + return [style_genProStyle(proToken)]; + }); +} +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Group/index.js + + + + + + + + + + + + + +var Group = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref) { + var _React$useContext = _react_17_0_2_react.useContext(FieldContext/* default */.Z), + groupProps = _React$useContext.groupProps; + var _groupProps$props = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, groupProps), props), + children = _groupProps$props.children, + collapsible = _groupProps$props.collapsible, + defaultCollapsed = _groupProps$props.defaultCollapsed, + style = _groupProps$props.style, + labelLayout = _groupProps$props.labelLayout, + _groupProps$props$tit = _groupProps$props.title, + title = _groupProps$props$tit === void 0 ? props.label : _groupProps$props$tit, + tooltip = _groupProps$props.tooltip, + _groupProps$props$ali = _groupProps$props.align, + align = _groupProps$props$ali === void 0 ? 'start' : _groupProps$props$ali, + direction = _groupProps$props.direction, + _groupProps$props$siz = _groupProps$props.size, + size = _groupProps$props$siz === void 0 ? 32 : _groupProps$props$siz, + titleStyle = _groupProps$props.titleStyle, + titleRender = _groupProps$props.titleRender, + spaceProps = _groupProps$props.spaceProps, + extra = _groupProps$props.extra, + autoFocus = _groupProps$props.autoFocus; + var _useMountMergeState = (0,useMergedState/* default */.Z)(function () { + return defaultCollapsed || false; + }, { + value: props.collapsed, + onChange: props.onCollapse + }), + _useMountMergeState2 = (0,slicedToArray/* default */.Z)(_useMountMergeState, 2), + collapsed = _useMountMergeState2[0], + setCollapsed = _useMountMergeState2[1]; + var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + getPrefixCls = _useContext.getPrefixCls; + var _useGridHelpers = (0,grid/* useGridHelpers */.zx)(props), + ColWrapper = _useGridHelpers.ColWrapper, + RowWrapper = _useGridHelpers.RowWrapper; + var className = getPrefixCls('pro-form-group'); + var _useStyle = Group_style_useStyle(className), + wrapSSR = _useStyle.wrapSSR, + hashId = _useStyle.hashId; + var collapsibleButton = collapsible && /*#__PURE__*/(0,jsx_runtime.jsx)(RightOutlined/* default */.Z, { + style: { + marginInlineEnd: 8 + }, + rotate: !collapsed ? 90 : undefined + }); + var label = /*#__PURE__*/(0,jsx_runtime.jsx)(LabelIconTip, { + label: collapsibleButton ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [collapsibleButton, title] + }) : title, + tooltip: tooltip + }); + var Wrapper = (0,_react_17_0_2_react.useCallback)(function (_ref) { + var dom = _ref.children; + return /*#__PURE__*/(0,jsx_runtime.jsx)(space/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, spaceProps), {}, { + className: _classnames_2_5_1_classnames_default()("".concat(className, "-container ").concat(hashId), spaceProps === null || spaceProps === void 0 ? void 0 : spaceProps.className), + size: size, + align: align, + direction: direction, + style: (0,objectSpread2/* default */.Z)({ + rowGap: 0 + }, spaceProps === null || spaceProps === void 0 ? void 0 : spaceProps.style), + children: dom + })); + }, [align, className, direction, hashId, size, spaceProps]); + var titleDom = titleRender ? titleRender(label, props) : label; + var _useMemo = (0,_react_17_0_2_react.useMemo)(function () { + var hiddenChildren = []; + var childrenList = _react_17_0_2_react.Children.toArray(children).map(function (element, index) { + var _element$props; + if ( /*#__PURE__*/_react_17_0_2_react.isValidElement(element) && element !== null && element !== void 0 && (_element$props = element.props) !== null && _element$props !== void 0 && _element$props.hidden) { + hiddenChildren.push(element); + return null; + } + if (index === 0 && /*#__PURE__*/_react_17_0_2_react.isValidElement(element) && autoFocus) { + return /*#__PURE__*/_react_17_0_2_react.cloneElement(element, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, element.props), {}, { + autoFocus: autoFocus + })); + } + return element; + }); + return [/*#__PURE__*/(0,jsx_runtime.jsx)(RowWrapper, { + Wrapper: Wrapper, + children: childrenList + }, "children"), hiddenChildren.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + display: 'none' + }, + children: hiddenChildren + }) : null]; + }, [children, RowWrapper, Wrapper, autoFocus]), + _useMemo2 = (0,slicedToArray/* default */.Z)(_useMemo, 2), + childrenDoms = _useMemo2[0], + hiddenDoms = _useMemo2[1]; + return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)(ColWrapper, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: _classnames_2_5_1_classnames_default()(className, hashId, (0,defineProperty/* default */.Z)({}, "".concat(className, "-twoLine"), labelLayout === 'twoLine')), + style: style, + ref: ref, + children: [hiddenDoms, (title || tooltip || extra) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(className, "-title ").concat(hashId).trim(), + style: titleStyle, + onClick: function onClick() { + setCollapsed(!collapsed); + }, + children: extra ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + width: '100%', + alignItems: 'center', + justifyContent: 'space-between' + }, + children: [titleDom, /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick(e) { + return e.stopPropagation(); + }, + children: extra + })] + }) : titleDom + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + display: collapsible && collapsed ? 'none' : undefined + }, + children: childrenDoms + })] + }) + })); +}); +Group.displayName = 'ProForm-Group'; +/* harmony default export */ var components_Group = (Group); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/FormItem/index.js + 8 modules +var FormItem = __webpack_require__(49119); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/layouts/ProForm/index.js + + + + + + + + + +function ProForm(props) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(BaseForm/* BaseForm */.I, (0,objectSpread2/* default */.Z)({ + layout: "vertical", + contentRender: function contentRender(items, submitter) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [items, submitter] + }); + } + }, props)); +} +ProForm.Group = components_Group; +ProForm.useForm = es_form/* default */.Z.useForm; +ProForm.Item = FormItem/* default */.Z; +ProForm.useWatch = es_form/* default */.Z.useWatch; +ProForm.ErrorList = es_form/* default */.Z.ErrorList; +ProForm.Provider = es_form/* default */.Z.Provider; +ProForm.useFormInstance = es_form/* default */.Z.useFormInstance; +ProForm.EditOrReadOnlyContext = EditOrReadOnlyContext/* EditOrReadOnlyContext */.A; + + +/***/ }), + +/***/ 90330: +/*!*****************************************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/FooterToolbar/index.js + 3 modules ***! + \*****************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + S: function() { return /* binding */ FooterToolbar; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(35227); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(78772); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(61206); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/isBrowser/index.js +/* provided dependency */ var process = __webpack_require__(/*! ./node_modules/_process@0.11.10@process/browser.js */ 97671); +var isNode = typeof process !== 'undefined' && process.versions != null && process.versions.node != null; + +/** + * 用于判断当前是否在浏览器环境中。 + * 首先会判断当前是否处于测试环境中(通过 process.env.NODE_ENV === 'TEST' 判断), + * 如果是,则返回 true。否则,会进一步判断是否存在 window 对象、document 对象以及 matchMedia 方法 + * 同时通过 !isNode 判断当前不是在服务器(Node.js)环境下执行, + * 如果都符合,则返回 true 表示当前处于浏览器环境中。 + * @returns boolean + */ +var isBrowser = function isBrowser() { + if (typeof process !== 'undefined' && "production" === 'TEST') {} + return typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.matchMedia !== 'undefined' && !isNode; +}; +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules +var config_provider = __webpack_require__(92736); +// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js +var _classnames_2_5_1_classnames = __webpack_require__(92310); +var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js +var omit = __webpack_require__(64002); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +// EXTERNAL MODULE: ./node_modules/_react-dom@17.0.2@react-dom/index.js +var _react_dom_17_0_2_react_dom = __webpack_require__(4676); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/context/RouteContext.js +var RouteContext = __webpack_require__(74039); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/useStyle/index.js +var useStyle = __webpack_require__(77989); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/FooterToolbar/style/index.js + + + +var genFooterToolBarStyle = function genFooterToolBarStyle(token) { + return (0,defineProperty/* default */.Z)({}, token.componentCls, { + position: 'fixed', + insetInlineEnd: 0, + bottom: 0, + zIndex: 99, + display: 'flex', + alignItems: 'center', + width: '100%', + paddingInline: 24, + paddingBlock: 0, + boxSizing: 'border-box', + lineHeight: '64px', + /* A way to reset the style of the component. */ + backgroundColor: (0,useStyle/* setAlpha */.uK)(token.colorBgElevated, 0.6), + borderBlockStart: "1px solid ".concat(token.colorSplit), + '-webkit-backdrop-filter': 'blur(8px)', + backdropFilter: 'blur(8px)', + color: token.colorText, + transition: 'all 0.2s ease 0s', + '&-left': { + flex: 1, + color: token.colorText + }, + '&-right': { + color: token.colorText, + '> *': { + marginInlineEnd: 8, + '&:last-child': { + marginBlock: 0, + marginInline: 0 + } + } + } + }); +}; +function style_useStyle(prefixCls) { + return (0,useStyle/* useStyle */.Xj)('ProLayoutFooterToolbar', function (token) { + var proCardToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { + componentCls: ".".concat(prefixCls) + }); + return [genFooterToolBarStyle(proCardToken)]; + }); +} +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/FooterToolbar/style/stylish.js + + + +function useStylish(prefixCls, _ref) { + var stylish = _ref.stylish; + return (0,useStyle/* useStyle */.Xj)('ProLayoutFooterToolbarStylish', function (token) { + var stylishToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { + componentCls: ".".concat(prefixCls) + }); + if (!stylish) return []; + return [(0,defineProperty/* default */.Z)({}, "".concat(stylishToken.componentCls), stylish === null || stylish === void 0 ? void 0 : stylish(stylishToken))]; + }); +} +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/FooterToolbar/index.js + + + +var _excluded = ["children", "className", "extra", "portalDom", "style", "renderContent"]; +/* eslint-disable react-hooks/exhaustive-deps */ + + + + + + + + + + + + + +var FooterToolbar = function FooterToolbar(props) { + var children = props.children, + className = props.className, + extra = props.extra, + _props$portalDom = props.portalDom, + portalDom = _props$portalDom === void 0 ? true : _props$portalDom, + style = props.style, + renderContent = props.renderContent, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + getPrefixCls = _useContext.getPrefixCls, + getTargetContainer = _useContext.getTargetContainer; + var prefixCls = props.prefixCls || getPrefixCls('pro'); + var baseClassName = "".concat(prefixCls, "-footer-bar"); + var _useStyle = style_useStyle(baseClassName), + wrapSSR = _useStyle.wrapSSR, + hashId = _useStyle.hashId; + var value = (0,_react_17_0_2_react.useContext)(RouteContext/* RouteContext */.X); + var width = (0,_react_17_0_2_react.useMemo)(function () { + var hasSiderMenu = value.hasSiderMenu, + isMobile = value.isMobile, + siderWidth = value.siderWidth; + if (!hasSiderMenu) { + return undefined; + } + // 0 or undefined + if (!siderWidth) { + return '100%'; + } + return isMobile ? '100%' : "calc(100% - ".concat(siderWidth, "px)"); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [value.collapsed, value.hasSiderMenu, value.isMobile, value.siderWidth]); + var containerDom = (0,_react_17_0_2_react.useMemo)(function () { + if (typeof window === 'undefined' || typeof document === 'undefined') return null; + // 只读取一次就行了,不然总是的渲染 + return (getTargetContainer === null || getTargetContainer === void 0 ? void 0 : getTargetContainer()) || document.body; + }, []); + var stylish = useStylish("".concat(baseClassName, ".").concat(baseClassName, "-stylish"), { + stylish: props.stylish + }); + var dom = /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(baseClassName, "-left ").concat(hashId).trim(), + children: extra + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(baseClassName, "-right ").concat(hashId).trim(), + children: children + })] + }); + + /** 告诉 props 是否存在 footerBar */ + (0,_react_17_0_2_react.useEffect)(function () { + if (!value || !(value !== null && value !== void 0 && value.setHasFooterToolbar)) { + return function () {}; + } + value === null || value === void 0 || value.setHasFooterToolbar(true); + return function () { + var _value$setHasFooterTo; + value === null || value === void 0 || (_value$setHasFooterTo = value.setHasFooterToolbar) === null || _value$setHasFooterTo === void 0 || _value$setHasFooterTo.call(value, false); + }; + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + var renderDom = /*#__PURE__*/(0,jsx_runtime.jsx)("div", (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + className: _classnames_2_5_1_classnames_default()(className, hashId, baseClassName, (0,defineProperty/* default */.Z)({}, "".concat(baseClassName, "-stylish"), !!props.stylish)), + style: (0,objectSpread2/* default */.Z)({ + width: width + }, style) + }, (0,omit/* default */.Z)(restProps, ['prefixCls'])), {}, { + children: renderContent ? renderContent((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), value), {}, { + leftWidth: width + }), dom) : dom + })); + var ssrDom = !isBrowser() || !portalDom || !containerDom ? renderDom : /*#__PURE__*/(0,_react_dom_17_0_2_react_dom.createPortal)(renderDom, containerDom, baseClassName); + return stylish.wrapSSR(wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, { + children: ssrDom + }, baseClassName))); +}; + + +/***/ }), + +/***/ 5039: +/*!*****************************************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageContainer/index.js + 8 modules ***! + \*****************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + _z: function() { return /* binding */ PageContainer; } +}); + +// UNUSED EXPORTS: ProBreadcrumb, ProPageHeader + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(78772); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(61206); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(35227); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(42066); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/index.js + 2 modules +var es = __webpack_require__(57965); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tabs/index.js + 24 modules +var tabs = __webpack_require__(99313); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/version/index.js + 1 modules +var version = __webpack_require__(8680); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules +var config_provider = __webpack_require__(92736); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/index.js + 2 modules +var affix = __webpack_require__(81228); +// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js +var _classnames_2_5_1_classnames = __webpack_require__(92310); +var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/context/RouteContext.js +var context_RouteContext = __webpack_require__(74039); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/FooterToolbar/index.js + 3 modules +var FooterToolbar = __webpack_require__(90330); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/useStyle/index.js +var useStyle = __webpack_require__(77989); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/GridContent/style.js + + + +var genGridContentStyle = function genGridContentStyle(token) { + return (0,defineProperty/* default */.Z)({}, token.componentCls, { + width: '100%', + '&-wide': { + maxWidth: 1152, + margin: '0 auto' + } + }); +}; +function style_useStyle(prefixCls) { + return (0,useStyle/* useStyle */.Xj)('ProLayoutGridContent', function (token) { + var GridContentToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { + componentCls: ".".concat(prefixCls) + }); + return [genGridContentStyle(GridContentToken)]; + }); +} +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/GridContent/index.js + + + + + + + +/** + * This component can support contentWidth so you don't need to calculate the width + * contentWidth=Fixed, width will is 1200 + * + * @param props + */ +var GridContent = function GridContent(props) { + var value = (0,_react_17_0_2_react.useContext)(context_RouteContext/* RouteContext */.X); + var children = props.children, + propsContentWidth = props.contentWidth, + propsClassName = props.className, + style = props.style; + var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + getPrefixCls = _useContext.getPrefixCls; + var prefixCls = props.prefixCls || getPrefixCls('pro'); + var contentWidth = propsContentWidth || value.contentWidth; + var className = "".concat(prefixCls, "-grid-content"); + var _useStyle = style_useStyle(className), + wrapSSR = _useStyle.wrapSSR, + hashId = _useStyle.hashId; + var isWide = contentWidth === 'Fixed' && value.layout === 'top'; + return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: _classnames_2_5_1_classnames_default()(className, hashId, propsClassName, (0,defineProperty/* default */.Z)({}, "".concat(className, "-wide"), isWide)), + style: style, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(prefixCls, "-grid-content-children ").concat(hashId).trim(), + children: children + }) + })); +}; + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(10859); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/ArrowLeftOutlined.js +var ArrowLeftOutlined = __webpack_require__(83047); +var ArrowLeftOutlined_default = /*#__PURE__*/__webpack_require__.n(ArrowLeftOutlined); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/ArrowRightOutlined.js +var ArrowRightOutlined = __webpack_require__(24115); +var ArrowRightOutlined_default = /*#__PURE__*/__webpack_require__.n(ArrowRightOutlined); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules +var es_breadcrumb = __webpack_require__(66104); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/avatar/index.js + 4 modules +var es_avatar = __webpack_require__(26743); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules +var space = __webpack_require__(81327); +// EXTERNAL MODULE: ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/index.js + 4 modules +var _rc_resize_observer_1_4_3_rc_resize_observer_es = __webpack_require__(29301); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/warning.js +var warning = __webpack_require__(51395); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageHeader/style/index.js + + + +var textOverflowEllipsis = function textOverflowEllipsis() { + return { + overflow: 'hidden', + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }; +}; +var genPageHeaderStyle = function genPageHeaderStyle(token) { + var _token$layout; + return (0,defineProperty/* default */.Z)({}, token.componentCls, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, useStyle/* resetComponent */.Wf === null || useStyle/* resetComponent */.Wf === void 0 ? void 0 : (0,useStyle/* resetComponent */.Wf)(token)), {}, (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ + position: 'relative', + backgroundColor: token.colorWhite, + paddingBlock: token.pageHeaderPaddingVertical + 2, + paddingInline: token.pageHeaderPadding, + '&&-ghost': { + backgroundColor: token.pageHeaderBgGhost + }, + '&-no-children': { + height: (_token$layout = token.layout) === null || _token$layout === void 0 || (_token$layout = _token$layout.pageContainer) === null || _token$layout === void 0 ? void 0 : _token$layout.paddingBlockPageContainerContent + }, + '&&-has-breadcrumb': { + paddingBlockStart: token.pageHeaderPaddingBreadCrumb + }, + '&&-has-footer': { + paddingBlockEnd: 0 + }, + '& &-back': (0,defineProperty/* default */.Z)({ + marginInlineEnd: token.margin, + fontSize: 16, + lineHeight: 1, + '&-button': (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + fontSize: 16 + }, useStyle/* operationUnit */.Nd === null || useStyle/* operationUnit */.Nd === void 0 ? void 0 : (0,useStyle/* operationUnit */.Nd)(token)), {}, { + color: token.pageHeaderColorBack, + cursor: 'pointer' + }) + }, "".concat(token.componentCls, "-rlt &"), { + float: 'right', + marginInlineEnd: 0, + marginInlineStart: 0 + }) + }, "& ".concat('ant', "-divider-vertical"), { + height: 14, + marginBlock: 0, + marginInline: token.marginSM, + verticalAlign: 'middle' + }), "& &-breadcrumb + &-heading", { + marginBlockStart: token.marginXS + }), '& &-heading', { + display: 'flex', + justifyContent: 'space-between', + '&-left': { + display: 'flex', + alignItems: 'center', + marginBlock: token.marginXS / 2, + marginInlineEnd: 0, + marginInlineStart: 0, + overflow: 'hidden' + }, + '&-title': (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + marginInlineEnd: token.marginSM, + marginBlockEnd: 0, + color: token.colorTextHeading, + fontWeight: 600, + fontSize: token.pageHeaderFontSizeHeaderTitle, + lineHeight: token.controlHeight + 'px' + }, textOverflowEllipsis()), {}, (0,defineProperty/* default */.Z)({}, "".concat(token.componentCls, "-rlt &"), { + marginInlineEnd: 0, + marginInlineStart: token.marginSM + })), + '&-avatar': (0,defineProperty/* default */.Z)({ + marginInlineEnd: token.marginSM + }, "".concat(token.componentCls, "-rlt &"), { + float: 'right', + marginInlineEnd: 0, + marginInlineStart: token.marginSM + }), + '&-tags': (0,defineProperty/* default */.Z)({}, "".concat(token.componentCls, "-rlt &"), { + float: 'right' + }), + '&-sub-title': (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + marginInlineEnd: token.marginSM, + color: token.colorTextSecondary, + fontSize: token.pageHeaderFontSizeHeaderSubTitle, + lineHeight: token.lineHeight + }, textOverflowEllipsis()), {}, (0,defineProperty/* default */.Z)({}, "".concat(token.componentCls, "-rlt &"), { + float: 'right', + marginInlineEnd: 0, + marginInlineStart: 12 + })), + '&-extra': (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ + marginBlock: token.marginXS / 2, + marginInlineEnd: 0, + marginInlineStart: 0, + whiteSpace: 'nowrap', + '> *': (0,defineProperty/* default */.Z)({ + 'white-space': 'unset' + }, "".concat(token.componentCls, "-rlt &"), { + marginInlineEnd: token.marginSM, + marginInlineStart: 0 + }) + }, "".concat(token.componentCls, "-rlt &"), { + float: 'left' + }), '*:first-child', (0,defineProperty/* default */.Z)({}, "".concat(token.componentCls, "-rlt &"), { + marginInlineEnd: 0 + })) + }), '&-content', { + paddingBlockStart: token.pageHeaderPaddingContentPadding + }), '&-footer', { + marginBlockStart: token.margin + }), '&-compact &-heading', { + flexWrap: 'wrap' + }), '&-wide', { + maxWidth: 1152, + margin: '0 auto' + }), '&-rtl', { + direction: 'rtl' + }))); +}; +function PageHeader_style_useStyle(prefixCls) { + return (0,useStyle/* useStyle */.Xj)('ProLayoutPageHeader', function (token) { + var proCardToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { + componentCls: ".".concat(prefixCls), + pageHeaderBgGhost: 'transparent', + pageHeaderPadding: 16, + pageHeaderPaddingVertical: 4, + pageHeaderPaddingBreadCrumb: token.paddingSM, + pageHeaderColorBack: token.colorTextHeading, + pageHeaderFontSizeHeaderTitle: token.fontSizeHeading4, + pageHeaderFontSizeHeaderSubTitle: 14, + pageHeaderPaddingContentPadding: token.paddingSM + }); + return [genPageHeaderStyle(proCardToken)]; + }); +} +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageHeader/index.js + + + + + + + + + + + + + + +var renderBack = function renderBack(prefixCls, hashId, backIcon, onBack) { + if (!backIcon || !onBack) { + return null; + } + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(prefixCls, "-back ").concat(hashId).trim(), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + role: "button", + onClick: function onClick(e) { + onBack === null || onBack === void 0 || onBack(e); + }, + className: "".concat(prefixCls, "-back-button ").concat(hashId).trim(), + "aria-label": "back", + children: backIcon + }) + }); +}; +var renderBreadcrumb = function renderBreadcrumb(breadcrumb, prefixCls) { + var _breadcrumb$items; + if (!((_breadcrumb$items = breadcrumb.items) !== null && _breadcrumb$items !== void 0 && _breadcrumb$items.length)) return null; + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_breadcrumb/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, breadcrumb), {}, { + className: _classnames_2_5_1_classnames_default()("".concat(prefixCls, "-breadcrumb"), breadcrumb.className) + })); +}; +var getBackIcon = function getBackIcon(props) { + var direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'ltr'; + if (props.backIcon !== undefined) { + return props.backIcon; + } + return direction === 'rtl' ? /*#__PURE__*/(0,jsx_runtime.jsx)((ArrowRightOutlined_default()), {}) : /*#__PURE__*/(0,jsx_runtime.jsx)((ArrowLeftOutlined_default()), {}); +}; +var renderTitle = function renderTitle(prefixCls, props) { + var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr'; + var hashId = arguments.length > 3 ? arguments[3] : undefined; + var title = props.title, + avatar = props.avatar, + subTitle = props.subTitle, + tags = props.tags, + extra = props.extra, + onBack = props.onBack; + var headingPrefixCls = "".concat(prefixCls, "-heading"); + var hasHeading = title || subTitle || tags || extra; + // If there is nothing, return a null + if (!hasHeading) { + return null; + } + var backIcon = getBackIcon(props, direction); + var backIconDom = renderBack(prefixCls, hashId, backIcon, onBack); + var hasTitle = backIconDom || avatar || hasHeading; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: headingPrefixCls + ' ' + hashId, + children: [hasTitle && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(headingPrefixCls, "-left ").concat(hashId).trim(), + children: [backIconDom, avatar && /*#__PURE__*/(0,jsx_runtime.jsx)(es_avatar/* default */.C, (0,objectSpread2/* default */.Z)({ + className: _classnames_2_5_1_classnames_default()("".concat(headingPrefixCls, "-avatar"), hashId, avatar.className) + }, avatar)), title && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(headingPrefixCls, "-title ").concat(hashId).trim(), + title: typeof title === 'string' ? title : undefined, + children: title + }), subTitle && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(headingPrefixCls, "-sub-title ").concat(hashId).trim(), + title: typeof subTitle === 'string' ? subTitle : undefined, + children: subTitle + }), tags && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(headingPrefixCls, "-tags ").concat(hashId).trim(), + children: tags + })] + }), extra && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(headingPrefixCls, "-extra ").concat(hashId).trim(), + children: /*#__PURE__*/(0,jsx_runtime.jsx)(space/* default */.Z, { + children: extra + }) + })] + }); +}; +var renderFooter = function renderFooter(prefixCls, footer, hashId) { + if (footer) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(prefixCls, "-footer ").concat(hashId).trim(), + children: footer + }); + } + return null; +}; +var renderChildren = function renderChildren(prefixCls, children, hashId) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(prefixCls, "-content ").concat(hashId).trim(), + children: children + }); +}; +var transformBreadcrumbRoutesToItems = function transformBreadcrumbRoutesToItems(routes) { + return routes === null || routes === void 0 ? void 0 : routes.map(function (route) { + var _route$children; + (0,warning/* noteOnce */.ET)(!!route.breadcrumbName, 'Route.breadcrumbName is deprecated, please use Route.title instead.'); + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, route), {}, { + breadcrumbName: undefined, + children: undefined, + title: route.title || route.breadcrumbName + }, (_route$children = route.children) !== null && _route$children !== void 0 && _route$children.length ? { + menu: { + items: transformBreadcrumbRoutesToItems(route.children) + } + } : {}); + }); +}; +var PageHeader = function PageHeader(props) { + var _breadcrumbRender; + var _React$useState = _react_17_0_2_react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + compact = _React$useState2[0], + updateCompact = _React$useState2[1]; + var onResize = function onResize(_ref) { + var width = _ref.width; + return updateCompact(width < 768); + }; + var _React$useContext = _react_17_0_2_react.useContext(config_provider/* default.ConfigContext */.ZP.ConfigContext), + getPrefixCls = _React$useContext.getPrefixCls, + direction = _React$useContext.direction; + var customizePrefixCls = props.prefixCls, + style = props.style, + footer = props.footer, + children = props.children, + breadcrumb = props.breadcrumb, + breadcrumbRender = props.breadcrumbRender, + customizeClassName = props.className, + contentWidth = props.contentWidth, + layout = props.layout, + _props$ghost = props.ghost, + ghost = _props$ghost === void 0 ? true : _props$ghost; + var prefixCls = getPrefixCls('page-header', customizePrefixCls); + var _useStyle = PageHeader_style_useStyle(prefixCls), + wrapSSR = _useStyle.wrapSSR, + hashId = _useStyle.hashId; + var getDefaultBreadcrumbDom = function getDefaultBreadcrumbDom() { + if (breadcrumb && !(breadcrumb !== null && breadcrumb !== void 0 && breadcrumb.items) && breadcrumb !== null && breadcrumb !== void 0 && breadcrumb.routes) { + (0,warning/* noteOnce */.ET)(false, 'The routes of Breadcrumb is deprecated, please use items instead.'); + breadcrumb.items = transformBreadcrumbRoutesToItems(breadcrumb.routes); + } + if (breadcrumb !== null && breadcrumb !== void 0 && breadcrumb.items) { + return renderBreadcrumb(breadcrumb, prefixCls); + } + return null; + }; + var defaultBreadcrumbDom = getDefaultBreadcrumbDom(); + var isBreadcrumbComponent = breadcrumb && 'props' in breadcrumb; + + // support breadcrumbRender function + var breadcrumbRenderDomFromProps = (_breadcrumbRender = breadcrumbRender === null || breadcrumbRender === void 0 ? void 0 : breadcrumbRender((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + prefixCls: prefixCls + }), defaultBreadcrumbDom)) !== null && _breadcrumbRender !== void 0 ? _breadcrumbRender : defaultBreadcrumbDom; + var breadcrumbDom = isBreadcrumbComponent ? breadcrumb : breadcrumbRenderDomFromProps; + var className = _classnames_2_5_1_classnames_default()(prefixCls, hashId, customizeClassName, (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-has-breadcrumb"), !!breadcrumbDom), "".concat(prefixCls, "-has-footer"), !!footer), "".concat(prefixCls, "-rtl"), direction === 'rtl'), "".concat(prefixCls, "-compact"), compact), "".concat(prefixCls, "-wide"), contentWidth === 'Fixed' && layout == 'top'), "".concat(prefixCls, "-ghost"), ghost)); + var title = renderTitle(prefixCls, props, direction, hashId); + var childDom = children && renderChildren(prefixCls, children, hashId); + var footerDom = renderFooter(prefixCls, footer, hashId); + if (!breadcrumbDom && !title && !footerDom && !childDom) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: _classnames_2_5_1_classnames_default()(hashId, ["".concat(prefixCls, "-no-children")]) + }); + } + return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)(_rc_resize_observer_1_4_3_rc_resize_observer_es/* default */.Z, { + onResize: onResize, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: className, + style: style, + children: [breadcrumbDom, title, childDom, footerDom] + }) + })); +}; + +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules +var spin = __webpack_require__(71418); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageLoading/index.js + + +var _excluded = ["isLoading", "pastDelay", "timedOut", "error", "retry"]; + + + +var PageLoading = function PageLoading(_ref) { + var isLoading = _ref.isLoading, + pastDelay = _ref.pastDelay, + timedOut = _ref.timedOut, + error = _ref.error, + retry = _ref.retry, + reset = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded); + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + paddingBlockStart: 100, + textAlign: 'center' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, (0,objectSpread2/* default */.Z)({ + size: "large" + }, reset)) + }); +}; + +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/WaterMark/index.js + + + + + + + + +/** + * 返回当前显示设备的物理像素分辨率与CSS像素分辨率之比 + * + * @param context + * @see api 有些废弃了,其实类型 CanvasRenderingContext2D + */ +var getPixelRatio = function getPixelRatio(context) { + if (!context) { + return 1; + } + var backingStore = context.backingStorePixelRatio || context.webkitBackingStorePixelRatio || context.mozBackingStorePixelRatio || context.msBackingStorePixelRatio || context.oBackingStorePixelRatio || 1; + return (window.devicePixelRatio || 1) / backingStore; +}; +var WaterMark = function WaterMark(props) { + var _useToken = (0,useStyle/* useToken */.dQ)(), + token = _useToken.token; + var children = props.children, + style = props.style, + className = props.className, + markStyle = props.markStyle, + markClassName = props.markClassName, + _props$zIndex = props.zIndex, + zIndex = _props$zIndex === void 0 ? 9 : _props$zIndex, + _props$gapX = props.gapX, + gapX = _props$gapX === void 0 ? 212 : _props$gapX, + _props$gapY = props.gapY, + gapY = _props$gapY === void 0 ? 222 : _props$gapY, + _props$width = props.width, + width = _props$width === void 0 ? 120 : _props$width, + _props$height = props.height, + height = _props$height === void 0 ? 64 : _props$height, + _props$rotate = props.rotate, + rotate = _props$rotate === void 0 ? -22 : _props$rotate, + image = props.image, + offsetLeft = props.offsetLeft, + outOffsetTop = props.offsetTop, + _props$fontStyle = props.fontStyle, + fontStyle = _props$fontStyle === void 0 ? 'normal' : _props$fontStyle, + _props$fontWeight = props.fontWeight, + fontWeight = _props$fontWeight === void 0 ? 'normal' : _props$fontWeight, + _props$fontColor = props.fontColor, + fontColor = _props$fontColor === void 0 ? token.colorFill : _props$fontColor, + _props$fontSize = props.fontSize, + fontSize = _props$fontSize === void 0 ? 16 : _props$fontSize, + _props$fontFamily = props.fontFamily, + fontFamily = _props$fontFamily === void 0 ? 'sans-serif' : _props$fontFamily, + customizePrefixCls = props.prefixCls; + var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + getPrefixCls = _useContext.getPrefixCls; + var prefixCls = getPrefixCls('pro-layout-watermark', customizePrefixCls); + var wrapperCls = _classnames_2_5_1_classnames_default()("".concat(prefixCls, "-wrapper"), className); + var waterMarkCls = _classnames_2_5_1_classnames_default()(prefixCls, markClassName); + var _useState = (0,_react_17_0_2_react.useState)(''), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + base64Url = _useState2[0], + setBase64Url = _useState2[1]; + (0,_react_17_0_2_react.useEffect)(function () { + var canvas = document.createElement('canvas'); + var ctx = canvas.getContext('2d'); + var ratio = getPixelRatio(ctx); + var canvasWidth = "".concat((gapX + width) * ratio, "px"); + var canvasHeight = "".concat((gapY + height) * ratio, "px"); + var canvasOffsetLeft = offsetLeft || gapX / 2; + var canvasOffsetTop = outOffsetTop || gapY / 2; + canvas.setAttribute('width', canvasWidth); + canvas.setAttribute('height', canvasHeight); + if (!ctx) { + // eslint-disable-next-line no-console + console.error('当前环境不支持Canvas'); + return; + } + + // 旋转字符 rotate + ctx.translate(canvasOffsetLeft * ratio, canvasOffsetTop * ratio); + ctx.rotate(Math.PI / 180 * Number(rotate)); + var markWidth = width * ratio; + var markHeight = height * ratio; + var writeContent = function writeContent(contentText) { + var offsetTop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; + var markSize = Number(fontSize) * ratio; + ctx.font = "".concat(fontStyle, " normal ").concat(fontWeight, " ").concat(markSize, "px/").concat(markHeight, "px ").concat(fontFamily); + ctx.fillStyle = fontColor; + if (Array.isArray(contentText)) { + contentText === null || contentText === void 0 || contentText.forEach(function (item, index) { + return ctx.fillText(item, 0, index * markSize + offsetTop); + }); + } else { + ctx.fillText(contentText, 0, offsetTop ? offsetTop + markSize : 0); + } + setBase64Url(canvas.toDataURL()); + }; + if (image) { + var img = new Image(); + img.crossOrigin = 'anonymous'; + img.referrerPolicy = 'no-referrer'; + img.src = image; + img.onload = function () { + ctx.drawImage(img, 0, 0, markWidth, markHeight); + setBase64Url(canvas.toDataURL()); + if (props.content) { + writeContent(props.content, img.height + 8); + return; + } + }; + return; + } + if (props.content) { + writeContent(props.content); + return; + } + }, [gapX, gapY, offsetLeft, outOffsetTop, rotate, fontStyle, fontWeight, width, height, fontFamily, fontColor, image, props.content, fontSize]); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: (0,objectSpread2/* default */.Z)({ + position: 'relative' + }, style), + className: wrapperCls, + children: [children, /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: waterMarkCls, + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + zIndex: zIndex, + position: 'absolute', + left: 0, + top: 0, + width: '100%', + height: '100%', + backgroundSize: "".concat(gapX + width, "px"), + pointerEvents: 'none', + backgroundRepeat: 'repeat' + }, base64Url ? { + backgroundImage: "url('".concat(base64Url, "')") + } : {}), markStyle) + })] + }); +}; +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageContainer/style/index.js + + + + +var _map = [576, 768, 992, 1200].map(function (bp) { + return "@media (max-width: ".concat(bp, "px)"); + }), + _map2 = (0,slicedToArray/* default */.Z)(_map, 4), + sm = _map2[0], + md = _map2[1], + lg = _map2[2], + xl = _map2[3]; +var genPageContainerStyle = function genPageContainerStyle(token) { + var _token$layout, _token$layout2, _token$layout3, _token$layout4, _token$layout$pageCon, _token$layout5, _token$layout$pageCon2, _token$layout6, _token$layout7, _token$layout8, _token$layout$pageCon3, _token$layout9, _token$layout$pageCon4, _token$layout10, _token$layout$pageCon5, _token$layout11, _token$layout$pageCon6, _token$layout12; + return (0,defineProperty/* default */.Z)({}, token.componentCls, (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ + position: 'relative', + '&-children-container': { + paddingBlockStart: 0, + paddingBlockEnd: (_token$layout = token.layout) === null || _token$layout === void 0 || (_token$layout = _token$layout.pageContainer) === null || _token$layout === void 0 ? void 0 : _token$layout.paddingBlockPageContainerContent, + paddingInline: (_token$layout2 = token.layout) === null || _token$layout2 === void 0 || (_token$layout2 = _token$layout2.pageContainer) === null || _token$layout2 === void 0 ? void 0 : _token$layout2.paddingInlinePageContainerContent + }, + '&-children-container-no-header': { + paddingBlockStart: (_token$layout3 = token.layout) === null || _token$layout3 === void 0 || (_token$layout3 = _token$layout3.pageContainer) === null || _token$layout3 === void 0 ? void 0 : _token$layout3.paddingBlockPageContainerContent + }, + '&-affix': (0,defineProperty/* default */.Z)({}, "".concat(token.antCls, "-affix"), (0,defineProperty/* default */.Z)({}, "".concat(token.componentCls, "-warp"), { + backgroundColor: (_token$layout4 = token.layout) === null || _token$layout4 === void 0 || (_token$layout4 = _token$layout4.pageContainer) === null || _token$layout4 === void 0 ? void 0 : _token$layout4.colorBgPageContainerFixed, + transition: 'background-color 0.3s', + boxShadow: '0 2px 8px #f0f1f2' + })) + }, '& &-warp-page-header', (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ + paddingBlockStart: ((_token$layout$pageCon = (_token$layout5 = token.layout) === null || _token$layout5 === void 0 || (_token$layout5 = _token$layout5.pageContainer) === null || _token$layout5 === void 0 ? void 0 : _token$layout5.paddingBlockPageContainerContent) !== null && _token$layout$pageCon !== void 0 ? _token$layout$pageCon : 40) / 4, + paddingBlockEnd: ((_token$layout$pageCon2 = (_token$layout6 = token.layout) === null || _token$layout6 === void 0 || (_token$layout6 = _token$layout6.pageContainer) === null || _token$layout6 === void 0 ? void 0 : _token$layout6.paddingBlockPageContainerContent) !== null && _token$layout$pageCon2 !== void 0 ? _token$layout$pageCon2 : 40) / 2, + paddingInlineStart: (_token$layout7 = token.layout) === null || _token$layout7 === void 0 || (_token$layout7 = _token$layout7.pageContainer) === null || _token$layout7 === void 0 ? void 0 : _token$layout7.paddingInlinePageContainerContent, + paddingInlineEnd: (_token$layout8 = token.layout) === null || _token$layout8 === void 0 || (_token$layout8 = _token$layout8.pageContainer) === null || _token$layout8 === void 0 ? void 0 : _token$layout8.paddingInlinePageContainerContent + }, "& ~ ".concat(token.proComponentsCls, "-grid-content"), (0,defineProperty/* default */.Z)({}, "".concat(token.proComponentsCls, "-page-container-children-content"), { + paddingBlock: ((_token$layout$pageCon3 = (_token$layout9 = token.layout) === null || _token$layout9 === void 0 || (_token$layout9 = _token$layout9.pageContainer) === null || _token$layout9 === void 0 ? void 0 : _token$layout9.paddingBlockPageContainerContent) !== null && _token$layout$pageCon3 !== void 0 ? _token$layout$pageCon3 : 24) / 3 + })), "".concat(token.antCls, "-page-header-breadcrumb"), { + paddingBlockStart: ((_token$layout$pageCon4 = (_token$layout10 = token.layout) === null || _token$layout10 === void 0 || (_token$layout10 = _token$layout10.pageContainer) === null || _token$layout10 === void 0 ? void 0 : _token$layout10.paddingBlockPageContainerContent) !== null && _token$layout$pageCon4 !== void 0 ? _token$layout$pageCon4 : 40) / 4 + 10 + }), "".concat(token.antCls, "-page-header-heading"), { + paddingBlockStart: ((_token$layout$pageCon5 = (_token$layout11 = token.layout) === null || _token$layout11 === void 0 || (_token$layout11 = _token$layout11.pageContainer) === null || _token$layout11 === void 0 ? void 0 : _token$layout11.paddingBlockPageContainerContent) !== null && _token$layout$pageCon5 !== void 0 ? _token$layout$pageCon5 : 40) / 4 + }), "".concat(token.antCls, "-page-header-footer"), { + marginBlockStart: ((_token$layout$pageCon6 = (_token$layout12 = token.layout) === null || _token$layout12 === void 0 || (_token$layout12 = _token$layout12.pageContainer) === null || _token$layout12 === void 0 ? void 0 : _token$layout12.paddingBlockPageContainerContent) !== null && _token$layout$pageCon6 !== void 0 ? _token$layout$pageCon6 : 40) / 4 + })), '&-detail', (0,defineProperty/* default */.Z)({ + display: 'flex' + }, sm, { + display: 'block' + })), '&-main', { + width: '100%' + }), '&-row', (0,defineProperty/* default */.Z)({ + display: 'flex', + width: '100%' + }, md, { + display: 'block' + })), '&-content', { + flex: 'auto', + width: '100%' + }), '&-extraContent', (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ + flex: '0 1 auto', + minWidth: '242px', + marginInlineStart: 88, + textAlign: 'end' + }, xl, { + marginInlineStart: 44 + }), lg, { + marginInlineStart: 20 + }), md, { + marginInlineStart: 0, + textAlign: 'start' + }), sm, { + marginInlineStart: 0 + }))); +}; +function PageContainer_style_useStyle(prefixCls, componentsToken) { + return (0,useStyle/* useStyle */.Xj)('ProLayoutPageContainer', function (token) { + var _token$layout13; + var proCardToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { + componentCls: ".".concat(prefixCls), + layout: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token === null || token === void 0 ? void 0 : token.layout), {}, { + pageContainer: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token === null || token === void 0 || (_token$layout13 = token.layout) === null || _token$layout13 === void 0 ? void 0 : _token$layout13.pageContainer), componentsToken) + }) + }); + return [genPageContainerStyle(proCardToken)]; + }); +} +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageContainer/style/stylish.js + + + +function useStylish(prefixCls, _ref) { + var stylish = _ref.stylish; + return (0,useStyle/* useStyle */.Xj)('ProLayoutPageContainerStylish', function (token) { + var stylishToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { + componentCls: ".".concat(prefixCls) + }); + if (!stylish) return []; + return [(0,defineProperty/* default */.Z)({}, "div".concat(stylishToken.componentCls), stylish === null || stylish === void 0 ? void 0 : stylish(stylishToken))]; + }); +} +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/compareVersions/index.js +var compareVersions = __webpack_require__(50060); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageContainer/index.js + + + + +var PageContainer_excluded = ["title", "content", "pageHeaderRender", "header", "prefixedClassName", "extraContent", "childrenContentStyle", "style", "prefixCls", "hashId", "value", "breadcrumbRender"], + _excluded2 = ["children", "loading", "className", "style", "footer", "affixProps", "token", "fixedHeader", "breadcrumbRender", "footerToolBarProps", "childrenContentStyle"]; + + + + + + + + + + + + + + + + + +function genLoading(spinProps) { + if ((0,esm_typeof/* default */.Z)(spinProps) === 'object') { + return spinProps; + } + return { + spinning: spinProps + }; +} + +/** + * Render Footer tabList In order to be compatible with the old version of the PageHeader basically + * all the functions are implemented. + */ +var PageContainer_renderFooter = function renderFooter(_ref) { + var tabList = _ref.tabList, + tabActiveKey = _ref.tabActiveKey, + onTabChange = _ref.onTabChange, + hashId = _ref.hashId, + tabBarExtraContent = _ref.tabBarExtraContent, + tabProps = _ref.tabProps, + prefixedClassName = _ref.prefixedClassName; + if (Array.isArray(tabList) || tabBarExtraContent) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + className: "".concat(prefixedClassName, "-tabs ").concat(hashId).trim(), + activeKey: tabActiveKey, + onChange: function onChange(key) { + if (onTabChange) { + onTabChange(key); + } + }, + tabBarExtraContent: tabBarExtraContent, + items: tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item, index) { + var _item$key; + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + label: item.tab + }, item), {}, { + key: ((_item$key = item.key) === null || _item$key === void 0 ? void 0 : _item$key.toString()) || (index === null || index === void 0 ? void 0 : index.toString()) + }); + }) + }, tabProps), {}, { + children: (0,compareVersions/* compareVersions */.n)(version/* default */.Z, '4.23.0') < 0 ? tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z.TabPane, (0,objectSpread2/* default */.Z)({ + tab: item.tab + }, item), item.key || index); + }) : null + })); + } + return null; +}; +var renderPageHeader = function renderPageHeader(content, extraContent, prefixedClassName, hashId) { + if (!content && !extraContent) { + return null; + } + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(prefixedClassName, "-detail ").concat(hashId).trim(), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(prefixedClassName, "-main ").concat(hashId).trim(), + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(prefixedClassName, "-row ").concat(hashId).trim(), + children: [content && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(prefixedClassName, "-content ").concat(hashId).trim(), + children: content + }), extraContent && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(prefixedClassName, "-extraContent ").concat(hashId).trim(), + children: extraContent + })] + }) + }) + }); +}; + +/** + * 配置与面包屑相同,只是增加了自动根据路由计算面包屑的功能。此功能必须要在 ProLayout 中使用。 + * + * @param props + * @returns + */ +var ProBreadcrumb = function ProBreadcrumb(props) { + var value = useContext(RouteContext); + return /*#__PURE__*/_jsx("div", { + style: { + height: '100%', + display: 'flex', + alignItems: 'center' + }, + children: /*#__PURE__*/_jsx(Breadcrumb, _objectSpread(_objectSpread(_objectSpread({}, value === null || value === void 0 ? void 0 : value.breadcrumb), value === null || value === void 0 ? void 0 : value.breadcrumbProps), props)) + }); +}; +var memoRenderPageHeader = function memoRenderPageHeader(props) { + var _breadcrumb$items; + var title = props.title, + content = props.content, + pageHeaderRender = props.pageHeaderRender, + header = props.header, + prefixedClassName = props.prefixedClassName, + extraContent = props.extraContent, + childrenContentStyle = props.childrenContentStyle, + style = props.style, + prefixCls = props.prefixCls, + hashId = props.hashId, + value = props.value, + breadcrumbRender = props.breadcrumbRender, + restProps = (0,objectWithoutProperties/* default */.Z)(props, PageContainer_excluded); + var getBreadcrumbRender = function getBreadcrumbRender() { + if (!breadcrumbRender) { + return undefined; + } + return breadcrumbRender; + }; + if (pageHeaderRender === false) { + return null; + } + if (pageHeaderRender) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [" ", pageHeaderRender((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), value))] + }); + } + var pageHeaderTitle = title; + if (!title && title !== false) { + pageHeaderTitle = value.title; + } + var pageHeaderProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, value), {}, { + title: pageHeaderTitle + }, restProps), {}, { + footer: PageContainer_renderFooter((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, restProps), {}, { + hashId: hashId, + breadcrumbRender: breadcrumbRender, + prefixedClassName: prefixedClassName + })) + }, header); + var _ref2 = pageHeaderProps, + breadcrumb = _ref2.breadcrumb; + var noHasBreadCrumb = (!breadcrumb || !(breadcrumb !== null && breadcrumb !== void 0 && breadcrumb.itemRender) && !(breadcrumb !== null && breadcrumb !== void 0 && (_breadcrumb$items = breadcrumb.items) !== null && _breadcrumb$items !== void 0 && _breadcrumb$items.length)) && !breadcrumbRender; + if (['title', 'subTitle', 'extra', 'tags', 'footer', 'avatar', 'backIcon'].every(function (item) { + return !pageHeaderProps[item]; + }) && noHasBreadCrumb && !content && !extraContent) { + return null; + } + return /*#__PURE__*/(0,jsx_runtime.jsx)(PageHeader, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, pageHeaderProps), {}, { + className: "".concat(prefixedClassName, "-warp-page-header ").concat(hashId).trim(), + breadcrumb: breadcrumbRender === false ? undefined : (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, pageHeaderProps.breadcrumb), value.breadcrumbProps), + breadcrumbRender: getBreadcrumbRender(), + prefixCls: prefixCls, + children: (header === null || header === void 0 ? void 0 : header.children) || renderPageHeader(content, extraContent, prefixedClassName, hashId) + })); +}; +var PageContainerBase = function PageContainerBase(props) { + var _restProps$header2, _token$layout; + var children = props.children, + _props$loading = props.loading, + loading = _props$loading === void 0 ? false : _props$loading, + className = props.className, + style = props.style, + footer = props.footer, + affixProps = props.affixProps, + propsToken = props.token, + fixedHeader = props.fixedHeader, + breadcrumbRender = props.breadcrumbRender, + footerToolBarProps = props.footerToolBarProps, + childrenContentStyle = props.childrenContentStyle, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded2); + var value = (0,_react_17_0_2_react.useContext)(context_RouteContext/* RouteContext */.X); + /** 告诉 props 是否存在 footerBar */ + (0,_react_17_0_2_react.useEffect)(function () { + var _value$setHasPageCont; + if (!value || !(value !== null && value !== void 0 && value.setHasPageContainer)) { + return function () {}; + } + value === null || value === void 0 || (_value$setHasPageCont = value.setHasPageContainer) === null || _value$setHasPageCont === void 0 || _value$setHasPageCont.call(value, function (num) { + return num + 1; + }); + return function () { + var _value$setHasPageCont2; + value === null || value === void 0 || (_value$setHasPageCont2 = value.setHasPageContainer) === null || _value$setHasPageCont2 === void 0 || _value$setHasPageCont2.call(value, function (num) { + return num - 1; + }); + }; + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + var _useContext = (0,_react_17_0_2_react.useContext)(es/* ProProvider */.L_), + token = _useContext.token; + var _useContext2 = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + getPrefixCls = _useContext2.getPrefixCls; + var prefixCls = props.prefixCls || getPrefixCls('pro'); + var basePageContainer = "".concat(prefixCls, "-page-container"); + var _useStyle = PageContainer_style_useStyle(basePageContainer, propsToken), + wrapSSR = _useStyle.wrapSSR, + hashId = _useStyle.hashId; + var stylish = useStylish("".concat(basePageContainer, ".").concat(basePageContainer, "-stylish"), { + stylish: props.stylish + }); + var memoBreadcrumbRender = (0,_react_17_0_2_react.useMemo)(function () { + var _restProps$header; + if (breadcrumbRender == false) return false; + return breadcrumbRender || (restProps === null || restProps === void 0 || (_restProps$header = restProps.header) === null || _restProps$header === void 0 ? void 0 : _restProps$header.breadcrumbRender); + }, [breadcrumbRender, restProps === null || restProps === void 0 || (_restProps$header2 = restProps.header) === null || _restProps$header2 === void 0 ? void 0 : _restProps$header2.breadcrumbRender]); + var pageHeaderDom = memoRenderPageHeader((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, restProps), {}, { + breadcrumbRender: memoBreadcrumbRender, + ghost: true, + hashId: hashId, + prefixCls: undefined, + prefixedClassName: basePageContainer, + value: value + })); + var loadingDom = (0,_react_17_0_2_react.useMemo)(function () { + // 当loading时一个合法的ReactNode时,说明用户使用了自定义loading,直接返回改自定义loading + if ( /*#__PURE__*/_react_17_0_2_react.isValidElement(loading)) { + return loading; + } + // 当传递过来的是布尔值,并且为false时,说明不需要显示loading,返回null + if (typeof loading === 'boolean' && !loading) { + return null; + } + // 如非上述两种情况,那么要么用户传了一个true,要么用户传了loading配置,使用genLoading生成loading配置后返回PageLoading + var spinProps = genLoading(loading); + // 如果传的是loading配置,但spinning传的是false,也不需要显示loading + return spinProps.spinning ? /*#__PURE__*/(0,jsx_runtime.jsx)(PageLoading, (0,objectSpread2/* default */.Z)({}, spinProps)) : null; + }, [loading]); + var content = (0,_react_17_0_2_react.useMemo)(function () { + return children ? /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: _classnames_2_5_1_classnames_default()(hashId, "".concat(basePageContainer, "-children-container"), (0,defineProperty/* default */.Z)({}, "".concat(basePageContainer, "-children-container-no-header"), !pageHeaderDom)), + style: childrenContentStyle, + children: children + }) + }) : null; + }, [children, basePageContainer, childrenContentStyle, hashId]); + var renderContentDom = (0,_react_17_0_2_react.useMemo)(function () { + // 只要loadingDom非空我们就渲染loadingDom,否则渲染内容 + var dom = loadingDom || content; + if (props.waterMarkProps || value.waterMarkProps) { + var waterMarkProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, value.waterMarkProps), props.waterMarkProps); + return /*#__PURE__*/(0,jsx_runtime.jsx)(WaterMark, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, waterMarkProps), {}, { + children: dom + })); + } + return dom; + }, [props.waterMarkProps, value.waterMarkProps, loadingDom, content]); + var containerClassName = _classnames_2_5_1_classnames_default()(basePageContainer, hashId, className, (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({}, "".concat(basePageContainer, "-with-footer"), footer), "".concat(basePageContainer, "-with-affix"), fixedHeader && pageHeaderDom), "".concat(basePageContainer, "-stylish"), !!restProps.stylish)); + return wrapSSR(stylish.wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: style, + className: containerClassName, + children: [fixedHeader && pageHeaderDom ? + /*#__PURE__*/ + // 在 hasHeader 且 fixedHeader 的情况下,才需要设置高度 + (0,jsx_runtime.jsx)(affix/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + offsetTop: value.hasHeader && value.fixedHeader ? (_token$layout = token.layout) === null || _token$layout === void 0 || (_token$layout = _token$layout.header) === null || _token$layout === void 0 ? void 0 : _token$layout.heightLayoutHeader : 1 + }, affixProps), {}, { + className: "".concat(basePageContainer, "-affix ").concat(hashId).trim(), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(basePageContainer, "-warp ").concat(hashId).trim(), + children: pageHeaderDom + }) + })) : pageHeaderDom, renderContentDom && /*#__PURE__*/(0,jsx_runtime.jsx)(GridContent, { + children: renderContentDom + })] + }), footer && /*#__PURE__*/(0,jsx_runtime.jsx)(FooterToolbar/* FooterToolbar */.S, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + stylish: restProps.footerStylish, + prefixCls: prefixCls + }, footerToolBarProps), {}, { + children: footer + }))] + }))); +}; +var PageContainer = function PageContainer(props) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(es/* ProConfigProvider */._Y, { + needDeps: true, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(PageContainerBase, (0,objectSpread2/* default */.Z)({}, props)) + }); +}; +var ProPageHeader = function ProPageHeader(props) { + var value = useContext(RouteContext); + return memoRenderPageHeader(_objectSpread(_objectSpread({}, props), {}, { + hashId: '', + value: value + })); +}; + + +/***/ }), + +/***/ 74039: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/context/RouteContext.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ X: function() { return /* binding */ RouteContext; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); + +var RouteContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({}); + +/***/ }), + +/***/ 56762: +/*!************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@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 react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); + +function useForceUpdate() { + const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0); + return forceUpdate; +} + +/***/ }), + +/***/ 27666: +/*!****************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js ***! + \****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 65093); +/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 23073); + + +function throttleByAnimationFrame(fn) { + let requestId; + const later = args => () => { + requestId = null; + fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args)); + }; + const throttled = function () { + if (requestId == null) { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args)); + } + }; + throttled.cancel = () => { + rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.cancel(requestId); + requestId = null; + }; + return throttled; +} +/* harmony default export */ __webpack_exports__.Z = (throttleByAnimationFrame); + +/***/ }), + +/***/ 81228: +/*!*********************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/affix/index.js + 2 modules ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ affix; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(44202); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(86773); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(82412); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(52444); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js +var _classnames_2_5_1_classnames = __webpack_require__(92310); +var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); +// EXTERNAL MODULE: ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/index.js + 4 modules +var es = __webpack_require__(29301); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js +var omit = __webpack_require__(64002); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js +var throttleByAnimationFrame = __webpack_require__(27666); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js +var context = __webpack_require__(36355); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(83116); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js +var statistic = __webpack_require__(37613); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/style/index.js + +// ============================== Shared ============================== +const genSharedAffixStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: { + position: 'fixed', + zIndex: token.zIndexPopup + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var style = ((0,genComponentStyleHook/* default */.Z)('Affix', token => { + const affixToken = (0,statistic/* merge */.TS)(token, { + zIndexPopup: token.zIndexBase + 10 + }); + return [genSharedAffixStyle(affixToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/utils.js +function getTargetRect(target) { + return target !== window ? target.getBoundingClientRect() : { + top: 0, + bottom: window.innerHeight + }; +} +function getFixedTop(placeholderRect, targetRect, offsetTop) { + if (offsetTop !== undefined && targetRect.top > placeholderRect.top - offsetTop) { + return offsetTop + targetRect.top; + } + return undefined; +} +function getFixedBottom(placeholderRect, targetRect, offsetBottom) { + if (offsetBottom !== undefined && targetRect.bottom < placeholderRect.bottom + offsetBottom) { + const targetBottomOffset = window.innerHeight - targetRect.bottom; + return offsetBottom + targetBottomOffset; + } + return undefined; +} +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/index.js +"use client"; + + + + + + + + + + + + + +const TRIGGER_EVENTS = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load']; +function getDefaultTarget() { + return typeof window !== 'undefined' ? window : null; +} +var AffixStatus; +(function (AffixStatus) { + AffixStatus[AffixStatus["None"] = 0] = "None"; + AffixStatus[AffixStatus["Prepare"] = 1] = "Prepare"; +})(AffixStatus || (AffixStatus = {})); +let InternalAffix = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(InternalAffix, _React$Component); + var _super = (0,createSuper/* default */.Z)(InternalAffix); + function InternalAffix() { + var _this; + (0,classCallCheck/* default */.Z)(this, InternalAffix); + _this = _super.apply(this, arguments); + _this.state = { + status: AffixStatus.None, + lastAffix: false, + prevTarget: null + }; + _this.placeholderNodeRef = /*#__PURE__*/(0,_react_17_0_2_react.createRef)(); + _this.fixedNodeRef = /*#__PURE__*/(0,_react_17_0_2_react.createRef)(); + _this.addListeners = () => { + const targetFunc = _this.getTargetFunc(); + const target = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); + const { + prevTarget + } = _this.state; + if (prevTarget !== target) { + TRIGGER_EVENTS.forEach(eventName => { + prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + target === null || target === void 0 ? void 0 : target.addEventListener(eventName, _this.lazyUpdatePosition); + }); + _this.updatePosition(); + _this.setState({ + prevTarget: target + }); + } + }; + _this.removeListeners = () => { + if (_this.timer) { + clearTimeout(_this.timer); + _this.timer = null; + } + const { + prevTarget + } = _this.state; + const targetFunc = _this.getTargetFunc(); + const newTarget = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); + TRIGGER_EVENTS.forEach(eventName => { + newTarget === null || newTarget === void 0 ? void 0 : newTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + }); + _this.updatePosition.cancel(); + // https://github.com/ant-design/ant-design/issues/22683 + _this.lazyUpdatePosition.cancel(); + }; + _this.getOffsetTop = () => { + const { + offsetBottom, + offsetTop + } = _this.props; + return offsetBottom === undefined && offsetTop === undefined ? 0 : offsetTop; + }; + _this.getOffsetBottom = () => _this.props.offsetBottom; + // =================== Measure =================== + _this.measure = () => { + const { + status, + lastAffix + } = _this.state; + const { + onChange + } = _this.props; + const targetFunc = _this.getTargetFunc(); + if (status !== AffixStatus.Prepare || !_this.fixedNodeRef.current || !_this.placeholderNodeRef.current || !targetFunc) { + return; + } + const offsetTop = _this.getOffsetTop(); + const offsetBottom = _this.getOffsetBottom(); + const targetNode = targetFunc(); + if (targetNode) { + const newState = { + status: AffixStatus.None + }; + const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); + if (placeholderRect.top === 0 && placeholderRect.left === 0 && placeholderRect.width === 0 && placeholderRect.height === 0) { + return; + } + const targetRect = getTargetRect(targetNode); + const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); + const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); + if (fixedTop !== undefined) { + newState.affixStyle = { + position: 'fixed', + top: fixedTop, + width: placeholderRect.width, + height: placeholderRect.height + }; + newState.placeholderStyle = { + width: placeholderRect.width, + height: placeholderRect.height + }; + } else if (fixedBottom !== undefined) { + newState.affixStyle = { + position: 'fixed', + bottom: fixedBottom, + width: placeholderRect.width, + height: placeholderRect.height + }; + newState.placeholderStyle = { + width: placeholderRect.width, + height: placeholderRect.height + }; + } + newState.lastAffix = !!newState.affixStyle; + if (onChange && lastAffix !== newState.lastAffix) { + onChange(newState.lastAffix); + } + _this.setState(newState); + } + }; + _this.prepareMeasure = () => { + // event param is used before. Keep compatible ts define here. + _this.setState({ + status: AffixStatus.Prepare, + affixStyle: undefined, + placeholderStyle: undefined + }); + // Test if `updatePosition` called + if (false) {} + }; + _this.updatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { + _this.prepareMeasure(); + }); + _this.lazyUpdatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { + const targetFunc = _this.getTargetFunc(); + const { + affixStyle + } = _this.state; + // Check position change before measure to make Safari smooth + if (targetFunc && affixStyle) { + const offsetTop = _this.getOffsetTop(); + const offsetBottom = _this.getOffsetBottom(); + const targetNode = targetFunc(); + if (targetNode && _this.placeholderNodeRef.current) { + const targetRect = getTargetRect(targetNode); + const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); + const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); + const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); + if (fixedTop !== undefined && affixStyle.top === fixedTop || fixedBottom !== undefined && affixStyle.bottom === fixedBottom) { + return; + } + } + } + // Directly call prepare measure since it's already throttled. + _this.prepareMeasure(); + }); + return _this; + } + (0,createClass/* default */.Z)(InternalAffix, [{ + key: "getTargetFunc", + value: function getTargetFunc() { + const { + getTargetContainer + } = this.context; + const { + target + } = this.props; + if (target !== undefined) { + return target; + } + return getTargetContainer !== null && getTargetContainer !== void 0 ? getTargetContainer : getDefaultTarget; + } + // Event handler + }, { + key: "componentDidMount", + value: function componentDidMount() { + // [Legacy] Wait for parent component ref has its value. + // We should use target as directly element instead of function which makes element check hard. + this.timer = setTimeout(this.addListeners); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + this.addListeners(); + if (prevProps.offsetTop !== this.props.offsetTop || prevProps.offsetBottom !== this.props.offsetBottom) { + this.updatePosition(); + } + this.measure(); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.removeListeners(); + } + // =================== Render =================== + }, { + key: "render", + value: function render() { + const { + affixStyle, + placeholderStyle + } = this.state; + const { + affixPrefixCls, + rootClassName, + children + } = this.props; + const className = _classnames_2_5_1_classnames_default()(affixStyle && rootClassName, { + [affixPrefixCls]: !!affixStyle + }); + let props = (0,omit/* default */.Z)(this.props, ['prefixCls', 'offsetTop', 'offsetBottom', 'target', 'onChange', 'affixPrefixCls', 'rootClassName']); + // Omit this since `onTestUpdatePosition` only works on test. + if (false) {} + return /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, { + onResize: this.updatePosition + }, /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({}, props, { + ref: this.placeholderNodeRef + }), affixStyle && /*#__PURE__*/_react_17_0_2_react.createElement("div", { + style: placeholderStyle, + "aria-hidden": "true" + }), /*#__PURE__*/_react_17_0_2_react.createElement("div", { + className: className, + ref: this.fixedNodeRef, + style: affixStyle + }, /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, { + onResize: this.updatePosition + }, children)))); + } + }]); + return InternalAffix; +}(_react_17_0_2_react.Component); +InternalAffix.contextType = context/* ConfigContext */.E_; +const Affix = /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)((props, ref) => { + const { + prefixCls: customizePrefixCls, + rootClassName + } = props; + const { + getPrefixCls + } = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_); + const affixPrefixCls = getPrefixCls('affix', customizePrefixCls); + const [wrapSSR, hashId] = style(affixPrefixCls); + const AffixProps = Object.assign(Object.assign({}, props), { + affixPrefixCls, + rootClassName: _classnames_2_5_1_classnames_default()(rootClassName, hashId) + }); + return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(InternalAffix, Object.assign({}, AffixProps, { + ref: ref + }))); +}); +if (false) {} +/* harmony default export */ var affix = (Affix); + +/***/ }), + +/***/ 8628: +/*!**********************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/grid/hooks/useBreakpoint.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/hooks/useLayoutEffect */ 28800); +/* harmony import */ var _util_hooks_useForceUpdate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_util/hooks/useForceUpdate */ 56762); +/* harmony import */ var _util_responsiveObserver__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_util/responsiveObserver */ 69507); +"use client"; + + + + + +function useBreakpoint() { + let refreshOnChange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + const screensRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({}); + const forceUpdate = (0,_util_hooks_useForceUpdate__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(); + const responsiveObserver = (0,_util_responsiveObserver__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)(); + (0,rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(() => { + const token = responsiveObserver.subscribe(supportScreens => { + screensRef.current = supportScreens; + if (refreshOnChange) { + forceUpdate(); + } + }); + return () => responsiveObserver.unsubscribe(token); + }, []); + return screensRef.current; +} +/* harmony default export */ __webpack_exports__.Z = (useBreakpoint); + +/***/ }) + +}]); \ No newline at end of file diff --git a/13294.3756fa91.async.js b/13294.3756fa91.async.js new file mode 100644 index 0000000000..c719237096 --- /dev/null +++ b/13294.3756fa91.async.js @@ -0,0 +1,742 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[13294],{ + +/***/ 42404: +/*!********************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/ReloadOutlined.js + 1 modules ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_ReloadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(16378); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/ReloadOutlined.js +// This icon file is generated automatically. +var ReloadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" } }] }, "name": "reload", "theme": "outlined" }; +/* harmony default export */ var asn_ReloadOutlined = (ReloadOutlined); + +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(31533); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/ReloadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ReloadOutlined_ReloadOutlined = function ReloadOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ReloadOutlined + })); +}; + +/** */ +var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(ReloadOutlined_ReloadOutlined); +if (false) {} +/* harmony default export */ var icons_ReloadOutlined = (RefIcon); + +/***/ }), + +/***/ 74928: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/SettingOutlined.js + 1 modules ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_SettingOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(16378); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/SettingOutlined.js +// This icon file is generated automatically. +var SettingOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" } }] }, "name": "setting", "theme": "outlined" }; +/* harmony default export */ var asn_SettingOutlined = (SettingOutlined); + +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(31533); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/SettingOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var SettingOutlined_SettingOutlined = function SettingOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_SettingOutlined + })); +}; + +/** */ +var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(SettingOutlined_SettingOutlined); +if (false) {} +/* harmony default export */ var icons_SettingOutlined = (RefIcon); + +/***/ }), + +/***/ 27666: +/*!****************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js ***! + \****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 65093); +/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 23073); + + +function throttleByAnimationFrame(fn) { + let requestId; + const later = args => () => { + requestId = null; + fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args)); + }; + const throttled = function () { + if (requestId == null) { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args)); + } + }; + throttled.cancel = () => { + rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.cancel(requestId); + requestId = null; + }; + return throttled; +} +/* harmony default export */ __webpack_exports__.Z = (throttleByAnimationFrame); + +/***/ }), + +/***/ 81228: +/*!*********************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/affix/index.js + 2 modules ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ affix; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(44202); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(86773); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(82412); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(52444); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js +var _classnames_2_5_1_classnames = __webpack_require__(92310); +var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); +// EXTERNAL MODULE: ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/index.js + 4 modules +var es = __webpack_require__(29301); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js +var omit = __webpack_require__(64002); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js +var throttleByAnimationFrame = __webpack_require__(27666); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js +var context = __webpack_require__(36355); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(83116); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js +var statistic = __webpack_require__(37613); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/style/index.js + +// ============================== Shared ============================== +const genSharedAffixStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: { + position: 'fixed', + zIndex: token.zIndexPopup + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var style = ((0,genComponentStyleHook/* default */.Z)('Affix', token => { + const affixToken = (0,statistic/* merge */.TS)(token, { + zIndexPopup: token.zIndexBase + 10 + }); + return [genSharedAffixStyle(affixToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/utils.js +function getTargetRect(target) { + return target !== window ? target.getBoundingClientRect() : { + top: 0, + bottom: window.innerHeight + }; +} +function getFixedTop(placeholderRect, targetRect, offsetTop) { + if (offsetTop !== undefined && targetRect.top > placeholderRect.top - offsetTop) { + return offsetTop + targetRect.top; + } + return undefined; +} +function getFixedBottom(placeholderRect, targetRect, offsetBottom) { + if (offsetBottom !== undefined && targetRect.bottom < placeholderRect.bottom + offsetBottom) { + const targetBottomOffset = window.innerHeight - targetRect.bottom; + return offsetBottom + targetBottomOffset; + } + return undefined; +} +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/index.js +"use client"; + + + + + + + + + + + + + +const TRIGGER_EVENTS = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load']; +function getDefaultTarget() { + return typeof window !== 'undefined' ? window : null; +} +var AffixStatus; +(function (AffixStatus) { + AffixStatus[AffixStatus["None"] = 0] = "None"; + AffixStatus[AffixStatus["Prepare"] = 1] = "Prepare"; +})(AffixStatus || (AffixStatus = {})); +let InternalAffix = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(InternalAffix, _React$Component); + var _super = (0,createSuper/* default */.Z)(InternalAffix); + function InternalAffix() { + var _this; + (0,classCallCheck/* default */.Z)(this, InternalAffix); + _this = _super.apply(this, arguments); + _this.state = { + status: AffixStatus.None, + lastAffix: false, + prevTarget: null + }; + _this.placeholderNodeRef = /*#__PURE__*/(0,_react_17_0_2_react.createRef)(); + _this.fixedNodeRef = /*#__PURE__*/(0,_react_17_0_2_react.createRef)(); + _this.addListeners = () => { + const targetFunc = _this.getTargetFunc(); + const target = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); + const { + prevTarget + } = _this.state; + if (prevTarget !== target) { + TRIGGER_EVENTS.forEach(eventName => { + prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + target === null || target === void 0 ? void 0 : target.addEventListener(eventName, _this.lazyUpdatePosition); + }); + _this.updatePosition(); + _this.setState({ + prevTarget: target + }); + } + }; + _this.removeListeners = () => { + if (_this.timer) { + clearTimeout(_this.timer); + _this.timer = null; + } + const { + prevTarget + } = _this.state; + const targetFunc = _this.getTargetFunc(); + const newTarget = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); + TRIGGER_EVENTS.forEach(eventName => { + newTarget === null || newTarget === void 0 ? void 0 : newTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + }); + _this.updatePosition.cancel(); + // https://github.com/ant-design/ant-design/issues/22683 + _this.lazyUpdatePosition.cancel(); + }; + _this.getOffsetTop = () => { + const { + offsetBottom, + offsetTop + } = _this.props; + return offsetBottom === undefined && offsetTop === undefined ? 0 : offsetTop; + }; + _this.getOffsetBottom = () => _this.props.offsetBottom; + // =================== Measure =================== + _this.measure = () => { + const { + status, + lastAffix + } = _this.state; + const { + onChange + } = _this.props; + const targetFunc = _this.getTargetFunc(); + if (status !== AffixStatus.Prepare || !_this.fixedNodeRef.current || !_this.placeholderNodeRef.current || !targetFunc) { + return; + } + const offsetTop = _this.getOffsetTop(); + const offsetBottom = _this.getOffsetBottom(); + const targetNode = targetFunc(); + if (targetNode) { + const newState = { + status: AffixStatus.None + }; + const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); + if (placeholderRect.top === 0 && placeholderRect.left === 0 && placeholderRect.width === 0 && placeholderRect.height === 0) { + return; + } + const targetRect = getTargetRect(targetNode); + const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); + const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); + if (fixedTop !== undefined) { + newState.affixStyle = { + position: 'fixed', + top: fixedTop, + width: placeholderRect.width, + height: placeholderRect.height + }; + newState.placeholderStyle = { + width: placeholderRect.width, + height: placeholderRect.height + }; + } else if (fixedBottom !== undefined) { + newState.affixStyle = { + position: 'fixed', + bottom: fixedBottom, + width: placeholderRect.width, + height: placeholderRect.height + }; + newState.placeholderStyle = { + width: placeholderRect.width, + height: placeholderRect.height + }; + } + newState.lastAffix = !!newState.affixStyle; + if (onChange && lastAffix !== newState.lastAffix) { + onChange(newState.lastAffix); + } + _this.setState(newState); + } + }; + _this.prepareMeasure = () => { + // event param is used before. Keep compatible ts define here. + _this.setState({ + status: AffixStatus.Prepare, + affixStyle: undefined, + placeholderStyle: undefined + }); + // Test if `updatePosition` called + if (false) {} + }; + _this.updatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { + _this.prepareMeasure(); + }); + _this.lazyUpdatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { + const targetFunc = _this.getTargetFunc(); + const { + affixStyle + } = _this.state; + // Check position change before measure to make Safari smooth + if (targetFunc && affixStyle) { + const offsetTop = _this.getOffsetTop(); + const offsetBottom = _this.getOffsetBottom(); + const targetNode = targetFunc(); + if (targetNode && _this.placeholderNodeRef.current) { + const targetRect = getTargetRect(targetNode); + const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); + const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); + const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); + if (fixedTop !== undefined && affixStyle.top === fixedTop || fixedBottom !== undefined && affixStyle.bottom === fixedBottom) { + return; + } + } + } + // Directly call prepare measure since it's already throttled. + _this.prepareMeasure(); + }); + return _this; + } + (0,createClass/* default */.Z)(InternalAffix, [{ + key: "getTargetFunc", + value: function getTargetFunc() { + const { + getTargetContainer + } = this.context; + const { + target + } = this.props; + if (target !== undefined) { + return target; + } + return getTargetContainer !== null && getTargetContainer !== void 0 ? getTargetContainer : getDefaultTarget; + } + // Event handler + }, { + key: "componentDidMount", + value: function componentDidMount() { + // [Legacy] Wait for parent component ref has its value. + // We should use target as directly element instead of function which makes element check hard. + this.timer = setTimeout(this.addListeners); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + this.addListeners(); + if (prevProps.offsetTop !== this.props.offsetTop || prevProps.offsetBottom !== this.props.offsetBottom) { + this.updatePosition(); + } + this.measure(); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.removeListeners(); + } + // =================== Render =================== + }, { + key: "render", + value: function render() { + const { + affixStyle, + placeholderStyle + } = this.state; + const { + affixPrefixCls, + rootClassName, + children + } = this.props; + const className = _classnames_2_5_1_classnames_default()(affixStyle && rootClassName, { + [affixPrefixCls]: !!affixStyle + }); + let props = (0,omit/* default */.Z)(this.props, ['prefixCls', 'offsetTop', 'offsetBottom', 'target', 'onChange', 'affixPrefixCls', 'rootClassName']); + // Omit this since `onTestUpdatePosition` only works on test. + if (false) {} + return /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, { + onResize: this.updatePosition + }, /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({}, props, { + ref: this.placeholderNodeRef + }), affixStyle && /*#__PURE__*/_react_17_0_2_react.createElement("div", { + style: placeholderStyle, + "aria-hidden": "true" + }), /*#__PURE__*/_react_17_0_2_react.createElement("div", { + className: className, + ref: this.fixedNodeRef, + style: affixStyle + }, /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, { + onResize: this.updatePosition + }, children)))); + } + }]); + return InternalAffix; +}(_react_17_0_2_react.Component); +InternalAffix.contextType = context/* ConfigContext */.E_; +const Affix = /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)((props, ref) => { + const { + prefixCls: customizePrefixCls, + rootClassName + } = props; + const { + getPrefixCls + } = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_); + const affixPrefixCls = getPrefixCls('affix', customizePrefixCls); + const [wrapSSR, hashId] = style(affixPrefixCls); + const AffixProps = Object.assign(Object.assign({}, props), { + affixPrefixCls, + rootClassName: _classnames_2_5_1_classnames_default()(rootClassName, hashId) + }); + return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(InternalAffix, Object.assign({}, AffixProps, { + ref: ref + }))); +}); +if (false) {} +/* harmony default export */ var affix = (Affix); + +/***/ }), + +/***/ 60028: +/*!**********************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/upload/index.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); +"use client"; + + + +const Upload = _Upload__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z; +Upload.Dragger = _Dragger__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; +Upload.LIST_IGNORE = _Upload__WEBPACK_IMPORTED_MODULE_0__/* .LIST_IGNORE */ .E; +/* harmony default export */ __webpack_exports__.Z = (Upload); + +/***/ }), + +/***/ 24334: +/*!***********************************************************!*\ + !*** ./node_modules/_js-base64@2.6.4@js-base64/base64.js ***! + \***********************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* + * base64.js + * + * Licensed under the BSD 3-Clause License. + * http://opensource.org/licenses/BSD-3-Clause + * + * References: + * http://en.wikipedia.org/wiki/Base64 + */ +;(function (global, factory) { + true + ? module.exports = factory(global) + : 0 +}(( + typeof self !== 'undefined' ? self + : typeof window !== 'undefined' ? window + : typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g +: this +), function(global) { + 'use strict'; + // existing version for noConflict() + global = global || {}; + var _Base64 = global.Base64; + var version = "2.6.4"; + // constants + var b64chars + = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + var b64tab = function(bin) { + var t = {}; + for (var i = 0, l = bin.length; i < l; i++) t[bin.charAt(i)] = i; + return t; + }(b64chars); + var fromCharCode = String.fromCharCode; + // encoder stuff + var cb_utob = function(c) { + if (c.length < 2) { + var cc = c.charCodeAt(0); + return cc < 0x80 ? c + : cc < 0x800 ? (fromCharCode(0xc0 | (cc >>> 6)) + + fromCharCode(0x80 | (cc & 0x3f))) + : (fromCharCode(0xe0 | ((cc >>> 12) & 0x0f)) + + fromCharCode(0x80 | ((cc >>> 6) & 0x3f)) + + fromCharCode(0x80 | ( cc & 0x3f))); + } else { + var cc = 0x10000 + + (c.charCodeAt(0) - 0xD800) * 0x400 + + (c.charCodeAt(1) - 0xDC00); + return (fromCharCode(0xf0 | ((cc >>> 18) & 0x07)) + + fromCharCode(0x80 | ((cc >>> 12) & 0x3f)) + + fromCharCode(0x80 | ((cc >>> 6) & 0x3f)) + + fromCharCode(0x80 | ( cc & 0x3f))); + } + }; + var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g; + var utob = function(u) { + return u.replace(re_utob, cb_utob); + }; + var cb_encode = function(ccc) { + var padlen = [0, 2, 1][ccc.length % 3], + ord = ccc.charCodeAt(0) << 16 + | ((ccc.length > 1 ? ccc.charCodeAt(1) : 0) << 8) + | ((ccc.length > 2 ? ccc.charCodeAt(2) : 0)), + chars = [ + b64chars.charAt( ord >>> 18), + b64chars.charAt((ord >>> 12) & 63), + padlen >= 2 ? '=' : b64chars.charAt((ord >>> 6) & 63), + padlen >= 1 ? '=' : b64chars.charAt(ord & 63) + ]; + return chars.join(''); + }; + var btoa = global.btoa && typeof global.btoa == 'function' + ? function(b){ return global.btoa(b) } : function(b) { + if (b.match(/[^\x00-\xFF]/)) throw new RangeError( + 'The string contains invalid characters.' + ); + return b.replace(/[\s\S]{1,3}/g, cb_encode); + }; + var _encode = function(u) { + return btoa(utob(String(u))); + }; + var mkUriSafe = function (b64) { + return b64.replace(/[+\/]/g, function(m0) { + return m0 == '+' ? '-' : '_'; + }).replace(/=/g, ''); + }; + var encode = function(u, urisafe) { + return urisafe ? mkUriSafe(_encode(u)) : _encode(u); + }; + var encodeURI = function(u) { return encode(u, true) }; + var fromUint8Array; + if (global.Uint8Array) fromUint8Array = function(a, urisafe) { + // return btoa(fromCharCode.apply(null, a)); + var b64 = ''; + for (var i = 0, l = a.length; i < l; i += 3) { + var a0 = a[i], a1 = a[i+1], a2 = a[i+2]; + var ord = a0 << 16 | a1 << 8 | a2; + b64 += b64chars.charAt( ord >>> 18) + + b64chars.charAt((ord >>> 12) & 63) + + ( typeof a1 != 'undefined' + ? b64chars.charAt((ord >>> 6) & 63) : '=') + + ( typeof a2 != 'undefined' + ? b64chars.charAt( ord & 63) : '='); + } + return urisafe ? mkUriSafe(b64) : b64; + }; + // decoder stuff + var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g; + var cb_btou = function(cccc) { + switch(cccc.length) { + case 4: + var cp = ((0x07 & cccc.charCodeAt(0)) << 18) + | ((0x3f & cccc.charCodeAt(1)) << 12) + | ((0x3f & cccc.charCodeAt(2)) << 6) + | (0x3f & cccc.charCodeAt(3)), + offset = cp - 0x10000; + return (fromCharCode((offset >>> 10) + 0xD800) + + fromCharCode((offset & 0x3FF) + 0xDC00)); + case 3: + return fromCharCode( + ((0x0f & cccc.charCodeAt(0)) << 12) + | ((0x3f & cccc.charCodeAt(1)) << 6) + | (0x3f & cccc.charCodeAt(2)) + ); + default: + return fromCharCode( + ((0x1f & cccc.charCodeAt(0)) << 6) + | (0x3f & cccc.charCodeAt(1)) + ); + } + }; + var btou = function(b) { + return b.replace(re_btou, cb_btou); + }; + var cb_decode = function(cccc) { + var len = cccc.length, + padlen = len % 4, + n = (len > 0 ? b64tab[cccc.charAt(0)] << 18 : 0) + | (len > 1 ? b64tab[cccc.charAt(1)] << 12 : 0) + | (len > 2 ? b64tab[cccc.charAt(2)] << 6 : 0) + | (len > 3 ? b64tab[cccc.charAt(3)] : 0), + chars = [ + fromCharCode( n >>> 16), + fromCharCode((n >>> 8) & 0xff), + fromCharCode( n & 0xff) + ]; + chars.length -= [0, 0, 2, 1][padlen]; + return chars.join(''); + }; + var _atob = global.atob && typeof global.atob == 'function' + ? function(a){ return global.atob(a) } : function(a){ + return a.replace(/\S{1,4}/g, cb_decode); + }; + var atob = function(a) { + return _atob(String(a).replace(/[^A-Za-z0-9\+\/]/g, '')); + }; + var _decode = function(a) { return btou(_atob(a)) }; + var _fromURI = function(a) { + return String(a).replace(/[-_]/g, function(m0) { + return m0 == '-' ? '+' : '/' + }).replace(/[^A-Za-z0-9\+\/]/g, ''); + }; + var decode = function(a){ + return _decode(_fromURI(a)); + }; + var toUint8Array; + if (global.Uint8Array) toUint8Array = function(a) { + return Uint8Array.from(atob(_fromURI(a)), function(c) { + return c.charCodeAt(0); + }); + }; + var noConflict = function() { + var Base64 = global.Base64; + global.Base64 = _Base64; + return Base64; + }; + // export Base64 + global.Base64 = { + VERSION: version, + atob: atob, + btoa: btoa, + fromBase64: decode, + toBase64: encode, + utob: utob, + encode: encode, + encodeURI: encodeURI, + btou: btou, + decode: decode, + noConflict: noConflict, + fromUint8Array: fromUint8Array, + toUint8Array: toUint8Array + }; + // if ES5 is available, make Base64.extendString() available + if (typeof Object.defineProperty === 'function') { + var noEnum = function(v){ + return {value:v,enumerable:false,writable:true,configurable:true}; + }; + global.Base64.extendString = function () { + Object.defineProperty( + String.prototype, 'fromBase64', noEnum(function () { + return decode(this) + })); + Object.defineProperty( + String.prototype, 'toBase64', noEnum(function (urisafe) { + return encode(this, urisafe) + })); + Object.defineProperty( + String.prototype, 'toBase64URI', noEnum(function () { + return encode(this, true) + })); + }; + } + // + // export Base64 to the namespace + // + if (global['Meteor']) { // Meteor.js + Base64 = global.Base64; + } + // module.exports and AMD are mutually exclusive. + // module.exports has precedence. + if ( true && module.exports) { + module.exports.Base64 = global.Base64; + } + else if (true) { + // AMD. Register as an anonymous module. + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function(){ return global.Base64 }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } + // that's it! + return {Base64: global.Base64} +})); + + +/***/ }) + +}]); \ No newline at end of file diff --git a/99397.d9468b29.async.js b/39627.c0c2b187.async.js similarity index 63% rename from 99397.d9468b29.async.js rename to 39627.c0c2b187.async.js index f8518c7d46..99cb581678 100644 --- a/99397.d9468b29.async.js +++ b/39627.c0c2b187.async.js @@ -1,3750 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[99397],{ - -/***/ 27439: -/*!**************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/BaseForm/BaseForm.js + 101 modules ***! - \**************************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - I: function() { return /* binding */ BaseForm; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(10859); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(78772); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(35227); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/regeneratorRuntime.js -var regeneratorRuntime = __webpack_require__(62907); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/asyncToGenerator.js -var asyncToGenerator = __webpack_require__(3872); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(65093); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(61206); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/index.js + 2 modules -var es = __webpack_require__(57965); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/runFunction/index.js -var runFunction = __webpack_require__(2005); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/hooks/useRefFunction/index.js -var useRefFunction = __webpack_require__(79866); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/hooks/usePrevious/index.js - -var usePrevious = function usePrevious(state) { - var ref = (0,_react_17_0_2_react.useRef)(); - (0,_react_17_0_2_react.useEffect)(function () { - ref.current = state; - }); - return ref.current; -}; -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/isDeepEqualReact/index.js + 1 modules -var isDeepEqualReact = __webpack_require__(71287); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/components/ProFormContext/index.js -var ProFormContext = __webpack_require__(7610); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(35788); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/nanoid/index.js -var nanoid = __webpack_require__(70294); -// EXTERNAL MODULE: ./node_modules/_swr@2.3.0@swr/dist/index/index.mjs -var index = __webpack_require__(40330); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/hooks/useFetchData/index.js - - - - - -var testId = 0; -function useFetchData(props) { - var abortRef = (0,_react_17_0_2_react.useRef)(null); - /** Key 是用来缓存请求的,如果不在是有问题 */ - var _useState = (0,_react_17_0_2_react.useState)(function () { - if (props.proFieldKey) { - return props.proFieldKey.toString(); - } - testId += 1; - return testId.toString(); - }), - _useState2 = (0,slicedToArray/* default */.Z)(_useState, 1), - cacheKey = _useState2[0]; - var proFieldKeyRef = (0,_react_17_0_2_react.useRef)(cacheKey); - var fetchData = /*#__PURE__*/function () { - var _ref = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee() { - var _abortRef$current, _props$request; - var abort, loadData; - return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - (_abortRef$current = abortRef.current) === null || _abortRef$current === void 0 || _abortRef$current.abort(); - abort = new AbortController(); - abortRef.current = abort; - _context.next = 5; - return Promise.race([(_props$request = props.request) === null || _props$request === void 0 ? void 0 : _props$request.call(props, props.params, props), new Promise(function (_, reject) { - var _abortRef$current2; - (_abortRef$current2 = abortRef.current) === null || _abortRef$current2 === void 0 || (_abortRef$current2 = _abortRef$current2.signal) === null || _abortRef$current2 === void 0 || _abortRef$current2.addEventListener('abort', function () { - reject(new Error('aborted')); - }); - })]); - case 5: - loadData = _context.sent; - return _context.abrupt("return", loadData); - case 7: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function fetchData() { - return _ref.apply(this, arguments); - }; - }(); - (0,_react_17_0_2_react.useEffect)(function () { - return function () { - testId += 1; - }; - }, []); - var _useSWR = (0,index/* default */.ZP)([proFieldKeyRef.current, props.params], fetchData, { - revalidateOnFocus: false, - shouldRetryOnError: false, - revalidateOnReconnect: false - }), - data = _useSWR.data, - error = _useSWR.error; - return [data || error]; -} -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/useStyle/index.js -var useStyle = __webpack_require__(77989); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(42066); -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheClear.js -/** - * Removes all key-value entries from the list cache. - * - * @private - * @name clear - * @memberOf ListCache - */ -function listCacheClear() { - this.__data__ = []; - this.size = 0; -} - -/* harmony default export */ var _listCacheClear = (listCacheClear); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/eq.js -/** - * Performs a - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ -function eq(value, other) { - return value === other || (value !== value && other !== other); -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_eq = (eq); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_assocIndexOf.js - - -/** - * Gets the index at which the `key` is found in `array` of key-value pairs. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} key The key to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function assocIndexOf(array, key) { - var length = array.length; - while (length--) { - if (_lodash_es_4_17_21_lodash_es_eq(array[length][0], key)) { - return length; - } - } - return -1; -} - -/* harmony default export */ var _assocIndexOf = (assocIndexOf); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheDelete.js - - -/** Used for built-in method references. */ -var arrayProto = Array.prototype; - -/** Built-in value references. */ -var splice = arrayProto.splice; - -/** - * Removes `key` and its value from the list cache. - * - * @private - * @name delete - * @memberOf ListCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function listCacheDelete(key) { - var data = this.__data__, - index = _assocIndexOf(data, key); - - if (index < 0) { - return false; - } - var lastIndex = data.length - 1; - if (index == lastIndex) { - data.pop(); - } else { - splice.call(data, index, 1); - } - --this.size; - return true; -} - -/* harmony default export */ var _listCacheDelete = (listCacheDelete); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheGet.js - - -/** - * Gets the list cache value for `key`. - * - * @private - * @name get - * @memberOf ListCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function listCacheGet(key) { - var data = this.__data__, - index = _assocIndexOf(data, key); - - return index < 0 ? undefined : data[index][1]; -} - -/* harmony default export */ var _listCacheGet = (listCacheGet); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheHas.js - - -/** - * Checks if a list cache value for `key` exists. - * - * @private - * @name has - * @memberOf ListCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function listCacheHas(key) { - return _assocIndexOf(this.__data__, key) > -1; -} - -/* harmony default export */ var _listCacheHas = (listCacheHas); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheSet.js - - -/** - * Sets the list cache `key` to `value`. - * - * @private - * @name set - * @memberOf ListCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the list cache instance. - */ -function listCacheSet(key, value) { - var data = this.__data__, - index = _assocIndexOf(data, key); - - if (index < 0) { - ++this.size; - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; -} - -/* harmony default export */ var _listCacheSet = (listCacheSet); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_ListCache.js - - - - - - -/** - * Creates an list cache object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function ListCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} - -// Add methods to `ListCache`. -ListCache.prototype.clear = _listCacheClear; -ListCache.prototype['delete'] = _listCacheDelete; -ListCache.prototype.get = _listCacheGet; -ListCache.prototype.has = _listCacheHas; -ListCache.prototype.set = _listCacheSet; - -/* harmony default export */ var _ListCache = (ListCache); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackClear.js - - -/** - * Removes all key-value entries from the stack. - * - * @private - * @name clear - * @memberOf Stack - */ -function stackClear() { - this.__data__ = new _ListCache; - this.size = 0; -} - -/* harmony default export */ var _stackClear = (stackClear); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackDelete.js -/** - * Removes `key` and its value from the stack. - * - * @private - * @name delete - * @memberOf Stack - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function stackDelete(key) { - var data = this.__data__, - result = data['delete'](key); - - this.size = data.size; - return result; -} - -/* harmony default export */ var _stackDelete = (stackDelete); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackGet.js -/** - * Gets the stack value for `key`. - * - * @private - * @name get - * @memberOf Stack - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function stackGet(key) { - return this.__data__.get(key); -} - -/* harmony default export */ var _stackGet = (stackGet); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackHas.js -/** - * Checks if a stack value for `key` exists. - * - * @private - * @name has - * @memberOf Stack - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function stackHas(key) { - return this.__data__.has(key); -} - -/* harmony default export */ var _stackHas = (stackHas); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_freeGlobal.js -/** Detect free variable `global` from Node.js. */ -var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - -/* harmony default export */ var _freeGlobal = (freeGlobal); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_root.js - - -/** Detect free variable `self`. */ -var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - -/** Used as a reference to the global object. */ -var root = _freeGlobal || freeSelf || Function('return this')(); - -/* harmony default export */ var _root = (root); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Symbol.js - - -/** Built-in value references. */ -var Symbol = _root.Symbol; - -/* harmony default export */ var _Symbol = (Symbol); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getRawTag.js - - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var _getRawTag_hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ -var nativeObjectToString = objectProto.toString; - -/** Built-in value references. */ -var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined; - -/** - * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the raw `toStringTag`. - */ -function getRawTag(value) { - var isOwn = _getRawTag_hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; - - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} - - var result = nativeObjectToString.call(value); - if (unmasked) { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; -} - -/* harmony default export */ var _getRawTag = (getRawTag); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_objectToString.js -/** Used for built-in method references. */ -var _objectToString_objectProto = Object.prototype; - -/** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ -var _objectToString_nativeObjectToString = _objectToString_objectProto.toString; - -/** - * Converts `value` to a string using `Object.prototype.toString`. - * - * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - */ -function objectToString(value) { - return _objectToString_nativeObjectToString.call(value); -} - -/* harmony default export */ var _objectToString = (objectToString); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseGetTag.js - - - - -/** `Object#toString` result references. */ -var nullTag = '[object Null]', - undefinedTag = '[object Undefined]'; - -/** Built-in value references. */ -var _baseGetTag_symToStringTag = _Symbol ? _Symbol.toStringTag : undefined; - -/** - * The base implementation of `getTag` without fallbacks for buggy environments. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ -function baseGetTag(value) { - if (value == null) { - return value === undefined ? undefinedTag : nullTag; - } - return (_baseGetTag_symToStringTag && _baseGetTag_symToStringTag in Object(value)) - ? _getRawTag(value) - : _objectToString(value); -} - -/* harmony default export */ var _baseGetTag = (baseGetTag); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isObject.js -/** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ -function isObject(value) { - var type = typeof value; - return value != null && (type == 'object' || type == 'function'); -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isObject = (isObject); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isFunction.js - - - -/** `Object#toString` result references. */ -var asyncTag = '[object AsyncFunction]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - proxyTag = '[object Proxy]'; - -/** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a function, else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ -function isFunction(value) { - if (!_lodash_es_4_17_21_lodash_es_isObject(value)) { - return false; - } - // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 9 which returns 'object' for typed arrays and other constructors. - var tag = _baseGetTag(value); - return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isFunction = (isFunction); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_coreJsData.js - - -/** Used to detect overreaching core-js shims. */ -var coreJsData = _root['__core-js_shared__']; - -/* harmony default export */ var _coreJsData = (coreJsData); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isMasked.js - - -/** Used to detect methods masquerading as native. */ -var maskSrcKey = (function() { - var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || ''); - return uid ? ('Symbol(src)_1.' + uid) : ''; -}()); - -/** - * Checks if `func` has its source masked. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. - */ -function isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); -} - -/* harmony default export */ var _isMasked = (isMasked); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_toSource.js -/** Used for built-in method references. */ -var funcProto = Function.prototype; - -/** Used to resolve the decompiled source of functions. */ -var funcToString = funcProto.toString; - -/** - * Converts `func` to its source code. - * - * @private - * @param {Function} func The function to convert. - * @returns {string} Returns the source code. - */ -function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return (func + ''); - } catch (e) {} - } - return ''; -} - -/* harmony default export */ var _toSource = (toSource); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseIsNative.js - - - - - -/** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ -var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; - -/** Used to detect host constructors (Safari). */ -var reIsHostCtor = /^\[object .+?Constructor\]$/; - -/** Used for built-in method references. */ -var _baseIsNative_funcProto = Function.prototype, - _baseIsNative_objectProto = Object.prototype; - -/** Used to resolve the decompiled source of functions. */ -var _baseIsNative_funcToString = _baseIsNative_funcProto.toString; - -/** Used to check objects for own properties. */ -var _baseIsNative_hasOwnProperty = _baseIsNative_objectProto.hasOwnProperty; - -/** Used to detect if a method is native. */ -var reIsNative = RegExp('^' + - _baseIsNative_funcToString.call(_baseIsNative_hasOwnProperty).replace(reRegExpChar, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' -); - -/** - * The base implementation of `_.isNative` without bad shim checks. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - */ -function baseIsNative(value) { - if (!_lodash_es_4_17_21_lodash_es_isObject(value) || _isMasked(value)) { - return false; - } - var pattern = _lodash_es_4_17_21_lodash_es_isFunction(value) ? reIsNative : reIsHostCtor; - return pattern.test(_toSource(value)); -} - -/* harmony default export */ var _baseIsNative = (baseIsNative); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getValue.js -/** - * Gets the value at `key` of `object`. - * - * @private - * @param {Object} [object] The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ -function getValue(object, key) { - return object == null ? undefined : object[key]; -} - -/* harmony default export */ var _getValue = (getValue); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getNative.js - - - -/** - * Gets the native function at `key` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the method to get. - * @returns {*} Returns the function if it's native, else `undefined`. - */ -function getNative(object, key) { - var value = _getValue(object, key); - return _baseIsNative(value) ? value : undefined; -} - -/* harmony default export */ var _getNative = (getNative); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Map.js - - - -/* Built-in method references that are verified to be native. */ -var _Map_Map = _getNative(_root, 'Map'); - -/* harmony default export */ var _Map = (_Map_Map); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_nativeCreate.js - - -/* Built-in method references that are verified to be native. */ -var nativeCreate = _getNative(Object, 'create'); - -/* harmony default export */ var _nativeCreate = (nativeCreate); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashClear.js - - -/** - * Removes all key-value entries from the hash. - * - * @private - * @name clear - * @memberOf Hash - */ -function hashClear() { - this.__data__ = _nativeCreate ? _nativeCreate(null) : {}; - this.size = 0; -} - -/* harmony default export */ var _hashClear = (hashClear); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashDelete.js -/** - * Removes `key` and its value from the hash. - * - * @private - * @name delete - * @memberOf Hash - * @param {Object} hash The hash to modify. - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function hashDelete(key) { - var result = this.has(key) && delete this.__data__[key]; - this.size -= result ? 1 : 0; - return result; -} - -/* harmony default export */ var _hashDelete = (hashDelete); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashGet.js - - -/** Used to stand-in for `undefined` hash values. */ -var HASH_UNDEFINED = '__lodash_hash_undefined__'; - -/** Used for built-in method references. */ -var _hashGet_objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var _hashGet_hasOwnProperty = _hashGet_objectProto.hasOwnProperty; - -/** - * Gets the hash value for `key`. - * - * @private - * @name get - * @memberOf Hash - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function hashGet(key) { - var data = this.__data__; - if (_nativeCreate) { - var result = data[key]; - return result === HASH_UNDEFINED ? undefined : result; - } - return _hashGet_hasOwnProperty.call(data, key) ? data[key] : undefined; -} - -/* harmony default export */ var _hashGet = (hashGet); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashHas.js - - -/** Used for built-in method references. */ -var _hashHas_objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var _hashHas_hasOwnProperty = _hashHas_objectProto.hasOwnProperty; - -/** - * Checks if a hash value for `key` exists. - * - * @private - * @name has - * @memberOf Hash - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function hashHas(key) { - var data = this.__data__; - return _nativeCreate ? (data[key] !== undefined) : _hashHas_hasOwnProperty.call(data, key); -} - -/* harmony default export */ var _hashHas = (hashHas); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashSet.js - - -/** Used to stand-in for `undefined` hash values. */ -var _hashSet_HASH_UNDEFINED = '__lodash_hash_undefined__'; - -/** - * Sets the hash `key` to `value`. - * - * @private - * @name set - * @memberOf Hash - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the hash instance. - */ -function hashSet(key, value) { - var data = this.__data__; - this.size += this.has(key) ? 0 : 1; - data[key] = (_nativeCreate && value === undefined) ? _hashSet_HASH_UNDEFINED : value; - return this; -} - -/* harmony default export */ var _hashSet = (hashSet); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Hash.js - - - - - - -/** - * Creates a hash object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function Hash(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} - -// Add methods to `Hash`. -Hash.prototype.clear = _hashClear; -Hash.prototype['delete'] = _hashDelete; -Hash.prototype.get = _hashGet; -Hash.prototype.has = _hashHas; -Hash.prototype.set = _hashSet; - -/* harmony default export */ var _Hash = (Hash); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheClear.js - - - - -/** - * Removes all key-value entries from the map. - * - * @private - * @name clear - * @memberOf MapCache - */ -function mapCacheClear() { - this.size = 0; - this.__data__ = { - 'hash': new _Hash, - 'map': new (_Map || _ListCache), - 'string': new _Hash - }; -} - -/* harmony default export */ var _mapCacheClear = (mapCacheClear); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isKeyable.js -/** - * Checks if `value` is suitable for use as unique object key. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is suitable, else `false`. - */ -function isKeyable(value) { - var type = typeof value; - return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') - ? (value !== '__proto__') - : (value === null); -} - -/* harmony default export */ var _isKeyable = (isKeyable); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getMapData.js - - -/** - * Gets the data for `map`. - * - * @private - * @param {Object} map The map to query. - * @param {string} key The reference key. - * @returns {*} Returns the map data. - */ -function getMapData(map, key) { - var data = map.__data__; - return _isKeyable(key) - ? data[typeof key == 'string' ? 'string' : 'hash'] - : data.map; -} - -/* harmony default export */ var _getMapData = (getMapData); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheDelete.js - - -/** - * Removes `key` and its value from the map. - * - * @private - * @name delete - * @memberOf MapCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ -function mapCacheDelete(key) { - var result = _getMapData(this, key)['delete'](key); - this.size -= result ? 1 : 0; - return result; -} - -/* harmony default export */ var _mapCacheDelete = (mapCacheDelete); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheGet.js - - -/** - * Gets the map value for `key`. - * - * @private - * @name get - * @memberOf MapCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ -function mapCacheGet(key) { - return _getMapData(this, key).get(key); -} - -/* harmony default export */ var _mapCacheGet = (mapCacheGet); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheHas.js - - -/** - * Checks if a map value for `key` exists. - * - * @private - * @name has - * @memberOf MapCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ -function mapCacheHas(key) { - return _getMapData(this, key).has(key); -} - -/* harmony default export */ var _mapCacheHas = (mapCacheHas); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheSet.js - - -/** - * Sets the map `key` to `value`. - * - * @private - * @name set - * @memberOf MapCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the map cache instance. - */ -function mapCacheSet(key, value) { - var data = _getMapData(this, key), - size = data.size; - - data.set(key, value); - this.size += data.size == size ? 0 : 1; - return this; -} - -/* harmony default export */ var _mapCacheSet = (mapCacheSet); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_MapCache.js - - - - - - -/** - * Creates a map cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function MapCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} - -// Add methods to `MapCache`. -MapCache.prototype.clear = _mapCacheClear; -MapCache.prototype['delete'] = _mapCacheDelete; -MapCache.prototype.get = _mapCacheGet; -MapCache.prototype.has = _mapCacheHas; -MapCache.prototype.set = _mapCacheSet; - -/* harmony default export */ var _MapCache = (MapCache); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackSet.js - - - - -/** Used as the size to enable large array optimizations. */ -var LARGE_ARRAY_SIZE = 200; - -/** - * Sets the stack `key` to `value`. - * - * @private - * @name set - * @memberOf Stack - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the stack cache instance. - */ -function stackSet(key, value) { - var data = this.__data__; - if (data instanceof _ListCache) { - var pairs = data.__data__; - if (!_Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { - pairs.push([key, value]); - this.size = ++data.size; - return this; - } - data = this.__data__ = new _MapCache(pairs); - } - data.set(key, value); - this.size = data.size; - return this; -} - -/* harmony default export */ var _stackSet = (stackSet); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Stack.js - - - - - - - -/** - * Creates a stack cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ -function Stack(entries) { - var data = this.__data__ = new _ListCache(entries); - this.size = data.size; -} - -// Add methods to `Stack`. -Stack.prototype.clear = _stackClear; -Stack.prototype['delete'] = _stackDelete; -Stack.prototype.get = _stackGet; -Stack.prototype.has = _stackHas; -Stack.prototype.set = _stackSet; - -/* harmony default export */ var _Stack = (Stack); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_defineProperty.js - - -var _defineProperty_defineProperty = (function() { - try { - var func = _getNative(Object, 'defineProperty'); - func({}, '', {}); - return func; - } catch (e) {} -}()); - -/* harmony default export */ var _defineProperty = (_defineProperty_defineProperty); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseAssignValue.js - - -/** - * The base implementation of `assignValue` and `assignMergeValue` without - * value checks. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ -function baseAssignValue(object, key, value) { - if (key == '__proto__' && _defineProperty) { - _defineProperty(object, key, { - 'configurable': true, - 'enumerable': true, - 'value': value, - 'writable': true - }); - } else { - object[key] = value; - } -} - -/* harmony default export */ var _baseAssignValue = (baseAssignValue); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_assignMergeValue.js - - - -/** - * This function is like `assignValue` except that it doesn't assign - * `undefined` values. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ -function assignMergeValue(object, key, value) { - if ((value !== undefined && !_lodash_es_4_17_21_lodash_es_eq(object[key], value)) || - (value === undefined && !(key in object))) { - _baseAssignValue(object, key, value); - } -} - -/* harmony default export */ var _assignMergeValue = (assignMergeValue); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_createBaseFor.js -/** - * Creates a base function for methods like `_.forIn` and `_.forOwn`. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ -function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { - var index = -1, - iterable = Object(object), - props = keysFunc(object), - length = props.length; - - while (length--) { - var key = props[fromRight ? length : ++index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - }; -} - -/* harmony default export */ var _createBaseFor = (createBaseFor); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseFor.js - - -/** - * The base implementation of `baseForOwn` which iterates over `object` - * properties returned by `keysFunc` and invokes `iteratee` for each property. - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ -var baseFor = _createBaseFor(); - -/* harmony default export */ var _baseFor = (baseFor); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_cloneBuffer.js - - -/** Detect free variable `exports`. */ -var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; - -/** Detect free variable `module`. */ -var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; - -/** Detect the popular CommonJS extension `module.exports`. */ -var moduleExports = freeModule && freeModule.exports === freeExports; - -/** Built-in value references. */ -var Buffer = moduleExports ? _root.Buffer : undefined, - allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined; - -/** - * Creates a clone of `buffer`. - * - * @private - * @param {Buffer} buffer The buffer to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Buffer} Returns the cloned buffer. - */ -function cloneBuffer(buffer, isDeep) { - if (isDeep) { - return buffer.slice(); - } - var length = buffer.length, - result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); - - buffer.copy(result); - return result; -} - -/* harmony default export */ var _cloneBuffer = (cloneBuffer); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Uint8Array.js - - -/** Built-in value references. */ -var Uint8Array = _root.Uint8Array; - -/* harmony default export */ var _Uint8Array = (Uint8Array); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_cloneArrayBuffer.js - - -/** - * Creates a clone of `arrayBuffer`. - * - * @private - * @param {ArrayBuffer} arrayBuffer The array buffer to clone. - * @returns {ArrayBuffer} Returns the cloned array buffer. - */ -function cloneArrayBuffer(arrayBuffer) { - var result = new arrayBuffer.constructor(arrayBuffer.byteLength); - new _Uint8Array(result).set(new _Uint8Array(arrayBuffer)); - return result; -} - -/* harmony default export */ var _cloneArrayBuffer = (cloneArrayBuffer); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_cloneTypedArray.js - - -/** - * Creates a clone of `typedArray`. - * - * @private - * @param {Object} typedArray The typed array to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned typed array. - */ -function cloneTypedArray(typedArray, isDeep) { - var buffer = isDeep ? _cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; - return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); -} - -/* harmony default export */ var _cloneTypedArray = (cloneTypedArray); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_copyArray.js -/** - * Copies the values of `source` to `array`. - * - * @private - * @param {Array} source The array to copy values from. - * @param {Array} [array=[]] The array to copy values to. - * @returns {Array} Returns `array`. - */ -function copyArray(source, array) { - var index = -1, - length = source.length; - - array || (array = Array(length)); - while (++index < length) { - array[index] = source[index]; - } - return array; -} - -/* harmony default export */ var _copyArray = (copyArray); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseCreate.js - - -/** Built-in value references. */ -var objectCreate = Object.create; - -/** - * The base implementation of `_.create` without support for assigning - * properties to the created object. - * - * @private - * @param {Object} proto The object to inherit from. - * @returns {Object} Returns the new object. - */ -var baseCreate = (function() { - function object() {} - return function(proto) { - if (!_lodash_es_4_17_21_lodash_es_isObject(proto)) { - return {}; - } - if (objectCreate) { - return objectCreate(proto); - } - object.prototype = proto; - var result = new object; - object.prototype = undefined; - return result; - }; -}()); - -/* harmony default export */ var _baseCreate = (baseCreate); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_overArg.js -/** - * Creates a unary function that invokes `func` with its argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ -function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; -} - -/* harmony default export */ var _overArg = (overArg); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getPrototype.js - - -/** Built-in value references. */ -var getPrototype = _overArg(Object.getPrototypeOf, Object); - -/* harmony default export */ var _getPrototype = (getPrototype); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isPrototype.js -/** Used for built-in method references. */ -var _isPrototype_objectProto = Object.prototype; - -/** - * Checks if `value` is likely a prototype object. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. - */ -function isPrototype(value) { - var Ctor = value && value.constructor, - proto = (typeof Ctor == 'function' && Ctor.prototype) || _isPrototype_objectProto; - - return value === proto; -} - -/* harmony default export */ var _isPrototype = (isPrototype); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_initCloneObject.js - - - - -/** - * Initializes an object clone. - * - * @private - * @param {Object} object The object to clone. - * @returns {Object} Returns the initialized clone. - */ -function initCloneObject(object) { - return (typeof object.constructor == 'function' && !_isPrototype(object)) - ? _baseCreate(_getPrototype(object)) - : {}; -} - -/* harmony default export */ var _initCloneObject = (initCloneObject); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isObjectLike.js -/** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ -function isObjectLike(value) { - return value != null && typeof value == 'object'; -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isObjectLike = (isObjectLike); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseIsArguments.js - - - -/** `Object#toString` result references. */ -var argsTag = '[object Arguments]'; - -/** - * The base implementation of `_.isArguments`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - */ -function baseIsArguments(value) { - return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && _baseGetTag(value) == argsTag; -} - -/* harmony default export */ var _baseIsArguments = (baseIsArguments); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArguments.js - - - -/** Used for built-in method references. */ -var isArguments_objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var isArguments_hasOwnProperty = isArguments_objectProto.hasOwnProperty; - -/** Built-in value references. */ -var propertyIsEnumerable = isArguments_objectProto.propertyIsEnumerable; - -/** - * Checks if `value` is likely an `arguments` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - * else `false`. - * @example - * - * _.isArguments(function() { return arguments; }()); - * // => true - * - * _.isArguments([1, 2, 3]); - * // => false - */ -var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) { - return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && isArguments_hasOwnProperty.call(value, 'callee') && - !propertyIsEnumerable.call(value, 'callee'); -}; - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArguments = (isArguments); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArray.js -/** - * Checks if `value` is classified as an `Array` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array, else `false`. - * @example - * - * _.isArray([1, 2, 3]); - * // => true - * - * _.isArray(document.body.children); - * // => false - * - * _.isArray('abc'); - * // => false - * - * _.isArray(_.noop); - * // => false - */ -var isArray = Array.isArray; - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArray = (isArray); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isLength.js -/** Used as references for various `Number` constants. */ -var MAX_SAFE_INTEGER = 9007199254740991; - -/** - * Checks if `value` is a valid array-like length. - * - * **Note:** This method is loosely based on - * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ -function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isLength = (isLength); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArrayLike.js - - - -/** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ -function isArrayLike(value) { - return value != null && _lodash_es_4_17_21_lodash_es_isLength(value.length) && !_lodash_es_4_17_21_lodash_es_isFunction(value); -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArrayLike = (isArrayLike); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArrayLikeObject.js - - - -/** - * This method is like `_.isArrayLike` except that it also checks if `value` - * is an object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array-like object, - * else `false`. - * @example - * - * _.isArrayLikeObject([1, 2, 3]); - * // => true - * - * _.isArrayLikeObject(document.body.children); - * // => true - * - * _.isArrayLikeObject('abc'); - * // => false - * - * _.isArrayLikeObject(_.noop); - * // => false - */ -function isArrayLikeObject(value) { - return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && _lodash_es_4_17_21_lodash_es_isArrayLike(value); -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArrayLikeObject = (isArrayLikeObject); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/stubFalse.js -/** - * This method returns `false`. - * - * @static - * @memberOf _ - * @since 4.13.0 - * @category Util - * @returns {boolean} Returns `false`. - * @example - * - * _.times(2, _.stubFalse); - * // => [false, false] - */ -function stubFalse() { - return false; -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_stubFalse = (stubFalse); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isBuffer.js - - - -/** Detect free variable `exports`. */ -var isBuffer_freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; - -/** Detect free variable `module`. */ -var isBuffer_freeModule = isBuffer_freeExports && typeof module == 'object' && module && !module.nodeType && module; - -/** Detect the popular CommonJS extension `module.exports`. */ -var isBuffer_moduleExports = isBuffer_freeModule && isBuffer_freeModule.exports === isBuffer_freeExports; - -/** Built-in value references. */ -var isBuffer_Buffer = isBuffer_moduleExports ? _root.Buffer : undefined; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeIsBuffer = isBuffer_Buffer ? isBuffer_Buffer.isBuffer : undefined; - -/** - * Checks if `value` is a buffer. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. - * @example - * - * _.isBuffer(new Buffer(2)); - * // => true - * - * _.isBuffer(new Uint8Array(2)); - * // => false - */ -var isBuffer = nativeIsBuffer || _lodash_es_4_17_21_lodash_es_stubFalse; - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isBuffer = (isBuffer); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isPlainObject.js - - - - -/** `Object#toString` result references. */ -var objectTag = '[object Object]'; - -/** Used for built-in method references. */ -var isPlainObject_funcProto = Function.prototype, - isPlainObject_objectProto = Object.prototype; - -/** Used to resolve the decompiled source of functions. */ -var isPlainObject_funcToString = isPlainObject_funcProto.toString; - -/** Used to check objects for own properties. */ -var isPlainObject_hasOwnProperty = isPlainObject_objectProto.hasOwnProperty; - -/** Used to infer the `Object` constructor. */ -var objectCtorString = isPlainObject_funcToString.call(Object); - -/** - * Checks if `value` is a plain object, that is, an object created by the - * `Object` constructor or one with a `[[Prototype]]` of `null`. - * - * @static - * @memberOf _ - * @since 0.8.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * _.isPlainObject(new Foo); - * // => false - * - * _.isPlainObject([1, 2, 3]); - * // => false - * - * _.isPlainObject({ 'x': 0, 'y': 0 }); - * // => true - * - * _.isPlainObject(Object.create(null)); - * // => true - */ -function isPlainObject(value) { - if (!_lodash_es_4_17_21_lodash_es_isObjectLike(value) || _baseGetTag(value) != objectTag) { - return false; - } - var proto = _getPrototype(value); - if (proto === null) { - return true; - } - var Ctor = isPlainObject_hasOwnProperty.call(proto, 'constructor') && proto.constructor; - return typeof Ctor == 'function' && Ctor instanceof Ctor && - isPlainObject_funcToString.call(Ctor) == objectCtorString; -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isPlainObject = (isPlainObject); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseIsTypedArray.js - - - - -/** `Object#toString` result references. */ -var _baseIsTypedArray_argsTag = '[object Arguments]', - arrayTag = '[object Array]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - _baseIsTypedArray_funcTag = '[object Function]', - mapTag = '[object Map]', - numberTag = '[object Number]', - _baseIsTypedArray_objectTag = '[object Object]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - weakMapTag = '[object WeakMap]'; - -var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; - -/** Used to identify `toStringTag` values of typed arrays. */ -var typedArrayTags = {}; -typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = -typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = -typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = -typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = -typedArrayTags[uint32Tag] = true; -typedArrayTags[_baseIsTypedArray_argsTag] = typedArrayTags[arrayTag] = -typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = -typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = -typedArrayTags[errorTag] = typedArrayTags[_baseIsTypedArray_funcTag] = -typedArrayTags[mapTag] = typedArrayTags[numberTag] = -typedArrayTags[_baseIsTypedArray_objectTag] = typedArrayTags[regexpTag] = -typedArrayTags[setTag] = typedArrayTags[stringTag] = -typedArrayTags[weakMapTag] = false; - -/** - * The base implementation of `_.isTypedArray` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - */ -function baseIsTypedArray(value) { - return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && - _lodash_es_4_17_21_lodash_es_isLength(value.length) && !!typedArrayTags[_baseGetTag(value)]; -} - -/* harmony default export */ var _baseIsTypedArray = (baseIsTypedArray); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseUnary.js -/** - * The base implementation of `_.unary` without support for storing metadata. - * - * @private - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - */ -function baseUnary(func) { - return function(value) { - return func(value); - }; -} - -/* harmony default export */ var _baseUnary = (baseUnary); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_nodeUtil.js - - -/** Detect free variable `exports`. */ -var _nodeUtil_freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; - -/** Detect free variable `module`. */ -var _nodeUtil_freeModule = _nodeUtil_freeExports && typeof module == 'object' && module && !module.nodeType && module; - -/** Detect the popular CommonJS extension `module.exports`. */ -var _nodeUtil_moduleExports = _nodeUtil_freeModule && _nodeUtil_freeModule.exports === _nodeUtil_freeExports; - -/** Detect free variable `process` from Node.js. */ -var freeProcess = _nodeUtil_moduleExports && _freeGlobal.process; - -/** Used to access faster Node.js helpers. */ -var nodeUtil = (function() { - try { - // Use `util.types` for Node.js 10+. - var types = _nodeUtil_freeModule && _nodeUtil_freeModule.require && _nodeUtil_freeModule.require('util').types; - - if (types) { - return types; - } - - // Legacy `process.binding('util')` for Node.js < 10. - return freeProcess && freeProcess.binding && freeProcess.binding('util'); - } catch (e) {} -}()); - -/* harmony default export */ var _nodeUtil = (nodeUtil); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isTypedArray.js - - - - -/* Node.js helper references. */ -var nodeIsTypedArray = _nodeUtil && _nodeUtil.isTypedArray; - -/** - * Checks if `value` is classified as a typed array. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - * @example - * - * _.isTypedArray(new Uint8Array); - * // => true - * - * _.isTypedArray([]); - * // => false - */ -var isTypedArray = nodeIsTypedArray ? _baseUnary(nodeIsTypedArray) : _baseIsTypedArray; - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isTypedArray = (isTypedArray); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_safeGet.js -/** - * Gets the value at `key`, unless `key` is "__proto__" or "constructor". - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ -function safeGet(object, key) { - if (key === 'constructor' && typeof object[key] === 'function') { - return; - } - - if (key == '__proto__') { - return; - } - - return object[key]; -} - -/* harmony default export */ var _safeGet = (safeGet); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_assignValue.js - - - -/** Used for built-in method references. */ -var _assignValue_objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var _assignValue_hasOwnProperty = _assignValue_objectProto.hasOwnProperty; - -/** - * Assigns `value` to `key` of `object` if the existing value is not equivalent - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ -function assignValue(object, key, value) { - var objValue = object[key]; - if (!(_assignValue_hasOwnProperty.call(object, key) && _lodash_es_4_17_21_lodash_es_eq(objValue, value)) || - (value === undefined && !(key in object))) { - _baseAssignValue(object, key, value); - } -} - -/* harmony default export */ var _assignValue = (assignValue); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_copyObject.js - - - -/** - * Copies properties of `source` to `object`. - * - * @private - * @param {Object} source The object to copy properties from. - * @param {Array} props The property identifiers to copy. - * @param {Object} [object={}] The object to copy properties to. - * @param {Function} [customizer] The function to customize copied values. - * @returns {Object} Returns `object`. - */ -function copyObject(source, props, object, customizer) { - var isNew = !object; - object || (object = {}); - - var index = -1, - length = props.length; - - while (++index < length) { - var key = props[index]; - - var newValue = customizer - ? customizer(object[key], source[key], key, object, source) - : undefined; - - if (newValue === undefined) { - newValue = source[key]; - } - if (isNew) { - _baseAssignValue(object, key, newValue); - } else { - _assignValue(object, key, newValue); - } - } - return object; -} - -/* harmony default export */ var _copyObject = (copyObject); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseTimes.js -/** - * The base implementation of `_.times` without support for iteratee shorthands - * or max array length checks. - * - * @private - * @param {number} n The number of times to invoke `iteratee`. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the array of results. - */ -function baseTimes(n, iteratee) { - var index = -1, - result = Array(n); - - while (++index < n) { - result[index] = iteratee(index); - } - return result; -} - -/* harmony default export */ var _baseTimes = (baseTimes); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isIndex.js -/** Used as references for various `Number` constants. */ -var _isIndex_MAX_SAFE_INTEGER = 9007199254740991; - -/** Used to detect unsigned integer values. */ -var reIsUint = /^(?:0|[1-9]\d*)$/; - -/** - * Checks if `value` is a valid array-like index. - * - * @private - * @param {*} value The value to check. - * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. - * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. - */ -function isIndex(value, length) { - var type = typeof value; - length = length == null ? _isIndex_MAX_SAFE_INTEGER : length; - - return !!length && - (type == 'number' || - (type != 'symbol' && reIsUint.test(value))) && - (value > -1 && value % 1 == 0 && value < length); -} - -/* harmony default export */ var _isIndex = (isIndex); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_arrayLikeKeys.js - - - - - - - -/** Used for built-in method references. */ -var _arrayLikeKeys_objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var _arrayLikeKeys_hasOwnProperty = _arrayLikeKeys_objectProto.hasOwnProperty; - -/** - * Creates an array of the enumerable property names of the array-like `value`. - * - * @private - * @param {*} value The value to query. - * @param {boolean} inherited Specify returning inherited property names. - * @returns {Array} Returns the array of property names. - */ -function arrayLikeKeys(value, inherited) { - var isArr = _lodash_es_4_17_21_lodash_es_isArray(value), - isArg = !isArr && _lodash_es_4_17_21_lodash_es_isArguments(value), - isBuff = !isArr && !isArg && _lodash_es_4_17_21_lodash_es_isBuffer(value), - isType = !isArr && !isArg && !isBuff && _lodash_es_4_17_21_lodash_es_isTypedArray(value), - skipIndexes = isArr || isArg || isBuff || isType, - result = skipIndexes ? _baseTimes(value.length, String) : [], - length = result.length; - - for (var key in value) { - if ((inherited || _arrayLikeKeys_hasOwnProperty.call(value, key)) && - !(skipIndexes && ( - // Safari 9 has enumerable `arguments.length` in strict mode. - key == 'length' || - // Node.js 0.10 has enumerable non-index properties on buffers. - (isBuff && (key == 'offset' || key == 'parent')) || - // PhantomJS 2 has enumerable non-index properties on typed arrays. - (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || - // Skip index properties. - _isIndex(key, length) - ))) { - result.push(key); - } - } - return result; -} - -/* harmony default export */ var _arrayLikeKeys = (arrayLikeKeys); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_nativeKeysIn.js -/** - * This function is like - * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * except that it includes inherited enumerable properties. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ -function nativeKeysIn(object) { - var result = []; - if (object != null) { - for (var key in Object(object)) { - result.push(key); - } - } - return result; -} - -/* harmony default export */ var _nativeKeysIn = (nativeKeysIn); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseKeysIn.js - - - - -/** Used for built-in method references. */ -var _baseKeysIn_objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var _baseKeysIn_hasOwnProperty = _baseKeysIn_objectProto.hasOwnProperty; - -/** - * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ -function baseKeysIn(object) { - if (!_lodash_es_4_17_21_lodash_es_isObject(object)) { - return _nativeKeysIn(object); - } - var isProto = _isPrototype(object), - result = []; - - for (var key in object) { - if (!(key == 'constructor' && (isProto || !_baseKeysIn_hasOwnProperty.call(object, key)))) { - result.push(key); - } - } - return result; -} - -/* harmony default export */ var _baseKeysIn = (baseKeysIn); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/keysIn.js - - - - -/** - * Creates an array of the own and inherited enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keysIn(new Foo); - * // => ['a', 'b', 'c'] (iteration order is not guaranteed) - */ -function keysIn(object) { - return _lodash_es_4_17_21_lodash_es_isArrayLike(object) ? _arrayLikeKeys(object, true) : _baseKeysIn(object); -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_keysIn = (keysIn); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/toPlainObject.js - - - -/** - * Converts `value` to a plain object flattening inherited enumerable string - * keyed properties of `value` to own properties of the plain object. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {Object} Returns the converted plain object. - * @example - * - * function Foo() { - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.assign({ 'a': 1 }, new Foo); - * // => { 'a': 1, 'b': 2 } - * - * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); - * // => { 'a': 1, 'b': 2, 'c': 3 } - */ -function toPlainObject(value) { - return _copyObject(value, _lodash_es_4_17_21_lodash_es_keysIn(value)); -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_toPlainObject = (toPlainObject); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseMergeDeep.js - - - - - - - - - - - - - - - - -/** - * A specialized version of `baseMerge` for arrays and objects which performs - * deep merges and tracks traversed objects enabling objects with circular - * references to be merged. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {string} key The key of the value to merge. - * @param {number} srcIndex The index of `source`. - * @param {Function} mergeFunc The function to merge values. - * @param {Function} [customizer] The function to customize assigned values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ -function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { - var objValue = _safeGet(object, key), - srcValue = _safeGet(source, key), - stacked = stack.get(srcValue); - - if (stacked) { - _assignMergeValue(object, key, stacked); - return; - } - var newValue = customizer - ? customizer(objValue, srcValue, (key + ''), object, source, stack) - : undefined; - - var isCommon = newValue === undefined; - - if (isCommon) { - var isArr = _lodash_es_4_17_21_lodash_es_isArray(srcValue), - isBuff = !isArr && _lodash_es_4_17_21_lodash_es_isBuffer(srcValue), - isTyped = !isArr && !isBuff && _lodash_es_4_17_21_lodash_es_isTypedArray(srcValue); - - newValue = srcValue; - if (isArr || isBuff || isTyped) { - if (_lodash_es_4_17_21_lodash_es_isArray(objValue)) { - newValue = objValue; - } - else if (_lodash_es_4_17_21_lodash_es_isArrayLikeObject(objValue)) { - newValue = _copyArray(objValue); - } - else if (isBuff) { - isCommon = false; - newValue = _cloneBuffer(srcValue, true); - } - else if (isTyped) { - isCommon = false; - newValue = _cloneTypedArray(srcValue, true); - } - else { - newValue = []; - } - } - else if (_lodash_es_4_17_21_lodash_es_isPlainObject(srcValue) || _lodash_es_4_17_21_lodash_es_isArguments(srcValue)) { - newValue = objValue; - if (_lodash_es_4_17_21_lodash_es_isArguments(objValue)) { - newValue = _lodash_es_4_17_21_lodash_es_toPlainObject(objValue); - } - else if (!_lodash_es_4_17_21_lodash_es_isObject(objValue) || _lodash_es_4_17_21_lodash_es_isFunction(objValue)) { - newValue = _initCloneObject(srcValue); - } - } - else { - isCommon = false; - } - } - if (isCommon) { - // Recursively merge objects and arrays (susceptible to call stack limits). - stack.set(srcValue, newValue); - mergeFunc(newValue, srcValue, srcIndex, customizer, stack); - stack['delete'](srcValue); - } - _assignMergeValue(object, key, newValue); -} - -/* harmony default export */ var _baseMergeDeep = (baseMergeDeep); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseMerge.js - - - - - - - - -/** - * The base implementation of `_.merge` without support for multiple sources. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {number} srcIndex The index of `source`. - * @param {Function} [customizer] The function to customize merged values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ -function baseMerge(object, source, srcIndex, customizer, stack) { - if (object === source) { - return; - } - _baseFor(source, function(srcValue, key) { - stack || (stack = new _Stack); - if (_lodash_es_4_17_21_lodash_es_isObject(srcValue)) { - _baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); - } - else { - var newValue = customizer - ? customizer(_safeGet(object, key), srcValue, (key + ''), object, source, stack) - : undefined; - - if (newValue === undefined) { - newValue = srcValue; - } - _assignMergeValue(object, key, newValue); - } - }, _lodash_es_4_17_21_lodash_es_keysIn); -} - -/* harmony default export */ var _baseMerge = (baseMerge); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/identity.js -/** - * This method returns the first argument it receives. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Util - * @param {*} value Any value. - * @returns {*} Returns `value`. - * @example - * - * var object = { 'a': 1 }; - * - * console.log(_.identity(object) === object); - * // => true - */ -function identity(value) { - return value; -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_identity = (identity); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_apply.js -/** - * A faster alternative to `Function#apply`, this function invokes `func` - * with the `this` binding of `thisArg` and the arguments of `args`. - * - * @private - * @param {Function} func The function to invoke. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} args The arguments to invoke `func` with. - * @returns {*} Returns the result of `func`. - */ -function apply(func, thisArg, args) { - switch (args.length) { - case 0: return func.call(thisArg); - case 1: return func.call(thisArg, args[0]); - case 2: return func.call(thisArg, args[0], args[1]); - case 3: return func.call(thisArg, args[0], args[1], args[2]); - } - return func.apply(thisArg, args); -} - -/* harmony default export */ var _apply = (apply); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_overRest.js - - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max; - -/** - * A specialized version of `baseRest` which transforms the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @param {Function} transform The rest array transform. - * @returns {Function} Returns the new function. - */ -function overRest(func, start, transform) { - start = nativeMax(start === undefined ? (func.length - 1) : start, 0); - return function() { - var args = arguments, - index = -1, - length = nativeMax(args.length - start, 0), - array = Array(length); - - while (++index < length) { - array[index] = args[start + index]; - } - index = -1; - var otherArgs = Array(start + 1); - while (++index < start) { - otherArgs[index] = args[index]; - } - otherArgs[start] = transform(array); - return _apply(func, this, otherArgs); - }; -} - -/* harmony default export */ var _overRest = (overRest); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/constant.js -/** - * Creates a function that returns `value`. - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Util - * @param {*} value The value to return from the new function. - * @returns {Function} Returns the new constant function. - * @example - * - * var objects = _.times(2, _.constant({ 'a': 1 })); - * - * console.log(objects); - * // => [{ 'a': 1 }, { 'a': 1 }] - * - * console.log(objects[0] === objects[1]); - * // => true - */ -function constant(value) { - return function() { - return value; - }; -} - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_constant = (constant); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseSetToString.js - - - - -/** - * The base implementation of `setToString` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ -var baseSetToString = !_defineProperty ? _lodash_es_4_17_21_lodash_es_identity : function(func, string) { - return _defineProperty(func, 'toString', { - 'configurable': true, - 'enumerable': false, - 'value': _lodash_es_4_17_21_lodash_es_constant(string), - 'writable': true - }); -}; - -/* harmony default export */ var _baseSetToString = (baseSetToString); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_shortOut.js -/** Used to detect hot functions by number of calls within a span of milliseconds. */ -var HOT_COUNT = 800, - HOT_SPAN = 16; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeNow = Date.now; - -/** - * Creates a function that'll short out and invoke `identity` instead - * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` - * milliseconds. - * - * @private - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new shortable function. - */ -function shortOut(func) { - var count = 0, - lastCalled = 0; - - return function() { - var stamp = nativeNow(), - remaining = HOT_SPAN - (stamp - lastCalled); - - lastCalled = stamp; - if (remaining > 0) { - if (++count >= HOT_COUNT) { - return arguments[0]; - } - } else { - count = 0; - } - return func.apply(undefined, arguments); - }; -} - -/* harmony default export */ var _shortOut = (shortOut); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_setToString.js - - - -/** - * Sets the `toString` method of `func` to return `string`. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ -var setToString = _shortOut(_baseSetToString); - -/* harmony default export */ var _setToString = (setToString); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseRest.js - - - - -/** - * The base implementation of `_.rest` which doesn't validate or coerce arguments. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - */ -function baseRest(func, start) { - return _setToString(_overRest(func, start, _lodash_es_4_17_21_lodash_es_identity), func + ''); -} - -/* harmony default export */ var _baseRest = (baseRest); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isIterateeCall.js - - - - - -/** - * Checks if the given arguments are from an iteratee call. - * - * @private - * @param {*} value The potential iteratee value argument. - * @param {*} index The potential iteratee index or key argument. - * @param {*} object The potential iteratee object argument. - * @returns {boolean} Returns `true` if the arguments are from an iteratee call, - * else `false`. - */ -function isIterateeCall(value, index, object) { - if (!_lodash_es_4_17_21_lodash_es_isObject(object)) { - return false; - } - var type = typeof index; - if (type == 'number' - ? (_lodash_es_4_17_21_lodash_es_isArrayLike(object) && _isIndex(index, object.length)) - : (type == 'string' && index in object) - ) { - return _lodash_es_4_17_21_lodash_es_eq(object[index], value); - } - return false; -} - -/* harmony default export */ var _isIterateeCall = (isIterateeCall); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_createAssigner.js - - - -/** - * Creates a function like `_.assign`. - * - * @private - * @param {Function} assigner The function to assign values. - * @returns {Function} Returns the new assigner function. - */ -function createAssigner(assigner) { - return _baseRest(function(object, sources) { - var index = -1, - length = sources.length, - customizer = length > 1 ? sources[length - 1] : undefined, - guard = length > 2 ? sources[2] : undefined; - - customizer = (assigner.length > 3 && typeof customizer == 'function') - ? (length--, customizer) - : undefined; - - if (guard && _isIterateeCall(sources[0], sources[1], guard)) { - customizer = length < 3 ? undefined : customizer; - length = 1; - } - object = Object(object); - while (++index < length) { - var source = sources[index]; - if (source) { - assigner(object, source, index, customizer); - } - } - return object; - }); -} - -/* harmony default export */ var _createAssigner = (createAssigner); - -;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/merge.js - - - -/** - * This method is like `_.assign` except that it recursively merges own and - * inherited enumerable string keyed properties of source objects into the - * destination object. Source properties that resolve to `undefined` are - * skipped if a destination value exists. Array and plain object properties - * are merged recursively. Other objects and value types are overridden by - * assignment. Source objects are applied from left to right. Subsequent - * sources overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * var object = { - * 'a': [{ 'b': 2 }, { 'd': 4 }] - * }; - * - * var other = { - * 'a': [{ 'c': 3 }, { 'e': 5 }] - * }; - * - * _.merge(object, other); - * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] } - */ -var merge = _createAssigner(function(object, source, srcIndex) { - _baseMerge(object, source, srcIndex); -}); - -/* harmony default export */ var _lodash_es_4_17_21_lodash_es_merge = (merge); - -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/utils/get.js -var get = __webpack_require__(69004); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/utils/set.js -var set = __webpack_require__(15208); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/isNil/index.js -var isNil = __webpack_require__(97648); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/merge/index.js -var es_merge = __webpack_require__(70036); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/transformKeySubmitValue/index.js - - - - - - - - - -/** - * 暂时还不支持 Set和 Map 结构 判断是不是一个能遍历的对象 - * - * @param itemValue - * @returns Boolean - */ -function isPlainObj(itemValue) { - if ((0,esm_typeof/* default */.Z)(itemValue) !== 'object') return false; - - /** Null 也要处理,不然omit空会失效 */ - if (itemValue === null) return true; - if ( /*#__PURE__*/_react_17_0_2_react.isValidElement(itemValue)) return false; - if (itemValue.constructor === RegExp) return false; - if (itemValue instanceof Map) return false; - if (itemValue instanceof Set) return false; - if (itemValue instanceof HTMLElement) return false; - if (itemValue instanceof Blob) return false; - if (itemValue instanceof File) return false; - if (Array.isArray(itemValue)) return false; - return true; -} -var transformKeySubmitValue = function transformKeySubmitValue(values, dataFormatMapRaw) { - var omit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - // ignore nil transform - var dataFormatMap = Object.keys(dataFormatMapRaw).reduce(function (ret, key) { - var value = dataFormatMapRaw[key]; - if (!(0,isNil/* isNil */.k)(value)) { - // eslint-disable-next-line no-param-reassign - ret[key] = value; // can't be undefined - } - return ret; - }, {}); - if (Object.keys(dataFormatMap).length < 1) { - return values; - } - if (typeof window === 'undefined') return values; - // 如果 value 是 string | null | Array | Blob类型 其中之一,直接返回 - // 形如 {key: [File, File]} 的表单字段当进行第二次递归时会导致其直接越过 typeof value !== 'object' 这一判断 https://github.com/ant-design/pro-components/issues/2071 - if ((0,esm_typeof/* default */.Z)(values) !== 'object' || (0,isNil/* isNil */.k)(values) || values instanceof Blob) { - return values; - } - var finalValues = Array.isArray(values) ? [] : {}; - var gen = function gen(tempValues, parentsKey) { - var isArrayValues = Array.isArray(tempValues); - var result = isArrayValues ? [] : {}; - if (tempValues == null || tempValues === undefined) { - return result; - } - Object.keys(tempValues).forEach(function (entityKey) { - var transformForArray = function transformForArray(transformList, subItemValue) { - if (!Array.isArray(transformList)) return entityKey; - transformList.forEach(function (transform, idx) { - // 如果不存在直接返回 - if (!transform) return; - var subTransformItem = subItemValue === null || subItemValue === void 0 ? void 0 : subItemValue[idx]; - - // 如果是个方法,把key设置为方法的返回值 - if (typeof transform === 'function') { - subItemValue[idx] = transform(subItemValue, entityKey, tempValues); - } - if ((0,esm_typeof/* default */.Z)(transform) === 'object' && !Array.isArray(transform)) { - Object.keys(transform).forEach(function (transformArrayItem) { - var subTransformItemValue = subTransformItem === null || subTransformItem === void 0 ? void 0 : subTransformItem[transformArrayItem]; - if (typeof transform[transformArrayItem] === 'function' && subTransformItemValue) { - var res = transform[transformArrayItem](subTransformItem[transformArrayItem], entityKey, tempValues); - subTransformItem[transformArrayItem] = (0,esm_typeof/* default */.Z)(res) === 'object' ? res[transformArrayItem] : res; - } else if ((0,esm_typeof/* default */.Z)(transform[transformArrayItem]) === 'object' && Array.isArray(transform[transformArrayItem]) && subTransformItemValue) { - transformForArray(transform[transformArrayItem], subTransformItemValue); - } - }); - } - if ((0,esm_typeof/* default */.Z)(transform) === 'object' && Array.isArray(transform) && subTransformItem) { - transformForArray(transform, subTransformItem); - } - }); - return entityKey; - }; - var key = parentsKey ? [parentsKey, entityKey].flat(1) : [entityKey].flat(1); - var itemValue = tempValues[entityKey]; - var transformFunction = (0,get/* default */.Z)(dataFormatMap, key); - var transform = function transform() { - var tempKey, - transformedResult, - isTransformedResultPrimitive = false; - - /** - * 先判断是否是方法,是的话执行后拿到值,如果是基本类型,则认为是直接 transform 为新的值, - * 如果返回是 Object 则认为是 transform 为新的 {newKey: newValue} - */ - if (typeof transformFunction === 'function') { - transformedResult = transformFunction === null || transformFunction === void 0 ? void 0 : transformFunction(itemValue, entityKey, tempValues); - var typeOfResult = (0,esm_typeof/* default */.Z)(transformedResult); - if (typeOfResult !== 'object' && typeOfResult !== 'undefined') { - tempKey = entityKey; - isTransformedResultPrimitive = true; - } else { - tempKey = transformedResult; - } - } else { - tempKey = transformForArray(transformFunction, itemValue); - } - - // { [key:string]:any } 数组也能通过编译 - if (Array.isArray(tempKey)) { - result = (0,set/* default */.Z)(result, tempKey, itemValue); - return; - } - if ((0,esm_typeof/* default */.Z)(tempKey) === 'object' && !Array.isArray(finalValues)) { - finalValues = _lodash_es_4_17_21_lodash_es_merge(finalValues, tempKey); - } else if ((0,esm_typeof/* default */.Z)(tempKey) === 'object' && Array.isArray(finalValues)) { - result = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, result), tempKey); - } else if (tempKey !== null || tempKey !== undefined) { - result = (0,set/* default */.Z)(result, [tempKey], isTransformedResultPrimitive ? transformedResult : itemValue); - } - }; - - /** 如果存在转化器提前渲染一下 */ - if (transformFunction && typeof transformFunction === 'function') { - transform(); - } - if (typeof window === 'undefined') return; - if (isPlainObj(itemValue)) { - var genValues = gen(itemValue, key); - if (Object.keys(genValues).length < 1) { - return; - } - result = (0,set/* default */.Z)(result, [entityKey], genValues); - return; - } - transform(); - }); - // namePath、transform在omit为false时需正常返回 https://github.com/ant-design/pro-components/issues/2901#issue-908097115 - return omit ? result : tempValues; - }; - finalValues = Array.isArray(values) && Array.isArray(finalValues) ? (0,toConsumableArray/* default */.Z)(gen(values)) : (0,es_merge/* merge */.T)({}, gen(values), finalValues); - return finalValues; -}; -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/conversionMomentValue/index.js -var conversionMomentValue = __webpack_require__(20037); -;// CONCATENATED MODULE: ./node_modules/_@umijs_use-params@1.0.9@@umijs/use-params/es/index.js -var __assign = (undefined && undefined.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -/* eslint-disable no-restricted-syntax */ - -/** - * - * @param {object} params - * @returns {URL} - */ -function setQueryToCurrentUrl(params) { - var _a; - var URL = (typeof window !== 'undefined' ? window : {}).URL; - var url = new URL((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.href); - Object.keys(params).forEach(function (key) { - var value = params[key]; - if (value !== null && value !== undefined) { - if (Array.isArray(value)) { - url.searchParams.delete(key); - value.forEach(function (valueItem) { - url.searchParams.append(key, valueItem); - }); - } - else if (value instanceof Date) { - if (!Number.isNaN(value.getTime())) { - url.searchParams.set(key, value.toISOString()); - } - } - else if (typeof value === 'object') { - url.searchParams.set(key, JSON.stringify(value)); - } - else { - url.searchParams.set(key, value); - } - } - else { - url.searchParams.delete(key); - } - }); - return url; -} -function useUrlSearchParams(initial, config) { - var _a; - if (initial === void 0) { initial = {}; } - if (config === void 0) { config = { disabled: false }; } - /** - * The main idea of this hook is to make things response to change of `window.location.search`, - * so no need for introducing new state (in the mean time). - * Whenever `window.location.search` is changed but not cause re-render, call `forceUpdate()`. - * Whenever the component - user of this hook - re-render, this hook should return - * the query object that corresponse to the current `window.location.search` - */ - var _b = (0,_react_17_0_2_react.useState)(), forceUpdate = _b[1]; - var locationSearch = typeof window !== 'undefined' && ((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.search); - /** - * @type {URLSearchParams} - */ - var urlSearchParams = (0,_react_17_0_2_react.useMemo)(function () { - if (config.disabled) - return {}; - return new URLSearchParams(locationSearch || {}); - }, [config.disabled, locationSearch]); - var params = (0,_react_17_0_2_react.useMemo)(function () { - if (config.disabled) - return {}; - if (typeof window === 'undefined' || !window.URL) - return {}; - var result = []; - // @ts-ignore - urlSearchParams.forEach(function (value, key) { - result.push({ - key: key, - value: value, - }); - }); - // group by key - result = result.reduce(function (acc, val) { - (acc[val.key] = acc[val.key] || []).push(val); - return acc; - }, {}); - result = Object.keys(result).map(function (key) { - var valueGroup = result[key]; - if (valueGroup.length === 1) { - return [key, valueGroup[0].value]; - } - return [key, valueGroup.map(function (_a) { - var value = _a.value; - return value; - })]; - }); - var newParams = __assign({}, initial); - result.forEach(function (_a) { - var key = _a[0], value = _a[1]; - newParams[key] = parseValue(key, value, {}, initial); - }); - return newParams; - }, [config.disabled, initial, urlSearchParams]); - function redirectToNewSearchParams(newParams) { - if (typeof window === 'undefined' || !window.URL) - return; - var url = setQueryToCurrentUrl(newParams); - if (window.location.search !== url.search) { - window.history.replaceState({}, '', url.toString()); - } - if (urlSearchParams.toString() !== url.searchParams.toString()) { - forceUpdate({}); - } - } - (0,_react_17_0_2_react.useEffect)(function () { - if (config.disabled) - return; - if (typeof window === 'undefined' || !window.URL) - return; - redirectToNewSearchParams(__assign(__assign({}, initial), params)); - }, [config.disabled, params]); - var setParams = function (newParams) { - redirectToNewSearchParams(newParams); - }; - (0,_react_17_0_2_react.useEffect)(function () { - if (config.disabled) - return function () { }; - if (typeof window === 'undefined' || !window.URL) - return function () { }; - var onPopState = function () { - forceUpdate({}); - }; - window.addEventListener('popstate', onPopState); - return function () { - window.removeEventListener('popstate', onPopState); - }; - }, [config.disabled]); - return [params, setParams]; -} -var booleanValues = { - true: true, - false: false, -}; -function parseValue(key, _value, types, defaultParams) { - if (!types) - return _value; - var type = types[key]; - var value = _value === undefined ? defaultParams[key] : _value; - if (type === Number) { - return Number(value); - } - if (type === Boolean || _value === 'true' || _value === 'false') { - return booleanValues[value]; - } - if (Array.isArray(type)) { - // eslint-disable-next-line eqeqeq - return type.find(function (item) { return item == value; }) || defaultParams[key]; - } - return value; -} - -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules -var es_form = __webpack_require__(78241); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules -var config_provider = __webpack_require__(92736); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules -var spin = __webpack_require__(71418); -// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js -var _classnames_2_5_1_classnames = __webpack_require__(92310); -var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js -var omit = __webpack_require__(64002); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/warning.js -var warning = __webpack_require__(51395); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/FieldContext.js -var FieldContext = __webpack_require__(8459); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js -var es_button = __webpack_require__(3113); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js -var jsx_runtime = __webpack_require__(37712); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Submitter/index.js - - - - - - -/** @name 用于配置操作栏 */ - - -/** - * FormFooter 的组件,可以自动进行一些配置 - * - * @param props - */ - -var Submitter = function Submitter(props) { - var intl = (0,es/* useIntl */.YB)(); - var form = es_form/* default */.Z.useFormInstance(); - if (props.render === false) { - return null; - } - var onSubmit = props.onSubmit, - render = props.render, - onReset = props.onReset, - _props$searchConfig = props.searchConfig, - searchConfig = _props$searchConfig === void 0 ? {} : _props$searchConfig, - submitButtonProps = props.submitButtonProps, - resetButtonProps = props.resetButtonProps; - var _proTheme$useToken = useStyle/* proTheme */.Ow.useToken(), - token = _proTheme$useToken.token; - var submit = function submit() { - form.submit(); - onSubmit === null || onSubmit === void 0 || onSubmit(); - }; - var reset = function reset() { - form.resetFields(); - onReset === null || onReset === void 0 || onReset(); - }; - var _searchConfig$submitT = searchConfig.submitText, - submitText = _searchConfig$submitT === void 0 ? intl.getMessage('tableForm.submit', '提交') : _searchConfig$submitT, - _searchConfig$resetTe = searchConfig.resetText, - resetText = _searchConfig$resetTe === void 0 ? intl.getMessage('tableForm.reset', '重置') : _searchConfig$resetTe; - /** 默认的操作的逻辑 */ - var dom = []; - if (resetButtonProps !== false) { - dom.push( /*#__PURE__*/(0,_react_17_0_2_react.createElement)(es_button/* default */.ZP, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, (0,omit/* default */.Z)(resetButtonProps !== null && resetButtonProps !== void 0 ? resetButtonProps : {}, ['preventDefault'])), {}, { - key: "rest", - onClick: function onClick(e) { - var _resetButtonProps$onC; - if (!(resetButtonProps !== null && resetButtonProps !== void 0 && resetButtonProps.preventDefault)) reset(); - resetButtonProps === null || resetButtonProps === void 0 || (_resetButtonProps$onC = resetButtonProps.onClick) === null || _resetButtonProps$onC === void 0 || _resetButtonProps$onC.call(resetButtonProps, e); - } - }), resetText)); - } - if (submitButtonProps !== false) { - dom.push( /*#__PURE__*/(0,_react_17_0_2_react.createElement)(es_button/* default */.ZP, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - type: "primary" - }, (0,omit/* default */.Z)(submitButtonProps || {}, ['preventDefault'])), {}, { - key: "submit", - onClick: function onClick(e) { - var _submitButtonProps$on; - if (!(submitButtonProps !== null && submitButtonProps !== void 0 && submitButtonProps.preventDefault)) submit(); - submitButtonProps === null || submitButtonProps === void 0 || (_submitButtonProps$on = submitButtonProps.onClick) === null || _submitButtonProps$on === void 0 || _submitButtonProps$on.call(submitButtonProps, e); - } - }), submitText)); - } - var renderDom = render ? render((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - form: form, - submit: submit, - reset: reset - }), dom) : dom; - if (!renderDom) { - return null; - } - if (Array.isArray(renderDom)) { - if ((renderDom === null || renderDom === void 0 ? void 0 : renderDom.length) < 1) { - return null; - } - if ((renderDom === null || renderDom === void 0 ? void 0 : renderDom.length) === 1) { - return renderDom[0]; - } - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - display: 'flex', - gap: token.marginXS, - alignItems: 'center' - }, - children: renderDom - }); - } - return renderDom; -}; -/* harmony default export */ var components_Submitter = (Submitter); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/List/index.js -var List = __webpack_require__(54722); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/helpers/grid.js -var helpers_grid = __webpack_require__(31238); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/BaseForm/EditOrReadOnlyContext.js -var EditOrReadOnlyContext = __webpack_require__(37957); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/BaseForm/BaseForm.js - - - - - - - -var _excluded = ["children", "contentRender", "submitter", "fieldProps", "formItemProps", "groupProps", "transformKey", "formRef", "onInit", "form", "loading", "formComponentType", "extraUrlParams", "syncToUrl", "onUrlSearchChange", "onReset", "omitNil", "isKeyPressSubmit", "autoFocusFirstInput", "grid", "rowProps", "colProps"], - _excluded2 = ["extraUrlParams", "syncToUrl", "isKeyPressSubmit", "syncToUrlAsImportant", "syncToInitialValues", "children", "contentRender", "submitter", "fieldProps", "proFieldProps", "formItemProps", "groupProps", "dateFormatter", "formRef", "onInit", "form", "formComponentType", "onReset", "grid", "rowProps", "colProps", "omitNil", "request", "params", "initialValues", "formKey", "readonly", "onLoadingChange", "loading"]; -/* eslint-disable react-hooks/exhaustive-deps */ - - - - - - - - - - - - - - - - - -var genParams = function genParams(syncUrl, params, type) { - if (syncUrl === true) { - return params; - } - return (0,runFunction/* runFunction */.h)(syncUrl, params, type); -}; -/** - * It takes a name path and converts it to an array. - * @param {NamePath} name - The name of the form. - * @returns string[] - * - * a-> [a] - * [a] -> [a] - */ -var covertFormName = function covertFormName(name) { - if (!name) return name; - if (Array.isArray(name)) return name; - return [name]; -}; -function BaseFormComponents(props) { - var _ConfigProvider$useCo; - var children = props.children, - contentRender = props.contentRender, - submitter = props.submitter, - fieldProps = props.fieldProps, - formItemProps = props.formItemProps, - groupProps = props.groupProps, - transformKey = props.transformKey, - propsFormRef = props.formRef, - onInit = props.onInit, - form = props.form, - loading = props.loading, - formComponentType = props.formComponentType, - _props$extraUrlParams = props.extraUrlParams, - extraUrlParams = _props$extraUrlParams === void 0 ? {} : _props$extraUrlParams, - syncToUrl = props.syncToUrl, - onUrlSearchChange = props.onUrlSearchChange, - _onReset = props.onReset, - _props$omitNil = props.omitNil, - omitNil = _props$omitNil === void 0 ? true : _props$omitNil, - isKeyPressSubmit = props.isKeyPressSubmit, - _props$autoFocusFirst = props.autoFocusFirstInput, - autoFocusFirstInput = _props$autoFocusFirst === void 0 ? true : _props$autoFocusFirst, - grid = props.grid, - rowProps = props.rowProps, - colProps = props.colProps, - rest = (0,objectWithoutProperties/* default */.Z)(props, _excluded); - - /** - * 获取 form 实例 - */ - var formInstance = es_form/* default */.Z.useFormInstance(); - var _ref = (config_provider/* default */.ZP === null || config_provider/* default */.ZP === void 0 || (_ConfigProvider$useCo = config_provider/* default */.ZP.useConfig) === null || _ConfigProvider$useCo === void 0 ? void 0 : _ConfigProvider$useCo.call(config_provider/* default */.ZP)) || { - componentSize: 'middle' - }, - componentSize = _ref.componentSize; - - /** 同步 url 上的参数 */ - var formRef = (0,_react_17_0_2_react.useRef)(form || formInstance); - - /** - * 获取布局 - */ - var _useGridHelpers = (0,helpers_grid/* useGridHelpers */.zx)({ - grid: grid, - rowProps: rowProps - }), - RowWrapper = _useGridHelpers.RowWrapper; - var getFormInstance = (0,useRefFunction/* useRefFunction */.J)(function () { - return formInstance; - }); - var formatValues = (0,_react_17_0_2_react.useMemo)(function () { - return { - /** - * 获取被 ProForm 格式化后的所有数据 - * @param allData boolean - * @returns T - * - * @example getFieldsFormatValue(true) ->返回所有数据,即使没有被 form 托管的 - */ - getFieldsFormatValue: function getFieldsFormatValue(allData) { - var _getFormInstance; - return transformKey((_getFormInstance = getFormInstance()) === null || _getFormInstance === void 0 ? void 0 : _getFormInstance.getFieldsValue(allData), omitNil); - }, - /** - * 获取被 ProForm 格式化后的单个数据 - * @param nameList (string|number)[] - * @returns T - * - * @example {a:{b:value}} -> getFieldFormatValue(['a', 'b']) -> value - */ - /** 获取格式化之后的单个数据 */ - getFieldFormatValue: function getFieldFormatValue() { - var _getFormInstance2; - var paramsNameList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var nameList = covertFormName(paramsNameList); - if (!nameList) throw new Error('nameList is require'); - var value = (_getFormInstance2 = getFormInstance()) === null || _getFormInstance2 === void 0 ? void 0 : _getFormInstance2.getFieldValue(nameList); - var obj = nameList ? (0,set/* default */.Z)({}, nameList, value) : value; - //transformKey会将keys重新和nameList拼接,所以这里要将nameList的首个元素弹出 - var newNameList = (0,toConsumableArray/* default */.Z)(nameList); - newNameList.shift(); - return (0,get/* default */.Z)(transformKey(obj, omitNil, newNameList), nameList); - }, - /** - * 获取被 ProForm 格式化后的单个数据, 包含他的 name - * @param nameList (string|number)[] - * @returns T - * - * @example {a:{b:value}} -> getFieldFormatValueObject(['a', 'b']) -> {a:{b:value}} - */ - /** 获取格式化之后的单个数据 */ - getFieldFormatValueObject: function getFieldFormatValueObject(paramsNameList) { - var _getFormInstance3; - var nameList = covertFormName(paramsNameList); - var value = (_getFormInstance3 = getFormInstance()) === null || _getFormInstance3 === void 0 ? void 0 : _getFormInstance3.getFieldValue(nameList); - var obj = nameList ? (0,set/* default */.Z)({}, nameList, value) : value; - return transformKey(obj, omitNil, nameList); - }, - /** - /** - *验字段后返回格式化之后的所有数据 - * @param nameList (string|number)[] - * @returns T - * - * @example validateFieldsReturnFormatValue -> {a:{b:value}} - */ - validateFieldsReturnFormatValue: function () { - var _validateFieldsReturnFormatValue = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(nameList) { - var _getFormInstance4; - var values, transformedKey; - return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - if (!(!Array.isArray(nameList) && nameList)) { - _context.next = 2; - break; - } - throw new Error('nameList must be array'); - case 2: - _context.next = 4; - return (_getFormInstance4 = getFormInstance()) === null || _getFormInstance4 === void 0 ? void 0 : _getFormInstance4.validateFields(nameList); - case 4: - values = _context.sent; - transformedKey = transformKey(values, omitNil); - return _context.abrupt("return", transformedKey ? transformedKey : {}); - case 7: - case "end": - return _context.stop(); - } - }, _callee); - })); - function validateFieldsReturnFormatValue(_x) { - return _validateFieldsReturnFormatValue.apply(this, arguments); - } - return validateFieldsReturnFormatValue; - }() - }; - }, [omitNil, transformKey]); - var items = (0,_react_17_0_2_react.useMemo)(function () { - return _react_17_0_2_react.Children.toArray(children).map(function (item, index) { - if (index === 0 && /*#__PURE__*/_react_17_0_2_react.isValidElement(item) && autoFocusFirstInput) { - return /*#__PURE__*/_react_17_0_2_react.cloneElement(item, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, item.props), {}, { - autoFocus: autoFocusFirstInput - })); - } - return item; - }); - }, [autoFocusFirstInput, children]); - - /** 计算 props 的对象 */ - var submitterProps = (0,_react_17_0_2_react.useMemo)(function () { - return typeof submitter === 'boolean' || !submitter ? {} : submitter; - }, [submitter]); - - /** 渲染提交按钮与重置按钮 */ - var submitterNode = (0,_react_17_0_2_react.useMemo)(function () { - if (submitter === false) return undefined; - return /*#__PURE__*/(0,jsx_runtime.jsx)(components_Submitter, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, submitterProps), {}, { - onReset: function onReset() { - var _formRef$current, _submitterProps$onRes; - var finalValues = transformKey((_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : _formRef$current.getFieldsValue(), omitNil); - submitterProps === null || submitterProps === void 0 || (_submitterProps$onRes = submitterProps.onReset) === null || _submitterProps$onRes === void 0 || _submitterProps$onRes.call(submitterProps, finalValues); - _onReset === null || _onReset === void 0 || _onReset(finalValues); - // 如果 syncToUrl,清空一下数据 - if (syncToUrl) { - var _formRef$current2; - // 把没有的值设置为未定义可以删掉 url 的参数 - var params = Object.keys(transformKey((_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.getFieldsValue(), false)).reduce(function (pre, next) { - return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, pre), {}, (0,defineProperty/* default */.Z)({}, next, finalValues[next] || undefined)); - }, extraUrlParams); - - /** 在同步到 url 上时对参数进行转化 */ - onUrlSearchChange(genParams(syncToUrl, params || {}, 'set')); - } - }, - submitButtonProps: (0,objectSpread2/* default */.Z)({ - loading: loading - }, submitterProps.submitButtonProps) - }), "submitter"); - }, [submitter, submitterProps, loading, transformKey, omitNil, _onReset, syncToUrl, extraUrlParams, onUrlSearchChange]); - var content = (0,_react_17_0_2_react.useMemo)(function () { - var wrapItems = grid ? /*#__PURE__*/(0,jsx_runtime.jsx)(RowWrapper, { - children: items - }) : items; - if (contentRender) { - return contentRender(wrapItems, submitterNode, formRef.current); - } - return wrapItems; - }, [grid, RowWrapper, items, contentRender, submitterNode]); - var preInitialValues = usePrevious(props.initialValues); - - // 提示一个 initialValues ,问的人实在是太多了 - (0,_react_17_0_2_react.useEffect)(function () { - if (syncToUrl || !props.initialValues || !preInitialValues || rest.request) return; - var isEqual = (0,isDeepEqualReact/* isDeepEqualReact */.A)(props.initialValues, preInitialValues); - (0,warning/* noteOnce */.ET)(isEqual, "initialValues \u53EA\u5728 form \u521D\u59CB\u5316\u65F6\u751F\u6548\uFF0C\u5982\u679C\u4F60\u9700\u8981\u5F02\u6B65\u52A0\u8F7D\u63A8\u8350\u4F7F\u7528 request\uFF0C\u6216\u8005 initialValues ?
: null "); - (0,warning/* noteOnce */.ET)(isEqual, "The initialValues only take effect when the form is initialized, if you need to load asynchronously recommended request, or the initialValues ? : null "); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [props.initialValues]); - - // 初始化给一个默认的 form - (0,_react_17_0_2_react.useImperativeHandle)(propsFormRef, function () { - return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formRef.current), formatValues); - }, [formatValues, formRef.current]); - (0,_react_17_0_2_react.useEffect)(function () { - var _formRef$current3, _formRef$current3$get; - var finalValues = transformKey((_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 || (_formRef$current3$get = _formRef$current3.getFieldsValue) === null || _formRef$current3$get === void 0 ? void 0 : _formRef$current3$get.call(_formRef$current3, true), omitNil); - onInit === null || onInit === void 0 || onInit(finalValues, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formRef.current), formatValues)); - }, []); - return /*#__PURE__*/(0,jsx_runtime.jsx)(ProFormContext/* ProFormContext */.J.Provider, { - value: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formatValues), {}, { - formRef: formRef - }), - children: /*#__PURE__*/(0,jsx_runtime.jsx)(config_provider/* default */.ZP, { - componentSize: rest.size || componentSize, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(helpers_grid/* GridContext */._p.Provider, { - value: { - grid: grid, - colProps: colProps - }, - children: [rest.component !== false && /*#__PURE__*/(0,jsx_runtime.jsx)("input", { - type: "text", - style: { - display: 'none' - } - }), content] - }) - }) - }); -} - -/** 自动的formKey 防止重复 */ -var requestFormCacheId = 0; -function BaseForm(props) { - var _props$extraUrlParams2 = props.extraUrlParams, - extraUrlParams = _props$extraUrlParams2 === void 0 ? {} : _props$extraUrlParams2, - syncToUrl = props.syncToUrl, - isKeyPressSubmit = props.isKeyPressSubmit, - _props$syncToUrlAsImp = props.syncToUrlAsImportant, - syncToUrlAsImportant = _props$syncToUrlAsImp === void 0 ? false : _props$syncToUrlAsImp, - _props$syncToInitialV = props.syncToInitialValues, - syncToInitialValues = _props$syncToInitialV === void 0 ? true : _props$syncToInitialV, - children = props.children, - contentRender = props.contentRender, - submitter = props.submitter, - fieldProps = props.fieldProps, - proFieldProps = props.proFieldProps, - formItemProps = props.formItemProps, - groupProps = props.groupProps, - _props$dateFormatter = props.dateFormatter, - dateFormatter = _props$dateFormatter === void 0 ? 'string' : _props$dateFormatter, - propsFormRef = props.formRef, - onInit = props.onInit, - form = props.form, - formComponentType = props.formComponentType, - onReset = props.onReset, - grid = props.grid, - rowProps = props.rowProps, - colProps = props.colProps, - _props$omitNil2 = props.omitNil, - omitNil = _props$omitNil2 === void 0 ? true : _props$omitNil2, - request = props.request, - params = props.params, - initialValues = props.initialValues, - _props$formKey = props.formKey, - formKey = _props$formKey === void 0 ? requestFormCacheId : _props$formKey, - readonly = props.readonly, - onLoadingChange = props.onLoadingChange, - propsLoading = props.loading, - propRest = (0,objectWithoutProperties/* default */.Z)(props, _excluded2); - var formRef = (0,_react_17_0_2_react.useRef)({}); - var _useMountMergeState = (0,useMergedState/* default */.Z)(false, { - onChange: onLoadingChange, - value: propsLoading - }), - _useMountMergeState2 = (0,slicedToArray/* default */.Z)(_useMountMergeState, 2), - loading = _useMountMergeState2[0], - setLoading = _useMountMergeState2[1]; - var _useUrlSearchParams = useUrlSearchParams({}, { - disabled: !syncToUrl - }), - _useUrlSearchParams2 = (0,slicedToArray/* default */.Z)(_useUrlSearchParams, 2), - urlSearch = _useUrlSearchParams2[0], - setUrlSearch = _useUrlSearchParams2[1]; - var curFormKey = (0,_react_17_0_2_react.useRef)((0,nanoid/* nanoid */.x)()); - (0,_react_17_0_2_react.useEffect)(function () { - requestFormCacheId += 0; - }, []); - var _useFetchData = useFetchData({ - request: request, - params: params, - proFieldKey: formKey - }), - _useFetchData2 = (0,slicedToArray/* default */.Z)(_useFetchData, 1), - initialData = _useFetchData2[0]; - var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), - getPrefixCls = _useContext.getPrefixCls; - var prefixCls = getPrefixCls('pro-form'); - // css - var _useStyle = (0,useStyle/* useStyle */.Xj)('ProForm', function (token) { - return (0,defineProperty/* default */.Z)({}, ".".concat(prefixCls), (0,defineProperty/* default */.Z)({}, "> div:not(".concat(token.proComponentsCls, "-form-light-filter)"), { - '.pro-field': { - maxWidth: '100%', - '@media screen and (max-width: 575px)': { - // 减少了 form 的 padding - maxWidth: 'calc(93vw - 48px)' - }, - // 适用于短数字,短文本或者选项 - '&-xs': { - width: 104 - }, - '&-s': { - width: 216 - }, - // 适用于较短字段录入、如姓名、电话、ID 等。 - '&-sm': { - width: 216 - }, - '&-m': { - width: 328 - }, - // 标准宽度,适用于大部分字段长度 - '&-md': { - width: 328 - }, - '&-l': { - width: 440 - }, - // 适用于较长字段录入,如长网址、标签组、文件路径等。 - '&-lg': { - width: 440 - }, - // 适用于长文本录入,如长链接、描述、备注等,通常搭配自适应多行输入框或定高文本域使用。 - '&-xl': { - width: 552 - } - } - })); - }), - wrapSSR = _useStyle.wrapSSR, - hashId = _useStyle.hashId; - - // 如果为 false,不需要触发设置进去 - var _useState = (0,_react_17_0_2_react.useState)(function () { - if (!syncToUrl) { - return {}; - } - return genParams(syncToUrl, urlSearch, 'get'); - }), - _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), - urlParamsMergeInitialValues = _useState2[0], - setUrlParamsMergeInitialValues = _useState2[1]; - - /** 保存 transformKeyRef,用于对表单key transform */ - var transformKeyRef = (0,_react_17_0_2_react.useRef)({}); - var fieldsValueType = (0,_react_17_0_2_react.useRef)({}); - - /** 使用 callback 的类型 */ - var transformKey = (0,useRefFunction/* useRefFunction */.J)(function (values, paramsOmitNil, parentKey) { - return transformKeySubmitValue((0,conversionMomentValue/* conversionMomentValue */.lp)(values, dateFormatter, fieldsValueType.current, paramsOmitNil, parentKey), transformKeyRef.current, paramsOmitNil); - }); - (0,_react_17_0_2_react.useEffect)(function () { - if (syncToInitialValues) return; - setUrlParamsMergeInitialValues({}); - }, [syncToInitialValues]); - var getGenParams = (0,useRefFunction/* useRefFunction */.J)(function () { - return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, urlSearch), extraUrlParams); - }); - (0,_react_17_0_2_react.useEffect)(function () { - if (!syncToUrl) return; - setUrlSearch(genParams(syncToUrl, getGenParams(), 'set')); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [extraUrlParams, getGenParams, syncToUrl]); - var getPopupContainer = (0,_react_17_0_2_react.useMemo)(function () { - if (typeof window === 'undefined') return undefined; - // 如果在 drawerForm 和 modalForm 里就渲染dom到父节点里 - // modalForm 可能高度太小不适合 - if (formComponentType && ['DrawerForm'].includes(formComponentType)) { - return function (e) { - return e.parentNode || document.body; - }; - } - return undefined; - }, [formComponentType]); - var onFinish = (0,useRefFunction/* useRefFunction */.J)( /*#__PURE__*/(0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee2() { - var _formRef$current4, _formRef$current4$get, finalValues, response, _formRef$current5, _formRef$current5$get, syncToUrlParams; - return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - if (propRest.onFinish) { - _context2.next = 2; - break; - } - return _context2.abrupt("return"); - case 2: - if (!loading) { - _context2.next = 4; - break; - } - return _context2.abrupt("return"); - case 4: - _context2.prev = 4; - finalValues = formRef === null || formRef === void 0 || (_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 || (_formRef$current4$get = _formRef$current4.getFieldsFormatValue) === null || _formRef$current4$get === void 0 ? void 0 : _formRef$current4$get.call(_formRef$current4); - response = propRest.onFinish(finalValues); - if (response instanceof Promise) { - setLoading(true); - } - _context2.next = 10; - return response; - case 10: - if (syncToUrl) { - // 把没有的值设置为未定义可以删掉 url 的参数 - syncToUrlParams = Object.keys(formRef === null || formRef === void 0 || (_formRef$current5 = formRef.current) === null || _formRef$current5 === void 0 || (_formRef$current5$get = _formRef$current5.getFieldsFormatValue) === null || _formRef$current5$get === void 0 ? void 0 : _formRef$current5$get.call(_formRef$current5, undefined, false)).reduce(function (pre, next) { - var _finalValues$next; - return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, pre), {}, (0,defineProperty/* default */.Z)({}, next, (_finalValues$next = finalValues[next]) !== null && _finalValues$next !== void 0 ? _finalValues$next : undefined)); - }, extraUrlParams); // fix #3547: 当原先在url中存在的字段被删除时,应该将 params 中的该字段设置为 undefined,以便触发url同步删除 - Object.keys(urlSearch).forEach(function (key) { - if (syncToUrlParams[key] !== false && syncToUrlParams[key] !== 0 && !syncToUrlParams[key]) { - syncToUrlParams[key] = undefined; - } - }); - /** 在同步到 url 上时对参数进行转化 */ - setUrlSearch(genParams(syncToUrl, syncToUrlParams, 'set')); - } - setLoading(false); - _context2.next = 18; - break; - case 14: - _context2.prev = 14; - _context2.t0 = _context2["catch"](4); - console.log(_context2.t0); - setLoading(false); - case 18: - case "end": - return _context2.stop(); - } - }, _callee2, null, [[4, 14]]); - }))); - - // 初始化给一个默认的 form - (0,_react_17_0_2_react.useImperativeHandle)(propsFormRef, function () { - return formRef.current; - }, [!initialData]); - if (!initialData && props.request) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - paddingTop: 50, - paddingBottom: 50, - textAlign: 'center' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {}) - }); - } - return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)(EditOrReadOnlyContext/* EditOrReadOnlyContext */.A.Provider, { - value: { - mode: props.readonly ? 'read' : 'edit' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es/* ProConfigProvider */._Y, { - needDeps: true, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(FieldContext/* default */.Z.Provider, { - value: { - formRef: formRef, - fieldProps: fieldProps, - proFieldProps: proFieldProps, - formItemProps: formItemProps, - groupProps: groupProps, - formComponentType: formComponentType, - getPopupContainer: getPopupContainer, - formKey: curFormKey.current, - setFieldValueType: function setFieldValueType(name, _ref4) { - var _ref4$valueType = _ref4.valueType, - valueType = _ref4$valueType === void 0 ? 'text' : _ref4$valueType, - dateFormat = _ref4.dateFormat, - transform = _ref4.transform; - if (!Array.isArray(name)) return; - transformKeyRef.current = (0,set/* default */.Z)(transformKeyRef.current, name, transform); - fieldsValueType.current = (0,set/* default */.Z)(fieldsValueType.current, name, { - valueType: valueType, - dateFormat: dateFormat - }); - } - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(List/* FormListContext */.J.Provider, { - value: {}, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - onKeyPress: function onKeyPress(event) { - if (!isKeyPressSubmit) return; - if (event.key === 'Enter') { - var _formRef$current6; - (_formRef$current6 = formRef.current) === null || _formRef$current6 === void 0 || _formRef$current6.submit(); - } - }, - autoComplete: "off", - form: form - }, (0,omit/* default */.Z)(propRest, ['ref', 'labelWidth', 'autoFocusFirstInput'])), {}, { - ref: function ref(instance) { - if (!formRef.current) return; - formRef.current.nativeElement = instance === null || instance === void 0 ? void 0 : instance.nativeElement; - } - // 组合 urlSearch 和 initialValues - , - initialValues: syncToUrlAsImportant ? (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, initialValues), initialData), urlParamsMergeInitialValues) : (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, urlParamsMergeInitialValues), initialValues), initialData), - onValuesChange: function onValuesChange(changedValues, values) { - var _propRest$onValuesCha; - propRest === null || propRest === void 0 || (_propRest$onValuesCha = propRest.onValuesChange) === null || _propRest$onValuesCha === void 0 || _propRest$onValuesCha.call(propRest, transformKey(changedValues, !!omitNil), transformKey(values, !!omitNil)); - }, - className: _classnames_2_5_1_classnames_default()(props.className, prefixCls, hashId), - onFinish: onFinish, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(BaseFormComponents, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - transformKey: transformKey, - autoComplete: "off", - loading: loading, - onUrlSearchChange: setUrlSearch - }, props), {}, { - formRef: formRef, - initialValues: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, initialValues), initialData) - })) - })) - }) - }) - }) - })); -} - - -/***/ }), +(self["webpackChunk"] = self["webpackChunk"] || []).push([[39627],{ /***/ 37957: /*!*************************************************************************************************************!*\ diff --git a/27039.b8b662ef.async.js b/52169.54db7a45.async.js similarity index 86% rename from 27039.b8b662ef.async.js rename to 52169.54db7a45.async.js index 27157a067b..24da033e0c 100644 --- a/27039.b8b662ef.async.js +++ b/52169.54db7a45.async.js @@ -1,390 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[27039],{ - -/***/ 27666: -/*!****************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js ***! - \****************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 65093); -/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 23073); - - -function throttleByAnimationFrame(fn) { - let requestId; - const later = args => () => { - requestId = null; - fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args)); - }; - const throttled = function () { - if (requestId == null) { - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args)); - } - }; - throttled.cancel = () => { - rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.cancel(requestId); - requestId = null; - }; - return throttled; -} -/* harmony default export */ __webpack_exports__.Z = (throttleByAnimationFrame); - -/***/ }), - -/***/ 81228: -/*!*********************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/affix/index.js + 2 modules ***! - \*********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ affix; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(44202); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(86773); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/inherits.js -var inherits = __webpack_require__(82412); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/createSuper.js + 1 modules -var createSuper = __webpack_require__(52444); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js -var _classnames_2_5_1_classnames = __webpack_require__(92310); -var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); -// EXTERNAL MODULE: ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/index.js + 4 modules -var es = __webpack_require__(29301); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js -var omit = __webpack_require__(64002); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js -var throttleByAnimationFrame = __webpack_require__(27666); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js -var context = __webpack_require__(36355); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js -var genComponentStyleHook = __webpack_require__(83116); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js -var statistic = __webpack_require__(37613); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/style/index.js - -// ============================== Shared ============================== -const genSharedAffixStyle = token => { - const { - componentCls - } = token; - return { - [componentCls]: { - position: 'fixed', - zIndex: token.zIndexPopup - } - }; -}; -// ============================== Export ============================== -/* harmony default export */ var style = ((0,genComponentStyleHook/* default */.Z)('Affix', token => { - const affixToken = (0,statistic/* merge */.TS)(token, { - zIndexPopup: token.zIndexBase + 10 - }); - return [genSharedAffixStyle(affixToken)]; -})); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/utils.js -function getTargetRect(target) { - return target !== window ? target.getBoundingClientRect() : { - top: 0, - bottom: window.innerHeight - }; -} -function getFixedTop(placeholderRect, targetRect, offsetTop) { - if (offsetTop !== undefined && targetRect.top > placeholderRect.top - offsetTop) { - return offsetTop + targetRect.top; - } - return undefined; -} -function getFixedBottom(placeholderRect, targetRect, offsetBottom) { - if (offsetBottom !== undefined && targetRect.bottom < placeholderRect.bottom + offsetBottom) { - const targetBottomOffset = window.innerHeight - targetRect.bottom; - return offsetBottom + targetBottomOffset; - } - return undefined; -} -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/index.js -"use client"; - - - - - - - - - - - - - -const TRIGGER_EVENTS = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load']; -function getDefaultTarget() { - return typeof window !== 'undefined' ? window : null; -} -var AffixStatus; -(function (AffixStatus) { - AffixStatus[AffixStatus["None"] = 0] = "None"; - AffixStatus[AffixStatus["Prepare"] = 1] = "Prepare"; -})(AffixStatus || (AffixStatus = {})); -let InternalAffix = /*#__PURE__*/function (_React$Component) { - (0,inherits/* default */.Z)(InternalAffix, _React$Component); - var _super = (0,createSuper/* default */.Z)(InternalAffix); - function InternalAffix() { - var _this; - (0,classCallCheck/* default */.Z)(this, InternalAffix); - _this = _super.apply(this, arguments); - _this.state = { - status: AffixStatus.None, - lastAffix: false, - prevTarget: null - }; - _this.placeholderNodeRef = /*#__PURE__*/(0,_react_17_0_2_react.createRef)(); - _this.fixedNodeRef = /*#__PURE__*/(0,_react_17_0_2_react.createRef)(); - _this.addListeners = () => { - const targetFunc = _this.getTargetFunc(); - const target = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); - const { - prevTarget - } = _this.state; - if (prevTarget !== target) { - TRIGGER_EVENTS.forEach(eventName => { - prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); - target === null || target === void 0 ? void 0 : target.addEventListener(eventName, _this.lazyUpdatePosition); - }); - _this.updatePosition(); - _this.setState({ - prevTarget: target - }); - } - }; - _this.removeListeners = () => { - if (_this.timer) { - clearTimeout(_this.timer); - _this.timer = null; - } - const { - prevTarget - } = _this.state; - const targetFunc = _this.getTargetFunc(); - const newTarget = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); - TRIGGER_EVENTS.forEach(eventName => { - newTarget === null || newTarget === void 0 ? void 0 : newTarget.removeEventListener(eventName, _this.lazyUpdatePosition); - prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); - }); - _this.updatePosition.cancel(); - // https://github.com/ant-design/ant-design/issues/22683 - _this.lazyUpdatePosition.cancel(); - }; - _this.getOffsetTop = () => { - const { - offsetBottom, - offsetTop - } = _this.props; - return offsetBottom === undefined && offsetTop === undefined ? 0 : offsetTop; - }; - _this.getOffsetBottom = () => _this.props.offsetBottom; - // =================== Measure =================== - _this.measure = () => { - const { - status, - lastAffix - } = _this.state; - const { - onChange - } = _this.props; - const targetFunc = _this.getTargetFunc(); - if (status !== AffixStatus.Prepare || !_this.fixedNodeRef.current || !_this.placeholderNodeRef.current || !targetFunc) { - return; - } - const offsetTop = _this.getOffsetTop(); - const offsetBottom = _this.getOffsetBottom(); - const targetNode = targetFunc(); - if (targetNode) { - const newState = { - status: AffixStatus.None - }; - const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); - if (placeholderRect.top === 0 && placeholderRect.left === 0 && placeholderRect.width === 0 && placeholderRect.height === 0) { - return; - } - const targetRect = getTargetRect(targetNode); - const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); - const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); - if (fixedTop !== undefined) { - newState.affixStyle = { - position: 'fixed', - top: fixedTop, - width: placeholderRect.width, - height: placeholderRect.height - }; - newState.placeholderStyle = { - width: placeholderRect.width, - height: placeholderRect.height - }; - } else if (fixedBottom !== undefined) { - newState.affixStyle = { - position: 'fixed', - bottom: fixedBottom, - width: placeholderRect.width, - height: placeholderRect.height - }; - newState.placeholderStyle = { - width: placeholderRect.width, - height: placeholderRect.height - }; - } - newState.lastAffix = !!newState.affixStyle; - if (onChange && lastAffix !== newState.lastAffix) { - onChange(newState.lastAffix); - } - _this.setState(newState); - } - }; - _this.prepareMeasure = () => { - // event param is used before. Keep compatible ts define here. - _this.setState({ - status: AffixStatus.Prepare, - affixStyle: undefined, - placeholderStyle: undefined - }); - // Test if `updatePosition` called - if (false) {} - }; - _this.updatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { - _this.prepareMeasure(); - }); - _this.lazyUpdatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { - const targetFunc = _this.getTargetFunc(); - const { - affixStyle - } = _this.state; - // Check position change before measure to make Safari smooth - if (targetFunc && affixStyle) { - const offsetTop = _this.getOffsetTop(); - const offsetBottom = _this.getOffsetBottom(); - const targetNode = targetFunc(); - if (targetNode && _this.placeholderNodeRef.current) { - const targetRect = getTargetRect(targetNode); - const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); - const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); - const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); - if (fixedTop !== undefined && affixStyle.top === fixedTop || fixedBottom !== undefined && affixStyle.bottom === fixedBottom) { - return; - } - } - } - // Directly call prepare measure since it's already throttled. - _this.prepareMeasure(); - }); - return _this; - } - (0,createClass/* default */.Z)(InternalAffix, [{ - key: "getTargetFunc", - value: function getTargetFunc() { - const { - getTargetContainer - } = this.context; - const { - target - } = this.props; - if (target !== undefined) { - return target; - } - return getTargetContainer !== null && getTargetContainer !== void 0 ? getTargetContainer : getDefaultTarget; - } - // Event handler - }, { - key: "componentDidMount", - value: function componentDidMount() { - // [Legacy] Wait for parent component ref has its value. - // We should use target as directly element instead of function which makes element check hard. - this.timer = setTimeout(this.addListeners); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - this.addListeners(); - if (prevProps.offsetTop !== this.props.offsetTop || prevProps.offsetBottom !== this.props.offsetBottom) { - this.updatePosition(); - } - this.measure(); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.removeListeners(); - } - // =================== Render =================== - }, { - key: "render", - value: function render() { - const { - affixStyle, - placeholderStyle - } = this.state; - const { - affixPrefixCls, - rootClassName, - children - } = this.props; - const className = _classnames_2_5_1_classnames_default()(affixStyle && rootClassName, { - [affixPrefixCls]: !!affixStyle - }); - let props = (0,omit/* default */.Z)(this.props, ['prefixCls', 'offsetTop', 'offsetBottom', 'target', 'onChange', 'affixPrefixCls', 'rootClassName']); - // Omit this since `onTestUpdatePosition` only works on test. - if (false) {} - return /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, { - onResize: this.updatePosition - }, /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({}, props, { - ref: this.placeholderNodeRef - }), affixStyle && /*#__PURE__*/_react_17_0_2_react.createElement("div", { - style: placeholderStyle, - "aria-hidden": "true" - }), /*#__PURE__*/_react_17_0_2_react.createElement("div", { - className: className, - ref: this.fixedNodeRef, - style: affixStyle - }, /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, { - onResize: this.updatePosition - }, children)))); - } - }]); - return InternalAffix; -}(_react_17_0_2_react.Component); -InternalAffix.contextType = context/* ConfigContext */.E_; -const Affix = /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)((props, ref) => { - const { - prefixCls: customizePrefixCls, - rootClassName - } = props; - const { - getPrefixCls - } = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_); - const affixPrefixCls = getPrefixCls('affix', customizePrefixCls); - const [wrapSSR, hashId] = style(affixPrefixCls); - const AffixProps = Object.assign(Object.assign({}, props), { - affixPrefixCls, - rootClassName: _classnames_2_5_1_classnames_default()(rootClassName, hashId) - }); - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(InternalAffix, Object.assign({}, AffixProps, { - ref: ref - }))); -}); -if (false) {} -/* harmony default export */ var affix = (Affix); - -/***/ }), +(self["webpackChunk"] = self["webpackChunk"] || []).push([[52169],{ /***/ 63050: /*!**********************************************************************!*\ diff --git a/6240.5355cf57.async.js b/6240.5355cf57.async.js new file mode 100644 index 0000000000..78a63d3ae6 --- /dev/null +++ b/6240.5355cf57.async.js @@ -0,0 +1,3749 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[6240],{ + +/***/ 27439: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/BaseForm/BaseForm.js + 101 modules ***! + \**************************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + I: function() { return /* binding */ BaseForm; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(10859); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(78772); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(35227); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(62907); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(3872); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(65093); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(61206); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/index.js + 2 modules +var es = __webpack_require__(57965); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/runFunction/index.js +var runFunction = __webpack_require__(2005); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/hooks/useRefFunction/index.js +var useRefFunction = __webpack_require__(79866); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/hooks/usePrevious/index.js + +var usePrevious = function usePrevious(state) { + var ref = (0,_react_17_0_2_react.useRef)(); + (0,_react_17_0_2_react.useEffect)(function () { + ref.current = state; + }); + return ref.current; +}; +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/isDeepEqualReact/index.js + 1 modules +var isDeepEqualReact = __webpack_require__(71287); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/components/ProFormContext/index.js +var ProFormContext = __webpack_require__(7610); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(35788); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/nanoid/index.js +var nanoid = __webpack_require__(70294); +// EXTERNAL MODULE: ./node_modules/_swr@2.3.0@swr/dist/index/index.mjs +var index = __webpack_require__(40330); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/hooks/useFetchData/index.js + + + + + +var testId = 0; +function useFetchData(props) { + var abortRef = (0,_react_17_0_2_react.useRef)(null); + /** Key 是用来缓存请求的,如果不在是有问题 */ + var _useState = (0,_react_17_0_2_react.useState)(function () { + if (props.proFieldKey) { + return props.proFieldKey.toString(); + } + testId += 1; + return testId.toString(); + }), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 1), + cacheKey = _useState2[0]; + var proFieldKeyRef = (0,_react_17_0_2_react.useRef)(cacheKey); + var fetchData = /*#__PURE__*/function () { + var _ref = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee() { + var _abortRef$current, _props$request; + var abort, loadData; + return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + (_abortRef$current = abortRef.current) === null || _abortRef$current === void 0 || _abortRef$current.abort(); + abort = new AbortController(); + abortRef.current = abort; + _context.next = 5; + return Promise.race([(_props$request = props.request) === null || _props$request === void 0 ? void 0 : _props$request.call(props, props.params, props), new Promise(function (_, reject) { + var _abortRef$current2; + (_abortRef$current2 = abortRef.current) === null || _abortRef$current2 === void 0 || (_abortRef$current2 = _abortRef$current2.signal) === null || _abortRef$current2 === void 0 || _abortRef$current2.addEventListener('abort', function () { + reject(new Error('aborted')); + }); + })]); + case 5: + loadData = _context.sent; + return _context.abrupt("return", loadData); + case 7: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function fetchData() { + return _ref.apply(this, arguments); + }; + }(); + (0,_react_17_0_2_react.useEffect)(function () { + return function () { + testId += 1; + }; + }, []); + var _useSWR = (0,index/* default */.ZP)([proFieldKeyRef.current, props.params], fetchData, { + revalidateOnFocus: false, + shouldRetryOnError: false, + revalidateOnReconnect: false + }), + data = _useSWR.data, + error = _useSWR.error; + return [data || error]; +} +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/useStyle/index.js +var useStyle = __webpack_require__(77989); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(42066); +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheClear.js +/** + * Removes all key-value entries from the list cache. + * + * @private + * @name clear + * @memberOf ListCache + */ +function listCacheClear() { + this.__data__ = []; + this.size = 0; +} + +/* harmony default export */ var _listCacheClear = (listCacheClear); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/eq.js +/** + * Performs a + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * comparison between two values to determine if they are equivalent. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + * @example + * + * var object = { 'a': 1 }; + * var other = { 'a': 1 }; + * + * _.eq(object, object); + * // => true + * + * _.eq(object, other); + * // => false + * + * _.eq('a', 'a'); + * // => true + * + * _.eq('a', Object('a')); + * // => false + * + * _.eq(NaN, NaN); + * // => true + */ +function eq(value, other) { + return value === other || (value !== value && other !== other); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_eq = (eq); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_assocIndexOf.js + + +/** + * Gets the index at which the `key` is found in `array` of key-value pairs. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} key The key to search for. + * @returns {number} Returns the index of the matched value, else `-1`. + */ +function assocIndexOf(array, key) { + var length = array.length; + while (length--) { + if (_lodash_es_4_17_21_lodash_es_eq(array[length][0], key)) { + return length; + } + } + return -1; +} + +/* harmony default export */ var _assocIndexOf = (assocIndexOf); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheDelete.js + + +/** Used for built-in method references. */ +var arrayProto = Array.prototype; + +/** Built-in value references. */ +var splice = arrayProto.splice; + +/** + * Removes `key` and its value from the list cache. + * + * @private + * @name delete + * @memberOf ListCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function listCacheDelete(key) { + var data = this.__data__, + index = _assocIndexOf(data, key); + + if (index < 0) { + return false; + } + var lastIndex = data.length - 1; + if (index == lastIndex) { + data.pop(); + } else { + splice.call(data, index, 1); + } + --this.size; + return true; +} + +/* harmony default export */ var _listCacheDelete = (listCacheDelete); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheGet.js + + +/** + * Gets the list cache value for `key`. + * + * @private + * @name get + * @memberOf ListCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function listCacheGet(key) { + var data = this.__data__, + index = _assocIndexOf(data, key); + + return index < 0 ? undefined : data[index][1]; +} + +/* harmony default export */ var _listCacheGet = (listCacheGet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheHas.js + + +/** + * Checks if a list cache value for `key` exists. + * + * @private + * @name has + * @memberOf ListCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function listCacheHas(key) { + return _assocIndexOf(this.__data__, key) > -1; +} + +/* harmony default export */ var _listCacheHas = (listCacheHas); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheSet.js + + +/** + * Sets the list cache `key` to `value`. + * + * @private + * @name set + * @memberOf ListCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the list cache instance. + */ +function listCacheSet(key, value) { + var data = this.__data__, + index = _assocIndexOf(data, key); + + if (index < 0) { + ++this.size; + data.push([key, value]); + } else { + data[index][1] = value; + } + return this; +} + +/* harmony default export */ var _listCacheSet = (listCacheSet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_ListCache.js + + + + + + +/** + * Creates an list cache object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function ListCache(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +// Add methods to `ListCache`. +ListCache.prototype.clear = _listCacheClear; +ListCache.prototype['delete'] = _listCacheDelete; +ListCache.prototype.get = _listCacheGet; +ListCache.prototype.has = _listCacheHas; +ListCache.prototype.set = _listCacheSet; + +/* harmony default export */ var _ListCache = (ListCache); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackClear.js + + +/** + * Removes all key-value entries from the stack. + * + * @private + * @name clear + * @memberOf Stack + */ +function stackClear() { + this.__data__ = new _ListCache; + this.size = 0; +} + +/* harmony default export */ var _stackClear = (stackClear); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackDelete.js +/** + * Removes `key` and its value from the stack. + * + * @private + * @name delete + * @memberOf Stack + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function stackDelete(key) { + var data = this.__data__, + result = data['delete'](key); + + this.size = data.size; + return result; +} + +/* harmony default export */ var _stackDelete = (stackDelete); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackGet.js +/** + * Gets the stack value for `key`. + * + * @private + * @name get + * @memberOf Stack + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function stackGet(key) { + return this.__data__.get(key); +} + +/* harmony default export */ var _stackGet = (stackGet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackHas.js +/** + * Checks if a stack value for `key` exists. + * + * @private + * @name has + * @memberOf Stack + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function stackHas(key) { + return this.__data__.has(key); +} + +/* harmony default export */ var _stackHas = (stackHas); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_freeGlobal.js +/** Detect free variable `global` from Node.js. */ +var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; + +/* harmony default export */ var _freeGlobal = (freeGlobal); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_root.js + + +/** Detect free variable `self`. */ +var freeSelf = typeof self == 'object' && self && self.Object === Object && self; + +/** Used as a reference to the global object. */ +var root = _freeGlobal || freeSelf || Function('return this')(); + +/* harmony default export */ var _root = (root); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Symbol.js + + +/** Built-in value references. */ +var Symbol = _root.Symbol; + +/* harmony default export */ var _Symbol = (Symbol); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getRawTag.js + + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _getRawTag_hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var nativeObjectToString = objectProto.toString; + +/** Built-in value references. */ +var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined; + +/** + * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the raw `toStringTag`. + */ +function getRawTag(value) { + var isOwn = _getRawTag_hasOwnProperty.call(value, symToStringTag), + tag = value[symToStringTag]; + + try { + value[symToStringTag] = undefined; + var unmasked = true; + } catch (e) {} + + var result = nativeObjectToString.call(value); + if (unmasked) { + if (isOwn) { + value[symToStringTag] = tag; + } else { + delete value[symToStringTag]; + } + } + return result; +} + +/* harmony default export */ var _getRawTag = (getRawTag); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_objectToString.js +/** Used for built-in method references. */ +var _objectToString_objectProto = Object.prototype; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var _objectToString_nativeObjectToString = _objectToString_objectProto.toString; + +/** + * Converts `value` to a string using `Object.prototype.toString`. + * + * @private + * @param {*} value The value to convert. + * @returns {string} Returns the converted string. + */ +function objectToString(value) { + return _objectToString_nativeObjectToString.call(value); +} + +/* harmony default export */ var _objectToString = (objectToString); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseGetTag.js + + + + +/** `Object#toString` result references. */ +var nullTag = '[object Null]', + undefinedTag = '[object Undefined]'; + +/** Built-in value references. */ +var _baseGetTag_symToStringTag = _Symbol ? _Symbol.toStringTag : undefined; + +/** + * The base implementation of `getTag` without fallbacks for buggy environments. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ +function baseGetTag(value) { + if (value == null) { + return value === undefined ? undefinedTag : nullTag; + } + return (_baseGetTag_symToStringTag && _baseGetTag_symToStringTag in Object(value)) + ? _getRawTag(value) + : _objectToString(value); +} + +/* harmony default export */ var _baseGetTag = (baseGetTag); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isObject.js +/** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ +function isObject(value) { + var type = typeof value; + return value != null && (type == 'object' || type == 'function'); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isObject = (isObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isFunction.js + + + +/** `Object#toString` result references. */ +var asyncTag = '[object AsyncFunction]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]', + proxyTag = '[object Proxy]'; + +/** + * Checks if `value` is classified as a `Function` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a function, else `false`. + * @example + * + * _.isFunction(_); + * // => true + * + * _.isFunction(/abc/); + * // => false + */ +function isFunction(value) { + if (!_lodash_es_4_17_21_lodash_es_isObject(value)) { + return false; + } + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 9 which returns 'object' for typed arrays and other constructors. + var tag = _baseGetTag(value); + return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isFunction = (isFunction); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_coreJsData.js + + +/** Used to detect overreaching core-js shims. */ +var coreJsData = _root['__core-js_shared__']; + +/* harmony default export */ var _coreJsData = (coreJsData); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isMasked.js + + +/** Used to detect methods masquerading as native. */ +var maskSrcKey = (function() { + var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || ''); + return uid ? ('Symbol(src)_1.' + uid) : ''; +}()); + +/** + * Checks if `func` has its source masked. + * + * @private + * @param {Function} func The function to check. + * @returns {boolean} Returns `true` if `func` is masked, else `false`. + */ +function isMasked(func) { + return !!maskSrcKey && (maskSrcKey in func); +} + +/* harmony default export */ var _isMasked = (isMasked); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_toSource.js +/** Used for built-in method references. */ +var funcProto = Function.prototype; + +/** Used to resolve the decompiled source of functions. */ +var funcToString = funcProto.toString; + +/** + * Converts `func` to its source code. + * + * @private + * @param {Function} func The function to convert. + * @returns {string} Returns the source code. + */ +function toSource(func) { + if (func != null) { + try { + return funcToString.call(func); + } catch (e) {} + try { + return (func + ''); + } catch (e) {} + } + return ''; +} + +/* harmony default export */ var _toSource = (toSource); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseIsNative.js + + + + + +/** + * Used to match `RegExp` + * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). + */ +var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; + +/** Used to detect host constructors (Safari). */ +var reIsHostCtor = /^\[object .+?Constructor\]$/; + +/** Used for built-in method references. */ +var _baseIsNative_funcProto = Function.prototype, + _baseIsNative_objectProto = Object.prototype; + +/** Used to resolve the decompiled source of functions. */ +var _baseIsNative_funcToString = _baseIsNative_funcProto.toString; + +/** Used to check objects for own properties. */ +var _baseIsNative_hasOwnProperty = _baseIsNative_objectProto.hasOwnProperty; + +/** Used to detect if a method is native. */ +var reIsNative = RegExp('^' + + _baseIsNative_funcToString.call(_baseIsNative_hasOwnProperty).replace(reRegExpChar, '\\$&') + .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' +); + +/** + * The base implementation of `_.isNative` without bad shim checks. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a native function, + * else `false`. + */ +function baseIsNative(value) { + if (!_lodash_es_4_17_21_lodash_es_isObject(value) || _isMasked(value)) { + return false; + } + var pattern = _lodash_es_4_17_21_lodash_es_isFunction(value) ? reIsNative : reIsHostCtor; + return pattern.test(_toSource(value)); +} + +/* harmony default export */ var _baseIsNative = (baseIsNative); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getValue.js +/** + * Gets the value at `key` of `object`. + * + * @private + * @param {Object} [object] The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. + */ +function getValue(object, key) { + return object == null ? undefined : object[key]; +} + +/* harmony default export */ var _getValue = (getValue); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getNative.js + + + +/** + * Gets the native function at `key` of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the method to get. + * @returns {*} Returns the function if it's native, else `undefined`. + */ +function getNative(object, key) { + var value = _getValue(object, key); + return _baseIsNative(value) ? value : undefined; +} + +/* harmony default export */ var _getNative = (getNative); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Map.js + + + +/* Built-in method references that are verified to be native. */ +var _Map_Map = _getNative(_root, 'Map'); + +/* harmony default export */ var _Map = (_Map_Map); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_nativeCreate.js + + +/* Built-in method references that are verified to be native. */ +var nativeCreate = _getNative(Object, 'create'); + +/* harmony default export */ var _nativeCreate = (nativeCreate); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashClear.js + + +/** + * Removes all key-value entries from the hash. + * + * @private + * @name clear + * @memberOf Hash + */ +function hashClear() { + this.__data__ = _nativeCreate ? _nativeCreate(null) : {}; + this.size = 0; +} + +/* harmony default export */ var _hashClear = (hashClear); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashDelete.js +/** + * Removes `key` and its value from the hash. + * + * @private + * @name delete + * @memberOf Hash + * @param {Object} hash The hash to modify. + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function hashDelete(key) { + var result = this.has(key) && delete this.__data__[key]; + this.size -= result ? 1 : 0; + return result; +} + +/* harmony default export */ var _hashDelete = (hashDelete); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashGet.js + + +/** Used to stand-in for `undefined` hash values. */ +var HASH_UNDEFINED = '__lodash_hash_undefined__'; + +/** Used for built-in method references. */ +var _hashGet_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _hashGet_hasOwnProperty = _hashGet_objectProto.hasOwnProperty; + +/** + * Gets the hash value for `key`. + * + * @private + * @name get + * @memberOf Hash + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function hashGet(key) { + var data = this.__data__; + if (_nativeCreate) { + var result = data[key]; + return result === HASH_UNDEFINED ? undefined : result; + } + return _hashGet_hasOwnProperty.call(data, key) ? data[key] : undefined; +} + +/* harmony default export */ var _hashGet = (hashGet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashHas.js + + +/** Used for built-in method references. */ +var _hashHas_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _hashHas_hasOwnProperty = _hashHas_objectProto.hasOwnProperty; + +/** + * Checks if a hash value for `key` exists. + * + * @private + * @name has + * @memberOf Hash + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function hashHas(key) { + var data = this.__data__; + return _nativeCreate ? (data[key] !== undefined) : _hashHas_hasOwnProperty.call(data, key); +} + +/* harmony default export */ var _hashHas = (hashHas); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashSet.js + + +/** Used to stand-in for `undefined` hash values. */ +var _hashSet_HASH_UNDEFINED = '__lodash_hash_undefined__'; + +/** + * Sets the hash `key` to `value`. + * + * @private + * @name set + * @memberOf Hash + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the hash instance. + */ +function hashSet(key, value) { + var data = this.__data__; + this.size += this.has(key) ? 0 : 1; + data[key] = (_nativeCreate && value === undefined) ? _hashSet_HASH_UNDEFINED : value; + return this; +} + +/* harmony default export */ var _hashSet = (hashSet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Hash.js + + + + + + +/** + * Creates a hash object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function Hash(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +// Add methods to `Hash`. +Hash.prototype.clear = _hashClear; +Hash.prototype['delete'] = _hashDelete; +Hash.prototype.get = _hashGet; +Hash.prototype.has = _hashHas; +Hash.prototype.set = _hashSet; + +/* harmony default export */ var _Hash = (Hash); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheClear.js + + + + +/** + * Removes all key-value entries from the map. + * + * @private + * @name clear + * @memberOf MapCache + */ +function mapCacheClear() { + this.size = 0; + this.__data__ = { + 'hash': new _Hash, + 'map': new (_Map || _ListCache), + 'string': new _Hash + }; +} + +/* harmony default export */ var _mapCacheClear = (mapCacheClear); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isKeyable.js +/** + * Checks if `value` is suitable for use as unique object key. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is suitable, else `false`. + */ +function isKeyable(value) { + var type = typeof value; + return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') + ? (value !== '__proto__') + : (value === null); +} + +/* harmony default export */ var _isKeyable = (isKeyable); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getMapData.js + + +/** + * Gets the data for `map`. + * + * @private + * @param {Object} map The map to query. + * @param {string} key The reference key. + * @returns {*} Returns the map data. + */ +function getMapData(map, key) { + var data = map.__data__; + return _isKeyable(key) + ? data[typeof key == 'string' ? 'string' : 'hash'] + : data.map; +} + +/* harmony default export */ var _getMapData = (getMapData); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheDelete.js + + +/** + * Removes `key` and its value from the map. + * + * @private + * @name delete + * @memberOf MapCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function mapCacheDelete(key) { + var result = _getMapData(this, key)['delete'](key); + this.size -= result ? 1 : 0; + return result; +} + +/* harmony default export */ var _mapCacheDelete = (mapCacheDelete); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheGet.js + + +/** + * Gets the map value for `key`. + * + * @private + * @name get + * @memberOf MapCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function mapCacheGet(key) { + return _getMapData(this, key).get(key); +} + +/* harmony default export */ var _mapCacheGet = (mapCacheGet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheHas.js + + +/** + * Checks if a map value for `key` exists. + * + * @private + * @name has + * @memberOf MapCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function mapCacheHas(key) { + return _getMapData(this, key).has(key); +} + +/* harmony default export */ var _mapCacheHas = (mapCacheHas); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheSet.js + + +/** + * Sets the map `key` to `value`. + * + * @private + * @name set + * @memberOf MapCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the map cache instance. + */ +function mapCacheSet(key, value) { + var data = _getMapData(this, key), + size = data.size; + + data.set(key, value); + this.size += data.size == size ? 0 : 1; + return this; +} + +/* harmony default export */ var _mapCacheSet = (mapCacheSet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_MapCache.js + + + + + + +/** + * Creates a map cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function MapCache(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +// Add methods to `MapCache`. +MapCache.prototype.clear = _mapCacheClear; +MapCache.prototype['delete'] = _mapCacheDelete; +MapCache.prototype.get = _mapCacheGet; +MapCache.prototype.has = _mapCacheHas; +MapCache.prototype.set = _mapCacheSet; + +/* harmony default export */ var _MapCache = (MapCache); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackSet.js + + + + +/** Used as the size to enable large array optimizations. */ +var LARGE_ARRAY_SIZE = 200; + +/** + * Sets the stack `key` to `value`. + * + * @private + * @name set + * @memberOf Stack + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the stack cache instance. + */ +function stackSet(key, value) { + var data = this.__data__; + if (data instanceof _ListCache) { + var pairs = data.__data__; + if (!_Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { + pairs.push([key, value]); + this.size = ++data.size; + return this; + } + data = this.__data__ = new _MapCache(pairs); + } + data.set(key, value); + this.size = data.size; + return this; +} + +/* harmony default export */ var _stackSet = (stackSet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Stack.js + + + + + + + +/** + * Creates a stack cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function Stack(entries) { + var data = this.__data__ = new _ListCache(entries); + this.size = data.size; +} + +// Add methods to `Stack`. +Stack.prototype.clear = _stackClear; +Stack.prototype['delete'] = _stackDelete; +Stack.prototype.get = _stackGet; +Stack.prototype.has = _stackHas; +Stack.prototype.set = _stackSet; + +/* harmony default export */ var _Stack = (Stack); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_defineProperty.js + + +var _defineProperty_defineProperty = (function() { + try { + var func = _getNative(Object, 'defineProperty'); + func({}, '', {}); + return func; + } catch (e) {} +}()); + +/* harmony default export */ var _defineProperty = (_defineProperty_defineProperty); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseAssignValue.js + + +/** + * The base implementation of `assignValue` and `assignMergeValue` without + * value checks. + * + * @private + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. + */ +function baseAssignValue(object, key, value) { + if (key == '__proto__' && _defineProperty) { + _defineProperty(object, key, { + 'configurable': true, + 'enumerable': true, + 'value': value, + 'writable': true + }); + } else { + object[key] = value; + } +} + +/* harmony default export */ var _baseAssignValue = (baseAssignValue); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_assignMergeValue.js + + + +/** + * This function is like `assignValue` except that it doesn't assign + * `undefined` values. + * + * @private + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. + */ +function assignMergeValue(object, key, value) { + if ((value !== undefined && !_lodash_es_4_17_21_lodash_es_eq(object[key], value)) || + (value === undefined && !(key in object))) { + _baseAssignValue(object, key, value); + } +} + +/* harmony default export */ var _assignMergeValue = (assignMergeValue); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_createBaseFor.js +/** + * Creates a base function for methods like `_.forIn` and `_.forOwn`. + * + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. + */ +function createBaseFor(fromRight) { + return function(object, iteratee, keysFunc) { + var index = -1, + iterable = Object(object), + props = keysFunc(object), + length = props.length; + + while (length--) { + var key = props[fromRight ? length : ++index]; + if (iteratee(iterable[key], key, iterable) === false) { + break; + } + } + return object; + }; +} + +/* harmony default export */ var _createBaseFor = (createBaseFor); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseFor.js + + +/** + * The base implementation of `baseForOwn` which iterates over `object` + * properties returned by `keysFunc` and invokes `iteratee` for each property. + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {Function} keysFunc The function to get the keys of `object`. + * @returns {Object} Returns `object`. + */ +var baseFor = _createBaseFor(); + +/* harmony default export */ var _baseFor = (baseFor); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_cloneBuffer.js + + +/** Detect free variable `exports`. */ +var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + +/** Detect free variable `module`. */ +var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; + +/** Detect the popular CommonJS extension `module.exports`. */ +var moduleExports = freeModule && freeModule.exports === freeExports; + +/** Built-in value references. */ +var Buffer = moduleExports ? _root.Buffer : undefined, + allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined; + +/** + * Creates a clone of `buffer`. + * + * @private + * @param {Buffer} buffer The buffer to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Buffer} Returns the cloned buffer. + */ +function cloneBuffer(buffer, isDeep) { + if (isDeep) { + return buffer.slice(); + } + var length = buffer.length, + result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); + + buffer.copy(result); + return result; +} + +/* harmony default export */ var _cloneBuffer = (cloneBuffer); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Uint8Array.js + + +/** Built-in value references. */ +var Uint8Array = _root.Uint8Array; + +/* harmony default export */ var _Uint8Array = (Uint8Array); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_cloneArrayBuffer.js + + +/** + * Creates a clone of `arrayBuffer`. + * + * @private + * @param {ArrayBuffer} arrayBuffer The array buffer to clone. + * @returns {ArrayBuffer} Returns the cloned array buffer. + */ +function cloneArrayBuffer(arrayBuffer) { + var result = new arrayBuffer.constructor(arrayBuffer.byteLength); + new _Uint8Array(result).set(new _Uint8Array(arrayBuffer)); + return result; +} + +/* harmony default export */ var _cloneArrayBuffer = (cloneArrayBuffer); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_cloneTypedArray.js + + +/** + * Creates a clone of `typedArray`. + * + * @private + * @param {Object} typedArray The typed array to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned typed array. + */ +function cloneTypedArray(typedArray, isDeep) { + var buffer = isDeep ? _cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; + return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); +} + +/* harmony default export */ var _cloneTypedArray = (cloneTypedArray); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_copyArray.js +/** + * Copies the values of `source` to `array`. + * + * @private + * @param {Array} source The array to copy values from. + * @param {Array} [array=[]] The array to copy values to. + * @returns {Array} Returns `array`. + */ +function copyArray(source, array) { + var index = -1, + length = source.length; + + array || (array = Array(length)); + while (++index < length) { + array[index] = source[index]; + } + return array; +} + +/* harmony default export */ var _copyArray = (copyArray); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseCreate.js + + +/** Built-in value references. */ +var objectCreate = Object.create; + +/** + * The base implementation of `_.create` without support for assigning + * properties to the created object. + * + * @private + * @param {Object} proto The object to inherit from. + * @returns {Object} Returns the new object. + */ +var baseCreate = (function() { + function object() {} + return function(proto) { + if (!_lodash_es_4_17_21_lodash_es_isObject(proto)) { + return {}; + } + if (objectCreate) { + return objectCreate(proto); + } + object.prototype = proto; + var result = new object; + object.prototype = undefined; + return result; + }; +}()); + +/* harmony default export */ var _baseCreate = (baseCreate); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_overArg.js +/** + * Creates a unary function that invokes `func` with its argument transformed. + * + * @private + * @param {Function} func The function to wrap. + * @param {Function} transform The argument transform. + * @returns {Function} Returns the new function. + */ +function overArg(func, transform) { + return function(arg) { + return func(transform(arg)); + }; +} + +/* harmony default export */ var _overArg = (overArg); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getPrototype.js + + +/** Built-in value references. */ +var getPrototype = _overArg(Object.getPrototypeOf, Object); + +/* harmony default export */ var _getPrototype = (getPrototype); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isPrototype.js +/** Used for built-in method references. */ +var _isPrototype_objectProto = Object.prototype; + +/** + * Checks if `value` is likely a prototype object. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. + */ +function isPrototype(value) { + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || _isPrototype_objectProto; + + return value === proto; +} + +/* harmony default export */ var _isPrototype = (isPrototype); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_initCloneObject.js + + + + +/** + * Initializes an object clone. + * + * @private + * @param {Object} object The object to clone. + * @returns {Object} Returns the initialized clone. + */ +function initCloneObject(object) { + return (typeof object.constructor == 'function' && !_isPrototype(object)) + ? _baseCreate(_getPrototype(object)) + : {}; +} + +/* harmony default export */ var _initCloneObject = (initCloneObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isObjectLike.js +/** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ +function isObjectLike(value) { + return value != null && typeof value == 'object'; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isObjectLike = (isObjectLike); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseIsArguments.js + + + +/** `Object#toString` result references. */ +var argsTag = '[object Arguments]'; + +/** + * The base implementation of `_.isArguments`. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + */ +function baseIsArguments(value) { + return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && _baseGetTag(value) == argsTag; +} + +/* harmony default export */ var _baseIsArguments = (baseIsArguments); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArguments.js + + + +/** Used for built-in method references. */ +var isArguments_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var isArguments_hasOwnProperty = isArguments_objectProto.hasOwnProperty; + +/** Built-in value references. */ +var propertyIsEnumerable = isArguments_objectProto.propertyIsEnumerable; + +/** + * Checks if `value` is likely an `arguments` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + * else `false`. + * @example + * + * _.isArguments(function() { return arguments; }()); + * // => true + * + * _.isArguments([1, 2, 3]); + * // => false + */ +var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) { + return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && isArguments_hasOwnProperty.call(value, 'callee') && + !propertyIsEnumerable.call(value, 'callee'); +}; + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArguments = (isArguments); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArray.js +/** + * Checks if `value` is classified as an `Array` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array, else `false`. + * @example + * + * _.isArray([1, 2, 3]); + * // => true + * + * _.isArray(document.body.children); + * // => false + * + * _.isArray('abc'); + * // => false + * + * _.isArray(_.noop); + * // => false + */ +var isArray = Array.isArray; + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArray = (isArray); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isLength.js +/** Used as references for various `Number` constants. */ +var MAX_SAFE_INTEGER = 9007199254740991; + +/** + * Checks if `value` is a valid array-like length. + * + * **Note:** This method is loosely based on + * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. + * @example + * + * _.isLength(3); + * // => true + * + * _.isLength(Number.MIN_VALUE); + * // => false + * + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false + */ +function isLength(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isLength = (isLength); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArrayLike.js + + + +/** + * Checks if `value` is array-like. A value is considered array-like if it's + * not a function and has a `value.length` that's an integer greater than or + * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is array-like, else `false`. + * @example + * + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false + */ +function isArrayLike(value) { + return value != null && _lodash_es_4_17_21_lodash_es_isLength(value.length) && !_lodash_es_4_17_21_lodash_es_isFunction(value); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArrayLike = (isArrayLike); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArrayLikeObject.js + + + +/** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array-like object, + * else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ +function isArrayLikeObject(value) { + return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && _lodash_es_4_17_21_lodash_es_isArrayLike(value); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArrayLikeObject = (isArrayLikeObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/stubFalse.js +/** + * This method returns `false`. + * + * @static + * @memberOf _ + * @since 4.13.0 + * @category Util + * @returns {boolean} Returns `false`. + * @example + * + * _.times(2, _.stubFalse); + * // => [false, false] + */ +function stubFalse() { + return false; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_stubFalse = (stubFalse); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isBuffer.js + + + +/** Detect free variable `exports`. */ +var isBuffer_freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + +/** Detect free variable `module`. */ +var isBuffer_freeModule = isBuffer_freeExports && typeof module == 'object' && module && !module.nodeType && module; + +/** Detect the popular CommonJS extension `module.exports`. */ +var isBuffer_moduleExports = isBuffer_freeModule && isBuffer_freeModule.exports === isBuffer_freeExports; + +/** Built-in value references. */ +var isBuffer_Buffer = isBuffer_moduleExports ? _root.Buffer : undefined; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeIsBuffer = isBuffer_Buffer ? isBuffer_Buffer.isBuffer : undefined; + +/** + * Checks if `value` is a buffer. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. + * @example + * + * _.isBuffer(new Buffer(2)); + * // => true + * + * _.isBuffer(new Uint8Array(2)); + * // => false + */ +var isBuffer = nativeIsBuffer || _lodash_es_4_17_21_lodash_es_stubFalse; + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isBuffer = (isBuffer); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isPlainObject.js + + + + +/** `Object#toString` result references. */ +var objectTag = '[object Object]'; + +/** Used for built-in method references. */ +var isPlainObject_funcProto = Function.prototype, + isPlainObject_objectProto = Object.prototype; + +/** Used to resolve the decompiled source of functions. */ +var isPlainObject_funcToString = isPlainObject_funcProto.toString; + +/** Used to check objects for own properties. */ +var isPlainObject_hasOwnProperty = isPlainObject_objectProto.hasOwnProperty; + +/** Used to infer the `Object` constructor. */ +var objectCtorString = isPlainObject_funcToString.call(Object); + +/** + * Checks if `value` is a plain object, that is, an object created by the + * `Object` constructor or one with a `[[Prototype]]` of `null`. + * + * @static + * @memberOf _ + * @since 0.8.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * _.isPlainObject(new Foo); + * // => false + * + * _.isPlainObject([1, 2, 3]); + * // => false + * + * _.isPlainObject({ 'x': 0, 'y': 0 }); + * // => true + * + * _.isPlainObject(Object.create(null)); + * // => true + */ +function isPlainObject(value) { + if (!_lodash_es_4_17_21_lodash_es_isObjectLike(value) || _baseGetTag(value) != objectTag) { + return false; + } + var proto = _getPrototype(value); + if (proto === null) { + return true; + } + var Ctor = isPlainObject_hasOwnProperty.call(proto, 'constructor') && proto.constructor; + return typeof Ctor == 'function' && Ctor instanceof Ctor && + isPlainObject_funcToString.call(Ctor) == objectCtorString; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isPlainObject = (isPlainObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseIsTypedArray.js + + + + +/** `Object#toString` result references. */ +var _baseIsTypedArray_argsTag = '[object Arguments]', + arrayTag = '[object Array]', + boolTag = '[object Boolean]', + dateTag = '[object Date]', + errorTag = '[object Error]', + _baseIsTypedArray_funcTag = '[object Function]', + mapTag = '[object Map]', + numberTag = '[object Number]', + _baseIsTypedArray_objectTag = '[object Object]', + regexpTag = '[object RegExp]', + setTag = '[object Set]', + stringTag = '[object String]', + weakMapTag = '[object WeakMap]'; + +var arrayBufferTag = '[object ArrayBuffer]', + dataViewTag = '[object DataView]', + float32Tag = '[object Float32Array]', + float64Tag = '[object Float64Array]', + int8Tag = '[object Int8Array]', + int16Tag = '[object Int16Array]', + int32Tag = '[object Int32Array]', + uint8Tag = '[object Uint8Array]', + uint8ClampedTag = '[object Uint8ClampedArray]', + uint16Tag = '[object Uint16Array]', + uint32Tag = '[object Uint32Array]'; + +/** Used to identify `toStringTag` values of typed arrays. */ +var typedArrayTags = {}; +typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = +typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = +typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = +typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = +typedArrayTags[uint32Tag] = true; +typedArrayTags[_baseIsTypedArray_argsTag] = typedArrayTags[arrayTag] = +typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = +typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = +typedArrayTags[errorTag] = typedArrayTags[_baseIsTypedArray_funcTag] = +typedArrayTags[mapTag] = typedArrayTags[numberTag] = +typedArrayTags[_baseIsTypedArray_objectTag] = typedArrayTags[regexpTag] = +typedArrayTags[setTag] = typedArrayTags[stringTag] = +typedArrayTags[weakMapTag] = false; + +/** + * The base implementation of `_.isTypedArray` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. + */ +function baseIsTypedArray(value) { + return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && + _lodash_es_4_17_21_lodash_es_isLength(value.length) && !!typedArrayTags[_baseGetTag(value)]; +} + +/* harmony default export */ var _baseIsTypedArray = (baseIsTypedArray); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseUnary.js +/** + * The base implementation of `_.unary` without support for storing metadata. + * + * @private + * @param {Function} func The function to cap arguments for. + * @returns {Function} Returns the new capped function. + */ +function baseUnary(func) { + return function(value) { + return func(value); + }; +} + +/* harmony default export */ var _baseUnary = (baseUnary); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_nodeUtil.js + + +/** Detect free variable `exports`. */ +var _nodeUtil_freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + +/** Detect free variable `module`. */ +var _nodeUtil_freeModule = _nodeUtil_freeExports && typeof module == 'object' && module && !module.nodeType && module; + +/** Detect the popular CommonJS extension `module.exports`. */ +var _nodeUtil_moduleExports = _nodeUtil_freeModule && _nodeUtil_freeModule.exports === _nodeUtil_freeExports; + +/** Detect free variable `process` from Node.js. */ +var freeProcess = _nodeUtil_moduleExports && _freeGlobal.process; + +/** Used to access faster Node.js helpers. */ +var nodeUtil = (function() { + try { + // Use `util.types` for Node.js 10+. + var types = _nodeUtil_freeModule && _nodeUtil_freeModule.require && _nodeUtil_freeModule.require('util').types; + + if (types) { + return types; + } + + // Legacy `process.binding('util')` for Node.js < 10. + return freeProcess && freeProcess.binding && freeProcess.binding('util'); + } catch (e) {} +}()); + +/* harmony default export */ var _nodeUtil = (nodeUtil); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isTypedArray.js + + + + +/* Node.js helper references. */ +var nodeIsTypedArray = _nodeUtil && _nodeUtil.isTypedArray; + +/** + * Checks if `value` is classified as a typed array. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. + * @example + * + * _.isTypedArray(new Uint8Array); + * // => true + * + * _.isTypedArray([]); + * // => false + */ +var isTypedArray = nodeIsTypedArray ? _baseUnary(nodeIsTypedArray) : _baseIsTypedArray; + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isTypedArray = (isTypedArray); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_safeGet.js +/** + * Gets the value at `key`, unless `key` is "__proto__" or "constructor". + * + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. + */ +function safeGet(object, key) { + if (key === 'constructor' && typeof object[key] === 'function') { + return; + } + + if (key == '__proto__') { + return; + } + + return object[key]; +} + +/* harmony default export */ var _safeGet = (safeGet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_assignValue.js + + + +/** Used for built-in method references. */ +var _assignValue_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _assignValue_hasOwnProperty = _assignValue_objectProto.hasOwnProperty; + +/** + * Assigns `value` to `key` of `object` if the existing value is not equivalent + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. + * + * @private + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. + */ +function assignValue(object, key, value) { + var objValue = object[key]; + if (!(_assignValue_hasOwnProperty.call(object, key) && _lodash_es_4_17_21_lodash_es_eq(objValue, value)) || + (value === undefined && !(key in object))) { + _baseAssignValue(object, key, value); + } +} + +/* harmony default export */ var _assignValue = (assignValue); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_copyObject.js + + + +/** + * Copies properties of `source` to `object`. + * + * @private + * @param {Object} source The object to copy properties from. + * @param {Array} props The property identifiers to copy. + * @param {Object} [object={}] The object to copy properties to. + * @param {Function} [customizer] The function to customize copied values. + * @returns {Object} Returns `object`. + */ +function copyObject(source, props, object, customizer) { + var isNew = !object; + object || (object = {}); + + var index = -1, + length = props.length; + + while (++index < length) { + var key = props[index]; + + var newValue = customizer + ? customizer(object[key], source[key], key, object, source) + : undefined; + + if (newValue === undefined) { + newValue = source[key]; + } + if (isNew) { + _baseAssignValue(object, key, newValue); + } else { + _assignValue(object, key, newValue); + } + } + return object; +} + +/* harmony default export */ var _copyObject = (copyObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseTimes.js +/** + * The base implementation of `_.times` without support for iteratee shorthands + * or max array length checks. + * + * @private + * @param {number} n The number of times to invoke `iteratee`. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the array of results. + */ +function baseTimes(n, iteratee) { + var index = -1, + result = Array(n); + + while (++index < n) { + result[index] = iteratee(index); + } + return result; +} + +/* harmony default export */ var _baseTimes = (baseTimes); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isIndex.js +/** Used as references for various `Number` constants. */ +var _isIndex_MAX_SAFE_INTEGER = 9007199254740991; + +/** Used to detect unsigned integer values. */ +var reIsUint = /^(?:0|[1-9]\d*)$/; + +/** + * Checks if `value` is a valid array-like index. + * + * @private + * @param {*} value The value to check. + * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. + * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. + */ +function isIndex(value, length) { + var type = typeof value; + length = length == null ? _isIndex_MAX_SAFE_INTEGER : length; + + return !!length && + (type == 'number' || + (type != 'symbol' && reIsUint.test(value))) && + (value > -1 && value % 1 == 0 && value < length); +} + +/* harmony default export */ var _isIndex = (isIndex); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_arrayLikeKeys.js + + + + + + + +/** Used for built-in method references. */ +var _arrayLikeKeys_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _arrayLikeKeys_hasOwnProperty = _arrayLikeKeys_objectProto.hasOwnProperty; + +/** + * Creates an array of the enumerable property names of the array-like `value`. + * + * @private + * @param {*} value The value to query. + * @param {boolean} inherited Specify returning inherited property names. + * @returns {Array} Returns the array of property names. + */ +function arrayLikeKeys(value, inherited) { + var isArr = _lodash_es_4_17_21_lodash_es_isArray(value), + isArg = !isArr && _lodash_es_4_17_21_lodash_es_isArguments(value), + isBuff = !isArr && !isArg && _lodash_es_4_17_21_lodash_es_isBuffer(value), + isType = !isArr && !isArg && !isBuff && _lodash_es_4_17_21_lodash_es_isTypedArray(value), + skipIndexes = isArr || isArg || isBuff || isType, + result = skipIndexes ? _baseTimes(value.length, String) : [], + length = result.length; + + for (var key in value) { + if ((inherited || _arrayLikeKeys_hasOwnProperty.call(value, key)) && + !(skipIndexes && ( + // Safari 9 has enumerable `arguments.length` in strict mode. + key == 'length' || + // Node.js 0.10 has enumerable non-index properties on buffers. + (isBuff && (key == 'offset' || key == 'parent')) || + // PhantomJS 2 has enumerable non-index properties on typed arrays. + (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || + // Skip index properties. + _isIndex(key, length) + ))) { + result.push(key); + } + } + return result; +} + +/* harmony default export */ var _arrayLikeKeys = (arrayLikeKeys); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_nativeKeysIn.js +/** + * This function is like + * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) + * except that it includes inherited enumerable properties. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ +function nativeKeysIn(object) { + var result = []; + if (object != null) { + for (var key in Object(object)) { + result.push(key); + } + } + return result; +} + +/* harmony default export */ var _nativeKeysIn = (nativeKeysIn); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseKeysIn.js + + + + +/** Used for built-in method references. */ +var _baseKeysIn_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _baseKeysIn_hasOwnProperty = _baseKeysIn_objectProto.hasOwnProperty; + +/** + * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ +function baseKeysIn(object) { + if (!_lodash_es_4_17_21_lodash_es_isObject(object)) { + return _nativeKeysIn(object); + } + var isProto = _isPrototype(object), + result = []; + + for (var key in object) { + if (!(key == 'constructor' && (isProto || !_baseKeysIn_hasOwnProperty.call(object, key)))) { + result.push(key); + } + } + return result; +} + +/* harmony default export */ var _baseKeysIn = (baseKeysIn); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/keysIn.js + + + + +/** + * Creates an array of the own and inherited enumerable property names of `object`. + * + * **Note:** Non-object values are coerced to objects. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.keysIn(new Foo); + * // => ['a', 'b', 'c'] (iteration order is not guaranteed) + */ +function keysIn(object) { + return _lodash_es_4_17_21_lodash_es_isArrayLike(object) ? _arrayLikeKeys(object, true) : _baseKeysIn(object); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_keysIn = (keysIn); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/toPlainObject.js + + + +/** + * Converts `value` to a plain object flattening inherited enumerable string + * keyed properties of `value` to own properties of the plain object. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {*} value The value to convert. + * @returns {Object} Returns the converted plain object. + * @example + * + * function Foo() { + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.assign({ 'a': 1 }, new Foo); + * // => { 'a': 1, 'b': 2 } + * + * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); + * // => { 'a': 1, 'b': 2, 'c': 3 } + */ +function toPlainObject(value) { + return _copyObject(value, _lodash_es_4_17_21_lodash_es_keysIn(value)); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_toPlainObject = (toPlainObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseMergeDeep.js + + + + + + + + + + + + + + + + +/** + * A specialized version of `baseMerge` for arrays and objects which performs + * deep merges and tracks traversed objects enabling objects with circular + * references to be merged. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @param {string} key The key of the value to merge. + * @param {number} srcIndex The index of `source`. + * @param {Function} mergeFunc The function to merge values. + * @param {Function} [customizer] The function to customize assigned values. + * @param {Object} [stack] Tracks traversed source values and their merged + * counterparts. + */ +function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { + var objValue = _safeGet(object, key), + srcValue = _safeGet(source, key), + stacked = stack.get(srcValue); + + if (stacked) { + _assignMergeValue(object, key, stacked); + return; + } + var newValue = customizer + ? customizer(objValue, srcValue, (key + ''), object, source, stack) + : undefined; + + var isCommon = newValue === undefined; + + if (isCommon) { + var isArr = _lodash_es_4_17_21_lodash_es_isArray(srcValue), + isBuff = !isArr && _lodash_es_4_17_21_lodash_es_isBuffer(srcValue), + isTyped = !isArr && !isBuff && _lodash_es_4_17_21_lodash_es_isTypedArray(srcValue); + + newValue = srcValue; + if (isArr || isBuff || isTyped) { + if (_lodash_es_4_17_21_lodash_es_isArray(objValue)) { + newValue = objValue; + } + else if (_lodash_es_4_17_21_lodash_es_isArrayLikeObject(objValue)) { + newValue = _copyArray(objValue); + } + else if (isBuff) { + isCommon = false; + newValue = _cloneBuffer(srcValue, true); + } + else if (isTyped) { + isCommon = false; + newValue = _cloneTypedArray(srcValue, true); + } + else { + newValue = []; + } + } + else if (_lodash_es_4_17_21_lodash_es_isPlainObject(srcValue) || _lodash_es_4_17_21_lodash_es_isArguments(srcValue)) { + newValue = objValue; + if (_lodash_es_4_17_21_lodash_es_isArguments(objValue)) { + newValue = _lodash_es_4_17_21_lodash_es_toPlainObject(objValue); + } + else if (!_lodash_es_4_17_21_lodash_es_isObject(objValue) || _lodash_es_4_17_21_lodash_es_isFunction(objValue)) { + newValue = _initCloneObject(srcValue); + } + } + else { + isCommon = false; + } + } + if (isCommon) { + // Recursively merge objects and arrays (susceptible to call stack limits). + stack.set(srcValue, newValue); + mergeFunc(newValue, srcValue, srcIndex, customizer, stack); + stack['delete'](srcValue); + } + _assignMergeValue(object, key, newValue); +} + +/* harmony default export */ var _baseMergeDeep = (baseMergeDeep); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseMerge.js + + + + + + + + +/** + * The base implementation of `_.merge` without support for multiple sources. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @param {number} srcIndex The index of `source`. + * @param {Function} [customizer] The function to customize merged values. + * @param {Object} [stack] Tracks traversed source values and their merged + * counterparts. + */ +function baseMerge(object, source, srcIndex, customizer, stack) { + if (object === source) { + return; + } + _baseFor(source, function(srcValue, key) { + stack || (stack = new _Stack); + if (_lodash_es_4_17_21_lodash_es_isObject(srcValue)) { + _baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); + } + else { + var newValue = customizer + ? customizer(_safeGet(object, key), srcValue, (key + ''), object, source, stack) + : undefined; + + if (newValue === undefined) { + newValue = srcValue; + } + _assignMergeValue(object, key, newValue); + } + }, _lodash_es_4_17_21_lodash_es_keysIn); +} + +/* harmony default export */ var _baseMerge = (baseMerge); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/identity.js +/** + * This method returns the first argument it receives. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Util + * @param {*} value Any value. + * @returns {*} Returns `value`. + * @example + * + * var object = { 'a': 1 }; + * + * console.log(_.identity(object) === object); + * // => true + */ +function identity(value) { + return value; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_identity = (identity); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_apply.js +/** + * A faster alternative to `Function#apply`, this function invokes `func` + * with the `this` binding of `thisArg` and the arguments of `args`. + * + * @private + * @param {Function} func The function to invoke. + * @param {*} thisArg The `this` binding of `func`. + * @param {Array} args The arguments to invoke `func` with. + * @returns {*} Returns the result of `func`. + */ +function apply(func, thisArg, args) { + switch (args.length) { + case 0: return func.call(thisArg); + case 1: return func.call(thisArg, args[0]); + case 2: return func.call(thisArg, args[0], args[1]); + case 3: return func.call(thisArg, args[0], args[1], args[2]); + } + return func.apply(thisArg, args); +} + +/* harmony default export */ var _apply = (apply); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_overRest.js + + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max; + +/** + * A specialized version of `baseRest` which transforms the rest array. + * + * @private + * @param {Function} func The function to apply a rest parameter to. + * @param {number} [start=func.length-1] The start position of the rest parameter. + * @param {Function} transform The rest array transform. + * @returns {Function} Returns the new function. + */ +function overRest(func, start, transform) { + start = nativeMax(start === undefined ? (func.length - 1) : start, 0); + return function() { + var args = arguments, + index = -1, + length = nativeMax(args.length - start, 0), + array = Array(length); + + while (++index < length) { + array[index] = args[start + index]; + } + index = -1; + var otherArgs = Array(start + 1); + while (++index < start) { + otherArgs[index] = args[index]; + } + otherArgs[start] = transform(array); + return _apply(func, this, otherArgs); + }; +} + +/* harmony default export */ var _overRest = (overRest); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/constant.js +/** + * Creates a function that returns `value`. + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Util + * @param {*} value The value to return from the new function. + * @returns {Function} Returns the new constant function. + * @example + * + * var objects = _.times(2, _.constant({ 'a': 1 })); + * + * console.log(objects); + * // => [{ 'a': 1 }, { 'a': 1 }] + * + * console.log(objects[0] === objects[1]); + * // => true + */ +function constant(value) { + return function() { + return value; + }; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_constant = (constant); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseSetToString.js + + + + +/** + * The base implementation of `setToString` without support for hot loop shorting. + * + * @private + * @param {Function} func The function to modify. + * @param {Function} string The `toString` result. + * @returns {Function} Returns `func`. + */ +var baseSetToString = !_defineProperty ? _lodash_es_4_17_21_lodash_es_identity : function(func, string) { + return _defineProperty(func, 'toString', { + 'configurable': true, + 'enumerable': false, + 'value': _lodash_es_4_17_21_lodash_es_constant(string), + 'writable': true + }); +}; + +/* harmony default export */ var _baseSetToString = (baseSetToString); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_shortOut.js +/** Used to detect hot functions by number of calls within a span of milliseconds. */ +var HOT_COUNT = 800, + HOT_SPAN = 16; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeNow = Date.now; + +/** + * Creates a function that'll short out and invoke `identity` instead + * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` + * milliseconds. + * + * @private + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new shortable function. + */ +function shortOut(func) { + var count = 0, + lastCalled = 0; + + return function() { + var stamp = nativeNow(), + remaining = HOT_SPAN - (stamp - lastCalled); + + lastCalled = stamp; + if (remaining > 0) { + if (++count >= HOT_COUNT) { + return arguments[0]; + } + } else { + count = 0; + } + return func.apply(undefined, arguments); + }; +} + +/* harmony default export */ var _shortOut = (shortOut); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_setToString.js + + + +/** + * Sets the `toString` method of `func` to return `string`. + * + * @private + * @param {Function} func The function to modify. + * @param {Function} string The `toString` result. + * @returns {Function} Returns `func`. + */ +var setToString = _shortOut(_baseSetToString); + +/* harmony default export */ var _setToString = (setToString); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseRest.js + + + + +/** + * The base implementation of `_.rest` which doesn't validate or coerce arguments. + * + * @private + * @param {Function} func The function to apply a rest parameter to. + * @param {number} [start=func.length-1] The start position of the rest parameter. + * @returns {Function} Returns the new function. + */ +function baseRest(func, start) { + return _setToString(_overRest(func, start, _lodash_es_4_17_21_lodash_es_identity), func + ''); +} + +/* harmony default export */ var _baseRest = (baseRest); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isIterateeCall.js + + + + + +/** + * Checks if the given arguments are from an iteratee call. + * + * @private + * @param {*} value The potential iteratee value argument. + * @param {*} index The potential iteratee index or key argument. + * @param {*} object The potential iteratee object argument. + * @returns {boolean} Returns `true` if the arguments are from an iteratee call, + * else `false`. + */ +function isIterateeCall(value, index, object) { + if (!_lodash_es_4_17_21_lodash_es_isObject(object)) { + return false; + } + var type = typeof index; + if (type == 'number' + ? (_lodash_es_4_17_21_lodash_es_isArrayLike(object) && _isIndex(index, object.length)) + : (type == 'string' && index in object) + ) { + return _lodash_es_4_17_21_lodash_es_eq(object[index], value); + } + return false; +} + +/* harmony default export */ var _isIterateeCall = (isIterateeCall); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_createAssigner.js + + + +/** + * Creates a function like `_.assign`. + * + * @private + * @param {Function} assigner The function to assign values. + * @returns {Function} Returns the new assigner function. + */ +function createAssigner(assigner) { + return _baseRest(function(object, sources) { + var index = -1, + length = sources.length, + customizer = length > 1 ? sources[length - 1] : undefined, + guard = length > 2 ? sources[2] : undefined; + + customizer = (assigner.length > 3 && typeof customizer == 'function') + ? (length--, customizer) + : undefined; + + if (guard && _isIterateeCall(sources[0], sources[1], guard)) { + customizer = length < 3 ? undefined : customizer; + length = 1; + } + object = Object(object); + while (++index < length) { + var source = sources[index]; + if (source) { + assigner(object, source, index, customizer); + } + } + return object; + }); +} + +/* harmony default export */ var _createAssigner = (createAssigner); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/merge.js + + + +/** + * This method is like `_.assign` except that it recursively merges own and + * inherited enumerable string keyed properties of source objects into the + * destination object. Source properties that resolve to `undefined` are + * skipped if a destination value exists. Array and plain object properties + * are merged recursively. Other objects and value types are overridden by + * assignment. Source objects are applied from left to right. Subsequent + * sources overwrite property assignments of previous sources. + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 0.5.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @example + * + * var object = { + * 'a': [{ 'b': 2 }, { 'd': 4 }] + * }; + * + * var other = { + * 'a': [{ 'c': 3 }, { 'e': 5 }] + * }; + * + * _.merge(object, other); + * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] } + */ +var merge = _createAssigner(function(object, source, srcIndex) { + _baseMerge(object, source, srcIndex); +}); + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_merge = (merge); + +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/utils/get.js +var get = __webpack_require__(69004); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/utils/set.js +var set = __webpack_require__(15208); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/isNil/index.js +var isNil = __webpack_require__(97648); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/merge/index.js +var es_merge = __webpack_require__(70036); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/transformKeySubmitValue/index.js + + + + + + + + + +/** + * 暂时还不支持 Set和 Map 结构 判断是不是一个能遍历的对象 + * + * @param itemValue + * @returns Boolean + */ +function isPlainObj(itemValue) { + if ((0,esm_typeof/* default */.Z)(itemValue) !== 'object') return false; + + /** Null 也要处理,不然omit空会失效 */ + if (itemValue === null) return true; + if ( /*#__PURE__*/_react_17_0_2_react.isValidElement(itemValue)) return false; + if (itemValue.constructor === RegExp) return false; + if (itemValue instanceof Map) return false; + if (itemValue instanceof Set) return false; + if (itemValue instanceof HTMLElement) return false; + if (itemValue instanceof Blob) return false; + if (itemValue instanceof File) return false; + if (Array.isArray(itemValue)) return false; + return true; +} +var transformKeySubmitValue = function transformKeySubmitValue(values, dataFormatMapRaw) { + var omit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; + // ignore nil transform + var dataFormatMap = Object.keys(dataFormatMapRaw).reduce(function (ret, key) { + var value = dataFormatMapRaw[key]; + if (!(0,isNil/* isNil */.k)(value)) { + // eslint-disable-next-line no-param-reassign + ret[key] = value; // can't be undefined + } + return ret; + }, {}); + if (Object.keys(dataFormatMap).length < 1) { + return values; + } + if (typeof window === 'undefined') return values; + // 如果 value 是 string | null | Array | Blob类型 其中之一,直接返回 + // 形如 {key: [File, File]} 的表单字段当进行第二次递归时会导致其直接越过 typeof value !== 'object' 这一判断 https://github.com/ant-design/pro-components/issues/2071 + if ((0,esm_typeof/* default */.Z)(values) !== 'object' || (0,isNil/* isNil */.k)(values) || values instanceof Blob) { + return values; + } + var finalValues = Array.isArray(values) ? [] : {}; + var gen = function gen(tempValues, parentsKey) { + var isArrayValues = Array.isArray(tempValues); + var result = isArrayValues ? [] : {}; + if (tempValues == null || tempValues === undefined) { + return result; + } + Object.keys(tempValues).forEach(function (entityKey) { + var transformForArray = function transformForArray(transformList, subItemValue) { + if (!Array.isArray(transformList)) return entityKey; + transformList.forEach(function (transform, idx) { + // 如果不存在直接返回 + if (!transform) return; + var subTransformItem = subItemValue === null || subItemValue === void 0 ? void 0 : subItemValue[idx]; + + // 如果是个方法,把key设置为方法的返回值 + if (typeof transform === 'function') { + subItemValue[idx] = transform(subItemValue, entityKey, tempValues); + } + if ((0,esm_typeof/* default */.Z)(transform) === 'object' && !Array.isArray(transform)) { + Object.keys(transform).forEach(function (transformArrayItem) { + var subTransformItemValue = subTransformItem === null || subTransformItem === void 0 ? void 0 : subTransformItem[transformArrayItem]; + if (typeof transform[transformArrayItem] === 'function' && subTransformItemValue) { + var res = transform[transformArrayItem](subTransformItem[transformArrayItem], entityKey, tempValues); + subTransformItem[transformArrayItem] = (0,esm_typeof/* default */.Z)(res) === 'object' ? res[transformArrayItem] : res; + } else if ((0,esm_typeof/* default */.Z)(transform[transformArrayItem]) === 'object' && Array.isArray(transform[transformArrayItem]) && subTransformItemValue) { + transformForArray(transform[transformArrayItem], subTransformItemValue); + } + }); + } + if ((0,esm_typeof/* default */.Z)(transform) === 'object' && Array.isArray(transform) && subTransformItem) { + transformForArray(transform, subTransformItem); + } + }); + return entityKey; + }; + var key = parentsKey ? [parentsKey, entityKey].flat(1) : [entityKey].flat(1); + var itemValue = tempValues[entityKey]; + var transformFunction = (0,get/* default */.Z)(dataFormatMap, key); + var transform = function transform() { + var tempKey, + transformedResult, + isTransformedResultPrimitive = false; + + /** + * 先判断是否是方法,是的话执行后拿到值,如果是基本类型,则认为是直接 transform 为新的值, + * 如果返回是 Object 则认为是 transform 为新的 {newKey: newValue} + */ + if (typeof transformFunction === 'function') { + transformedResult = transformFunction === null || transformFunction === void 0 ? void 0 : transformFunction(itemValue, entityKey, tempValues); + var typeOfResult = (0,esm_typeof/* default */.Z)(transformedResult); + if (typeOfResult !== 'object' && typeOfResult !== 'undefined') { + tempKey = entityKey; + isTransformedResultPrimitive = true; + } else { + tempKey = transformedResult; + } + } else { + tempKey = transformForArray(transformFunction, itemValue); + } + + // { [key:string]:any } 数组也能通过编译 + if (Array.isArray(tempKey)) { + result = (0,set/* default */.Z)(result, tempKey, itemValue); + return; + } + if ((0,esm_typeof/* default */.Z)(tempKey) === 'object' && !Array.isArray(finalValues)) { + finalValues = _lodash_es_4_17_21_lodash_es_merge(finalValues, tempKey); + } else if ((0,esm_typeof/* default */.Z)(tempKey) === 'object' && Array.isArray(finalValues)) { + result = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, result), tempKey); + } else if (tempKey !== null || tempKey !== undefined) { + result = (0,set/* default */.Z)(result, [tempKey], isTransformedResultPrimitive ? transformedResult : itemValue); + } + }; + + /** 如果存在转化器提前渲染一下 */ + if (transformFunction && typeof transformFunction === 'function') { + transform(); + } + if (typeof window === 'undefined') return; + if (isPlainObj(itemValue)) { + var genValues = gen(itemValue, key); + if (Object.keys(genValues).length < 1) { + return; + } + result = (0,set/* default */.Z)(result, [entityKey], genValues); + return; + } + transform(); + }); + // namePath、transform在omit为false时需正常返回 https://github.com/ant-design/pro-components/issues/2901#issue-908097115 + return omit ? result : tempValues; + }; + finalValues = Array.isArray(values) && Array.isArray(finalValues) ? (0,toConsumableArray/* default */.Z)(gen(values)) : (0,es_merge/* merge */.T)({}, gen(values), finalValues); + return finalValues; +}; +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/conversionMomentValue/index.js +var conversionMomentValue = __webpack_require__(20037); +;// CONCATENATED MODULE: ./node_modules/_@umijs_use-params@1.0.9@@umijs/use-params/es/index.js +var __assign = (undefined && undefined.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +/* eslint-disable no-restricted-syntax */ + +/** + * + * @param {object} params + * @returns {URL} + */ +function setQueryToCurrentUrl(params) { + var _a; + var URL = (typeof window !== 'undefined' ? window : {}).URL; + var url = new URL((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.href); + Object.keys(params).forEach(function (key) { + var value = params[key]; + if (value !== null && value !== undefined) { + if (Array.isArray(value)) { + url.searchParams.delete(key); + value.forEach(function (valueItem) { + url.searchParams.append(key, valueItem); + }); + } + else if (value instanceof Date) { + if (!Number.isNaN(value.getTime())) { + url.searchParams.set(key, value.toISOString()); + } + } + else if (typeof value === 'object') { + url.searchParams.set(key, JSON.stringify(value)); + } + else { + url.searchParams.set(key, value); + } + } + else { + url.searchParams.delete(key); + } + }); + return url; +} +function useUrlSearchParams(initial, config) { + var _a; + if (initial === void 0) { initial = {}; } + if (config === void 0) { config = { disabled: false }; } + /** + * The main idea of this hook is to make things response to change of `window.location.search`, + * so no need for introducing new state (in the mean time). + * Whenever `window.location.search` is changed but not cause re-render, call `forceUpdate()`. + * Whenever the component - user of this hook - re-render, this hook should return + * the query object that corresponse to the current `window.location.search` + */ + var _b = (0,_react_17_0_2_react.useState)(), forceUpdate = _b[1]; + var locationSearch = typeof window !== 'undefined' && ((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.search); + /** + * @type {URLSearchParams} + */ + var urlSearchParams = (0,_react_17_0_2_react.useMemo)(function () { + if (config.disabled) + return {}; + return new URLSearchParams(locationSearch || {}); + }, [config.disabled, locationSearch]); + var params = (0,_react_17_0_2_react.useMemo)(function () { + if (config.disabled) + return {}; + if (typeof window === 'undefined' || !window.URL) + return {}; + var result = []; + // @ts-ignore + urlSearchParams.forEach(function (value, key) { + result.push({ + key: key, + value: value, + }); + }); + // group by key + result = result.reduce(function (acc, val) { + (acc[val.key] = acc[val.key] || []).push(val); + return acc; + }, {}); + result = Object.keys(result).map(function (key) { + var valueGroup = result[key]; + if (valueGroup.length === 1) { + return [key, valueGroup[0].value]; + } + return [key, valueGroup.map(function (_a) { + var value = _a.value; + return value; + })]; + }); + var newParams = __assign({}, initial); + result.forEach(function (_a) { + var key = _a[0], value = _a[1]; + newParams[key] = parseValue(key, value, {}, initial); + }); + return newParams; + }, [config.disabled, initial, urlSearchParams]); + function redirectToNewSearchParams(newParams) { + if (typeof window === 'undefined' || !window.URL) + return; + var url = setQueryToCurrentUrl(newParams); + if (window.location.search !== url.search) { + window.history.replaceState({}, '', url.toString()); + } + if (urlSearchParams.toString() !== url.searchParams.toString()) { + forceUpdate({}); + } + } + (0,_react_17_0_2_react.useEffect)(function () { + if (config.disabled) + return; + if (typeof window === 'undefined' || !window.URL) + return; + redirectToNewSearchParams(__assign(__assign({}, initial), params)); + }, [config.disabled, params]); + var setParams = function (newParams) { + redirectToNewSearchParams(newParams); + }; + (0,_react_17_0_2_react.useEffect)(function () { + if (config.disabled) + return function () { }; + if (typeof window === 'undefined' || !window.URL) + return function () { }; + var onPopState = function () { + forceUpdate({}); + }; + window.addEventListener('popstate', onPopState); + return function () { + window.removeEventListener('popstate', onPopState); + }; + }, [config.disabled]); + return [params, setParams]; +} +var booleanValues = { + true: true, + false: false, +}; +function parseValue(key, _value, types, defaultParams) { + if (!types) + return _value; + var type = types[key]; + var value = _value === undefined ? defaultParams[key] : _value; + if (type === Number) { + return Number(value); + } + if (type === Boolean || _value === 'true' || _value === 'false') { + return booleanValues[value]; + } + if (Array.isArray(type)) { + // eslint-disable-next-line eqeqeq + return type.find(function (item) { return item == value; }) || defaultParams[key]; + } + return value; +} + +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules +var es_form = __webpack_require__(78241); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules +var config_provider = __webpack_require__(92736); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules +var spin = __webpack_require__(71418); +// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js +var _classnames_2_5_1_classnames = __webpack_require__(92310); +var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js +var omit = __webpack_require__(64002); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/warning.js +var warning = __webpack_require__(51395); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/FieldContext.js +var FieldContext = __webpack_require__(8459); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Submitter/index.js + + + + + + +/** @name 用于配置操作栏 */ + + +/** + * FormFooter 的组件,可以自动进行一些配置 + * + * @param props + */ + +var Submitter = function Submitter(props) { + var intl = (0,es/* useIntl */.YB)(); + var form = es_form/* default */.Z.useFormInstance(); + if (props.render === false) { + return null; + } + var onSubmit = props.onSubmit, + render = props.render, + onReset = props.onReset, + _props$searchConfig = props.searchConfig, + searchConfig = _props$searchConfig === void 0 ? {} : _props$searchConfig, + submitButtonProps = props.submitButtonProps, + resetButtonProps = props.resetButtonProps; + var _proTheme$useToken = useStyle/* proTheme */.Ow.useToken(), + token = _proTheme$useToken.token; + var submit = function submit() { + form.submit(); + onSubmit === null || onSubmit === void 0 || onSubmit(); + }; + var reset = function reset() { + form.resetFields(); + onReset === null || onReset === void 0 || onReset(); + }; + var _searchConfig$submitT = searchConfig.submitText, + submitText = _searchConfig$submitT === void 0 ? intl.getMessage('tableForm.submit', '提交') : _searchConfig$submitT, + _searchConfig$resetTe = searchConfig.resetText, + resetText = _searchConfig$resetTe === void 0 ? intl.getMessage('tableForm.reset', '重置') : _searchConfig$resetTe; + /** 默认的操作的逻辑 */ + var dom = []; + if (resetButtonProps !== false) { + dom.push( /*#__PURE__*/(0,_react_17_0_2_react.createElement)(es_button/* default */.ZP, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, (0,omit/* default */.Z)(resetButtonProps !== null && resetButtonProps !== void 0 ? resetButtonProps : {}, ['preventDefault'])), {}, { + key: "rest", + onClick: function onClick(e) { + var _resetButtonProps$onC; + if (!(resetButtonProps !== null && resetButtonProps !== void 0 && resetButtonProps.preventDefault)) reset(); + resetButtonProps === null || resetButtonProps === void 0 || (_resetButtonProps$onC = resetButtonProps.onClick) === null || _resetButtonProps$onC === void 0 || _resetButtonProps$onC.call(resetButtonProps, e); + } + }), resetText)); + } + if (submitButtonProps !== false) { + dom.push( /*#__PURE__*/(0,_react_17_0_2_react.createElement)(es_button/* default */.ZP, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + type: "primary" + }, (0,omit/* default */.Z)(submitButtonProps || {}, ['preventDefault'])), {}, { + key: "submit", + onClick: function onClick(e) { + var _submitButtonProps$on; + if (!(submitButtonProps !== null && submitButtonProps !== void 0 && submitButtonProps.preventDefault)) submit(); + submitButtonProps === null || submitButtonProps === void 0 || (_submitButtonProps$on = submitButtonProps.onClick) === null || _submitButtonProps$on === void 0 || _submitButtonProps$on.call(submitButtonProps, e); + } + }), submitText)); + } + var renderDom = render ? render((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + form: form, + submit: submit, + reset: reset + }), dom) : dom; + if (!renderDom) { + return null; + } + if (Array.isArray(renderDom)) { + if ((renderDom === null || renderDom === void 0 ? void 0 : renderDom.length) < 1) { + return null; + } + if ((renderDom === null || renderDom === void 0 ? void 0 : renderDom.length) === 1) { + return renderDom[0]; + } + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + display: 'flex', + gap: token.marginXS, + alignItems: 'center' + }, + children: renderDom + }); + } + return renderDom; +}; +/* harmony default export */ var components_Submitter = (Submitter); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/List/index.js +var List = __webpack_require__(54722); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/helpers/grid.js +var helpers_grid = __webpack_require__(31238); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/BaseForm/EditOrReadOnlyContext.js +var EditOrReadOnlyContext = __webpack_require__(37957); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/BaseForm/BaseForm.js + + + + + + + +var _excluded = ["children", "contentRender", "submitter", "fieldProps", "formItemProps", "groupProps", "transformKey", "formRef", "onInit", "form", "loading", "formComponentType", "extraUrlParams", "syncToUrl", "onUrlSearchChange", "onReset", "omitNil", "isKeyPressSubmit", "autoFocusFirstInput", "grid", "rowProps", "colProps"], + _excluded2 = ["extraUrlParams", "syncToUrl", "isKeyPressSubmit", "syncToUrlAsImportant", "syncToInitialValues", "children", "contentRender", "submitter", "fieldProps", "proFieldProps", "formItemProps", "groupProps", "dateFormatter", "formRef", "onInit", "form", "formComponentType", "onReset", "grid", "rowProps", "colProps", "omitNil", "request", "params", "initialValues", "formKey", "readonly", "onLoadingChange", "loading"]; +/* eslint-disable react-hooks/exhaustive-deps */ + + + + + + + + + + + + + + + + + +var genParams = function genParams(syncUrl, params, type) { + if (syncUrl === true) { + return params; + } + return (0,runFunction/* runFunction */.h)(syncUrl, params, type); +}; +/** + * It takes a name path and converts it to an array. + * @param {NamePath} name - The name of the form. + * @returns string[] + * + * a-> [a] + * [a] -> [a] + */ +var covertFormName = function covertFormName(name) { + if (!name) return name; + if (Array.isArray(name)) return name; + return [name]; +}; +function BaseFormComponents(props) { + var _ConfigProvider$useCo; + var children = props.children, + contentRender = props.contentRender, + submitter = props.submitter, + fieldProps = props.fieldProps, + formItemProps = props.formItemProps, + groupProps = props.groupProps, + transformKey = props.transformKey, + propsFormRef = props.formRef, + onInit = props.onInit, + form = props.form, + loading = props.loading, + formComponentType = props.formComponentType, + _props$extraUrlParams = props.extraUrlParams, + extraUrlParams = _props$extraUrlParams === void 0 ? {} : _props$extraUrlParams, + syncToUrl = props.syncToUrl, + onUrlSearchChange = props.onUrlSearchChange, + _onReset = props.onReset, + _props$omitNil = props.omitNil, + omitNil = _props$omitNil === void 0 ? true : _props$omitNil, + isKeyPressSubmit = props.isKeyPressSubmit, + _props$autoFocusFirst = props.autoFocusFirstInput, + autoFocusFirstInput = _props$autoFocusFirst === void 0 ? true : _props$autoFocusFirst, + grid = props.grid, + rowProps = props.rowProps, + colProps = props.colProps, + rest = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + + /** + * 获取 form 实例 + */ + var formInstance = es_form/* default */.Z.useFormInstance(); + var _ref = (config_provider/* default */.ZP === null || config_provider/* default */.ZP === void 0 || (_ConfigProvider$useCo = config_provider/* default */.ZP.useConfig) === null || _ConfigProvider$useCo === void 0 ? void 0 : _ConfigProvider$useCo.call(config_provider/* default */.ZP)) || { + componentSize: 'middle' + }, + componentSize = _ref.componentSize; + + /** 同步 url 上的参数 */ + var formRef = (0,_react_17_0_2_react.useRef)(form || formInstance); + + /** + * 获取布局 + */ + var _useGridHelpers = (0,helpers_grid/* useGridHelpers */.zx)({ + grid: grid, + rowProps: rowProps + }), + RowWrapper = _useGridHelpers.RowWrapper; + var getFormInstance = (0,useRefFunction/* useRefFunction */.J)(function () { + return formInstance; + }); + var formatValues = (0,_react_17_0_2_react.useMemo)(function () { + return { + /** + * 获取被 ProForm 格式化后的所有数据 + * @param allData boolean + * @returns T + * + * @example getFieldsFormatValue(true) ->返回所有数据,即使没有被 form 托管的 + */ + getFieldsFormatValue: function getFieldsFormatValue(allData) { + var _getFormInstance; + return transformKey((_getFormInstance = getFormInstance()) === null || _getFormInstance === void 0 ? void 0 : _getFormInstance.getFieldsValue(allData), omitNil); + }, + /** + * 获取被 ProForm 格式化后的单个数据 + * @param nameList (string|number)[] + * @returns T + * + * @example {a:{b:value}} -> getFieldFormatValue(['a', 'b']) -> value + */ + /** 获取格式化之后的单个数据 */ + getFieldFormatValue: function getFieldFormatValue() { + var _getFormInstance2; + var paramsNameList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var nameList = covertFormName(paramsNameList); + if (!nameList) throw new Error('nameList is require'); + var value = (_getFormInstance2 = getFormInstance()) === null || _getFormInstance2 === void 0 ? void 0 : _getFormInstance2.getFieldValue(nameList); + var obj = nameList ? (0,set/* default */.Z)({}, nameList, value) : value; + //transformKey会将keys重新和nameList拼接,所以这里要将nameList的首个元素弹出 + var newNameList = (0,toConsumableArray/* default */.Z)(nameList); + newNameList.shift(); + return (0,get/* default */.Z)(transformKey(obj, omitNil, newNameList), nameList); + }, + /** + * 获取被 ProForm 格式化后的单个数据, 包含他的 name + * @param nameList (string|number)[] + * @returns T + * + * @example {a:{b:value}} -> getFieldFormatValueObject(['a', 'b']) -> {a:{b:value}} + */ + /** 获取格式化之后的单个数据 */ + getFieldFormatValueObject: function getFieldFormatValueObject(paramsNameList) { + var _getFormInstance3; + var nameList = covertFormName(paramsNameList); + var value = (_getFormInstance3 = getFormInstance()) === null || _getFormInstance3 === void 0 ? void 0 : _getFormInstance3.getFieldValue(nameList); + var obj = nameList ? (0,set/* default */.Z)({}, nameList, value) : value; + return transformKey(obj, omitNil, nameList); + }, + /** + /** + *验字段后返回格式化之后的所有数据 + * @param nameList (string|number)[] + * @returns T + * + * @example validateFieldsReturnFormatValue -> {a:{b:value}} + */ + validateFieldsReturnFormatValue: function () { + var _validateFieldsReturnFormatValue = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(nameList) { + var _getFormInstance4; + var values, transformedKey; + return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (!(!Array.isArray(nameList) && nameList)) { + _context.next = 2; + break; + } + throw new Error('nameList must be array'); + case 2: + _context.next = 4; + return (_getFormInstance4 = getFormInstance()) === null || _getFormInstance4 === void 0 ? void 0 : _getFormInstance4.validateFields(nameList); + case 4: + values = _context.sent; + transformedKey = transformKey(values, omitNil); + return _context.abrupt("return", transformedKey ? transformedKey : {}); + case 7: + case "end": + return _context.stop(); + } + }, _callee); + })); + function validateFieldsReturnFormatValue(_x) { + return _validateFieldsReturnFormatValue.apply(this, arguments); + } + return validateFieldsReturnFormatValue; + }() + }; + }, [omitNil, transformKey]); + var items = (0,_react_17_0_2_react.useMemo)(function () { + return _react_17_0_2_react.Children.toArray(children).map(function (item, index) { + if (index === 0 && /*#__PURE__*/_react_17_0_2_react.isValidElement(item) && autoFocusFirstInput) { + return /*#__PURE__*/_react_17_0_2_react.cloneElement(item, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, item.props), {}, { + autoFocus: autoFocusFirstInput + })); + } + return item; + }); + }, [autoFocusFirstInput, children]); + + /** 计算 props 的对象 */ + var submitterProps = (0,_react_17_0_2_react.useMemo)(function () { + return typeof submitter === 'boolean' || !submitter ? {} : submitter; + }, [submitter]); + + /** 渲染提交按钮与重置按钮 */ + var submitterNode = (0,_react_17_0_2_react.useMemo)(function () { + if (submitter === false) return undefined; + return /*#__PURE__*/(0,jsx_runtime.jsx)(components_Submitter, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, submitterProps), {}, { + onReset: function onReset() { + var _formRef$current, _submitterProps$onRes; + var finalValues = transformKey((_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : _formRef$current.getFieldsValue(), omitNil); + submitterProps === null || submitterProps === void 0 || (_submitterProps$onRes = submitterProps.onReset) === null || _submitterProps$onRes === void 0 || _submitterProps$onRes.call(submitterProps, finalValues); + _onReset === null || _onReset === void 0 || _onReset(finalValues); + // 如果 syncToUrl,清空一下数据 + if (syncToUrl) { + var _formRef$current2; + // 把没有的值设置为未定义可以删掉 url 的参数 + var params = Object.keys(transformKey((_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.getFieldsValue(), false)).reduce(function (pre, next) { + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, pre), {}, (0,defineProperty/* default */.Z)({}, next, finalValues[next] || undefined)); + }, extraUrlParams); + + /** 在同步到 url 上时对参数进行转化 */ + onUrlSearchChange(genParams(syncToUrl, params || {}, 'set')); + } + }, + submitButtonProps: (0,objectSpread2/* default */.Z)({ + loading: loading + }, submitterProps.submitButtonProps) + }), "submitter"); + }, [submitter, submitterProps, loading, transformKey, omitNil, _onReset, syncToUrl, extraUrlParams, onUrlSearchChange]); + var content = (0,_react_17_0_2_react.useMemo)(function () { + var wrapItems = grid ? /*#__PURE__*/(0,jsx_runtime.jsx)(RowWrapper, { + children: items + }) : items; + if (contentRender) { + return contentRender(wrapItems, submitterNode, formRef.current); + } + return wrapItems; + }, [grid, RowWrapper, items, contentRender, submitterNode]); + var preInitialValues = usePrevious(props.initialValues); + + // 提示一个 initialValues ,问的人实在是太多了 + (0,_react_17_0_2_react.useEffect)(function () { + if (syncToUrl || !props.initialValues || !preInitialValues || rest.request) return; + var isEqual = (0,isDeepEqualReact/* isDeepEqualReact */.A)(props.initialValues, preInitialValues); + (0,warning/* noteOnce */.ET)(isEqual, "initialValues \u53EA\u5728 form \u521D\u59CB\u5316\u65F6\u751F\u6548\uFF0C\u5982\u679C\u4F60\u9700\u8981\u5F02\u6B65\u52A0\u8F7D\u63A8\u8350\u4F7F\u7528 request\uFF0C\u6216\u8005 initialValues ? : null "); + (0,warning/* noteOnce */.ET)(isEqual, "The initialValues only take effect when the form is initialized, if you need to load asynchronously recommended request, or the initialValues ? : null "); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [props.initialValues]); + + // 初始化给一个默认的 form + (0,_react_17_0_2_react.useImperativeHandle)(propsFormRef, function () { + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formRef.current), formatValues); + }, [formatValues, formRef.current]); + (0,_react_17_0_2_react.useEffect)(function () { + var _formRef$current3, _formRef$current3$get; + var finalValues = transformKey((_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 || (_formRef$current3$get = _formRef$current3.getFieldsValue) === null || _formRef$current3$get === void 0 ? void 0 : _formRef$current3$get.call(_formRef$current3, true), omitNil); + onInit === null || onInit === void 0 || onInit(finalValues, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formRef.current), formatValues)); + }, []); + return /*#__PURE__*/(0,jsx_runtime.jsx)(ProFormContext/* ProFormContext */.J.Provider, { + value: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formatValues), {}, { + formRef: formRef + }), + children: /*#__PURE__*/(0,jsx_runtime.jsx)(config_provider/* default */.ZP, { + componentSize: rest.size || componentSize, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(helpers_grid/* GridContext */._p.Provider, { + value: { + grid: grid, + colProps: colProps + }, + children: [rest.component !== false && /*#__PURE__*/(0,jsx_runtime.jsx)("input", { + type: "text", + style: { + display: 'none' + } + }), content] + }) + }) + }); +} + +/** 自动的formKey 防止重复 */ +var requestFormCacheId = 0; +function BaseForm(props) { + var _props$extraUrlParams2 = props.extraUrlParams, + extraUrlParams = _props$extraUrlParams2 === void 0 ? {} : _props$extraUrlParams2, + syncToUrl = props.syncToUrl, + isKeyPressSubmit = props.isKeyPressSubmit, + _props$syncToUrlAsImp = props.syncToUrlAsImportant, + syncToUrlAsImportant = _props$syncToUrlAsImp === void 0 ? false : _props$syncToUrlAsImp, + _props$syncToInitialV = props.syncToInitialValues, + syncToInitialValues = _props$syncToInitialV === void 0 ? true : _props$syncToInitialV, + children = props.children, + contentRender = props.contentRender, + submitter = props.submitter, + fieldProps = props.fieldProps, + proFieldProps = props.proFieldProps, + formItemProps = props.formItemProps, + groupProps = props.groupProps, + _props$dateFormatter = props.dateFormatter, + dateFormatter = _props$dateFormatter === void 0 ? 'string' : _props$dateFormatter, + propsFormRef = props.formRef, + onInit = props.onInit, + form = props.form, + formComponentType = props.formComponentType, + onReset = props.onReset, + grid = props.grid, + rowProps = props.rowProps, + colProps = props.colProps, + _props$omitNil2 = props.omitNil, + omitNil = _props$omitNil2 === void 0 ? true : _props$omitNil2, + request = props.request, + params = props.params, + initialValues = props.initialValues, + _props$formKey = props.formKey, + formKey = _props$formKey === void 0 ? requestFormCacheId : _props$formKey, + readonly = props.readonly, + onLoadingChange = props.onLoadingChange, + propsLoading = props.loading, + propRest = (0,objectWithoutProperties/* default */.Z)(props, _excluded2); + var formRef = (0,_react_17_0_2_react.useRef)({}); + var _useMountMergeState = (0,useMergedState/* default */.Z)(false, { + onChange: onLoadingChange, + value: propsLoading + }), + _useMountMergeState2 = (0,slicedToArray/* default */.Z)(_useMountMergeState, 2), + loading = _useMountMergeState2[0], + setLoading = _useMountMergeState2[1]; + var _useUrlSearchParams = useUrlSearchParams({}, { + disabled: !syncToUrl + }), + _useUrlSearchParams2 = (0,slicedToArray/* default */.Z)(_useUrlSearchParams, 2), + urlSearch = _useUrlSearchParams2[0], + setUrlSearch = _useUrlSearchParams2[1]; + var curFormKey = (0,_react_17_0_2_react.useRef)((0,nanoid/* nanoid */.x)()); + (0,_react_17_0_2_react.useEffect)(function () { + requestFormCacheId += 0; + }, []); + var _useFetchData = useFetchData({ + request: request, + params: params, + proFieldKey: formKey + }), + _useFetchData2 = (0,slicedToArray/* default */.Z)(_useFetchData, 1), + initialData = _useFetchData2[0]; + var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + getPrefixCls = _useContext.getPrefixCls; + var prefixCls = getPrefixCls('pro-form'); + // css + var _useStyle = (0,useStyle/* useStyle */.Xj)('ProForm', function (token) { + return (0,defineProperty/* default */.Z)({}, ".".concat(prefixCls), (0,defineProperty/* default */.Z)({}, "> div:not(".concat(token.proComponentsCls, "-form-light-filter)"), { + '.pro-field': { + maxWidth: '100%', + '@media screen and (max-width: 575px)': { + // 减少了 form 的 padding + maxWidth: 'calc(93vw - 48px)' + }, + // 适用于短数字,短文本或者选项 + '&-xs': { + width: 104 + }, + '&-s': { + width: 216 + }, + // 适用于较短字段录入、如姓名、电话、ID 等。 + '&-sm': { + width: 216 + }, + '&-m': { + width: 328 + }, + // 标准宽度,适用于大部分字段长度 + '&-md': { + width: 328 + }, + '&-l': { + width: 440 + }, + // 适用于较长字段录入,如长网址、标签组、文件路径等。 + '&-lg': { + width: 440 + }, + // 适用于长文本录入,如长链接、描述、备注等,通常搭配自适应多行输入框或定高文本域使用。 + '&-xl': { + width: 552 + } + } + })); + }), + wrapSSR = _useStyle.wrapSSR, + hashId = _useStyle.hashId; + + // 如果为 false,不需要触发设置进去 + var _useState = (0,_react_17_0_2_react.useState)(function () { + if (!syncToUrl) { + return {}; + } + return genParams(syncToUrl, urlSearch, 'get'); + }), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + urlParamsMergeInitialValues = _useState2[0], + setUrlParamsMergeInitialValues = _useState2[1]; + + /** 保存 transformKeyRef,用于对表单key transform */ + var transformKeyRef = (0,_react_17_0_2_react.useRef)({}); + var fieldsValueType = (0,_react_17_0_2_react.useRef)({}); + + /** 使用 callback 的类型 */ + var transformKey = (0,useRefFunction/* useRefFunction */.J)(function (values, paramsOmitNil, parentKey) { + return transformKeySubmitValue((0,conversionMomentValue/* conversionMomentValue */.lp)(values, dateFormatter, fieldsValueType.current, paramsOmitNil, parentKey), transformKeyRef.current, paramsOmitNil); + }); + (0,_react_17_0_2_react.useEffect)(function () { + if (syncToInitialValues) return; + setUrlParamsMergeInitialValues({}); + }, [syncToInitialValues]); + var getGenParams = (0,useRefFunction/* useRefFunction */.J)(function () { + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, urlSearch), extraUrlParams); + }); + (0,_react_17_0_2_react.useEffect)(function () { + if (!syncToUrl) return; + setUrlSearch(genParams(syncToUrl, getGenParams(), 'set')); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [extraUrlParams, getGenParams, syncToUrl]); + var getPopupContainer = (0,_react_17_0_2_react.useMemo)(function () { + if (typeof window === 'undefined') return undefined; + // 如果在 drawerForm 和 modalForm 里就渲染dom到父节点里 + // modalForm 可能高度太小不适合 + if (formComponentType && ['DrawerForm'].includes(formComponentType)) { + return function (e) { + return e.parentNode || document.body; + }; + } + return undefined; + }, [formComponentType]); + var onFinish = (0,useRefFunction/* useRefFunction */.J)( /*#__PURE__*/(0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee2() { + var _formRef$current4, _formRef$current4$get, finalValues, response, _formRef$current5, _formRef$current5$get, syncToUrlParams; + return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + if (propRest.onFinish) { + _context2.next = 2; + break; + } + return _context2.abrupt("return"); + case 2: + if (!loading) { + _context2.next = 4; + break; + } + return _context2.abrupt("return"); + case 4: + _context2.prev = 4; + finalValues = formRef === null || formRef === void 0 || (_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 || (_formRef$current4$get = _formRef$current4.getFieldsFormatValue) === null || _formRef$current4$get === void 0 ? void 0 : _formRef$current4$get.call(_formRef$current4); + response = propRest.onFinish(finalValues); + if (response instanceof Promise) { + setLoading(true); + } + _context2.next = 10; + return response; + case 10: + if (syncToUrl) { + // 把没有的值设置为未定义可以删掉 url 的参数 + syncToUrlParams = Object.keys(formRef === null || formRef === void 0 || (_formRef$current5 = formRef.current) === null || _formRef$current5 === void 0 || (_formRef$current5$get = _formRef$current5.getFieldsFormatValue) === null || _formRef$current5$get === void 0 ? void 0 : _formRef$current5$get.call(_formRef$current5, undefined, false)).reduce(function (pre, next) { + var _finalValues$next; + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, pre), {}, (0,defineProperty/* default */.Z)({}, next, (_finalValues$next = finalValues[next]) !== null && _finalValues$next !== void 0 ? _finalValues$next : undefined)); + }, extraUrlParams); // fix #3547: 当原先在url中存在的字段被删除时,应该将 params 中的该字段设置为 undefined,以便触发url同步删除 + Object.keys(urlSearch).forEach(function (key) { + if (syncToUrlParams[key] !== false && syncToUrlParams[key] !== 0 && !syncToUrlParams[key]) { + syncToUrlParams[key] = undefined; + } + }); + /** 在同步到 url 上时对参数进行转化 */ + setUrlSearch(genParams(syncToUrl, syncToUrlParams, 'set')); + } + setLoading(false); + _context2.next = 18; + break; + case 14: + _context2.prev = 14; + _context2.t0 = _context2["catch"](4); + console.log(_context2.t0); + setLoading(false); + case 18: + case "end": + return _context2.stop(); + } + }, _callee2, null, [[4, 14]]); + }))); + + // 初始化给一个默认的 form + (0,_react_17_0_2_react.useImperativeHandle)(propsFormRef, function () { + return formRef.current; + }, [!initialData]); + if (!initialData && props.request) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + paddingTop: 50, + paddingBottom: 50, + textAlign: 'center' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {}) + }); + } + return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)(EditOrReadOnlyContext/* EditOrReadOnlyContext */.A.Provider, { + value: { + mode: props.readonly ? 'read' : 'edit' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es/* ProConfigProvider */._Y, { + needDeps: true, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(FieldContext/* default */.Z.Provider, { + value: { + formRef: formRef, + fieldProps: fieldProps, + proFieldProps: proFieldProps, + formItemProps: formItemProps, + groupProps: groupProps, + formComponentType: formComponentType, + getPopupContainer: getPopupContainer, + formKey: curFormKey.current, + setFieldValueType: function setFieldValueType(name, _ref4) { + var _ref4$valueType = _ref4.valueType, + valueType = _ref4$valueType === void 0 ? 'text' : _ref4$valueType, + dateFormat = _ref4.dateFormat, + transform = _ref4.transform; + if (!Array.isArray(name)) return; + transformKeyRef.current = (0,set/* default */.Z)(transformKeyRef.current, name, transform); + fieldsValueType.current = (0,set/* default */.Z)(fieldsValueType.current, name, { + valueType: valueType, + dateFormat: dateFormat + }); + } + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(List/* FormListContext */.J.Provider, { + value: {}, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + onKeyPress: function onKeyPress(event) { + if (!isKeyPressSubmit) return; + if (event.key === 'Enter') { + var _formRef$current6; + (_formRef$current6 = formRef.current) === null || _formRef$current6 === void 0 || _formRef$current6.submit(); + } + }, + autoComplete: "off", + form: form + }, (0,omit/* default */.Z)(propRest, ['ref', 'labelWidth', 'autoFocusFirstInput'])), {}, { + ref: function ref(instance) { + if (!formRef.current) return; + formRef.current.nativeElement = instance === null || instance === void 0 ? void 0 : instance.nativeElement; + } + // 组合 urlSearch 和 initialValues + , + initialValues: syncToUrlAsImportant ? (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, initialValues), initialData), urlParamsMergeInitialValues) : (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, urlParamsMergeInitialValues), initialValues), initialData), + onValuesChange: function onValuesChange(changedValues, values) { + var _propRest$onValuesCha; + propRest === null || propRest === void 0 || (_propRest$onValuesCha = propRest.onValuesChange) === null || _propRest$onValuesCha === void 0 || _propRest$onValuesCha.call(propRest, transformKey(changedValues, !!omitNil), transformKey(values, !!omitNil)); + }, + className: _classnames_2_5_1_classnames_default()(props.className, prefixCls, hashId), + onFinish: onFinish, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(BaseFormComponents, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + transformKey: transformKey, + autoComplete: "off", + loading: loading, + onUrlSearchChange: setUrlSearch + }, props), {}, { + formRef: formRef, + initialValues: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, initialValues), initialData) + })) + })) + }) + }) + }) + })); +} + + +/***/ }) + +}]); \ No newline at end of file diff --git a/82135.c5b8159b.async.js b/82135.6929fa25.async.js similarity index 80% rename from 82135.c5b8159b.async.js rename to 82135.6929fa25.async.js index e3f38dc41d..9ecd29569c 100644 --- a/82135.c5b8159b.async.js +++ b/82135.6929fa25.async.js @@ -9,12 +9,9 @@ /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $Y: function() { return /* binding */ reservations_table_canceled; }, -/* harmony export */ AH: function() { return /* binding */ device_info_all_tags; }, /* harmony export */ AY: function() { return /* binding */ device_tags_device_info; }, -/* harmony export */ BM: function() { return /* binding */ device_type_table_delete; }, /* harmony export */ Ck: function() { return /* binding */ device_tags_devcie_models; }, /* harmony export */ Fi: function() { return /* binding */ device_fault_infos_content; }, -/* harmony export */ I8: function() { return /* binding */ device_info_use_status; }, /* harmony export */ IA: function() { return /* binding */ device_fault_delete; }, /* harmony export */ J4: function() { return /* binding */ reservations_table_info; }, /* harmony export */ J5: function() { return /* binding */ reservations_table_querys; }, @@ -22,8 +19,8 @@ /* harmony export */ Ku: function() { return /* binding */ reservations_table_week_query; }, /* harmony export */ MU: function() { return /* binding */ devices_monitor; }, /* harmony export */ O3: function() { return /* binding */ reservations_table_devices_change_shixun; }, -/* harmony export */ Ot: function() { return /* binding */ scrapped_data_info; }, /* harmony export */ QD: function() { return /* binding */ device_info_table_query; }, +/* harmony export */ Qq: function() { return /* binding */ postDevicesChangeStatus; }, /* harmony export */ RW: function() { return /* binding */ device_type_table_update; }, /* harmony export */ SY: function() { return /* binding */ device_type_table_info; }, /* harmony export */ T0: function() { return /* binding */ device_tags_table_add; }, @@ -46,16 +43,17 @@ /* harmony export */ oV: function() { return /* binding */ can_reservation_devices; }, /* harmony export */ oW: function() { return /* binding */ reservations_table_add; }, /* harmony export */ ph: function() { return /* binding */ application_scrapped; }, +/* harmony export */ rm: function() { return /* binding */ getDevicesOperationLogs; }, /* harmony export */ sT: function() { return /* binding */ support_shixuns_info; }, /* harmony export */ sp: function() { return /* binding */ device_info_table_add; }, /* harmony export */ uz: function() { return /* binding */ device_type_table_query; }, /* harmony export */ zZ: function() { return /* binding */ device_fault_update; } /* harmony export */ }); -/* unused harmony exports used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos */ -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); +/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos */ +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 82710); @@ -63,1040 +61,1084 @@ +/** + * @description 设备管理-设备操作日志 + */ +var getDevicesOperationLogs = /*#__PURE__*/function () { + var _ref = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_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/yn_classrooms/operation_logs.json", { + method: 'Get', + params: params + })); + case 1: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getDevicesOperationLogs(_x) { + return _ref.apply(this, arguments); + }; +}(); +/** + * @description 设备管理-设备变更状态 + */ +var postDevicesChangeStatus = /*#__PURE__*/function () { + var _ref2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(body) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(body === null || body === void 0 ? void 0 : body.id, "/change_status.json"), { + method: 'post', + body: body + })); + case 1: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function postDevicesChangeStatus(_x2) { + return _ref2.apply(this, arguments); + }; +}(); //设备标签列表查询 -function device_tags_table_query(_x) { +function device_tags_table_query(_x3) { return _device_tags_table_query.apply(this, arguments); } //设备标签列表删除 function _device_tags_table_query() { - _device_tags_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { + _device_tags_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { case 0: - return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags.json", { + return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context.stop(); + return _context3.stop(); } - }, _callee); + }, _callee3); })); return _device_tags_table_query.apply(this, arguments); } -function device_tags_table_delete(_x2) { +function device_tags_table_delete(_x4) { return _device_tags_table_delete.apply(this, arguments); } //设备标签列表编辑 function _device_tags_table_delete() { - _device_tags_table_delete = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { + _device_tags_table_delete = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { case 0: - return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(params.id, ".json"), { + return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(params.id, ".json"), { method: 'DELETE' })); case 1: case "end": - return _context2.stop(); + return _context4.stop(); } - }, _callee2); + }, _callee4); })); return _device_tags_table_delete.apply(this, arguments); } -function device_tags_table_update(_x3) { +function device_tags_table_update(_x5) { return _device_tags_table_update.apply(this, arguments); } //设备标签列表新增 function _device_tags_table_update() { - _device_tags_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { + _device_tags_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { case 0: - return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(data.id, ".json"), { + return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(data.id, ".json"), { method: 'PUT', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context3.stop(); + return _context5.stop(); } - }, _callee3); + }, _callee5); })); return _device_tags_table_update.apply(this, arguments); } -function device_tags_table_add(_x4) { +function device_tags_table_add(_x6) { return _device_tags_table_add.apply(this, arguments); } //获取物理设备标签 function _device_tags_table_add() { - _device_tags_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { + _device_tags_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { case 0: - return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags.json", { + return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags.json", { method: 'POST', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context4.stop(); + return _context6.stop(); } - }, _callee4); + }, _callee6); })); return _device_tags_table_add.apply(this, arguments); } -function device_tags_devcie_models(_x5) { +function device_tags_devcie_models(_x7) { return _device_tags_devcie_models.apply(this, arguments); } //设备标签列表单条数据详情 function _device_tags_devcie_models() { - _device_tags_devcie_models = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { + _device_tags_devcie_models = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee7(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { case 0: - return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/get_devcie_models.json", { + return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/get_devcie_models.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context5.stop(); + return _context7.stop(); } - }, _callee5); + }, _callee7); })); return _device_tags_devcie_models.apply(this, arguments); } -function device_tags_table_info(_x6) { +function device_tags_table_info(_x8) { return _device_tags_table_info.apply(this, arguments); } //获取某一设备信息 function _device_tags_table_info() { - _device_tags_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { + _device_tags_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee8(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) { + while (1) switch (_context8.prev = _context8.next) { case 0: - return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(params, ".json"), { + return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(params, ".json"), { method: 'get' })); case 1: case "end": - return _context6.stop(); + return _context8.stop(); } - }, _callee6); + }, _callee8); })); return _device_tags_table_info.apply(this, arguments); } -function device_tags_device_info(_x7) { +function device_tags_device_info(_x9) { return _device_tags_device_info.apply(this, arguments); } //设备类型 function _device_tags_device_info() { - _device_tags_device_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { - while (1) switch (_context7.prev = _context7.next) { + _device_tags_device_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee9(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee9$(_context9) { + while (1) switch (_context9.prev = _context9.next) { case 0: - return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, ".json"), { + return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, ".json"), { method: 'get' })); case 1: case "end": - return _context7.stop(); + return _context9.stop(); } - }, _callee7); + }, _callee9); })); return _device_tags_device_info.apply(this, arguments); } -function device_tags_device_type(_x8) { +function device_tags_device_type(_x10) { return _device_tags_device_type.apply(this, arguments); } //设备类型列表查询 function _device_tags_device_type() { - _device_tags_device_type = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { - while (1) switch (_context8.prev = _context8.next) { + _device_tags_device_type = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) { + while (1) switch (_context10.prev = _context10.next) { case 0: - return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/total_data.json", { + return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/total_data.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context8.stop(); + return _context10.stop(); } - }, _callee8); + }, _callee10); })); return _device_tags_device_type.apply(this, arguments); } -function device_type_table_query(_x9) { +function device_type_table_query(_x11) { return _device_type_table_query.apply(this, arguments); } //设备类型列表删除 function _device_type_table_query() { - _device_type_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { - while (1) switch (_context9.prev = _context9.next) { + _device_type_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) { + while (1) switch (_context11.prev = _context11.next) { case 0: - return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types.json", { + return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context9.stop(); + return _context11.stop(); } - }, _callee9); + }, _callee11); })); return _device_type_table_query.apply(this, arguments); } -function device_type_table_delete(_x10) { +function device_type_table_delete(_x12) { return _device_type_table_delete.apply(this, arguments); } //设备类型列表详情 function _device_type_table_delete() { - _device_type_table_delete = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { - while (1) switch (_context10.prev = _context10.next) { + _device_type_table_delete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(params) { + return _regeneratorRuntime().wrap(function _callee12$(_context12) { + while (1) switch (_context12.prev = _context12.next) { case 0: - return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(params, ".json"), { + return _context12.abrupt("return", Fetch("/api/zz_classrooms/device_types/".concat(params, ".json"), { method: 'DELETE' })); case 1: case "end": - return _context10.stop(); + return _context12.stop(); } - }, _callee10); + }, _callee12); })); return _device_type_table_delete.apply(this, arguments); } -function device_type_table_info(_x11) { +function device_type_table_info(_x13) { return _device_type_table_info.apply(this, arguments); } //设备类型列表修改 function _device_type_table_info() { - _device_type_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { - while (1) switch (_context11.prev = _context11.next) { + _device_type_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) { + while (1) switch (_context13.prev = _context13.next) { case 0: - return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(params, ".json"), { + return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(params, ".json"), { method: 'get' })); case 1: case "end": - return _context11.stop(); + return _context13.stop(); } - }, _callee11); + }, _callee13); })); return _device_type_table_info.apply(this, arguments); } -function device_type_table_update(_x12) { +function device_type_table_update(_x14) { return _device_type_table_update.apply(this, arguments); } //设备类型列表新增 function _device_type_table_update() { - _device_type_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { - while (1) switch (_context12.prev = _context12.next) { + _device_type_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) { + while (1) switch (_context14.prev = _context14.next) { case 0: - return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(data.id, ".json"), { + return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(data.id, ".json"), { method: 'put', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context12.stop(); + return _context14.stop(); } - }, _callee12); + }, _callee14); })); return _device_type_table_update.apply(this, arguments); } -function device_type_table_add(_x13) { +function device_type_table_add(_x15) { return _device_type_table_add.apply(this, arguments); } //上下架 function _device_type_table_add() { - _device_type_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { - while (1) switch (_context13.prev = _context13.next) { + _device_type_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) { + while (1) switch (_context15.prev = _context15.next) { case 0: - return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types.json", { + return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types.json", { method: 'POST', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context13.stop(); + return _context15.stop(); } - }, _callee13); + }, _callee15); })); return _device_type_table_add.apply(this, arguments); } -function device_info_use_status(_x14) { +function device_info_use_status(_x16) { return _device_info_use_status.apply(this, arguments); } //某设备所有标签记录 function _device_info_use_status() { - _device_info_use_status = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { - while (1) switch (_context14.prev = _context14.next) { + _device_info_use_status = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(params) { + return _regeneratorRuntime().wrap(function _callee16$(_context16) { + while (1) switch (_context16.prev = _context16.next) { case 0: - return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params.id, "/update_device_use_status.json"), { + return _context16.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params.id, "/update_device_use_status.json"), { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _objectSpread({}, params) })); case 1: case "end": - return _context14.stop(); + return _context16.stop(); } - }, _callee14); + }, _callee16); })); return _device_info_use_status.apply(this, arguments); } -function device_info_all_tags(_x15) { +function device_info_all_tags(_x17) { return _device_info_all_tags.apply(this, arguments); } //设备信息列表查询 function _device_info_all_tags() { - _device_info_all_tags = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { - while (1) switch (_context15.prev = _context15.next) { + _device_info_all_tags = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(params) { + return _regeneratorRuntime().wrap(function _callee17$(_context17) { + while (1) switch (_context17.prev = _context17.next) { case 0: - return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, "/device_all_tags.json"), { + return _context17.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params, "/device_all_tags.json"), { method: 'get' })); case 1: case "end": - return _context15.stop(); + return _context17.stop(); } - }, _callee15); + }, _callee17); })); return _device_info_all_tags.apply(this, arguments); } -function device_info_table_query(_x16) { +function device_info_table_query(_x18) { return _device_info_table_query.apply(this, arguments); } //设备信息列表详情 function _device_info_table_query() { - _device_info_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { - while (1) switch (_context16.prev = _context16.next) { + _device_info_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) { + while (1) switch (_context18.prev = _context18.next) { case 0: - return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices.json", { + return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context16.stop(); + return _context18.stop(); } - }, _callee16); + }, _callee18); })); return _device_info_table_query.apply(this, arguments); } -function device_info_table_info(_x17) { +function device_info_table_info(_x19) { return _device_info_table_info.apply(this, arguments); } //设备当前性能 function _device_info_table_info() { - _device_info_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { - while (1) switch (_context17.prev = _context17.next) { + _device_info_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) { + while (1) switch (_context19.prev = _context19.next) { case 0: - return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, ".json"), { + return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, ".json"), { method: 'get' })); case 1: case "end": - return _context17.stop(); + return _context19.stop(); } - }, _callee17); + }, _callee19); })); return _device_info_table_info.apply(this, arguments); } -function devices_monitor(_x18) { +function devices_monitor(_x20) { return _devices_monitor.apply(this, arguments); } //获取某个设备的维修记录 function _devices_monitor() { - _devices_monitor = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(id) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { - while (1) switch (_context18.prev = _context18.next) { + _devices_monitor = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(id) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) { + while (1) switch (_context20.prev = _context20.next) { case 0: - return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), { + return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), { method: 'get' })); case 1: case "end": - return _context18.stop(); + return _context20.stop(); } - }, _callee18); + }, _callee20); })); return _devices_monitor.apply(this, arguments); } -function device_fault_infos_content(_x19) { +function device_fault_infos_content(_x21) { return _device_fault_infos_content.apply(this, arguments); } //设备详情页图表 function _device_fault_infos_content() { - _device_fault_infos_content = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { - while (1) switch (_context19.prev = _context19.next) { + _device_fault_infos_content = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) { + while (1) switch (_context21.prev = _context21.next) { case 0: - return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, "/device_fault_infos.json"), { + return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, "/device_fault_infos.json"), { method: 'get' })); case 1: case "end": - return _context19.stop(); + return _context21.stop(); } - }, _callee19); + }, _callee21); })); return _device_fault_infos_content.apply(this, arguments); } -function device_fault_statistics(_x20) { +function device_fault_statistics(_x22) { return _device_fault_statistics.apply(this, arguments); } //设备信息列表编辑 function _device_fault_statistics() { - _device_fault_statistics = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { - while (1) switch (_context20.prev = _context20.next) { + _device_fault_statistics = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) { + while (1) switch (_context22.prev = _context22.next) { case 0: - return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params === null || params === void 0 ? void 0 : params.id, "/statistics.json"), { + return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params === null || params === void 0 ? void 0 : params.id, "/statistics.json"), { method: 'get', params: params })); case 1: case "end": - return _context20.stop(); + return _context22.stop(); } - }, _callee20); + }, _callee22); })); return _device_fault_statistics.apply(this, arguments); } -function device_info_table_update(_x21) { +function device_info_table_update(_x23) { return _device_info_table_update.apply(this, arguments); } //设备信息列表编辑 function _device_info_table_update() { - _device_info_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { - while (1) switch (_context21.prev = _context21.next) { + _device_info_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) { + while (1) switch (_context23.prev = _context23.next) { case 0: - return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(data.id, ".json"), { + return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(data.id, ".json"), { method: 'put', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context21.stop(); + return _context23.stop(); } - }, _callee21); + }, _callee23); })); return _device_info_table_update.apply(this, arguments); } -function device_info_table_add(_x22) { +function device_info_table_add(_x24) { return _device_info_table_add.apply(this, arguments); } //设备信息列表查询 function _device_info_table_add() { - _device_info_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { - while (1) switch (_context22.prev = _context22.next) { + _device_info_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) { + while (1) switch (_context24.prev = _context24.next) { case 0: - return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices.json", { + return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices.json", { method: 'post', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context22.stop(); + return _context24.stop(); } - }, _callee22); + }, _callee24); })); return _device_info_table_add.apply(this, arguments); } -function can_reservation_devices(_x23) { +function can_reservation_devices(_x25) { return _can_reservation_devices.apply(this, arguments); } //预约列表(预约管理, 预约审核) function _can_reservation_devices() { - _can_reservation_devices = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee23(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) { - while (1) switch (_context23.prev = _context23.next) { + _can_reservation_devices = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee25(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee25$(_context25) { + while (1) switch (_context25.prev = _context25.next) { case 0: - return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/can_reservation_devices.json", { + return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/can_reservation_devices.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context23.stop(); + return _context25.stop(); } - }, _callee23); + }, _callee25); })); return _can_reservation_devices.apply(this, arguments); } -function reservations_table_query(_x24) { +function reservations_table_query(_x26) { return _reservations_table_query.apply(this, arguments); } //预约列表(预约管理, 预约审核) function _reservations_table_query() { - _reservations_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { - while (1) switch (_context24.prev = _context24.next) { + _reservations_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee26(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee26$(_context26) { + while (1) switch (_context26.prev = _context26.next) { case 0: - return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations.json", { + return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context24.stop(); + return _context26.stop(); } - }, _callee24); + }, _callee26); })); return _reservations_table_query.apply(this, arguments); } -function reservations_table_querys(_x25) { +function reservations_table_querys(_x27) { return _reservations_table_querys.apply(this, arguments); } //取消预约 function _reservations_table_querys() { - _reservations_table_querys = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { - while (1) switch (_context25.prev = _context25.next) { + _reservations_table_querys = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee27(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee27$(_context27) { + while (1) switch (_context27.prev = _context27.next) { case 0: - return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params.device_id, "/reservations.json"), { + return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params.device_id, "/reservations.json"), { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context25.stop(); + return _context27.stop(); } - }, _callee25); + }, _callee27); })); return _reservations_table_querys.apply(this, arguments); } -function reservations_table_canceled(_x26) { +function reservations_table_canceled(_x28) { return _reservations_table_canceled.apply(this, arguments); } //预约设备详情 function _reservations_table_canceled() { - _reservations_table_canceled = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { - while (1) switch (_context26.prev = _context26.next) { + _reservations_table_canceled = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee28(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee28$(_context28) { + while (1) switch (_context28.prev = _context28.next) { case 0: - return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params, "/canceled.json"), { + return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params, "/canceled.json"), { method: 'get' })); case 1: case "end": - return _context26.stop(); + return _context28.stop(); } - }, _callee26); + }, _callee28); })); return _reservations_table_canceled.apply(this, arguments); } -function reservations_table_devices_info(_x27) { +function reservations_table_devices_info(_x29) { return _reservations_table_devices_info.apply(this, arguments); } //设备找可预约的实训 function _reservations_table_devices_info() { - _reservations_table_devices_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee27(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) { - while (1) switch (_context27.prev = _context27.next) { + _reservations_table_devices_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee29(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee29$(_context29) { + while (1) switch (_context29.prev = _context29.next) { case 0: - return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/get_shixun_devices.json", { + return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/get_shixun_devices.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context27.stop(); + return _context29.stop(); } - }, _callee27); + }, _callee29); })); return _reservations_table_devices_info.apply(this, arguments); } -function reservations_table_devices_change_shixun(_x28) { +function reservations_table_devices_change_shixun(_x30) { return _reservations_table_devices_change_shixun.apply(this, arguments); } //创建预约 function _reservations_table_devices_change_shixun() { - _reservations_table_devices_change_shixun = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee28(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) { - while (1) switch (_context28.prev = _context28.next) { + _reservations_table_devices_change_shixun = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee30(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee30$(_context30) { + while (1) switch (_context30.prev = _context30.next) { case 0: - return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/device_find_shixuns.json", { + return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/device_find_shixuns.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context28.stop(); + return _context30.stop(); } - }, _callee28); + }, _callee30); })); return _reservations_table_devices_change_shixun.apply(this, arguments); } -function reservations_table_add(_x29) { +function reservations_table_add(_x31) { return _reservations_table_add.apply(this, arguments); } // 编辑预约 function _reservations_table_add() { - _reservations_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee29(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee29$(_context29) { - while (1) switch (_context29.prev = _context29.next) { + _reservations_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee31(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee31$(_context31) { + while (1) switch (_context31.prev = _context31.next) { case 0: - return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations.json", { + return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations.json", { method: 'post', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context29.stop(); + return _context31.stop(); } - }, _callee29); + }, _callee31); })); return _reservations_table_add.apply(this, arguments); } -function reservations_table_update(_x30) { +function reservations_table_update(_x32) { return _reservations_table_update.apply(this, arguments); } //某一预约详情 function _reservations_table_update() { - _reservations_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee30(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) { - while (1) switch (_context30.prev = _context30.next) { + _reservations_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee32(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee32$(_context32) { + while (1) switch (_context32.prev = _context32.next) { case 0: - return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(data.id, ".json"), { + return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(data.id, ".json"), { method: 'put', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context30.stop(); + return _context32.stop(); } - }, _callee30); + }, _callee32); })); return _reservations_table_update.apply(this, arguments); } -function reservations_table_info(_x31) { +function reservations_table_info(_x33) { return _reservations_table_info.apply(this, arguments); } //批准or驳回预约 function _reservations_table_info() { - _reservations_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee31(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee31$(_context31) { - while (1) switch (_context31.prev = _context31.next) { + _reservations_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee33(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee33$(_context33) { + while (1) switch (_context33.prev = _context33.next) { case 0: - return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params, ".json"), { + return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params, ".json"), { method: 'get' })); case 1: case "end": - return _context31.stop(); + return _context33.stop(); } - }, _callee31); + }, _callee33); })); return _reservations_table_info.apply(this, arguments); } -function reservations_table_reviewed(_x32) { +function reservations_table_reviewed(_x34) { return _reservations_table_reviewed.apply(this, arguments); } //每周设备预约数据 function _reservations_table_reviewed() { - _reservations_table_reviewed = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee32(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee32$(_context32) { - while (1) switch (_context32.prev = _context32.next) { + _reservations_table_reviewed = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee34(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee34$(_context34) { + while (1) switch (_context34.prev = _context34.next) { case 0: - return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params.id, "/reviewed.json"), { + return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params.id, "/reviewed.json"), { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context32.stop(); + return _context34.stop(); } - }, _callee32); + }, _callee34); })); return _reservations_table_reviewed.apply(this, arguments); } -function reservations_table_week_query(_x33) { +function reservations_table_week_query(_x35) { return _reservations_table_week_query.apply(this, arguments); } //申请报废 function _reservations_table_week_query() { - _reservations_table_week_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee33(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee33$(_context33) { - while (1) switch (_context33.prev = _context33.next) { + _reservations_table_week_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee35(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee35$(_context35) { + while (1) switch (_context35.prev = _context35.next) { case 0: - return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params.id, "/reservation_detail.json"), { + return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params.id, "/reservation_detail.json"), { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context33.stop(); + return _context35.stop(); } - }, _callee33); + }, _callee35); })); return _reservations_table_week_query.apply(this, arguments); } -function application_scrapped(_x34) { +function application_scrapped(_x36) { return _application_scrapped.apply(this, arguments); } //设备报废详情 function _application_scrapped() { - _application_scrapped = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee34(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee34$(_context34) { - while (1) switch (_context34.prev = _context34.next) { + _application_scrapped = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee36(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee36$(_context36) { + while (1) switch (_context36.prev = _context36.next) { case 0: - return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(data.id, "/application_scrapped.json"), { + return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(data.id, "/application_scrapped.json"), { method: 'post', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context34.stop(); + return _context36.stop(); } - }, _callee34); + }, _callee36); })); return _application_scrapped.apply(this, arguments); } -function scrapped_data_info(_x35) { +function scrapped_data_info(_x37) { return _scrapped_data_info.apply(this, arguments); } //设备类型支持的实验项目 function _scrapped_data_info() { - _scrapped_data_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee35(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee35$(_context35) { - while (1) switch (_context35.prev = _context35.next) { + _scrapped_data_info = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee37(params) { + return _regeneratorRuntime().wrap(function _callee37$(_context37) { + while (1) switch (_context37.prev = _context37.next) { case 0: - return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, "/scrapped_data.json"), { + return _context37.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params, "/scrapped_data.json"), { method: 'get' })); case 1: case "end": - return _context35.stop(); + return _context37.stop(); } - }, _callee35); + }, _callee37); })); return _scrapped_data_info.apply(this, arguments); } -function support_shixuns_info(_x36) { +function support_shixuns_info(_x38) { return _support_shixuns_info.apply(this, arguments); } //设备类型使用率 function _support_shixuns_info() { - _support_shixuns_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee36(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee36$(_context36) { - while (1) switch (_context36.prev = _context36.next) { + _support_shixuns_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee38(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee38$(_context38) { + while (1) switch (_context38.prev = _context38.next) { case 0: - return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(params.id, "/support_shixuns.json"), { + return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(params.id, "/support_shixuns.json"), { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context36.stop(); + return _context38.stop(); } - }, _callee36); + }, _callee38); })); return _support_shixuns_info.apply(this, arguments); } -function used_rate(_x37) { +function used_rate(_x39) { return _used_rate.apply(this, arguments); } //设备类型历史使用记录 function _used_rate() { - _used_rate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee37(params) { - return _regeneratorRuntime().wrap(function _callee37$(_context37) { - while (1) switch (_context37.prev = _context37.next) { + _used_rate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee39(params) { + return _regeneratorRuntime().wrap(function _callee39$(_context39) { + while (1) switch (_context39.prev = _context39.next) { case 0: - return _context37.abrupt("return", Fetch("/api/zz_classrooms/device_details/used_rate.json", { + return _context39.abrupt("return", Fetch("/api/zz_classrooms/device_details/used_rate.json", { method: 'get', params: _objectSpread({}, params) })); case 1: case "end": - return _context37.stop(); + return _context39.stop(); } - }, _callee37); + }, _callee39); })); return _used_rate.apply(this, arguments); } -function shixun_use_type_records(_x38) { +function shixun_use_type_records(_x40) { return _shixun_use_type_records.apply(this, arguments); } //设备统计 function _shixun_use_type_records() { - _shixun_use_type_records = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee38(params) { - return _regeneratorRuntime().wrap(function _callee38$(_context38) { - while (1) switch (_context38.prev = _context38.next) { + _shixun_use_type_records = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee40(params) { + return _regeneratorRuntime().wrap(function _callee40$(_context40) { + while (1) switch (_context40.prev = _context40.next) { case 0: - return _context38.abrupt("return", Fetch("/api/zz_classrooms/device_details/shixun_use_type_records.json", { + return _context40.abrupt("return", Fetch("/api/zz_classrooms/device_details/shixun_use_type_records.json", { method: 'get', params: _objectSpread({}, params) })); case 1: case "end": - return _context38.stop(); + return _context40.stop(); } - }, _callee38); + }, _callee40); })); return _shixun_use_type_records.apply(this, arguments); } -function device_statistics(_x39) { +function device_statistics(_x41) { return _device_statistics.apply(this, arguments); } //行为统计 function _device_statistics() { - _device_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee39(params) { - return _regeneratorRuntime().wrap(function _callee39$(_context39) { - while (1) switch (_context39.prev = _context39.next) { + _device_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee41(params) { + return _regeneratorRuntime().wrap(function _callee41$(_context41) { + while (1) switch (_context41.prev = _context41.next) { case 0: - return _context39.abrupt("return", Fetch("/api/zz_classrooms/device_details/device_statistics.json", { + return _context41.abrupt("return", Fetch("/api/zz_classrooms/device_details/device_statistics.json", { method: 'get', params: _objectSpread({}, params) })); case 1: case "end": - return _context39.stop(); + return _context41.stop(); } - }, _callee39); + }, _callee41); })); return _device_statistics.apply(this, arguments); } -function behavior_statistics(_x40) { +function behavior_statistics(_x42) { return _behavior_statistics.apply(this, arguments); } //获取设备类型下所有设备数量与折旧率统计 function _behavior_statistics() { - _behavior_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee40(params) { - return _regeneratorRuntime().wrap(function _callee40$(_context40) { - while (1) switch (_context40.prev = _context40.next) { + _behavior_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee42(params) { + return _regeneratorRuntime().wrap(function _callee42$(_context42) { + while (1) switch (_context42.prev = _context42.next) { case 0: - return _context40.abrupt("return", Fetch("/api/zz_classrooms/device_details/action_statistics.json", { + return _context42.abrupt("return", Fetch("/api/zz_classrooms/device_details/action_statistics.json", { method: 'get', params: _objectSpread({}, params) })); case 1: case "end": - return _context40.stop(); + return _context42.stop(); } - }, _callee40); + }, _callee42); })); return _behavior_statistics.apply(this, arguments); } -function procure_records_device_statistics(_x41) { +function procure_records_device_statistics(_x43) { return _procure_records_device_statistics.apply(this, arguments); } //获取故障列表 function _procure_records_device_statistics() { - _procure_records_device_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee41(params) { - return _regeneratorRuntime().wrap(function _callee41$(_context41) { - while (1) switch (_context41.prev = _context41.next) { + _procure_records_device_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee43(params) { + return _regeneratorRuntime().wrap(function _callee43$(_context43) { + while (1) switch (_context43.prev = _context43.next) { case 0: - return _context41.abrupt("return", Fetch("/api/zz_classrooms/procure_records/device_statistics.json", { + return _context43.abrupt("return", Fetch("/api/zz_classrooms/procure_records/device_statistics.json", { method: 'get', params: _objectSpread({}, params) })); case 1: case "end": - return _context41.stop(); + return _context43.stop(); } - }, _callee41); + }, _callee43); })); return _procure_records_device_statistics.apply(this, arguments); } -function device_fault_query(_x42) { +function device_fault_query(_x44) { return _device_fault_query.apply(this, arguments); } //创建故障记录 function _device_fault_query() { - _device_fault_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee42(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee42$(_context42) { - while (1) switch (_context42.prev = _context42.next) { + _device_fault_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee44(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee44$(_context44) { + while (1) switch (_context44.prev = _context44.next) { case 0: - return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos.json", { + return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context42.stop(); + return _context44.stop(); } - }, _callee42); + }, _callee44); })); return _device_fault_query.apply(this, arguments); } -function device_fault_add(_x43) { +function device_fault_add(_x45) { return _device_fault_add.apply(this, arguments); } //更新故障记录 function _device_fault_add() { - _device_fault_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee43(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee43$(_context43) { - while (1) switch (_context43.prev = _context43.next) { + _device_fault_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee45(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee45$(_context45) { + while (1) switch (_context45.prev = _context45.next) { case 0: - return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos.json", { + return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos.json", { method: 'post', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context43.stop(); + return _context45.stop(); } - }, _callee43); + }, _callee45); })); return _device_fault_add.apply(this, arguments); } -function device_fault_update(_x44) { +function device_fault_update(_x46) { return _device_fault_update.apply(this, arguments); } //获取单条故障记录 function _device_fault_update() { - _device_fault_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee44(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee44$(_context44) { - while (1) switch (_context44.prev = _context44.next) { + _device_fault_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee46(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee46$(_context46) { + while (1) switch (_context46.prev = _context46.next) { case 0: - return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), { + return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), { method: 'put', - body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data) })); case 1: case "end": - return _context44.stop(); + return _context46.stop(); } - }, _callee44); + }, _callee46); })); return _device_fault_update.apply(this, arguments); } -function device_fault_infos(_x45) { +function device_fault_infos(_x47) { return _device_fault_infos.apply(this, arguments); } //删除单条故障记录 function _device_fault_infos() { - _device_fault_infos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee45(params) { - return _regeneratorRuntime().wrap(function _callee45$(_context45) { - while (1) switch (_context45.prev = _context45.next) { + _device_fault_infos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee47(params) { + return _regeneratorRuntime().wrap(function _callee47$(_context47) { + while (1) switch (_context47.prev = _context47.next) { case 0: - return _context45.abrupt("return", Fetch("/api/zz_classrooms/device_fault_infos/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), { + return _context47.abrupt("return", Fetch("/api/zz_classrooms/device_fault_infos/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), { method: 'get', params: _objectSpread({}, params) })); case 1: case "end": - return _context45.stop(); + return _context47.stop(); } - }, _callee45); + }, _callee47); })); return _device_fault_infos.apply(this, arguments); } -function device_fault_delete(_x46) { +function device_fault_delete(_x48) { return _device_fault_delete.apply(this, arguments); } // 今日预约统计 function _device_fault_delete() { - _device_fault_delete = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee46(data) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee46$(_context46) { - while (1) switch (_context46.prev = _context46.next) { + _device_fault_delete = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee48(data) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee48$(_context48) { + while (1) switch (_context48.prev = _context48.next) { case 0: - return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos/".concat(data, ".json"), { + return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos/".concat(data, ".json"), { method: 'delete' })); case 1: case "end": - return _context46.stop(); + return _context48.stop(); } - }, _callee46); + }, _callee48); })); return _device_fault_delete.apply(this, arguments); } -function reservation_today_data(_x47) { +function reservation_today_data(_x49) { return _reservation_today_data.apply(this, arguments); } //消息中心列表查询 function _reservation_today_data() { - _reservation_today_data = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee47(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee47$(_context47) { - while (1) switch (_context47.prev = _context47.next) { + _reservation_today_data = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee49(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee49$(_context49) { + while (1) switch (_context49.prev = _context49.next) { case 0: - return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/zz_classrooms/reservations/reservation_data.json', { + return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/zz_classrooms/reservations/reservation_data.json', { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context47.stop(); + return _context49.stop(); } - }, _callee47); + }, _callee49); })); return _reservation_today_data.apply(this, arguments); } -function message_table_query(_x48) { +function message_table_query(_x50) { return _message_table_query.apply(this, arguments); } function _message_table_query() { - _message_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee48(params) { - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee48$(_context48) { - while (1) switch (_context48.prev = _context48.next) { + _message_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee50(params) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee50$(_context50) { + while (1) switch (_context50.prev = _context50.next) { case 0: - return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/message_centers.json", { + return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/message_centers.json", { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context48.stop(); + return _context50.stop(); } - }, _callee48); + }, _callee50); })); return _message_table_query.apply(this, arguments); } diff --git a/78632.64e3459a.async.js b/83793.01d38e48.async.js similarity index 88% rename from 78632.64e3459a.async.js rename to 83793.01d38e48.async.js index 8e2e5a18eb..a45360ac27 100644 --- a/78632.64e3459a.async.js +++ b/83793.01d38e48.async.js @@ -1,154 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[78632],{ - -/***/ 81877: -/*!******************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/lib/asn/ArrowLeftOutlined.js ***! - \******************************************************************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -"use strict"; - -// This icon file is generated automatically. -Object.defineProperty(exports, "__esModule", ({ value: true })); -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" }; -exports["default"] = ArrowLeftOutlined; - - -/***/ }), - -/***/ 9091: -/*!*******************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/lib/asn/ArrowRightOutlined.js ***! - \*******************************************************************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -"use strict"; - -// This icon file is generated automatically. -Object.defineProperty(exports, "__esModule", ({ value: true })); -var ArrowRightOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z" } }] }, "name": "arrow-right", "theme": "outlined" }; -exports["default"] = ArrowRightOutlined; - - -/***/ }), - -/***/ 83047: -/*!**************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/ArrowLeftOutlined.js ***! - \**************************************************************************************/ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -const _ArrowLeftOutlined = _interopRequireDefault(__webpack_require__(/*! ./lib/icons/ArrowLeftOutlined */ 85508)); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -const _default = _ArrowLeftOutlined; -exports["default"] = _default; -module.exports = _default; - -/***/ }), - -/***/ 24115: -/*!***************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/ArrowRightOutlined.js ***! - \***************************************************************************************/ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -const _ArrowRightOutlined = _interopRequireDefault(__webpack_require__(/*! ./lib/icons/ArrowRightOutlined */ 25815)); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -const _default = _ArrowRightOutlined; -exports["default"] = _default; -module.exports = _default; - -/***/ }), - -/***/ 85508: -/*!************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/lib/icons/ArrowLeftOutlined.js ***! - \************************************************************************************************/ -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { - -"use strict"; - - -var _interopRequireWildcard = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireWildcard */ 14274)["default"]); -var _interopRequireDefault = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 78514)["default"]); -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ 90310)); -var React = _interopRequireWildcard(__webpack_require__(/*! react */ 59301)); -var _ArrowLeftOutlined = _interopRequireDefault(__webpack_require__(/*! @ant-design/icons-svg/lib/asn/ArrowLeftOutlined */ 81877)); -var _AntdIcon = _interopRequireDefault(__webpack_require__(/*! ../components/AntdIcon */ 26315)); -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - -var ArrowLeftOutlined = function ArrowLeftOutlined(props, ref) { - return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _extends2.default)({}, props, { - ref: ref, - icon: _ArrowLeftOutlined.default - })); -}; - -/** */ -var RefIcon = /*#__PURE__*/React.forwardRef(ArrowLeftOutlined); -if (false) {} -var _default = exports["default"] = RefIcon; - -/***/ }), - -/***/ 25815: -/*!*************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/lib/icons/ArrowRightOutlined.js ***! - \*************************************************************************************************/ -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { - -"use strict"; - - -var _interopRequireWildcard = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireWildcard */ 14274)["default"]); -var _interopRequireDefault = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 78514)["default"]); -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ 90310)); -var React = _interopRequireWildcard(__webpack_require__(/*! react */ 59301)); -var _ArrowRightOutlined = _interopRequireDefault(__webpack_require__(/*! @ant-design/icons-svg/lib/asn/ArrowRightOutlined */ 9091)); -var _AntdIcon = _interopRequireDefault(__webpack_require__(/*! ../components/AntdIcon */ 26315)); -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - -var ArrowRightOutlined = function ArrowRightOutlined(props, ref) { - return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _extends2.default)({}, props, { - ref: ref, - icon: _ArrowRightOutlined.default - })); -}; - -/** */ -var RefIcon = /*#__PURE__*/React.forwardRef(ArrowRightOutlined); -if (false) {} -var _default = exports["default"] = RefIcon; - -/***/ }), +(self["webpackChunk"] = self["webpackChunk"] || []).push([[83793],{ /***/ 43225: /*!***************************************************************************************************************!*\ @@ -586,86 +436,6 @@ function createField(Field, config) { } -/***/ }), - -/***/ 5: -/*!********************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Checkbox/index.js ***! - \********************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 35227); -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 61206); -/* harmony import */ var _ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/pro-utils */ 2005); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd */ 24905); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var _BaseForm_createField__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../BaseForm/createField */ 43225); -/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Field */ 22839); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ 37712); - - -var _excluded = ["options", "fieldProps", "proFieldProps", "valueEnum"]; - - - - - - -var CheckboxGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function (_ref, ref) { - var options = _ref.options, - fieldProps = _ref.fieldProps, - proFieldProps = _ref.proFieldProps, - valueEnum = _ref.valueEnum, - rest = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_ref, _excluded); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Field__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - ref: ref, - valueType: "checkbox", - valueEnum: (0,_ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__/* .runFunction */ .h)(valueEnum, undefined), - fieldProps: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - options: options - }, fieldProps), - lightProps: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - labelFormatter: function labelFormatter() { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Field__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - ref: ref, - valueType: "checkbox", - mode: "read", - valueEnum: (0,_ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__/* .runFunction */ .h)(valueEnum, undefined), - filedConfig: { - customLightMode: true - }, - fieldProps: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - options: options - }, fieldProps), - proFieldProps: proFieldProps - }, rest)); - } - }, rest.lightProps), - proFieldProps: proFieldProps - }, rest)); -}); -/** - * 多选框的 - * - * @param - */ -var ProFormCheckboxComponents = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function (_ref2, ref) { - var fieldProps = _ref2.fieldProps, - children = _ref2.children; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - ref: ref - }, fieldProps), {}, { - children: children - })); -}); -var ProFormCheckbox = (0,_BaseForm_createField__WEBPACK_IMPORTED_MODULE_7__/* .createField */ .G)(ProFormCheckboxComponents, { - valuePropName: 'checked' -}); -var WrappedProFormCheckbox = ProFormCheckbox; -WrappedProFormCheckbox.Group = CheckboxGroup; -/* harmony default export */ __webpack_exports__.Z = (WrappedProFormCheckbox); - /***/ }), /***/ 12366: @@ -874,55 +644,6 @@ ExportComponent.displayName = 'ProFormComponent'; /***/ }), -/***/ 36911: -/*!*****************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Digit/index.js ***! - \*****************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 35227); -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 61206); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Field */ 22839); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ 37712); - - -var _excluded = ["fieldProps", "min", "proFieldProps", "max"]; - - - -/** - * 数组选择组件 - * - * @param - */ -var ProFormDigit = function ProFormDigit(_ref, ref) { - var fieldProps = _ref.fieldProps, - min = _ref.min, - proFieldProps = _ref.proFieldProps, - max = _ref.max, - rest = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_ref, _excluded); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Field__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - valueType: "digit", - fieldProps: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - min: min, - max: max - }, fieldProps), - ref: ref, - filedConfig: { - defaultProps: { - width: '100%' - } - }, - proFieldProps: proFieldProps - }, rest)); -}; -var ForwardRefProFormDigit = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ProFormDigit); -/* harmony default export */ __webpack_exports__.Z = (ForwardRefProFormDigit); - -/***/ }), - /***/ 22839: /*!*******************************************************************************************************************!*\ !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Field/index.js + 117 modules ***! @@ -13520,82 +13241,6 @@ var ProFormItem = function ProFormItem(props) { /***/ }), -/***/ 45016: -/*!*****************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Radio/index.js ***! - \*****************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 35227); -/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 61206); -/* harmony import */ var _ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/pro-utils */ 2005); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd */ 5112); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var _BaseForm_createField__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../BaseForm/createField */ 43225); -/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Field */ 22839); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ 37712); - - -var _excluded = ["fieldProps", "options", "radioType", "layout", "proFieldProps", "valueEnum"]; - - - - - - -var RadioGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function (_ref, ref) { - var fieldProps = _ref.fieldProps, - options = _ref.options, - radioType = _ref.radioType, - layout = _ref.layout, - proFieldProps = _ref.proFieldProps, - valueEnum = _ref.valueEnum, - rest = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_ref, _excluded); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Field__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - valueType: radioType === 'button' ? 'radioButton' : 'radio', - ref: ref, - valueEnum: (0,_ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__/* .runFunction */ .h)(valueEnum, undefined) - }, rest), {}, { - fieldProps: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ - options: options, - layout: layout - }, fieldProps), - proFieldProps: proFieldProps, - filedConfig: { - customLightMode: true - } - })); -}); - -/** - * Radio - * - * @param - */ -var ProFormRadioComponents = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function (_ref2, ref) { - var fieldProps = _ref2.fieldProps, - children = _ref2.children; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, fieldProps), {}, { - ref: ref, - children: children - })); -}); -var ProFormRadio = (0,_BaseForm_createField__WEBPACK_IMPORTED_MODULE_7__/* .createField */ .G)(ProFormRadioComponents, { - valuePropName: 'checked', - ignoreWidth: true -}); -var WrappedProFormRadio = ProFormRadio; -WrappedProFormRadio.Group = RadioGroup; -WrappedProFormRadio.Button = antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"].Button */ .ZP.Button; - -// @ts-ignore -// eslint-disable-next-line no-param-reassign -WrappedProFormRadio.displayName = 'ProFormComponent'; -/* harmony default export */ __webpack_exports__.Z = (WrappedProFormRadio); - -/***/ }), - /***/ 78166: /*!******************************************************************************************************!*\ !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Select/index.js ***! @@ -13859,1704 +13504,39 @@ WrappedProFormText.displayName = 'ProFormComponent'; /***/ }), -/***/ 96079: -/*!****************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/layouts/ProForm/index.js + 6 modules ***! - \****************************************************************************************************************/ +/***/ 23108: +/*!************************************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/components/FieldLabel/index.js + 1 modules ***! + \************************************************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { - A: function() { return /* binding */ ProForm; } + Q: function() { return /* binding */ FieldLabel; } }); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(35227); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules -var es_form = __webpack_require__(78241); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/BaseForm/BaseForm.js + 101 modules -var BaseForm = __webpack_require__(27439); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/BaseForm/EditOrReadOnlyContext.js -var EditOrReadOnlyContext = __webpack_require__(37957); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js var defineProperty = __webpack_require__(78772); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(10859); -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/RightOutlined.js + 1 modules -var RightOutlined = __webpack_require__(38226); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(35788); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(16378); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/InfoCircleOutlined.js -// This icon file is generated automatically. -var InfoCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" } }] }, "name": "info-circle", "theme": "outlined" }; -/* harmony default export */ var asn_InfoCircleOutlined = (InfoCircleOutlined); - -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(31533); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/InfoCircleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var InfoCircleOutlined_InfoCircleOutlined = function InfoCircleOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_InfoCircleOutlined - })); -}; - -/** */ -var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(InfoCircleOutlined_InfoCircleOutlined); -if (false) {} -/* harmony default export */ var icons_InfoCircleOutlined = (RefIcon); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules +var CloseCircleFilled = __webpack_require__(37637); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/DownOutlined.js + 1 modules +var DownOutlined = __webpack_require__(76995); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/index.js + 2 modules +var es = __webpack_require__(57965); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules var config_provider = __webpack_require__(92736); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules -var es_tooltip = __webpack_require__(6848); // EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js var _classnames_2_5_1_classnames = __webpack_require__(92310); var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(35227); // EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/useStyle/index.js var useStyle = __webpack_require__(77989); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/components/LabelIconTip/style.js - - - -var genProStyle = function genProStyle(token) { - return (0,defineProperty/* default */.Z)({}, token.componentCls, { - display: 'inline-flex', - alignItems: 'center', - maxWidth: '100%', - '&-icon': { - display: 'block', - marginInlineStart: '4px', - cursor: 'pointer', - '&:hover': { - color: token.colorPrimary - } - }, - '&-title': { - display: 'inline-flex', - flex: '1' - }, - '&-subtitle ': { - marginInlineStart: 8, - color: token.colorTextSecondary, - fontWeight: 'normal', - fontSize: token.fontSize, - whiteSpace: 'nowrap' - }, - '&-title-ellipsis': { - overflow: 'hidden', - whiteSpace: 'nowrap', - textOverflow: 'ellipsis', - wordBreak: 'keep-all' - } - }); -}; -function style_useStyle(prefixCls) { - return (0,useStyle/* useStyle */.Xj)('LabelIconTip', function (token) { - var proToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { - componentCls: ".".concat(prefixCls) - }); - return [genProStyle(proToken)]; - }); -} -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js -var jsx_runtime = __webpack_require__(37712); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/components/LabelIconTip/index.js - - - - - - - - -/** - * 在 form 的 label 后面增加一个 tips 来展示一些说明文案 - * - * @param props - */ - - - -var LabelIconTip = /*#__PURE__*/_react_17_0_2_react.memo(function (props) { - var label = props.label, - tooltip = props.tooltip, - ellipsis = props.ellipsis, - subTitle = props.subTitle; - var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), - getPrefixCls = _useContext.getPrefixCls; - var className = getPrefixCls('pro-core-label-tip'); - var _useStyle = style_useStyle(className), - wrapSSR = _useStyle.wrapSSR, - hashId = _useStyle.hashId; - if (!tooltip && !subTitle) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: label - }); - } - var tooltipProps = typeof tooltip === 'string' || /*#__PURE__*/_react_17_0_2_react.isValidElement(tooltip) ? { - title: tooltip - } : tooltip; - var icon = (tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.icon) || /*#__PURE__*/(0,jsx_runtime.jsx)(icons_InfoCircleOutlined, {}); - return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: _classnames_2_5_1_classnames_default()(className, hashId), - onMouseDown: function onMouseDown(e) { - return e.stopPropagation(); - }, - onMouseLeave: function onMouseLeave(e) { - return e.stopPropagation(); - }, - onMouseMove: function onMouseMove(e) { - return e.stopPropagation(); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: _classnames_2_5_1_classnames_default()("".concat(className, "-title"), hashId, (0,defineProperty/* default */.Z)({}, "".concat(className, "-title-ellipsis"), ellipsis)), - children: label - }), subTitle && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(className, "-subtitle ").concat(hashId).trim(), - children: subTitle - }), tooltip && /*#__PURE__*/(0,jsx_runtime.jsx)(es_tooltip/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, tooltipProps), {}, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(className, "-icon ").concat(hashId).trim(), - children: icon - }) - }))] - })); -}); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules -var space = __webpack_require__(81327); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/FieldContext.js -var FieldContext = __webpack_require__(8459); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/helpers/grid.js -var grid = __webpack_require__(31238); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Group/style.js - - - -var style_genProStyle = function genProStyle(token) { - return (0,defineProperty/* default */.Z)({}, token.componentCls, { - '&-title': { - marginBlockEnd: token.marginXL, - fontWeight: 'bold' - }, - '&-container': (0,defineProperty/* default */.Z)({ - flexWrap: 'wrap', - maxWidth: '100%' - }, "> div".concat(token.antCls, "-space-item"), { - maxWidth: '100%' - }), - '&-twoLine': (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ - display: 'block', - width: '100%' - }, "".concat(token.componentCls, "-title"), { - width: '100%', - margin: '8px 0' - }), "".concat(token.componentCls, "-container"), { - paddingInlineStart: 16 - }), "".concat(token.antCls, "-space-item,").concat(token.antCls, "-form-item"), { - width: '100%' - }), "".concat(token.antCls, "-form-item"), { - '&-control': { - display: 'flex', - alignItems: 'center', - justifyContent: 'flex-end', - '&-input': { - alignItems: 'center', - justifyContent: 'flex-end', - '&-content': { - flex: 'none' - } - } - } - }) - }); -}; -function Group_style_useStyle(prefixCls) { - return (0,useStyle/* useStyle */.Xj)('ProFormGroup', function (token) { - var proToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { - componentCls: ".".concat(prefixCls) - }); - return [style_genProStyle(proToken)]; - }); -} -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/Group/index.js - - - - - - - - - - - - - -var Group = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref) { - var _React$useContext = _react_17_0_2_react.useContext(FieldContext/* default */.Z), - groupProps = _React$useContext.groupProps; - var _groupProps$props = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, groupProps), props), - children = _groupProps$props.children, - collapsible = _groupProps$props.collapsible, - defaultCollapsed = _groupProps$props.defaultCollapsed, - style = _groupProps$props.style, - labelLayout = _groupProps$props.labelLayout, - _groupProps$props$tit = _groupProps$props.title, - title = _groupProps$props$tit === void 0 ? props.label : _groupProps$props$tit, - tooltip = _groupProps$props.tooltip, - _groupProps$props$ali = _groupProps$props.align, - align = _groupProps$props$ali === void 0 ? 'start' : _groupProps$props$ali, - direction = _groupProps$props.direction, - _groupProps$props$siz = _groupProps$props.size, - size = _groupProps$props$siz === void 0 ? 32 : _groupProps$props$siz, - titleStyle = _groupProps$props.titleStyle, - titleRender = _groupProps$props.titleRender, - spaceProps = _groupProps$props.spaceProps, - extra = _groupProps$props.extra, - autoFocus = _groupProps$props.autoFocus; - var _useMountMergeState = (0,useMergedState/* default */.Z)(function () { - return defaultCollapsed || false; - }, { - value: props.collapsed, - onChange: props.onCollapse - }), - _useMountMergeState2 = (0,slicedToArray/* default */.Z)(_useMountMergeState, 2), - collapsed = _useMountMergeState2[0], - setCollapsed = _useMountMergeState2[1]; - var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), - getPrefixCls = _useContext.getPrefixCls; - var _useGridHelpers = (0,grid/* useGridHelpers */.zx)(props), - ColWrapper = _useGridHelpers.ColWrapper, - RowWrapper = _useGridHelpers.RowWrapper; - var className = getPrefixCls('pro-form-group'); - var _useStyle = Group_style_useStyle(className), - wrapSSR = _useStyle.wrapSSR, - hashId = _useStyle.hashId; - var collapsibleButton = collapsible && /*#__PURE__*/(0,jsx_runtime.jsx)(RightOutlined/* default */.Z, { - style: { - marginInlineEnd: 8 - }, - rotate: !collapsed ? 90 : undefined - }); - var label = /*#__PURE__*/(0,jsx_runtime.jsx)(LabelIconTip, { - label: collapsibleButton ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [collapsibleButton, title] - }) : title, - tooltip: tooltip - }); - var Wrapper = (0,_react_17_0_2_react.useCallback)(function (_ref) { - var dom = _ref.children; - return /*#__PURE__*/(0,jsx_runtime.jsx)(space/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, spaceProps), {}, { - className: _classnames_2_5_1_classnames_default()("".concat(className, "-container ").concat(hashId), spaceProps === null || spaceProps === void 0 ? void 0 : spaceProps.className), - size: size, - align: align, - direction: direction, - style: (0,objectSpread2/* default */.Z)({ - rowGap: 0 - }, spaceProps === null || spaceProps === void 0 ? void 0 : spaceProps.style), - children: dom - })); - }, [align, className, direction, hashId, size, spaceProps]); - var titleDom = titleRender ? titleRender(label, props) : label; - var _useMemo = (0,_react_17_0_2_react.useMemo)(function () { - var hiddenChildren = []; - var childrenList = _react_17_0_2_react.Children.toArray(children).map(function (element, index) { - var _element$props; - if ( /*#__PURE__*/_react_17_0_2_react.isValidElement(element) && element !== null && element !== void 0 && (_element$props = element.props) !== null && _element$props !== void 0 && _element$props.hidden) { - hiddenChildren.push(element); - return null; - } - if (index === 0 && /*#__PURE__*/_react_17_0_2_react.isValidElement(element) && autoFocus) { - return /*#__PURE__*/_react_17_0_2_react.cloneElement(element, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, element.props), {}, { - autoFocus: autoFocus - })); - } - return element; - }); - return [/*#__PURE__*/(0,jsx_runtime.jsx)(RowWrapper, { - Wrapper: Wrapper, - children: childrenList - }, "children"), hiddenChildren.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - display: 'none' - }, - children: hiddenChildren - }) : null]; - }, [children, RowWrapper, Wrapper, autoFocus]), - _useMemo2 = (0,slicedToArray/* default */.Z)(_useMemo, 2), - childrenDoms = _useMemo2[0], - hiddenDoms = _useMemo2[1]; - return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)(ColWrapper, { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: _classnames_2_5_1_classnames_default()(className, hashId, (0,defineProperty/* default */.Z)({}, "".concat(className, "-twoLine"), labelLayout === 'twoLine')), - style: style, - ref: ref, - children: [hiddenDoms, (title || tooltip || extra) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(className, "-title ").concat(hashId).trim(), - style: titleStyle, - onClick: function onClick() { - setCollapsed(!collapsed); - }, - children: extra ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - width: '100%', - alignItems: 'center', - justifyContent: 'space-between' - }, - children: [titleDom, /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick(e) { - return e.stopPropagation(); - }, - children: extra - })] - }) : titleDom - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - display: collapsible && collapsed ? 'none' : undefined - }, - children: childrenDoms - })] - }) - })); -}); -Group.displayName = 'ProForm-Group'; -/* harmony default export */ var components_Group = (Group); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/components/FormItem/index.js + 8 modules -var FormItem = __webpack_require__(49119); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.31.4@@ant-design/pro-form/es/layouts/ProForm/index.js - - - - - - - - - -function ProForm(props) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(BaseForm/* BaseForm */.I, (0,objectSpread2/* default */.Z)({ - layout: "vertical", - contentRender: function contentRender(items, submitter) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [items, submitter] - }); - } - }, props)); -} -ProForm.Group = components_Group; -ProForm.useForm = es_form/* default */.Z.useForm; -ProForm.Item = FormItem/* default */.Z; -ProForm.useWatch = es_form/* default */.Z.useWatch; -ProForm.ErrorList = es_form/* default */.Z.ErrorList; -ProForm.Provider = es_form/* default */.Z.Provider; -ProForm.useFormInstance = es_form/* default */.Z.useFormInstance; -ProForm.EditOrReadOnlyContext = EditOrReadOnlyContext/* EditOrReadOnlyContext */.A; - - -/***/ }), - -/***/ 90330: -/*!*****************************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/FooterToolbar/index.js + 3 modules ***! - \*****************************************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - S: function() { return /* binding */ FooterToolbar; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(35227); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(78772); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(61206); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/isBrowser/index.js -/* provided dependency */ var process = __webpack_require__(/*! ./node_modules/_process@0.11.10@process/browser.js */ 97671); -var isNode = typeof process !== 'undefined' && process.versions != null && process.versions.node != null; - -/** - * 用于判断当前是否在浏览器环境中。 - * 首先会判断当前是否处于测试环境中(通过 process.env.NODE_ENV === 'TEST' 判断), - * 如果是,则返回 true。否则,会进一步判断是否存在 window 对象、document 对象以及 matchMedia 方法 - * 同时通过 !isNode 判断当前不是在服务器(Node.js)环境下执行, - * 如果都符合,则返回 true 表示当前处于浏览器环境中。 - * @returns boolean - */ -var isBrowser = function isBrowser() { - if (typeof process !== 'undefined' && "production" === 'TEST') {} - return typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.matchMedia !== 'undefined' && !isNode; -}; -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules -var config_provider = __webpack_require__(92736); -// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js -var _classnames_2_5_1_classnames = __webpack_require__(92310); -var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js -var omit = __webpack_require__(64002); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./node_modules/_react-dom@17.0.2@react-dom/index.js -var _react_dom_17_0_2_react_dom = __webpack_require__(4676); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/context/RouteContext.js -var RouteContext = __webpack_require__(74039); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/useStyle/index.js -var useStyle = __webpack_require__(77989); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/FooterToolbar/style/index.js - - - -var genFooterToolBarStyle = function genFooterToolBarStyle(token) { - return (0,defineProperty/* default */.Z)({}, token.componentCls, { - position: 'fixed', - insetInlineEnd: 0, - bottom: 0, - zIndex: 99, - display: 'flex', - alignItems: 'center', - width: '100%', - paddingInline: 24, - paddingBlock: 0, - boxSizing: 'border-box', - lineHeight: '64px', - /* A way to reset the style of the component. */ - backgroundColor: (0,useStyle/* setAlpha */.uK)(token.colorBgElevated, 0.6), - borderBlockStart: "1px solid ".concat(token.colorSplit), - '-webkit-backdrop-filter': 'blur(8px)', - backdropFilter: 'blur(8px)', - color: token.colorText, - transition: 'all 0.2s ease 0s', - '&-left': { - flex: 1, - color: token.colorText - }, - '&-right': { - color: token.colorText, - '> *': { - marginInlineEnd: 8, - '&:last-child': { - marginBlock: 0, - marginInline: 0 - } - } - } - }); -}; -function style_useStyle(prefixCls) { - return (0,useStyle/* useStyle */.Xj)('ProLayoutFooterToolbar', function (token) { - var proCardToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { - componentCls: ".".concat(prefixCls) - }); - return [genFooterToolBarStyle(proCardToken)]; - }); -} -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/FooterToolbar/style/stylish.js - - - -function useStylish(prefixCls, _ref) { - var stylish = _ref.stylish; - return (0,useStyle/* useStyle */.Xj)('ProLayoutFooterToolbarStylish', function (token) { - var stylishToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { - componentCls: ".".concat(prefixCls) - }); - if (!stylish) return []; - return [(0,defineProperty/* default */.Z)({}, "".concat(stylishToken.componentCls), stylish === null || stylish === void 0 ? void 0 : stylish(stylishToken))]; - }); -} -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js -var jsx_runtime = __webpack_require__(37712); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/FooterToolbar/index.js - - - -var _excluded = ["children", "className", "extra", "portalDom", "style", "renderContent"]; -/* eslint-disable react-hooks/exhaustive-deps */ - - - - - - - - - - - - - -var FooterToolbar = function FooterToolbar(props) { - var children = props.children, - className = props.className, - extra = props.extra, - _props$portalDom = props.portalDom, - portalDom = _props$portalDom === void 0 ? true : _props$portalDom, - style = props.style, - renderContent = props.renderContent, - restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); - var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), - getPrefixCls = _useContext.getPrefixCls, - getTargetContainer = _useContext.getTargetContainer; - var prefixCls = props.prefixCls || getPrefixCls('pro'); - var baseClassName = "".concat(prefixCls, "-footer-bar"); - var _useStyle = style_useStyle(baseClassName), - wrapSSR = _useStyle.wrapSSR, - hashId = _useStyle.hashId; - var value = (0,_react_17_0_2_react.useContext)(RouteContext/* RouteContext */.X); - var width = (0,_react_17_0_2_react.useMemo)(function () { - var hasSiderMenu = value.hasSiderMenu, - isMobile = value.isMobile, - siderWidth = value.siderWidth; - if (!hasSiderMenu) { - return undefined; - } - // 0 or undefined - if (!siderWidth) { - return '100%'; - } - return isMobile ? '100%' : "calc(100% - ".concat(siderWidth, "px)"); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [value.collapsed, value.hasSiderMenu, value.isMobile, value.siderWidth]); - var containerDom = (0,_react_17_0_2_react.useMemo)(function () { - if (typeof window === 'undefined' || typeof document === 'undefined') return null; - // 只读取一次就行了,不然总是的渲染 - return (getTargetContainer === null || getTargetContainer === void 0 ? void 0 : getTargetContainer()) || document.body; - }, []); - var stylish = useStylish("".concat(baseClassName, ".").concat(baseClassName, "-stylish"), { - stylish: props.stylish - }); - var dom = /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(baseClassName, "-left ").concat(hashId).trim(), - children: extra - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(baseClassName, "-right ").concat(hashId).trim(), - children: children - })] - }); - - /** 告诉 props 是否存在 footerBar */ - (0,_react_17_0_2_react.useEffect)(function () { - if (!value || !(value !== null && value !== void 0 && value.setHasFooterToolbar)) { - return function () {}; - } - value === null || value === void 0 || value.setHasFooterToolbar(true); - return function () { - var _value$setHasFooterTo; - value === null || value === void 0 || (_value$setHasFooterTo = value.setHasFooterToolbar) === null || _value$setHasFooterTo === void 0 || _value$setHasFooterTo.call(value, false); - }; - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - var renderDom = /*#__PURE__*/(0,jsx_runtime.jsx)("div", (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - className: _classnames_2_5_1_classnames_default()(className, hashId, baseClassName, (0,defineProperty/* default */.Z)({}, "".concat(baseClassName, "-stylish"), !!props.stylish)), - style: (0,objectSpread2/* default */.Z)({ - width: width - }, style) - }, (0,omit/* default */.Z)(restProps, ['prefixCls'])), {}, { - children: renderContent ? renderContent((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), value), {}, { - leftWidth: width - }), dom) : dom - })); - var ssrDom = !isBrowser() || !portalDom || !containerDom ? renderDom : /*#__PURE__*/(0,_react_dom_17_0_2_react_dom.createPortal)(renderDom, containerDom, baseClassName); - return stylish.wrapSSR(wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, { - children: ssrDom - }, baseClassName))); -}; - - -/***/ }), - -/***/ 5039: -/*!*****************************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageContainer/index.js + 8 modules ***! - \*****************************************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - _z: function() { return /* binding */ PageContainer; } -}); - -// UNUSED EXPORTS: ProBreadcrumb, ProPageHeader - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(78772); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(61206); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(35227); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(42066); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/index.js + 2 modules -var es = __webpack_require__(57965); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tabs/index.js + 24 modules -var tabs = __webpack_require__(99313); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/version/index.js + 1 modules -var version = __webpack_require__(8680); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules -var config_provider = __webpack_require__(92736); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/index.js + 2 modules -var affix = __webpack_require__(81228); -// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js -var _classnames_2_5_1_classnames = __webpack_require__(92310); -var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/context/RouteContext.js -var context_RouteContext = __webpack_require__(74039); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/FooterToolbar/index.js + 3 modules -var FooterToolbar = __webpack_require__(90330); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/useStyle/index.js -var useStyle = __webpack_require__(77989); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/GridContent/style.js - - - -var genGridContentStyle = function genGridContentStyle(token) { - return (0,defineProperty/* default */.Z)({}, token.componentCls, { - width: '100%', - '&-wide': { - maxWidth: 1152, - margin: '0 auto' - } - }); -}; -function style_useStyle(prefixCls) { - return (0,useStyle/* useStyle */.Xj)('ProLayoutGridContent', function (token) { - var GridContentToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { - componentCls: ".".concat(prefixCls) - }); - return [genGridContentStyle(GridContentToken)]; - }); -} -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js -var jsx_runtime = __webpack_require__(37712); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/GridContent/index.js - - - - - - - -/** - * This component can support contentWidth so you don't need to calculate the width - * contentWidth=Fixed, width will is 1200 - * - * @param props - */ -var GridContent = function GridContent(props) { - var value = (0,_react_17_0_2_react.useContext)(context_RouteContext/* RouteContext */.X); - var children = props.children, - propsContentWidth = props.contentWidth, - propsClassName = props.className, - style = props.style; - var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), - getPrefixCls = _useContext.getPrefixCls; - var prefixCls = props.prefixCls || getPrefixCls('pro'); - var contentWidth = propsContentWidth || value.contentWidth; - var className = "".concat(prefixCls, "-grid-content"); - var _useStyle = style_useStyle(className), - wrapSSR = _useStyle.wrapSSR, - hashId = _useStyle.hashId; - var isWide = contentWidth === 'Fixed' && value.layout === 'top'; - return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: _classnames_2_5_1_classnames_default()(className, hashId, propsClassName, (0,defineProperty/* default */.Z)({}, "".concat(className, "-wide"), isWide)), - style: style, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(prefixCls, "-grid-content-children ").concat(hashId).trim(), - children: children - }) - })); -}; - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(10859); -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/ArrowLeftOutlined.js -var ArrowLeftOutlined = __webpack_require__(83047); -var ArrowLeftOutlined_default = /*#__PURE__*/__webpack_require__.n(ArrowLeftOutlined); -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/ArrowRightOutlined.js -var ArrowRightOutlined = __webpack_require__(24115); -var ArrowRightOutlined_default = /*#__PURE__*/__webpack_require__.n(ArrowRightOutlined); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules -var es_breadcrumb = __webpack_require__(66104); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/avatar/index.js + 4 modules -var es_avatar = __webpack_require__(26743); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules -var space = __webpack_require__(81327); -// EXTERNAL MODULE: ./node_modules/_rc-resize-observer@1.4.3@rc-resize-observer/es/index.js + 4 modules -var _rc_resize_observer_1_4_3_rc_resize_observer_es = __webpack_require__(29301); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/warning.js -var warning = __webpack_require__(51395); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageHeader/style/index.js - - - -var textOverflowEllipsis = function textOverflowEllipsis() { - return { - overflow: 'hidden', - whiteSpace: 'nowrap', - textOverflow: 'ellipsis' - }; -}; -var genPageHeaderStyle = function genPageHeaderStyle(token) { - var _token$layout; - return (0,defineProperty/* default */.Z)({}, token.componentCls, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, useStyle/* resetComponent */.Wf === null || useStyle/* resetComponent */.Wf === void 0 ? void 0 : (0,useStyle/* resetComponent */.Wf)(token)), {}, (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ - position: 'relative', - backgroundColor: token.colorWhite, - paddingBlock: token.pageHeaderPaddingVertical + 2, - paddingInline: token.pageHeaderPadding, - '&&-ghost': { - backgroundColor: token.pageHeaderBgGhost - }, - '&-no-children': { - height: (_token$layout = token.layout) === null || _token$layout === void 0 || (_token$layout = _token$layout.pageContainer) === null || _token$layout === void 0 ? void 0 : _token$layout.paddingBlockPageContainerContent - }, - '&&-has-breadcrumb': { - paddingBlockStart: token.pageHeaderPaddingBreadCrumb - }, - '&&-has-footer': { - paddingBlockEnd: 0 - }, - '& &-back': (0,defineProperty/* default */.Z)({ - marginInlineEnd: token.margin, - fontSize: 16, - lineHeight: 1, - '&-button': (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - fontSize: 16 - }, useStyle/* operationUnit */.Nd === null || useStyle/* operationUnit */.Nd === void 0 ? void 0 : (0,useStyle/* operationUnit */.Nd)(token)), {}, { - color: token.pageHeaderColorBack, - cursor: 'pointer' - }) - }, "".concat(token.componentCls, "-rlt &"), { - float: 'right', - marginInlineEnd: 0, - marginInlineStart: 0 - }) - }, "& ".concat('ant', "-divider-vertical"), { - height: 14, - marginBlock: 0, - marginInline: token.marginSM, - verticalAlign: 'middle' - }), "& &-breadcrumb + &-heading", { - marginBlockStart: token.marginXS - }), '& &-heading', { - display: 'flex', - justifyContent: 'space-between', - '&-left': { - display: 'flex', - alignItems: 'center', - marginBlock: token.marginXS / 2, - marginInlineEnd: 0, - marginInlineStart: 0, - overflow: 'hidden' - }, - '&-title': (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - marginInlineEnd: token.marginSM, - marginBlockEnd: 0, - color: token.colorTextHeading, - fontWeight: 600, - fontSize: token.pageHeaderFontSizeHeaderTitle, - lineHeight: token.controlHeight + 'px' - }, textOverflowEllipsis()), {}, (0,defineProperty/* default */.Z)({}, "".concat(token.componentCls, "-rlt &"), { - marginInlineEnd: 0, - marginInlineStart: token.marginSM - })), - '&-avatar': (0,defineProperty/* default */.Z)({ - marginInlineEnd: token.marginSM - }, "".concat(token.componentCls, "-rlt &"), { - float: 'right', - marginInlineEnd: 0, - marginInlineStart: token.marginSM - }), - '&-tags': (0,defineProperty/* default */.Z)({}, "".concat(token.componentCls, "-rlt &"), { - float: 'right' - }), - '&-sub-title': (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - marginInlineEnd: token.marginSM, - color: token.colorTextSecondary, - fontSize: token.pageHeaderFontSizeHeaderSubTitle, - lineHeight: token.lineHeight - }, textOverflowEllipsis()), {}, (0,defineProperty/* default */.Z)({}, "".concat(token.componentCls, "-rlt &"), { - float: 'right', - marginInlineEnd: 0, - marginInlineStart: 12 - })), - '&-extra': (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ - marginBlock: token.marginXS / 2, - marginInlineEnd: 0, - marginInlineStart: 0, - whiteSpace: 'nowrap', - '> *': (0,defineProperty/* default */.Z)({ - 'white-space': 'unset' - }, "".concat(token.componentCls, "-rlt &"), { - marginInlineEnd: token.marginSM, - marginInlineStart: 0 - }) - }, "".concat(token.componentCls, "-rlt &"), { - float: 'left' - }), '*:first-child', (0,defineProperty/* default */.Z)({}, "".concat(token.componentCls, "-rlt &"), { - marginInlineEnd: 0 - })) - }), '&-content', { - paddingBlockStart: token.pageHeaderPaddingContentPadding - }), '&-footer', { - marginBlockStart: token.margin - }), '&-compact &-heading', { - flexWrap: 'wrap' - }), '&-wide', { - maxWidth: 1152, - margin: '0 auto' - }), '&-rtl', { - direction: 'rtl' - }))); -}; -function PageHeader_style_useStyle(prefixCls) { - return (0,useStyle/* useStyle */.Xj)('ProLayoutPageHeader', function (token) { - var proCardToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { - componentCls: ".".concat(prefixCls), - pageHeaderBgGhost: 'transparent', - pageHeaderPadding: 16, - pageHeaderPaddingVertical: 4, - pageHeaderPaddingBreadCrumb: token.paddingSM, - pageHeaderColorBack: token.colorTextHeading, - pageHeaderFontSizeHeaderTitle: token.fontSizeHeading4, - pageHeaderFontSizeHeaderSubTitle: 14, - pageHeaderPaddingContentPadding: token.paddingSM - }); - return [genPageHeaderStyle(proCardToken)]; - }); -} -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageHeader/index.js - - - - - - - - - - - - - - -var renderBack = function renderBack(prefixCls, hashId, backIcon, onBack) { - if (!backIcon || !onBack) { - return null; - } - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(prefixCls, "-back ").concat(hashId).trim(), - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - role: "button", - onClick: function onClick(e) { - onBack === null || onBack === void 0 || onBack(e); - }, - className: "".concat(prefixCls, "-back-button ").concat(hashId).trim(), - "aria-label": "back", - children: backIcon - }) - }); -}; -var renderBreadcrumb = function renderBreadcrumb(breadcrumb, prefixCls) { - var _breadcrumb$items; - if (!((_breadcrumb$items = breadcrumb.items) !== null && _breadcrumb$items !== void 0 && _breadcrumb$items.length)) return null; - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_breadcrumb/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, breadcrumb), {}, { - className: _classnames_2_5_1_classnames_default()("".concat(prefixCls, "-breadcrumb"), breadcrumb.className) - })); -}; -var getBackIcon = function getBackIcon(props) { - var direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'ltr'; - if (props.backIcon !== undefined) { - return props.backIcon; - } - return direction === 'rtl' ? /*#__PURE__*/(0,jsx_runtime.jsx)((ArrowRightOutlined_default()), {}) : /*#__PURE__*/(0,jsx_runtime.jsx)((ArrowLeftOutlined_default()), {}); -}; -var renderTitle = function renderTitle(prefixCls, props) { - var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr'; - var hashId = arguments.length > 3 ? arguments[3] : undefined; - var title = props.title, - avatar = props.avatar, - subTitle = props.subTitle, - tags = props.tags, - extra = props.extra, - onBack = props.onBack; - var headingPrefixCls = "".concat(prefixCls, "-heading"); - var hasHeading = title || subTitle || tags || extra; - // If there is nothing, return a null - if (!hasHeading) { - return null; - } - var backIcon = getBackIcon(props, direction); - var backIconDom = renderBack(prefixCls, hashId, backIcon, onBack); - var hasTitle = backIconDom || avatar || hasHeading; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: headingPrefixCls + ' ' + hashId, - children: [hasTitle && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "".concat(headingPrefixCls, "-left ").concat(hashId).trim(), - children: [backIconDom, avatar && /*#__PURE__*/(0,jsx_runtime.jsx)(es_avatar/* default */.C, (0,objectSpread2/* default */.Z)({ - className: _classnames_2_5_1_classnames_default()("".concat(headingPrefixCls, "-avatar"), hashId, avatar.className) - }, avatar)), title && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(headingPrefixCls, "-title ").concat(hashId).trim(), - title: typeof title === 'string' ? title : undefined, - children: title - }), subTitle && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(headingPrefixCls, "-sub-title ").concat(hashId).trim(), - title: typeof subTitle === 'string' ? subTitle : undefined, - children: subTitle - }), tags && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(headingPrefixCls, "-tags ").concat(hashId).trim(), - children: tags - })] - }), extra && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "".concat(headingPrefixCls, "-extra ").concat(hashId).trim(), - children: /*#__PURE__*/(0,jsx_runtime.jsx)(space/* default */.Z, { - children: extra - }) - })] - }); -}; -var renderFooter = function renderFooter(prefixCls, footer, hashId) { - if (footer) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(prefixCls, "-footer ").concat(hashId).trim(), - children: footer - }); - } - return null; -}; -var renderChildren = function renderChildren(prefixCls, children, hashId) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(prefixCls, "-content ").concat(hashId).trim(), - children: children - }); -}; -var transformBreadcrumbRoutesToItems = function transformBreadcrumbRoutesToItems(routes) { - return routes === null || routes === void 0 ? void 0 : routes.map(function (route) { - var _route$children; - (0,warning/* noteOnce */.ET)(!!route.breadcrumbName, 'Route.breadcrumbName is deprecated, please use Route.title instead.'); - return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, route), {}, { - breadcrumbName: undefined, - children: undefined, - title: route.title || route.breadcrumbName - }, (_route$children = route.children) !== null && _route$children !== void 0 && _route$children.length ? { - menu: { - items: transformBreadcrumbRoutesToItems(route.children) - } - } : {}); - }); -}; -var PageHeader = function PageHeader(props) { - var _breadcrumbRender; - var _React$useState = _react_17_0_2_react.useState(false), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - compact = _React$useState2[0], - updateCompact = _React$useState2[1]; - var onResize = function onResize(_ref) { - var width = _ref.width; - return updateCompact(width < 768); - }; - var _React$useContext = _react_17_0_2_react.useContext(config_provider/* default.ConfigContext */.ZP.ConfigContext), - getPrefixCls = _React$useContext.getPrefixCls, - direction = _React$useContext.direction; - var customizePrefixCls = props.prefixCls, - style = props.style, - footer = props.footer, - children = props.children, - breadcrumb = props.breadcrumb, - breadcrumbRender = props.breadcrumbRender, - customizeClassName = props.className, - contentWidth = props.contentWidth, - layout = props.layout, - _props$ghost = props.ghost, - ghost = _props$ghost === void 0 ? true : _props$ghost; - var prefixCls = getPrefixCls('page-header', customizePrefixCls); - var _useStyle = PageHeader_style_useStyle(prefixCls), - wrapSSR = _useStyle.wrapSSR, - hashId = _useStyle.hashId; - var getDefaultBreadcrumbDom = function getDefaultBreadcrumbDom() { - if (breadcrumb && !(breadcrumb !== null && breadcrumb !== void 0 && breadcrumb.items) && breadcrumb !== null && breadcrumb !== void 0 && breadcrumb.routes) { - (0,warning/* noteOnce */.ET)(false, 'The routes of Breadcrumb is deprecated, please use items instead.'); - breadcrumb.items = transformBreadcrumbRoutesToItems(breadcrumb.routes); - } - if (breadcrumb !== null && breadcrumb !== void 0 && breadcrumb.items) { - return renderBreadcrumb(breadcrumb, prefixCls); - } - return null; - }; - var defaultBreadcrumbDom = getDefaultBreadcrumbDom(); - var isBreadcrumbComponent = breadcrumb && 'props' in breadcrumb; - - // support breadcrumbRender function - var breadcrumbRenderDomFromProps = (_breadcrumbRender = breadcrumbRender === null || breadcrumbRender === void 0 ? void 0 : breadcrumbRender((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - prefixCls: prefixCls - }), defaultBreadcrumbDom)) !== null && _breadcrumbRender !== void 0 ? _breadcrumbRender : defaultBreadcrumbDom; - var breadcrumbDom = isBreadcrumbComponent ? breadcrumb : breadcrumbRenderDomFromProps; - var className = _classnames_2_5_1_classnames_default()(prefixCls, hashId, customizeClassName, (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-has-breadcrumb"), !!breadcrumbDom), "".concat(prefixCls, "-has-footer"), !!footer), "".concat(prefixCls, "-rtl"), direction === 'rtl'), "".concat(prefixCls, "-compact"), compact), "".concat(prefixCls, "-wide"), contentWidth === 'Fixed' && layout == 'top'), "".concat(prefixCls, "-ghost"), ghost)); - var title = renderTitle(prefixCls, props, direction, hashId); - var childDom = children && renderChildren(prefixCls, children, hashId); - var footerDom = renderFooter(prefixCls, footer, hashId); - if (!breadcrumbDom && !title && !footerDom && !childDom) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: _classnames_2_5_1_classnames_default()(hashId, ["".concat(prefixCls, "-no-children")]) - }); - } - return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)(_rc_resize_observer_1_4_3_rc_resize_observer_es/* default */.Z, { - onResize: onResize, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: className, - style: style, - children: [breadcrumbDom, title, childDom, footerDom] - }) - })); -}; - -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules -var spin = __webpack_require__(71418); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageLoading/index.js - - -var _excluded = ["isLoading", "pastDelay", "timedOut", "error", "retry"]; - - - -var PageLoading = function PageLoading(_ref) { - var isLoading = _ref.isLoading, - pastDelay = _ref.pastDelay, - timedOut = _ref.timedOut, - error = _ref.error, - retry = _ref.retry, - reset = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - paddingBlockStart: 100, - textAlign: 'center' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, (0,objectSpread2/* default */.Z)({ - size: "large" - }, reset)) - }); -}; - -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/WaterMark/index.js - - - - - - - - -/** - * 返回当前显示设备的物理像素分辨率与CSS像素分辨率之比 - * - * @param context - * @see api 有些废弃了,其实类型 CanvasRenderingContext2D - */ -var getPixelRatio = function getPixelRatio(context) { - if (!context) { - return 1; - } - var backingStore = context.backingStorePixelRatio || context.webkitBackingStorePixelRatio || context.mozBackingStorePixelRatio || context.msBackingStorePixelRatio || context.oBackingStorePixelRatio || 1; - return (window.devicePixelRatio || 1) / backingStore; -}; -var WaterMark = function WaterMark(props) { - var _useToken = (0,useStyle/* useToken */.dQ)(), - token = _useToken.token; - var children = props.children, - style = props.style, - className = props.className, - markStyle = props.markStyle, - markClassName = props.markClassName, - _props$zIndex = props.zIndex, - zIndex = _props$zIndex === void 0 ? 9 : _props$zIndex, - _props$gapX = props.gapX, - gapX = _props$gapX === void 0 ? 212 : _props$gapX, - _props$gapY = props.gapY, - gapY = _props$gapY === void 0 ? 222 : _props$gapY, - _props$width = props.width, - width = _props$width === void 0 ? 120 : _props$width, - _props$height = props.height, - height = _props$height === void 0 ? 64 : _props$height, - _props$rotate = props.rotate, - rotate = _props$rotate === void 0 ? -22 : _props$rotate, - image = props.image, - offsetLeft = props.offsetLeft, - outOffsetTop = props.offsetTop, - _props$fontStyle = props.fontStyle, - fontStyle = _props$fontStyle === void 0 ? 'normal' : _props$fontStyle, - _props$fontWeight = props.fontWeight, - fontWeight = _props$fontWeight === void 0 ? 'normal' : _props$fontWeight, - _props$fontColor = props.fontColor, - fontColor = _props$fontColor === void 0 ? token.colorFill : _props$fontColor, - _props$fontSize = props.fontSize, - fontSize = _props$fontSize === void 0 ? 16 : _props$fontSize, - _props$fontFamily = props.fontFamily, - fontFamily = _props$fontFamily === void 0 ? 'sans-serif' : _props$fontFamily, - customizePrefixCls = props.prefixCls; - var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), - getPrefixCls = _useContext.getPrefixCls; - var prefixCls = getPrefixCls('pro-layout-watermark', customizePrefixCls); - var wrapperCls = _classnames_2_5_1_classnames_default()("".concat(prefixCls, "-wrapper"), className); - var waterMarkCls = _classnames_2_5_1_classnames_default()(prefixCls, markClassName); - var _useState = (0,_react_17_0_2_react.useState)(''), - _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), - base64Url = _useState2[0], - setBase64Url = _useState2[1]; - (0,_react_17_0_2_react.useEffect)(function () { - var canvas = document.createElement('canvas'); - var ctx = canvas.getContext('2d'); - var ratio = getPixelRatio(ctx); - var canvasWidth = "".concat((gapX + width) * ratio, "px"); - var canvasHeight = "".concat((gapY + height) * ratio, "px"); - var canvasOffsetLeft = offsetLeft || gapX / 2; - var canvasOffsetTop = outOffsetTop || gapY / 2; - canvas.setAttribute('width', canvasWidth); - canvas.setAttribute('height', canvasHeight); - if (!ctx) { - // eslint-disable-next-line no-console - console.error('当前环境不支持Canvas'); - return; - } - - // 旋转字符 rotate - ctx.translate(canvasOffsetLeft * ratio, canvasOffsetTop * ratio); - ctx.rotate(Math.PI / 180 * Number(rotate)); - var markWidth = width * ratio; - var markHeight = height * ratio; - var writeContent = function writeContent(contentText) { - var offsetTop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; - var markSize = Number(fontSize) * ratio; - ctx.font = "".concat(fontStyle, " normal ").concat(fontWeight, " ").concat(markSize, "px/").concat(markHeight, "px ").concat(fontFamily); - ctx.fillStyle = fontColor; - if (Array.isArray(contentText)) { - contentText === null || contentText === void 0 || contentText.forEach(function (item, index) { - return ctx.fillText(item, 0, index * markSize + offsetTop); - }); - } else { - ctx.fillText(contentText, 0, offsetTop ? offsetTop + markSize : 0); - } - setBase64Url(canvas.toDataURL()); - }; - if (image) { - var img = new Image(); - img.crossOrigin = 'anonymous'; - img.referrerPolicy = 'no-referrer'; - img.src = image; - img.onload = function () { - ctx.drawImage(img, 0, 0, markWidth, markHeight); - setBase64Url(canvas.toDataURL()); - if (props.content) { - writeContent(props.content, img.height + 8); - return; - } - }; - return; - } - if (props.content) { - writeContent(props.content); - return; - } - }, [gapX, gapY, offsetLeft, outOffsetTop, rotate, fontStyle, fontWeight, width, height, fontFamily, fontColor, image, props.content, fontSize]); - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: (0,objectSpread2/* default */.Z)({ - position: 'relative' - }, style), - className: wrapperCls, - children: [children, /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: waterMarkCls, - style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - zIndex: zIndex, - position: 'absolute', - left: 0, - top: 0, - width: '100%', - height: '100%', - backgroundSize: "".concat(gapX + width, "px"), - pointerEvents: 'none', - backgroundRepeat: 'repeat' - }, base64Url ? { - backgroundImage: "url('".concat(base64Url, "')") - } : {}), markStyle) - })] - }); -}; -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageContainer/style/index.js - - - - -var _map = [576, 768, 992, 1200].map(function (bp) { - return "@media (max-width: ".concat(bp, "px)"); - }), - _map2 = (0,slicedToArray/* default */.Z)(_map, 4), - sm = _map2[0], - md = _map2[1], - lg = _map2[2], - xl = _map2[3]; -var genPageContainerStyle = function genPageContainerStyle(token) { - var _token$layout, _token$layout2, _token$layout3, _token$layout4, _token$layout$pageCon, _token$layout5, _token$layout$pageCon2, _token$layout6, _token$layout7, _token$layout8, _token$layout$pageCon3, _token$layout9, _token$layout$pageCon4, _token$layout10, _token$layout$pageCon5, _token$layout11, _token$layout$pageCon6, _token$layout12; - return (0,defineProperty/* default */.Z)({}, token.componentCls, (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ - position: 'relative', - '&-children-container': { - paddingBlockStart: 0, - paddingBlockEnd: (_token$layout = token.layout) === null || _token$layout === void 0 || (_token$layout = _token$layout.pageContainer) === null || _token$layout === void 0 ? void 0 : _token$layout.paddingBlockPageContainerContent, - paddingInline: (_token$layout2 = token.layout) === null || _token$layout2 === void 0 || (_token$layout2 = _token$layout2.pageContainer) === null || _token$layout2 === void 0 ? void 0 : _token$layout2.paddingInlinePageContainerContent - }, - '&-children-container-no-header': { - paddingBlockStart: (_token$layout3 = token.layout) === null || _token$layout3 === void 0 || (_token$layout3 = _token$layout3.pageContainer) === null || _token$layout3 === void 0 ? void 0 : _token$layout3.paddingBlockPageContainerContent - }, - '&-affix': (0,defineProperty/* default */.Z)({}, "".concat(token.antCls, "-affix"), (0,defineProperty/* default */.Z)({}, "".concat(token.componentCls, "-warp"), { - backgroundColor: (_token$layout4 = token.layout) === null || _token$layout4 === void 0 || (_token$layout4 = _token$layout4.pageContainer) === null || _token$layout4 === void 0 ? void 0 : _token$layout4.colorBgPageContainerFixed, - transition: 'background-color 0.3s', - boxShadow: '0 2px 8px #f0f1f2' - })) - }, '& &-warp-page-header', (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ - paddingBlockStart: ((_token$layout$pageCon = (_token$layout5 = token.layout) === null || _token$layout5 === void 0 || (_token$layout5 = _token$layout5.pageContainer) === null || _token$layout5 === void 0 ? void 0 : _token$layout5.paddingBlockPageContainerContent) !== null && _token$layout$pageCon !== void 0 ? _token$layout$pageCon : 40) / 4, - paddingBlockEnd: ((_token$layout$pageCon2 = (_token$layout6 = token.layout) === null || _token$layout6 === void 0 || (_token$layout6 = _token$layout6.pageContainer) === null || _token$layout6 === void 0 ? void 0 : _token$layout6.paddingBlockPageContainerContent) !== null && _token$layout$pageCon2 !== void 0 ? _token$layout$pageCon2 : 40) / 2, - paddingInlineStart: (_token$layout7 = token.layout) === null || _token$layout7 === void 0 || (_token$layout7 = _token$layout7.pageContainer) === null || _token$layout7 === void 0 ? void 0 : _token$layout7.paddingInlinePageContainerContent, - paddingInlineEnd: (_token$layout8 = token.layout) === null || _token$layout8 === void 0 || (_token$layout8 = _token$layout8.pageContainer) === null || _token$layout8 === void 0 ? void 0 : _token$layout8.paddingInlinePageContainerContent - }, "& ~ ".concat(token.proComponentsCls, "-grid-content"), (0,defineProperty/* default */.Z)({}, "".concat(token.proComponentsCls, "-page-container-children-content"), { - paddingBlock: ((_token$layout$pageCon3 = (_token$layout9 = token.layout) === null || _token$layout9 === void 0 || (_token$layout9 = _token$layout9.pageContainer) === null || _token$layout9 === void 0 ? void 0 : _token$layout9.paddingBlockPageContainerContent) !== null && _token$layout$pageCon3 !== void 0 ? _token$layout$pageCon3 : 24) / 3 - })), "".concat(token.antCls, "-page-header-breadcrumb"), { - paddingBlockStart: ((_token$layout$pageCon4 = (_token$layout10 = token.layout) === null || _token$layout10 === void 0 || (_token$layout10 = _token$layout10.pageContainer) === null || _token$layout10 === void 0 ? void 0 : _token$layout10.paddingBlockPageContainerContent) !== null && _token$layout$pageCon4 !== void 0 ? _token$layout$pageCon4 : 40) / 4 + 10 - }), "".concat(token.antCls, "-page-header-heading"), { - paddingBlockStart: ((_token$layout$pageCon5 = (_token$layout11 = token.layout) === null || _token$layout11 === void 0 || (_token$layout11 = _token$layout11.pageContainer) === null || _token$layout11 === void 0 ? void 0 : _token$layout11.paddingBlockPageContainerContent) !== null && _token$layout$pageCon5 !== void 0 ? _token$layout$pageCon5 : 40) / 4 - }), "".concat(token.antCls, "-page-header-footer"), { - marginBlockStart: ((_token$layout$pageCon6 = (_token$layout12 = token.layout) === null || _token$layout12 === void 0 || (_token$layout12 = _token$layout12.pageContainer) === null || _token$layout12 === void 0 ? void 0 : _token$layout12.paddingBlockPageContainerContent) !== null && _token$layout$pageCon6 !== void 0 ? _token$layout$pageCon6 : 40) / 4 - })), '&-detail', (0,defineProperty/* default */.Z)({ - display: 'flex' - }, sm, { - display: 'block' - })), '&-main', { - width: '100%' - }), '&-row', (0,defineProperty/* default */.Z)({ - display: 'flex', - width: '100%' - }, md, { - display: 'block' - })), '&-content', { - flex: 'auto', - width: '100%' - }), '&-extraContent', (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({ - flex: '0 1 auto', - minWidth: '242px', - marginInlineStart: 88, - textAlign: 'end' - }, xl, { - marginInlineStart: 44 - }), lg, { - marginInlineStart: 20 - }), md, { - marginInlineStart: 0, - textAlign: 'start' - }), sm, { - marginInlineStart: 0 - }))); -}; -function PageContainer_style_useStyle(prefixCls, componentsToken) { - return (0,useStyle/* useStyle */.Xj)('ProLayoutPageContainer', function (token) { - var _token$layout13; - var proCardToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { - componentCls: ".".concat(prefixCls), - layout: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token === null || token === void 0 ? void 0 : token.layout), {}, { - pageContainer: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token === null || token === void 0 || (_token$layout13 = token.layout) === null || _token$layout13 === void 0 ? void 0 : _token$layout13.pageContainer), componentsToken) - }) - }); - return [genPageContainerStyle(proCardToken)]; - }); -} -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageContainer/style/stylish.js - - - -function useStylish(prefixCls, _ref) { - var stylish = _ref.stylish; - return (0,useStyle/* useStyle */.Xj)('ProLayoutPageContainerStylish', function (token) { - var stylishToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, token), {}, { - componentCls: ".".concat(prefixCls) - }); - if (!stylish) return []; - return [(0,defineProperty/* default */.Z)({}, "div".concat(stylishToken.componentCls), stylish === null || stylish === void 0 ? void 0 : stylish(stylishToken))]; - }); -} -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/compareVersions/index.js -var compareVersions = __webpack_require__(50060); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/components/PageContainer/index.js - - - - -var PageContainer_excluded = ["title", "content", "pageHeaderRender", "header", "prefixedClassName", "extraContent", "childrenContentStyle", "style", "prefixCls", "hashId", "value", "breadcrumbRender"], - _excluded2 = ["children", "loading", "className", "style", "footer", "affixProps", "token", "fixedHeader", "breadcrumbRender", "footerToolBarProps", "childrenContentStyle"]; - - - - - - - - - - - - - - - - - -function genLoading(spinProps) { - if ((0,esm_typeof/* default */.Z)(spinProps) === 'object') { - return spinProps; - } - return { - spinning: spinProps - }; -} - -/** - * Render Footer tabList In order to be compatible with the old version of the PageHeader basically - * all the functions are implemented. - */ -var PageContainer_renderFooter = function renderFooter(_ref) { - var tabList = _ref.tabList, - tabActiveKey = _ref.tabActiveKey, - onTabChange = _ref.onTabChange, - hashId = _ref.hashId, - tabBarExtraContent = _ref.tabBarExtraContent, - tabProps = _ref.tabProps, - prefixedClassName = _ref.prefixedClassName; - if (Array.isArray(tabList) || tabBarExtraContent) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - className: "".concat(prefixedClassName, "-tabs ").concat(hashId).trim(), - activeKey: tabActiveKey, - onChange: function onChange(key) { - if (onTabChange) { - onTabChange(key); - } - }, - tabBarExtraContent: tabBarExtraContent, - items: tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item, index) { - var _item$key; - return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - label: item.tab - }, item), {}, { - key: ((_item$key = item.key) === null || _item$key === void 0 ? void 0 : _item$key.toString()) || (index === null || index === void 0 ? void 0 : index.toString()) - }); - }) - }, tabProps), {}, { - children: (0,compareVersions/* compareVersions */.n)(version/* default */.Z, '4.23.0') < 0 ? tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z.TabPane, (0,objectSpread2/* default */.Z)({ - tab: item.tab - }, item), item.key || index); - }) : null - })); - } - return null; -}; -var renderPageHeader = function renderPageHeader(content, extraContent, prefixedClassName, hashId) { - if (!content && !extraContent) { - return null; - } - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(prefixedClassName, "-detail ").concat(hashId).trim(), - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(prefixedClassName, "-main ").concat(hashId).trim(), - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "".concat(prefixedClassName, "-row ").concat(hashId).trim(), - children: [content && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(prefixedClassName, "-content ").concat(hashId).trim(), - children: content - }), extraContent && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(prefixedClassName, "-extraContent ").concat(hashId).trim(), - children: extraContent - })] - }) - }) - }); -}; - -/** - * 配置与面包屑相同,只是增加了自动根据路由计算面包屑的功能。此功能必须要在 ProLayout 中使用。 - * - * @param props - * @returns - */ -var ProBreadcrumb = function ProBreadcrumb(props) { - var value = useContext(RouteContext); - return /*#__PURE__*/_jsx("div", { - style: { - height: '100%', - display: 'flex', - alignItems: 'center' - }, - children: /*#__PURE__*/_jsx(Breadcrumb, _objectSpread(_objectSpread(_objectSpread({}, value === null || value === void 0 ? void 0 : value.breadcrumb), value === null || value === void 0 ? void 0 : value.breadcrumbProps), props)) - }); -}; -var memoRenderPageHeader = function memoRenderPageHeader(props) { - var _breadcrumb$items; - var title = props.title, - content = props.content, - pageHeaderRender = props.pageHeaderRender, - header = props.header, - prefixedClassName = props.prefixedClassName, - extraContent = props.extraContent, - childrenContentStyle = props.childrenContentStyle, - style = props.style, - prefixCls = props.prefixCls, - hashId = props.hashId, - value = props.value, - breadcrumbRender = props.breadcrumbRender, - restProps = (0,objectWithoutProperties/* default */.Z)(props, PageContainer_excluded); - var getBreadcrumbRender = function getBreadcrumbRender() { - if (!breadcrumbRender) { - return undefined; - } - return breadcrumbRender; - }; - if (pageHeaderRender === false) { - return null; - } - if (pageHeaderRender) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [" ", pageHeaderRender((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), value))] - }); - } - var pageHeaderTitle = title; - if (!title && title !== false) { - pageHeaderTitle = value.title; - } - var pageHeaderProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, value), {}, { - title: pageHeaderTitle - }, restProps), {}, { - footer: PageContainer_renderFooter((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, restProps), {}, { - hashId: hashId, - breadcrumbRender: breadcrumbRender, - prefixedClassName: prefixedClassName - })) - }, header); - var _ref2 = pageHeaderProps, - breadcrumb = _ref2.breadcrumb; - var noHasBreadCrumb = (!breadcrumb || !(breadcrumb !== null && breadcrumb !== void 0 && breadcrumb.itemRender) && !(breadcrumb !== null && breadcrumb !== void 0 && (_breadcrumb$items = breadcrumb.items) !== null && _breadcrumb$items !== void 0 && _breadcrumb$items.length)) && !breadcrumbRender; - if (['title', 'subTitle', 'extra', 'tags', 'footer', 'avatar', 'backIcon'].every(function (item) { - return !pageHeaderProps[item]; - }) && noHasBreadCrumb && !content && !extraContent) { - return null; - } - return /*#__PURE__*/(0,jsx_runtime.jsx)(PageHeader, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, pageHeaderProps), {}, { - className: "".concat(prefixedClassName, "-warp-page-header ").concat(hashId).trim(), - breadcrumb: breadcrumbRender === false ? undefined : (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, pageHeaderProps.breadcrumb), value.breadcrumbProps), - breadcrumbRender: getBreadcrumbRender(), - prefixCls: prefixCls, - children: (header === null || header === void 0 ? void 0 : header.children) || renderPageHeader(content, extraContent, prefixedClassName, hashId) - })); -}; -var PageContainerBase = function PageContainerBase(props) { - var _restProps$header2, _token$layout; - var children = props.children, - _props$loading = props.loading, - loading = _props$loading === void 0 ? false : _props$loading, - className = props.className, - style = props.style, - footer = props.footer, - affixProps = props.affixProps, - propsToken = props.token, - fixedHeader = props.fixedHeader, - breadcrumbRender = props.breadcrumbRender, - footerToolBarProps = props.footerToolBarProps, - childrenContentStyle = props.childrenContentStyle, - restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded2); - var value = (0,_react_17_0_2_react.useContext)(context_RouteContext/* RouteContext */.X); - /** 告诉 props 是否存在 footerBar */ - (0,_react_17_0_2_react.useEffect)(function () { - var _value$setHasPageCont; - if (!value || !(value !== null && value !== void 0 && value.setHasPageContainer)) { - return function () {}; - } - value === null || value === void 0 || (_value$setHasPageCont = value.setHasPageContainer) === null || _value$setHasPageCont === void 0 || _value$setHasPageCont.call(value, function (num) { - return num + 1; - }); - return function () { - var _value$setHasPageCont2; - value === null || value === void 0 || (_value$setHasPageCont2 = value.setHasPageContainer) === null || _value$setHasPageCont2 === void 0 || _value$setHasPageCont2.call(value, function (num) { - return num - 1; - }); - }; - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - var _useContext = (0,_react_17_0_2_react.useContext)(es/* ProProvider */.L_), - token = _useContext.token; - var _useContext2 = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), - getPrefixCls = _useContext2.getPrefixCls; - var prefixCls = props.prefixCls || getPrefixCls('pro'); - var basePageContainer = "".concat(prefixCls, "-page-container"); - var _useStyle = PageContainer_style_useStyle(basePageContainer, propsToken), - wrapSSR = _useStyle.wrapSSR, - hashId = _useStyle.hashId; - var stylish = useStylish("".concat(basePageContainer, ".").concat(basePageContainer, "-stylish"), { - stylish: props.stylish - }); - var memoBreadcrumbRender = (0,_react_17_0_2_react.useMemo)(function () { - var _restProps$header; - if (breadcrumbRender == false) return false; - return breadcrumbRender || (restProps === null || restProps === void 0 || (_restProps$header = restProps.header) === null || _restProps$header === void 0 ? void 0 : _restProps$header.breadcrumbRender); - }, [breadcrumbRender, restProps === null || restProps === void 0 || (_restProps$header2 = restProps.header) === null || _restProps$header2 === void 0 ? void 0 : _restProps$header2.breadcrumbRender]); - var pageHeaderDom = memoRenderPageHeader((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, restProps), {}, { - breadcrumbRender: memoBreadcrumbRender, - ghost: true, - hashId: hashId, - prefixCls: undefined, - prefixedClassName: basePageContainer, - value: value - })); - var loadingDom = (0,_react_17_0_2_react.useMemo)(function () { - // 当loading时一个合法的ReactNode时,说明用户使用了自定义loading,直接返回改自定义loading - if ( /*#__PURE__*/_react_17_0_2_react.isValidElement(loading)) { - return loading; - } - // 当传递过来的是布尔值,并且为false时,说明不需要显示loading,返回null - if (typeof loading === 'boolean' && !loading) { - return null; - } - // 如非上述两种情况,那么要么用户传了一个true,要么用户传了loading配置,使用genLoading生成loading配置后返回PageLoading - var spinProps = genLoading(loading); - // 如果传的是loading配置,但spinning传的是false,也不需要显示loading - return spinProps.spinning ? /*#__PURE__*/(0,jsx_runtime.jsx)(PageLoading, (0,objectSpread2/* default */.Z)({}, spinProps)) : null; - }, [loading]); - var content = (0,_react_17_0_2_react.useMemo)(function () { - return children ? /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: _classnames_2_5_1_classnames_default()(hashId, "".concat(basePageContainer, "-children-container"), (0,defineProperty/* default */.Z)({}, "".concat(basePageContainer, "-children-container-no-header"), !pageHeaderDom)), - style: childrenContentStyle, - children: children - }) - }) : null; - }, [children, basePageContainer, childrenContentStyle, hashId]); - var renderContentDom = (0,_react_17_0_2_react.useMemo)(function () { - // 只要loadingDom非空我们就渲染loadingDom,否则渲染内容 - var dom = loadingDom || content; - if (props.waterMarkProps || value.waterMarkProps) { - var waterMarkProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, value.waterMarkProps), props.waterMarkProps); - return /*#__PURE__*/(0,jsx_runtime.jsx)(WaterMark, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, waterMarkProps), {}, { - children: dom - })); - } - return dom; - }, [props.waterMarkProps, value.waterMarkProps, loadingDom, content]); - var containerClassName = _classnames_2_5_1_classnames_default()(basePageContainer, hashId, className, (0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)((0,defineProperty/* default */.Z)({}, "".concat(basePageContainer, "-with-footer"), footer), "".concat(basePageContainer, "-with-affix"), fixedHeader && pageHeaderDom), "".concat(basePageContainer, "-stylish"), !!restProps.stylish)); - return wrapSSR(stylish.wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: style, - className: containerClassName, - children: [fixedHeader && pageHeaderDom ? - /*#__PURE__*/ - // 在 hasHeader 且 fixedHeader 的情况下,才需要设置高度 - (0,jsx_runtime.jsx)(affix/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - offsetTop: value.hasHeader && value.fixedHeader ? (_token$layout = token.layout) === null || _token$layout === void 0 || (_token$layout = _token$layout.header) === null || _token$layout === void 0 ? void 0 : _token$layout.heightLayoutHeader : 1 - }, affixProps), {}, { - className: "".concat(basePageContainer, "-affix ").concat(hashId).trim(), - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "".concat(basePageContainer, "-warp ").concat(hashId).trim(), - children: pageHeaderDom - }) - })) : pageHeaderDom, renderContentDom && /*#__PURE__*/(0,jsx_runtime.jsx)(GridContent, { - children: renderContentDom - })] - }), footer && /*#__PURE__*/(0,jsx_runtime.jsx)(FooterToolbar/* FooterToolbar */.S, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ - stylish: restProps.footerStylish, - prefixCls: prefixCls - }, footerToolBarProps), {}, { - children: footer - }))] - }))); -}; -var PageContainer = function PageContainer(props) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es/* ProConfigProvider */._Y, { - needDeps: true, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(PageContainerBase, (0,objectSpread2/* default */.Z)({}, props)) - }); -}; -var ProPageHeader = function ProPageHeader(props) { - var value = useContext(RouteContext); - return memoRenderPageHeader(_objectSpread(_objectSpread({}, props), {}, { - hashId: '', - value: value - })); -}; - - -/***/ }), - -/***/ 74039: -/*!*******************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_pro-layout@7.22.1@@ant-design/pro-layout/es/context/RouteContext.js ***! - \*******************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ X: function() { return /* binding */ RouteContext; } -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); - -var RouteContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({}); - -/***/ }), - -/***/ 23108: -/*!************************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/components/FieldLabel/index.js + 1 modules ***! - \************************************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Q: function() { return /* binding */ FieldLabel; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(78772); -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules -var CloseCircleFilled = __webpack_require__(37637); -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/DownOutlined.js + 1 modules -var DownOutlined = __webpack_require__(76995); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/index.js + 2 modules -var es = __webpack_require__(57965); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules -var config_provider = __webpack_require__(92736); -// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js -var _classnames_2_5_1_classnames = __webpack_require__(92310); -var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(35227); -// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/useStyle/index.js -var useStyle = __webpack_require__(77989); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/components/FieldLabel/style.js +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.3@@ant-design/pro-utils/es/components/FieldLabel/style.js @@ -15897,25 +13877,6 @@ const getRenderPropValue = propValue => { /***/ }), -/***/ 56762: -/*!************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/_util/hooks/useForceUpdate.js ***! - \************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ useForceUpdate; } -/* harmony export */ }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); - -function useForceUpdate() { - const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0); - return forceUpdate; -} - -/***/ }), - /***/ 26743: /*!**********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/avatar/index.js + 4 modules ***! @@ -16610,43 +14571,6 @@ if (false) {} /***/ }), -/***/ 8628: -/*!**********************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/grid/hooks/useBreakpoint.js ***! - \**********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/hooks/useLayoutEffect */ 28800); -/* harmony import */ var _util_hooks_useForceUpdate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_util/hooks/useForceUpdate */ 56762); -/* harmony import */ var _util_responsiveObserver__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_util/responsiveObserver */ 69507); -"use client"; - - - - - -function useBreakpoint() { - let refreshOnChange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; - const screensRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({}); - const forceUpdate = (0,_util_hooks_useForceUpdate__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(); - const responsiveObserver = (0,_util_responsiveObserver__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)(); - (0,rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(() => { - const token = responsiveObserver.subscribe(supportScreens => { - screensRef.current = supportScreens; - if (refreshOnChange) { - forceUpdate(); - } - }); - return () => responsiveObserver.unsubscribe(token); - }, []); - return screensRef.current; -} -/* harmony default export */ __webpack_exports__.Z = (useBreakpoint); - -/***/ }), - /***/ 39722: /*!***************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/popover/PurePanel.js ***! diff --git a/index.html b/index.html index bcf87cb02c..e8f129f73e 100644 --- a/index.html +++ b/index.html @@ -27,7 +27,7 @@ display: block !important; } - +