bkui-vue 2.0.2-beta.4 → 2.0.2-beta.5
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 +15 -15
- package/dist/index.esm.js +19 -10
- package/dist/index.umd.js +2 -2
- package/lib/index.js +1 -1
- package/lib/pop-confirm/index.d.ts +16 -2
- package/lib/pop-confirm/index.js +13 -5
- package/lib/pop-confirm/pop-confirm.d.ts +5 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -24092,28 +24092,36 @@ const _I = {
|
|
24092
24092
|
}, OI = /* @__PURE__ */ ge({
|
24093
24093
|
name: "PopConfirm",
|
24094
24094
|
props: _I,
|
24095
|
-
emits: ["confirm", "cancel"],
|
24095
|
+
emits: ["confirm", "cancel", "after-show", "after-hidden"],
|
24096
24096
|
setup(e, {
|
24097
24097
|
emit: t
|
24098
24098
|
}) {
|
24099
24099
|
const n = P(!1), s = Ue("popConfirm");
|
24100
|
-
function a(
|
24101
|
-
n.value = !1, t("confirm"),
|
24100
|
+
function a(f) {
|
24101
|
+
n.value = !1, t("confirm"), f.stopPropagation();
|
24102
24102
|
}
|
24103
|
-
function r(
|
24104
|
-
n.value = !1, t("cancel"),
|
24103
|
+
function r(f) {
|
24104
|
+
n.value = !1, t("cancel"), f.stopPropagation();
|
24105
|
+
}
|
24106
|
+
function i() {
|
24107
|
+
n.value = !0, t("after-show");
|
24108
|
+
}
|
24109
|
+
function l() {
|
24110
|
+
t("after-hidden");
|
24105
24111
|
}
|
24106
24112
|
const {
|
24107
|
-
resolveClassName:
|
24113
|
+
resolveClassName: o
|
24108
24114
|
} = ve();
|
24109
24115
|
return {
|
24110
24116
|
popoverRef: P(null),
|
24111
24117
|
visible: n,
|
24112
24118
|
t: s,
|
24113
24119
|
// icon,
|
24114
|
-
resolveClassName:
|
24120
|
+
resolveClassName: o,
|
24115
24121
|
ensure: a,
|
24116
|
-
cancel: r
|
24122
|
+
cancel: r,
|
24123
|
+
handleAfterShow: i,
|
24124
|
+
handleAfterHidden: l
|
24117
24125
|
};
|
24118
24126
|
},
|
24119
24127
|
render() {
|
@@ -24130,7 +24138,8 @@ const _I = {
|
|
24130
24138
|
placement: this.placement,
|
24131
24139
|
theme: this.theme,
|
24132
24140
|
trigger: this.trigger,
|
24133
|
-
|
24141
|
+
onAfterHidden: this.handleAfterHidden,
|
24142
|
+
onAfterShow: this.handleAfterShow
|
24134
24143
|
}, {
|
24135
24144
|
default: () => this.$slots.default(),
|
24136
24145
|
content: () => u("div", {
|
@@ -33589,7 +33598,7 @@ const HH = (e, t) => {
|
|
33589
33598
|
}, JH = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
33590
33599
|
__proto__: null,
|
33591
33600
|
$bkPopover: Xu
|
33592
|
-
}, Symbol.toStringTag, { value: "Module" })), BH = "2.0.2-beta.
|
33601
|
+
}, Symbol.toStringTag, { value: "Module" })), BH = "2.0.2-beta.5";
|
33593
33602
|
window.__bkui_vue_version__ = BH;
|
33594
33603
|
export {
|
33595
33604
|
Xu as $bkPopover,
|