@huyooo/ui 0.5.53 → 0.5.56
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/AuthkitAuthModal-Bt_oatde.js +2117 -0
- package/dist/{FeedbackItem-kqVGcZQy.js → FeedbackItem-BZ3zskgs.js} +1 -1
- package/dist/{FeedbackModal-Dc9Pd_rr.js → FeedbackModal-CLRw0hmp.js} +1 -1
- package/dist/Menu-BjWB9hre.js +121 -0
- package/dist/{MessageHandle-CVjGWgUL.js → MessageHandle-cK3Z3tfe.js} +1 -1
- package/dist/{ReferrerReferees-CGyMFl-K.js → ReferrerReferees-DBOVVD_R.js} +1 -1
- package/dist/UserAccountMenu-ByEEFdDV.js +634 -0
- package/dist/{WidthContainer-QqmCPCPj.js → WidthContainer-C5bq-fmp.js} +4 -4
- package/dist/api/Authkit/Users.d.ts +9 -0
- package/dist/authkit.js +2 -2
- package/dist/common.js +2 -2
- package/dist/components/Authkit/AppSetting/AuthkitAccountDelete.vue.d.ts +20 -0
- package/dist/components/User/UserPanel.vue.d.ts +12 -0
- package/dist/composables.js +2 -2
- package/dist/feedback.js +2 -2
- package/dist/index.js +11 -11
- package/dist/message.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/useAuthkitUsersProfile-B_uMdnat.js +212 -0
- package/dist/{useSEO-DaonfWWD.js → useSEO-D5sci2ek.js} +1 -1
- package/dist/user.js +1 -1
- package/package.json +1 -1
- package/dist/AuthkitAuthModal-BvKac_TP.js +0 -1820
- package/dist/Menu-ejsosUdV.js +0 -118
- package/dist/UserAccountMenu-DF_R2-7D.js +0 -612
- package/dist/useAuthkitUsersProfile-KZgGxBAW.js +0 -197
package/dist/Menu-ejsosUdV.js
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, ref as S, createElementBlock as t, createCommentVNode as f, openBlock as o, normalizeClass as K, createBlock as u, createElementVNode as l, unref as M, toDisplayString as C, Fragment as _, renderList as v, normalizeStyle as A } from "vue";
|
|
2
|
-
import { Icon as q } from "@iconify/vue";
|
|
3
|
-
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
const I = /* @__PURE__ */ g({
|
|
5
|
-
__name: "MenuItem",
|
|
6
|
-
props: {
|
|
7
|
-
hidden: {
|
|
8
|
-
type: Boolean,
|
|
9
|
-
required: !0,
|
|
10
|
-
default: () => !1
|
|
11
|
-
},
|
|
12
|
-
path: {
|
|
13
|
-
type: String,
|
|
14
|
-
required: !0,
|
|
15
|
-
default: () => ""
|
|
16
|
-
},
|
|
17
|
-
icon: {
|
|
18
|
-
type: String,
|
|
19
|
-
required: !0,
|
|
20
|
-
default: () => ""
|
|
21
|
-
},
|
|
22
|
-
name: {
|
|
23
|
-
type: String,
|
|
24
|
-
required: !0,
|
|
25
|
-
default: () => ""
|
|
26
|
-
},
|
|
27
|
-
active: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
required: !0,
|
|
30
|
-
default: () => !1
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
setup(d) {
|
|
34
|
-
const a = d, c = S(!1);
|
|
35
|
-
function i() {
|
|
36
|
-
c.value = !0;
|
|
37
|
-
}
|
|
38
|
-
function r() {
|
|
39
|
-
c.value = !1;
|
|
40
|
-
}
|
|
41
|
-
return (s, p) => a.hidden ? f("", !0) : (o(), t("div", {
|
|
42
|
-
key: 0,
|
|
43
|
-
class: K(["List", {
|
|
44
|
-
Active: a.active,
|
|
45
|
-
Hover: c.value && !a.active
|
|
46
|
-
}]),
|
|
47
|
-
onMouseover: i,
|
|
48
|
-
onMouseout: r
|
|
49
|
-
}, [a.icon ? (o(), u(M(q), {
|
|
50
|
-
key: 0,
|
|
51
|
-
class: "icon",
|
|
52
|
-
icon: a.icon
|
|
53
|
-
}, null, 8, ["icon"])) : f("", !0), l("span", null, C(a.name), 1)], 34));
|
|
54
|
-
}
|
|
55
|
-
}), k = /* @__PURE__ */ B(I, [["__scopeId", "data-v-6276a4d5"]]), T = {
|
|
56
|
-
class: "Menu"
|
|
57
|
-
}, $ = {
|
|
58
|
-
class: "Title"
|
|
59
|
-
}, m = {
|
|
60
|
-
class: "MenuItem2"
|
|
61
|
-
}, x = /* @__PURE__ */ g({
|
|
62
|
-
__name: "Menu",
|
|
63
|
-
props: {
|
|
64
|
-
menus: {
|
|
65
|
-
type: Array,
|
|
66
|
-
required: !0,
|
|
67
|
-
default: () => []
|
|
68
|
-
},
|
|
69
|
-
selectedKeys: {
|
|
70
|
-
type: Array,
|
|
71
|
-
required: !0,
|
|
72
|
-
default: () => []
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
emits: ["update:selectedKeys", "change"],
|
|
76
|
-
setup(d, {
|
|
77
|
-
emit: a
|
|
78
|
-
}) {
|
|
79
|
-
const c = d, i = a;
|
|
80
|
-
function r(s, p) {
|
|
81
|
-
console.log(s, "itemitemitemitem"), i("change", s, p);
|
|
82
|
-
}
|
|
83
|
-
return (s, p) => (o(), t("div", T, [(o(!0), t(_, null, v(c.menus, (e, h) => (o(), t("div", {
|
|
84
|
-
key: h
|
|
85
|
-
}, [e.children && e.children.length !== 0 ? (o(), t(_, {
|
|
86
|
-
key: 0
|
|
87
|
-
}, [l("span", {
|
|
88
|
-
class: "TitleContent",
|
|
89
|
-
style: A({
|
|
90
|
-
marginTop: h !== 0 ? "20px" : "0"
|
|
91
|
-
})
|
|
92
|
-
}, [e != null && e.icon ? (o(), u(M(q), {
|
|
93
|
-
key: 0,
|
|
94
|
-
class: "icon",
|
|
95
|
-
icon: e.icon
|
|
96
|
-
}, null, 8, ["icon"])) : f("", !0), l("span", $, C(e.name), 1)], 4), l("span", m, [(o(!0), t(_, null, v(e.children, (n, y) => (o(), u(k, {
|
|
97
|
-
key: y,
|
|
98
|
-
hidden: n == null ? void 0 : n.hidden,
|
|
99
|
-
path: n.path,
|
|
100
|
-
icon: n == null ? void 0 : n.icon,
|
|
101
|
-
name: n.name,
|
|
102
|
-
active: c.selectedKeys.includes(n.path),
|
|
103
|
-
onClick: (z) => r(n, y)
|
|
104
|
-
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))), 128))])], 64)) : (o(), u(k, {
|
|
105
|
-
key: 1,
|
|
106
|
-
hidden: e == null ? void 0 : e.hidden,
|
|
107
|
-
path: e.path,
|
|
108
|
-
icon: e == null ? void 0 : e.icon,
|
|
109
|
-
name: e.name,
|
|
110
|
-
active: c.selectedKeys.includes(e.path),
|
|
111
|
-
onClick: (n) => r(e, h)
|
|
112
|
-
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))]))), 128))]));
|
|
113
|
-
}
|
|
114
|
-
}), N = /* @__PURE__ */ B(x, [["__scopeId", "data-v-df591619"]]);
|
|
115
|
-
export {
|
|
116
|
-
N as M,
|
|
117
|
-
k as a
|
|
118
|
-
};
|