@kmkf-fe-packages/basic-components 1.16.5-beta.0 → 1.17.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,7 +10192,6 @@ 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;
|
|
10196
10195
|
var LogisticsAddress = LogisticsAddressData.getInstance();
|
|
10197
10196
|
var address = AddressData.getInstance();
|
|
10198
10197
|
var _props$value = props.value,
|
|
@@ -10344,15 +10343,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10344
10343
|
qySelfInterceptLogisticsStatus: undefined
|
|
10345
10344
|
});
|
|
10346
10345
|
}
|
|
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
|
-
}
|
|
10356
10346
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
10357
10347
|
};
|
|
10358
10348
|
//智能识别回调
|
|
@@ -10515,29 +10505,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10515
10505
|
label: '拦截失败',
|
|
10516
10506
|
value: '拦截失败'
|
|
10517
10507
|
}]
|
|
10518
|
-
}))
|
|
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));
|
|
10508
|
+
})));
|
|
10541
10509
|
};
|
|
10542
10510
|
|
|
10543
10511
|
var LogisticsMoreInterception = function LogisticsMoreInterception(props) {
|
package/dist/index.js
CHANGED
|
@@ -10204,7 +10204,6 @@ 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;
|
|
10208
10207
|
var LogisticsAddress = kmkfUtils.LogisticsAddressData.getInstance();
|
|
10209
10208
|
var address = kmkfUtils.AddressData.getInstance();
|
|
10210
10209
|
var _props$value = props.value,
|
|
@@ -10356,15 +10355,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10356
10355
|
qySelfInterceptLogisticsStatus: undefined
|
|
10357
10356
|
});
|
|
10358
10357
|
}
|
|
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
|
-
}
|
|
10368
10358
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
10369
10359
|
};
|
|
10370
10360
|
//智能识别回调
|
|
@@ -10527,29 +10517,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10527
10517
|
label: '拦截失败',
|
|
10528
10518
|
value: '拦截失败'
|
|
10529
10519
|
}]
|
|
10530
|
-
}))
|
|
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));
|
|
10520
|
+
})));
|
|
10553
10521
|
};
|
|
10554
10522
|
|
|
10555
10523
|
var LogisticsMoreInterception = function LogisticsMoreInterception(props) {
|
|
@@ -12,10 +12,6 @@ interface LogisticsInterceptionValueType {
|
|
|
12
12
|
interceptLogisticsStatusOther: string;
|
|
13
13
|
interceptLogisticsSnapshot: string;
|
|
14
14
|
qySelfInterceptLogisticsStatus: string;
|
|
15
|
-
interceptLogisticsApiStatus: {
|
|
16
|
-
status: string;
|
|
17
|
-
reason: string;
|
|
18
|
-
};
|
|
19
15
|
}
|
|
20
16
|
interface LogisticsInterceptionProps {
|
|
21
17
|
value: Partial<LogisticsInterceptionValueType>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.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.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "1.17.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": "a27110305249dd3409442c1738d62341e0824dc8"
|
|
69
69
|
}
|