bkui-vue 1.0.3-beta.18 → 1.0.3-beta.19
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 +47 -43
- package/dist/index.umd.js +2 -2
- package/lib/info-box/index.js +13 -6
- package/lib/table/index.js +3 -1
- package/lib/table/props.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -14436,6 +14436,7 @@ const PJ = /* @__PURE__ */ Le({
|
|
14436
14436
|
size: "small",
|
14437
14437
|
sizeList: r,
|
14438
14438
|
showLineHeight: !0,
|
14439
|
+
extCls: "",
|
14439
14440
|
trigger: "manual"
|
14440
14441
|
};
|
14441
14442
|
return typeof e.settings == "boolean" ? E : Object.assign({}, E, e.settings);
|
@@ -14497,7 +14498,8 @@ const PJ = /* @__PURE__ */ Le({
|
|
14497
14498
|
trigger: c.value.trigger ?? "manual",
|
14498
14499
|
placement: "bottom-end",
|
14499
14500
|
ref: d,
|
14500
|
-
arrow: !0
|
14501
|
+
arrow: !0,
|
14502
|
+
extCls: c.value.extCls
|
14501
14503
|
}, {
|
14502
14504
|
theme: b
|
14503
14505
|
}), {
|
@@ -21616,83 +21618,85 @@ const vQ = {
|
|
21616
21618
|
iv(pQ, e);
|
21617
21619
|
}, bQ = (e) => {
|
21618
21620
|
const t = document.createElement("div"), n = ac(e), i = B(n.value.isShow !== !1);
|
21619
|
-
let a;
|
21620
|
-
const
|
21621
|
+
let a, r;
|
21622
|
+
const o = /* @__PURE__ */ Le({
|
21621
21623
|
name: "DialogConfirm",
|
21622
|
-
setup(
|
21623
|
-
expose:
|
21624
|
+
setup(c, {
|
21625
|
+
expose: h
|
21624
21626
|
}) {
|
21625
|
-
let
|
21626
|
-
const
|
21627
|
-
typeof
|
21628
|
-
},
|
21629
|
-
var
|
21630
|
-
|
21631
|
-
},
|
21632
|
-
var
|
21633
|
-
|
21627
|
+
let g = !1;
|
21628
|
+
const p = [], y = async (w) => {
|
21629
|
+
typeof w == "function" && (w instanceof Promise ? await w() : p.push(w)), i.value = !1;
|
21630
|
+
}, b = async () => {
|
21631
|
+
var w;
|
21632
|
+
y((w = n.value) == null ? void 0 : w.onClosed);
|
21633
|
+
}, M = async () => {
|
21634
|
+
var w;
|
21635
|
+
g = !0, await y((w = n.value) == null ? void 0 : w.onConfirm), g = !1;
|
21634
21636
|
};
|
21635
|
-
function
|
21637
|
+
function I(w) {
|
21636
21638
|
n.value = {
|
21637
21639
|
...n.value,
|
21638
|
-
...
|
21640
|
+
...w
|
21639
21641
|
};
|
21640
21642
|
}
|
21641
|
-
|
21642
|
-
update:
|
21643
|
+
h({
|
21644
|
+
update: I
|
21643
21645
|
});
|
21644
21646
|
const {
|
21645
|
-
resolveClassName:
|
21646
|
-
} = xe(),
|
21647
|
-
const
|
21647
|
+
resolveClassName: N
|
21648
|
+
} = xe(), x = () => {
|
21649
|
+
const w = [], S = [];
|
21648
21650
|
if (n.value.subTitle)
|
21649
21651
|
switch (typeof n.value.subTitle) {
|
21650
21652
|
case "string":
|
21651
|
-
|
21653
|
+
w.push(n.value.subTitle);
|
21652
21654
|
break;
|
21653
21655
|
case "function":
|
21654
|
-
|
21656
|
+
w.push(n.value.subTitle());
|
21655
21657
|
break;
|
21656
21658
|
default:
|
21657
|
-
|
21659
|
+
w.push(n.value.subTitle);
|
21658
21660
|
break;
|
21659
21661
|
}
|
21660
|
-
return
|
21661
|
-
class:
|
21662
|
+
return w.length && S.push(Bt("div", {
|
21663
|
+
class: N("info-sub-title"),
|
21662
21664
|
style: `text-Align:${n.value.contentAlign || "center"}`
|
21663
|
-
},
|
21664
|
-
},
|
21665
|
-
|
21665
|
+
}, w)), S;
|
21666
|
+
}, C = () => {
|
21667
|
+
p.forEach((w) => w()), p.length = 0, d(), t.remove();
|
21666
21668
|
};
|
21667
21669
|
return () => f(f2, {
|
21668
|
-
class:
|
21670
|
+
class: N("info-wrapper"),
|
21669
21671
|
headerAlign: "center",
|
21670
21672
|
footerAlign: "center",
|
21671
21673
|
fullscreen: !1,
|
21672
|
-
isLoading:
|
21674
|
+
isLoading: g,
|
21673
21675
|
...n.value,
|
21674
21676
|
isShow: i.value,
|
21675
21677
|
transfer: !1,
|
21676
|
-
onClosed:
|
21677
|
-
onConfirm:
|
21678
|
-
onHidden:
|
21679
|
-
},
|
21678
|
+
onClosed: b,
|
21679
|
+
onConfirm: M,
|
21680
|
+
onHidden: C
|
21681
|
+
}, x);
|
21680
21682
|
}
|
21681
|
-
}),
|
21682
|
-
a || (document.body.append(t), a = G0(r
|
21683
|
+
}), u = () => {
|
21684
|
+
a || (document.body.append(t), a = G0(o), r = a.mount(t));
|
21685
|
+
}, d = () => {
|
21686
|
+
a == null || a.unmount(), a = null;
|
21683
21687
|
};
|
21684
|
-
return i.value &&
|
21688
|
+
return i.value && u(), {
|
21685
21689
|
show: () => {
|
21686
|
-
|
21690
|
+
u(), i.value = !0;
|
21687
21691
|
},
|
21688
21692
|
hide: () => {
|
21689
|
-
i.value = !1;
|
21693
|
+
i.value = !1, d();
|
21690
21694
|
},
|
21691
|
-
update: (
|
21692
|
-
|
21695
|
+
update: (c) => {
|
21696
|
+
u(), r == null || r.update(c);
|
21693
21697
|
},
|
21694
21698
|
destroy: () => {
|
21695
|
-
t.remove(),
|
21699
|
+
t.remove(), d();
|
21696
21700
|
}
|
21697
21701
|
};
|
21698
21702
|
}, CQ = at(bQ);
|