@kmkf-fe-packages/basic-components 1.16.5-alpha.0 → 1.16.5-alpha.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
@@ -7520,7 +7520,9 @@ var IdentifyAddress = function IdentifyAddress(props) {
7520
7520
  onChange: function onChange(e) {
7521
7521
  return changeHandle(e.target.value, 'receiverMobile');
7522
7522
  }
7523
- })), /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Province, {
7523
+ })), /*#__PURE__*/React.createElement(Space, {
7524
+ wrap: true
7525
+ }, /*#__PURE__*/React.createElement(Province, {
7524
7526
  value: value.address,
7525
7527
  onChange: function onChange(val) {
7526
7528
  return changeHandle(val, 'address');
@@ -10192,6 +10194,7 @@ styleInject(css_248z$8);
10192
10194
 
10193
10195
  var Item = Form.Item;
10194
10196
  var LogisticsInterception = function LogisticsInterception(props) {
10197
+ var _value$interceptLogis2, _value$interceptLogis3, _value$interceptLogis4;
10195
10198
  var LogisticsAddress = LogisticsAddressData.getInstance();
10196
10199
  var address = AddressData.getInstance();
10197
10200
  var _props$value = props.value,
@@ -10340,7 +10343,20 @@ var LogisticsInterception = function LogisticsInterception(props) {
10340
10343
  interceptLogisticsStatus: undefined,
10341
10344
  interceptLogisticsStatusOther: undefined,
10342
10345
  interceptLogisticsSnapshot: undefined,
10343
- qySelfInterceptLogisticsStatus: undefined
10346
+ qySelfInterceptLogisticsStatus: undefined,
10347
+ interceptLogisticsApiStatus: {
10348
+ status: '',
10349
+ reason: ''
10350
+ }
10351
+ });
10352
+ }
10353
+ if (type === 'interceptLogisticsApiStatus') {
10354
+ var _value$interceptLogis;
10355
+ newValue = _objectSpread2(_objectSpread2({}, value), {}, {
10356
+ interceptLogisticsApiStatus: {
10357
+ status: val,
10358
+ reason: (value === null || value === void 0 ? void 0 : (_value$interceptLogis = value.interceptLogisticsApiStatus) === null || _value$interceptLogis === void 0 ? void 0 : _value$interceptLogis.reason) || ''
10359
+ }
10344
10360
  });
10345
10361
  }
10346
10362
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
@@ -10505,7 +10521,31 @@ var LogisticsInterception = function LogisticsInterception(props) {
10505
10521
  label: '拦截失败',
10506
10522
  value: '拦截失败'
10507
10523
  }]
10508
- })));
10524
+ })), /*#__PURE__*/React.createElement(Item, {
10525
+ label: '接口状态',
10526
+ key: 'interceptLogisticsApiStatus'
10527
+ }, /*#__PURE__*/React.createElement(Select, {
10528
+ value: (value === null || value === void 0 ? void 0 : (_value$interceptLogis2 = value.interceptLogisticsApiStatus) === null || _value$interceptLogis2 === void 0 ? void 0 : _value$interceptLogis2.status) || null,
10529
+ disabled: true,
10530
+ style: {
10531
+ width: '200px'
10532
+ },
10533
+ placeholder: "\u63A5\u53E3\u72B6\u6001",
10534
+ onChange: function onChange(val) {
10535
+ return changeHandle(val, 'interceptLogisticsApiStatus');
10536
+ },
10537
+ options: [{
10538
+ label: '成功',
10539
+ value: '成功'
10540
+ }, {
10541
+ label: '失败',
10542
+ value: '失败'
10543
+ }]
10544
+ }), (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", {
10545
+ style: {
10546
+ color: 'red'
10547
+ }
10548
+ }, "\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
10549
  };
10510
10550
 
