@kmkf-fe-packages/basic-components 0.18.2-alpha.0 → 0.19.0-alpha.0
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/README.md +1 -2
- package/dist/index.esm.js +3 -4
- package/dist/index.js +3 -4
- package/package.json +3 -3
package/README.md
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -6868,7 +6868,7 @@ var ApaasUploadFile = function ApaasUploadFile(_ref) {
|
|
|
6868
6868
|
var _ref$maxCount = _ref.maxCount,
|
|
6869
6869
|
maxCount = _ref$maxCount === void 0 ? 10 : _ref$maxCount,
|
|
6870
6870
|
_ref$maxSize = _ref.maxSize,
|
|
6871
|
-
maxSize = _ref$maxSize === void 0 ?
|
|
6871
|
+
maxSize = _ref$maxSize === void 0 ? 100 : _ref$maxSize,
|
|
6872
6872
|
_ref$onChange = _ref.onChange,
|
|
6873
6873
|
onChange = _ref$onChange === void 0 ? fn$2 : _ref$onChange,
|
|
6874
6874
|
_ref$value = _ref.value,
|
|
@@ -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
|
-
|
|
7489
|
-
|
|
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
|
};
|
package/dist/index.js
CHANGED
|
@@ -6879,7 +6879,7 @@ var ApaasUploadFile = function ApaasUploadFile(_ref) {
|
|
|
6879
6879
|
var _ref$maxCount = _ref.maxCount,
|
|
6880
6880
|
maxCount = _ref$maxCount === void 0 ? 10 : _ref$maxCount,
|
|
6881
6881
|
_ref$maxSize = _ref.maxSize,
|
|
6882
|
-
maxSize = _ref$maxSize === void 0 ?
|
|
6882
|
+
maxSize = _ref$maxSize === void 0 ? 100 : _ref$maxSize,
|
|
6883
6883
|
_ref$onChange = _ref.onChange,
|
|
6884
6884
|
onChange = _ref$onChange === void 0 ? fn$2 : _ref$onChange,
|
|
6885
6885
|
_ref$value = _ref.value,
|
|
@@ -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
|
-
|
|
7500
|
-
|
|
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
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0-alpha.0",
|
|
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.
|
|
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": "
|
|
64
|
+
"gitHead": "43ea6a17a17348f4bac959c6c3ee19068f198db9"
|
|
65
65
|
}
|