@nokecy/qc-ui 1.0.45 → 1.0.46
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.
|
@@ -110,7 +110,7 @@ function AgGridPlus(props) {
|
|
|
110
110
|
sortColumn = _useState16[0],
|
|
111
111
|
setSortColumn = _useState16[1];
|
|
112
112
|
var _useState17 = (0, _react.useState)({
|
|
113
|
-
pageSize: 200,
|
|
113
|
+
pageSize: props.hidePagination ? 10000 : 200,
|
|
114
114
|
current: 1,
|
|
115
115
|
total: dataSource ? dataSource.length : 0
|
|
116
116
|
}),
|
|
@@ -440,6 +440,11 @@ function AgGridPlus(props) {
|
|
|
440
440
|
return /*#__PURE__*/_react.default.createElement(Text, {
|
|
441
441
|
ellipsis: {
|
|
442
442
|
tooltip: value
|
|
443
|
+
},
|
|
444
|
+
style: {
|
|
445
|
+
display: 'flex',
|
|
446
|
+
justifyContent: 'center',
|
|
447
|
+
alignItems: 'center'
|
|
443
448
|
}
|
|
444
449
|
}, value);
|
|
445
450
|
}
|
|
@@ -658,7 +663,7 @@ function AgGridPlus(props) {
|
|
|
658
663
|
display: "flex",
|
|
659
664
|
justifyContent: "flex-end"
|
|
660
665
|
}
|
|
661
|
-
}, /*#__PURE__*/_react.default.createElement(_antd.Pagination, {
|
|
666
|
+
}, !props.hidePagination && /*#__PURE__*/_react.default.createElement(_antd.Pagination, {
|
|
662
667
|
pageSize: pagination.pageSize,
|
|
663
668
|
current: pagination.current,
|
|
664
669
|
total: pagination.total,
|
|
@@ -101,7 +101,7 @@ function AgGridPlus(props) {
|
|
|
101
101
|
sortColumn = _useState16[0],
|
|
102
102
|
setSortColumn = _useState16[1];
|
|
103
103
|
var _useState17 = useState({
|
|
104
|
-
pageSize: 200,
|
|
104
|
+
pageSize: props.hidePagination ? 10000 : 200,
|
|
105
105
|
current: 1,
|
|
106
106
|
total: dataSource ? dataSource.length : 0
|
|
107
107
|
}),
|
|
@@ -431,6 +431,11 @@ function AgGridPlus(props) {
|
|
|
431
431
|
return /*#__PURE__*/React.createElement(Text, {
|
|
432
432
|
ellipsis: {
|
|
433
433
|
tooltip: value
|
|
434
|
+
},
|
|
435
|
+
style: {
|
|
436
|
+
display: 'flex',
|
|
437
|
+
justifyContent: 'center',
|
|
438
|
+
alignItems: 'center'
|
|
434
439
|
}
|
|
435
440
|
}, value);
|
|
436
441
|
}
|
|
@@ -649,7 +654,7 @@ function AgGridPlus(props) {
|
|
|
649
654
|
display: "flex",
|
|
650
655
|
justifyContent: "flex-end"
|
|
651
656
|
}
|
|
652
|
-
}, /*#__PURE__*/React.createElement(Pagination, {
|
|
657
|
+
}, !props.hidePagination && /*#__PURE__*/React.createElement(Pagination, {
|
|
653
658
|
pageSize: pagination.pageSize,
|
|
654
659
|
current: pagination.current,
|
|
655
660
|
total: pagination.total,
|