@kmkf-fe-packages/basic-components 2.7.4 → 2.7.6
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
|
@@ -13154,6 +13154,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
13154
13154
|
_props$required = props.required,
|
|
13155
13155
|
required = _props$required === void 0 ? false : _props$required,
|
|
13156
13156
|
onChange = props.onChange,
|
|
13157
|
+
_onBlur = props.onBlur,
|
|
13157
13158
|
_props$disabled = props.disabled,
|
|
13158
13159
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
13159
13160
|
_props$isEditing = props.isEditing,
|
|
@@ -13367,7 +13368,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
13367
13368
|
}
|
|
13368
13369
|
}
|
|
13369
13370
|
console.log('newValue', newValue);
|
|
13370
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13371
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue, type);
|
|
13371
13372
|
};
|
|
13372
13373
|
//智能识别回调
|
|
13373
13374
|
var changeIdentify = function changeIdentify(val) {
|
|
@@ -13419,6 +13420,10 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
13419
13420
|
var _e$target$value;
|
|
13420
13421
|
return changeHandle((_e$target$value = e.target.value) === null || _e$target$value === void 0 ? void 0 : _e$target$value.trim(), 'interceptCode');
|
|
13421
13422
|
},
|
|
13423
|
+
onBlur: function onBlur(e) {
|
|
13424
|
+
var _e$target$value2;
|
|
13425
|
+
return _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur((_e$target$value2 = e.target.value) === null || _e$target$value2 === void 0 ? void 0 : _e$target$value2.trim(), 'interceptCode');
|
|
13426
|
+
},
|
|
13422
13427
|
value: value === null || value === void 0 ? void 0 : value.interceptCode
|
|
13423
13428
|
}))), /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Item, {
|
|
13424
13429
|
label: /*#__PURE__*/React.createElement("span", null, "\u5BA2\u6237\u7F16\u7801\uFF08K\u7801\uFF09\uFF1A", platform === 'pc' ? /*#__PURE__*/React.createElement(Typography.Link, {
|
|
@@ -13492,8 +13497,8 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
13492
13497
|
disabled: disabled || isEdit,
|
|
13493
13498
|
placeholder: senderMobileLabel,
|
|
13494
13499
|
onChange: function onChange(e) {
|
|
13495
|
-
var _e$target$
|
|
13496
|
-
return changeHandle((_e$target$
|
|
13500
|
+
var _e$target$value3;
|
|
13501
|
+
return changeHandle((_e$target$value3 = e.target.value) === null || _e$target$value3 === void 0 ? void 0 : _e$target$value3.trim(), 'interceptSenderMobile');
|
|
13497
13502
|
}
|
|
13498
13503
|
})), /*#__PURE__*/React.createElement(Item, {
|
|
13499
13504
|
label: '退回地址',
|
|
@@ -13552,8 +13557,8 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
13552
13557
|
},
|
|
13553
13558
|
placeholder: "\u5176\u4ED6",
|
|
13554
13559
|
onChange: function onChange(e) {
|
|
13555
|
-
var _e$target$
|
|
13556
|
-
return changeHandle((_e$target$
|
|
13560
|
+
var _e$target$value4;
|
|
13561
|
+
return changeHandle((_e$target$value4 = e.target.value) === null || _e$target$value4 === void 0 ? void 0 : _e$target$value4.trim(), 'interceptLogisticsStatusOther');
|
|
13557
13562
|
}
|
|
13558
13563
|
})), /*#__PURE__*/React.createElement(Item, {
|
|
13559
13564
|
label: '拦截状态',
|
|
@@ -13607,8 +13612,8 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
13607
13612
|
disabled: true,
|
|
13608
13613
|
placeholder: "\u63A5\u53E3\u72B6\u6001\u539F\u56E0",
|
|
13609
13614
|
onChange: function onChange(e) {
|
|
13610
|
-
var _e$target$
|
|
13611
|
-
return changeHandle((_e$target$
|
|
13615
|
+
var _e$target$value5;
|
|
13616
|
+
return changeHandle((_e$target$value5 = e.target.value) === null || _e$target$value5 === void 0 ? void 0 : _e$target$value5.trim(), 'interceptLogisticsApiStatusReason');
|
|
13612
13617
|
}
|
|
13613
13618
|
})));
|
|
13614
13619
|
};
|
|
@@ -26,7 +26,8 @@ interface LogisticsInterceptionProps {
|
|
|
26
26
|
required: boolean;
|
|
27
27
|
disabled: boolean;
|
|
28
28
|
isEditing: boolean;
|
|
29
|
-
onChange: (value: Partial<LogisticsInterceptionValueType
|
|
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.7.
|
|
3
|
+
"version": "2.7.6",
|
|
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.7.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.7.6",
|
|
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": "
|
|
69
|
+
"gitHead": "28497f73db84e16b6e6ae0b280e8e4158a3f1731"
|
|
70
70
|
}
|