10511
10551
  var LogisticsMoreInterception = function LogisticsMoreInterception(props) {
package/dist/index.js CHANGED
@@ -7532,7 +7532,9 @@ var IdentifyAddress = function IdentifyAddress(props) {
7532
7532
  onChange: function onChange(e) {
7533
7533
  return changeHandle(e.target.value, 'receiverMobile');
7534
7534
  }
7535
- })), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(Province, {
7535
+ })), /*#__PURE__*/React__default['default'].createElement(antd.Space, {
7536
+ wrap: true
7537
+ }, /*#__PURE__*/React__default['default'].createElement(Province, {
7536
7538
  value: value.address,
7537
7539
  onChange: function onChange(val) {
7538
7540
  return changeHandle(val, 'address');
@@ -10204,6 +10206,7 @@ styleInject(css_248z$8);
10204
10206
 
10205
10207
  var Item = antd.Form.Item;
10206
10208
  var LogisticsInterception = function LogisticsInterception(props) {
10209
+ var _value$interceptLogis2, _value$interceptLogis3, _value$interceptLogis4;
10207
10210
  var LogisticsAddress = kmkfUtils.LogisticsAddressData.getInstance();
10208
10211
  var address = kmkfUtils.AddressData.getInstance();
10209
10212
  var _props$value = props.value,
@@ -10352,7 +10355,20 @@ var LogisticsInterception = function LogisticsInterception(props) {
10352
10355
  interceptLogisticsStatus: undefined,
10353
10356
  interceptLogisticsStatusOther: undefined,
10354
10357
  interceptLogisticsSnapshot: undefined,
10355
- qySelfInterceptLogisticsStatus: undefined
10358
+ qySelfInterceptLogisticsStatus: undefined,
10359
+ interceptLogisticsApiStatus: {
10360
+ status: '',
10361
+ reason: ''
10362
+ }
10363
+ });
10364
+ }
10365
+ if (type === 'interceptLogisticsApiStatus') {
10366
+ var _value$interceptLogis;
10367
+ newValue = _objectSpread2(_objectSpread2({}, value), {}, {
10368
+ interceptLogisticsApiStatus: {
10369
+ status: val,
10370
+ reason: (value === null || value === void 0 ? void 0 : (_value$interceptLogis = value.interceptLogisticsApiStatus) === null || _value$interceptLogis === void 0 ? void 0 : _value$interceptLogis.reason) || ''
10371
+ }
10356
10372
  });
10357
10373
  }
10358
10374
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
@@ -10517,7 +10533,31 @@ var LogisticsInterception = function LogisticsInterception(props) {
10517
10533
  label: '拦截失败',
10518
10534
  value: '拦截失败'
10519
10535
  }]
10520
- })));
10536
+ })), /*#__PURE__*/React__default['default'].createElement(Item, {
10537
+ label: '接口状态',
10538
+ key: 'interceptLogisticsApiStatus'
10539
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Select, {
10540
+ value: (value === null || value === void 0 ? void 0 : (_value$interceptLogis2 = value.interceptLogisticsApiStatus) === null || _value$interceptLogis2 === void 0 ? void 0 : _value$interceptLogis2.status) || null,
10541
+ disabled: true,
10542
+ style: {
10543
+ width: '200px'
10544
+ },
10545
+ placeholder: "\u63A5\u53E3\u72B6\u6001",
10546
+ onChange: function onChange(val) {
10547
+ return changeHandle(val, 'interceptLogisticsApiStatus');
10548
+ },
10549
+ options: [{
10550
+ label: '成功',
10551
+ value: '成功'
10552
+ }, {
10553
+ label: '失败',
10554
+ value: '失败'
10555
+ }]
10556
+ }), (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", {
10557
+ style: {
10558
+ color: 'red'
10559
+ }
10560
+ }, "\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
10561
  };
10522
10562
 
10523
10563
  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.0",
3
+ "version": "1.16.5-alpha.6",
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.0",
23
+ "@kmkf-fe-packages/kmkf-utils": "1.16.5-alpha.6",
24
24
  "ahooks": "^3.7.4",
25
25
  "bignumber.js": "^9.1.2",
26
- "kmkf-monitor": "^0.8.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.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": "6d29859836c95ffbfe14ef096e422b82f1326445"
68
+ "gitHead": "adec71dedd1a96f8077aaba07425a02bcb6c5e04"
69
69
  }