@zat-design/sisyphus-react 3.6.6 → 3.6.7-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.css +9 -0
- package/dist/less.esm.css +9 -0
- package/es/ProAction/index.js +4 -4
- package/es/ProDownload/index.d.ts +1 -1
- package/es/ProEditTable/components/ActionButton/index.d.ts +1 -1
- package/es/ProEditTable/components/RcTable/BaseTable.d.ts +6 -0
- package/es/ProEditTable/components/RcTable/BaseTable.js +75 -0
- package/es/ProEditTable/components/RcTable/DraggableTable.d.ts +7 -0
- package/es/ProEditTable/components/RcTable/DraggableTable.js +90 -0
- package/es/ProEditTable/components/RcTable/VirtualTable.d.ts +6 -0
- package/es/ProEditTable/components/RcTable/VirtualTable.js +166 -0
- package/es/ProEditTable/components/RcTable/index.d.ts +6 -0
- package/es/ProEditTable/components/RcTable/index.js +6 -0
- package/es/ProEditTable/components/RenderField/index.d.ts +1 -1
- package/es/ProEditTable/components/RenderField/index.js +27 -19
- package/es/ProEditTable/components/RenderToolbar/index.d.ts +1 -1
- package/es/ProEditTable/components/RenderToolbar/index.js +8 -6
- package/es/ProEditTable/components/Summary/index.d.ts +1 -1
- package/es/ProEditTable/index.js +33 -56
- package/es/ProEditTable/propsType.d.ts +11 -0
- package/es/ProEditTable/utils/config.d.ts +1 -1
- package/es/ProEditTable/utils/index.js +1 -1
- package/es/ProEditTable/utils/tools.js +3 -3
- package/es/ProEnum/components/Group.d.ts +1 -1
- package/es/ProEnum/components/Tag.d.ts +1 -1
- package/es/ProEnum/index.d.ts +2 -2
- package/es/ProEnum/utils/eventCenter.js +1 -2
- package/es/ProEnum/utils/getEnumLabel.d.ts +1 -1
- package/es/ProForm/components/base/Input/index.d.ts +1 -1
- package/es/ProForm/components/base/InputNumber/index.js +8 -2
- package/es/ProForm/components/combination/ProCascader/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProCascader/index.js +9 -7
- package/es/ProForm/components/old/InputRange/index.d.ts +1 -1
- package/es/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
- package/es/ProForm/components/old/ProAddress/index.d.ts +1 -2
- package/es/ProForm/components/old/ProRangeBox/index.d.ts +1 -2
- package/es/ProForm/utils/index.js +14 -10
- package/es/ProForm/utils/useWatch.d.ts +1 -2
- package/es/ProIcon/utils/index.js +4 -3
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +1 -1
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +3 -3
- package/es/ProLayout/components/ProCollapse/index.d.ts +1 -1
- package/es/ProLayout/components/ProFooter/index.d.ts +1 -1
- package/es/ProLayout/components/ProHeader/components/Copy/index.d.ts +1 -1
- package/es/ProLayout/components/ProHeader/index.d.ts +1 -1
- package/es/ProLayout/index.d.ts +4 -4
- package/es/ProLayout/utils/index.js +9 -9
- package/es/ProSelect/components/AdaptiveTooltip.d.ts +1 -1
- package/es/ProSelect/index.d.ts +1 -1
- package/es/ProSelect/index.js +1 -1
- package/es/ProStep/components/Anchor/index.d.ts +1 -1
- package/es/ProStep/components/Item/index.d.ts +1 -1
- package/es/ProStep/components/Step/index.d.ts +1 -1
- package/es/ProStep/index.d.ts +2 -2
- package/es/ProTable/components/DndWrapper/index.d.ts +2 -1
- package/es/ProTable/components/DndWrapper/index.js +49 -10
- package/es/ProTable/components/DndWrapper/utils/index.d.ts +8 -0
- package/es/ProTable/components/DndWrapper/utils/index.js +165 -0
- package/es/ProTable/components/DndWrapper/utils/propsType.d.ts +61 -0
- package/es/ProTable/components/DndWrapper/utils/propsType.js +1 -0
- package/es/ProTable/components/ResizableLine/index.d.ts +1 -1
- package/es/ProTable/components/TableResizable/index.d.ts +1 -1
- package/es/ProTable/index.d.ts +1 -1
- package/es/ProTable/index.js +2 -1
- package/es/ProTable/propsType.d.ts +2 -1
- package/es/ProTable/style/index.less +9 -0
- package/es/ProTable/useAntdTable.d.ts +2 -2
- package/es/ProTable/useAntdTable.js +17 -3
- package/es/ProTable/utils.js +3 -3
- package/es/ProTabs/components/Card/index.d.ts +1 -1
- package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/es/ProThemeTools/index.d.ts +1 -1
- package/es/ProTooltip/index.d.ts +1 -1
- package/es/ProTree/components/CloseIcon.d.ts +1 -2
- package/es/ProTree/components/List.d.ts +1 -1
- package/es/ProTree/components/ProTree.d.ts +1 -1
- package/es/ProTree/components/ProTreeSelect/index.d.ts +1 -1
- package/es/ProTree/components/ProTreeSelect/index.js +18 -18
- package/es/ProTree/components/SearchTitle.d.ts +1 -1
- package/es/ProTree/components/Tree.d.ts +1 -1
- package/es/ProTree/components/Tree.js +3 -3
- package/es/ProTree/index.d.ts +1 -1
- package/es/ProTree/utils.js +12 -11
- package/es/ProTreeModal/components/Cascader.d.ts +1 -1
- package/es/ProTreeModal/components/CloseIcon.d.ts +1 -2
- package/es/ProTreeModal/components/SearchTitle.d.ts +1 -1
- package/es/ProTreeModal/components/Tree.js +6 -6
- package/es/ProTreeModal/components/Trigger.d.ts +1 -1
- package/es/ProTreeModal/index.d.ts +1 -1
- package/es/ProTreeModal/utils.js +12 -11
- package/es/ProUpload/components/DraggableUploadListItem.d.ts +1 -1
- package/lib/ProAction/index.js +4 -4
- package/lib/ProDownload/index.d.ts +1 -1
- package/lib/ProEditTable/components/ActionButton/index.d.ts +1 -1
- package/lib/ProEditTable/components/RcTable/BaseTable.d.ts +6 -0
- package/lib/ProEditTable/components/RcTable/BaseTable.js +81 -0
- package/lib/ProEditTable/components/RcTable/DraggableTable.d.ts +7 -0
- package/lib/ProEditTable/components/RcTable/DraggableTable.js +96 -0
- package/lib/ProEditTable/components/RcTable/VirtualTable.d.ts +6 -0
- package/lib/ProEditTable/components/RcTable/VirtualTable.js +172 -0
- package/lib/ProEditTable/components/RcTable/index.d.ts +6 -0
- package/lib/ProEditTable/components/RcTable/index.js +27 -0
- package/lib/ProEditTable/components/RenderField/index.d.ts +1 -1
- package/lib/ProEditTable/components/RenderField/index.js +27 -19
- package/lib/ProEditTable/components/RenderToolbar/index.d.ts +1 -1
- package/lib/ProEditTable/components/RenderToolbar/index.js +7 -5
- package/lib/ProEditTable/components/Summary/index.d.ts +1 -1
- package/lib/ProEditTable/index.js +32 -53
- package/lib/ProEditTable/propsType.d.ts +11 -0
- package/lib/ProEditTable/utils/config.d.ts +1 -1
- package/lib/ProEditTable/utils/index.js +1 -1
- package/lib/ProEditTable/utils/tools.js +3 -3
- package/lib/ProEnum/components/Group.d.ts +1 -1
- package/lib/ProEnum/components/Tag.d.ts +1 -1
- package/lib/ProEnum/index.d.ts +2 -2
- package/lib/ProEnum/utils/eventCenter.js +1 -2
- package/lib/ProEnum/utils/getEnumLabel.d.ts +1 -1
- package/lib/ProForm/components/base/Input/index.d.ts +1 -1
- package/lib/ProForm/components/base/InputNumber/index.js +8 -2
- package/lib/ProForm/components/combination/ProCascader/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProCascader/index.js +9 -7
- package/lib/ProForm/components/old/InputRange/index.d.ts +1 -1
- package/lib/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
- package/lib/ProForm/components/old/ProAddress/index.d.ts +1 -2
- package/lib/ProForm/components/old/ProRangeBox/index.d.ts +1 -2
- package/lib/ProForm/utils/index.js +10 -10
- package/lib/ProForm/utils/useWatch.d.ts +1 -2
- package/lib/ProIcon/utils/index.js +3 -3
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +1 -1
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +3 -3
- package/lib/ProLayout/components/ProCollapse/index.d.ts +1 -1
- package/lib/ProLayout/components/ProFooter/index.d.ts +1 -1
- package/lib/ProLayout/components/ProHeader/components/Copy/index.d.ts +1 -1
- package/lib/ProLayout/components/ProHeader/index.d.ts +1 -1
- package/lib/ProLayout/index.d.ts +4 -4
- package/lib/ProLayout/utils/index.js +9 -9
- package/lib/ProSelect/components/AdaptiveTooltip.d.ts +1 -1
- package/lib/ProSelect/index.d.ts +1 -1
- package/lib/ProSelect/index.js +1 -1
- package/lib/ProStep/components/Anchor/index.d.ts +1 -1
- package/lib/ProStep/components/Item/index.d.ts +1 -1
- package/lib/ProStep/components/Step/index.d.ts +1 -1
- package/lib/ProStep/index.d.ts +2 -2
- package/lib/ProTable/components/DndWrapper/index.d.ts +2 -1
- package/lib/ProTable/components/DndWrapper/index.js +48 -9
- package/lib/ProTable/components/DndWrapper/utils/index.d.ts +8 -0
- package/lib/ProTable/components/DndWrapper/utils/index.js +177 -0
- package/lib/ProTable/components/DndWrapper/utils/propsType.d.ts +61 -0
- package/lib/ProTable/components/DndWrapper/utils/propsType.js +5 -0
- package/lib/ProTable/components/ResizableLine/index.d.ts +1 -1
- package/lib/ProTable/components/TableResizable/index.d.ts +1 -1
- package/lib/ProTable/index.d.ts +1 -1
- package/lib/ProTable/index.js +2 -1
- package/lib/ProTable/propsType.d.ts +2 -1
- package/lib/ProTable/style/index.less +9 -0
- package/lib/ProTable/useAntdTable.d.ts +2 -2
- package/lib/ProTable/useAntdTable.js +16 -2
- package/lib/ProTable/utils.js +3 -3
- package/lib/ProTabs/components/Card/index.d.ts +1 -1
- package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/lib/ProThemeTools/index.d.ts +1 -1
- package/lib/ProTooltip/index.d.ts +1 -1
- package/lib/ProTree/components/CloseIcon.d.ts +1 -2
- package/lib/ProTree/components/List.d.ts +1 -1
- package/lib/ProTree/components/ProTree.d.ts +1 -1
- package/lib/ProTree/components/ProTreeSelect/index.d.ts +1 -1
- package/lib/ProTree/components/ProTreeSelect/index.js +18 -18
- package/lib/ProTree/components/SearchTitle.d.ts +1 -1
- package/lib/ProTree/components/Tree.d.ts +1 -1
- package/lib/ProTree/components/Tree.js +3 -3
- package/lib/ProTree/index.d.ts +1 -1
- package/lib/ProTree/utils.js +11 -11
- package/lib/ProTreeModal/components/Cascader.d.ts +1 -1
- package/lib/ProTreeModal/components/CloseIcon.d.ts +1 -2
- package/lib/ProTreeModal/components/SearchTitle.d.ts +1 -1
- package/lib/ProTreeModal/components/Tree.js +6 -6
- package/lib/ProTreeModal/components/Trigger.d.ts +1 -1
- package/lib/ProTreeModal/index.d.ts +1 -1
- package/lib/ProTreeModal/utils.js +11 -11
- package/lib/ProUpload/components/DraggableUploadListItem.d.ts +1 -1
- package/package.json +6 -3
package/dist/index.esm.css
CHANGED
|
@@ -1783,6 +1783,15 @@
|
|
|
1783
1783
|
.pro-table.pro-table-draggable-only .ant-table-tbody .anticon {
|
|
1784
1784
|
margin-right: 0;
|
|
1785
1785
|
}
|
|
1786
|
+
.pro-table .ant-table-cell-with-append {
|
|
1787
|
+
white-space: nowrap;
|
|
1788
|
+
position: relative;
|
|
1789
|
+
z-index: 100;
|
|
1790
|
+
}
|
|
1791
|
+
.pro-table .ant-table-row-expand-icon {
|
|
1792
|
+
position: absolute;
|
|
1793
|
+
left: -16px;
|
|
1794
|
+
}
|
|
1786
1795
|
.pro-table .ant-table-content > table .ant-table-summary {
|
|
1787
1796
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
|
1788
1797
|
color: var(--zaui-text, #343434);
|
package/dist/less.esm.css
CHANGED
|
@@ -1783,6 +1783,15 @@
|
|
|
1783
1783
|
.pro-table.pro-table-draggable-only .ant-table-tbody .anticon {
|
|
1784
1784
|
margin-right: 0;
|
|
1785
1785
|
}
|
|
1786
|
+
.pro-table .ant-table-cell-with-append {
|
|
1787
|
+
white-space: nowrap;
|
|
1788
|
+
position: relative;
|
|
1789
|
+
z-index: 100;
|
|
1790
|
+
}
|
|
1791
|
+
.pro-table .ant-table-row-expand-icon {
|
|
1792
|
+
position: absolute;
|
|
1793
|
+
left: -16px;
|
|
1794
|
+
}
|
|
1786
1795
|
.pro-table .ant-table-content > table .ant-table-summary {
|
|
1787
1796
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
|
1788
1797
|
color: var(--zaui-text, #343434);
|
package/es/ProAction/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var ProAction = function ProAction(props) {
|
|
|
39
39
|
var index = state.index,
|
|
40
40
|
servicesArray = state.servicesArray;
|
|
41
41
|
var length = config.length;
|
|
42
|
-
var
|
|
42
|
+
var _onActionRun = /*#__PURE__*/function () {
|
|
43
43
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(currentIndex, array) {
|
|
44
44
|
var _actionProps$useReque, _options$onSuccess, _newServicesArray$cur, _newServicesArray$cur2, _newServicesArray$cur3, _actionProps$onAction, _actionProps$continue;
|
|
45
45
|
var actionProps, newServicesArray, _ref2, service, options, transformResponse, res, data, open, _newServicesArray$cur4, _newServicesArray$cur5, _newServicesArray$cur6, list, errorTitle, isContinue;
|
|
@@ -136,7 +136,7 @@ var ProAction = function ProAction(props) {
|
|
|
136
136
|
return _context.abrupt("return", false);
|
|
137
137
|
case 44:
|
|
138
138
|
if (currentIndex + 1 < length) {
|
|
139
|
-
|
|
139
|
+
_onActionRun(currentIndex + 1, newServicesArray);
|
|
140
140
|
} else {
|
|
141
141
|
setState({
|
|
142
142
|
loading: false
|
|
@@ -154,7 +154,7 @@ var ProAction = function ProAction(props) {
|
|
|
154
154
|
}();
|
|
155
155
|
var ChildContent = /*#__PURE__*/React.cloneElement(children, {
|
|
156
156
|
onClick: function onClick() {
|
|
157
|
-
|
|
157
|
+
_onActionRun(0, []);
|
|
158
158
|
},
|
|
159
159
|
loading: state.loading
|
|
160
160
|
});
|
|
@@ -166,7 +166,7 @@ var ProAction = function ProAction(props) {
|
|
|
166
166
|
return _jsxs(_Fragment, {
|
|
167
167
|
children: [((_config$ = config[0]) === null || _config$ === void 0 ? void 0 : _config$.mode) === 'confirm' ? _jsx(_Popconfirm, {
|
|
168
168
|
onConfirm: function onConfirm() {
|
|
169
|
-
return
|
|
169
|
+
return _onActionRun(0, []);
|
|
170
170
|
},
|
|
171
171
|
title: ((_config$2 = config[0]) === null || _config$2 === void 0 ? void 0 : _config$2.title) || (locale === null || locale === void 0 ? void 0 : (_locale$ProAction2 = locale.ProAction) === null || _locale$ProAction2 === void 0 ? void 0 : _locale$ProAction2.defaultTitle),
|
|
172
172
|
children: children
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IProDownloadProps } from './propsType';
|
|
2
2
|
declare const ProDownload: {
|
|
3
|
-
(props: IProDownloadProps): JSX.Element;
|
|
3
|
+
(props: IProDownloadProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
downLoadRequest: import("./utils").DownloadRequestProps;
|
|
5
5
|
};
|
|
6
6
|
export default ProDownload;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ActionButton: ({ record, index, config, btnConfig }: any) => JSX.Element;
|
|
1
|
+
declare const ActionButton: ({ record, index, config, btnConfig }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default ActionButton;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
+
import "antd/es/table/style";
|
|
3
|
+
import _Table from "antd/es/table";
|
|
4
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
|
+
var _excluded = ["tableProps"];
|
|
6
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { memo } from 'react';
|
|
8
|
+
var BaseTable = function BaseTable(_ref) {
|
|
9
|
+
var _value$;
|
|
10
|
+
var tableProps = _ref.tableProps,
|
|
11
|
+
resetProps = _objectWithoutProperties(_ref, _excluded);
|
|
12
|
+
var value = tableProps.value,
|
|
13
|
+
headerRender = tableProps.headerRender,
|
|
14
|
+
tableRef = tableProps.tableRef,
|
|
15
|
+
className = tableProps.className,
|
|
16
|
+
columns = tableProps.columns,
|
|
17
|
+
renderRowSelection = tableProps.renderRowSelection,
|
|
18
|
+
rowClassName = tableProps.rowClassName,
|
|
19
|
+
disabled = tableProps.disabled,
|
|
20
|
+
virtualKey = tableProps.virtualKey,
|
|
21
|
+
editingKeys = tableProps.editingKeys,
|
|
22
|
+
isHideCheckBox = tableProps.isHideCheckBox,
|
|
23
|
+
rowDraggable = tableProps.rowDraggable,
|
|
24
|
+
pagination = tableProps.pagination,
|
|
25
|
+
scroll = tableProps.scroll,
|
|
26
|
+
summary = tableProps.summary,
|
|
27
|
+
page = tableProps.page,
|
|
28
|
+
formatMessage = tableProps.formatMessage,
|
|
29
|
+
locale = tableProps.locale,
|
|
30
|
+
handlePageChange = tableProps.handlePageChange;
|
|
31
|
+
return _jsxs(_Fragment, {
|
|
32
|
+
children: [headerRender ? _jsx("div", {
|
|
33
|
+
className: "pro-edit-table-header",
|
|
34
|
+
children: typeof headerRender === 'function' ? headerRender() : headerRender
|
|
35
|
+
}) : null, _jsx(_Table, _objectSpread(_objectSpread({
|
|
36
|
+
ref: tableRef,
|
|
37
|
+
className: className,
|
|
38
|
+
dataSource: (value === null || value === void 0 ? void 0 : (_value$ = value[0]) === null || _value$ === void 0 ? void 0 : _value$.rowKey) ? value : undefined,
|
|
39
|
+
columns: columns,
|
|
40
|
+
rowSelection: renderRowSelection(),
|
|
41
|
+
rowClassName: rowClassName,
|
|
42
|
+
onRow: function onRow() {
|
|
43
|
+
return {
|
|
44
|
+
disabled: disabled || virtualKey && !!editingKeys.length,
|
|
45
|
+
'data-hide': isHideCheckBox,
|
|
46
|
+
onClick: function onClick() {},
|
|
47
|
+
rowDraggable: rowDraggable
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
}, resetProps), {}, {
|
|
51
|
+
pagination: pagination ? _objectSpread({
|
|
52
|
+
current: page.pageNum,
|
|
53
|
+
pageSize: page.pageSize,
|
|
54
|
+
showSizeChanger: false,
|
|
55
|
+
showQuickJumper: true,
|
|
56
|
+
total: value === null || value === void 0 ? void 0 : value.length,
|
|
57
|
+
showTotal: function showTotal(total) {
|
|
58
|
+
var _locale$ProEditTable;
|
|
59
|
+
if (!total) return;
|
|
60
|
+
return formatMessage(locale === null || locale === void 0 ? void 0 : (_locale$ProEditTable = locale.ProEditTable) === null || _locale$ProEditTable === void 0 ? void 0 : _locale$ProEditTable.total, {
|
|
61
|
+
total: total
|
|
62
|
+
});
|
|
63
|
+
},
|
|
64
|
+
onChange: handlePageChange
|
|
65
|
+
}, pagination) : false,
|
|
66
|
+
rowKey: "rowKey",
|
|
67
|
+
scroll: {
|
|
68
|
+
x: scroll === null || scroll === void 0 ? void 0 : scroll.x,
|
|
69
|
+
y: (value === null || value === void 0 ? void 0 : value.length) ? scroll === null || scroll === void 0 ? void 0 : scroll.y : undefined
|
|
70
|
+
},
|
|
71
|
+
summary: summary
|
|
72
|
+
}))]
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
export default /*#__PURE__*/memo(BaseTable);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").MemoExoticComponent<({ tableProps, draggableProps, ...resetProps }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
tableProps: any;
|
|
5
|
+
draggableProps: any;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
+
import "antd/es/table/style";
|
|
3
|
+
import _Table from "antd/es/table";
|
|
4
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
|
+
var _excluded = ["tableProps", "draggableProps"];
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { memo } from 'react';
|
|
8
|
+
import { DndWrapper, Row } from '../index';
|
|
9
|
+
var DraggableTable = function DraggableTable(_ref) {
|
|
10
|
+
var _value$;
|
|
11
|
+
var tableProps = _ref.tableProps,
|
|
12
|
+
draggableProps = _ref.draggableProps,
|
|
13
|
+
resetProps = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
var value = tableProps.value,
|
|
15
|
+
headerRender = tableProps.headerRender,
|
|
16
|
+
tableRef = tableProps.tableRef,
|
|
17
|
+
className = tableProps.className,
|
|
18
|
+
columns = tableProps.columns,
|
|
19
|
+
renderRowSelection = tableProps.renderRowSelection,
|
|
20
|
+
rowClassName = tableProps.rowClassName,
|
|
21
|
+
disabled = tableProps.disabled,
|
|
22
|
+
virtualKey = tableProps.virtualKey,
|
|
23
|
+
editingKeys = tableProps.editingKeys,
|
|
24
|
+
isHideCheckBox = tableProps.isHideCheckBox,
|
|
25
|
+
rowDraggable = tableProps.rowDraggable,
|
|
26
|
+
pagination = tableProps.pagination,
|
|
27
|
+
scroll = tableProps.scroll,
|
|
28
|
+
summary = tableProps.summary,
|
|
29
|
+
page = tableProps.page,
|
|
30
|
+
formatMessage = tableProps.formatMessage,
|
|
31
|
+
locale = tableProps.locale,
|
|
32
|
+
handlePageChange = tableProps.handlePageChange;
|
|
33
|
+
var onChange = draggableProps.onChange,
|
|
34
|
+
onDrag = draggableProps.onDrag,
|
|
35
|
+
draggable = draggableProps.draggable;
|
|
36
|
+
return _jsxs(DndWrapper, {
|
|
37
|
+
value: value,
|
|
38
|
+
onChange: onChange,
|
|
39
|
+
onDrag: onDrag,
|
|
40
|
+
disabled: disabled,
|
|
41
|
+
draggable: draggable,
|
|
42
|
+
children: [headerRender ? _jsx("div", {
|
|
43
|
+
className: "pro-edit-table-header",
|
|
44
|
+
children: typeof headerRender === 'function' ? headerRender() : headerRender
|
|
45
|
+
}) : null, _jsx(_Table, _objectSpread(_objectSpread({
|
|
46
|
+
ref: tableRef,
|
|
47
|
+
className: className,
|
|
48
|
+
dataSource: (value === null || value === void 0 ? void 0 : (_value$ = value[0]) === null || _value$ === void 0 ? void 0 : _value$.rowKey) ? value : undefined,
|
|
49
|
+
columns: columns,
|
|
50
|
+
rowSelection: renderRowSelection(),
|
|
51
|
+
rowClassName: rowClassName,
|
|
52
|
+
components: {
|
|
53
|
+
body: {
|
|
54
|
+
row: Row
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
onRow: function onRow() {
|
|
58
|
+
return {
|
|
59
|
+
disabled: disabled || virtualKey && !!editingKeys.length,
|
|
60
|
+
'data-hide': isHideCheckBox,
|
|
61
|
+
onClick: function onClick() {},
|
|
62
|
+
rowDraggable: rowDraggable
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}, resetProps), {}, {
|
|
66
|
+
pagination: pagination ? _objectSpread({
|
|
67
|
+
current: page.pageNum,
|
|
68
|
+
pageSize: page.pageSize,
|
|
69
|
+
showSizeChanger: false,
|
|
70
|
+
showQuickJumper: true,
|
|
71
|
+
total: value === null || value === void 0 ? void 0 : value.length,
|
|
72
|
+
showTotal: function showTotal(total) {
|
|
73
|
+
var _locale$ProEditTable;
|
|
74
|
+
if (!total) return;
|
|
75
|
+
return formatMessage(locale === null || locale === void 0 ? void 0 : (_locale$ProEditTable = locale.ProEditTable) === null || _locale$ProEditTable === void 0 ? void 0 : _locale$ProEditTable.total, {
|
|
76
|
+
total: total
|
|
77
|
+
});
|
|
78
|
+
},
|
|
79
|
+
onChange: handlePageChange
|
|
80
|
+
}, pagination) : false,
|
|
81
|
+
rowKey: "rowKey",
|
|
82
|
+
scroll: {
|
|
83
|
+
x: scroll === null || scroll === void 0 ? void 0 : scroll.x,
|
|
84
|
+
y: (value === null || value === void 0 ? void 0 : value.length) ? scroll === null || scroll === void 0 ? void 0 : scroll.y : undefined
|
|
85
|
+
},
|
|
86
|
+
summary: summary
|
|
87
|
+
}))]
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
export default /*#__PURE__*/memo(DraggableTable);
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import "antd/es/table/style";
|
|
2
|
+
import _Table from "antd/es/table";
|
|
3
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
4
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
5
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
6
|
+
var _excluded = ["tableProps"];
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { useEffect, useRef, useState, memo } from 'react';
|
|
9
|
+
import classNames from 'classnames';
|
|
10
|
+
import ResizeObserver from 'rc-resize-observer';
|
|
11
|
+
import { VariableSizeGrid } from 'react-window';
|
|
12
|
+
var VirtualTable = function VirtualTable(_ref) {
|
|
13
|
+
var _value$;
|
|
14
|
+
var tableProps = _ref.tableProps,
|
|
15
|
+
resetProps = _objectWithoutProperties(_ref, _excluded);
|
|
16
|
+
var value = tableProps.value,
|
|
17
|
+
headerRender = tableProps.headerRender,
|
|
18
|
+
tableRef = tableProps.tableRef,
|
|
19
|
+
className = tableProps.className,
|
|
20
|
+
columns = tableProps.columns,
|
|
21
|
+
renderRowSelection = tableProps.renderRowSelection,
|
|
22
|
+
rowClassName = tableProps.rowClassName,
|
|
23
|
+
disabled = tableProps.disabled,
|
|
24
|
+
virtualKey = tableProps.virtualKey,
|
|
25
|
+
editingKeys = tableProps.editingKeys,
|
|
26
|
+
isHideCheckBox = tableProps.isHideCheckBox,
|
|
27
|
+
rowDraggable = tableProps.rowDraggable,
|
|
28
|
+
scroll = tableProps.scroll,
|
|
29
|
+
summary = tableProps.summary;
|
|
30
|
+
var _useState = useState(0),
|
|
31
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
32
|
+
tableWidth = _useState2[0],
|
|
33
|
+
setTableWidth = _useState2[1];
|
|
34
|
+
var widthColumnCount = columns.filter(function (_ref2) {
|
|
35
|
+
var width = _ref2.width;
|
|
36
|
+
return !width;
|
|
37
|
+
}).length;
|
|
38
|
+
var mergedColumns = columns.map(function (column) {
|
|
39
|
+
if (column.width) {
|
|
40
|
+
return column;
|
|
41
|
+
}
|
|
42
|
+
return _objectSpread(_objectSpread({}, column), {}, {
|
|
43
|
+
width: Math.floor(tableWidth / widthColumnCount)
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
var gridRef = useRef();
|
|
47
|
+
var _useState3 = useState(function () {
|
|
48
|
+
var obj = {};
|
|
49
|
+
Object.defineProperty(obj, 'scrollLeft', {
|
|
50
|
+
get: function get() {
|
|
51
|
+
if (gridRef.current) {
|
|
52
|
+
var _gridRef$current, _gridRef$current$stat;
|
|
53
|
+
return (_gridRef$current = gridRef.current) === null || _gridRef$current === void 0 ? void 0 : (_gridRef$current$stat = _gridRef$current.state) === null || _gridRef$current$stat === void 0 ? void 0 : _gridRef$current$stat.scrollLeft;
|
|
54
|
+
}
|
|
55
|
+
return null;
|
|
56
|
+
},
|
|
57
|
+
set: function set(scrollLeft) {
|
|
58
|
+
if (gridRef.current) {
|
|
59
|
+
gridRef.current.scrollTo({
|
|
60
|
+
scrollLeft: scrollLeft
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
return obj;
|
|
66
|
+
}),
|
|
67
|
+
_useState4 = _slicedToArray(_useState3, 1),
|
|
68
|
+
connectObject = _useState4[0];
|
|
69
|
+
var resetVirtualGrid = function resetVirtualGrid() {
|
|
70
|
+
var _gridRef$current2;
|
|
71
|
+
(_gridRef$current2 = gridRef.current) === null || _gridRef$current2 === void 0 ? void 0 : _gridRef$current2.resetAfterIndices({
|
|
72
|
+
columnIndex: 0,
|
|
73
|
+
shouldForceUpdate: true
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
useEffect(function () {
|
|
77
|
+
return resetVirtualGrid;
|
|
78
|
+
}, [tableWidth]);
|
|
79
|
+
var renderVirtualList = function renderVirtualList(rawData, _ref3) {
|
|
80
|
+
var scrollbarSize = _ref3.scrollbarSize,
|
|
81
|
+
ref = _ref3.ref,
|
|
82
|
+
_onScroll = _ref3.onScroll;
|
|
83
|
+
ref.current = connectObject;
|
|
84
|
+
var totalHeight = rawData.length * 54;
|
|
85
|
+
return _jsx(VariableSizeGrid, {
|
|
86
|
+
ref: gridRef,
|
|
87
|
+
className: "virtual-grid",
|
|
88
|
+
columnCount: mergedColumns.length,
|
|
89
|
+
columnWidth: function columnWidth(index) {
|
|
90
|
+
var _width2;
|
|
91
|
+
var width = mergedColumns[index].width;
|
|
92
|
+
var _width = width;
|
|
93
|
+
if (typeof _width === 'string' && ((_width2 = _width) === null || _width2 === void 0 ? void 0 : _width2.includes('px'))) {
|
|
94
|
+
_width = parseInt(width, 10);
|
|
95
|
+
}
|
|
96
|
+
return totalHeight > scroll.y && index === mergedColumns.length - 1 ? _width - scrollbarSize - 1 : _width;
|
|
97
|
+
},
|
|
98
|
+
height: scroll.y,
|
|
99
|
+
rowCount: rawData.length,
|
|
100
|
+
rowHeight: function rowHeight() {
|
|
101
|
+
return 54;
|
|
102
|
+
},
|
|
103
|
+
width: tableWidth,
|
|
104
|
+
onScroll: function onScroll(_ref4) {
|
|
105
|
+
var scrollLeft = _ref4.scrollLeft;
|
|
106
|
+
_onScroll({
|
|
107
|
+
scrollLeft: scrollLeft
|
|
108
|
+
});
|
|
109
|
+
},
|
|
110
|
+
children: function children(_ref5) {
|
|
111
|
+
var columnIndex = _ref5.columnIndex,
|
|
112
|
+
rowIndex = _ref5.rowIndex,
|
|
113
|
+
style = _ref5.style;
|
|
114
|
+
return _jsx("div", {
|
|
115
|
+
className: classNames('virtual-table-cell', {
|
|
116
|
+
'virtual-table-cell-last': columnIndex === mergedColumns.length - 1
|
|
117
|
+
}),
|
|
118
|
+
style: style,
|
|
119
|
+
children: rawData[rowIndex][mergedColumns[columnIndex].dataIndex]
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
return _jsxs(ResizeObserver, {
|
|
125
|
+
onResize: function onResize(_ref6) {
|
|
126
|
+
var _width3;
|
|
127
|
+
var width = _ref6.width;
|
|
128
|
+
var _width = width;
|
|
129
|
+
if (typeof _width === 'string' && ((_width3 = _width) === null || _width3 === void 0 ? void 0 : _width3.includes('px'))) {
|
|
130
|
+
_width = parseInt(width, 10);
|
|
131
|
+
}
|
|
132
|
+
setTableWidth(_width);
|
|
133
|
+
},
|
|
134
|
+
children: [headerRender ? _jsx("div", {
|
|
135
|
+
className: "pro-edit-table-header",
|
|
136
|
+
children: typeof headerRender === 'function' ? headerRender() : headerRender
|
|
137
|
+
}) : null, _jsx(_Table, _objectSpread(_objectSpread({
|
|
138
|
+
ref: tableRef,
|
|
139
|
+
className: className,
|
|
140
|
+
dataSource: (value === null || value === void 0 ? void 0 : (_value$ = value[0]) === null || _value$ === void 0 ? void 0 : _value$.rowKey) ? value : undefined,
|
|
141
|
+
columns: mergedColumns,
|
|
142
|
+
rowSelection: renderRowSelection(),
|
|
143
|
+
rowClassName: rowClassName,
|
|
144
|
+
components: {
|
|
145
|
+
body: renderVirtualList
|
|
146
|
+
},
|
|
147
|
+
onRow: function onRow() {
|
|
148
|
+
return {
|
|
149
|
+
disabled: disabled || virtualKey && !!editingKeys.length,
|
|
150
|
+
'data-hide': isHideCheckBox,
|
|
151
|
+
onClick: function onClick() {},
|
|
152
|
+
rowDraggable: rowDraggable
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
}, resetProps), {}, {
|
|
156
|
+
pagination: false,
|
|
157
|
+
rowKey: "rowKey",
|
|
158
|
+
scroll: {
|
|
159
|
+
x: scroll === null || scroll === void 0 ? void 0 : scroll.x,
|
|
160
|
+
y: (value === null || value === void 0 ? void 0 : value.length) ? scroll === null || scroll === void 0 ? void 0 : scroll.y : undefined
|
|
161
|
+
},
|
|
162
|
+
summary: summary
|
|
163
|
+
}))]
|
|
164
|
+
});
|
|
165
|
+
};
|
|
166
|
+
export default /*#__PURE__*/memo(VirtualTable);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const RenderField: ({ text: value, record, index, column, config }: any) => JSX.Element;
|
|
1
|
+
declare const RenderField: ({ text: value, record, index, column, config }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default RenderField;
|
|
@@ -11,7 +11,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
|
11
11
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
12
12
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
13
13
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
14
|
-
var _excluded = ["type", "valueType", "names", "fieldProps", "labelRequired", "editRender", "component", "viewRender", "title", "originTitle", "label", "dataIndex", "formItemProps", "isEditable", "required", "rules", "equalWith", "className", "trim", "confirm"];
|
|
14
|
+
var _excluded = ["type", "valueType", "names", "fieldProps", "labelRequired", "editRender", "component", "viewRender", "title", "originTitle", "label", "dataIndex", "formItemProps", "isEditable", "required", "rules", "equalWith", "className", "trim", "confirm", "validateTrigger"];
|
|
15
15
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
16
|
/* eslint-disable prefer-destructuring */
|
|
17
17
|
/* eslint-disable prefer-const */
|
|
@@ -60,6 +60,8 @@ var RenderField = function RenderField(_ref) {
|
|
|
60
60
|
className = column.className,
|
|
61
61
|
trim = column.trim,
|
|
62
62
|
confirm = column.confirm,
|
|
63
|
+
_column$validateTrigg = column.validateTrigger,
|
|
64
|
+
validateTrigger = _column$validateTrigg === void 0 ? ['onChange', 'onBlur', 'onSumbit'] : _column$validateTrigg,
|
|
63
65
|
resetProps = _objectWithoutProperties(column, _excluded);
|
|
64
66
|
// editRender弃用使用component同ProForm
|
|
65
67
|
var _editRender = component || editRender;
|
|
@@ -158,7 +160,9 @@ var RenderField = function RenderField(_ref) {
|
|
|
158
160
|
// 分离form item参数,防止对于参数透传(如onChange,防止重复触发)并优先级高于 _fieldProps 内部参数
|
|
159
161
|
var formItemChildProps = _objectSpread({}, _fieldProps);
|
|
160
162
|
// 允许formItem的属性放在column最外层
|
|
161
|
-
var _formItemProps = _objectSpread(_objectSpread({}, resetProps), internalRule)
|
|
163
|
+
var _formItemProps = _objectSpread(_objectSpread(_objectSpread({}, resetProps), internalRule), {}, {
|
|
164
|
+
validateTrigger: validateTrigger
|
|
165
|
+
});
|
|
162
166
|
if (['Switch', 'SwitchCheckbox'].includes(type)) {
|
|
163
167
|
_formItemProps.valuePropName = 'checked';
|
|
164
168
|
valueType = 'switch';
|
|
@@ -375,15 +379,17 @@ var RenderField = function RenderField(_ref) {
|
|
|
375
379
|
case 29:
|
|
376
380
|
// 判断属性是否变动
|
|
377
381
|
form.setFieldValue(rowPath, row);
|
|
378
|
-
if (
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
382
|
+
if (validateTrigger && validateTrigger.includes('onChange')) {
|
|
383
|
+
if (!isEqual(orgRow, row)) {
|
|
384
|
+
diff = difference(row, orgRow) || {};
|
|
385
|
+
validateFieldKeys = (_Object$keys = Object.keys(diff)) === null || _Object$keys === void 0 ? void 0 : (_Object$keys$map = _Object$keys.map) === null || _Object$keys$map === void 0 ? void 0 : _Object$keys$map.call(_Object$keys, function (key) {
|
|
386
|
+
return [].concat(_toConsumableArray(rowPath), [key]);
|
|
387
|
+
});
|
|
388
|
+
if (validateFieldKeys === null || validateFieldKeys === void 0 ? void 0 : validateFieldKeys.length) {
|
|
389
|
+
setTimeout(function () {
|
|
390
|
+
form.validateFields(validateFieldKeys);
|
|
391
|
+
}, 100);
|
|
392
|
+
}
|
|
387
393
|
}
|
|
388
394
|
}
|
|
389
395
|
setState({
|
|
@@ -447,13 +453,15 @@ var RenderField = function RenderField(_ref) {
|
|
|
447
453
|
case 16:
|
|
448
454
|
// 判断属性是否变动
|
|
449
455
|
form.setFieldValue(rowPath, row);
|
|
450
|
-
if (
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
456
|
+
if (validateTrigger && validateTrigger.includes('onBlur')) {
|
|
457
|
+
if (!isEqual(orgRow, row)) {
|
|
458
|
+
diff = difference(row, orgRow) || {};
|
|
459
|
+
validateFieldKeys = (_Object$keys2 = Object.keys(diff)) === null || _Object$keys2 === void 0 ? void 0 : (_Object$keys2$map = _Object$keys2.map) === null || _Object$keys2$map === void 0 ? void 0 : _Object$keys2$map.call(_Object$keys2, function (key) {
|
|
460
|
+
return [].concat(_toConsumableArray(rowPath), [key]);
|
|
461
|
+
});
|
|
462
|
+
if (validateFieldKeys === null || validateFieldKeys === void 0 ? void 0 : validateFieldKeys.length) {
|
|
463
|
+
debounceValidate(validateFieldKeys);
|
|
464
|
+
}
|
|
457
465
|
}
|
|
458
466
|
}
|
|
459
467
|
if (!isCell) {
|
|
@@ -583,7 +591,7 @@ var RenderField = function RenderField(_ref) {
|
|
|
583
591
|
}) : null;
|
|
584
592
|
return _jsx(FieldProvider, {
|
|
585
593
|
value: (_componentProps2 = componentProps) === null || _componentProps2 === void 0 ? void 0 : _componentProps2.otherProps,
|
|
586
|
-
children: !
|
|
594
|
+
children: !originalTitle || ['FormList', 'ProEditTable'].includes(type) ? FormItem : _jsx(_Tooltip, {
|
|
587
595
|
title: originalTitle,
|
|
588
596
|
placement: "topLeft",
|
|
589
597
|
open: changed ? undefined : false,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const RenderToolbar: (config: any) => JSX.Element;
|
|
1
|
+
declare const RenderToolbar: (config: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default RenderToolbar;
|
|
@@ -6,7 +6,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
|
|
|
6
6
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
7
7
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
8
8
|
var _excluded = ["type", "label", "show", "onHandle", "needConfirm", "onClick"];
|
|
9
|
-
import { jsx as _jsx
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { actions, defaultBtnNameMap, defaultToolbarKeys } from '../../utils/config';
|
|
12
12
|
import ActionButton from '../ActionButton';
|
|
@@ -52,11 +52,15 @@ var RenderToolbar = function RenderToolbar(config) {
|
|
|
52
52
|
var addConfig = toolbarProps.find(function (action) {
|
|
53
53
|
return action.type === 'add';
|
|
54
54
|
});
|
|
55
|
+
// 需要持久化显示的ToolBar
|
|
56
|
+
var persistenceToolBar = toolbarProps.filter(function (action) {
|
|
57
|
+
return action === null || action === void 0 ? void 0 : action.persistence;
|
|
58
|
+
});
|
|
55
59
|
nextToolbarProps = [_objectSpread(_objectSpread({}, addConfig), {}, {
|
|
56
60
|
type: 'add',
|
|
57
61
|
label: (addConfig === null || addConfig === void 0 ? void 0 : addConfig.isSelectModal) ? addConfig.label : emptyBtnText,
|
|
58
62
|
icon: false
|
|
59
|
-
})];
|
|
63
|
+
})].concat(_toConsumableArray(persistenceToolBar));
|
|
60
64
|
}
|
|
61
65
|
// 渲染操作按钮前处理下默认数据
|
|
62
66
|
var toolbarBtns = nextToolbarProps.map(function (toolbar) {
|
|
@@ -128,10 +132,8 @@ var RenderToolbar = function RenderToolbar(config) {
|
|
|
128
132
|
}, "".concat(btnConfig === null || btnConfig === void 0 ? void 0 : btnConfig.label).concat(btnConfig === null || btnConfig === void 0 ? void 0 : btnConfig.type));
|
|
129
133
|
});
|
|
130
134
|
};
|
|
131
|
-
return _jsx(
|
|
132
|
-
children:
|
|
133
|
-
children: renderToolbarBtns()
|
|
134
|
-
}) : renderToolbarBtns()
|
|
135
|
+
return _jsx(_Space, {
|
|
136
|
+
children: renderToolbarBtns()
|
|
135
137
|
});
|
|
136
138
|
};
|
|
137
139
|
export default RenderToolbar;
|
|
@@ -8,5 +8,5 @@ interface SummaryProps<T = any> {
|
|
|
8
8
|
};
|
|
9
9
|
rowSelection: any;
|
|
10
10
|
}
|
|
11
|
-
declare const Summary: ({ data, summary, rowSelection, }: SummaryProps) => JSX.Element;
|
|
11
|
+
declare const Summary: ({ data, summary, rowSelection, }: SummaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default Summary;
|