@xfe-repo/web-components 1.8.2 → 1.8.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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12 -14
- package/dist/index.mjs +12 -14
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4408,10 +4408,10 @@ function useBrandOptions(params) {
|
|
|
4408
4408
|
case 0:
|
|
4409
4409
|
return [
|
|
4410
4410
|
4,
|
|
4411
|
-
apiService.brandComboBox(_object_spread({
|
|
4411
|
+
apiService.brandComboBox(_object_spread_props(_object_spread({}, params), {
|
|
4412
4412
|
page: 1,
|
|
4413
4413
|
pageSize: 500
|
|
4414
|
-
}
|
|
4414
|
+
}), config)
|
|
4415
4415
|
];
|
|
4416
4416
|
case 1:
|
|
4417
4417
|
res = _state.sent();
|
|
@@ -4776,10 +4776,10 @@ function useSkuOptions(params) {
|
|
|
4776
4776
|
case 0:
|
|
4777
4777
|
return [
|
|
4778
4778
|
4,
|
|
4779
|
-
apiService.skuListV2(_object_spread({
|
|
4779
|
+
apiService.skuListV2(_object_spread_props(_object_spread({}, params), {
|
|
4780
4780
|
page: 1,
|
|
4781
4781
|
pageSize: 12
|
|
4782
|
-
}
|
|
4782
|
+
}), config)
|
|
4783
4783
|
];
|
|
4784
4784
|
case 1:
|
|
4785
4785
|
res = _state.sent();
|
|
@@ -5265,10 +5265,10 @@ function useSeriesOptions(params) {
|
|
|
5265
5265
|
case 0:
|
|
5266
5266
|
return [
|
|
5267
5267
|
4,
|
|
5268
|
-
apiService.seriesComboBox(_object_spread({
|
|
5268
|
+
apiService.seriesComboBox(_object_spread_props(_object_spread({}, params), {
|
|
5269
5269
|
page: 1,
|
|
5270
5270
|
pageSize: 12
|
|
5271
|
-
}
|
|
5271
|
+
}), config)
|
|
5272
5272
|
];
|
|
5273
5273
|
case 1:
|
|
5274
5274
|
res = _state.sent();
|
|
@@ -5535,10 +5535,10 @@ function useSpuOptions(params) {
|
|
|
5535
5535
|
case 0:
|
|
5536
5536
|
return [
|
|
5537
5537
|
4,
|
|
5538
|
-
apiService.spuList(_object_spread({
|
|
5538
|
+
apiService.spuList(_object_spread_props(_object_spread({}, params), {
|
|
5539
5539
|
page: 1,
|
|
5540
5540
|
pageSize: 12
|
|
5541
|
-
}
|
|
5541
|
+
}), config)
|
|
5542
5542
|
];
|
|
5543
5543
|
case 1:
|
|
5544
5544
|
res = _state.sent();
|
|
@@ -6391,10 +6391,10 @@ function useMerchantOptions(params) {
|
|
|
6391
6391
|
];
|
|
6392
6392
|
return [
|
|
6393
6393
|
4,
|
|
6394
|
-
apiService.merchantList(_object_spread({
|
|
6394
|
+
apiService.merchantList(_object_spread_props(_object_spread({}, searchParams), {
|
|
6395
6395
|
page: 1,
|
|
6396
6396
|
pageSize: 20
|
|
6397
|
-
}
|
|
6397
|
+
}), config)
|
|
6398
6398
|
];
|
|
6399
6399
|
case 1:
|
|
6400
6400
|
res = _state.sent();
|
|
@@ -6431,8 +6431,7 @@ var getMerchantSourceLabel = function getMerchantSourceLabel(item, sourceValue)
|
|
|
6431
6431
|
enterpriseNo: item.enterpriseNo,
|
|
6432
6432
|
platformName: item.platformName,
|
|
6433
6433
|
name: item.name,
|
|
6434
|
-
|
|
6435
|
-
phone: ""
|
|
6434
|
+
phone: item.phone
|
|
6436
6435
|
};
|
|
6437
6436
|
return sourceLabelMap[sourceValue] || [
|
|
6438
6437
|
item.enterpriseNo,
|
|
@@ -6624,8 +6623,7 @@ var getMerchantSourceLabel2 = function getMerchantSourceLabel2(item, sourceValue
|
|
|
6624
6623
|
enterpriseNo: item.enterpriseNo,
|
|
6625
6624
|
platformName: item.platformName,
|
|
6626
6625
|
name: item.name,
|
|
6627
|
-
|
|
6628
|
-
phone: ""
|
|
6626
|
+
phone: item.phone
|
|
6629
6627
|
};
|
|
6630
6628
|
return sourceLabelMap[sourceValue] || [
|
|
6631
6629
|
item.enterpriseNo,
|
package/dist/index.mjs
CHANGED
|
@@ -4126,10 +4126,10 @@ function useBrandOptions(params) {
|
|
|
4126
4126
|
case 0:
|
|
4127
4127
|
return [
|
|
4128
4128
|
4,
|
|
4129
|
-
apiService.brandComboBox(_object_spread({
|
|
4129
|
+
apiService.brandComboBox(_object_spread_props(_object_spread({}, params), {
|
|
4130
4130
|
page: 1,
|
|
4131
4131
|
pageSize: 500
|
|
4132
|
-
}
|
|
4132
|
+
}), config)
|
|
4133
4133
|
];
|
|
4134
4134
|
case 1:
|
|
4135
4135
|
res = _state.sent();
|
|
@@ -4494,10 +4494,10 @@ function useSkuOptions(params) {
|
|
|
4494
4494
|
case 0:
|
|
4495
4495
|
return [
|
|
4496
4496
|
4,
|
|
4497
|
-
apiService.skuListV2(_object_spread({
|
|
4497
|
+
apiService.skuListV2(_object_spread_props(_object_spread({}, params), {
|
|
4498
4498
|
page: 1,
|
|
4499
4499
|
pageSize: 12
|
|
4500
|
-
}
|
|
4500
|
+
}), config)
|
|
4501
4501
|
];
|
|
4502
4502
|
case 1:
|
|
4503
4503
|
res = _state.sent();
|
|
@@ -4983,10 +4983,10 @@ function useSeriesOptions(params) {
|
|
|
4983
4983
|
case 0:
|
|
4984
4984
|
return [
|
|
4985
4985
|
4,
|
|
4986
|
-
apiService.seriesComboBox(_object_spread({
|
|
4986
|
+
apiService.seriesComboBox(_object_spread_props(_object_spread({}, params), {
|
|
4987
4987
|
page: 1,
|
|
4988
4988
|
pageSize: 12
|
|
4989
|
-
}
|
|
4989
|
+
}), config)
|
|
4990
4990
|
];
|
|
4991
4991
|
case 1:
|
|
4992
4992
|
res = _state.sent();
|
|
@@ -5253,10 +5253,10 @@ function useSpuOptions(params) {
|
|
|
5253
5253
|
case 0:
|
|
5254
5254
|
return [
|
|
5255
5255
|
4,
|
|
5256
|
-
apiService.spuList(_object_spread({
|
|
5256
|
+
apiService.spuList(_object_spread_props(_object_spread({}, params), {
|
|
5257
5257
|
page: 1,
|
|
5258
5258
|
pageSize: 12
|
|
5259
|
-
}
|
|
5259
|
+
}), config)
|
|
5260
5260
|
];
|
|
5261
5261
|
case 1:
|
|
5262
5262
|
res = _state.sent();
|
|
@@ -6109,10 +6109,10 @@ function useMerchantOptions(params) {
|
|
|
6109
6109
|
];
|
|
6110
6110
|
return [
|
|
6111
6111
|
4,
|
|
6112
|
-
apiService.merchantList(_object_spread({
|
|
6112
|
+
apiService.merchantList(_object_spread_props(_object_spread({}, searchParams), {
|
|
6113
6113
|
page: 1,
|
|
6114
6114
|
pageSize: 20
|
|
6115
|
-
}
|
|
6115
|
+
}), config)
|
|
6116
6116
|
];
|
|
6117
6117
|
case 1:
|
|
6118
6118
|
res = _state.sent();
|
|
@@ -6149,8 +6149,7 @@ var getMerchantSourceLabel = function getMerchantSourceLabel(item, sourceValue)
|
|
|
6149
6149
|
enterpriseNo: item.enterpriseNo,
|
|
6150
6150
|
platformName: item.platformName,
|
|
6151
6151
|
name: item.name,
|
|
6152
|
-
|
|
6153
|
-
phone: ""
|
|
6152
|
+
phone: item.phone
|
|
6154
6153
|
};
|
|
6155
6154
|
return sourceLabelMap[sourceValue] || [
|
|
6156
6155
|
item.enterpriseNo,
|
|
@@ -6342,8 +6341,7 @@ var getMerchantSourceLabel2 = function getMerchantSourceLabel2(item, sourceValue
|
|
|
6342
6341
|
enterpriseNo: item.enterpriseNo,
|
|
6343
6342
|
platformName: item.platformName,
|
|
6344
6343
|
name: item.name,
|
|
6345
|
-
|
|
6346
|
-
phone: ""
|
|
6344
|
+
phone: item.phone
|
|
6347
6345
|
};
|
|
6348
6346
|
return sourceLabelMap[sourceValue] || [
|
|
6349
6347
|
item.enterpriseNo,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xfe-repo/web-components",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.4",
|
|
4
4
|
"module": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"react-dom": "18.2.0",
|
|
64
64
|
"react-use": "^17.5.1",
|
|
65
65
|
"swr": "^2.2.5",
|
|
66
|
-
"@xfe-repo/web-micro": "1.7.0",
|
|
67
66
|
"@xfe-repo/web-router": "1.6.1",
|
|
68
67
|
"@xfe-repo/web-service": "1.6.0",
|
|
69
|
-
"@xfe-repo/web-utils": "1.6.0"
|
|
68
|
+
"@xfe-repo/web-utils": "1.6.0",
|
|
69
|
+
"@xfe-repo/web-micro": "1.7.0"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"registry": "https://registry.npmjs.org/"
|