bkui-vue 0.0.1-beta.427 → 0.0.1-beta.428

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
@@ -21378,6 +21378,7 @@ const tagProps = () => ({
21378
21378
  allowNextFocus: PropTypes.bool.def(true),
21379
21379
  allowAutoMatch: PropTypes.bool.def(false),
21380
21380
  showClearOnlyHover: PropTypes.bool.def(false),
21381
+ isAsyncList: PropTypes.bool.def(false),
21381
21382
  leftSpace: PropTypes.number.def(0),
21382
21383
  createTagValidator: {
21383
21384
  type: Function
@@ -21651,7 +21652,8 @@ var Component$e = defineComponent({
21651
21652
  modelValue,
21652
21653
  displayKey,
21653
21654
  allowCreate,
21654
- trigger
21655
+ trigger,
21656
+ isAsyncList
21655
21657
  } = props2;
21656
21658
  listState.selectedTagList = [];
21657
21659
  listState.localList = flatList.value;
@@ -21672,6 +21674,13 @@ var Component$e = defineComponent({
21672
21674
  listState.localList = listState.localList.filter((val) => !modelValueMap[val[saveKey]]);
21673
21675
  }
21674
21676
  }
21677
+ if (isAsyncList && curInputValue.value) {
21678
+ filterData(curInputValue.value);
21679
+ if (pageState.curPageList.length) {
21680
+ popoverProps.isShow = true;
21681
+ }
21682
+ return;
21683
+ }
21675
21684
  if (trigger === "focus") {
21676
21685
  filterData();
21677
21686
  }