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.cjs.js +11 -11
- package/dist/index.esm.js +10 -1
- package/dist/index.umd.js +11 -11
- package/lib/tag-input/index.d.ts +24 -1
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/tag-input.d.ts +11 -0
- package/lib/tag-input/tag-props.d.ts +5 -0
- package/package.json +1 -1
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
|
}
|