@kmkf-fe-packages/basic-components 2.3.11 → 2.3.14-alpha.0

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
@@ -13076,6 +13076,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
13076
13076
  _props$required = props.required,
13077
13077
  required = _props$required === void 0 ? false : _props$required,
13078
13078
  onChange = props.onChange,
13079
+ _onBlur = props.onBlur,
13079
13080
  _props$disabled = props.disabled,
13080
13081
  disabled = _props$disabled === void 0 ? false : _props$disabled,
13081
13082
  _props$isEditing = props.isEditing,
@@ -13294,7 +13295,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
13294
13295
  }
13295
13296
  }
13296
13297
  console.log('newValue', newValue);
13297
- onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
13298
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue, type);
13298
13299
  };
13299
13300
  //智能识别回调
13300
13301
  var changeIdentify = function changeIdentify(val) {
@@ -13345,6 +13346,9 @@ var LogisticsInterception = function LogisticsInterception(props) {
13345
13346
  onChange: function onChange(e) {
13346
13347
  return changeHandle(e.target.value, 'interceptCode');
13347
13348
  },
13349
+ onBlur: function onBlur(e) {
13350
+ return _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur(e.target.value, 'interceptCode');
13351
+ },
13348
13352
  value: value === null || value === void 0 ? void 0 : value.interceptCode
13349
13353
  }))), /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Item, {
13350
13354
  label: /*#__PURE__*/React.createElement("span", null, "\u5BA2\u6237\u7F16\u7801\uFF08K\u7801\uFF09\uFF1A", platform === 'pc' ? /*#__PURE__*/React.createElement(Typography.Link, {
package/dist/index.js CHANGED
@@ -13091,6 +13091,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
13091
13091
  _props$required = props.required,
13092
13092
  required = _props$required === void 0 ? false : _props$required,
13093
13093
  onChange = props.onChange,
13094
+ _onBlur = props.onBlur,
13094
13095
  _props$disabled = props.disabled,
13095
13096
  disabled = _props$disabled === void 0 ? false : _props$disabled,
13096
13097
  _props$isEditing = props.isEditing,
@@ -13309,7 +13310,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
13309
13310
  }
13310
13311
  }
13311
13312
  console.log('newValue', newValue);
13312
- onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
13313
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue, type);
13313
13314
  };
13314
13315
  //智能识别回调
13315
13316
  var changeIdentify = function changeIdentify(val) {
@@ -13360,6 +13361,9 @@ var LogisticsInterception = function LogisticsInterception(props) {
13360
13361
  onChange: function onChange(e) {
13361
13362
  return changeHandle(e.target.value, 'interceptCode');
13362
13363
  },
13364
+ onBlur: function onBlur(e) {
13365
+ return _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur(e.target.value, 'interceptCode');
13366
+ },
13363
13367
  value: value === null || value === void 0 ? void 0 : value.interceptCode
13364
13368
  }))), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(Item, {
13365
13369
  label: /*#__PURE__*/React__default['default'].createElement("span", null, "\u5BA2\u6237\u7F16\u7801\uFF08K\u7801\uFF09\uFF1A", platform === 'pc' ? /*#__PURE__*/React__default['default'].createElement(antd.Typography.Link, {
@@ -26,7 +26,8 @@ interface LogisticsInterceptionProps {
26
26
  required: boolean;
27
27
  disabled: boolean;
28
28
  isEditing: boolean;
29
- onChange: (value: Partial<LogisticsInterceptionValueType>) => void;
29
+ onChange: (value: Partial<LogisticsInterceptionValueType>, type?: string) => void;
30
+ onBlur: (value: string, type: string) => void;
30
31
  platform: string;
31
32
  showReason?: boolean;
32
33
  onJumpPage?: (val: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.3.11",
3
+ "version": "2.3.14-alpha.0",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -20,7 +20,7 @@
20
20
  "watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/kmkf-utils": "2.3.11",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.3.14-alpha.0",
24
24
  "ahooks": "^3.7.4",
25
25
  "ali-react-table": "2.6.1",
26
26
  "bignumber.js": "^9.1.2",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "86814db504e2d8bfee71441d9d9020ed3f9a6339"
69
+ "gitHead": "98cc0ab91af6e073526944221f75f0ba4d411717"
70
70
  }