@kmkf-fe-packages/basic-components 0.8.18-alpha.0 → 0.8.18-alpha.4

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
@@ -7226,8 +7226,6 @@ function ApaasRate(props) {
7226
7226
  }));
7227
7227
  }
7228
7228
 
7229
- var address = AddressData.getInstance();
7230
- var bsAddress = BsAddressData.getInstance();
7231
7229
  var Province = function Province(props) {
7232
7230
  var _props$type = props.type,
7233
7231
  type = _props$type === void 0 ? 'workOrder' : _props$type;
@@ -7241,7 +7239,7 @@ var Province = function Province(props) {
7241
7239
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7242
7240
  while (1) switch (_context.prev = _context.next) {
7243
7241
  case 0:
7244
- setOptions(type !== 'bs' ? address.addressOptions || [] : bsAddress.addressOptions || []);
7242
+ setOptions(type !== 'bs' ? AddressData.getInstance().addressOptions || [] : BsAddressData.getInstance().addressOptions || []);
7245
7243
  case 1:
7246
7244
  case "end":
7247
7245
  return _context.stop();
@@ -9172,7 +9170,7 @@ styleInject(css_248z$7);
9172
9170
 
9173
9171
  var Item = Form.Item;
9174
9172
  var LogisticsAddress = LogisticsAddressData.getInstance();
9175
- var address$1 = AddressData.getInstance();
9173
+ var address = AddressData.getInstance();
9176
9174
  var LogisticsInterception = function LogisticsInterception(props) {
9177
9175
  var _props$value = props.value,
9178
9176
  value = _props$value === void 0 ? {} : _props$value,
@@ -9422,7 +9420,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
9422
9420
  return /*#__PURE__*/React.createElement(Select.Option, {
9423
9421
  key: item.uk,
9424
9422
  value: item.uk
9425
- }, "".concat(address$1.getNameByCode(item === null || item === void 0 ? void 0 : item.province) || '').concat(address$1.getNameByCode(item === null || item === void 0 ? void 0 : item.city) || '').concat(address$1.getNameByCode(item === null || item === void 0 ? void 0 : item.district) || '').concat(item.detail, " ").concat(item === null || item === void 0 ? void 0 : item.userName, ":").concat(item === null || item === void 0 ? void 0 : item.mobile));
9423
+ }, "".concat(address.getNameByCode(item === null || item === void 0 ? void 0 : item.province) || '').concat(address.getNameByCode(item === null || item === void 0 ? void 0 : item.city) || '').concat(address.getNameByCode(item === null || item === void 0 ? void 0 : item.district) || '').concat(item.detail, " ").concat(item === null || item === void 0 ? void 0 : item.userName, ":").concat(item === null || item === void 0 ? void 0 : item.mobile));
9426
9424
  }))), /*#__PURE__*/React.createElement(Item, {
9427
9425
  label: '派送地址',
9428
9426
  required: true,
package/dist/index.js CHANGED
@@ -7237,8 +7237,6 @@ function ApaasRate(props) {
7237
7237
  }));
7238
7238
  }
7239
7239
 
7240
- var address = kmkfUtils.AddressData.getInstance();
7241
- var bsAddress = kmkfUtils.BsAddressData.getInstance();
7242
7240
  var Province = function Province(props) {
7243
7241
  var _props$type = props.type,
7244
7242
  type = _props$type === void 0 ? 'workOrder' : _props$type;
@@ -7252,7 +7250,7 @@ var Province = function Province(props) {
7252
7250
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7253
7251
  while (1) switch (_context.prev = _context.next) {
7254
7252
  case 0:
7255
- setOptions(type !== 'bs' ? address.addressOptions || [] : bsAddress.addressOptions || []);
7253
+ setOptions(type !== 'bs' ? kmkfUtils.AddressData.getInstance().addressOptions || [] : kmkfUtils.BsAddressData.getInstance().addressOptions || []);
7256
7254
  case 1:
7257
7255
  case "end":
7258
7256
  return _context.stop();
@@ -9183,7 +9181,7 @@ styleInject(css_248z$7);
9183
9181
 
9184
9182
  var Item = antd.Form.Item;
9185
9183
  var LogisticsAddress = kmkfUtils.LogisticsAddressData.getInstance();
9186
- var address$1 = kmkfUtils.AddressData.getInstance();
9184
+ var address = kmkfUtils.AddressData.getInstance();
9187
9185
  var LogisticsInterception = function LogisticsInterception(props) {
9188
9186
  var _props$value = props.value,
9189
9187
  value = _props$value === void 0 ? {} : _props$value,
@@ -9433,7 +9431,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
9433
9431
  return /*#__PURE__*/React__default['default'].createElement(antd.Select.Option, {
9434
9432
  key: item.uk,
9435
9433
  value: item.uk
9436
- }, "".concat(address$1.getNameByCode(item === null || item === void 0 ? void 0 : item.province) || '').concat(address$1.getNameByCode(item === null || item === void 0 ? void 0 : item.city) || '').concat(address$1.getNameByCode(item === null || item === void 0 ? void 0 : item.district) || '').concat(item.detail, " ").concat(item === null || item === void 0 ? void 0 : item.userName, ":").concat(item === null || item === void 0 ? void 0 : item.mobile));
9434
+ }, "".concat(address.getNameByCode(item === null || item === void 0 ? void 0 : item.province) || '').concat(address.getNameByCode(item === null || item === void 0 ? void 0 : item.city) || '').concat(address.getNameByCode(item === null || item === void 0 ? void 0 : item.district) || '').concat(item.detail, " ").concat(item === null || item === void 0 ? void 0 : item.userName, ":").concat(item === null || item === void 0 ? void 0 : item.mobile));
9437
9435
  }))), /*#__PURE__*/React__default['default'].createElement(Item, {
9438
9436
  label: '派送地址',
9439
9437
  required: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.8.18-alpha.0",
3
+ "version": "0.8.18-alpha.4",
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": "^0.8.17",
23
+ "@kmkf-fe-packages/kmkf-utils": "^0.8.18-alpha.4",
24
24
  "lodash": "^4.17.21",
25
25
  "pubsub-js": "^1.9.4",
26
26
  "react-copy-to-clipboard": "^5.1.0",
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "52d8f54a3d76e8e97f6f4262746af4061dc72950"
63
+ "gitHead": "a9bfe4597a37cdecbefab062ee4eda38c8d5b964"
64
64
  }