@huyooo/ui 0.4.89 → 0.5.0

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.
Files changed (47) hide show
  1. package/dist/{AuthkitAuthModal-CIbwFN8S.js → AuthkitAuthModal-cEi5Hm14.js} +13 -15
  2. package/dist/{useAuthkitAppsAuthPageInfo-Ria0l-Pk.js → AuthkitAuthModal.vue_vue_type_style_index_1_lang-B-QKS_BT.js} +9 -8
  3. package/dist/{AuthkitAuthorize-RvYEB3VO.js → AuthkitAuthorize-DksJZktr.js} +9 -8
  4. package/dist/{Clipboard-Bful1lNJ.js → Clipboard-CGm0G1dN.js} +1 -1
  5. package/dist/{CustomTable-JflAYS8i.js → CustomTable-kfI18phy.js} +16 -17
  6. package/dist/{FeedbackItem-B_EUApFA.js → FeedbackItem-Day3rfSw.js} +14 -15
  7. package/dist/{FeedbackModal-D1htK7xY.js → FeedbackModal-CsRXm-MY.js} +8 -11
  8. package/dist/{Menu-Cxo8Rpu3.js → Menu-BKBnsDJ8.js} +6 -5
  9. package/dist/{MessageHandle-DkNum5-u.js → MessageHandle-DqH_478k.js} +18 -20
  10. package/dist/{PaySubscriptions-l6VlqvBy.js → PaySubscriptions-Dp8y1fdJ.js} +10 -11
  11. package/dist/{ReferrerReferees-BclAtmgX.js → ReferrerReferees-xIXZglpy.js} +19 -20
  12. package/dist/{Upload.vue_vue_type_script_setup_true_lang-CDyUt05d.js → Upload.vue_vue_type_script_setup_true_lang-CxGZSDoo.js} +10 -11
  13. package/dist/UserAccountMenu-DD3zoOBd.js +40 -0
  14. package/dist/UserPanel-C1NGdsFk.js +580 -0
  15. package/dist/WidthContainer-D9JWjdkk.js +376 -0
  16. package/dist/authkit.d.ts +1 -0
  17. package/dist/authkit.js +4 -4
  18. package/dist/common.d.ts +2 -0
  19. package/dist/common.js +14 -12
  20. package/dist/components/DefaultLayout.vue.d.ts +9 -0
  21. package/dist/components/Header.vue.d.ts +9 -0
  22. package/dist/composables/Authkit/useAuthMenu.d.ts +13 -0
  23. package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +24 -65
  24. package/dist/composables/Authkit/useRoutePermission.d.ts +5 -0
  25. package/dist/composables.d.ts +2 -0
  26. package/dist/composables.js +19 -15
  27. package/dist/feedback.js +3 -3
  28. package/dist/index.js +180 -173
  29. package/dist/message.js +2 -2
  30. package/dist/pay.js +1 -1
  31. package/dist/referrer.js +1 -1
  32. package/dist/style.css +1 -1
  33. package/dist/styles.d.ts +0 -1
  34. package/dist/types/app.d.ts +54 -0
  35. package/dist/upload.js +2 -2
  36. package/dist/{useAuthkitUsersProfile-DNOB_Kuk.js → useAuthkitUsersProfile-D2UZf7n0.js} +1 -1
  37. package/dist/useDownloads-CHe228Vf.js +87 -0
  38. package/dist/{useMessageNotifications-DOH1MS61.js → useMessageNotifications-BahKMcby.js} +1 -1
  39. package/dist/useRoutePermission-Uxu5S3m1.js +119 -0
  40. package/dist/{useUploadCos-B5P_PDcy.js → useUploadCos-DNKp_9xt.js} +2 -2
  41. package/dist/user.js +7 -6
  42. package/package.json +3 -2
  43. package/dist/UserAccountMenu-BR-ms1Pp.js +0 -615
  44. package/dist/WidthContainer-CfR77puD.js +0 -263
  45. package/dist/useDownloads-BkDo_wOR.js +0 -103
  46. /package/dist/{globalConfig-DZIhLe1R.js → index-DZIhLe1R.js} +0 -0
  47. /package/dist/{_commonjsHelpers-DaMA6jEr.js → index-DaMA6jEr.js} +0 -0
