@kmkf-fe-packages/basic-components 0.23.1-beta.10 → 0.23.1-beta.11
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 +5 -1
- package/dist/index.js +5 -1
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -7513,7 +7513,11 @@ var IdentifyAddress = function IdentifyAddress(props) {
|
|
|
7513
7513
|
receiverMobile: val === null || val === void 0 ? void 0 : val.phone,
|
|
7514
7514
|
address: []
|
|
7515
7515
|
};
|
|
7516
|
-
var addressData = type
|
|
7516
|
+
var addressData = (type && {
|
|
7517
|
+
bs: BsAddressData,
|
|
7518
|
+
wdt: WdtAddressData,
|
|
7519
|
+
workOrder: AddressData
|
|
7520
|
+
}[type] || AddressData).getInstance();
|
|
7517
7521
|
if ((val === null || val === void 0 ? void 0 : val.province) && addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.province)) {
|
|
7518
7522
|
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)];
|
|
7519
7523
|
}
|
package/dist/index.js
CHANGED
|
@@ -7524,7 +7524,11 @@ var IdentifyAddress = function IdentifyAddress(props) {
|
|
|
7524
7524
|
receiverMobile: val === null || val === void 0 ? void 0 : val.phone,
|
|
7525
7525
|
address: []
|
|
7526
7526
|
};
|
|
7527
|
-
var addressData = type
|
|
7527
|
+
var addressData = (type && {
|
|
7528
|
+
bs: kmkfUtils.BsAddressData,
|
|
7529
|
+
wdt: kmkfUtils.WdtAddressData,
|
|
7530
|
+
workOrder: kmkfUtils.AddressData
|
|
7531
|
+
}[type] || kmkfUtils.AddressData).getInstance();
|
|
7528
7532
|
if ((val === null || val === void 0 ? void 0 : val.province) && addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.province)) {
|
|
7529
7533
|
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)];
|
|
7530
7534
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.23.1-beta.
|
|
3
|
+
"version": "0.23.1-beta.11",
|
|
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.23.1-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.23.1-beta.11",
|
|
24
24
|
"ahooks": "3.7.4",
|
|
25
25
|
"kmkf-monitor": "^0.8.8",
|
|
26
26
|
"lodash": "^4.17.21",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "a50813e4cefd5c1cf0dec7defe301d16ed08c212"
|
|
68
68
|
}
|