@kmkf-fe-packages/basic-components 2.0.54-beta.46 → 2.0.54-beta.48

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
@@ -7722,7 +7722,8 @@ var Province = function Province(props) {
7722
7722
  workOrder: AddressData.getInstance(),
7723
7723
  bs: BsAddressData.getInstance(),
7724
7724
  wdt: WdtAddressData.getInstance(),
7725
- gy: GyAddressData.getInstance()
7725
+ gy: GyAddressData.getInstance(),
7726
+ km: AddressData.getInstance()
7726
7727
  };
7727
7728
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Cascader, _objectSpread2(_objectSpread2({}, props), {}, {
7728
7729
  options: ((_mapping$type = mapping[type]) === null || _mapping$type === void 0 ? void 0 : _mapping$type.addressOptions) || [],
@@ -7828,6 +7829,7 @@ var IdentifyAddress = function IdentifyAddress(props) {
7828
7829
  bs: BsAddressData,
7829
7830
  wdt: WdtAddressData,
7830
7831
  gy: GyAddressData,
7832
+ km: AddressData,
7831
7833
  workOrder: AddressData
7832
7834
  }[type] || AddressData).getInstance();
7833
7835
  if ((val === null || val === void 0 ? void 0 : val.province) && addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.province)) {
@@ -19713,7 +19715,7 @@ var PublicReissue = function PublicReissue(props) {
19713
19715
  sysOrderNo: val
19714
19716
  });
19715
19717
  }
19716
- onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
19718
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue, 'systemOrder');
19717
19719
  };
19718
19720
  //显示选择商品按钮
19719
19721
  var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type32 = typeMap$2[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.systemOrderNo]);
package/dist/index.js CHANGED
@@ -7734,7 +7734,8 @@ var Province = function Province(props) {
7734
7734
  workOrder: kmkfUtils.AddressData.getInstance(),
7735
7735
  bs: kmkfUtils.BsAddressData.getInstance(),
7736
7736
  wdt: kmkfUtils.WdtAddressData.getInstance(),
7737
- gy: kmkfUtils.GyAddressData.getInstance()
7737
+ gy: kmkfUtils.GyAddressData.getInstance(),
7738
+ km: kmkfUtils.AddressData.getInstance()
7738
7739
  };
7739
7740
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, _objectSpread2(_objectSpread2({}, props), {}, {
7740
7741
  options: ((_mapping$type = mapping[type]) === null || _mapping$type === void 0 ? void 0 : _mapping$type.addressOptions) || [],
@@ -7840,6 +7841,7 @@ var IdentifyAddress = function IdentifyAddress(props) {
7840
7841
  bs: kmkfUtils.BsAddressData,
7841
7842
  wdt: kmkfUtils.WdtAddressData,
7842
7843
  gy: kmkfUtils.GyAddressData,
7844
+ km: kmkfUtils.AddressData,
7843
7845
  workOrder: kmkfUtils.AddressData
7844
7846
  }[type] || kmkfUtils.AddressData).getInstance();
7845
7847
  if ((val === null || val === void 0 ? void 0 : val.province) && addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.province)) {
@@ -19725,7 +19727,7 @@ var PublicReissue = function PublicReissue(props) {
19725
19727
  sysOrderNo: val
19726
19728
  });
19727
19729
  }
19728
- onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
19730
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue, 'systemOrder');
19729
19731
  };
19730
19732
  //显示选择商品按钮
19731
19733
  var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type32 = typeMap$2[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.systemOrderNo]);
@@ -3,7 +3,7 @@ interface ProvinceType {
3
3
  value: string[];
4
4
  disabled: boolean;
5
5
  onChange: (value: any, selectedOptions: any) => void;
6
- type?: 'workOrder' | 'bs' | 'wdt';
6
+ type?: 'workOrder' | 'bs' | 'wdt' | 'gy' | 'km';
7
7
  }
8
8
  declare const Province: (props: Partial<ProvinceType>) => React.JSX.Element;
9
9
  export default Province;
@@ -9,7 +9,7 @@ interface IdentifyAddressProps {
9
9
  onChange: (value: any) => void;
10
10
  disabled?: boolean;
11
11
  showIdentify?: boolean;
12
- type?: 'workOrder' | 'bs' | 'wdt';
12
+ type?: 'workOrder' | 'bs' | 'wdt' | 'gy' | 'km';
13
13
  }
14
14
  declare const IdentifyAddress: (props: IdentifyAddressProps) => React.JSX.Element;
15
15
  export default IdentifyAddress;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.0.54-beta.46",
3
+ "version": "2.0.54-beta.48",
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": "2.0.54-beta.46",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.48",
24
24
  "ahooks": "^3.7.4",
25
25
  "bignumber.js": "^9.1.2",
26
26
  "kmkf-monitor": "^0.8.9",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "832b0e90615859704a621522ebd87ae205be369f"
68
+ "gitHead": "fff15859c9922c74aa98692906c521d460ba51d0"
69
69
  }