@dao-style/core 1.6.1-beta.2 → 1.6.1-beta.3
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/components/dropdown/dropdown.d.ts +856 -5
- package/dist/components/dropdown/dropdown.vue.d.ts +285 -2
- package/dist/components/ellipsis/ellipsis.d.ts +2686 -994
- package/dist/components/ellipsis/ellipsis.vue.d.ts +577 -14
- package/dist/dao-style.js +1 -1
- package/dist/dao-style.mjs +13 -9
- package/package.json +1 -1
package/dist/dao-style.mjs
CHANGED
|
@@ -4690,15 +4690,19 @@ const Zo = () => {
|
|
|
4690
4690
|
},
|
|
4691
4691
|
props: pl,
|
|
4692
4692
|
setup(e) {
|
|
4693
|
-
const { offset: t, trigger: n, appendTo: o } = Ee(e), s = G(
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4693
|
+
const { offset: t, trigger: n, appendTo: o } = Ee(e), s = G(), a = wt(), r = _e("dropdown", null), i = k(() => r ? !1 : o.value), l = k(() => r ? "hover" : n.value), d = k(() => l.value === "hover" ? 0 : t.value), c = _e("hide", Zo), u = () => {
|
|
4694
|
+
var f;
|
|
4695
|
+
l.value !== "manual" && ((f = s.value) == null || f.hide(), c == null || c());
|
|
4696
|
+
}, m = k(() => {
|
|
4697
|
+
var f;
|
|
4698
|
+
return !!((f = s.value) != null && f.isOpen);
|
|
4699
|
+
});
|
|
4700
|
+
return Oe("hide", u), Oe("dropdown", a), {
|
|
4698
4701
|
realTrigger: l,
|
|
4699
4702
|
realOffset: d,
|
|
4700
4703
|
element: i,
|
|
4701
|
-
popper: s
|
|
4704
|
+
popper: s,
|
|
4705
|
+
isOpen: m
|
|
4702
4706
|
};
|
|
4703
4707
|
}
|
|
4704
4708
|
}), fg = { tabindex: "0" };
|
|
@@ -4721,7 +4725,7 @@ function pg(e, t, n, o, s, a) {
|
|
|
4721
4725
|
]),
|
|
4722
4726
|
default: z(() => [
|
|
4723
4727
|
R("div", fg, [
|
|
4724
|
-
S(e.$slots, "default")
|
|
4728
|
+
S(e.$slots, "default", { isOpen: e.isOpen })
|
|
4725
4729
|
])
|
|
4726
4730
|
]),
|
|
4727
4731
|
_: 3
|
|
@@ -6501,7 +6505,7 @@ const Bl = {
|
|
|
6501
6505
|
ns: "dao-ellipsis",
|
|
6502
6506
|
disabled: t,
|
|
6503
6507
|
onMouseOver: i,
|
|
6504
|
-
|
|
6508
|
+
componentRef: n,
|
|
6505
6509
|
isOpen: s,
|
|
6506
6510
|
isEllipsis: a,
|
|
6507
6511
|
Tooltip: At,
|
|
@@ -6514,7 +6518,7 @@ const Bl = {
|
|
|
6514
6518
|
const cy = { key: 1 }, uy = { key: 2 };
|
|
6515
6519
|
function dy(e, t, n, o, s, a) {
|
|
6516
6520
|
return T(), ue(or(e.ComponentType), {
|
|
6517
|
-
ref: "
|
|
6521
|
+
ref: "componentRef",
|
|
6518
6522
|
disabled: e.disabled,
|
|
6519
6523
|
"visible-arrow": !1,
|
|
6520
6524
|
placement: e.ellipsisPlacement,
|