@kmkf-fe-packages/basic-components 1.16.2 → 1.16.3-beta.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
|
@@ -10192,6 +10192,7 @@ styleInject(css_248z$8);
|
|
|
10192
10192
|
|
|
10193
10193
|
var Item = Form.Item;
|
|
10194
10194
|
var LogisticsInterception = function LogisticsInterception(props) {
|
|
10195
|
+
var _value$interceptLogis2, _value$interceptLogis3, _value$interceptLogis4;
|
|
10195
10196
|
var LogisticsAddress = LogisticsAddressData.getInstance();
|
|
10196
10197
|
var address = AddressData.getInstance();
|
|
10197
10198
|
var _props$value = props.value,
|
|
@@ -10343,6 +10344,15 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10343
10344
|
qySelfInterceptLogisticsStatus: undefined
|
|
10344
10345
|
});
|
|
10345
10346
|
}
|
|
10347
|
+
if (type === 'interceptLogisticsApiStatus') {
|
|
10348
|
+
var _value$interceptLogis;
|
|
10349
|
+
newValue = _objectSpread2(_objectSpread2({}, value), {}, {
|
|
10350
|
+
interceptLogisticsApiStatus: {
|
|
10351
|
+
status: val,
|
|
10352
|
+
reason: (value === null || value === void 0 ? void 0 : (_value$interceptLogis = value.interceptLogisticsApiStatus) === null || _value$interceptLogis === void 0 ? void 0 : _value$interceptLogis.reason) || ''
|
|
10353
|
+
}
|
|
10354
|
+
});
|
|
10355
|
+
}
|
|
10346
10356
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
10347
10357
|
};
|
|
10348
10358
|
//智能识别回调
|
|
@@ -10505,7 +10515,29 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10505
10515
|
label: '拦截失败',
|
|
10506
10516
|
value: '拦截失败'
|
|
10507
10517
|
}]
|
|
10508
|
-
}))
|
|
10518
|
+
})), /*#__PURE__*/React.createElement(Item, {
|
|
10519
|
+
label: '接口状态',
|
|
10520
|
+
key: 'interceptLogisticsApiStatus'
|
|
10521
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
10522
|
+
value: value === null || value === void 0 ? void 0 : (_value$interceptLogis2 = value.interceptLogisticsApiStatus) === null || _value$interceptLogis2 === void 0 ? void 0 : _value$interceptLogis2.status,
|
|
10523
|
+
disabled: true,
|
|
10524
|
+
style: {
|
|
10525
|
+
width: '200px'
|
|
10526
|
+
},
|
|
10527
|
+
placeholder: "\u63A5\u53E3\u72B6\u6001",
|
|
10528
|
+
onChange: function onChange(val) {
|
|
10529
|
+
return changeHandle(val, 'interceptLogisticsApiStatus');
|
|
10530
|
+
},
|
|
10531
|
+
options: [{
|
|
10532
|
+
label: '成功',
|
|
10533
|
+
value: '成功'
|
|
10534
|
+
}, {
|
|
10535
|
+
label: '失败',
|
|
10536
|
+
value: '失败'
|
|
10537
|
+
}]
|
|
10538
|
+
}), (value === null || value === void 0 ? void 0 : (_value$interceptLogis3 = value.interceptLogisticsApiStatus) === null || _value$interceptLogis3 === void 0 ? void 0 : _value$interceptLogis3.reason) ? /*#__PURE__*/React.createElement("div", {
|
|
10539
|
+
className: "c-red"
|
|
10540
|
+
}, "\u5931\u8D25\u539F\u56E0\uFF1A", value === null || value === void 0 ? void 0 : (_value$interceptLogis4 = value.interceptLogisticsApiStatus) === null || _value$interceptLogis4 === void 0 ? void 0 : _value$interceptLogis4.reason) : null));
|
|
10509
10541
|
};
|
|
10510
10542
|
|
|
10511
10543
|
var LogisticsMoreInterception = function LogisticsMoreInterception(props) {
|
package/dist/index.js
CHANGED
|
@@ -10204,6 +10204,7 @@ styleInject(css_248z$8);
|
|
|
10204
10204
|
|
|
10205
10205
|
var Item = antd.Form.Item;
|
|
10206
10206
|
var LogisticsInterception = function LogisticsInterception(props) {
|
|
10207
|
+
var _value$interceptLogis2, _value$interceptLogis3, _value$interceptLogis4;
|
|
10207
10208
|
var LogisticsAddress = kmkfUtils.LogisticsAddressData.getInstance();
|
|
10208
10209
|
var address = kmkfUtils.AddressData.getInstance();
|
|
10209
10210
|
var _props$value = props.value,
|
|
@@ -10355,6 +10356,15 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10355
10356
|
qySelfInterceptLogisticsStatus: undefined
|
|
10356
10357
|
});
|
|
10357
10358
|
}
|
|
10359
|
+
if (type === 'interceptLogisticsApiStatus') {
|
|
10360
|
+
var _value$interceptLogis;
|
|
10361
|
+
newValue = _objectSpread2(_objectSpread2({}, value), {}, {
|
|
10362
|
+
interceptLogisticsApiStatus: {
|
|
10363
|
+
status: val,
|
|
10364
|
+
reason: (value === null || value === void 0 ? void 0 : (_value$interceptLogis = value.interceptLogisticsApiStatus) === null || _value$interceptLogis === void 0 ? void 0 : _value$interceptLogis.reason) || ''
|
|
10365
|
+
}
|
|
10366
|
+
});
|
|
10367
|
+
}
|
|
10358
10368
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
10359
10369
|
};
|
|
10360
10370
|
//智能识别回调
|
|
@@ -10517,7 +10527,29 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10517
10527
|
label: '拦截失败',
|
|
10518
10528
|
value: '拦截失败'
|
|
10519
10529
|
}]
|
|
10520
|
-
}))
|
|
10530
|
+
})), /*#__PURE__*/React__default['default'].createElement(Item, {
|
|
10531
|
+
label: '接口状态',
|
|
10532
|
+
key: 'interceptLogisticsApiStatus'
|
|
10533
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
10534
|
+
value: value === null || value === void 0 ? void 0 : (_value$interceptLogis2 = value.interceptLogisticsApiStatus) === null || _value$interceptLogis2 === void 0 ? void 0 : _value$interceptLogis2.status,
|
|
10535
|
+
disabled: true,
|
|
10536
|
+
style: {
|
|
10537
|
+
width: '200px'
|
|
10538
|
+
},
|
|
10539
|
+
placeholder: "\u63A5\u53E3\u72B6\u6001",
|
|
10540
|
+
onChange: function onChange(val) {
|
|
10541
|
+
return changeHandle(val, 'interceptLogisticsApiStatus');
|
|
10542
|
+
},
|
|
10543
|
+
options: [{
|
|
10544
|
+
label: '成功',
|
|
10545
|
+
value: '成功'
|
|
10546
|
+
}, {
|
|
10547
|
+
label: '失败',
|
|
10548
|
+
value: '失败'
|
|
10549
|
+
}]
|
|
10550
|
+
}), (value === null || value === void 0 ? void 0 : (_value$interceptLogis3 = value.interceptLogisticsApiStatus) === null || _value$interceptLogis3 === void 0 ? void 0 : _value$interceptLogis3.reason) ? /*#__PURE__*/React__default['default'].createElement("div", {
|
|
10551
|
+
className: "c-red"
|
|
10552
|
+
}, "\u5931\u8D25\u539F\u56E0\uFF1A", value === null || value === void 0 ? void 0 : (_value$interceptLogis4 = value.interceptLogisticsApiStatus) === null || _value$interceptLogis4 === void 0 ? void 0 : _value$interceptLogis4.reason) : null));
|
|
10521
10553
|
};
|
|
10522
10554
|
|
|
10523
10555
|
var LogisticsMoreInterception = function LogisticsMoreInterception(props) {
|
|
@@ -12,6 +12,10 @@ interface LogisticsInterceptionValueType {
|
|
|
12
12
|
interceptLogisticsStatusOther: string;
|
|
13
13
|
interceptLogisticsSnapshot: string;
|
|
14
14
|
qySelfInterceptLogisticsStatus: string;
|
|
15
|
+
interceptLogisticsApiStatus: {
|
|
16
|
+
status: string;
|
|
17
|
+
reason: string;
|
|
18
|
+
};
|
|
15
19
|
}
|
|
16
20
|
interface LogisticsInterceptionProps {
|
|
17
21
|
value: Partial<LogisticsInterceptionValueType>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.3-beta.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": "1.16.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "1.16.3-beta.0",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"bignumber.js": "^9.1.2",
|
|
26
26
|
"kmkf-monitor": "^0.8.8",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "d3271bcda380dcb6fad5a58e850748386bb83c02"
|
|
69
69
|
}
|