@kne/super-select 0.1.47 → 0.1.48

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.
@@ -1378,6 +1378,10 @@ const SelectTableList = createWithIntlProvider('zh-CN', locale$1, 'super-select'
1378
1378
  onOpenChange(false);
1379
1379
  }
1380
1380
  }) : footer);
1381
+ const paginationParamsType = (paginationProp == null ? void 0 : paginationProp.paramsType) || 'data';
1382
+ const searchRequestProps = typeof getSearchProps === 'function' && isNotEmpty(searchProps) ? {
1383
+ [paginationParamsType]: getSearchProps(searchProps) || {}
1384
+ } : {};
1381
1385
  const tablePageFetchConfig = options ? {
1382
1386
  data: {
1383
1387
  options,
@@ -1401,9 +1405,7 @@ const SelectTableList = createWithIntlProvider('zh-CN', locale$1, 'super-select'
1401
1405
  totalCount: pageData.length
1402
1406
  };
1403
1407
  }
1404
- } : merge({}, api, typeof getSearchProps === 'function' && isNotEmpty(searchProps) ? {
1405
- data: getSearchProps(searchProps) || {}
1406
- } : {});
1408
+ } : merge({}, api, searchRequestProps);
1407
1409
  const allColumnsHaveWidth = Array.isArray(columns) && columns.length > 0 && columns.every(hasColumnWidth);
1408
1410
  const tableSelection = {
1409
1411
  allowSelectedAll,