@xfe-repo/web-components 1.8.3 → 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.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
- }, params), config)
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
- }, params), config)
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
- }, params), config)
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
- }, params), config)
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
- }, searchParams), config)
6397
+ }), config)
6398
6398
  ];
6399
6399
  case 1:
6400
6400
  res = _state.sent();
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
- }, params), config)
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
- }, params), config)
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
- }, params), config)
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
- }, params), config)
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
- }, searchParams), config)
6115
+ }), config)
6116
6116
  ];
6117
6117
  case 1:
6118
6118
  res = _state.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfe-repo/web-components",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "module": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": [
@@ -52,8 +52,8 @@
52
52
  "esbuild-plugin-less": "^1.3.9",
53
53
  "eslint": "8.57.1",
54
54
  "vitest": "^4.0.14",
55
- "@xfe-repo/typescript-config": "1.6.1",
56
- "@xfe-repo/eslint-config": "1.6.0"
55
+ "@xfe-repo/eslint-config": "1.6.0",
56
+ "@xfe-repo/typescript-config": "1.6.1"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@ant-design/icons": "^5.0.0",
@@ -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/"