"use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([[66610],{ /***/ 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; /***/ }), /***/ 60559: /*!**************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.6.1@@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 */ 13905)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } const _default = _ArrowLeftOutlined; exports["default"] = _default; module.exports = _default; /***/ }), /***/ 50730: /*!***************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.6.1@@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 */ 27273)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } const _default = _ArrowRightOutlined; exports["default"] = _default; module.exports = _default; /***/ }), /***/ 13905: /*!************************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/lib/icons/ArrowLeftOutlined.js ***! \************************************************************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { var _interopRequireWildcard = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireWildcard */ 52627)["default"]); var _interopRequireDefault = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 21884)["default"]); Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ 30770)); 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 */ 23855)); // 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 })); }; /**![arrow-left](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg3MiA0NzRIMjg2LjlsMzUwLjItMzA0YzUuNi00LjkgMi4yLTE0LTUuMi0xNGgtODguNWMtMy45IDAtNy42IDEuNC0xMC41IDMuOUwxNTUgNDg3LjhhMzEuOTYgMzEuOTYgMCAwMDAgNDguM0w1MzUuMSA4NjZjMS41IDEuMyAzLjMgMiA1LjIgMmg5MS41YzcuNCAwIDEwLjgtOS4yIDUuMi0xNEwyODYuOSA1NTBIODcyYzQuNCAwIDgtMy42IDgtOHYtNjBjMC00LjQtMy42LTgtOC04eiIgLz48L3N2Zz4=) */ var RefIcon = /*#__PURE__*/React.forwardRef(ArrowLeftOutlined); if (false) {} var _default = exports["default"] = RefIcon; /***/ }), /***/ 27273: /*!*************************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/lib/icons/ArrowRightOutlined.js ***! \*************************************************************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { var _interopRequireWildcard = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireWildcard */ 52627)["default"]); var _interopRequireDefault = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 21884)["default"]); Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ 30770)); 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 */ 23855)); // 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 })); }; /**![arrow-right](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg2OSA0ODcuOEw0OTEuMiAxNTkuOWMtMi45LTIuNS02LjYtMy45LTEwLjUtMy45aC04OC41Yy03LjQgMC0xMC44IDkuMi01LjIgMTRsMzUwLjIgMzA0SDE1MmMtNC40IDAtOCAzLjYtOCA4djYwYzAgNC40IDMuNiA4IDggOGg1ODUuMUwzODYuOSA4NTRjLTUuNiA0LjktMi4yIDE0IDUuMiAxNGg5MS41YzEuOSAwIDMuOC0uNyA1LjItMkw4NjkgNTM2LjJhMzIuMDcgMzIuMDcgMCAwMDAtNDguNHoiIC8+PC9zdmc+) */ var RefIcon = /*#__PURE__*/React.forwardRef(ArrowRightOutlined); if (false) {} var _default = exports["default"] = RefIcon; /***/ }), /***/ 91041: /*!********************************************************************************************************!*\ !*** ./node_modules/_@ant-design_pro-form@2.32.0@@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 */ 85899); /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 42244); /* harmony import */ var _ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/pro-utils */ 38953); /* 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 */ 43258); /* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Field */ 69714); /* 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); /***/ }), /***/ 12742: /*!**********************************************************************************************************************!*\ !*** ./node_modules/_@ant-design_pro-form@2.32.0@@ant-design/pro-form/es/components/DatePicker/index.js + 5 modules ***! \**********************************************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ components_DatePicker; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread2.js var objectSpread2 = __webpack_require__(85899); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(42244); // 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.32.0@@ant-design/pro-form/es/FieldContext.js var FieldContext = __webpack_require__(13582); // EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.32.0@@ant-design/pro-form/es/components/Field/index.js + 117 modules var Field = __webpack_require__(69714); // 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.32.0@@ant-design/pro-form/es/components/DatePicker/DatePicker.js var _excluded = ["proFieldProps", "fieldProps"]; var valueType = 'date'; /** * 日期选择组件 * * @param */ var ProFormDatePicker = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) { var proFieldProps = _ref.proFieldProps, fieldProps = _ref.fieldProps, rest = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded); var context = (0,_react_17_0_2_react.useContext)(FieldContext/* default */.Z); return /*#__PURE__*/(0,jsx_runtime.jsx)(Field/* default */.Z, (0,objectSpread2/* default */.Z)({ ref: ref, valueType: valueType, fieldProps: (0,objectSpread2/* default */.Z)({ getPopupContainer: context.getPopupContainer }, fieldProps), proFieldProps: proFieldProps, filedConfig: { valueType: valueType, customLightMode: true } }, rest)); }); /* harmony default export */ var DatePicker = (ProFormDatePicker); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.32.0@@ant-design/pro-form/es/components/DatePicker/MonthPicker.js var MonthPicker_excluded = ["proFieldProps", "fieldProps"]; var MonthPicker_valueType = 'dateMonth'; /** * 周选择组件 * * @param */ var ProFormDatePickerMonth = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) { var proFieldProps = _ref.proFieldProps, fieldProps = _ref.fieldProps, rest = (0,objectWithoutProperties/* default */.Z)(_ref, MonthPicker_excluded); var context = (0,_react_17_0_2_react.useContext)(FieldContext/* default */.Z); return /*#__PURE__*/(0,jsx_runtime.jsx)(Field/* default */.Z, (0,objectSpread2/* default */.Z)({ ref: ref, valueType: MonthPicker_valueType, fieldProps: (0,objectSpread2/* default */.Z)({ getPopupContainer: context.getPopupContainer }, fieldProps), proFieldProps: proFieldProps, filedConfig: { valueType: MonthPicker_valueType, customLightMode: true } }, rest)); }); /* harmony default export */ var MonthPicker = (ProFormDatePickerMonth); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.32.0@@ant-design/pro-form/es/components/DatePicker/QuarterPicker.js var QuarterPicker_excluded = ["fieldProps"]; var QuarterPicker_valueType = 'dateQuarter'; /** * 周选择组件 * * @param */ var ProFormDatePickerQuarter = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) { var fieldProps = _ref.fieldProps, rest = (0,objectWithoutProperties/* default */.Z)(_ref, QuarterPicker_excluded); var context = (0,_react_17_0_2_react.useContext)(FieldContext/* default */.Z); return /*#__PURE__*/(0,jsx_runtime.jsx)(Field/* default */.Z, (0,objectSpread2/* default */.Z)({ ref: ref, valueType: QuarterPicker_valueType, fieldProps: (0,objectSpread2/* default */.Z)({ getPopupContainer: context.getPopupContainer }, fieldProps), filedConfig: { valueType: QuarterPicker_valueType, customLightMode: true } }, rest)); }); /* harmony default export */ var QuarterPicker = (ProFormDatePickerQuarter); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.32.0@@ant-design/pro-form/es/components/DatePicker/WeekPicker.js var WeekPicker_excluded = ["proFieldProps", "fieldProps"]; var WeekPicker_valueType = 'dateWeek'; /** * 周选择组件 * * @param */ var ProFormDatePickerWeek = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) { var proFieldProps = _ref.proFieldProps, fieldProps = _ref.fieldProps, rest = (0,objectWithoutProperties/* default */.Z)(_ref, WeekPicker_excluded); var context = (0,_react_17_0_2_react.useContext)(FieldContext/* default */.Z); return /*#__PURE__*/(0,jsx_runtime.jsx)(Field/* default */.Z, (0,objectSpread2/* default */.Z)({ ref: ref, valueType: WeekPicker_valueType, fieldProps: (0,objectSpread2/* default */.Z)({ getPopupContainer: context.getPopupContainer }, fieldProps), proFieldProps: proFieldProps, filedConfig: { valueType: WeekPicker_valueType, customLightMode: true } }, rest)); }); /* harmony default export */ var WeekPicker = (ProFormDatePickerWeek); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.32.0@@ant-design/pro-form/es/components/DatePicker/YearPicker.js var YearPicker_excluded = ["proFieldProps", "fieldProps"]; var YearPicker_valueType = 'dateYear'; /** * 周选择组件 * * @param */ var ProFormDatePickerYear = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) { var proFieldProps = _ref.proFieldProps, fieldProps = _ref.fieldProps, rest = (0,objectWithoutProperties/* default */.Z)(_ref, YearPicker_excluded); var context = (0,_react_17_0_2_react.useContext)(FieldContext/* default */.Z); return /*#__PURE__*/(0,jsx_runtime.jsx)(Field/* default */.Z, (0,objectSpread2/* default */.Z)({ ref: ref, valueType: YearPicker_valueType, fieldProps: (0,objectSpread2/* default */.Z)({ getPopupContainer: context.getPopupContainer }, fieldProps), proFieldProps: proFieldProps, filedConfig: { valueType: YearPicker_valueType, customLightMode: true } }, rest)); }); /* harmony default export */ var YearPicker = (ProFormDatePickerYear); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.32.0@@ant-design/pro-form/es/components/DatePicker/index.js var ExportComponent = DatePicker; ExportComponent.Week = WeekPicker; ExportComponent.Month = MonthPicker; ExportComponent.Quarter = QuarterPicker; ExportComponent.Year = YearPicker; // @ts-ignore // eslint-disable-next-line no-param-reassign ExportComponent.displayName = 'ProFormComponent'; /* harmony default export */ var components_DatePicker = (ExportComponent); /***/ }), /***/ 42429: /*!*****************************************************************************************************!*\ !*** ./node_modules/_@ant-design_pro-form@2.32.0@@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 */ 85899); /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 42244); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Field */ 69714); /* 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); /***/ }), /***/ 30115: /*!*****************************************************************************************************!*\ !*** ./node_modules/_@ant-design_pro-form@2.32.0@@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 */ 85899); /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 42244); /* harmony import */ var _ant_design_pro_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/pro-utils */ 38953); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd */ 69140); /* 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 */ 43258); /* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Field */ 69714); /* 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); /***/ }), /***/ 12331: /*!****************************************************************************************************************!*\ !*** ./node_modules/_@ant-design_pro-form@2.32.0@@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.28.6@@babel/runtime/helpers/esm/objectSpread2.js var objectSpread2 = __webpack_require__(85899); // 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.32.0@@ant-design/pro-form/es/BaseForm/BaseForm.js + 101 modules var BaseForm = __webpack_require__(98682); // EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.32.0@@ant-design/pro-form/es/BaseForm/EditOrReadOnlyContext.js var EditOrReadOnlyContext = __webpack_require__(76705); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/defineProperty.js var defineProperty = __webpack_require__(18642); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(72190); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/RightOutlined.js + 1 modules var RightOutlined = __webpack_require__(38819); // EXTERNAL MODULE: ./node_modules/_rc-util@5.44.4@rc-util/es/hooks/useMergedState.js var useMergedState = __webpack_require__(18929); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(60499); ;// 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.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules var AntdIcon = __webpack_require__(7657); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.1@@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 })); }; /**![info-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0wIDgyMGMtMjA1LjQgMC0zNzItMTY2LjYtMzcyLTM3MnMxNjYuNi0zNzIgMzcyLTM3MiAzNzIgMTY2LjYgMzcyIDM3Mi0xNjYuNiAzNzItMzcyIDM3MnoiIC8+PHBhdGggZD0iTTQ2NCAzMzZhNDggNDggMCAxMDk2IDAgNDggNDggMCAxMC05NiAwem03MiAxMTJoLTQ4Yy00LjQgMC04IDMuNi04IDh2MjcyYzAgNC40IDMuNiA4IDggOGg0OGM0LjQgMCA4LTMuNiA4LThWNDU2YzAtNC40LTMuNi04LTgtOHoiIC8+PC9zdmc+) */ 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.16.2@@ant-design/pro-provider/es/useStyle/index.js var useStyle = __webpack_require__(3389); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.18.0@@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.18.0@@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.32.0@@ant-design/pro-form/es/FieldContext.js var FieldContext = __webpack_require__(13582); // EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.32.0@@ant-design/pro-form/es/helpers/grid.js var grid = __webpack_require__(55791); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.32.0@@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.32.0@@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.32.0@@ant-design/pro-form/es/components/FormItem/index.js + 8 modules var FormItem = __webpack_require__(62993); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.32.0@@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; /***/ }), /***/ 15935: /*!*****************************************************************************************************************************!*\ !*** ./node_modules/_@ant-design_pro-layout@7.22.7@@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.28.6@@babel/runtime/helpers/esm/objectSpread2.js var objectSpread2 = __webpack_require__(85899); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/defineProperty.js var defineProperty = __webpack_require__(18642); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(42244); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.18.0@@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.4@rc-util/es/omit.js var omit = __webpack_require__(2738); // 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.7@@ant-design/pro-layout/es/context/RouteContext.js var RouteContext = __webpack_require__(88491); // EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.16.2@@ant-design/pro-provider/es/useStyle/index.js var useStyle = __webpack_require__(3389); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.7@@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.7@@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.7@@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))); }; /***/ }), /***/ 35558: /*!*****************************************************************************************************************************!*\ !*** ./node_modules/_@ant-design_pro-layout@7.22.7@@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.28.6@@babel/runtime/helpers/esm/defineProperty.js var defineProperty = __webpack_require__(18642); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(42244); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/objectSpread2.js var objectSpread2 = __webpack_require__(85899); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/typeof.js var esm_typeof = __webpack_require__(43749); // EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.16.2@@ant-design/pro-provider/es/index.js + 2 modules var es = __webpack_require__(25696); // 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.7@@ant-design/pro-layout/es/context/RouteContext.js var context_RouteContext = __webpack_require__(88491); // EXTERNAL MODULE: ./node_modules/_@ant-design_pro-layout@7.22.7@@ant-design/pro-layout/es/components/FooterToolbar/index.js + 3 modules var FooterToolbar = __webpack_require__(15935); // EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.16.2@@ant-design/pro-provider/es/useStyle/index.js var useStyle = __webpack_require__(3389); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.7@@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.7@@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.28.6@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(72190); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/ArrowLeftOutlined.js var ArrowLeftOutlined = __webpack_require__(60559); var ArrowLeftOutlined_default = /*#__PURE__*/__webpack_require__.n(ArrowLeftOutlined); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/ArrowRightOutlined.js var ArrowRightOutlined = __webpack_require__(50730); 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.4@rc-util/es/warning.js var warning = __webpack_require__(48736); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.7@@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.7@@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.7@@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.7@@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.7@@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.7@@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.18.0@@ant-design/pro-utils/es/compareVersions/index.js var compareVersions = __webpack_require__(74024); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-layout@7.22.7@@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 })); }; /***/ }), /***/ 88491: /*!*******************************************************************************************************!*\ !*** ./node_modules/_@ant-design_pro-layout@7.22.7@@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 */ 77654); /* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 16089); 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.28.6@@babel/runtime/helpers/esm/classCallCheck.js var classCallCheck = __webpack_require__(38705); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createClass.js var createClass = __webpack_require__(17212); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/inherits.js var inherits = __webpack_require__(39153); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.28.6@@babel/runtime/helpers/esm/createSuper.js + 1 modules var createSuper = __webpack_require__(71518); // 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.4@rc-util/es/omit.js var omit = __webpack_require__(2738); // 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 */ 34280); /* 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); /***/ }), /***/ 81327: /*!*********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules ***! \*********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ space; } }); // UNUSED EXPORTS: SpaceContext // 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-util@5.44.4@rc-util/es/Children/toArray.js var toArray = __webpack_require__(11592); // 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/space/Compact.js var Compact = __webpack_require__(33234); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/context.js const SpaceContext = /*#__PURE__*/_react_17_0_2_react.createContext({ latestIndex: 0 }); const SpaceContextProvider = SpaceContext.Provider; ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Item.js "use client"; const Item = _ref => { let { className, index, children, split, style } = _ref; const { latestIndex } = _react_17_0_2_react.useContext(SpaceContext); if (children === null || children === undefined) { return null; } return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: className, style: style }, children), index < latestIndex && split && /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: `${className}-split` }, split)); }; /* harmony default export */ var space_Item = (Item); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/style/index.js + 1 modules var space_style = __webpack_require__(2856); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/utils.js function isPresetSize(size) { return ['small', 'middle', 'large'].includes(size); } function isValidGapNumber(size) { if (!size) { // The case of size = 0 is deliberately excluded here, because the default value of the gap attribute in CSS is 0, so if the user passes 0 in, we can directly ignore it. return false; } return typeof size === 'number' && !Number.isNaN(size); } ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js "use client"; var __rest = undefined && undefined.__rest || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; }; const Space = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { var _a, _b; const { getPrefixCls, space, direction: directionConfig } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const { size = (space === null || space === void 0 ? void 0 : space.size) || 'small', align, className, rootClassName, children, direction = 'horizontal', prefixCls: customizePrefixCls, split, style, wrap = false, classNames: customClassNames, styles } = props, otherProps = __rest(props, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]); const [horizontalSize, verticalSize] = Array.isArray(size) ? size : [size, size]; const isPresetVerticalSize = isPresetSize(verticalSize); const isPresetHorizontalSize = isPresetSize(horizontalSize); const isValidVerticalSize = isValidGapNumber(verticalSize); const isValidHorizontalSize = isValidGapNumber(horizontalSize); const childNodes = (0,toArray/* default */.Z)(children, { keepEmpty: true }); const mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align; const prefixCls = getPrefixCls('space', customizePrefixCls); const [wrapSSR, hashId] = (0,space_style/* default */.Z)(prefixCls); const cls = _classnames_2_5_1_classnames_default()(prefixCls, space === null || space === void 0 ? void 0 : space.className, hashId, `${prefixCls}-${direction}`, { [`${prefixCls}-rtl`]: directionConfig === 'rtl', [`${prefixCls}-align-${mergedAlign}`]: mergedAlign, [`${prefixCls}-gap-row-${verticalSize}`]: isPresetVerticalSize, [`${prefixCls}-gap-col-${horizontalSize}`]: isPresetHorizontalSize }, className, rootClassName); const itemClassName = _classnames_2_5_1_classnames_default()(`${prefixCls}-item`, (_a = customClassNames === null || customClassNames === void 0 ? void 0 : customClassNames.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.classNames) === null || _b === void 0 ? void 0 : _b.item); // Calculate latest one let latestIndex = 0; const nodes = childNodes.map((child, i) => { var _a, _b; if (child !== null && child !== undefined) { latestIndex = i; } const key = child && child.key || `${itemClassName}-${i}`; return /*#__PURE__*/_react_17_0_2_react.createElement(space_Item, { className: itemClassName, key: key, index: i, split: split, style: (_a = styles === null || styles === void 0 ? void 0 : styles.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.styles) === null || _b === void 0 ? void 0 : _b.item }, child); }); const spaceContext = _react_17_0_2_react.useMemo(() => ({ latestIndex }), [latestIndex]); // =========================== Render =========================== if (childNodes.length === 0) { return null; } const gapStyle = {}; if (wrap) { gapStyle.flexWrap = 'wrap'; } if (!isPresetHorizontalSize && isValidHorizontalSize) { gapStyle.columnGap = horizontalSize; } if (!isPresetVerticalSize && isValidVerticalSize) { gapStyle.rowGap = verticalSize; } return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({ ref: ref, className: cls, style: Object.assign(Object.assign(Object.assign({}, gapStyle), space === null || space === void 0 ? void 0 : space.style), style) }, otherProps), /*#__PURE__*/_react_17_0_2_react.createElement(SpaceContextProvider, { value: spaceContext }, nodes))); }); if (false) {} const CompoundedSpace = Space; CompoundedSpace.Compact = Compact/* default */.ZP; /* harmony default export */ var space = (CompoundedSpace); /***/ }), /***/ 8224: /*!*************************************************************************!*\ !*** ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/addEventListener.js ***! \*************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: function() { return /* binding */ addEventListenerWrap; } /* harmony export */ }); /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-dom */ 4676); function addEventListenerWrap(target, eventType, cb, option) { /* eslint camelcase: 2 */ var callback = react_dom__WEBPACK_IMPORTED_MODULE_0__.unstable_batchedUpdates ? function run(e) { react_dom__WEBPACK_IMPORTED_MODULE_0__.unstable_batchedUpdates(cb, e); } : cb; if (target !== null && target !== void 0 && target.addEventListener) { target.addEventListener(eventType, callback, option); } return { remove: function remove() { if (target !== null && target !== void 0 && target.removeEventListener) { target.removeEventListener(eventType, callback, option); } } }; } /***/ }), /***/ 55468: /*!************************************************************!*\ !*** ./node_modules/_rc-util@5.44.4@rc-util/es/Dom/css.js ***! \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ g1: function() { return /* binding */ getClientSize; }, /* harmony export */ os: function() { return /* binding */ getOffset; } /* harmony export */ }); /* unused harmony exports get, set, getOuterWidth, getOuterHeight, getDocSize, getScroll */ /* eslint-disable no-nested-ternary */ var PIXEL_PATTERN = /margin|padding|width|height|max|min|offset/; var removePixel = { left: true, top: true }; var floatMap = { cssFloat: 1, styleFloat: 1, float: 1 }; function getComputedStyle(node) { return node.nodeType === 1 ? node.ownerDocument.defaultView.getComputedStyle(node, null) : {}; } function getStyleValue(node, type, value) { type = type.toLowerCase(); if (value === 'auto') { if (type === 'height') { return node.offsetHeight; } if (type === 'width') { return node.offsetWidth; } } if (!(type in removePixel)) { removePixel[type] = PIXEL_PATTERN.test(type); } return removePixel[type] ? parseFloat(value) || 0 : value; } function get(node, name) { var length = arguments.length; var style = getComputedStyle(node); name = floatMap[name] ? 'cssFloat' in node.style ? 'cssFloat' : 'styleFloat' : name; return length === 1 ? style : getStyleValue(node, name, style[name] || node.style[name]); } function set(node, name, value) { var length = arguments.length; name = floatMap[name] ? 'cssFloat' in node.style ? 'cssFloat' : 'styleFloat' : name; if (length === 3) { if (typeof value === 'number' && PIXEL_PATTERN.test(name)) { value = "".concat(value, "px"); } node.style[name] = value; // Number return value; } for (var x in name) { if (name.hasOwnProperty(x)) { set(node, x, name[x]); } } return getComputedStyle(node); } function getOuterWidth(el) { if (el === document.body) { return document.documentElement.clientWidth; } return el.offsetWidth; } function getOuterHeight(el) { if (el === document.body) { return window.innerHeight || document.documentElement.clientHeight; } return el.offsetHeight; } function getDocSize() { var width = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth); var height = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight); return { width: width, height: height }; } function getClientSize() { var width = document.documentElement.clientWidth; var height = window.innerHeight || document.documentElement.clientHeight; return { width: width, height: height }; } function getScroll() { return { scrollLeft: Math.max(document.documentElement.scrollLeft, document.body.scrollLeft), scrollTop: Math.max(document.documentElement.scrollTop, document.body.scrollTop) }; } function getOffset(node) { var box = node.getBoundingClientRect(); var docElem = document.documentElement; // < ie8 不支持 win.pageXOffset, 则使用 docElem.scrollLeft return { left: box.left + (window.pageXOffset || docElem.scrollLeft) - (docElem.clientLeft || document.body.clientLeft || 0), top: box.top + (window.pageYOffset || docElem.scrollTop) - (docElem.clientTop || document.body.clientTop || 0) }; } /***/ }) }]);