@@ -1,615 +0,0 @@
1
- /* empty css */
2
- /* empty css */
3
- /* empty css */
4
- /* empty css */
5
- import { defineComponent as b, createElementBlock as v, openBlock as u, normalizeStyle as E, normalizeClass as K, createElementVNode as d, computed as B, createBlock as _, createCommentVNode as P, createVNode as r, unref as n, withCtx as l, createTextVNode as k, toDisplayString as S, mergeModels as D, useModel as T, renderSlot as W, ref as p, Fragment as be } from "vue";
6
- import { Tag as Ce, Button as X, Avatar as Y, Dropdown as $e, Divider as G, Doption as C } from "@arco-design/web-vue";
7
- import { S as we } from "./PaySubscriptions-l6VlqvBy.js";
8
- import { R as Ie } from "./ReferrerReferees-BclAtmgX.js";
9
- import { a as N, u as he } from "./useAuthkitUsersProfile-DNOB_Kuk.js";
10
- import { a as Ue } from "./useAuthkitAppsAuthPageInfo-Ria0l-Pk.js";
11
- import { g as q } from "./globalConfig-DZIhLe1R.js";
12
- import { c as Ae, A as Me } from "./AuthkitAuthModal-CIbwFN8S.js";
13
- import { d as xe } from "./FeedbackModal-D1htK7xY.js";
14
- import { M as Be } from "./MessageHandle-DkNum5-u.js";
15
- /* empty css */
16
- /* empty css */
17
- import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- /* empty css */
19
- import { I as U } from "./index-Cr5RQSnA.js";
20
- import { _ as J, g as Q, i as Z } from "./plugin-vue_export-helper-LjDO2Zua.js";
21
- import { Icon as De } from "@iconify/vue";
22
- const Pe = b({
23
- name: "IconExport",
24
- props: {
25
- size: {
26
- type: [Number, String]
27
- },
28
- strokeWidth: {
29
- type: Number,
30
- default: 4
31
- },
32
- strokeLinecap: {
33
- type: String,
34
- default: "butt",
35
- validator: (e) => ["butt", "round", "square"].includes(e)
36
- },
37
- strokeLinejoin: {
38
- type: String,
39
- default: "miter",
40
- validator: (e) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(e)
41
- },
42
- rotate: Number,
43
- spin: Boolean
44
- },
45
- emits: {
46
- click: (e) => !0
47
- },
48
- setup(e, {
49
- emit: t
50
- }) {
51
- const o = Q("icon"), i = B(() => [o, `${o}-export`, {
52
- [`${o}-spin`]: e.spin
53
- }]), c = B(() => {
54
- const s = {};
55
- return e.size && (s.fontSize = Z(e.size) ? `${e.size}px` : e.size), e.rotate && (s.transform = `rotate(${e.rotate}deg)`), s;
56
- });
57
- return {
58
- cls: i,
59
- innerStyle: c,
60
- onClick: (s) => {
61
- t("click", s);
62
- }
63
- };
64
- }
65
- }), Ve = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
66
- function Re(e, t, o, i, c, f) {
67
- return u(), v("svg", {
68
- viewBox: "0 0 48 48",
69
- fill: "none",
70
- xmlns: "http://www.w3.org/2000/svg",
71
- stroke: "currentColor",
72
- class: K(e.cls),
73
- style: E(e.innerStyle),
74
- "stroke-width": e.strokeWidth,
75
- "stroke-linecap": e.strokeLinecap,
76
- "stroke-linejoin": e.strokeLinejoin,
77
- onClick: t[0] || (t[0] = (...s) => e.onClick && e.onClick(...s))
78
- }, t[1] || (t[1] = [d("path", {
79
- d: "M31.928 33.072 41 24.002l-9.072-9.072M16.858 24h24M31 41H7V7h24"
80
- }, null, -1)]), 14, Ve);
81
- }
82
- var R = /* @__PURE__ */ J(Pe, [["render", Re]]);
83
- const ze = Object.assign(R, {
84
- install: (e, t) => {
85
- var o;
86
- const i = (o = t == null ? void 0 : t.iconPrefix) != null ? o : "";
87
- e.component(i + R.name, R);
88
- }
89
- }), Ne = b({
90
- name: "IconLaunch",
91
- props: {
92
- size: {
93
- type: [Number, String]
94
- },
95
- strokeWidth: {
96
- type: Number,
97
- default: 4
98
- },
99
- strokeLinecap: {
100
- type: String,
101
- default: "butt",
102
- validator: (e) => ["butt", "round", "square"].includes(e)
103
- },
104
- strokeLinejoin: {
105
- type: String,
106
- default: "miter",
107
- validator: (e) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(e)
108
- },
109
- rotate: Number,
110
- spin: Boolean
111
- },
112
- emits: {
113
- click: (e) => !0
114
- },
115
- setup(e, {
116
- emit: t
117
- }) {
118
- const o = Q("icon"), i = B(() => [o, `${o}-launch`, {
119
- [`${o}-spin`]: e.spin
120
- }]), c = B(() => {
121
- const s = {};
122
- return e.size && (s.fontSize = Z(e.size) ? `${e.size}px` : e.size), e.rotate && (s.transform = `rotate(${e.rotate}deg)`), s;
123
- });
124
- return {
125
- cls: i,
126
- innerStyle: c,
127
- onClick: (s) => {
128
- t("click", s);
129
- }
130
- };
131
- }
132
- }), Le = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
133
- function Oe(e, t, o, i, c, f) {
134
- return u(), v("svg", {
135
- viewBox: "0 0 48 48",
136
- fill: "none",
137
- stroke: "currentColor",
138
- xmlns: "http://www.w3.org/2000/svg",
139
- class: K(e.cls),
140
- style: E(e.innerStyle),
141
- "stroke-width": e.strokeWidth,
142
- "stroke-linecap": e.strokeLinecap,
143
- "stroke-linejoin": e.strokeLinejoin,
144
- onClick: t[0] || (t[0] = (...s) => e.onClick && e.onClick(...s))
145
- }, t[1] || (t[1] = [d("path", {
146
- d: "M41 26v14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h14M19.822 28.178 39.899 8.1M41 20V7H28"
147
- }, null, -1)]), 14, Le);
148
- }
149
- var z = /* @__PURE__ */ J(Ne, [["render", Oe]]);
150
- const je = Object.assign(z, {
151
- install: (e, t) => {
152
- var o;
153
- const i = (o = t == null ? void 0 : t.iconPrefix) != null ? o : "";
154
- e.component(i + z.name, z);
155
- }
156
- }), He = {
157
- class: "pricing"
158
- }, Fe = {
159
- class: "base"
160
- }, qe = {
161
- class: "pricingInfo"
162
- }, Ee = /* @__PURE__ */ b({
163
- __name: "UserSubscriptionBaseInformation",
164
- props: {
165
- currentVersionName: {
166
- type: String,
167
- required: !0
168
- },
169
- expireDate: {
170
- type: String,
171
- required: !0
172
- },
173
- canUpgrade: {
174
- type: Boolean,
175
- required: !0
176
- }
177
- },
178
- emits: ["upgradeHandle"],
179
- setup(e, {
180
- emit: t
181
- }) {
182
- const o = e, i = t;
183
- function c() {
184
- i("upgradeHandle");
185
- }
186
- return (f, s) => (u(), v("div", He, [d("div", Fe, [d("div", qe, [s[0] || (s[0] = d("span", null, "我的订阅:", -1)), r(n(Ce), {
187
- color: "arcoblue",
188
- style: {
189
- "border-radius": "6px"
190
- }
191
- }, {
192
- default: l(() => [k(S(o.currentVersionName), 1)]),
193
- _: 1
194
- })]), o.canUpgrade ? (u(), _(n(X), {
195
- key: 0,
196
- type: "primary",
197
- size: "mini",
198
- class: "updatePricing",
199
- onClick: c
200
- }, {
201
- default: l(() => s[1] || (s[1] = [k(" 升级 ")])),
202
- _: 1,
203
- __: [1]
204
- })) : P("", !0)]), d("span", null, "有效期至: " + S(o.expireDate), 1)]));
205
- }
206
- }), Ke = /* @__PURE__ */ I(Ee, [["__scopeId", "data-v-1e32fa72"]]), Te = {
207
- class: "userInfo"
208
- }, We = {
209
- key: 0,
210
- class: "userName"
211
- }, Xe = /* @__PURE__ */ b({
212
- __name: "UserAvatar",
213
- props: {
214
- nickname: {
215
- type: String,
216
- default: ""
217
- },
218
- avatar: {
219
- type: String,
220
- default: ""
221
- }
222
- },
223
- setup(e) {
224
- const t = e;
225
- return (o, i) => (u(), v("div", Te, [t.nickname ? (u(), v("span", We, S(t.nickname), 1)) : P("", !0), r(n(Y), {
226
- "image-url": t.avatar,
227
- size: 32,
228
- "object-fit": "cover"
229
- }, null, 8, ["image-url"])]));
230
- }
231
- }), Ye = /* @__PURE__ */ I(Xe, [["__scopeId", "data-v-36643afe"]]), Ge = {
232
- class: "userInfo"
233
- }, Je = {
234
- class: "extra"
235
- }, Qe = {
236
- class: "userName"
237
- }, Ze = {
238
- class: "email"
239
- }, et = {
240
- key: 0,
241
- class: "referrerId"
242
- }, tt = /* @__PURE__ */ b({
243
- __name: "UserBasicInformation",
244
- props: {
245
- nickname: {
246
- type: String,
247
- default: ""
248
- },
249
- email: {
250
- type: String,
251
- default: ""
252
- },
253
- avatarUrl: {
254
- type: String,
255
- default: ""
256
- },
257
- referrerId: {
258
- type: String,
259
- default: ""
260
- }
261
- },
262
- setup(e) {
263
- const t = e;
264
- return (o, i) => (u(), v("div", Ge, [r(n(Y), {
265
- "image-url": t.avatarUrl,
266
- size: 42,
267
- "object-fit": "cover"
268
- }, null, 8, ["image-url"]), d("div", Je, [d("span", Qe, S(t.nickname), 1), d("span", Ze, S(t.email), 1), t.referrerId ? (u(), v("span", et, " 邀请码:" + S(t.referrerId), 1)) : P("", !0)])]));
269
- }
270
- }), ot = /* @__PURE__ */ I(tt, [["__scopeId", "data-v-367449da"]]), nt = {
271
- class: "dropdownContent"
272
- }, st = {
273
- class: "header"
274
- }, rt = /* @__PURE__ */ b({
275
- __name: "UserButton",
276
- props: /* @__PURE__ */ D({
277
- position: {
278
- default: "bl"
279
- },
280
- dropdownOffsetX: {
281
- default: "0"
282
- },
283
- dropdownOffsetY: {
284
- default: "0"
285
- }
286
- }, {
287
- modelValue: {
288
- type: Boolean,
289
- default: !1
290
- },
291
- modelModifiers: {}
292
- }),
293
- emits: /* @__PURE__ */ D(["enterSystem", "toSignIn"], ["update:modelValue"]),
294
- setup(e, {
295
- emit: t
296
- }) {
297
- const o = e, i = t, {
298
- userProfile: c,
299
- isLoggedIn: f
300
- } = N();
301
- function s() {
302
- i("toSignIn");
303
- }
304
- const g = T(e, "modelValue");
305
- return ($, m) => n(f) ? (u(), _(n($e), {
306
- key: 1,
307
- popupVisible: g.value,
308
- "onUpdate:popupVisible": m[0] || (m[0] = (y) => g.value = y),
309
- class: "DropdownUserInfo",
310
- position: o.position,
311
- "popup-style": {
312
- "--dropdown-translate-x": o.dropdownOffsetX ?? "0",
313
- "--dropdown-translate-y": o.dropdownOffsetY ?? "0"
314
- }
315
- }, {
316
- content: l(() => {
317
- var y, A, M, h;
318
- return [d("div", nt, [d("div", st, [r(ot, {
319
- "avatar-url": (y = n(c)) == null ? void 0 : y.avatarUrl,
320
- nickname: (A = n(c)) == null ? void 0 : A.nickname,
321
- email: (M = n(c)) == null ? void 0 : M.email,
322
- "referrer-id": (h = n(c)) == null ? void 0 : h.referrerId
323
- }, null, 8, ["avatar-url", "nickname", "email", "referrer-id"]), r(Ke, {
324
- currentVersionName: "免费版本",
325
- "expire-date": "2025-01-01",
326
- "can-upgrade": !0
327
- })]), r(n(G), {
328
- style: {
329
- margin: "10px 0px"
330
- }
331
- }), W($.$slots, "DoptionList", {}, void 0, !0)])];
332
- }),
333
- default: l(() => {
334
- var y;
335
- return [r(Ye, {
336
- avatar: (y = n(c)) == null ? void 0 : y.avatarUrl
337
- }, null, 8, ["avatar"])];
338
- }),
339
- _: 3
340
- }, 8, ["popupVisible", "position", "popup-style"])) : (u(), _(n(X), {
341
- key: 0,
342
- type: "primary",
343
- class: "handle",
344
- onClick: s
345
- }, {
346
- default: l(() => m[1] || (m[1] = [k(" 登陆 ")])),
347
- _: 1,
348
- __: [1]
349
- }));
350
- }
351
- }), it = /* @__PURE__ */ I(rt, [["__scopeId", "data-v-ba98c4bf"]]), at = {
352
- class: "UserPanel"
353
- }, lt = /* @__PURE__ */ b({
354
- __name: "UserPanel",
355
- props: /* @__PURE__ */ D({
356
- position: {
357
- default: "bl"
358
- },
359
- dropdownOffsetX: {
360
- default: "0"
361
- },
362
- dropdownOffsetY: {
363
- default: "0"
364
- }
365
- }, {
366
- modelValue: {
367
- type: Boolean,
368
- default: !1
369
- },
370
- modelModifiers: {}
371
- }),
372
- emits: /* @__PURE__ */ D(["toHomePage", "signOut", "signIn"], ["update:modelValue"]),
373
- setup(e, {
374
- emit: t
375
- }) {
376
- const o = e, i = p(), c = p(), f = p(Symbol("key")), s = t, {
377
- fetchUserProfile: g,
378
- clearUserProfile: $,
379
- isLoggedIn: m
380
- } = N(), {
381
- addSignInCallback: y,
382
- initializeAuth: A,
383
- clearAuth: M
384
- } = he();
385
- A() && g();
386
- const h = p(), L = p(Symbol("key")), O = p(), j = p(), ee = p(Symbol("key")), te = p(), oe = p(Symbol("key"));
387
- function ne(F) {
388
- const a = `https://ones.huyooo.com/AboutUsDetails?type=privacyPolicy&appId=${q.appId}`;
389
- window.open(a, "_blank");
390
- }
391
- function se(F) {
392
- const a = `https://ones.huyooo.com/AboutUsDetails?type=userServiceAgreement&appId=${q.appId}`;
393
- window.open(a, "_blank");
394
- }
395
- const {
396
- show: re
397
- } = Ue(), H = T(e, "modelValue");
398
- function ie() {
399
- L.value = Symbol("key");
400
- }
401
- const V = p(), x = p(Symbol("key"));
402
- function ae() {
403
- x.value = Symbol("key");
404
- }
405
- function le() {
406
- x.value = Symbol("key");
407
- }
408
- function w() {
409
- re.value = !0, s("signIn");
410
- }
411
- y(() => {
412
- g();
413
- });
414
- function ue() {
415
- f.value = Symbol("key");
416
- }
417
- function ce() {
418
- c.value.show = !1;
419
- }
420
- function de() {
421
- x.value = Symbol("key");
422
- }
423
- function pe() {
424
- V.value.setData(null, !0);
425
- }
426
- function fe() {
427
- if (!m.value) {
428
- w();
429
- return;
430
- }
431
- V.value.setData(null, !0);
432
- }
433
- function me() {
434
- if (!m.value) {
435
- w();
436
- return;
437
- }
438
- O.value.openNotification();
439
- }
440
- function ke() {
441
- if (!m.value) {
442
- w();
443
- return;
444
- }
445
- j.value.setData(null, !0);
446
- }
447
- function ve() {
448
- if (!m.value) {
449
- w();
450
- return;
451
- }
452
- i.value.setData(!0);
453
- }
454
- function ye() {
455
- if (!m.value) {
456
- w();
457
- return;
458
- }
459
- h.value.setData(!0);
460
- }
461
- function ge() {
462
- s("toHomePage");
463
- }
464
- async function _e() {
465
- $(), M(), s("signOut");
466
- }
467
- return (F, a) => (u(), v("div", at, [r(it, {
468
- modelValue: H.value,
469
- "onUpdate:modelValue": a[0] || (a[0] = (Se) => H.value = Se),
470
- position: o.position,
471
- "dropdown-offset-x": o.dropdownOffsetX,
472
- "dropdown-offset-y": o.dropdownOffsetY,
473
- onToSignIn: w
474
- }, {
475
- DoptionList: l(() => [r(n(C), {
476
- value: "messages",
477
- class: "Doption",
478
- onClick: me
479
- }, {
480
- icon: l(() => a[1] || (a[1] = [k("消息中心")])),
481
- default: l(() => [r(n(U))]),
482
- _: 1
483
- }), r(n(C), {
484
- value: "setting",
485
- class: "Doption",
486
- onClick: fe
487
- }, {
488
- icon: l(() => a[2] || (a[2] = [k("系统设置 ")])),
489
- default: l(() => [r(n(U))]),
490
- _: 1
491
- }), r(n(C), {
492
- value: "subscription",
493
- class: "Doption",
494
- onClick: ke
495
- }, {
496
- icon: l(() => a[3] || (a[3] = [k("订阅信息 ")])),
497
- default: l(() => [r(n(U))]),
498
- _: 1
499
- }), r(n(C), {
500
- value: "feedBack",
501
- class: "Doption",
502
- onClick: ve
503
- }, {
504
- icon: l(() => a[4] || (a[4] = [k("系统反馈 ")])),
505
- default: l(() => [r(n(U))]),
506
- _: 1
507
- }), r(n(C), {
508
- value: "invitations",
509
- class: "Doption",
510
- onClick: ye
511
- }, {
512
- icon: l(() => a[5] || (a[5] = [k("邀请 ")])),
513
- default: l(() => [r(n(U))]),
514
- _: 1
515
- }), r(n(G), {
516
- style: {
517
- margin: "10px 0px"
518
- }
519
- }), r(n(C), {
520
- value: "homePage",
521
- class: "Doption",
522
- onClick: ge
523
- }, {
524
- icon: l(() => a[6] || (a[6] = [k("主页 ")])),
525
- default: l(() => [r(n(je))]),
526
- _: 1
527
- }), r(n(C), {
528
- value: "signOut",
529
- class: "Doption",
530
- onClick: _e
531
- }, {
532
- icon: l(() => a[7] || (a[7] = [k("退出登陆 ")])),
533
- default: l(() => [r(n(ze))]),
534
- _: 1
535
- })]),
536
- _: 1
537
- }, 8, ["modelValue", "position", "dropdown-offset-x", "dropdown-offset-y"]), (u(), _(Ae, {
538
- ref_key: "AuthModalRef",
539
- ref: te,
540
- key: oe.value,
541
- size: "large",
542
- onToPrivacyPolicy: ne,
543
- onToUserServiceAgreement: se
544
- })), n(m) ? (u(), v(be, {
545
- key: 0
546
- }, [(u(), _(Me, {
547
- ref_key: "AppSettingRef",
548
- ref: V,
549
- key: x.value,
550
- onConfirm: pe,
551
- onCancel: de
552
- })), (u(), _(Ie, {
553
- ref_key: "RefereesRef",
554
- ref: h,
555
- key: L.value,
556
- onCancel: ie
557
- })), (u(), _(we, {
558
- ref_key: "SubscriptionsRef",
559
- ref: j,
560
- key: ee.value,
561
- title: "订阅详情",
562
- onConfirm: ae,
563
- onCancel: le
564
- })), r(Be, {
565
- ref_key: "MessageHandleRef",
566
- ref: O
567
- }, null, 512), (u(), _(xe, {
568
- ref_key: "FeedBackModalRef",
569
- ref: i,
570
- key: f.value,
571
- onConfirm: ce,
572
- onCancel: ue
573
- }))], 64)) : P("", !0)]));
574
- }
575
- }), zt = /* @__PURE__ */ I(lt, [["__scopeId", "data-v-e72510ba"]]), ut = {
576
- class: "UserAccountMenu"
577
- }, ct = {
578
- class: "avatar"
579
- }, dt = {
580
- class: "meta"
581
- }, pt = {
582
- class: "name"
583
- }, ft = {
584
- class: "email"
585
- }, mt = /* @__PURE__ */ b({
586
- __name: "UserAccountMenu",
587
- emits: ["arrowClick"],
588
- setup(e, {
589
- emit: t
590
- }) {
591
- const {
592
- userProfile: o
593
- } = N(), i = t;
594
- function c() {
595
- i("arrowClick");
596
- }
597
- return (f, s) => {
598
- var g, $;
599
- return u(), v("div", ut, [d("div", ct, [W(f.$slots, "avatar", {}, void 0, !0)]), d("div", dt, [d("div", pt, S(((g = n(o)) == null ? void 0 : g.nickname) || ""), 1), d("div", ft, S((($ = n(o)) == null ? void 0 : $.email) || ""), 1)]), d("div", {
600
- class: "arrow",
601
- onClick: c
602
- }, [r(n(De), {
603
- icon: "lucide:chevrons-up-down"
604
- })])]);
605
- };
606
- }
607
- }), Nt = /* @__PURE__ */ I(mt, [["__scopeId", "data-v-b801e222"]]);
608
- export {
609
- Ke as S,
610
- Ye as U,
611
- ot as a,
612
- it as b,
613
- zt as c,
614
- Nt as d
615
- };