@kmkf-fe-packages/basic-components 0.18.2-alpha.0 → 0.18.2-alpha.1

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
@@ -7485,9 +7485,8 @@ var IdentifyAddress = function IdentifyAddress(props) {
7485
7485
  receiverMobile: val === null || val === void 0 ? void 0 : val.phone,
7486
7486
  address: []
7487
7487
  };
7488
- var addressData = type === 'bs' ? BsAddressData.getInstance() : AddressData.getInstance();
7489
- if ((val === null || val === void 0 ? void 0 : val.province) && addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.province)) {
7490
- params.address = [addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.province), addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.city), addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.district)];
7488
+ if ((val === null || val === void 0 ? void 0 : val.province) && AddressData.getInstance().getProCodeByName(val === null || val === void 0 ? void 0 : val.province)) {
7489
+ params.address = [AddressData.getInstance().getProCodeByName(val === null || val === void 0 ? void 0 : val.province), AddressData.getInstance().getProCodeByName(val === null || val === void 0 ? void 0 : val.city), AddressData.getInstance().getProCodeByName(val === null || val === void 0 ? void 0 : val.district)];
7491
7490
  }
7492
7491
  onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2({}, params));
7493
7492
  };
@@ -10938,7 +10937,8 @@ var BsExchange = function BsExchange(props) {
10938
10937
  headerText: "\u8D60\u54C1",
10939
10938
  key: 'bsGiftGoods',
10940
10939
  disabled: disabled,
10941
- shopCode: value === null || value === void 0 ? void 0 : value.shopCode
10940
+ shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
10941
+ canUpdateNumber: true
10942
10942
  }, other), {}, {
10943
10943
  value: value === null || value === void 0 ? void 0 : value.bsExchangeGiftGoods,
10944
10944
  onChange: function onChange(val) {
package/dist/index.js CHANGED
@@ -7496,9 +7496,8 @@ var IdentifyAddress = function IdentifyAddress(props) {
7496
7496
  receiverMobile: val === null || val === void 0 ? void 0 : val.phone,
7497
7497
  address: []
7498
7498
  };
7499
- var addressData = type === 'bs' ? kmkfUtils.BsAddressData.getInstance() : kmkfUtils.AddressData.getInstance();
7500
- if ((val === null || val === void 0 ? void 0 : val.province) && addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.province)) {
7501
- params.address = [addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.province), addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.city), addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.district)];
7499
+ if ((val === null || val === void 0 ? void 0 : val.province) && kmkfUtils.AddressData.getInstance().getProCodeByName(val === null || val === void 0 ? void 0 : val.province)) {
7500
+ params.address = [kmkfUtils.AddressData.getInstance().getProCodeByName(val === null || val === void 0 ? void 0 : val.province), kmkfUtils.AddressData.getInstance().getProCodeByName(val === null || val === void 0 ? void 0 : val.city), kmkfUtils.AddressData.getInstance().getProCodeByName(val === null || val === void 0 ? void 0 : val.district)];
7502
7501
  }
7503
7502
  onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2({}, params));
7504
7503
  };
@@ -10949,7 +10948,8 @@ var BsExchange = function BsExchange(props) {
10949
10948
  headerText: "\u8D60\u54C1",
10950
10949
  key: 'bsGiftGoods',
10951
10950
  disabled: disabled,
10952
- shopCode: value === null || value === void 0 ? void 0 : value.shopCode
10951
+ shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
10952
+ canUpdateNumber: true
10953
10953
  }, other), {}, {
10954
10954
  value: value === null || value === void 0 ? void 0 : value.bsExchangeGiftGoods,
10955
10955
  onChange: function onChange(val) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.18.2-alpha.0",
3
+ "version": "0.18.2-alpha.1",
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.18.2-alpha.0",
23
+ "@kmkf-fe-packages/kmkf-utils": "^0.18.0",
24
24
  "lodash": "^4.17.21",
25
25
  "pubsub-js": "^1.9.4",
26
26
  "react-copy-to-clipboard": "^5.1.0",
@@ -61,5 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "0157017d655f8d96a7461a379ca09eff02593230"
64
+ "gitHead": "ce5192966164e1edc8d97dd05126f8b96bba3788"
65
65
  }