@huyooo/ui 0.4.77 → 0.4.79
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/{LandingPageToc-BSj2IYpg.js → LandingPageToc-CtByslqq.js} +377 -359
- package/dist/{UserAccountMenu-C7LQIjwT.js → UserAccountMenu-BjPo49PW.js} +215 -210
- package/dist/components/LandingPage/LandingPageContainer.vue.d.ts +10 -1
- package/dist/components/LandingPage/LandingPagePageContent.vue.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/landingPage.js +1 -1
- package/dist/style.css +1 -1
- package/dist/user.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
6
|
-
import { Tag as
|
|
7
|
-
import { S as
|
|
8
|
-
import { R as
|
|
9
|
-
import { a as N, u as
|
|
10
|
-
import { u as
|
|
11
|
-
import {
|
|
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-A8HqP1Bw.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
|
|
19
|
-
import { _ as
|
|
20
|
-
import { Icon as
|
|
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
|
|
51
|
-
[`${
|
|
52
|
-
}]),
|
|
53
|
-
const
|
|
54
|
-
return e.size && (
|
|
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:
|
|
59
|
-
onClick: (
|
|
60
|
-
t("click",
|
|
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
|
|
66
|
-
return
|
|
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:
|
|
72
|
-
style:
|
|
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] = (...
|
|
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__ */
|
|
82
|
-
const
|
|
82
|
+
var R = /* @__PURE__ */ J(Pe, [["render", Re]]);
|
|
83
|
+
const ze = Object.assign(R, {
|
|
83
84
|
install: (e, t) => {
|
|
84
|
-
var
|
|
85
|
-
const i = (
|
|
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
|
-
}),
|
|
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
|
|
118
|
-
[`${
|
|
119
|
-
}]),
|
|
120
|
-
const
|
|
121
|
-
return e.size && (
|
|
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:
|
|
126
|
-
onClick: (
|
|
127
|
-
t("click",
|
|
126
|
+
innerStyle: c,
|
|
127
|
+
onClick: (s) => {
|
|
128
|
+
t("click", s);
|
|
128
129
|
}
|
|
129
130
|
};
|
|
130
131
|
}
|
|
131
|
-
}),
|
|
132
|
-
function
|
|
133
|
-
return
|
|
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:
|
|
139
|
-
style:
|
|
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] = (...
|
|
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,
|
|
147
|
+
}, null, -1)]), 14, Le);
|
|
147
148
|
}
|
|
148
|
-
var z = /* @__PURE__ */
|
|
149
|
-
const
|
|
149
|
+
var z = /* @__PURE__ */ J(Ne, [["render", Oe]]);
|
|
150
|
+
const je = Object.assign(z, {
|
|
150
151
|
install: (e, t) => {
|
|
151
|
-
var
|
|
152
|
-
const i = (
|
|
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
|
-
}),
|
|
156
|
+
}), He = {
|
|
156
157
|
class: "pricing"
|
|
157
|
-
}, He = {
|
|
158
|
-
class: "base"
|
|
159
158
|
}, Fe = {
|
|
159
|
+
class: "base"
|
|
160
|
+
}, qe = {
|
|
160
161
|
class: "pricingInfo"
|
|
161
|
-
},
|
|
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
|
|
182
|
-
function
|
|
182
|
+
const o = e, i = t;
|
|
183
|
+
function c() {
|
|
183
184
|
i("upgradeHandle");
|
|
184
185
|
}
|
|
185
|
-
return (f,
|
|
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:
|
|
192
|
+
default: l(() => [k(S(o.currentVersionName), 1)]),
|
|
192
193
|
_: 1
|
|
193
|
-
})]),
|
|
194
|
+
})]), o.canUpgrade ? (u(), _(n(X), {
|
|
194
195
|
key: 0,
|
|
195
196
|
type: "primary",
|
|
196
197
|
size: "mini",
|
|
197
198
|
class: "updatePricing",
|
|
198
|
-
onClick:
|
|
199
|
+
onClick: c
|
|
199
200
|
}, {
|
|
200
|
-
default:
|
|
201
|
+
default: l(() => s[1] || (s[1] = [k(" 升级 ")])),
|
|
201
202
|
_: 1,
|
|
202
203
|
__: [1]
|
|
203
|
-
})) :
|
|
204
|
+
})) : P("", !0)]), d("span", null, "有效期至: " + S(o.expireDate), 1)]));
|
|
204
205
|
}
|
|
205
|
-
}),
|
|
206
|
+
}), Ke = /* @__PURE__ */ I(Ee, [["__scopeId", "data-v-1e32fa72"]]), Te = {
|
|
206
207
|
class: "userInfo"
|
|
207
|
-
},
|
|
208
|
+
}, We = {
|
|
208
209
|
key: 0,
|
|
209
210
|
class: "userName"
|
|
210
|
-
},
|
|
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 (
|
|
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
|
-
}),
|
|
231
|
+
}), Ye = /* @__PURE__ */ I(Xe, [["__scopeId", "data-v-36643afe"]]), Ge = {
|
|
231
232
|
class: "userInfo"
|
|
232
|
-
}, Ge = {
|
|
233
|
-
class: "extra"
|
|
234
233
|
}, Je = {
|
|
235
|
-
class: "
|
|
234
|
+
class: "extra"
|
|
236
235
|
}, Qe = {
|
|
237
|
-
class: "
|
|
236
|
+
class: "userName"
|
|
238
237
|
}, Ze = {
|
|
238
|
+
class: "email"
|
|
239
|
+
}, et = {
|
|
239
240
|
key: 0,
|
|
240
241
|
class: "referrerId"
|
|
241
|
-
},
|
|
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 (
|
|
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",
|
|
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
|
-
}),
|
|
270
|
+
}), ot = /* @__PURE__ */ I(tt, [["__scopeId", "data-v-367449da"]]), nt = {
|
|
270
271
|
class: "dropdownContent"
|
|
271
|
-
},
|
|
272
|
+
}, st = {
|
|
272
273
|
class: "header"
|
|
273
274
|
}, rt = /* @__PURE__ */ b({
|
|
274
275
|
__name: "UserButton",
|
|
275
|
-
props: /* @__PURE__ */
|
|
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__ */
|
|
293
|
+
emits: /* @__PURE__ */ D(["enterSystem", "toSignIn"], ["update:modelValue"]),
|
|
293
294
|
setup(e, {
|
|
294
295
|
emit: t
|
|
295
296
|
}) {
|
|
296
|
-
const
|
|
297
|
-
userProfile:
|
|
297
|
+
const o = e, i = t, {
|
|
298
|
+
userProfile: c,
|
|
298
299
|
isLoggedIn: f
|
|
299
300
|
} = N();
|
|
300
|
-
function
|
|
301
|
+
function s() {
|
|
301
302
|
i("toSignIn");
|
|
302
303
|
}
|
|
303
|
-
const
|
|
304
|
-
return ($, m) =>
|
|
304
|
+
const g = T(e, "modelValue");
|
|
305
|
+
return ($, m) => n(f) ? (u(), _(n($e), {
|
|
305
306
|
key: 1,
|
|
306
|
-
popupVisible:
|
|
307
|
-
"onUpdate:popupVisible": m[0] || (m[0] = (y) =>
|
|
307
|
+
popupVisible: g.value,
|
|
308
|
+
"onUpdate:popupVisible": m[0] || (m[0] = (y) => g.value = y),
|
|
308
309
|
class: "DropdownUserInfo",
|
|
309
|
-
position:
|
|
310
|
+
position: o.position,
|
|
310
311
|
"popup-style": {
|
|
311
|
-
"--dropdown-translate-x":
|
|
312
|
-
"--dropdown-translate-y":
|
|
312
|
+
"--dropdown-translate-x": o.dropdownOffsetX ?? "0",
|
|
313
|
+
"--dropdown-translate-y": o.dropdownOffsetY ?? "0"
|
|
313
314
|
}
|
|
314
315
|
}, {
|
|
315
|
-
content:
|
|
316
|
-
var y,
|
|
317
|
-
return [d("div", nt, [d("div",
|
|
318
|
-
"avatar-url": (y =
|
|
319
|
-
nickname: (
|
|
320
|
-
email: (
|
|
321
|
-
"referrer-id": (h =
|
|
322
|
-
}, null, 8, ["avatar-url", "nickname", "email", "referrer-id"]),
|
|
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
|
-
})]),
|
|
327
|
+
})]), r(n(G), {
|
|
327
328
|
style: {
|
|
328
329
|
margin: "10px 0px"
|
|
329
330
|
}
|
|
330
|
-
}),
|
|
331
|
+
}), W($.$slots, "DoptionList", {}, void 0, !0)])];
|
|
331
332
|
}),
|
|
332
|
-
default:
|
|
333
|
+
default: l(() => {
|
|
333
334
|
var y;
|
|
334
|
-
return [
|
|
335
|
-
avatar: (y =
|
|
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"])) : (
|
|
340
|
+
}, 8, ["popupVisible", "position", "popup-style"])) : (u(), _(n(X), {
|
|
340
341
|
key: 0,
|
|
341
342
|
type: "primary",
|
|
342
343
|
class: "handle",
|
|
343
|
-
onClick:
|
|
344
|
+
onClick: s
|
|
344
345
|
}, {
|
|
345
|
-
default:
|
|
346
|
+
default: l(() => m[1] || (m[1] = [k(" 登陆 ")])),
|
|
346
347
|
_: 1,
|
|
347
348
|
__: [1]
|
|
348
349
|
}));
|
|
349
350
|
}
|
|
350
|
-
}),
|
|
351
|
+
}), it = /* @__PURE__ */ I(rt, [["__scopeId", "data-v-ba98c4bf"]]), at = {
|
|
351
352
|
class: "UserPanel"
|
|
352
|
-
},
|
|
353
|
+
}, lt = /* @__PURE__ */ b({
|
|
353
354
|
__name: "UserPanel",
|
|
354
|
-
props: /* @__PURE__ */
|
|
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__ */
|
|
372
|
+
emits: /* @__PURE__ */ D(["toHomePage", "signOut", "signIn"], ["update:modelValue"]),
|
|
372
373
|
setup(e, {
|
|
373
374
|
emit: t
|
|
374
375
|
}) {
|
|
375
|
-
const
|
|
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:
|
|
382
|
-
clearAuth:
|
|
383
|
-
} =
|
|
384
|
-
|
|
385
|
-
const h = p(), L = p(Symbol("key")), O = p(), j = p(),
|
|
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
|
|
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
|
-
} =
|
|
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
|
-
|
|
399
|
+
L.value = Symbol("key");
|
|
399
400
|
}
|
|
401
|
+
const V = p(), x = p(Symbol("key"));
|
|
400
402
|
function ae() {
|
|
401
|
-
|
|
403
|
+
x.value = Symbol("key");
|
|
404
|
+
}
|
|
405
|
+
function le() {
|
|
406
|
+
x.value = Symbol("key");
|
|
402
407
|
}
|
|
403
408
|
function w() {
|
|
404
|
-
re.value = !0,
|
|
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
|
-
|
|
415
|
+
f.value = Symbol("key");
|
|
414
416
|
}
|
|
415
417
|
function ce() {
|
|
416
|
-
|
|
418
|
+
c.value.show = !1;
|
|
417
419
|
}
|
|
418
420
|
function de() {
|
|
419
|
-
|
|
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
|
-
|
|
431
|
+
V.value.setData(null, !0);
|
|
427
432
|
}
|
|
428
|
-
function
|
|
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
|
|
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
|
|
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
|
|
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
|
|
457
|
-
|
|
461
|
+
function ge() {
|
|
462
|
+
s("toHomePage");
|
|
458
463
|
}
|
|
459
464
|
async function _e() {
|
|
460
|
-
$(),
|
|
465
|
+
$(), M(), s("signOut");
|
|
461
466
|
}
|
|
462
|
-
return (F,
|
|
467
|
+
return (F, a) => (u(), v("div", at, [r(it, {
|
|
463
468
|
modelValue: H.value,
|
|
464
|
-
"onUpdate:modelValue":
|
|
465
|
-
position:
|
|
466
|
-
"dropdown-offset-x":
|
|
467
|
-
"dropdown-offset-y":
|
|
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:
|
|
475
|
+
DoptionList: l(() => [r(n(C), {
|
|
471
476
|
value: "messages",
|
|
472
477
|
class: "Doption",
|
|
473
|
-
onClick:
|
|
478
|
+
onClick: me
|
|
474
479
|
}, {
|
|
475
|
-
icon:
|
|
476
|
-
default:
|
|
480
|
+
icon: l(() => a[1] || (a[1] = [k("消息中心")])),
|
|
481
|
+
default: l(() => [r(n(U))]),
|
|
477
482
|
_: 1
|
|
478
|
-
}),
|
|
483
|
+
}), r(n(C), {
|
|
479
484
|
value: "setting",
|
|
480
485
|
class: "Doption",
|
|
481
|
-
onClick:
|
|
486
|
+
onClick: fe
|
|
482
487
|
}, {
|
|
483
|
-
icon:
|
|
484
|
-
default:
|
|
488
|
+
icon: l(() => a[2] || (a[2] = [k("系统设置 ")])),
|
|
489
|
+
default: l(() => [r(n(U))]),
|
|
485
490
|
_: 1
|
|
486
|
-
}),
|
|
491
|
+
}), r(n(C), {
|
|
487
492
|
value: "subscription",
|
|
488
493
|
class: "Doption",
|
|
489
|
-
onClick:
|
|
494
|
+
onClick: ke
|
|
490
495
|
}, {
|
|
491
|
-
icon:
|
|
492
|
-
default:
|
|
496
|
+
icon: l(() => a[3] || (a[3] = [k("订阅信息 ")])),
|
|
497
|
+
default: l(() => [r(n(U))]),
|
|
493
498
|
_: 1
|
|
494
|
-
}),
|
|
499
|
+
}), r(n(C), {
|
|
495
500
|
value: "feedBack",
|
|
496
501
|
class: "Doption",
|
|
497
|
-
onClick:
|
|
502
|
+
onClick: ve
|
|
498
503
|
}, {
|
|
499
|
-
icon:
|
|
500
|
-
default:
|
|
504
|
+
icon: l(() => a[4] || (a[4] = [k("系统反馈 ")])),
|
|
505
|
+
default: l(() => [r(n(U))]),
|
|
501
506
|
_: 1
|
|
502
|
-
}),
|
|
507
|
+
}), r(n(C), {
|
|
503
508
|
value: "invitations",
|
|
504
509
|
class: "Doption",
|
|
505
|
-
onClick:
|
|
510
|
+
onClick: ye
|
|
506
511
|
}, {
|
|
507
|
-
icon:
|
|
508
|
-
default:
|
|
512
|
+
icon: l(() => a[5] || (a[5] = [k("邀请 ")])),
|
|
513
|
+
default: l(() => [r(n(U))]),
|
|
509
514
|
_: 1
|
|
510
|
-
}),
|
|
515
|
+
}), r(n(G), {
|
|
511
516
|
style: {
|
|
512
517
|
margin: "10px 0px"
|
|
513
518
|
}
|
|
514
|
-
}),
|
|
519
|
+
}), r(n(C), {
|
|
515
520
|
value: "homePage",
|
|
516
521
|
class: "Doption",
|
|
517
|
-
onClick:
|
|
522
|
+
onClick: ge
|
|
518
523
|
}, {
|
|
519
|
-
icon:
|
|
520
|
-
default:
|
|
524
|
+
icon: l(() => a[6] || (a[6] = [k("主页 ")])),
|
|
525
|
+
default: l(() => [r(n(je))]),
|
|
521
526
|
_: 1
|
|
522
|
-
}),
|
|
527
|
+
}), r(n(C), {
|
|
523
528
|
value: "signOut",
|
|
524
529
|
class: "Doption",
|
|
525
530
|
onClick: _e
|
|
526
531
|
}, {
|
|
527
|
-
icon:
|
|
528
|
-
default:
|
|
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"]), (
|
|
537
|
+
}, 8, ["modelValue", "position", "dropdown-offset-x", "dropdown-offset-y"]), (u(), _(Ae, {
|
|
533
538
|
ref_key: "AuthModalRef",
|
|
534
|
-
ref:
|
|
535
|
-
key:
|
|
539
|
+
ref: te,
|
|
540
|
+
key: oe.value,
|
|
536
541
|
size: "large",
|
|
537
542
|
onToPrivacyPolicy: ne,
|
|
538
|
-
onToUserServiceAgreement:
|
|
539
|
-
})),
|
|
543
|
+
onToUserServiceAgreement: se
|
|
544
|
+
})), n(m) ? (u(), v(be, {
|
|
540
545
|
key: 0
|
|
541
|
-
}, [(
|
|
546
|
+
}, [(u(), _(Me, {
|
|
542
547
|
ref_key: "AppSettingRef",
|
|
543
|
-
ref:
|
|
544
|
-
key:
|
|
545
|
-
onConfirm:
|
|
546
|
-
onCancel:
|
|
547
|
-
})), (
|
|
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:
|
|
552
|
-
})), (
|
|
556
|
+
onCancel: ie
|
|
557
|
+
})), (u(), _(we, {
|
|
553
558
|
ref_key: "SubscriptionsRef",
|
|
554
559
|
ref: j,
|
|
555
|
-
key:
|
|
560
|
+
key: ee.value,
|
|
556
561
|
title: "订阅详情",
|
|
557
|
-
onConfirm:
|
|
558
|
-
onCancel:
|
|
559
|
-
})),
|
|
562
|
+
onConfirm: ae,
|
|
563
|
+
onCancel: le
|
|
564
|
+
})), r(Be, {
|
|
560
565
|
ref_key: "MessageHandleRef",
|
|
561
566
|
ref: O
|
|
562
|
-
}, null, 512), (
|
|
567
|
+
}, null, 512), (u(), _(xe, {
|
|
563
568
|
ref_key: "FeedBackModalRef",
|
|
564
569
|
ref: i,
|
|
565
570
|
key: f.value,
|
|
566
|
-
onConfirm:
|
|
567
|
-
onCancel:
|
|
568
|
-
}))], 64)) :
|
|
571
|
+
onConfirm: ce,
|
|
572
|
+
onCancel: ue
|
|
573
|
+
}))], 64)) : P("", !0)]));
|
|
569
574
|
}
|
|
570
|
-
}),
|
|
575
|
+
}), zt = /* @__PURE__ */ I(lt, [["__scopeId", "data-v-e72510ba"]]), ut = {
|
|
571
576
|
class: "UserAccountMenu"
|
|
572
|
-
}, ut = {
|
|
573
|
-
class: "avatar"
|
|
574
577
|
}, ct = {
|
|
575
|
-
class: "
|
|
578
|
+
class: "avatar"
|
|
576
579
|
}, dt = {
|
|
577
|
-
class: "
|
|
580
|
+
class: "meta"
|
|
578
581
|
}, pt = {
|
|
582
|
+
class: "name"
|
|
583
|
+
}, ft = {
|
|
579
584
|
class: "email"
|
|
580
|
-
},
|
|
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:
|
|
592
|
+
userProfile: o
|
|
588
593
|
} = N(), i = t;
|
|
589
|
-
function
|
|
594
|
+
function c() {
|
|
590
595
|
i("arrowClick");
|
|
591
596
|
}
|
|
592
|
-
return (f,
|
|
593
|
-
var
|
|
594
|
-
return
|
|
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:
|
|
597
|
-
}, [
|
|
601
|
+
onClick: c
|
|
602
|
+
}, [r(n(De), {
|
|
598
603
|
icon: "lucide:chevrons-up-down"
|
|
599
604
|
})])]);
|
|
600
605
|
};
|
|
601
606
|
}
|
|
602
|
-
}),
|
|
607
|
+
}), Nt = /* @__PURE__ */ I(mt, [["__scopeId", "data-v-b801e222"]]);
|
|
603
608
|
export {
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
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
|
};
|