awing-library 2.1.125 → 2.1.126

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.
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  var jsx_runtime_1 = require("react/jsx-runtime");
7
7
  var material_1 = require("@mui/material");
8
8
  var react_i18next_1 = require("react-i18next");
9
+ var Pagination_1 = __importDefault(require("../../../../AWING/Pagination"));
9
10
  var NoData_1 = __importDefault(require("./NoData"));
10
- var Pagination_1 = __importDefault(require("./Pagination"));
11
11
  var styles_1 = require("@mui/styles");
12
12
  var Enum_1 = require("../../Enum");
13
13
  var constants_1 = require("../../constants");
@@ -48,10 +48,7 @@ function DataTableComponent(props) {
48
48
  !isChecked), inputProps: {
49
49
  "aria-labelledby": "enhanced-table-checkbox-".concat(id),
50
50
  } }) }), (0, jsx_runtime_1.jsx)(material_1.TableCell, { children: row.name })] }, id));
51
- })] }) }) }), (0, jsx_runtime_1.jsx)(Pagination_1.default, { rowsPerPageOptions: constants_1.DEFAULT_ROWS_PER_PAGE, colSpan: 3, count: pages.total, rowsPerPage: pages.pageSize, page: pages.pageIndex, SelectProps: {
52
- inputProps: { "aria-label": "rows per page" },
53
- native: true,
54
- }, onPageChange: function (e, page) {
51
+ })] }) }) }), (0, jsx_runtime_1.jsx)(Pagination_1.default, { rowsPerPageOptions: constants_1.DEFAULT_ROWS_PER_PAGE, colSpan: 3, count: pages.total, rowsPerPage: pages.pageSize, page: pages.pageIndex, onPageChange: function (e, page) {
55
52
  pages.onPageIndexChange && pages.onPageIndexChange(page);
56
53
  }, onRowsPerPageChange: function (e) {
57
54
  pages.onPageSizeChange &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.125",
3
+ "version": "2.1.126",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",