bkui-vue 0.0.2-beta.14 → 0.0.2-beta.15
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 +20 -20
- package/dist/index.cjs.source.js +8 -4
- package/dist/index.esm.js +1089 -1082
- package/dist/index.esm.source.js +8 -4
- package/dist/index.umd.js +20 -20
- package/dist/index.umd.source.js +8 -4
- package/dist/style.css +11171 -1
- package/lib/search-select/index.d.ts +3 -0
- package/lib/search-select/index.js +1 -1
- package/lib/search-select/search-select.d.ts +1 -0
- package/lib/search-select/utils.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.umd.source.js
CHANGED
@@ -44753,15 +44753,16 @@ ${$(r2)}`), n2;
|
|
44753
44753
|
const isMatched = item.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase());
|
44754
44754
|
if (isMatched) {
|
44755
44755
|
list.push(item);
|
44756
|
+
const filterList = [];
|
44756
44757
|
(_a2 = item.children) == null ? void 0 : _a2.forEach((child) => {
|
44757
|
-
|
44758
|
+
filterList.push({
|
44758
44759
|
...item,
|
44759
44760
|
realId: item.id,
|
44760
44761
|
id: random(10),
|
44761
44762
|
value: child
|
44762
44763
|
});
|
44763
44764
|
});
|
44764
|
-
|
44765
|
+
!filterList.length && !item.onlyRecommendChildren && filterList.push({
|
44765
44766
|
...item,
|
44766
44767
|
realId: item.id,
|
44767
44768
|
id: random(10),
|
@@ -44770,10 +44771,12 @@ ${$(r2)}`), n2;
|
|
44770
44771
|
name: keyword.value
|
44771
44772
|
}
|
44772
44773
|
});
|
44774
|
+
list.push(...filterList);
|
44773
44775
|
} else {
|
44776
|
+
const filterList = [];
|
44774
44777
|
(_b2 = item.children) == null ? void 0 : _b2.forEach((child) => {
|
44775
44778
|
if (child.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase())) {
|
44776
|
-
|
44779
|
+
filterList.push({
|
44777
44780
|
...item,
|
44778
44781
|
realId: item.id,
|
44779
44782
|
id: random(10),
|
@@ -44781,13 +44784,14 @@ ${$(r2)}`), n2;
|
|
44781
44784
|
});
|
44782
44785
|
}
|
44783
44786
|
});
|
44784
|
-
|
44787
|
+
!filterList.length && !item.onlyRecommendChildren && filterList.push({
|
44785
44788
|
...item,
|
44786
44789
|
value: {
|
44787
44790
|
id: keyword.value,
|
44788
44791
|
name: keyword.value
|
44789
44792
|
}
|
44790
44793
|
});
|
44794
|
+
list.push(...filterList);
|
44791
44795
|
}
|
44792
44796
|
});
|
44793
44797
|
} else if (usingItem.value.type === "condition") {
|