@kmkf-fe-packages/basic-components 1.16.5-alpha.0 → 1.16.5-alpha.5
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,
|
|
@@ -10340,7 +10341,20 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10340
10341
|
interceptLogisticsStatus: undefined,
|
|
10341
10342
|
interceptLogisticsStatusOther: undefined,
|
|
10342
10343
|
interceptLogisticsSnapshot: undefined,
|
|
10343
|
-
qySelfInterceptLogisticsStatus: undefined
|
|
10344
|
+
qySelfInterceptLogisticsStatus: undefined,
|
|
10345
|
+
interceptLogisticsApiStatus: {
|
|
10346
|
+
status: '',
|
|
10347
|
+
reason: ''
|
|
10348
|
+
}
|
|
10349
|
+
});
|
|
10350
|
+
}
|
|
10351
|
+
if (type === 'interceptLogisticsApiStatus') {
|
|
10352
|
+
var _value$interceptLogis;
|
|
10353
|
+
newValue = _objectSpread2(_objectSpread2({}, value), {}, {
|
|
10354
|
+
interceptLogisticsApiStatus: {
|
|
10355
|
+
status: val,
|
|
10356
|
+
reason: (value === null || value === void 0 ? void 0 : (_value$interceptLogis = value.interceptLogisticsApiStatus) === null || _value$interceptLogis === void 0 ? void 0 : _value$interceptLogis.reason) || ''
|
|
10357
|
+
}
|
|
10344
10358
|
});
|
|
10345
10359
|
}
|
|
10346
10360
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
@@ -10505,7 +10519,31 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10505
10519
|
label: '拦截失败',
|
|
10506
10520
|
value: '拦截失败'
|
|
10507
10521
|
}]
|
|
10508
|
-
}))
|
|
10522
|
+
})), /*#__PURE__*/React.createElement(Item, {
|
|
10523
|
+
label: '接口状态',
|
|
10524
|
+
key: 'interceptLogisticsApiStatus'
|
|
10525
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
10526
|
+
value: (value === null || value === void 0 ? void 0 : (_value$interceptLogis2 = value.interceptLogisticsApiStatus) === null || _value$interceptLogis2 === void 0 ? void 0 : _value$interceptLogis2.status) || null,
|
|
10527
|
+
disabled: true,
|
|
10528
|
+
style: {
|
|
10529
|
+
width: '200px'
|
|
10530
|
+
},
|
|
10531
|
+
placeholder: "\u63A5\u53E3\u72B6\u6001",
|
|
10532
|
+
onChange: function onChange(val) {
|
|
10533
|
+
return changeHandle(val, 'interceptLogisticsApiStatus');
|
|
10534
|
+
},
|
|
10535
|
+
options: [{
|
|
10536
|
+
label: '成功',
|
|
10537
|
+
value: '成功'
|
|
10538
|
+
}, {
|
|
10539
|
+
label: '失败',
|
|
10540
|
+
value: '失败'
|
|
10541
|
+
}]
|
|
10542
|
+
}), (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", {
|
|
10543
|
+
style: {
|
|
10544
|
+
color: 'red'
|
|
10545
|
+
}
|
|
10546
|
+
}, "\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
10547
|
};
|
|
10510
10548
|
|
|
10511
10549
|
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,
|
|
@@ -10352,7 +10353,20 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10352
10353
|
interceptLogisticsStatus: undefined,
|
|
10353
10354
|
interceptLogisticsStatusOther: undefined,
|
|
10354
10355
|
interceptLogisticsSnapshot: undefined,
|
|
10355
|
-
qySelfInterceptLogisticsStatus: undefined
|
|
10356
|
+
qySelfInterceptLogisticsStatus: undefined,
|
|
10357
|
+
interceptLogisticsApiStatus: {
|
|
10358
|
+
status: '',
|
|
10359
|
+
reason: ''
|
|
10360
|
+
}
|
|
10361
|
+
});
|
|
10362
|
+
}
|
|
10363
|
+
if (type === 'interceptLogisticsApiStatus') {
|
|
10364
|
+
var _value$interceptLogis;
|
|
10365
|
+
newValue = _objectSpread2(_objectSpread2({}, value), {}, {
|
|
10366
|
+
interceptLogisticsApiStatus: {
|
|
10367
|
+
status: val,
|
|
10368
|
+
reason: (value === null || value === void 0 ? void 0 : (_value$interceptLogis = value.interceptLogisticsApiStatus) === null || _value$interceptLogis === void 0 ? void 0 : _value$interceptLogis.reason) || ''
|
|
10369
|
+
}
|
|
10356
10370
|
});
|
|
10357
10371
|
}
|
|
10358
10372
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
@@ -10517,7 +10531,31 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10517
10531
|
label: '拦截失败',
|
|
10518
10532
|
value: '拦截失败'
|
|
10519
10533
|
}]
|
|
10520
|
-
}))
|
|
10534
|
+
})), /*#__PURE__*/React__default['default'].createElement(Item, {
|
|
10535
|
+
label: '接口状态',
|
|
10536
|
+
key: 'interceptLogisticsApiStatus'
|
|
10537
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
10538
|
+
value: (value === null || value === void 0 ? void 0 : (_value$interceptLogis2 = value.interceptLogisticsApiStatus) === null || _value$interceptLogis2 === void 0 ? void 0 : _value$interceptLogis2.status) || null,
|
|
10539
|
+
disabled: true,
|
|
10540
|
+
style: {
|
|
10541
|
+
width: '200px'
|
|
10542
|
+
},
|
|
10543
|
+
placeholder: "\u63A5\u53E3\u72B6\u6001",
|
|
10544
|
+
onChange: function onChange(val) {
|
|
10545
|
+
return changeHandle(val, 'interceptLogisticsApiStatus');
|
|
10546
|
+
},
|
|
10547
|
+
options: [{
|
|
10548
|
+
label: '成功',
|
|
10549
|
+
value: '成功'
|
|
10550
|
+
}, {
|
|
10551
|
+
label: '失败',
|
|
10552
|
+
value: '失败'
|
|
10553
|
+
}]
|
|
10554
|
+
}), (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", {
|
|
10555
|
+
style: {
|
|
10556
|
+
color: 'red'
|
|
10557
|
+
}
|
|
10558
|
+
}, "\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
10559
|
};
|
|
10522
10560
|
|
|
10523
10561
|
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.5-alpha.
|
|
3
|
+
"version": "1.16.5-alpha.5",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,10 +20,10 @@
|
|
|
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.5-alpha.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "1.16.5-alpha.5",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"bignumber.js": "^9.1.2",
|
|
26
|
-
"kmkf-monitor": "^0.8.
|
|
26
|
+
"kmkf-monitor": "^0.8.9",
|
|
27
27
|
"lodash": "^4.17.21",
|
|
28
28
|
"pubsub-js": "^1.9.4",
|
|
29
29
|
"react-copy-to-clipboard": "^5.1.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"identity-obj-proxy": "^3.0.0",
|
|
49
49
|
"jest": "^29.5.0",
|
|
50
50
|
"jest-environment-jsdom": "^29.5.0",
|
|
51
|
-
"kmkf-monitor": "^0.8.
|
|
51
|
+
"kmkf-monitor": "^0.8.9",
|
|
52
52
|
"lint-staged": "^10.0.7",
|
|
53
53
|
"lodash": "^4.17.21",
|
|
54
54
|
"prettier": "^2.2.1",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "31bb738f333e28f2338a7f47d6e89ea8a865287f"
|
|
69
69
|
}
|