cleek 2.11.2 → 2.11.4
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/main.cjs.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.es.js +46 -46
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -3637,7 +3637,10 @@ const Ol = /* @__PURE__ */ H(Wl, [["__scopeId", "data-v-43006e82"]]), El = {
|
|
|
3637
3637
|
},
|
|
3638
3638
|
emits: ["click", "extraAction"],
|
|
3639
3639
|
setup(e, { emit: o }) {
|
|
3640
|
-
const t = e, n = o, a = x(!1), l = d(() =>
|
|
3640
|
+
const t = e, n = o, a = x(!1), l = d(() => {
|
|
3641
|
+
var p;
|
|
3642
|
+
return !!((p = t.extraActions) != null && p.length);
|
|
3643
|
+
}), i = d(() => {
|
|
3641
3644
|
const { extraActions: p, ...s } = t;
|
|
3642
3645
|
return l.value ? { ...s, group: "left" } : s;
|
|
3643
3646
|
}), c = d(() => ({
|
|
@@ -3652,58 +3655,55 @@ const Ol = /* @__PURE__ */ H(Wl, [["__scopeId", "data-v-43006e82"]]), El = {
|
|
|
3652
3655
|
function u(p) {
|
|
3653
3656
|
n("extraAction", p), a.value = !1;
|
|
3654
3657
|
}
|
|
3655
|
-
return (p, s) => {
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3658
|
+
return (p, s) => (v(), y("div", {
|
|
3659
|
+
class: "dropdown-btn__outer",
|
|
3660
|
+
onMouseleave: s[2] || (s[2] = (m) => a.value = !1)
|
|
3661
|
+
}, [
|
|
3662
|
+
U(Te, Ie(i.value, {
|
|
3663
|
+
onClick: s[0] || (s[0] = (m) => n("click", m))
|
|
3664
|
+
}), {
|
|
3665
|
+
default: N(() => [
|
|
3666
|
+
O(p.$slots, "default", {}, void 0, !0)
|
|
3667
|
+
]),
|
|
3668
|
+
_: 3
|
|
3669
|
+
}, 16),
|
|
3670
|
+
l.value ? (v(), y("div", {
|
|
3671
|
+
key: 0,
|
|
3672
|
+
class: "dropdown-btn__chevron-area",
|
|
3673
|
+
onMouseenter: s[1] || (s[1] = (m) => a.value = !0)
|
|
3660
3674
|
}, [
|
|
3661
|
-
U(Te,
|
|
3662
|
-
onClick: s[0] || (s[0] = (r) => n("click", r))
|
|
3663
|
-
}), {
|
|
3675
|
+
U(Te, Yt(Gt(c.value)), {
|
|
3664
3676
|
default: N(() => [
|
|
3665
|
-
|
|
3677
|
+
U(ee, {
|
|
3678
|
+
icon: "angle-down",
|
|
3679
|
+
size: "xs"
|
|
3680
|
+
})
|
|
3666
3681
|
]),
|
|
3667
|
-
_:
|
|
3668
|
-
}, 16)
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3682
|
+
_: 1
|
|
3683
|
+
}, 16)
|
|
3684
|
+
], 32)) : C("", !0),
|
|
3685
|
+
U(Zt, { name: "fade" }, {
|
|
3686
|
+
default: N(() => [
|
|
3687
|
+
a.value ? (v(), y("div", El, [
|
|
3688
|
+
(v(!0), y(Z, null, ue(p.extraActions, (m) => (v(), y("div", {
|
|
3689
|
+
key: m.id,
|
|
3690
|
+
class: "extra-action__item",
|
|
3691
|
+
onClick: (r) => u(m.id)
|
|
3692
|
+
}, [
|
|
3676
3693
|
U(ee, {
|
|
3677
|
-
icon: "angle-
|
|
3694
|
+
icon: "angle-right",
|
|
3678
3695
|
size: "xs"
|
|
3679
|
-
})
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
]
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
(v(!0), y(Z, null, ue(p.extraActions, (r) => (v(), y("div", {
|
|
3688
|
-
key: r.id,
|
|
3689
|
-
class: "extra-action__item",
|
|
3690
|
-
onClick: (g) => u(r.id)
|
|
3691
|
-
}, [
|
|
3692
|
-
U(ee, {
|
|
3693
|
-
icon: "angle-right",
|
|
3694
|
-
size: "xs"
|
|
3695
|
-
}),
|
|
3696
|
-
$("span", Fl, A(r.name), 1)
|
|
3697
|
-
], 8, Nl))), 128))
|
|
3698
|
-
])) : C("", !0)
|
|
3699
|
-
]),
|
|
3700
|
-
_: 1
|
|
3701
|
-
})
|
|
3702
|
-
], 32);
|
|
3703
|
-
};
|
|
3696
|
+
}),
|
|
3697
|
+
$("span", Fl, A(m.name), 1)
|
|
3698
|
+
], 8, Nl))), 128))
|
|
3699
|
+
])) : C("", !0)
|
|
3700
|
+
]),
|
|
3701
|
+
_: 1
|
|
3702
|
+
})
|
|
3703
|
+
], 32));
|
|
3704
3704
|
}
|
|
3705
3705
|
});
|
|
3706
|
-
const Hl = /* @__PURE__ */ H(jl, [["__scopeId", "data-v-
|
|
3706
|
+
const Hl = /* @__PURE__ */ H(jl, [["__scopeId", "data-v-a93bdce2"]]), ql = {
|
|
3707
3707
|
key: 0,
|
|
3708
3708
|
class: "ck-card__header-title"
|
|
3709
3709
|
}, Ul = { class: "ck-card__body" }, Yl = {
|