You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Classrooms__Lists__Engin...

1606 lines
76 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[46963],{
/***/ 82826:
/*!**********************************************************************************!*\
!*** ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + 1 modules ***!
\**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ icons_ArrowLeftOutlined; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__(1413);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.js
// This icon file is generated automatically.
var ArrowLeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, "name": "arrow-left", "theme": "outlined" };
/* harmony default export */ var asn_ArrowLeftOutlined = (ArrowLeftOutlined);
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules
var AntdIcon = __webpack_require__(7918);
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var ArrowLeftOutlined_ArrowLeftOutlined = function ArrowLeftOutlined(props, ref) {
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
ref: ref,
icon: asn_ArrowLeftOutlined
}));
};
ArrowLeftOutlined_ArrowLeftOutlined.displayName = 'ArrowLeftOutlined';
/* harmony default export */ var icons_ArrowLeftOutlined = (/*#__PURE__*/react.forwardRef(ArrowLeftOutlined_ArrowLeftOutlined));
/***/ }),
/***/ 82982:
/*!*****************************************!*\
!*** ./src/components/NoData/index.tsx ***!
\*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var antd_es_button_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/button/style */ 29913);
/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/button */ 71577);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var noData = function noData(_ref) {
var _ref$buttonProps = _ref.buttonProps,
buttonProps = _ref$buttonProps === void 0 ? {} : _ref$buttonProps,
_ref$styles = _ref.styles,
styles = _ref$styles === void 0 ? {} : _ref$styles,
customText = _ref.customText,
ButtonText = _ref.ButtonText,
ButtonClick = _ref.ButtonClick,
Buttonclass = _ref.Buttonclass,
ButtonTwo = _ref.ButtonTwo;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("section", {
className: "tc animated fadeIn",
style: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, {
color: '#999',
margin: '200px auto'
}), styles),
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("img", {
src: _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_3__
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("p", {
className: "mt20 font14",
children: customText || '暂时还没有相关数据哦!'
}), ButtonText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({
className: Buttonclass,
onClick: ButtonClick
}, buttonProps), {}, {
children: ButtonText
})), ButtonTwo && ButtonTwo]
});
};
/* harmony default export */ __webpack_exports__["Z"] = (noData);
/***/ }),
/***/ 73852:
/*!*****************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Engineering/Detail/index.tsx ***!
\*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var antd_es_tooltip_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/tooltip/style */ 38390);
/* harmony import */ var antd_es_tooltip__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! antd/es/tooltip */ 84908);
/* harmony import */ var antd_es_table_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd/es/table/style */ 71854);
/* harmony import */ var antd_es_table__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd/es/table */ 67250);
/* harmony import */ var antd_es_list_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! antd/es/list/style */ 36931);
/* harmony import */ var antd_es_list__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd/es/list */ 95507);
/* harmony import */ var antd_es_button_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/button/style */ 29913);
/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd/es/button */ 71577);
/* harmony import */ var antd_es_breadcrumb_style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/breadcrumb/style */ 63102);
/* harmony import */ var antd_es_breadcrumb__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd/es/breadcrumb */ 58492);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var antd_es_form_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd/es/form/style */ 75627);
/* harmony import */ var antd_es_form__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd/es/form */ 51018);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! umi */ 89214);
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @ant-design/icons */ 82826);
/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/utils/fetch */ 84519);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../index.less?modules */ 66859);
/* harmony import */ var _components_NoData__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/components/NoData */ 82982);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var ShixunsListPage = function ShixunsListPage(_ref) {
var _datas$data, _datas$data$ec_course, _datas$data3;
var classroomList = _ref.classroomList,
loading = _ref.loading,
user = _ref.user,
dispatch = _ref.dispatch,
location = _ref.location;
var _useSearchParams = (0,umi__WEBPACK_IMPORTED_MODULE_10__.useSearchParams)(),
_useSearchParams2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8___default()(_useSearchParams, 1),
searchParams = _useSearchParams2[0];
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)([]),
_useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8___default()(_useState, 2),
datas = _useState2[0],
setdatas = _useState2[1];
var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)({
zydatas: [],
jbdatas: [],
kcdatas: [],
page: 1,
per_page: 20
}),
_useState4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8___default()(_useState3, 2),
params = _useState4[0],
setparams = _useState4[1];
var param = (0,umi__WEBPACK_IMPORTED_MODULE_10__.useParams)();
var _Form$useForm = antd_es_form__WEBPACK_IMPORTED_MODULE_15__/* ["default"].useForm */ .Z.useForm(),
_Form$useForm2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8___default()(_Form$useForm, 1),
form = _Form$useForm2[0];
console.log(param);
(0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {
getDatas();
}, []);
function getDatas() {
return _getDatas.apply(this, arguments);
}
function _getDatas() {
_getDatas = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee() {
var res;
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .ZP)("/api/ec_courses/".concat(searchParams.get("kc"), "/course_evaluations/course_index.json"), {
method: 'get',
params: {
course_id: param === null || param === void 0 ? void 0 : param.coursesId,
ec_course_id: searchParams.get("kc")
}
});
case 2:
res = _context.sent;
setdatas(res);
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return _getDatas.apply(this, arguments);
}
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: 1200,
margin: '0 auto'
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(antd_es_breadcrumb__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
separator: ">",
style: {
marginTop: 15,
marginBottom: 10
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_breadcrumb__WEBPACK_IMPORTED_MODULE_16__/* ["default"].Item */ .Z.Item, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(umi__WEBPACK_IMPORTED_MODULE_10__.Link, {
to: "/classrooms/".concat(param === null || param === void 0 ? void 0 : param.coursesId),
children: datas === null || datas === void 0 ? void 0 : datas.course_name
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_breadcrumb__WEBPACK_IMPORTED_MODULE_16__/* ["default"].Item */ .Z.Item, {
children: datas === null || datas === void 0 ? void 0 : datas.pro
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_breadcrumb__WEBPACK_IMPORTED_MODULE_16__/* ["default"].Item */ .Z.Item, {
children: "\u8BA4\u8BC1\u8BE6\u60C5"
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
fontSize: 16,
color: '#333',
fontWeight: 400,
marginBottom: 20
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
onClick: function onClick() {
umi__WEBPACK_IMPORTED_MODULE_10__.history.back();
},
style: {
color: '#0152D9'
}
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("span", {
style: {
marginLeft: 10,
marginRight: 30
},
children: ["\u8BA4\u8BC1\u4E13\u4E1A\uFF1A", datas === null || datas === void 0 ? void 0 : datas.pro]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("span", {
style: {
marginRight: 30
},
children: ["\u8BA4\u8BC1\u5C4A\u522B\uFF1A", datas === null || datas === void 0 ? void 0 : datas.year]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("span", {
children: ["\u8BA4\u8BC1\u8BFE\u7A0B\uFF1A", datas === null || datas === void 0 ? void 0 : datas.ec_course_name]
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].content */ .Z.content,
style: {
minHeight: 72
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].header */ .Z.header,
style: {
marginBottom: 0
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("span", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].span */ .Z.span,
style: {
fontSize: '16px',
fontWeight: 500
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
background: '#242F49',
height: 12,
width: 4,
marginRight: 8,
display: 'inline-flex'
}
}), " \u8BA4\u8BC1\u8BE6\u60C5"]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
type: "primary",
style: {
marginRight: 15
},
onClick: function onClick() {
umi__WEBPACK_IMPORTED_MODULE_10__.history.push("/engineering/cursesetting?course=".concat(datas.ec_course_id, "&ec_major_school_id=").concat(datas === null || datas === void 0 ? void 0 : datas.ec_major_school_id, "&ec_year_id=").concat(datas === null || datas === void 0 ? void 0 : datas.ec_year_id));
},
children: "\u8BFE\u7A0B\u8BBE\u7F6E"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
type: "primary",
onClick: function onClick() {
umi__WEBPACK_IMPORTED_MODULE_10__.history.push("/engineering/evaluate/course/".concat(datas === null || datas === void 0 ? void 0 : datas.ec_year_id, "/").concat(datas.ec_course_id));
},
children: "\u8BC4\u4EF7\u8BE6\u60C5"
})]
})]
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
background: '#fff',
padding: '25px 20px',
marginTop: 20
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].title */ .Z.title,
style: {
display: 'flex',
justifyContent: 'space-between'
},
children: "\u8BFE\u7A0B\u76EE\u6807"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].teachcount */ .Z.teachcount,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_table__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {
style: {
marginTop: '20px',
marginBottom: 20
},
dataSource: datas === null || datas === void 0 ? void 0 : datas.standard_data,
bordered: true,
pagination: false,
columns: [{
title: '分项',
dataIndex: 'name',
key: 'name',
render: function render(text, record, index) {
return params.per_page * (params.page - 1) + index + 1;
}
}, {
title: '课程目标',
dataIndex: 'content',
width: '40%',
key: 'content'
}, {
title: '权重',
dataIndex: 'weight',
key: 'weight'
}, {
title: '达成分值',
dataIndex: 'standard_grade',
key: 'standard_grade'
}, {
title: '对应毕业要求指标点',
dataIndex: 'graduation_subitem',
key: 'graduation_subitem',
render: function render(text, record, index) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_list__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .ZP, {
itemLayout: "horizontal",
dataSource: text,
renderItem: function renderItem(item) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_list__WEBPACK_IMPORTED_MODULE_20__/* ["default"].Item */ .ZP.Item, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_list__WEBPACK_IMPORTED_MODULE_20__/* ["default"].Item.Meta */ .ZP.Item.Meta, {
style: {
fontSize: 14
},
description: '指标点' + (item === null || item === void 0 ? void 0 : item.index) + '' + (item === null || item === void 0 ? void 0 : item.content)
})
});
}
})
});
}
}]
})
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
background: '#fff',
padding: '25px 20px',
marginTop: 20
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].title */ .Z.title,
style: {
display: 'flex',
justifyContent: 'space-between'
},
children: "\u8BFE\u7A0B\u76EE\u6807\u8FBE\u6210\u5EA6"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].teachcount */ .Z.teachcount,
children: [!(datas !== null && datas !== void 0 && datas.data) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_components_NoData__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {}), (datas === null || datas === void 0 ? void 0 : datas.data) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
fontSize: '14px'
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
display: 'flex',
background: '#F5F5F5',
height: '58px',
border: '1px solid #E0E2EC',
marginTop: '20px'
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '4%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u5206\u9879"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '15%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u8BFE\u7A0B\u76EE\u6807"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '3%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u6743\u91CD"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '9%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u5BF9\u5E94\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
height: '100%',
width: '40%',
display: 'flex',
flexDirection: 'column',
flexShrink: 0,
borderRight: '1px solid #E0E2EC'
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: '100%',
display: 'flex',
flexShrink: 0,
height: '100%'
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '30%',
borderRight: '1px solid #E0E2EC',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column'
},
children: '考核方式'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '12.5%',
borderRight: '1px solid #E0E2EC',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
textAlign: 'center'
},
children: '考核方式占比'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '45%',
height: '100%'
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: '100%'
},
children: '考核内容'
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '12.5%',
height: '100%'
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: '100%',
textAlign: 'center'
},
children: '考核内容占比'
})
})]
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '8%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
textAlignLast: 'center'
},
children: "\u8FBE\u6210\u5206\u503C\uFF08\u767E\u5206\u5236\uFF09"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '7%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
textAlignLast: 'center'
},
children: "\u5B9E\u9645\u5206\u503C\uFF08\u767E\u5206\u5236\uFF09"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '6%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u8BC4\u4EF7\u7ED3\u679C"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '8%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u8BA1\u7B97\u65F6\u95F4"
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderLeft: '1px solid #E0E2EC'
},
children: datas === null || datas === void 0 ? void 0 : (_datas$data = datas.data) === null || _datas$data === void 0 ? void 0 : (_datas$data$ec_course = _datas$data.ec_course_target) === null || _datas$data$ec_course === void 0 ? void 0 : _datas$data$ec_course.map(function (item, index) {
var _item$evaluation, _item$evaluation2, _item$evaluation3, _item$graduation_subi, _item$evaluation4, _item$evaluation5, _datas$data2;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
height: '100%',
display: 'flex'
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '4%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: index + 1
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].textone */ .Z.textone,
style: {
width: '15%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
maxHeight: (item === null || item === void 0 ? void 0 : (_item$evaluation = item.evaluation) === null || _item$evaluation === void 0 ? void 0 : _item$evaluation.length) <= 0 && 43,
lineHeight: (item === null || item === void 0 ? void 0 : (_item$evaluation2 = item.evaluation) === null || _item$evaluation2 === void 0 ? void 0 : _item$evaluation2.length) <= 0 && '43px',
display: (item === null || item === void 0 ? void 0 : (_item$evaluation3 = item.evaluation) === null || _item$evaluation3 === void 0 ? void 0 : _item$evaluation3.length) != 0 && 'flex',
paddingLeft: 10
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_tooltip__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z, {
title: item.content,
children: item.content
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '3%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: item.weights
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '9%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: item === null || item === void 0 ? void 0 : (_item$graduation_subi = item.graduation_subitem) === null || _item$graduation_subi === void 0 ? void 0 : _item$graduation_subi.map(function (graduation_subitemitem) {
return graduation_subitemitem.name;
}).toString()
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
height: '100%',
width: '40%',
display: 'flex',
flexDirection: 'column',
flexShrink: 0,
borderRight: '1px solid #E0E2EC'
},
children: [(item === null || item === void 0 ? void 0 : (_item$evaluation4 = item.evaluation) === null || _item$evaluation4 === void 0 ? void 0 : _item$evaluation4.length) <= 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: '100%',
display: 'flex',
flexShrink: 0
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '30%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column'
},
children: '--'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '12.6%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column'
},
children: '--'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '45.3%'
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: 43
},
children: '--'
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '12.5%'
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: 43
},
children: '--'
})
})]
}), item === null || item === void 0 ? void 0 : (_item$evaluation5 = item.evaluation) === null || _item$evaluation5 === void 0 ? void 0 : _item$evaluation5.map(function (evaluationitem, evaluationindex) {
var _evaluationitem$subit, _evaluationitem$subit2, _evaluationitem$subit3, _evaluationitem$subit4;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: '100%',
display: 'flex',
flexShrink: 0
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '30%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: (evaluationitem === null || evaluationitem === void 0 ? void 0 : evaluationitem.work_name) || '--'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '12.5%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: (evaluationitem === null || evaluationitem === void 0 ? void 0 : evaluationitem.weight) || '--'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: '45%'
},
children: [(evaluationitem === null || evaluationitem === void 0 ? void 0 : (_evaluationitem$subit = evaluationitem.subitems) === null || _evaluationitem$subit === void 0 ? void 0 : _evaluationitem$subit.length) <= 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
height: 43
},
children: '--'
}), evaluationitem === null || evaluationitem === void 0 ? void 0 : (_evaluationitem$subit2 = evaluationitem.subitems) === null || _evaluationitem$subit2 === void 0 ? void 0 : _evaluationitem$subit2.map(function (subitems, subitemsindex) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_tooltip__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z, {
title: subitems === null || subitems === void 0 ? void 0 : subitems.name,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].textone */ .Z.textone,
style: {
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
lineHeight: '43px',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: 43,
paddingLeft: '5px'
},
children: subitems === null || subitems === void 0 ? void 0 : subitems.name
})
});
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: '12.5%'
},
children: [(evaluationitem === null || evaluationitem === void 0 ? void 0 : (_evaluationitem$subit3 = evaluationitem.subitems) === null || _evaluationitem$subit3 === void 0 ? void 0 : _evaluationitem$subit3.length) <= 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: 43
},
children: '--'
}), evaluationitem === null || evaluationitem === void 0 ? void 0 : (_evaluationitem$subit4 = evaluationitem.subitems) === null || _evaluationitem$subit4 === void 0 ? void 0 : _evaluationitem$subit4.map(function (subitems, subitemsindex) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: 43
},
children: subitems === null || subitems === void 0 ? void 0 : subitems.weight
});
})]
})]
});
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '8%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: item === null || item === void 0 ? void 0 : item.standard_grade
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '7%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: item === null || item === void 0 ? void 0 : item.actual_grade
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '6%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
color: item !== null && item !== void 0 && item.statue ? '#07C160' : '#E30000'
},
children: item !== null && item !== void 0 && item.status ? '达成' : '未达成'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '8%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
textAlign: 'center'
},
children: datas === null || datas === void 0 ? void 0 : (_datas$data2 = datas.data) === null || _datas$data2 === void 0 ? void 0 : _datas$data2.evaluation_time
})]
});
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
display: 'flex',
height: '58px',
border: '1px solid #E0E2EC',
marginTop: -1
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '4%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u603B\u5206"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '75%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
}
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '7%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: datas === null || datas === void 0 ? void 0 : (_datas$data3 = datas.data) === null || _datas$data3 === void 0 ? void 0 : _datas$data3.total_score
})]
})]
})]
})]
})]
});
};
/* harmony default export */ __webpack_exports__["default"] = ((0,umi__WEBPACK_IMPORTED_MODULE_10__.connect)(function (_ref2) {
var classroomList = _ref2.classroomList,
loading = _ref2.loading,
globalSetting = _ref2.globalSetting,
user = _ref2.user;
return {
classroomList: classroomList,
globalSetting: globalSetting,
loading: loading.effects,
user: user
};
})(ShixunsListPage));
/***/ }),
/***/ 66859:
/*!*******************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Engineering/index.less?modules ***!
\*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// extracted by mini-css-extract-plugin
/* harmony default export */ __webpack_exports__["Z"] = ({"flex_box_center":"flex_box_center___auROP","flex_space_between":"flex_space_between___zffiE","flex_box_vertical_center":"flex_box_vertical_center___wyNpY","flex_box_center_end":"flex_box_center_end___m_Isr","flex_box_column":"flex_box_column___b27kO","content":"content___QuZGt","header":"header___Lgq9g","span":"span___aqN0x","title":"title___fcmlM","textone":"textone___AoPbl"});
/***/ }),
/***/ 58492:
/*!**************************************************************!*\
!*** ./node_modules/antd/es/breadcrumb/index.js + 3 modules ***!
\**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"Z": function() { return /* binding */ breadcrumb; }
});
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(74902);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js
var toArray = __webpack_require__(50344);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 5 modules
var menu = __webpack_require__(66516);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js
var reactNode = __webpack_require__(96159);
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js
var DownOutlined = __webpack_require__(13622);
// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 1 modules
var dropdown = __webpack_require__(18562);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var BreadcrumbItem = function BreadcrumbItem(props) {
var customizePrefixCls = props.prefixCls,
_props$separator = props.separator,
separator = _props$separator === void 0 ? '/' : _props$separator,
children = props.children,
menu = props.menu,
overlay = props.overlay,
dropdownProps = props.dropdownProps,
restProps = __rest(props, ["prefixCls", "separator", "children", "menu", "overlay", "dropdownProps"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
// Warning for deprecated usage
if (false) {}
/** If overlay is have Wrap a Dropdown */
var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) {
if (menu || overlay) {
return /*#__PURE__*/react.createElement(dropdown/* default */.Z, (0,esm_extends/* default */.Z)({
menu: menu,
overlay: overlay,
placement: "bottom"
}, dropdownProps), /*#__PURE__*/react.createElement("span", {
className: "".concat(prefixCls, "-overlay-link")
}, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null)));
}
return breadcrumbItem;
};
var link;
if ('href' in restProps) {
link = /*#__PURE__*/react.createElement("a", (0,esm_extends/* default */.Z)({
className: "".concat(prefixCls, "-link")
}, restProps), children);
} else {
link = /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({
className: "".concat(prefixCls, "-link")
}, restProps), children);
}
// wrap to dropDown
link = renderBreadcrumbNode(link);
if (children !== undefined && children !== null) {
return /*#__PURE__*/react.createElement("li", null, link, separator && /*#__PURE__*/react.createElement("span", {
className: "".concat(prefixCls, "-separator")
}, separator));
}
return null;
};
BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true;
/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js
var BreadcrumbSeparator = function BreadcrumbSeparator(_ref) {
var children = _ref.children;
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls;
var prefixCls = getPrefixCls('breadcrumb');
return /*#__PURE__*/react.createElement("span", {
className: "".concat(prefixCls, "-separator")
}, children || '/');
};
BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;
/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js
var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
function getBreadcrumbName(route, params) {
if (!route.breadcrumbName) {
return null;
}
var paramsKeys = Object.keys(params).join('|');
var name = route.breadcrumbName.replace(new RegExp(":(".concat(paramsKeys, ")"), 'g'), function (replacement, key) {
return params[key] || replacement;
});
return name;
}
function defaultItemRender(route, params, routes, paths) {
var isLastItem = routes.indexOf(route) === routes.length - 1;
var name = getBreadcrumbName(route, params);
return isLastItem ? /*#__PURE__*/react.createElement("span", null, name) : /*#__PURE__*/react.createElement("a", {
href: "#/".concat(paths.join('/'))
}, name);
}
var getPath = function getPath(path, params) {
path = (path || '').replace(/^\//, '');
Object.keys(params).forEach(function (key) {
path = path.replace(":".concat(key), params[key]);
});
return path;
};
var addChildPath = function addChildPath(paths, childPath, params) {
var originalPaths = (0,toConsumableArray/* default */.Z)(paths);
var path = getPath(childPath || '', params);
if (path) {
originalPaths.push(path);
}
return originalPaths;
};
var Breadcrumb = function Breadcrumb(_a) {
var customizePrefixCls = _a.prefixCls,
_a$separator = _a.separator,
separator = _a$separator === void 0 ? '/' : _a$separator,
style = _a.style,
className = _a.className,
routes = _a.routes,
children = _a.children,
_a$itemRender = _a.itemRender,
itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender,
_a$params = _a.params,
params = _a$params === void 0 ? {} : _a$params,
restProps = Breadcrumb_rest(_a, ["prefixCls", "separator", "style", "className", "routes", "children", "itemRender", "params"]);
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
direction = _React$useContext.direction;
var crumbs;
var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
if (routes && routes.length > 0) {
// generated by route
var paths = [];
crumbs = routes.map(function (route) {
var path = getPath(route.path, params);
if (path) {
paths.push(path);
}
// generated overlay by route.children
var overlay;
if (route.children && route.children.length) {
overlay = /*#__PURE__*/react.createElement(menu/* default */.Z, {
items: route.children.map(function (child) {
return {
key: child.path || child.breadcrumbName,
label: itemRender(child, params, routes, addChildPath(paths, child.path, params))
};
})
});
}
var itemProps = {
separator: separator
};
if (overlay) {
itemProps.overlay = overlay;
}
return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbItem, (0,esm_extends/* default */.Z)({}, itemProps, {
key: path || route.breadcrumbName
}), itemRender(route, params, routes, paths));
});
} else if (children) {
crumbs = (0,toArray/* default */.Z)(children).map(function (element, index) {
if (!element) {
return element;
}
false ? 0 : void 0;
return (0,reactNode/* cloneElement */.Tm)(element, {
separator: separator,
key: index
});
});
}
var breadcrumbClassName = classnames_default()(prefixCls, (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), direction === 'rtl'), className);
return /*#__PURE__*/react.createElement("nav", (0,esm_extends/* default */.Z)({
className: breadcrumbClassName,
style: style
}, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs));
};
Breadcrumb.Item = breadcrumb_BreadcrumbItem;
Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator;
/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js
/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb);
/***/ }),
/***/ 63102:
/*!********************************************************************!*\
!*** ./node_modules/antd/es/breadcrumb/style/index.js + 1 modules ***!
\********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.less
// extracted by mini-css-extract-plugin
// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules
var style = __webpack_require__(68018);
// EXTERNAL MODULE: ./node_modules/antd/es/menu/style/index.js + 1 modules
var menu_style = __webpack_require__(83736);
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js
// style dependencies
/***/ }),
/***/ 95507:
/*!********************************************************!*\
!*** ./node_modules/antd/es/list/index.js + 1 modules ***!
\********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"ZM": function() { return /* binding */ ListContext; },
"ZP": function() { return /* binding */ list; }
});
// UNUSED EXPORTS: ListConsumer
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(74902);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(87462);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty = __webpack_require__(4942);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(97685);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__(71002);
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(94184);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
// EXTERNAL MODULE: ./node_modules/react/index.js
var react = __webpack_require__(67294);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
var context = __webpack_require__(53124);
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/defaultRenderEmpty.js
var defaultRenderEmpty = __webpack_require__(88258);
// EXTERNAL MODULE: ./node_modules/antd/es/grid/row.js
var row = __webpack_require__(92820);
// EXTERNAL MODULE: ./node_modules/antd/es/grid/hooks/useBreakpoint.js
var useBreakpoint = __webpack_require__(25378);
// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 10 modules
var es_pagination = __webpack_require__(260);
// EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js
var spin = __webpack_require__(11382);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/responsiveObserve.js
var responsiveObserve = __webpack_require__(24308);
// EXTERNAL MODULE: ./node_modules/antd/es/grid/col.js
var col = __webpack_require__(21584);
// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js
var reactNode = __webpack_require__(96159);
;// CONCATENATED MODULE: ./node_modules/antd/es/list/Item.js
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var Meta = function Meta(_a) {
var customizePrefixCls = _a.prefixCls,
className = _a.className,
avatar = _a.avatar,
title = _a.title,
description = _a.description,
others = __rest(_a, ["prefixCls", "className", "avatar", "title", "description"]);
var _useContext = (0,react.useContext)(context/* ConfigContext */.E_),
getPrefixCls = _useContext.getPrefixCls;
var prefixCls = getPrefixCls('list', customizePrefixCls);
var classString = classnames_default()("".concat(prefixCls, "-item-meta"), className);
var content = /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-item-meta-content")
}, title && /*#__PURE__*/react.createElement("h4", {
className: "".concat(prefixCls, "-item-meta-title")
}, title), description && /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-item-meta-description")
}, description));
return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, others, {
className: classString
}), avatar && /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-item-meta-avatar")
}, avatar), (title || description) && content);
};
var InternalItem = function InternalItem(_a, ref) {
var customizePrefixCls = _a.prefixCls,
children = _a.children,
actions = _a.actions,
extra = _a.extra,
className = _a.className,
colStyle = _a.colStyle,
others = __rest(_a, ["prefixCls", "children", "actions", "extra", "className", "colStyle"]);
var _useContext2 = (0,react.useContext)(ListContext),
grid = _useContext2.grid,
itemLayout = _useContext2.itemLayout;
var _useContext3 = (0,react.useContext)(context/* ConfigContext */.E_),
getPrefixCls = _useContext3.getPrefixCls;
var isItemContainsTextNodeAndNotSingular = function isItemContainsTextNodeAndNotSingular() {
var result;
react.Children.forEach(children, function (element) {
if (typeof element === 'string') {
result = true;
}
});
return result && react.Children.count(children) > 1;
};
var isFlexMode = function isFlexMode() {
if (itemLayout === 'vertical') {
return !!extra;
}
return !isItemContainsTextNodeAndNotSingular();
};
var prefixCls = getPrefixCls('list', customizePrefixCls);
var actionsContent = actions && actions.length > 0 && /*#__PURE__*/react.createElement("ul", {
className: "".concat(prefixCls, "-item-action"),
key: "actions"
}, actions.map(function (action, i) {
return (
/*#__PURE__*/
// eslint-disable-next-line react/no-array-index-key
react.createElement("li", {
key: "".concat(prefixCls, "-item-action-").concat(i)
}, action, i !== actions.length - 1 && /*#__PURE__*/react.createElement("em", {
className: "".concat(prefixCls, "-item-action-split")
}))
);
}));
var Element = grid ? 'div' : 'li';
var itemChildren = /*#__PURE__*/react.createElement(Element, (0,esm_extends/* default */.Z)({}, others, !grid ? {
ref: ref
} : {}, {
className: classnames_default()("".concat(prefixCls, "-item"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-item-no-flex"), !isFlexMode()), className)
}), itemLayout === 'vertical' && extra ? [/*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-item-main"),
key: "content"
}, children, actionsContent), /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-item-extra"),
key: "extra"
}, extra)] : [children, actionsContent, (0,reactNode/* cloneElement */.Tm)(extra, {
key: 'extra'
})]);
return grid ? /*#__PURE__*/react.createElement(col/* default */.Z, {
ref: ref,
flex: 1,
style: colStyle
}, itemChildren) : itemChildren;
};
var Item = /*#__PURE__*/(0,react.forwardRef)(InternalItem);
Item.Meta = Meta;
/* harmony default export */ var list_Item = (Item);
;// CONCATENATED MODULE: ./node_modules/antd/es/list/index.js
var list_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
var ListContext = /*#__PURE__*/react.createContext({});
var ListConsumer = ListContext.Consumer;
function List(_a) {
var _classNames;
var _a$pagination = _a.pagination,
pagination = _a$pagination === void 0 ? false : _a$pagination,
customizePrefixCls = _a.prefixCls,
_a$bordered = _a.bordered,
bordered = _a$bordered === void 0 ? false : _a$bordered,
_a$split = _a.split,
split = _a$split === void 0 ? true : _a$split,
className = _a.className,
children = _a.children,
itemLayout = _a.itemLayout,
loadMore = _a.loadMore,
grid = _a.grid,
_a$dataSource = _a.dataSource,
dataSource = _a$dataSource === void 0 ? [] : _a$dataSource,
size = _a.size,
header = _a.header,
footer = _a.footer,
_a$loading = _a.loading,
loading = _a$loading === void 0 ? false : _a$loading,
rowKey = _a.rowKey,
renderItem = _a.renderItem,
locale = _a.locale,
rest = list_rest(_a, ["pagination", "prefixCls", "bordered", "split", "className", "children", "itemLayout", "loadMore", "grid", "dataSource", "size", "header", "footer", "loading", "rowKey", "renderItem", "locale"]);
var paginationObj = pagination && (0,esm_typeof/* default */.Z)(pagination) === 'object' ? pagination : {};
var _React$useState = react.useState(paginationObj.defaultCurrent || 1),
_React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2),
paginationCurrent = _React$useState2[0],
setPaginationCurrent = _React$useState2[1];
var _React$useState3 = react.useState(paginationObj.defaultPageSize || 10),
_React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2),
paginationSize = _React$useState4[0],
setPaginationSize = _React$useState4[1];
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
getPrefixCls = _React$useContext.getPrefixCls,
renderEmpty = _React$useContext.renderEmpty,
direction = _React$useContext.direction;
var defaultPaginationProps = {
current: 1,
total: 0
};
var triggerPaginationEvent = function triggerPaginationEvent(eventName) {
return function (page, pageSize) {
setPaginationCurrent(page);
setPaginationSize(pageSize);
if (pagination && pagination[eventName]) {
pagination[eventName](page, pageSize);
}
};
};
var onPaginationChange = triggerPaginationEvent('onChange');
var onPaginationShowSizeChange = triggerPaginationEvent('onShowSizeChange');
var renderInnerItem = function renderInnerItem(item, index) {
if (!renderItem) return null;
var key;
if (typeof rowKey === 'function') {
key = rowKey(item);
} else if (rowKey) {
key = item[rowKey];
} else {
key = item.key;
}
if (!key) {
key = "list-item-".concat(index);
}
return /*#__PURE__*/react.createElement(react.Fragment, {
key: key
}, renderItem(item, index));
};
var isSomethingAfterLastItem = function isSomethingAfterLastItem() {
return !!(loadMore || pagination || footer);
};
var renderEmptyFunc = function renderEmptyFunc(prefixCls, renderEmptyHandler) {
return /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-empty-text")
}, locale && locale.emptyText || renderEmptyHandler('List'));
};
var prefixCls = getPrefixCls('list', customizePrefixCls);
var loadingProp = loading;
if (typeof loadingProp === 'boolean') {
loadingProp = {
spinning: loadingProp
};
}
var isLoading = loadingProp && loadingProp.spinning;
// large => lg
// small => sm
var sizeCls = '';
switch (size) {
case 'large':
sizeCls = 'lg';
break;
case 'small':
sizeCls = 'sm';
break;
default:
break;
}
var classString = classnames_default()(prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-vertical"), itemLayout === 'vertical'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-split"), split), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-bordered"), bordered), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-loading"), isLoading), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-grid"), !!grid), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-something-after-last-item"), isSomethingAfterLastItem()), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
var paginationProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, defaultPaginationProps), {
total: dataSource.length,
current: paginationCurrent,
pageSize: paginationSize
}), pagination || {});
var largestPage = Math.ceil(paginationProps.total / paginationProps.pageSize);
if (paginationProps.current > largestPage) {
paginationProps.current = largestPage;
}
var paginationContent = pagination ? /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-pagination")
}, /*#__PURE__*/react.createElement(es_pagination/* default */.Z, (0,esm_extends/* default */.Z)({}, paginationProps, {
onChange: onPaginationChange,
onShowSizeChange: onPaginationShowSizeChange
}))) : null;
var splitDataSource = (0,toConsumableArray/* default */.Z)(dataSource);
if (pagination) {
if (dataSource.length > (paginationProps.current - 1) * paginationProps.pageSize) {
splitDataSource = (0,toConsumableArray/* default */.Z)(dataSource).splice((paginationProps.current - 1) * paginationProps.pageSize, paginationProps.pageSize);
}
}
var needResponsive = Object.keys(grid || {}).some(function (key) {
return ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].includes(key);
});
var screens = (0,useBreakpoint/* default */.Z)(needResponsive);
var currentBreakpoint = react.useMemo(function () {
for (var i = 0; i < responsiveObserve/* responsiveArray.length */.c4.length; i += 1) {
var breakpoint = responsiveObserve/* responsiveArray */.c4[i];
if (screens[breakpoint]) {
return breakpoint;
}
}
return undefined;
}, [screens]);
var colStyle = react.useMemo(function () {
if (!grid) {
return undefined;
}
var columnCount = currentBreakpoint && grid[currentBreakpoint] ? grid[currentBreakpoint] : grid.column;
if (columnCount) {
return {
width: "".concat(100 / columnCount, "%"),
maxWidth: "".concat(100 / columnCount, "%")
};
}
}, [grid === null || grid === void 0 ? void 0 : grid.column, currentBreakpoint]);
var childrenContent = isLoading && /*#__PURE__*/react.createElement("div", {
style: {
minHeight: 53
}
});
if (splitDataSource.length > 0) {
var items = splitDataSource.map(function (item, index) {
return renderInnerItem(item, index);
});
childrenContent = grid ? /*#__PURE__*/react.createElement(row/* default */.Z, {
gutter: grid.gutter
}, react.Children.map(items, function (child) {
return /*#__PURE__*/react.createElement("div", {
key: child === null || child === void 0 ? void 0 : child.key,
style: colStyle
}, child);
})) : /*#__PURE__*/react.createElement("ul", {
className: "".concat(prefixCls, "-items")
}, items);
} else if (!children && !isLoading) {
childrenContent = renderEmptyFunc(prefixCls, renderEmpty || defaultRenderEmpty/* default */.Z);
}
var paginationPosition = paginationProps.position || 'bottom';
var contextValue = react.useMemo(function () {
return {
grid: grid,
itemLayout: itemLayout
};
}, [JSON.stringify(grid), itemLayout]);
return /*#__PURE__*/react.createElement(ListContext.Provider, {
value: contextValue
}, /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({
className: classString
}, rest), (paginationPosition === 'top' || paginationPosition === 'both') && paginationContent, header && /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-header")
}, header), /*#__PURE__*/react.createElement(spin/* default */.Z, (0,esm_extends/* default */.Z)({}, loadingProp), childrenContent, children), footer && /*#__PURE__*/react.createElement("div", {
className: "".concat(prefixCls, "-footer")
}, footer), loadMore || (paginationPosition === 'bottom' || paginationPosition === 'both') && paginationContent));
}
List.Item = list_Item;
/* harmony default export */ var list = (List);
/***/ }),
/***/ 36931:
/*!**************************************************************!*\
!*** ./node_modules/antd/es/list/style/index.js + 1 modules ***!
\**************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
// EXTERNAL MODULE: ./node_modules/antd/es/style/default.less
var style_default = __webpack_require__(43146);
;// CONCATENATED MODULE: ./node_modules/antd/es/list/style/index.less
// extracted by mini-css-extract-plugin
// EXTERNAL MODULE: ./node_modules/antd/es/empty/style/index.js + 1 modules
var style = __webpack_require__(81151);
// EXTERNAL MODULE: ./node_modules/antd/es/grid/style/index.js + 1 modules
var grid_style = __webpack_require__(157);
// EXTERNAL MODULE: ./node_modules/antd/es/pagination/style/index.js + 1 modules
var pagination_style = __webpack_require__(14182);
// EXTERNAL MODULE: ./node_modules/antd/es/spin/style/index.js + 1 modules
var spin_style = __webpack_require__(22536);
;// CONCATENATED MODULE: ./node_modules/antd/es/list/style/index.js
// style dependencies
/***/ })
}]);