@huyooo/ui 0.4.78 → 0.4.80

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.
@@ -2,22 +2,23 @@
2
2
  /* empty css */
3
3
  /* empty css */
4
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";
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 { u as Ue } from "./useAuthkitAppsAuthPageInfo-COeq29Tn.js";
11
+ import { g as q } from "./globalConfig-DZIhLe1R.js";
12
+ import { c as Ae, A as Me } from "./AuthkitAuthModal-DCx9UFiy.js";
12
13
  import { d as xe } from "./FeedbackModal-D1htK7xY.js";
13
14
  import { M as Be } from "./MessageHandle-DkNum5-u.js";
14
15
  /* empty css */
15
16
  /* empty css */
16
17
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
18
  /* 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";
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";
21
22
  const Pe = b({
22
23
  name: "IconExport",
23
24
  props: {
@@ -47,45 +48,45 @@ const Pe = b({
47
48
  setup(e, {
48
49
  emit: t
49
50
  }) {
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;
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;
55
56
  });
56
57
  return {
57
58
  cls: i,
58
- innerStyle: u,
59
- onClick: (r) => {
60
- t("click", r);
59
+ innerStyle: c,
60
+ onClick: (s) => {
61
+ t("click", s);
61
62
  }
62
63
  };
63
64
  }
64
65
  }), Ve = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
65
- function De(e, t, n, i, u, f) {
66
- return l(), v("svg", {
66
+ function Re(e, t, o, i, c, f) {
67
+ return u(), v("svg", {
67
68
  viewBox: "0 0 48 48",
68
69
  fill: "none",
69
70
  xmlns: "http://www.w3.org/2000/svg",
70
71
  stroke: "currentColor",
71
- class: E(e.cls),
72
- style: q(e.innerStyle),
72
+ class: K(e.cls),
73
+ style: E(e.innerStyle),
73
74
  "stroke-width": e.strokeWidth,
74
75
  "stroke-linecap": e.strokeLinecap,
75
76
  "stroke-linejoin": e.strokeLinejoin,
76
- onClick: t[0] || (t[0] = (...r) => e.onClick && e.onClick(...r))
77
+ onClick: t[0] || (t[0] = (...s) => e.onClick && e.onClick(...s))
77
78
  }, t[1] || (t[1] = [d("path", {
78
79
  d: "M31.928 33.072 41 24.002l-9.072-9.072M16.858 24h24M31 41H7V7h24"
79
80
  }, null, -1)]), 14, Ve);
80
81
  }
81
- var R = /* @__PURE__ */ G(Pe, [["render", De]]);
82
- const Re = Object.assign(R, {
82
+ var R = /* @__PURE__ */ J(Pe, [["render", Re]]);
83
+ const ze = Object.assign(R, {
83
84
  install: (e, t) => {
84
- var n;
85
- const i = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
85
+ var o;
86
+ const i = (o = t == null ? void 0 : t.iconPrefix) != null ? o : "";
86
87
  e.component(i + R.name, R);
87
88
  }
88
- }), ze = b({
89
+ }), Ne = b({
89
90
  name: "IconLaunch",
90
91
  props: {
91
92
  size: {
@@ -114,51 +115,51 @@ const Re = Object.assign(R, {
114
115
  setup(e, {
115
116
  emit: t
116
117
  }) {
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;
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;
122
123
  });
123
124
  return {
124
125
  cls: i,
125
- innerStyle: u,
126
- onClick: (r) => {
127
- t("click", r);
126
+ innerStyle: c,
127
+ onClick: (s) => {
128
+ t("click", s);
128
129
  }
129
130
  };
130
131
  }
131
- }), Ne = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
132
- function Le(e, t, n, i, u, f) {
133
- return l(), v("svg", {
132
+ }), Le = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
133
+ function Oe(e, t, o, i, c, f) {
134
+ return u(), v("svg", {
134
135
  viewBox: "0 0 48 48",
135
136
  fill: "none",
136
137
  stroke: "currentColor",
137
138
  xmlns: "http://www.w3.org/2000/svg",
138
- class: E(e.cls),
139
- style: q(e.innerStyle),
139
+ class: K(e.cls),
140
+ style: E(e.innerStyle),
140
141
  "stroke-width": e.strokeWidth,
141
142
  "stroke-linecap": e.strokeLinecap,
142
143
  "stroke-linejoin": e.strokeLinejoin,
143
- onClick: t[0] || (t[0] = (...r) => e.onClick && e.onClick(...r))
144
+ onClick: t[0] || (t[0] = (...s) => e.onClick && e.onClick(...s))
144
145
  }, t[1] || (t[1] = [d("path", {
145
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"
146
- }, null, -1)]), 14, Ne);
147
+ }, null, -1)]), 14, Le);
147
148
  }
148
- var z = /* @__PURE__ */ G(ze, [["render", Le]]);
149
- const Oe = Object.assign(z, {
149
+ var z = /* @__PURE__ */ J(Ne, [["render", Oe]]);
150
+ const je = Object.assign(z, {
150
151
  install: (e, t) => {
151
- var n;
152
- const i = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
152
+ var o;
153
+ const i = (o = t == null ? void 0 : t.iconPrefix) != null ? o : "";
153
154
  e.component(i + z.name, z);
154
155
  }
155
- }), je = {
156
+ }), He = {
156
157
  class: "pricing"
157
- }, He = {
158
- class: "base"
159
158
  }, Fe = {
159
+ class: "base"
160
+ }, qe = {
160
161
  class: "pricingInfo"
161
- }, qe = /* @__PURE__ */ b({
162
+ }, Ee = /* @__PURE__ */ b({
162
163
  __name: "UserSubscriptionBaseInformation",
163
164
  props: {
164
165
  currentVersionName: {
@@ -178,36 +179,36 @@ const Oe = Object.assign(z, {
178
179
  setup(e, {
179
180
  emit: t
180
181
  }) {
181
- const n = e, i = t;
182
- function u() {
182
+ const o = e, i = t;
183
+ function c() {
183
184
  i("upgradeHandle");
184
185
  }
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
+ return (f, s) => (u(), v("div", He, [d("div", Fe, [d("div", qe, [s[0] || (s[0] = d("span", null, "我的订阅:", -1)), r(n(Ce), {
186
187
  color: "arcoblue",
187
188
  style: {
188
189
  "border-radius": "6px"
189
190
  }
190
191
  }, {
191
- default: a(() => [k(S(n.currentVersionName), 1)]),
192
+ default: l(() => [k(S(o.currentVersionName), 1)]),
192
193
  _: 1
193
- })]), n.canUpgrade ? (l(), g(o(W), {
194
+ })]), o.canUpgrade ? (u(), _(n(X), {
194
195
  key: 0,
195
196
  type: "primary",
196
197
  size: "mini",
197
198
  class: "updatePricing",
198
- onClick: u
199
+ onClick: c
199
200
  }, {
200
- default: a(() => r[1] || (r[1] = [k(" 升级 ")])),
201
+ default: l(() => s[1] || (s[1] = [k(" 升级 ")])),
201
202
  _: 1,
202
203
  __: [1]
203
- })) : V("", !0)]), d("span", null, "有效期至: " + S(n.expireDate), 1)]));
204
+ })) : P("", !0)]), d("span", null, "有效期至: " + S(o.expireDate), 1)]));
204
205
  }
205
- }), Ee = /* @__PURE__ */ I(qe, [["__scopeId", "data-v-1e32fa72"]]), Ke = {
206
+ }), Ke = /* @__PURE__ */ I(Ee, [["__scopeId", "data-v-1e32fa72"]]), Te = {
206
207
  class: "userInfo"
207
- }, Te = {
208
+ }, We = {
208
209
  key: 0,
209
210
  class: "userName"
210
- }, We = /* @__PURE__ */ b({
211
+ }, Xe = /* @__PURE__ */ b({
211
212
  __name: "UserAvatar",
212
213
  props: {
213
214
  nickname: {
@@ -221,24 +222,24 @@ const Oe = Object.assign(z, {
221
222
  },
222
223
  setup(e) {
223
224
  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
+ return (o, i) => (u(), v("div", Te, [t.nickname ? (u(), v("span", We, S(t.nickname), 1)) : P("", !0), r(n(Y), {
225
226
  "image-url": t.avatar,
226
227
  size: 32,
227
228
  "object-fit": "cover"
228
229
  }, null, 8, ["image-url"])]));
229
230
  }
230
- }), Xe = /* @__PURE__ */ I(We, [["__scopeId", "data-v-36643afe"]]), Ye = {
231
+ }), Ye = /* @__PURE__ */ I(Xe, [["__scopeId", "data-v-36643afe"]]), Ge = {
231
232
  class: "userInfo"
232
- }, Ge = {
233
- class: "extra"
234
233
  }, Je = {
235
- class: "userName"
234
+ class: "extra"
236
235
  }, Qe = {
237
- class: "email"
236
+ class: "userName"
238
237
  }, Ze = {
238
+ class: "email"
239
+ }, et = {
239
240
  key: 0,
240
241
  class: "referrerId"
241
- }, et = /* @__PURE__ */ b({
242
+ }, tt = /* @__PURE__ */ b({
242
243
  __name: "UserBasicInformation",
243
244
  props: {
244
245
  nickname: {
@@ -260,19 +261,19 @@ const Oe = Object.assign(z, {
260
261
  },
261
262
  setup(e) {
262
263
  const t = e;
263
- return (n, i) => (l(), v("div", Ye, [s(o(X), {
264
+ return (o, i) => (u(), v("div", Ge, [r(n(Y), {
264
265
  "image-url": t.avatarUrl,
265
266
  size: 42,
266
267
  "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
+ }, 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)])]));
268
269
  }
269
- }), tt = /* @__PURE__ */ I(et, [["__scopeId", "data-v-367449da"]]), nt = {
270
+ }), ot = /* @__PURE__ */ I(tt, [["__scopeId", "data-v-367449da"]]), nt = {
270
271
  class: "dropdownContent"
271
- }, ot = {
272
+ }, st = {
272
273
  class: "header"
273
274
  }, rt = /* @__PURE__ */ b({
274
275
  __name: "UserButton",
275
- props: /* @__PURE__ */ P({
276
+ props: /* @__PURE__ */ D({
276
277
  position: {
277
278
  default: "bl"
278
279
  },
@@ -289,69 +290,69 @@ const Oe = Object.assign(z, {
289
290
  },
290
291
  modelModifiers: {}
291
292
  }),
292
- emits: /* @__PURE__ */ P(["enterSystem", "toSignIn"], ["update:modelValue"]),
293
+ emits: /* @__PURE__ */ D(["enterSystem", "toSignIn"], ["update:modelValue"]),
293
294
  setup(e, {
294
295
  emit: t
295
296
  }) {
296
- const n = e, i = t, {
297
- userProfile: u,
297
+ const o = e, i = t, {
298
+ userProfile: c,
298
299
  isLoggedIn: f
299
300
  } = N();
300
- function r() {
301
+ function s() {
301
302
  i("toSignIn");
302
303
  }
303
- const _ = K(e, "modelValue");
304
- return ($, m) => o(f) ? (l(), g(o(Ce), {
304
+ const g = T(e, "modelValue");
305
+ return ($, m) => n(f) ? (u(), _(n($e), {
305
306
  key: 1,
306
- popupVisible: _.value,
307
- "onUpdate:popupVisible": m[0] || (m[0] = (y) => _.value = y),
307
+ popupVisible: g.value,
308
+ "onUpdate:popupVisible": m[0] || (m[0] = (y) => g.value = y),
308
309
  class: "DropdownUserInfo",
309
- position: n.position,
310
+ position: o.position,
310
311
  "popup-style": {
311
- "--dropdown-translate-x": n.dropdownOffsetX ?? "0",
312
- "--dropdown-translate-y": n.dropdownOffsetY ?? "0"
312
+ "--dropdown-translate-x": o.dropdownOffsetX ?? "0",
313
+ "--dropdown-translate-y": o.dropdownOffsetY ?? "0"
313
314
  }
314
315
  }, {
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, {
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, {
323
324
  currentVersionName: "免费版本",
324
325
  "expire-date": "2025-01-01",
325
326
  "can-upgrade": !0
326
- })]), s(o(Y), {
327
+ })]), r(n(G), {
327
328
  style: {
328
329
  margin: "10px 0px"
329
330
  }
330
- }), T($.$slots, "DoptionList", {}, void 0, !0)])];
331
+ }), W($.$slots, "DoptionList", {}, void 0, !0)])];
331
332
  }),
332
- default: a(() => {
333
+ default: l(() => {
333
334
  var y;
334
- return [s(Xe, {
335
- avatar: (y = o(u)) == null ? void 0 : y.avatarUrl
335
+ return [r(Ye, {
336
+ avatar: (y = n(c)) == null ? void 0 : y.avatarUrl
336
337
  }, null, 8, ["avatar"])];
337
338
  }),
338
339
  _: 3
339
- }, 8, ["popupVisible", "position", "popup-style"])) : (l(), g(o(W), {
340
+ }, 8, ["popupVisible", "position", "popup-style"])) : (u(), _(n(X), {
340
341
  key: 0,
341
342
  type: "primary",
342
343
  class: "handle",
343
- onClick: r
344
+ onClick: s
344
345
  }, {
345
- default: a(() => m[1] || (m[1] = [k(" 登陆 ")])),
346
+ default: l(() => m[1] || (m[1] = [k(" 登陆 ")])),
346
347
  _: 1,
347
348
  __: [1]
348
349
  }));
349
350
  }
350
- }), st = /* @__PURE__ */ I(rt, [["__scopeId", "data-v-ba98c4bf"]]), it = {
351
+ }), it = /* @__PURE__ */ I(rt, [["__scopeId", "data-v-ba98c4bf"]]), at = {
351
352
  class: "UserPanel"
352
- }, at = /* @__PURE__ */ b({
353
+ }, lt = /* @__PURE__ */ b({
353
354
  __name: "UserPanel",
354
- props: /* @__PURE__ */ P({
355
+ props: /* @__PURE__ */ D({
355
356
  position: {
356
357
  default: "bl"
357
358
  },
@@ -368,243 +369,247 @@ const Oe = Object.assign(z, {
368
369
  },
369
370
  modelModifiers: {}
370
371
  }),
371
- emits: /* @__PURE__ */ P(["toHomePage", "signOut", "signIn"], ["update:modelValue"]),
372
+ emits: /* @__PURE__ */ D(["toHomePage", "signOut", "signIn"], ["update:modelValue"]),
372
373
  setup(e, {
373
374
  emit: t
374
375
  }) {
375
- const n = e, i = p(), u = p(), f = p(Symbol("key")), r = t, {
376
- fetchUserProfile: _,
376
+ const o = e, i = p(), c = p(), f = p(Symbol("key")), s = t, {
377
+ fetchUserProfile: g,
377
378
  clearUserProfile: $,
378
379
  isLoggedIn: m
379
380
  } = N(), {
380
381
  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"));
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"));
386
387
  function ne(F) {
388
+ const a = `https://ones.huyooo.com/AboutUsDetails?type=privacyPolicy&appId=${q.appId}`;
389
+ window.open(a, "_blank");
387
390
  }
388
- function oe(F) {
391
+ function se(F) {
392
+ const a = `https://ones.huyooo.com/AboutUsDetails?type=userServiceAgreement&appId=${q.appId}`;
393
+ window.open(a, "_blank");
389
394
  }
390
395
  const {
391
396
  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
+ } = Ue(), H = T(e, "modelValue");
397
398
  function ie() {
398
- B.value = Symbol("key");
399
+ L.value = Symbol("key");
399
400
  }
401
+ const V = p(), x = p(Symbol("key"));
400
402
  function ae() {
401
- B.value = Symbol("key");
403
+ x.value = Symbol("key");
404
+ }
405
+ function le() {
406
+ x.value = Symbol("key");
402
407
  }
403
408
  function w() {
404
- re.value = !0, r("signIn");
409
+ re.value = !0, s("signIn");
405
410
  }
406
411
  y(() => {
407
- _();
412
+ g();
408
413
  });
409
- function le() {
410
- f.value = Symbol("key");
411
- }
412
414
  function ue() {
413
- u.value.show = !1;
415
+ f.value = Symbol("key");
414
416
  }
415
417
  function ce() {
416
- B.value = Symbol("key");
418
+ c.value.show = !1;
417
419
  }
418
420
  function de() {
419
- D.value.setData(null, !0);
421
+ x.value = Symbol("key");
420
422
  }
421
423
  function pe() {
424
+ V.value.setData(null, !0);
425
+ }
426
+ function fe() {
422
427
  if (!m.value) {
423
428
  w();
424
429
  return;
425
430
  }
426
- D.value.setData(null, !0);
431
+ V.value.setData(null, !0);
427
432
  }
428
- function fe() {
433
+ function me() {
429
434
  if (!m.value) {
430
435
  w();
431
436
  return;
432
437
  }
433
438
  O.value.openNotification();
434
439
  }
435
- function me() {
440
+ function ke() {
436
441
  if (!m.value) {
437
442
  w();
438
443
  return;
439
444
  }
440
445
  j.value.setData(null, !0);
441
446
  }
442
- function ke() {
447
+ function ve() {
443
448
  if (!m.value) {
444
449
  w();
445
450
  return;
446
451
  }
447
452
  i.value.setData(!0);
448
453
  }
449
- function ve() {
454
+ function ye() {
450
455
  if (!m.value) {
451
456
  w();
452
457
  return;
453
458
  }
454
459
  h.value.setData(!0);
455
460
  }
456
- function ye() {
457
- r("toHomePage");
461
+ function ge() {
462
+ s("toHomePage");
458
463
  }
459
464
  async function _e() {
460
- $(), x(), r("signOut");
465
+ $(), M(), s("signOut");
461
466
  }
462
- return (F, c) => (l(), v("div", it, [s(st, {
467
+ return (F, a) => (u(), v("div", at, [r(it, {
463
468
  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,
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,
468
473
  onToSignIn: w
469
474
  }, {
470
- DoptionList: a(() => [s(o(C), {
475
+ DoptionList: l(() => [r(n(C), {
471
476
  value: "messages",
472
477
  class: "Doption",
473
- onClick: fe
478
+ onClick: me
474
479
  }, {
475
- icon: a(() => c[1] || (c[1] = [k("消息中心")])),
476
- default: a(() => [s(o(M))]),
480
+ icon: l(() => a[1] || (a[1] = [k("消息中心")])),
481
+ default: l(() => [r(n(U))]),
477
482
  _: 1
478
- }), s(o(C), {
483
+ }), r(n(C), {
479
484
  value: "setting",
480
485
  class: "Doption",
481
- onClick: pe
486
+ onClick: fe
482
487
  }, {
483
- icon: a(() => c[2] || (c[2] = [k("系统设置 ")])),
484
- default: a(() => [s(o(M))]),
488
+ icon: l(() => a[2] || (a[2] = [k("系统设置 ")])),
489
+ default: l(() => [r(n(U))]),
485
490
  _: 1
486
- }), s(o(C), {
491
+ }), r(n(C), {
487
492
  value: "subscription",
488
493
  class: "Doption",
489
- onClick: me
494
+ onClick: ke
490
495
  }, {
491
- icon: a(() => c[3] || (c[3] = [k("订阅信息 ")])),
492
- default: a(() => [s(o(M))]),
496
+ icon: l(() => a[3] || (a[3] = [k("订阅信息 ")])),
497
+ default: l(() => [r(n(U))]),
493
498
  _: 1
494
- }), s(o(C), {
499
+ }), r(n(C), {
495
500
  value: "feedBack",
496
501
  class: "Doption",
497
- onClick: ke
502
+ onClick: ve
498
503
  }, {
499
- icon: a(() => c[4] || (c[4] = [k("系统反馈 ")])),
500
- default: a(() => [s(o(M))]),
504
+ icon: l(() => a[4] || (a[4] = [k("系统反馈 ")])),
505
+ default: l(() => [r(n(U))]),
501
506
  _: 1
502
- }), s(o(C), {
507
+ }), r(n(C), {
503
508
  value: "invitations",
504
509
  class: "Doption",
505
- onClick: ve
510
+ onClick: ye
506
511
  }, {
507
- icon: a(() => c[5] || (c[5] = [k("邀请 ")])),
508
- default: a(() => [s(o(M))]),
512
+ icon: l(() => a[5] || (a[5] = [k("邀请 ")])),
513
+ default: l(() => [r(n(U))]),
509
514
  _: 1
510
- }), s(o(Y), {
515
+ }), r(n(G), {
511
516
  style: {
512
517
  margin: "10px 0px"
513
518
  }
514
- }), s(o(C), {
519
+ }), r(n(C), {
515
520
  value: "homePage",
516
521
  class: "Doption",
517
- onClick: ye
522
+ onClick: ge
518
523
  }, {
519
- icon: a(() => c[6] || (c[6] = [k("主页 ")])),
520
- default: a(() => [s(o(Oe))]),
524
+ icon: l(() => a[6] || (a[6] = [k("主页 ")])),
525
+ default: l(() => [r(n(je))]),
521
526
  _: 1
522
- }), s(o(C), {
527
+ }), r(n(C), {
523
528
  value: "signOut",
524
529
  class: "Doption",
525
530
  onClick: _e
526
531
  }, {
527
- icon: a(() => c[7] || (c[7] = [k("退出登陆 ")])),
528
- default: a(() => [s(o(Re))]),
532
+ icon: l(() => a[7] || (a[7] = [k("退出登陆 ")])),
533
+ default: l(() => [r(n(ze))]),
529
534
  _: 1
530
535
  })]),
531
536
  _: 1
532
- }, 8, ["modelValue", "position", "dropdown-offset-x", "dropdown-offset-y"]), (l(), g(Me, {
537
+ }, 8, ["modelValue", "position", "dropdown-offset-x", "dropdown-offset-y"]), (u(), _(Ae, {
533
538
  ref_key: "AuthModalRef",
534
- ref: ee,
535
- key: te.value,
539
+ ref: te,
540
+ key: oe.value,
536
541
  size: "large",
537
542
  onToPrivacyPolicy: ne,
538
- onToUserServiceAgreement: oe
539
- })), o(m) ? (l(), v(Se, {
543
+ onToUserServiceAgreement: se
544
+ })), n(m) ? (u(), v(be, {
540
545
  key: 0
541
- }, [(l(), g(Ue, {
546
+ }, [(u(), _(Me, {
542
547
  ref_key: "AppSettingRef",
543
- ref: D,
544
- key: B.value,
545
- onConfirm: de,
546
- onCancel: ce
547
- })), (l(), g(we, {
548
+ ref: V,
549
+ key: x.value,
550
+ onConfirm: pe,
551
+ onCancel: de
552
+ })), (u(), _(Ie, {
548
553
  ref_key: "RefereesRef",
549
554
  ref: h,
550
555
  key: L.value,
551
- onCancel: se
552
- })), (l(), g($e, {
556
+ onCancel: ie
557
+ })), (u(), _(we, {
553
558
  ref_key: "SubscriptionsRef",
554
559
  ref: j,
555
- key: Z.value,
560
+ key: ee.value,
556
561
  title: "订阅详情",
557
- onConfirm: ie,
558
- onCancel: ae
559
- })), s(Be, {
562
+ onConfirm: ae,
563
+ onCancel: le
564
+ })), r(Be, {
560
565
  ref_key: "MessageHandleRef",
561
566
  ref: O
562
- }, null, 512), (l(), g(xe, {
567
+ }, null, 512), (u(), _(xe, {
563
568
  ref_key: "FeedBackModalRef",
564
569
  ref: i,
565
570
  key: f.value,
566
- onConfirm: ue,
567
- onCancel: le
568
- }))], 64)) : V("", !0)]));
571
+ onConfirm: ce,
572
+ onCancel: ue
573
+ }))], 64)) : P("", !0)]));
569
574
  }
570
- }), Dt = /* @__PURE__ */ I(at, [["__scopeId", "data-v-4c4c85af"]]), lt = {
575
+ }), zt = /* @__PURE__ */ I(lt, [["__scopeId", "data-v-e72510ba"]]), ut = {
571
576
  class: "UserAccountMenu"
572
- }, ut = {
573
- class: "avatar"
574
577
  }, ct = {
575
- class: "meta"
578
+ class: "avatar"
576
579
  }, dt = {
577
- class: "name"
580
+ class: "meta"
578
581
  }, pt = {
582
+ class: "name"
583
+ }, ft = {
579
584
  class: "email"
580
- }, ft = /* @__PURE__ */ b({
585
+ }, mt = /* @__PURE__ */ b({
581
586
  __name: "UserAccountMenu",
582
587
  emits: ["arrowClick"],
583
588
  setup(e, {
584
589
  emit: t
585
590
  }) {
586
591
  const {
587
- userProfile: n
592
+ userProfile: o
588
593
  } = N(), i = t;
589
- function u() {
594
+ function c() {
590
595
  i("arrowClick");
591
596
  }
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", {
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", {
595
600
  class: "arrow",
596
- onClick: u
597
- }, [s(o(Ae), {
601
+ onClick: c
602
+ }, [r(n(De), {
598
603
  icon: "lucide:chevrons-up-down"
599
604
  })])]);
600
605
  };
601
606
  }
602
- }), Rt = /* @__PURE__ */ I(ft, [["__scopeId", "data-v-b801e222"]]);
607
+ }), Nt = /* @__PURE__ */ I(mt, [["__scopeId", "data-v-b801e222"]]);
603
608
  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
609
+ Ke as S,
610
+ Ye as U,
611
+ ot as a,
612
+ it as b,
613
+ zt as c,
614
+ Nt as d
610
615
  };