ztxkui 3.0.6 → 3.0.7

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.
@@ -181,13 +181,16 @@ var TableEnhanceCell = memo(function (_a) {
181
181
  else if (type === 'inputNumber') {
182
182
  return (React.createElement(Form.Item, { className: "zt-table__enhance-cell", name: dataIndex },
183
183
  React.createElement(InputNumber, __assign({ autoComplete: "new-password", maxLength: 50 }, inputNumMaxMin, editableProps, inputNumberRangeTip, { disabled: disabledResult, onPressEnter: function (e) {
184
- editableProps.onPressEnter && editableProps.onPressEnter(e);
184
+ var _a;
185
+ editableProps.onPressEnter && ((_a = editableProps.onPressEnter) === null || _a === void 0 ? void 0 : _a.call(editableProps, e));
185
186
  save({ maxResult: maxResult, minResult: minResult });
186
187
  }, onBlur: function (e) {
187
- editableProps.onBlur && editableProps.onBlur(e);
188
+ var _a;
189
+ editableProps.onBlur && ((_a = editableProps.onBlur) === null || _a === void 0 ? void 0 : _a.call(editableProps, e));
188
190
  save({ maxResult: maxResult, minResult: minResult });
189
191
  }, onFocus: function (e) {
190
- editableProps.onFocus(e);
192
+ var _a;
193
+ editableProps.onFocus && ((_a = editableProps.onFocus) === null || _a === void 0 ? void 0 : _a.call(editableProps, e));
191
194
  } }))));
192
195
  }
193
196
  else if (type === 'textArea') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",