@bit-sun/business-component 4.0.13-alpha.7 → 4.0.13-alpha.8

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 CHANGED
@@ -5280,6 +5280,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5280
5280
  modalTableProps = _props$modalTableProp === void 0 ? {} : _props$modalTableProp,
5281
5281
  _props$labelInValue = props.labelInValue,
5282
5282
  labelInValue = _props$labelInValue === void 0 ? false : _props$labelInValue,
5283
+ needTopSelectedSource = props.needTopSelectedSource,
5283
5284
  rCTemp = props.requestConfig,
5284
5285
  ctx = props.ctx,
5285
5286
  _props$onlyShowStr = props.onlyShowStr,
@@ -5622,7 +5623,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5622
5623
  value: value,
5623
5624
  type: type,
5624
5625
  items: items,
5625
- queryParams: queryParams
5626
+ queryParams: queryParams,
5627
+ needTopSelectedSource: needTopSelectedSource
5626
5628
  });
5627
5629
  if (callback) {
5628
5630
  callback(source);
package/dist/index.js CHANGED
@@ -5303,6 +5303,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5303
5303
  modalTableProps = _props$modalTableProp === void 0 ? {} : _props$modalTableProp,
5304
5304
  _props$labelInValue = props.labelInValue,
5305
5305
  labelInValue = _props$labelInValue === void 0 ? false : _props$labelInValue,
5306
+ needTopSelectedSource = props.needTopSelectedSource,
5306
5307
  rCTemp = props.requestConfig,
5307
5308
  ctx = props.ctx,
5308
5309
  _props$onlyShowStr = props.onlyShowStr,
@@ -5645,7 +5646,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5645
5646
  value: value,
5646
5647
  type: type,
5647
5648
  items: items,
5648
- queryParams: queryParams
5649
+ queryParams: queryParams,
5650
+ needTopSelectedSource: needTopSelectedSource
5649
5651
  });
5650
5652
  if (callback) {
5651
5653
  callback(source);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "4.0.13-alpha.7",
3
+ "version": "4.0.13-alpha.8",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -21,6 +21,7 @@ const SearchSelect = forwardRef((props: any, ref: any) => {
21
21
  selectProps = {},
22
22
  modalTableProps = {},
23
23
  labelInValue = false,
24
+ needTopSelectedSource,
24
25
  requestConfig:rCTemp,
25
26
  ctx,
26
27
  onlyShowStr = false,
@@ -251,7 +252,7 @@ const SearchSelect = forwardRef((props: any, ref: any) => {
251
252
  return;
252
253
  }
253
254
  const res = result.data;
254
- const source: any = convertResData(requestConfig, res, { selectMode, labelInValue, value, type, items, queryParams });
255
+ const source: any = convertResData(requestConfig, res, { selectMode, labelInValue, value, type, items, queryParams, needTopSelectedSource });
255
256
 
256
257
  if(callback) {
257
258
  callback(source)