@huyooo/ui 0.4.72 → 0.4.74

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