wargerm 0.3.14 → 0.3.15

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.js CHANGED
@@ -10128,7 +10128,7 @@ var ModalForm = function ModalForm(props, ref) {
10128
10128
 
10129
10129
  var ModalForm$1 = /*#__PURE__*/React.forwardRef(ModalForm);
10130
10130
 
10131
- var _excluded$h = ["columns", "extraColumns", "request", "modalFormSearch", "search", "tableAction", "renderTableBar", "className", "style", "onFormChange", "modalConfig", "optionColumnConfig"],
10131
+ var _excluded$h = ["columns", "extraColumns", "request", "modalFormSearch", "search", "tableAction", "renderTableBar", "className", "style", "onFormChange", "modalConfig", "optionColumnConfig", "pagination"],
10132
10132
  _excluded2$3 = ["actionMethod"];
10133
10133
 
10134
10134
  var TabelCard = function TabelCard(props, ref) {
@@ -10144,6 +10144,7 @@ var TabelCard = function TabelCard(props, ref) {
10144
10144
  onFormChange = props.onFormChange,
10145
10145
  modalConfig = props.modalConfig,
10146
10146
  optionColumnConfig = props.optionColumnConfig,
10147
+ pagination = props.pagination,
10147
10148
  extraProps = _objectWithoutProperties(props, _excluded$h);
10148
10149
 
10149
10150
  var actionRef = useRef();
@@ -10622,7 +10623,7 @@ var TabelCard = function TabelCard(props, ref) {
10622
10623
  return obj;
10623
10624
  }),
10624
10625
  search: false,
10625
- pagination: {
10626
+ pagination: pagination || {
10626
10627
  pageSize: 20
10627
10628
  }
10628
10629
  }, extraProps)));
package/dist/index.js CHANGED
@@ -10162,7 +10162,7 @@ var ModalForm = function ModalForm(props, ref) {
10162
10162
 
10163
10163
  var ModalForm$1 = /*#__PURE__*/React__default['default'].forwardRef(ModalForm);
10164
10164
 
10165
- var _excluded$h = ["columns", "extraColumns", "request", "modalFormSearch", "search", "tableAction", "renderTableBar", "className", "style", "onFormChange", "modalConfig", "optionColumnConfig"],
10165
+ var _excluded$h = ["columns", "extraColumns", "request", "modalFormSearch", "search", "tableAction", "renderTableBar", "className", "style", "onFormChange", "modalConfig", "optionColumnConfig", "pagination"],
10166
10166
  _excluded2$3 = ["actionMethod"];
10167
10167
 
10168
10168
  var TabelCard = function TabelCard(props, ref) {
@@ -10178,6 +10178,7 @@ var TabelCard = function TabelCard(props, ref) {
10178
10178
  onFormChange = props.onFormChange,
10179
10179
  modalConfig = props.modalConfig,
10180
10180
  optionColumnConfig = props.optionColumnConfig,
10181
+ pagination = props.pagination,
10181
10182
  extraProps = _objectWithoutProperties(props, _excluded$h);
10182
10183
 
10183
10184
  var actionRef = React.useRef();
@@ -10656,7 +10657,7 @@ var TabelCard = function TabelCard(props, ref) {
10656
10657
  return obj;
10657
10658
  }),
10658
10659
  search: false,
10659
- pagination: {
10660
+ pagination: pagination || {
10660
10661
  pageSize: 20
10661
10662
  }
10662
10663
  }, extraProps)));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.3.14",
4
+ "version": "0.3.15",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",