@pnkx-lib/ui 1.9.188 → 1.9.190
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/es/ui/Modal.js +1 -1
- package/es/ui/index.js +1 -1
- package/package.json +1 -1
package/es/ui/Modal.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { Modal as Modal$1 } from 'antd';
|
|
3
3
|
|
|
4
4
|
const Modal = ({ children, ...rest }) => {
|
|
5
|
-
return /* @__PURE__ */ jsx(Modal$1, { maskClosable: false, ...rest, children });
|
|
5
|
+
return /* @__PURE__ */ jsx(Modal$1, { maskClosable: false, centered: true, ...rest, children });
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
export { Modal };
|
package/es/ui/index.js
CHANGED
|
@@ -5063,7 +5063,7 @@ const Table = ({
|
|
|
5063
5063
|
showSizeChanger: true,
|
|
5064
5064
|
showQuickJumper: true,
|
|
5065
5065
|
pageSizeOptions: ["15", "50", "100", "150", "200"],
|
|
5066
|
-
showTotal: (total, range) => `${range[0]}-${range[1]}
|
|
5066
|
+
showTotal: (total, range) => `${range[0]}-${range[1]} của ${total} bản ghi`,
|
|
5067
5067
|
onChange: (page, pageSize) => {
|
|
5068
5068
|
if (page !== filters.page) onChangePage(page);
|
|
5069
5069
|
if (pageSize !== filters.size) onChangePageSize(pageSize);
|