@huyooo/ui 0.4.60 → 0.4.62
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/UserAccountMenu-DeIHGfHY.js +40 -0
- package/dist/{UserPanel-BT1J9ewe.js → UserPanel-BJzhmyWP.js} +118 -127
- package/dist/common.js +1 -1
- package/dist/components/User/UserAccountMenu.vue.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/user.js +2 -2
- package/package.json +1 -1
- package/dist/UserAccountMenu-Cc_HoQTG.js +0 -42
package/dist/user.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as r, c as e, a as o, U as n, S as t } from "./UserPanel-
|
|
2
|
-
import { U as c } from "./UserAccountMenu-
|
|
1
|
+
import { b as r, c as e, a as o, U as n, S as t } from "./UserPanel-BJzhmyWP.js";
|
|
2
|
+
import { U as c } from "./UserAccountMenu-DeIHGfHY.js";
|
|
3
3
|
export {
|
|
4
4
|
c as UserAccountMenu,
|
|
5
5
|
r as UserAvatar,
|
package/package.json
CHANGED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { defineComponent as d, createElementBlock as u, openBlock as _, Fragment as p, createElementVNode as e, renderSlot as v, toDisplayString as i, unref as s, createVNode as f } from "vue";
|
|
2
|
-
import { Icon as k } from "@iconify/vue";
|
|
3
|
-
import { a as h } from "./useAuthkitUsersProfile-CT2MN1S5.js";
|
|
4
|
-
import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const A = {
|
|
6
|
-
class: "avatar"
|
|
7
|
-
}, M = {
|
|
8
|
-
class: "meta"
|
|
9
|
-
}, S = {
|
|
10
|
-
class: "name"
|
|
11
|
-
}, g = {
|
|
12
|
-
class: "email"
|
|
13
|
-
}, w = {
|
|
14
|
-
class: "arrow"
|
|
15
|
-
}, x = /* @__PURE__ */ d({
|
|
16
|
-
__name: "UserAccountMenu",
|
|
17
|
-
emits: ["click"],
|
|
18
|
-
setup(B, {
|
|
19
|
-
emit: a
|
|
20
|
-
}) {
|
|
21
|
-
const {
|
|
22
|
-
userProfile: t
|
|
23
|
-
} = h(), l = a;
|
|
24
|
-
function m(o) {
|
|
25
|
-
l("click", o);
|
|
26
|
-
}
|
|
27
|
-
return (o, n) => {
|
|
28
|
-
var c, r;
|
|
29
|
-
return _(), u(p, null, [e("div", {
|
|
30
|
-
class: "UserAccountMenu",
|
|
31
|
-
onClick: m
|
|
32
|
-
}, [e("div", A, [v(o.$slots, "avatar", {}, void 0, !0)]), e("div", M, [e("div", S, i(((c = s(t)) == null ? void 0 : c.nickname) || ""), 1), e("div", g, i(((r = s(t)) == null ? void 0 : r.email) || ""), 1)]), e("div", w, [f(s(k), {
|
|
33
|
-
icon: "lucide:chevrons-up-down"
|
|
34
|
-
})])]), n[0] || (n[0] = e("div", {
|
|
35
|
-
class: "UserAccountMenuSpacer"
|
|
36
|
-
}, null, -1))], 64);
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
}), P = /* @__PURE__ */ U(x, [["__scopeId", "data-v-3871b2e4"]]);
|
|
40
|
-
export {
|
|
41
|
-
P as U
|
|
42
|
-
};
|