bkui-vue 2.0.2-beta.38 → 2.0.2-beta.39
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 +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.umd.js +1 -1
- package/lib/index.js +1 -1
- package/lib/search-select/index.js +2 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -26582,10 +26582,10 @@ const VN = /* @__PURE__ */ pe({
|
|
26582
26582
|
keyword: p
|
26583
26583
|
} = e;
|
26584
26584
|
const b = p.length;
|
26585
|
-
if (!(p != null && p.trim().length) || !v.toLocaleLowerCase().includes(p.toLocaleLowerCase())) return v;
|
26585
|
+
if (!(p != null && p.trim().length) || !v.toLocaleLowerCase().includes(p.toLocaleLowerCase().trim())) return v;
|
26586
26586
|
const y = [];
|
26587
26587
|
let x = -1;
|
26588
|
-
return p = p.replace(/([.*/]{1})/gim, "\\$1"), v.replace(new RegExp(`${p}`, "igm"), (w, C) => (y.length === 0 && C !== 0 ? y.push(v.slice(0, C)) : x >= 0 && y.push(v.slice(x + w.length, C)), y.push(d("span", {
|
26588
|
+
return p = p.replace(/([.*/]{1})/gim, "\\$1").trim(), v.replace(new RegExp(`${p}`, "igm"), (w, C) => (y.length === 0 && C !== 0 ? y.push(v.slice(0, C)) : x >= 0 && y.push(v.slice(x + w.length, C)), y.push(d("span", {
|
26589
26589
|
class: "is-keyword"
|
26590
26590
|
}, [w])), x = C, w)), x >= 0 && y.push(v.slice(x + b)), y.length ? y : v;
|
26591
26591
|
}
|
@@ -34942,7 +34942,7 @@ const xk = (e, t) => {
|
|
34942
34942
|
}, Rk = {
|
34943
34943
|
createInstall: nm,
|
34944
34944
|
install: nm()
|
34945
|
-
}, _k = "2.0.2-beta.
|
34945
|
+
}, _k = "2.0.2-beta.39";
|
34946
34946
|
window.__bkui_vue_version__ = _k;
|
34947
34947
|
export {
|
34948
34948
|
Sg as $bkPopover,
|