@huyooo/ui 0.11.11 → 0.11.14
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/{AuthkitAppSetting-DrX6fwKt.js → AuthkitAppSetting-p_ZzaAK3.js} +6 -6
- package/dist/{AuthkitGithubBinding-r2oVuCSV.js → AuthkitGithubBinding-Cwly1un7.js} +7 -7
- package/dist/{Clipboard-ChMNfcO5.js → Clipboard-k0jtK4CJ.js} +1 -1
- package/dist/{Contact-Yqmjh47e.js → Contact-BGZm3i5l.js} +2 -2
- package/dist/{FeedbackItem-DHp_C0pN.js → FeedbackItem-opB6y-f2.js} +3 -3
- package/dist/{FeedbackModal-Dzl0Alp7.js → FeedbackModal-9CNnFC6B.js} +3 -3
- package/dist/{MessageHandle-BcRjYeVi.js → MessageHandle-BZBT7Ii1.js} +2 -2
- package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BOtgTje-.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BbKvsNKj.js} +2 -2
- package/dist/{PaySubscriptions-BsU0XmXf.js → PaySubscriptions-DS4kJNb_.js} +187 -171
- package/dist/{PricingPlans-YroHYNiM.js → PricingPlans-v8ZL2XaL.js} +23 -23
- package/dist/{ReferrerReferees-B-ISyXHw.js → ReferrerReferees-DhS91Ulf.js} +4 -4
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-CDWyo3RL.js → Upload.vue_vue_type_script_setup_true_lang-DOHui-lA.js} +1 -1
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-Czix4_tj.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-9cF5hBYc.js} +91 -91
- package/dist/{WidthContainer-CYYbzXj0.js → WidthContainer-ektCstwj.js} +8 -8
- package/dist/{apiClients-KFp-rs-C.js → apiClients-B8bOvWw_.js} +28 -27
- package/dist/authkit.js +9 -9
- package/dist/common/globalConfig.d.ts +8 -0
- package/dist/common.js +1 -1
- package/dist/composables.js +12 -12
- package/dist/feedback.js +3 -3
- package/dist/main.js +30 -30
- package/dist/message.js +3 -3
- package/dist/pay.js +3 -3
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-B9_VzVkQ.js → useAuthkitAppsAuthPageInfo-6ncIP9RT.js} +1 -1
- package/dist/{useAuthkitAuth-Doj5VYjK.js → useAuthkitAuth-Bj8XxPtO.js} +1 -1
- package/dist/{useAuthkitCreateAndUpdate-DomftQMK.js → useAuthkitCreateAndUpdate-CUf8HARI.js} +1 -1
- package/dist/{useAuthkitUsersProfile-FJnHJad-.js → useAuthkitUsersProfile-CoQceogN.js} +2 -2
- package/dist/{useDownloads-CzC3gLUV.js → useDownloads-B8FzX8T_.js} +1 -1
- package/dist/{useEnsureAuthenticated-D78tsddF.js → useEnsureAuthenticated-MpHmn2co.js} +2 -2
- package/dist/{useLegalLinks-OGVbqXVy.js → useLegalLinks-CVHYmza0.js} +2 -2
- package/dist/{useMessageNotifications-DeHFJFcX.js → useMessageNotifications-Bstn2qtG.js} +1 -1
- package/dist/{useSEO-BZhVKEZr.js → useSEO-DU86KCMJ.js} +2 -2
- package/dist/{useSubscriptionCheckout-DmxORGSV.js → useSubscriptionCheckout-Dv8Rq5jU.js} +2 -2
- package/dist/{useTableHandle-jw0P7-2a.js → useTableHandle-B9aFmwYM.js} +1 -1
- package/dist/{useUploadCos-keDKcs0j.js → useUploadCos-DTMIoW7p.js} +1 -1
- package/dist/user.js +1 -1
- package/dist/utils/pricing.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as V, computed as B, openBlock as i, createBlock as $, withCtx as f, createVNode as m, onMounted as ne, resolveDirective as le, createElementBlock as s, withDirectives as
|
|
2
|
-
import { L as
|
|
1
|
+
import { defineComponent as V, computed as B, openBlock as i, createBlock as $, withCtx as f, createVNode as m, onMounted as ne, resolveDirective as le, createElementBlock as s, withDirectives as ae, unref as t, normalizeClass as p, createElementVNode as n, toDisplayString as l, Fragment as P, renderList as g, createCommentVNode as c, createTextVNode as N } from "vue";
|
|
2
|
+
import { L as re, a as ce } from "./LandingPageFAQ-CZJXvor9.js";
|
|
3
3
|
import { L as oe } from "./LandingPageSectionHeader-D_74W4My.js";
|
|
4
4
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
/* empty css */
|
|
@@ -7,8 +7,8 @@ import "./index-D3Kp6R4z.js";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { Spin as ue, Button as E } from "@arco-design/web-vue";
|
|
9
9
|
import { Icon as Q } from "@iconify/vue";
|
|
10
|
-
import { u as _e, a as de } from "./useSubscriptionCheckout-
|
|
11
|
-
import { u as Pe } from "./useEnsureAuthenticated-
|
|
10
|
+
import { u as _e, a as de } from "./useSubscriptionCheckout-Dv8Rq5jU.js";
|
|
11
|
+
import { u as Pe } from "./useEnsureAuthenticated-MpHmn2co.js";
|
|
12
12
|
const ge = /* @__PURE__ */ V({
|
|
13
13
|
__name: "PricingFAQ",
|
|
14
14
|
props: {
|
|
@@ -51,7 +51,7 @@ const ge = /* @__PURE__ */ V({
|
|
|
51
51
|
question: "使用订阅服务有什么限制?",
|
|
52
52
|
answer: "请按正常业务场景使用服务,禁止共享、转售订阅或用于违法违规场景。严重滥用可能导致服务受限或账户终止。"
|
|
53
53
|
}], h = o, y = B(() => h.faqItems ?? v);
|
|
54
|
-
return (I, k) => (i(), $(
|
|
54
|
+
return (I, k) => (i(), $(re, {
|
|
55
55
|
class: "PricingFAQ"
|
|
56
56
|
}, {
|
|
57
57
|
BlockHeader: f(() => [m(oe, {
|
|
@@ -155,17 +155,17 @@ const ge = /* @__PURE__ */ V({
|
|
|
155
155
|
loadCurrentSubscription: U,
|
|
156
156
|
refresh: W
|
|
157
157
|
} = _e(v.defaultInterval), _ = B(() => {
|
|
158
|
-
var
|
|
159
|
-
for (const
|
|
160
|
-
const d =
|
|
158
|
+
var a;
|
|
159
|
+
for (const r of h.value) {
|
|
160
|
+
const d = r.prices.find((e) => e.type === "free");
|
|
161
161
|
if (d)
|
|
162
162
|
return {
|
|
163
|
-
...
|
|
164
|
-
features: (
|
|
163
|
+
...r,
|
|
164
|
+
features: (a = d.features) != null && a.length ? d.features : r.features,
|
|
165
165
|
selectedPrice: d
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
|
-
}), b = B(() => y.value.filter((
|
|
168
|
+
}), b = B(() => y.value.filter((a) => !M(a))), {
|
|
169
169
|
checkout: X,
|
|
170
170
|
isCheckingOut: Y
|
|
171
171
|
} = de({
|
|
@@ -174,26 +174,26 @@ const ge = /* @__PURE__ */ V({
|
|
|
174
174
|
}), {
|
|
175
175
|
ensureAuthenticated: Z
|
|
176
176
|
} = Pe();
|
|
177
|
-
function ee(
|
|
178
|
-
return
|
|
177
|
+
function ee(a) {
|
|
178
|
+
return a === 1 ? "适合团队协作与更高频使用" : "适合个人和轻量团队使用";
|
|
179
179
|
}
|
|
180
|
-
function T(
|
|
181
|
-
return S(
|
|
180
|
+
function T(a) {
|
|
181
|
+
return S(a.features).flatMap((r) => r.items).slice(0, 3);
|
|
182
182
|
}
|
|
183
|
-
function te(
|
|
184
|
-
return (
|
|
183
|
+
function te(a) {
|
|
184
|
+
return (a.description || A(a, 0)).replace(/^\s*\d+\s*天(?:免费)?体验[,,、\s]*/, "").replace(/^\s*免费体验[,,、\s]*/, "").trim();
|
|
185
185
|
}
|
|
186
186
|
function ie() {
|
|
187
|
-
return "
|
|
187
|
+
return "立即体验";
|
|
188
188
|
}
|
|
189
189
|
function se() {
|
|
190
190
|
Z();
|
|
191
191
|
}
|
|
192
192
|
return ne(() => {
|
|
193
193
|
W();
|
|
194
|
-
}), (
|
|
194
|
+
}), (a, r) => {
|
|
195
195
|
const d = le("motion-slide-top");
|
|
196
|
-
return i(), s("section", me, [
|
|
196
|
+
return i(), s("section", me, [ae((i(), $(t(ue), {
|
|
197
197
|
loading: t(k),
|
|
198
198
|
tip: "数据加载中",
|
|
199
199
|
class: "PricingPlans__spin"
|
|
@@ -231,7 +231,7 @@ const ge = /* @__PURE__ */ V({
|
|
|
231
231
|
}, [n("div", qe, [(i(!0), s(P, null, g(t(j)(e), (u) => (i(), s("span", {
|
|
232
232
|
key: u.type,
|
|
233
233
|
class: p(["PricingPlans__badge", `is-${u.type}`])
|
|
234
|
-
}, l(u.label), 3))), 128))]), n("div", Le, [n("h2", null, l(e.name), 1), n("p", null, l(e.description || ee(C)), 1)]), n("div", we, [t(D)(e) ? (i(), s("span", De, " ¥" + l(t(D)(e)), 1)) : c("", !0),
|
|
234
|
+
}, l(u.label), 3))), 128))]), n("div", Le, [n("h2", null, l(e.name), 1), n("p", null, l(e.description || ee(C)), 1)]), n("div", we, [t(D)(e) ? (i(), s("span", De, " ¥" + l(t(D)(e)), 1)) : c("", !0), r[0] || (r[0] = n("span", {
|
|
235
235
|
class: "PricingPlans__currency"
|
|
236
236
|
}, "¥", -1)), n("span", Fe, l(t(O)(e)), 1), n("span", Ae, l(t(R)(e)), 1)]), t(F)(e) ? (i(), s("p", Se, l(t(F)(e)), 1)) : c("", !0), n("p", Te, l(t(A)(e, C)), 1), m(t(E), {
|
|
237
237
|
long: "",
|
|
@@ -244,7 +244,7 @@ const ge = /* @__PURE__ */ V({
|
|
|
244
244
|
}, {
|
|
245
245
|
default: f(() => [N(l(t(J)(e)), 1)]),
|
|
246
246
|
_: 2
|
|
247
|
-
}, 1032, ["type", "loading", "disabled", "onClick"]),
|
|
247
|
+
}, 1032, ["type", "loading", "disabled", "onClick"]), r[1] || (r[1] = n("div", {
|
|
248
248
|
class: "PricingPlans__divider"
|
|
249
249
|
}, null, -1)), n("div", xe, [(i(!0), s(P, null, g(t(S)(e.features), (u) => (i(), s("section", {
|
|
250
250
|
key: u.title,
|
|
@@ -259,7 +259,7 @@ const ge = /* @__PURE__ */ V({
|
|
|
259
259
|
}, 8, ["loading"])), [[d]])]);
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
|
-
}), We = /* @__PURE__ */ z(Qe, [["__scopeId", "data-v-
|
|
262
|
+
}), We = /* @__PURE__ */ z(Qe, [["__scopeId", "data-v-da05021f"]]);
|
|
263
263
|
export {
|
|
264
264
|
Ue as P,
|
|
265
265
|
We as a
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import { U as P } from "./index-D3Kp6R4z.js";
|
|
4
4
|
import { defineComponent as w, ref as d, openBlock as p, createBlock as v, unref as a, withCtx as g, createElementVNode as n, toDisplayString as _, createCommentVNode as z, createVNode as A, createTextVNode as U } from "vue";
|
|
5
5
|
import { Modal as D } from "@arco-design/web-vue";
|
|
6
|
-
import { e as T } from "./apiClients-
|
|
7
|
-
import { u as V } from "./useTableHandle-
|
|
6
|
+
import { e as T } from "./apiClients-B8bOvWw_.js";
|
|
7
|
+
import { u as V } from "./useTableHandle-B9aFmwYM.js";
|
|
8
8
|
import { C as y } from "./CustomTable-BUkwlbzN.js";
|
|
9
|
-
import { C as E } from "./Clipboard-
|
|
10
|
-
import { u as M } from "./useAuthkitUsersProfile-
|
|
9
|
+
import { C as E } from "./Clipboard-k0jtK4CJ.js";
|
|
10
|
+
import { u as M } from "./useAuthkitUsersProfile-CoQceogN.js";
|
|
11
11
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const H = {
|
|
13
13
|
class: "invite-code-section"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { defineComponent as g, openBlock as F, createBlock as h, unref as q, mergeProps as y, createSlots as I, withCtx as p, renderSlot as u } from "vue";
|
|
8
8
|
import { Upload as S } from "@arco-design/web-vue";
|
|
9
|
-
import { u as _ } from "./useUploadCos-
|
|
9
|
+
import { u as _ } from "./useUploadCos-DTMIoW7p.js";
|
|
10
10
|
const N = /* @__PURE__ */ g({
|
|
11
11
|
__name: "Upload",
|
|
12
12
|
props: {
|
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { defineComponent as d, openBlock as a, createElementBlock as l, toDisplayString as g, createCommentVNode as b, createVNode as f, unref as s, createBlock as _, withCtx as U, createTextVNode as B, createElementVNode as u, ref as S, computed as A, onMounted as G, Fragment as F, renderSlot as C, normalizeClass as J, watch as x } from "vue";
|
|
5
5
|
import { Avatar as L, Button as R, Dropdown as K } from "@arco-design/web-vue";
|
|
6
|
-
import { u as N } from "./useAuthkitUsersProfile-
|
|
6
|
+
import { u as N } from "./useAuthkitUsersProfile-CoQceogN.js";
|
|
7
7
|
import { u as k } from "./useUserMenu-ClPBlvaM.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { u as Q, f as W } from "./apiClients-
|
|
12
|
-
import { u as Z,
|
|
13
|
-
import { C as
|
|
14
|
-
import { A as
|
|
15
|
-
import { d as
|
|
16
|
-
import { M as
|
|
17
|
-
import { R as
|
|
11
|
+
import { u as Q, f as W } from "./apiClients-B8bOvWw_.js";
|
|
12
|
+
import { u as Z, o as ee, P as ne } from "./PaySubscriptions-DS4kJNb_.js";
|
|
13
|
+
import { C as te } from "./Clipboard-k0jtK4CJ.js";
|
|
14
|
+
import { A as se } from "./AuthkitAppSetting-p_ZzaAK3.js";
|
|
15
|
+
import { d as ae } from "./FeedbackModal-9CNnFC6B.js";
|
|
16
|
+
import { M as re } from "./MessageHandle-BZBT7Ii1.js";
|
|
17
|
+
import { R as oe } from "./ReferrerReferees-DhS91Ulf.js";
|
|
18
18
|
import { Icon as j } from "@iconify/vue";
|
|
19
|
-
const
|
|
19
|
+
const ie = {
|
|
20
20
|
class: "UserAvatar"
|
|
21
|
-
},
|
|
21
|
+
}, ce = {
|
|
22
22
|
key: 0,
|
|
23
23
|
class: "UserAvatar__nickname"
|
|
24
|
-
},
|
|
24
|
+
}, ue = /* @__PURE__ */ d({
|
|
25
25
|
__name: "UserAvatar",
|
|
26
26
|
props: {
|
|
27
27
|
nickname: {
|
|
@@ -32,13 +32,13 @@ const oe = {
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
setup(e) {
|
|
35
|
-
return (n, r) => (a(), l("div",
|
|
35
|
+
return (n, r) => (a(), l("div", ie, [e.nickname ? (a(), l("span", ce, g(e.nickname), 1)) : b("", !0), f(s(L), {
|
|
36
36
|
"image-url": e.avatar,
|
|
37
37
|
size: 32,
|
|
38
38
|
"object-fit": "cover"
|
|
39
39
|
}, null, 8, ["image-url"])]));
|
|
40
40
|
}
|
|
41
|
-
}),
|
|
41
|
+
}), le = /* @__PURE__ */ M(ue, [["__scopeId", "data-v-cda7eee7"]]), de = /* @__PURE__ */ d({
|
|
42
42
|
__name: "UserSignInButton",
|
|
43
43
|
setup(e) {
|
|
44
44
|
const {
|
|
@@ -53,25 +53,25 @@ const oe = {
|
|
|
53
53
|
_: 1
|
|
54
54
|
}));
|
|
55
55
|
}
|
|
56
|
-
}),
|
|
56
|
+
}), pe = /* @__PURE__ */ M(de, [["__scopeId", "data-v-449a105c"]]), fe = {}, me = {
|
|
57
57
|
class: "UserMenuDivider",
|
|
58
58
|
role: "separator"
|
|
59
59
|
};
|
|
60
|
-
function
|
|
61
|
-
return a(), l("div",
|
|
60
|
+
function _e(e, n) {
|
|
61
|
+
return a(), l("div", me);
|
|
62
62
|
}
|
|
63
|
-
const
|
|
63
|
+
const ve = /* @__PURE__ */ M(fe, [["render", _e], ["__scopeId", "data-v-c7d18d97"]]), ge = {
|
|
64
64
|
class: "UserBasicInformation"
|
|
65
|
-
}, ge = {
|
|
66
|
-
class: "UserBasicInformation__extra"
|
|
67
65
|
}, be = {
|
|
68
|
-
class: "
|
|
66
|
+
class: "UserBasicInformation__extra"
|
|
69
67
|
}, Ue = {
|
|
70
|
-
class: "
|
|
68
|
+
class: "UserBasicInformation__nickname"
|
|
71
69
|
}, ke = {
|
|
70
|
+
class: "UserBasicInformation__email"
|
|
71
|
+
}, ye = {
|
|
72
72
|
key: 0,
|
|
73
73
|
class: "UserBasicInformation__referrer"
|
|
74
|
-
},
|
|
74
|
+
}, Ie = /* @__PURE__ */ d({
|
|
75
75
|
__name: "UserBasicInformation",
|
|
76
76
|
props: {
|
|
77
77
|
nickname: {
|
|
@@ -88,31 +88,31 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
setup(e) {
|
|
91
|
-
return (n, r) => (a(), l("div",
|
|
91
|
+
return (n, r) => (a(), l("div", ge, [f(s(L), {
|
|
92
92
|
"image-url": e.avatarUrl,
|
|
93
93
|
size: 42,
|
|
94
94
|
"object-fit": "cover"
|
|
95
|
-
}, null, 8, ["image-url"]), u("div",
|
|
95
|
+
}, null, 8, ["image-url"]), u("div", be, [u("span", Ue, g(e.nickname), 1), u("span", ke, g(e.email), 1), e.referrerId ? (a(), l("span", ye, [u("span", null, "我的邀请码:" + g(e.referrerId), 1), f(te, {
|
|
96
96
|
value: e.referrerId,
|
|
97
97
|
message: "邀请码复制成功"
|
|
98
98
|
}, null, 8, ["value"])])) : b("", !0)])]));
|
|
99
99
|
}
|
|
100
|
-
}),
|
|
100
|
+
}), $e = /* @__PURE__ */ M(Ie, [["__scopeId", "data-v-cc49789c"]]), Be = {
|
|
101
101
|
class: "UserSubscriptionBaseInformation"
|
|
102
|
-
}, Be = {
|
|
103
|
-
class: "UserSubscriptionBaseInformation__row"
|
|
104
102
|
}, Me = {
|
|
105
|
-
class: "
|
|
103
|
+
class: "UserSubscriptionBaseInformation__row"
|
|
106
104
|
}, he = {
|
|
107
|
-
class: "
|
|
105
|
+
class: "UserSubscriptionBaseInformation__info"
|
|
108
106
|
}, Se = {
|
|
109
|
-
|
|
107
|
+
class: "UserSubscriptionBaseInformation__plan"
|
|
110
108
|
}, Ae = {
|
|
111
|
-
key:
|
|
109
|
+
key: 0
|
|
112
110
|
}, Ce = {
|
|
111
|
+
key: 1
|
|
112
|
+
}, xe = {
|
|
113
113
|
key: 2,
|
|
114
114
|
class: "UserSubscriptionBaseInformation__pending"
|
|
115
|
-
},
|
|
115
|
+
}, we = /* @__PURE__ */ d({
|
|
116
116
|
__name: "UserSubscriptionBaseInformation",
|
|
117
117
|
props: {
|
|
118
118
|
currentVersionName: {
|
|
@@ -140,9 +140,9 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
140
140
|
emit: n
|
|
141
141
|
}) {
|
|
142
142
|
const r = n;
|
|
143
|
-
return (t, o) => (a(), l("div",
|
|
143
|
+
return (t, o) => (a(), l("div", Be, [u("div", Me, [u("div", he, [o[2] || (o[2] = u("span", {
|
|
144
144
|
class: "UserSubscriptionBaseInformation__label"
|
|
145
|
-
}, "当前权益:", -1)), u("span",
|
|
145
|
+
}, "当前权益:", -1)), u("span", Se, g(e.currentVersionName), 1)]), e.canUpgrade ? (a(), _(s(R), {
|
|
146
146
|
key: 0,
|
|
147
147
|
type: "primary",
|
|
148
148
|
size: "mini",
|
|
@@ -152,7 +152,7 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
152
152
|
}, {
|
|
153
153
|
default: U(() => [B(g(e.actionLabel), 1)]),
|
|
154
154
|
_: 1
|
|
155
|
-
}, 8, ["loading"])) : b("", !0)]), e.expireDate ? (a(), l("span",
|
|
155
|
+
}, 8, ["loading"])) : b("", !0)]), e.expireDate ? (a(), l("span", Ae, "有效期至: " + g(e.expireDate), 1)) : b("", !0), typeof e.pointsBalance == "number" ? (a(), l("span", Ce, "积分余额: " + g(e.pointsBalance), 1)) : b("", !0), typeof e.pendingInvoiceTotal == "number" && e.pendingInvoiceTotal > 0 ? (a(), l("div", xe, [o[4] || (o[4] = u("span", {
|
|
156
156
|
class: "UserSubscriptionBaseInformation__warning"
|
|
157
157
|
}, " 有待支付账单 ", -1)), f(s(R), {
|
|
158
158
|
type: "primary",
|
|
@@ -166,7 +166,7 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
166
166
|
_: 1
|
|
167
167
|
}, 8, ["loading"])])) : b("", !0)]));
|
|
168
168
|
}
|
|
169
|
-
}),
|
|
169
|
+
}), Pe = /* @__PURE__ */ M(we, [["__scopeId", "data-v-918efa0e"]]), De = /* @__PURE__ */ d({
|
|
170
170
|
__name: "UserMenuHeader",
|
|
171
171
|
props: {
|
|
172
172
|
showSubscription: {
|
|
@@ -195,18 +195,18 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
195
195
|
pendingInvoice: i,
|
|
196
196
|
loading: v,
|
|
197
197
|
refresh: y
|
|
198
|
-
} = Z(), h = S(0), I = A(() => o.value),
|
|
198
|
+
} = Z(), h = S(0), I = A(() => o.value), P = A(() => {
|
|
199
199
|
var m, $;
|
|
200
200
|
return n.currentVersionName ? n.currentVersionName : ((m = I.value) == null ? void 0 : m.type) === "trial" ? "免费试用" : (($ = I.value) == null ? void 0 : $.productName) || "未订阅";
|
|
201
201
|
}), c = A(() => {
|
|
202
202
|
var m;
|
|
203
203
|
return n.expireDate || ((m = I.value) == null ? void 0 : m.endAt) || "";
|
|
204
|
-
}),
|
|
204
|
+
}), D = A(() => {
|
|
205
205
|
var m, $;
|
|
206
206
|
return ((m = I.value) == null ? void 0 : m.type) === "trial" ? h.value > 0 ? "升级" : "" : (($ = I.value) == null ? void 0 : $.type) === "subscription" ? h.value > 1 ? "修改订阅" : "" : h.value > 0 ? "订阅" : "";
|
|
207
|
-
}), X = A(() => n.canUpgrade && !!
|
|
207
|
+
}), X = A(() => n.canUpgrade && !!D.value);
|
|
208
208
|
function Y() {
|
|
209
|
-
|
|
209
|
+
ee();
|
|
210
210
|
}
|
|
211
211
|
async function q() {
|
|
212
212
|
const {
|
|
@@ -218,32 +218,32 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
218
218
|
n.showSubscription && (y(), q());
|
|
219
219
|
}), (m, $) => {
|
|
220
220
|
var V, H, O, T, z, E;
|
|
221
|
-
return a(), l(F, null, [f(
|
|
221
|
+
return a(), l(F, null, [f($e, {
|
|
222
222
|
"avatar-url": (V = s(r)) == null ? void 0 : V.avatarUrl,
|
|
223
223
|
nickname: (H = s(r)) == null ? void 0 : H.nickname,
|
|
224
224
|
email: (O = s(r)) == null ? void 0 : O.email,
|
|
225
225
|
"referrer-id": (T = s(r)) == null ? void 0 : T.referrerId
|
|
226
|
-
}, null, 8, ["avatar-url", "nickname", "email", "referrer-id"]), e.showSubscription ? (a(), _(
|
|
226
|
+
}, null, 8, ["avatar-url", "nickname", "email", "referrer-id"]), e.showSubscription ? (a(), _(Pe, {
|
|
227
227
|
key: 0,
|
|
228
|
-
"current-version-name":
|
|
228
|
+
"current-version-name": P.value,
|
|
229
229
|
"expire-date": c.value,
|
|
230
230
|
"points-balance": (z = s(p)) == null ? void 0 : z.totalPoints,
|
|
231
231
|
"pending-invoice-total": (E = s(i)) == null ? void 0 : E.total,
|
|
232
232
|
loading: s(v),
|
|
233
233
|
"can-upgrade": X.value,
|
|
234
|
-
"action-label":
|
|
234
|
+
"action-label": D.value,
|
|
235
235
|
onUpgradeHandle: Y,
|
|
236
|
-
onPayHandle: $[0] || ($[0] = (
|
|
236
|
+
onPayHandle: $[0] || ($[0] = (qe) => s(t)({
|
|
237
237
|
target: "invoices"
|
|
238
238
|
}))
|
|
239
239
|
}, null, 8, ["current-version-name", "expire-date", "points-balance", "pending-invoice-total", "loading", "can-upgrade", "action-label"])) : b("", !0)], 64);
|
|
240
240
|
};
|
|
241
241
|
}
|
|
242
|
-
}),
|
|
242
|
+
}), Re = {
|
|
243
243
|
class: "UserMenu__content"
|
|
244
|
-
},
|
|
244
|
+
}, Ne = {
|
|
245
245
|
class: "UserMenu__header"
|
|
246
|
-
},
|
|
246
|
+
}, Ve = /* @__PURE__ */ d({
|
|
247
247
|
__name: "UserMenu",
|
|
248
248
|
props: {
|
|
249
249
|
position: {
|
|
@@ -279,30 +279,30 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
279
279
|
"--user-menu-translate-y": e.dropdownOffsetY ?? "0"
|
|
280
280
|
}
|
|
281
281
|
}, {
|
|
282
|
-
content: U(() => [u("div",
|
|
282
|
+
content: U(() => [u("div", Re, [u("div", Ne, [C(i.$slots, "header", {
|
|
283
283
|
user: s(n)
|
|
284
|
-
}, () => [f(De)], !0)]), i.$slots.items ? (a(), _(
|
|
284
|
+
}, () => [f(De)], !0)]), i.$slots.items ? (a(), _(ve, {
|
|
285
285
|
key: 0
|
|
286
286
|
})) : b("", !0), C(i.$slots, "items", {}, void 0, !0)])]),
|
|
287
287
|
default: U(() => [C(i.$slots, "trigger", {
|
|
288
288
|
user: s(n)
|
|
289
289
|
}, () => {
|
|
290
290
|
var y;
|
|
291
|
-
return [f(
|
|
291
|
+
return [f(le, {
|
|
292
292
|
avatar: (y = s(n)) == null ? void 0 : y.avatarUrl
|
|
293
293
|
}, null, 8, ["avatar"])];
|
|
294
294
|
}, !0)]),
|
|
295
295
|
_: 3
|
|
296
|
-
}, 8, ["popup-visible", "position", "popup-style"])) : (a(), _(
|
|
296
|
+
}, 8, ["popup-visible", "position", "popup-style"])) : (a(), _(pe, {
|
|
297
297
|
key: 0
|
|
298
298
|
}));
|
|
299
299
|
}
|
|
300
|
-
}),
|
|
300
|
+
}), fn = /* @__PURE__ */ M(Ve, [["__scopeId", "data-v-bbd2c44f"]]), He = ["disabled"], Oe = {
|
|
301
301
|
class: "UserMenuItem__label"
|
|
302
|
-
},
|
|
302
|
+
}, Te = {
|
|
303
303
|
key: 0,
|
|
304
304
|
class: "UserMenuItem__icon"
|
|
305
|
-
},
|
|
305
|
+
}, ze = /* @__PURE__ */ d({
|
|
306
306
|
__name: "UserMenuItem",
|
|
307
307
|
props: {
|
|
308
308
|
icon: {
|
|
@@ -339,14 +339,14 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
339
339
|
}]),
|
|
340
340
|
disabled: e.disabled,
|
|
341
341
|
onClick: p
|
|
342
|
-
}, [u("span",
|
|
342
|
+
}, [u("span", Oe, [C(i.$slots, "default", {}, void 0, !0)]), i.$slots.icon || e.icon ? (a(), l("span", Te, [C(i.$slots, "icon", {}, () => [e.icon ? (a(), _(s(j), {
|
|
343
343
|
key: 0,
|
|
344
344
|
icon: e.icon,
|
|
345
345
|
width: 16,
|
|
346
346
|
height: 16
|
|
347
|
-
}, null, 8, ["icon"])) : b("", !0)], !0)])) : b("", !0)], 10,
|
|
347
|
+
}, null, 8, ["icon"])) : b("", !0)], !0)])) : b("", !0)], 10, He));
|
|
348
348
|
}
|
|
349
|
-
}), w = /* @__PURE__ */ M(
|
|
349
|
+
}), w = /* @__PURE__ */ M(ze, [["__scopeId", "data-v-d357ac04"]]), mn = /* @__PURE__ */ d({
|
|
350
350
|
__name: "UserMenuModals",
|
|
351
351
|
setup(e) {
|
|
352
352
|
const {
|
|
@@ -356,7 +356,7 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
356
356
|
messagesTrigger: o,
|
|
357
357
|
feedbackTrigger: p,
|
|
358
358
|
invitationsTrigger: i
|
|
359
|
-
} = k(), v = S(null), y = S(null), h = S(null), I = S(null),
|
|
359
|
+
} = k(), v = S(null), y = S(null), h = S(null), I = S(null), P = S(null);
|
|
360
360
|
return x(n, () => {
|
|
361
361
|
var c;
|
|
362
362
|
(c = v.value) == null || c.setData(null, !0);
|
|
@@ -371,35 +371,35 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
371
371
|
(c = I.value) == null || c.setData(!0);
|
|
372
372
|
}), x(i, () => {
|
|
373
373
|
var c;
|
|
374
|
-
(c =
|
|
375
|
-
}), (c,
|
|
374
|
+
(c = P.value) == null || c.setData(!0);
|
|
375
|
+
}), (c, D) => (a(), l(F, null, [f(se, {
|
|
376
376
|
ref_key: "appSettingRef",
|
|
377
377
|
ref: v
|
|
378
|
-
}, null, 512), f(
|
|
378
|
+
}, null, 512), f(ne, {
|
|
379
379
|
ref_key: "paySubsRef",
|
|
380
380
|
ref: y
|
|
381
|
-
}, null, 512), f(
|
|
381
|
+
}, null, 512), f(re, {
|
|
382
382
|
ref_key: "messageHandleRef",
|
|
383
383
|
ref: h
|
|
384
|
-
}, null, 512), f(
|
|
384
|
+
}, null, 512), f(ae, {
|
|
385
385
|
ref_key: "feedbackModalRef",
|
|
386
386
|
ref: I
|
|
387
|
-
}, null, 512), f(
|
|
387
|
+
}, null, 512), f(oe, {
|
|
388
388
|
ref_key: "refereesRef",
|
|
389
|
-
ref:
|
|
389
|
+
ref: P
|
|
390
390
|
}, null, 512)], 64));
|
|
391
391
|
}
|
|
392
|
-
}),
|
|
392
|
+
}), Ee = {
|
|
393
393
|
class: "UserAccountMenu"
|
|
394
|
-
}, Ee = {
|
|
395
|
-
class: "UserAccountMenu__avatar"
|
|
396
394
|
}, Fe = {
|
|
397
|
-
class: "
|
|
395
|
+
class: "UserAccountMenu__avatar"
|
|
398
396
|
}, Le = {
|
|
399
|
-
class: "
|
|
397
|
+
class: "UserAccountMenu__meta"
|
|
400
398
|
}, je = {
|
|
399
|
+
class: "UserAccountMenu__name"
|
|
400
|
+
}, Xe = {
|
|
401
401
|
class: "UserAccountMenu__email"
|
|
402
|
-
},
|
|
402
|
+
}, Ye = /* @__PURE__ */ d({
|
|
403
403
|
__name: "UserAccountMenu",
|
|
404
404
|
setup(e) {
|
|
405
405
|
const {
|
|
@@ -409,7 +409,7 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
409
409
|
} = k();
|
|
410
410
|
return (t, o) => {
|
|
411
411
|
var p, i;
|
|
412
|
-
return a(), l("div",
|
|
412
|
+
return a(), l("div", Ee, [u("div", Fe, [C(t.$slots, "avatar", {}, void 0, !0)]), u("div", Le, [u("div", je, g(((p = s(n)) == null ? void 0 : p.nickname) || ""), 1), u("div", Xe, g(((i = s(n)) == null ? void 0 : i.email) || ""), 1)]), u("div", {
|
|
413
413
|
class: "UserAccountMenu__arrow",
|
|
414
414
|
onClick: o[0] || (o[0] = //@ts-ignore
|
|
415
415
|
(...v) => s(r) && s(r)(...v))
|
|
@@ -418,7 +418,7 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
418
418
|
})])]);
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
|
-
}),
|
|
421
|
+
}), _n = /* @__PURE__ */ M(Ye, [["__scopeId", "data-v-cc0eb033"]]), vn = /* @__PURE__ */ d({
|
|
422
422
|
__name: "UserMenuMessageItem",
|
|
423
423
|
setup(e) {
|
|
424
424
|
const {
|
|
@@ -432,7 +432,7 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
432
432
|
_: 1
|
|
433
433
|
}, 8, ["onClick"]));
|
|
434
434
|
}
|
|
435
|
-
}),
|
|
435
|
+
}), gn = /* @__PURE__ */ d({
|
|
436
436
|
__name: "UserMenuSettingItem",
|
|
437
437
|
setup(e) {
|
|
438
438
|
const {
|
|
@@ -446,7 +446,7 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
446
446
|
_: 1
|
|
447
447
|
}, 8, ["onClick"]));
|
|
448
448
|
}
|
|
449
|
-
}),
|
|
449
|
+
}), bn = /* @__PURE__ */ d({
|
|
450
450
|
__name: "UserMenuSubscriptionItem",
|
|
451
451
|
setup(e) {
|
|
452
452
|
const {
|
|
@@ -460,7 +460,7 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
460
460
|
_: 1
|
|
461
461
|
}));
|
|
462
462
|
}
|
|
463
|
-
}),
|
|
463
|
+
}), Un = /* @__PURE__ */ d({
|
|
464
464
|
__name: "UserMenuFeedbackItem",
|
|
465
465
|
setup(e) {
|
|
466
466
|
const {
|
|
@@ -474,7 +474,7 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
474
474
|
_: 1
|
|
475
475
|
}, 8, ["onClick"]));
|
|
476
476
|
}
|
|
477
|
-
}),
|
|
477
|
+
}), kn = /* @__PURE__ */ d({
|
|
478
478
|
__name: "UserMenuInvitationsItem",
|
|
479
479
|
setup(e) {
|
|
480
480
|
const {
|
|
@@ -490,19 +490,19 @@ const _e = /* @__PURE__ */ M(pe, [["render", me], ["__scopeId", "data-v-c7d18d97
|
|
|
490
490
|
}
|
|
491
491
|
});
|
|
492
492
|
export {
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
493
|
+
_n as U,
|
|
494
|
+
Un as _,
|
|
495
|
+
le as a,
|
|
496
|
+
$e as b,
|
|
497
|
+
fn as c,
|
|
498
|
+
ve as d,
|
|
499
499
|
De as e,
|
|
500
|
-
|
|
500
|
+
kn as f,
|
|
501
501
|
w as g,
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
502
|
+
vn as h,
|
|
503
|
+
mn as i,
|
|
504
|
+
gn as j,
|
|
505
|
+
bn as k,
|
|
506
|
+
pe as l,
|
|
507
|
+
Pe as m
|
|
508
508
|
};
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import "./index-D3Kp6R4z.js";
|
|
3
3
|
import { defineComponent as P, ref as U, watch as V, openBlock as t, createElementBlock as n, createElementVNode as s, createVNode as o, unref as u, withCtx as x, createTextVNode as H, renderSlot as N, toDisplayString as I, createCommentVNode as M, onMounted as j, onUnmounted as he, normalizeClass as S, Fragment as L, renderList as E, createBlock as pe, computed as B, onBeforeUnmount as fe, normalizeStyle as W } from "vue";
|
|
4
4
|
import { Spin as q } from "@arco-design/web-vue";
|
|
5
|
-
import { u as F } from "./useAuthkitAuth-
|
|
6
|
-
import { d as _e, b as ve, a as ge } from "./apiClients-
|
|
7
|
-
import { u as D } from "./useAuthkitAppsAuthPageInfo-
|
|
8
|
-
import { u as J } from "./useAuthkitUsersProfile-
|
|
9
|
-
import { b as Q, f as X, w as G, a as Y, c as Z, d as ee, e as ye } from "./useSEO-
|
|
10
|
-
import "./useUploadCos-
|
|
5
|
+
import { u as F } from "./useAuthkitAuth-Bj8XxPtO.js";
|
|
6
|
+
import { d as _e, b as ve, a as ge } from "./apiClients-B8bOvWw_.js";
|
|
7
|
+
import { u as D } from "./useAuthkitAppsAuthPageInfo-6ncIP9RT.js";
|
|
8
|
+
import { u as J } from "./useAuthkitUsersProfile-CoQceogN.js";
|
|
9
|
+
import { b as Q, f as X, w as G, a as Y, c as Z, d as ee, e as ye } from "./useSEO-DU86KCMJ.js";
|
|
10
|
+
import "./useUploadCos-DTMIoW7p.js";
|
|
11
11
|
import { useRouter as te, useRoute as ne } from "vue-router";
|
|
12
12
|
import "./useUserMenu-ClPBlvaM.js";
|
|
13
|
-
import { U as ke, c as oe, h as se, k as ae, _ as re, f as ie, j as ue, d as le, g as K, i as ce } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { U as ke, c as oe, h as se, k as ae, _ as re, f as ie, j as ue, d as le, g as K, i as ce } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-9cF5hBYc.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { Icon as R } from "@iconify/vue";
|
|
16
|
-
import "./Clipboard-
|
|
16
|
+
import "./Clipboard-k0jtK4CJ.js";
|
|
17
17
|
/* empty css */
|
|
18
18
|
import { M as be } from "./Menu-Cy2ZPeaz.js";
|
|
19
19
|
import "./CollapseItem-DUzZA6tx.js";
|