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.
995 lines
40 KiB
995 lines
40 KiB
"use strict";
|
|
(self["webpackChunk"] = self["webpackChunk"] || []).push([[87234],{
|
|
|
|
/***/ 77171:
|
|
/*!**********************************************************************************!*\
|
|
!*** ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + 1 modules ***!
|
|
\**********************************************************************************/
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
// EXPORTS
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
"Z": function() { return /* binding */ icons_ArrowDownOutlined; }
|
|
});
|
|
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
var objectSpread2 = __webpack_require__(1413);
|
|
// EXTERNAL MODULE: ./node_modules/react/index.js
|
|
var react = __webpack_require__(67294);
|
|
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ArrowDownOutlined.js
|
|
// This icon file is generated automatically.
|
|
var ArrowDownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z" } }] }, "name": "arrow-down", "theme": "outlined" };
|
|
/* harmony default export */ var asn_ArrowDownOutlined = (ArrowDownOutlined);
|
|
|
|
// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 6 modules
|
|
var AntdIcon = __webpack_require__(7918);
|
|
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js
|
|
|
|
// GENERATE BY ./scripts/generate.ts
|
|
// DON NOT EDIT IT MANUALLY
|
|
|
|
|
|
|
|
var ArrowDownOutlined_ArrowDownOutlined = function ArrowDownOutlined(props, ref) {
|
|
return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, {
|
|
ref: ref,
|
|
icon: asn_ArrowDownOutlined
|
|
}));
|
|
};
|
|
ArrowDownOutlined_ArrowDownOutlined.displayName = 'ArrowDownOutlined';
|
|
/* harmony default export */ var icons_ArrowDownOutlined = (/*#__PURE__*/react.forwardRef(ArrowDownOutlined_ArrowDownOutlined));
|
|
|
|
/***/ }),
|
|
|
|
/***/ 87588:
|
|
/*!******************************************************************************!*\
|
|
!*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js ***!
|
|
\******************************************************************************/
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413);
|
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294);
|
|
/* harmony import */ var _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons-svg/es/asn/ExclamationCircleOutlined */ 61144);
|
|
/* harmony import */ var _components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/AntdIcon */ 7918);
|
|
|
|
// GENERATE BY ./scripts/generate.ts
|
|
// DON NOT EDIT IT MANUALLY
|
|
|
|
|
|
|
|
var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {
|
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_AntdIcon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({}, props), {}, {
|
|
ref: ref,
|
|
icon: _ant_design_icons_svg_es_asn_ExclamationCircleOutlined__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z
|
|
}));
|
|
};
|
|
ExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined';
|
|
/* harmony default export */ __webpack_exports__["Z"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ExclamationCircleOutlined));
|
|
|
|
/***/ }),
|
|
|
|
/***/ 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
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 69309:
|
|
/*!*********************************************************!*\
|
|
!*** ./node_modules/antd/es/steps/index.js + 4 modules ***!
|
|
\*********************************************************/
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
// EXPORTS
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
"Z": function() { return /* binding */ steps; }
|
|
});
|
|
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
var esm_extends = __webpack_require__(87462);
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
var defineProperty = __webpack_require__(4942);
|
|
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckOutlined.js
|
|
var CheckOutlined = __webpack_require__(64894);
|
|
// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseOutlined.js
|
|
var CloseOutlined = __webpack_require__(62208);
|
|
// EXTERNAL MODULE: ./node_modules/classnames/index.js
|
|
var classnames = __webpack_require__(94184);
|
|
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
var objectSpread2 = __webpack_require__(1413);
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
var objectWithoutProperties = __webpack_require__(45987);
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
var classCallCheck = __webpack_require__(15671);
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
var createClass = __webpack_require__(43144);
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
var assertThisInitialized = __webpack_require__(97326);
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
var inherits = __webpack_require__(60136);
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules
|
|
var createSuper = __webpack_require__(51630);
|
|
// EXTERNAL MODULE: ./node_modules/react/index.js
|
|
var react = __webpack_require__(67294);
|
|
;// CONCATENATED MODULE: ./node_modules/rc-steps/es/Step.js
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var _excluded = ["className", "prefixCls", "style", "active", "status", "iconPrefix", "icon", "wrapperStyle", "stepNumber", "disabled", "description", "title", "subTitle", "progressDot", "stepIcon", "tailContent", "icons", "stepIndex", "onStepClick", "onClick"];
|
|
|
|
/* eslint react/prop-types: 0 */
|
|
|
|
|
|
|
|
function isString(str) {
|
|
return typeof str === 'string';
|
|
}
|
|
|
|
var Step = /*#__PURE__*/function (_React$Component) {
|
|
(0,inherits/* default */.Z)(Step, _React$Component);
|
|
|
|
var _super = (0,createSuper/* default */.Z)(Step);
|
|
|
|
function Step() {
|
|
var _this;
|
|
|
|
(0,classCallCheck/* default */.Z)(this, Step);
|
|
|
|
for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
_args[_key] = arguments[_key];
|
|
}
|
|
|
|
_this = _super.call.apply(_super, [this].concat(_args));
|
|
|
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "onClick", function () {
|
|
var _this$props = _this.props,
|
|
onClick = _this$props.onClick,
|
|
onStepClick = _this$props.onStepClick,
|
|
stepIndex = _this$props.stepIndex;
|
|
|
|
if (onClick) {
|
|
onClick.apply(void 0, arguments);
|
|
}
|
|
|
|
onStepClick(stepIndex);
|
|
});
|
|
|
|
return _this;
|
|
}
|
|
|
|
(0,createClass/* default */.Z)(Step, [{
|
|
key: "renderIconNode",
|
|
value: function renderIconNode() {
|
|
var _classNames;
|
|
|
|
var _this$props2 = this.props,
|
|
prefixCls = _this$props2.prefixCls,
|
|
progressDot = _this$props2.progressDot,
|
|
stepIcon = _this$props2.stepIcon,
|
|
stepNumber = _this$props2.stepNumber,
|
|
status = _this$props2.status,
|
|
title = _this$props2.title,
|
|
description = _this$props2.description,
|
|
icon = _this$props2.icon,
|
|
iconPrefix = _this$props2.iconPrefix,
|
|
icons = _this$props2.icons;
|
|
var iconNode;
|
|
var iconClassName = classnames_default()("".concat(prefixCls, "-icon"), "".concat(iconPrefix, "icon"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(iconPrefix, "icon-").concat(icon), icon && isString(icon)), (0,defineProperty/* default */.Z)(_classNames, "".concat(iconPrefix, "icon-check"), !icon && status === 'finish' && (icons && !icons.finish || !icons)), (0,defineProperty/* default */.Z)(_classNames, "".concat(iconPrefix, "icon-cross"), !icon && status === 'error' && (icons && !icons.error || !icons)), _classNames));
|
|
var iconDot = /*#__PURE__*/react.createElement("span", {
|
|
className: "".concat(prefixCls, "-icon-dot")
|
|
}); // `progressDot` enjoy the highest priority
|
|
|
|
if (progressDot) {
|
|
if (typeof progressDot === 'function') {
|
|
iconNode = /*#__PURE__*/react.createElement("span", {
|
|
className: "".concat(prefixCls, "-icon")
|
|
}, progressDot(iconDot, {
|
|
index: stepNumber - 1,
|
|
status: status,
|
|
title: title,
|
|
description: description
|
|
}));
|
|
} else {
|
|
iconNode = /*#__PURE__*/react.createElement("span", {
|
|
className: "".concat(prefixCls, "-icon")
|
|
}, iconDot);
|
|
}
|
|
} else if (icon && !isString(icon)) {
|
|
iconNode = /*#__PURE__*/react.createElement("span", {
|
|
className: "".concat(prefixCls, "-icon")
|
|
}, icon);
|
|
} else if (icons && icons.finish && status === 'finish') {
|
|
iconNode = /*#__PURE__*/react.createElement("span", {
|
|
className: "".concat(prefixCls, "-icon")
|
|
}, icons.finish);
|
|
} else if (icons && icons.error && status === 'error') {
|
|
iconNode = /*#__PURE__*/react.createElement("span", {
|
|
className: "".concat(prefixCls, "-icon")
|
|
}, icons.error);
|
|
} else if (icon || status === 'finish' || status === 'error') {
|
|
iconNode = /*#__PURE__*/react.createElement("span", {
|
|
className: iconClassName
|
|
});
|
|
} else {
|
|
iconNode = /*#__PURE__*/react.createElement("span", {
|
|
className: "".concat(prefixCls, "-icon")
|
|
}, stepNumber);
|
|
}
|
|
|
|
if (stepIcon) {
|
|
iconNode = stepIcon({
|
|
index: stepNumber - 1,
|
|
status: status,
|
|
title: title,
|
|
description: description,
|
|
node: iconNode
|
|
});
|
|
}
|
|
|
|
return iconNode;
|
|
}
|
|
}, {
|
|
key: "render",
|
|
value: function render() {
|
|
var _classNames2;
|
|
|
|
var _this$props3 = this.props,
|
|
className = _this$props3.className,
|
|
prefixCls = _this$props3.prefixCls,
|
|
style = _this$props3.style,
|
|
active = _this$props3.active,
|
|
_this$props3$status = _this$props3.status,
|
|
status = _this$props3$status === void 0 ? 'wait' : _this$props3$status,
|
|
iconPrefix = _this$props3.iconPrefix,
|
|
icon = _this$props3.icon,
|
|
wrapperStyle = _this$props3.wrapperStyle,
|
|
stepNumber = _this$props3.stepNumber,
|
|
disabled = _this$props3.disabled,
|
|
description = _this$props3.description,
|
|
title = _this$props3.title,
|
|
subTitle = _this$props3.subTitle,
|
|
progressDot = _this$props3.progressDot,
|
|
stepIcon = _this$props3.stepIcon,
|
|
tailContent = _this$props3.tailContent,
|
|
icons = _this$props3.icons,
|
|
stepIndex = _this$props3.stepIndex,
|
|
onStepClick = _this$props3.onStepClick,
|
|
onClick = _this$props3.onClick,
|
|
restProps = (0,objectWithoutProperties/* default */.Z)(_this$props3, _excluded);
|
|
|
|
var classString = classnames_default()("".concat(prefixCls, "-item"), "".concat(prefixCls, "-item-").concat(status), className, (_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-item-custom"), icon), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-item-active"), active), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-item-disabled"), disabled === true), _classNames2));
|
|
|
|
var stepItemStyle = (0,objectSpread2/* default */.Z)({}, style);
|
|
|
|
var accessibilityProps = {};
|
|
|
|
if (onStepClick && !disabled) {
|
|
accessibilityProps.role = 'button';
|
|
accessibilityProps.tabIndex = 0;
|
|
accessibilityProps.onClick = this.onClick;
|
|
}
|
|
|
|
return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({}, restProps, {
|
|
className: classString,
|
|
style: stepItemStyle
|
|
}), /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({
|
|
onClick: onClick
|
|
}, accessibilityProps, {
|
|
className: "".concat(prefixCls, "-item-container")
|
|
}), /*#__PURE__*/react.createElement("div", {
|
|
className: "".concat(prefixCls, "-item-tail")
|
|
}, tailContent), /*#__PURE__*/react.createElement("div", {
|
|
className: "".concat(prefixCls, "-item-icon")
|
|
}, this.renderIconNode()), /*#__PURE__*/react.createElement("div", {
|
|
className: "".concat(prefixCls, "-item-content")
|
|
}, /*#__PURE__*/react.createElement("div", {
|
|
className: "".concat(prefixCls, "-item-title")
|
|
}, title, subTitle && /*#__PURE__*/react.createElement("div", {
|
|
title: typeof subTitle === 'string' ? subTitle : undefined,
|
|
className: "".concat(prefixCls, "-item-subtitle")
|
|
}, subTitle)), description && /*#__PURE__*/react.createElement("div", {
|
|
className: "".concat(prefixCls, "-item-description")
|
|
}, description))));
|
|
}
|
|
}]);
|
|
|
|
return Step;
|
|
}(react.Component);
|
|
|
|
|
|
;// CONCATENATED MODULE: ./node_modules/rc-steps/es/Steps.js
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Steps_excluded = ["prefixCls", "style", "className", "children", "direction", "type", "labelPlacement", "iconPrefix", "status", "size", "current", "progressDot", "stepIcon", "initial", "icons", "onChange", "items"];
|
|
|
|
/* eslint react/no-did-mount-set-state: 0, react/prop-types: 0 */
|
|
|
|
|
|
|
|
|
|
var Steps = /*#__PURE__*/function (_React$Component) {
|
|
(0,inherits/* default */.Z)(Steps, _React$Component);
|
|
|
|
var _super = (0,createSuper/* default */.Z)(Steps);
|
|
|
|
function Steps() {
|
|
var _this;
|
|
|
|
(0,classCallCheck/* default */.Z)(this, Steps);
|
|
|
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
args[_key] = arguments[_key];
|
|
}
|
|
|
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
|
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "onStepClick", function (next) {
|
|
var _this$props = _this.props,
|
|
onChange = _this$props.onChange,
|
|
current = _this$props.current;
|
|
|
|
if (onChange && current !== next) {
|
|
onChange(next);
|
|
}
|
|
});
|
|
|
|
return _this;
|
|
}
|
|
|
|
(0,createClass/* default */.Z)(Steps, [{
|
|
key: "render",
|
|
value: function render() {
|
|
var _classNames,
|
|
_this2 = this;
|
|
|
|
var _this$props2 = this.props,
|
|
prefixCls = _this$props2.prefixCls,
|
|
_this$props2$style = _this$props2.style,
|
|
style = _this$props2$style === void 0 ? {} : _this$props2$style,
|
|
className = _this$props2.className,
|
|
children = _this$props2.children,
|
|
direction = _this$props2.direction,
|
|
type = _this$props2.type,
|
|
labelPlacement = _this$props2.labelPlacement,
|
|
iconPrefix = _this$props2.iconPrefix,
|
|
status = _this$props2.status,
|
|
size = _this$props2.size,
|
|
current = _this$props2.current,
|
|
progressDot = _this$props2.progressDot,
|
|
stepIcon = _this$props2.stepIcon,
|
|
initial = _this$props2.initial,
|
|
icons = _this$props2.icons,
|
|
onChange = _this$props2.onChange,
|
|
_this$props2$items = _this$props2.items,
|
|
items = _this$props2$items === void 0 ? [] : _this$props2$items,
|
|
restProps = (0,objectWithoutProperties/* default */.Z)(_this$props2, Steps_excluded);
|
|
|
|
var isNav = type === 'navigation';
|
|
var adjustedLabelPlacement = progressDot ? 'vertical' : labelPlacement;
|
|
var classString = classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(direction), className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), size), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-label-").concat(adjustedLabelPlacement), direction === 'horizontal'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-dot"), !!progressDot), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-navigation"), isNav), _classNames));
|
|
return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({
|
|
className: classString,
|
|
style: style
|
|
}, restProps), items.filter(function (item) {
|
|
return item;
|
|
}).map(function (item, index) {
|
|
var mergedItem = (0,objectSpread2/* default */.Z)({}, item);
|
|
|
|
var stepNumber = initial + index; // fix tail color
|
|
|
|
if (status === 'error' && index === current - 1) {
|
|
mergedItem.className = "".concat(prefixCls, "-next-error");
|
|
}
|
|
|
|
if (!mergedItem.status) {
|
|
if (stepNumber === current) {
|
|
mergedItem.status = status;
|
|
} else if (stepNumber < current) {
|
|
mergedItem.status = 'finish';
|
|
} else {
|
|
mergedItem.status = 'wait';
|
|
}
|
|
}
|
|
|
|
return /*#__PURE__*/react.createElement(Step, (0,esm_extends/* default */.Z)({}, mergedItem, {
|
|
active: stepNumber === current,
|
|
stepNumber: stepNumber + 1,
|
|
stepIndex: stepNumber,
|
|
key: stepNumber,
|
|
prefixCls: prefixCls,
|
|
iconPrefix: iconPrefix,
|
|
wrapperStyle: style,
|
|
progressDot: progressDot,
|
|
stepIcon: stepIcon,
|
|
icons: icons,
|
|
onStepClick: onChange && _this2.onStepClick
|
|
}));
|
|
}));
|
|
}
|
|
}]);
|
|
|
|
return Steps;
|
|
}(react.Component);
|
|
|
|
(0,defineProperty/* default */.Z)(Steps, "Step", Step);
|
|
|
|
(0,defineProperty/* default */.Z)(Steps, "defaultProps", {
|
|
type: 'default',
|
|
prefixCls: 'rc-steps',
|
|
iconPrefix: 'rc',
|
|
direction: 'horizontal',
|
|
labelPlacement: 'horizontal',
|
|
initial: 0,
|
|
current: 0,
|
|
status: 'process',
|
|
size: '',
|
|
progressDot: false
|
|
});
|
|
|
|
|
|
;// CONCATENATED MODULE: ./node_modules/rc-steps/es/index.js
|
|
|
|
|
|
|
|
/* harmony default export */ var es = (Steps);
|
|
// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js
|
|
var context = __webpack_require__(53124);
|
|
// EXTERNAL MODULE: ./node_modules/antd/es/grid/hooks/useBreakpoint.js
|
|
var useBreakpoint = __webpack_require__(25378);
|
|
// EXTERNAL MODULE: ./node_modules/antd/es/progress/index.js + 10 modules
|
|
var progress = __webpack_require__(97910);
|
|
// EXTERNAL MODULE: ./node_modules/rc-util/es/Children/toArray.js
|
|
var toArray = __webpack_require__(50344);
|
|
;// CONCATENATED MODULE: ./node_modules/antd/es/steps/useLegacyItems.js
|
|
|
|
|
|
|
|
|
|
function filter(items) {
|
|
return items.filter(function (item) {
|
|
return item;
|
|
});
|
|
}
|
|
function useLegacyItems(items, children) {
|
|
if (items) {
|
|
return items;
|
|
}
|
|
false ? 0 : void 0;
|
|
var childrenItems = (0,toArray/* default */.Z)(children).map(function (node) {
|
|
if ( /*#__PURE__*/react.isValidElement(node)) {
|
|
var props = node.props;
|
|
var item = (0,esm_extends/* default */.Z)({}, props);
|
|
return item;
|
|
}
|
|
return null;
|
|
});
|
|
return filter(childrenItems);
|
|
}
|
|
;// CONCATENATED MODULE: ./node_modules/antd/es/steps/index.js
|
|
|
|
|
|
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
var t = {};
|
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
}
|
|
return t;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var steps_Steps = function Steps(props) {
|
|
var _classNames;
|
|
var percent = props.percent,
|
|
size = props.size,
|
|
className = props.className,
|
|
direction = props.direction,
|
|
items = props.items,
|
|
_props$responsive = props.responsive,
|
|
responsive = _props$responsive === void 0 ? true : _props$responsive,
|
|
_props$current = props.current,
|
|
current = _props$current === void 0 ? 0 : _props$current,
|
|
children = props.children,
|
|
restProps = __rest(props, ["percent", "size", "className", "direction", "items", "responsive", "current", "children"]);
|
|
var _useBreakpoint = (0,useBreakpoint/* default */.Z)(responsive),
|
|
xs = _useBreakpoint.xs;
|
|
var _React$useContext = react.useContext(context/* ConfigContext */.E_),
|
|
getPrefixCls = _React$useContext.getPrefixCls,
|
|
rtlDirection = _React$useContext.direction;
|
|
var getDirection = react.useCallback(function () {
|
|
return responsive && xs ? 'vertical' : direction;
|
|
}, [xs, direction]);
|
|
var prefixCls = getPrefixCls('steps', props.prefixCls);
|
|
var iconPrefix = getPrefixCls('', props.iconPrefix);
|
|
var mergedItems = useLegacyItems(items, children);
|
|
var stepsClassName = classnames_default()((_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), rtlDirection === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-with-progress"), percent !== undefined), _classNames), className);
|
|
var icons = {
|
|
finish: /*#__PURE__*/react.createElement(CheckOutlined/* default */.Z, {
|
|
className: "".concat(prefixCls, "-finish-icon")
|
|
}),
|
|
error: /*#__PURE__*/react.createElement(CloseOutlined/* default */.Z, {
|
|
className: "".concat(prefixCls, "-error-icon")
|
|
})
|
|
};
|
|
var stepIconRender = function stepIconRender(_ref) {
|
|
var node = _ref.node,
|
|
status = _ref.status;
|
|
if (status === 'process' && percent !== undefined) {
|
|
// currently it's hard-coded, since we can't easily read the actually width of icon
|
|
var progressWidth = size === 'small' ? 32 : 40;
|
|
// iconWithProgress
|
|
return /*#__PURE__*/react.createElement("div", {
|
|
className: "".concat(prefixCls, "-progress-icon")
|
|
}, /*#__PURE__*/react.createElement(progress/* default */.Z, {
|
|
type: "circle",
|
|
percent: percent,
|
|
width: progressWidth,
|
|
strokeWidth: 4,
|
|
format: function format() {
|
|
return null;
|
|
}
|
|
}), node);
|
|
}
|
|
return node;
|
|
};
|
|
return /*#__PURE__*/react.createElement(es, (0,esm_extends/* default */.Z)({
|
|
icons: icons
|
|
}, restProps, {
|
|
current: current,
|
|
size: size,
|
|
items: mergedItems,
|
|
direction: getDirection(),
|
|
stepIcon: stepIconRender,
|
|
prefixCls: prefixCls,
|
|
iconPrefix: iconPrefix,
|
|
className: stepsClassName
|
|
}));
|
|
};
|
|
steps_Steps.Step = es.Step;
|
|
/* harmony default export */ var steps = (steps_Steps);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 32272:
|
|
/*!***************************************************************!*\
|
|
!*** ./node_modules/antd/es/steps/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/steps/style/index.less
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
// EXTERNAL MODULE: ./node_modules/antd/es/progress/style/index.js + 1 modules
|
|
var style = __webpack_require__(57273);
|
|
;// CONCATENATED MODULE: ./node_modules/antd/es/steps/style/index.js
|
|
|
|
|
|
// style dependencies
|
|
// deps-lint-skip: grid
|
|
|
|
|
|
/***/ })
|
|
|
|
}]); |