@kmkf-fe-packages/basic-components 0.19.0-alpha.1 → 0.19.0-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 +4 -3
- package/dist/index.js +4 -3
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -7133,7 +7133,7 @@ var ApaasUploadFile = function ApaasUploadFile(_ref) {
|
|
|
7133
7133
|
value: ""
|
|
7134
7134
|
})), /*#__PURE__*/React.createElement(Dragger, _objectSpread2({
|
|
7135
7135
|
disabled: disabled,
|
|
7136
|
-
multiple:
|
|
7136
|
+
multiple: true,
|
|
7137
7137
|
accept: accept,
|
|
7138
7138
|
name: "file",
|
|
7139
7139
|
maxCount: maxCount,
|
|
@@ -7485,8 +7485,9 @@ var IdentifyAddress = function IdentifyAddress(props) {
|
|
|
7485
7485
|
receiverMobile: val === null || val === void 0 ? void 0 : val.phone,
|
|
7486
7486
|
address: []
|
|
7487
7487
|
};
|
|
7488
|
-
|
|
7489
|
-
|
|
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)];
|
|
7490
7491
|
}
|
|
7491
7492
|
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2({}, params));
|
|
7492
7493
|
};
|
package/dist/index.js
CHANGED
|
@@ -7144,7 +7144,7 @@ var ApaasUploadFile = function ApaasUploadFile(_ref) {
|
|
|
7144
7144
|
value: ""
|
|
7145
7145
|
})), /*#__PURE__*/React__default['default'].createElement(Dragger, _objectSpread2({
|
|
7146
7146
|
disabled: disabled,
|
|
7147
|
-
multiple:
|
|
7147
|
+
multiple: true,
|
|
7148
7148
|
accept: accept,
|
|
7149
7149
|
name: "file",
|
|
7150
7150
|
maxCount: maxCount,
|
|
@@ -7496,8 +7496,9 @@ var IdentifyAddress = function IdentifyAddress(props) {
|
|
|
7496
7496
|
receiverMobile: val === null || val === void 0 ? void 0 : val.phone,
|
|
7497
7497
|
address: []
|
|
7498
7498
|
};
|
|
7499
|
-
|
|
7500
|
-
|
|
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)];
|
|
7501
7502
|
}
|
|
7502
7503
|
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2({}, params));
|
|
7503
7504
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.19.0-alpha.
|
|
3
|
+
"version": "0.19.0-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.18.0",
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.18.2-alpha.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": "8557d323cbbb8a9f8592f3a5a7853d4fa00ba6bd"
|
|
65
65
|
}
|