bkui-vue 2.0.2-beta.34 → 2.0.2-beta.35
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 +2 -2
- package/dist/index.esm.js +7 -4
- package/dist/index.umd.js +2 -2
- package/lib/cascader/cascader.d.ts +11 -0
- package/lib/cascader/index.d.ts +23 -0
- package/lib/cascader/index.js +5 -4
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -13494,6 +13494,7 @@ const vx = /* @__PURE__ */ pe({
|
|
13494
13494
|
scrollWidth: m.oneOfType([m.number, m.string]).def("auto"),
|
13495
13495
|
customTextFillback: m.func,
|
13496
13496
|
customTagsFillback: m.func,
|
13497
|
+
changeEmitsNodes: m.bool.def(!1),
|
13497
13498
|
collapseTags: {
|
13498
13499
|
type: Boolean,
|
13499
13500
|
default: !0
|
@@ -13557,14 +13558,16 @@ const vx = /* @__PURE__ */ pe({
|
|
13557
13558
|
x.value = w.value, f.value = !1;
|
13558
13559
|
});
|
13559
13560
|
}, z = (V, te) => {
|
13560
|
-
var
|
13561
|
-
R(V), t("update:modelValue", V)
|
13561
|
+
var ce;
|
13562
|
+
R(V), t("update:modelValue", V);
|
13563
|
+
const se = e.changeEmitsNodes ? u.value.getNodeByValue(V) : V;
|
13564
|
+
te !== void 0 && t("change", se), (ce = _ == null ? void 0 : _.value) == null || ce.focus(), y.value = !1;
|
13562
13565
|
}, L = () => {
|
13563
13566
|
u.value = new w6(e), R(e.modelValue);
|
13564
13567
|
}, H = (V) => {
|
13565
13568
|
C.value = V.isShow, t("toggle", V.isShow), x.value = V.isShow, w.value = V.isShow, De(() => {
|
13566
13569
|
var te, se;
|
13567
|
-
V && ((te = _.value) == null || te.focus()
|
13570
|
+
V.isShow && ((te = _.value) == null || te.focus(), (se = v.value) == null || se.scrollToSelected());
|
13568
13571
|
}), V.isShow && W(), V.isShow || (y.value = !1);
|
13569
13572
|
}, j = hr(200, (V) => {
|
13570
13573
|
const te = V.target;
|
@@ -34939,7 +34942,7 @@ const xk = (e, t) => {
|
|
34939
34942
|
}, Rk = {
|
34940
34943
|
createInstall: nm,
|
34941
34944
|
install: nm()
|
34942
|
-
}, _k = "2.0.2-beta.
|
34945
|
+
}, _k = "2.0.2-beta.35";
|
34943
34946
|
window.__bkui_vue_version__ = _k;
|
34944
34947
|
export {
|
34945
34948
|
Sg as $bkPopover,
|