bkui-vue 2.0.2-beta.86 → 2.0.2-beta.88
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 +3 -3
- package/dist/index.esm.js +6 -5
- package/dist/index.umd.js +3 -3
- package/lib/index.js +1 -1
- package/lib/modal/index.js +5 -2
- package/lib/tag/index.d.ts +23 -0
- package/lib/tag/index.js +8 -3
- package/lib/tag/tag.d.ts +11 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -11232,7 +11232,8 @@ const NP = /* @__PURE__ */ Re({
|
|
|
11232
11232
|
checkable: v.bool.def(!1),
|
|
11233
11233
|
checked: v.bool.def(!1),
|
|
11234
11234
|
radius: v.string.def("2px"),
|
|
11235
|
-
size: v.size()
|
|
11235
|
+
size: v.size(),
|
|
11236
|
+
stopPropagation: v.bool.def(!0)
|
|
11236
11237
|
},
|
|
11237
11238
|
emits: ["change", "close"],
|
|
11238
11239
|
slots: Object,
|
|
@@ -11247,10 +11248,10 @@ const NP = /* @__PURE__ */ Re({
|
|
|
11247
11248
|
borderRadius: e.radius
|
|
11248
11249
|
})),
|
|
11249
11250
|
handleClose: (l) => {
|
|
11250
|
-
l.preventDefault(), l.stopPropagation(), t("close", l);
|
|
11251
|
+
l.preventDefault(), e.stopPropagation && l.stopPropagation(), t("close", l);
|
|
11251
11252
|
},
|
|
11252
11253
|
handleClick: (l) => {
|
|
11253
|
-
l.preventDefault(), l.stopPropagation(), e.checkable && t("change", !e.checked);
|
|
11254
|
+
l.preventDefault(), e.stopPropagation && l.stopPropagation(), e.checkable && t("change", !e.checked);
|
|
11254
11255
|
},
|
|
11255
11256
|
resolveClassName: n
|
|
11256
11257
|
};
|
|
@@ -23109,7 +23110,7 @@ const XV = (e) => {
|
|
|
23109
23110
|
const b = () => {
|
|
23110
23111
|
t.emit("close");
|
|
23111
23112
|
}, w = (_) => {
|
|
23112
|
-
_.
|
|
23113
|
+
_.target === l.value && (_.preventDefault(), e.quickClose && (t.emit("quick-close"), t.emit("close")));
|
|
23113
23114
|
}, C = (_) => {
|
|
23114
23115
|
e.isShow && e.escClose && _.keyCode === 27 && b();
|
|
23115
23116
|
};
|
|
@@ -39737,7 +39738,7 @@ const eG = (e, t) => {
|
|
|
39737
39738
|
}, dG = {
|
|
39738
39739
|
createInstall: h7,
|
|
39739
39740
|
install: h7()
|
|
39740
|
-
}, rG = "2.0.2-beta.
|
|
39741
|
+
}, rG = "2.0.2-beta.88";
|
|
39741
39742
|
window.__bkui_vue_version__ = rG;
|
|
39742
39743
|
export {
|
|
39743
39744
|
kb as $bkPopover,
|