@kmkf-fe-packages/basic-components 0.7.14-alpha.0 → 0.7.14-alpha.13
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 +6 -7
- package/dist/index.js +6 -7
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -3211,12 +3211,12 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
3211
3211
|
return item.value === (value === null || value === void 0 ? void 0 : value.interceptCompany);
|
|
3212
3212
|
});
|
|
3213
3213
|
var showAddress = ((interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.interceptionTypeList) || []).some(function (item) {
|
|
3214
|
-
var _item$config;
|
|
3215
|
-
return item.value === (value === null || value === void 0 ? void 0 : value.interceptType) && (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.showAddress);
|
|
3214
|
+
var _item$config, _item$config2;
|
|
3215
|
+
return item.value === (value === null || value === void 0 ? void 0 : value.interceptType) && ((item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.showAddress) || ((_item$config2 = item.config) === null || _item$config2 === void 0 ? void 0 : _item$config2.showAddressSelect));
|
|
3216
3216
|
});
|
|
3217
3217
|
var showSender = ((interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.interceptionTypeList) || []).some(function (item) {
|
|
3218
|
-
var _item$
|
|
3219
|
-
return item.value === (value === null || value === void 0 ? void 0 : value.interceptType) && (item === null || item === void 0 ? void 0 : (_item$
|
|
3218
|
+
var _item$config3;
|
|
3219
|
+
return item.value === (value === null || value === void 0 ? void 0 : value.interceptType) && (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.showSenderMobile);
|
|
3220
3220
|
});
|
|
3221
3221
|
var params = _objectSpread2({}, value);
|
|
3222
3222
|
if (!showAddress) {
|
|
@@ -3289,8 +3289,8 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
3289
3289
|
return item.value === val;
|
|
3290
3290
|
});
|
|
3291
3291
|
var _returnValue = ((interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.interceptionTypeList) || []).find(function (item) {
|
|
3292
|
-
var _item$
|
|
3293
|
-
return item === null || item === void 0 ? void 0 : (_item$
|
|
3292
|
+
var _item$config4;
|
|
3293
|
+
return item === null || item === void 0 ? void 0 : (_item$config4 = item.config) === null || _item$config4 === void 0 ? void 0 : _item$config4.isDefault;
|
|
3294
3294
|
});
|
|
3295
3295
|
newValue = _objectSpread2(_objectSpread2({}, value), {}, {
|
|
3296
3296
|
interceptCompany: val,
|
|
@@ -3320,7 +3320,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
3320
3320
|
//选择退回地址
|
|
3321
3321
|
var changeReturnAddress = function changeReturnAddress(uk) {
|
|
3322
3322
|
var item = LogisticsAddress.getItemByUk(uk);
|
|
3323
|
-
console.log(item);
|
|
3324
3323
|
if (item) {
|
|
3325
3324
|
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, {
|
|
3326
3325
|
interceptAddress: [item === null || item === void 0 ? void 0 : item.province, item === null || item === void 0 ? void 0 : item.city, item === null || item === void 0 ? void 0 : item.district],
|
package/dist/index.js
CHANGED
|
@@ -3221,12 +3221,12 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
3221
3221
|
return item.value === (value === null || value === void 0 ? void 0 : value.interceptCompany);
|
|
3222
3222
|
});
|
|
3223
3223
|
var showAddress = ((interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.interceptionTypeList) || []).some(function (item) {
|
|
3224
|
-
var _item$config;
|
|
3225
|
-
return item.value === (value === null || value === void 0 ? void 0 : value.interceptType) && (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.showAddress);
|
|
3224
|
+
var _item$config, _item$config2;
|
|
3225
|
+
return item.value === (value === null || value === void 0 ? void 0 : value.interceptType) && ((item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.showAddress) || ((_item$config2 = item.config) === null || _item$config2 === void 0 ? void 0 : _item$config2.showAddressSelect));
|
|
3226
3226
|
});
|
|
3227
3227
|
var showSender = ((interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.interceptionTypeList) || []).some(function (item) {
|
|
3228
|
-
var _item$
|
|
3229
|
-
return item.value === (value === null || value === void 0 ? void 0 : value.interceptType) && (item === null || item === void 0 ? void 0 : (_item$
|
|
3228
|
+
var _item$config3;
|
|
3229
|
+
return item.value === (value === null || value === void 0 ? void 0 : value.interceptType) && (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.showSenderMobile);
|
|
3230
3230
|
});
|
|
3231
3231
|
var params = _objectSpread2({}, value);
|
|
3232
3232
|
if (!showAddress) {
|
|
@@ -3299,8 +3299,8 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
3299
3299
|
return item.value === val;
|
|
3300
3300
|
});
|
|
3301
3301
|
var _returnValue = ((interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.interceptionTypeList) || []).find(function (item) {
|
|
3302
|
-
var _item$
|
|
3303
|
-
return item === null || item === void 0 ? void 0 : (_item$
|
|
3302
|
+
var _item$config4;
|
|
3303
|
+
return item === null || item === void 0 ? void 0 : (_item$config4 = item.config) === null || _item$config4 === void 0 ? void 0 : _item$config4.isDefault;
|
|
3304
3304
|
});
|
|
3305
3305
|
newValue = _objectSpread2(_objectSpread2({}, value), {}, {
|
|
3306
3306
|
interceptCompany: val,
|
|
@@ -3330,7 +3330,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
3330
3330
|
//选择退回地址
|
|
3331
3331
|
var changeReturnAddress = function changeReturnAddress(uk) {
|
|
3332
3332
|
var item = LogisticsAddress.getItemByUk(uk);
|
|
3333
|
-
console.log(item);
|
|
3334
3333
|
if (item) {
|
|
3335
3334
|
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, {
|
|
3336
3335
|
interceptAddress: [item === null || item === void 0 ? void 0 : item.province, item === null || item === void 0 ? void 0 : item.city, item === null || item === void 0 ? void 0 : item.district],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.7.14-alpha.
|
|
3
|
+
"version": "0.7.14-alpha.13",
|
|
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.7.14-alpha.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.7.14-alpha.9",
|
|
24
24
|
"umi-request": "^1.4.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "9be3679577165c64c1de730d9aa5cc7e660f11f8"
|
|
58
58
|
}
|