@huyooo/ui 0.4.25 → 0.4.26
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/{ReferrerReferees--Nqx-Llc.js → ReferrerReferees-BSDBIeoR.js} +19 -19
- package/dist/{UserPanel-CyUzPZw9.js → UserPanel-BdPRqGuj.js} +119 -111
- package/dist/common.js +2 -2
- package/dist/components/User/UserBasicInformation.vue.d.ts +9 -0
- package/dist/composables/Authkit/useAuthkitUsersProfile.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/user.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { defineComponent as V, ref as k, createBlock as v, openBlock as g, unref as e, withCtx as
|
|
5
|
+
import { defineComponent as V, ref as k, createBlock as v, openBlock as g, unref as e, withCtx as o, createElementVNode as i, createVNode as N, createCommentVNode as S, toDisplayString as n, createTextVNode as h } from "vue";
|
|
6
6
|
import { Modal as B, Tag as O } from "@arco-design/web-vue";
|
|
7
7
|
import { api as q } from "@huyooo/api";
|
|
8
8
|
import { u as E } from "./useTableHandle-DKUIdSSh.js";
|
|
@@ -45,7 +45,7 @@ const P = [{
|
|
|
45
45
|
emit: R
|
|
46
46
|
}) {
|
|
47
47
|
const z = d, A = R, {
|
|
48
|
-
pagination:
|
|
48
|
+
pagination: r,
|
|
49
49
|
dataSource: I,
|
|
50
50
|
setPage: _
|
|
51
51
|
} = E("被邀请人"), {
|
|
@@ -88,21 +88,21 @@ const P = [{
|
|
|
88
88
|
}], l = k(!1);
|
|
89
89
|
function m() {
|
|
90
90
|
l.value = !0, F(z.prefixUrl, {
|
|
91
|
-
current:
|
|
92
|
-
pageSize:
|
|
91
|
+
current: r.value.current,
|
|
92
|
+
pageSize: r.value.pageSize
|
|
93
93
|
}).then(({
|
|
94
94
|
data: a
|
|
95
95
|
}) => {
|
|
96
|
-
l.value = !1, I.value = a.items,
|
|
96
|
+
l.value = !1, I.value = a.items, r.value.total = a.count;
|
|
97
97
|
}).catch(() => {
|
|
98
98
|
l.value = !1;
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
function w(a) {
|
|
102
|
-
_(a,
|
|
102
|
+
_(a, r.value.pageSize), m();
|
|
103
103
|
}
|
|
104
104
|
function D(a) {
|
|
105
|
-
_(
|
|
105
|
+
_(r.value.current, a), m();
|
|
106
106
|
}
|
|
107
107
|
const s = k(!1);
|
|
108
108
|
function T() {
|
|
@@ -124,43 +124,43 @@ const P = [{
|
|
|
124
124
|
"unmount-on-close": "",
|
|
125
125
|
onCancel: T
|
|
126
126
|
}, {
|
|
127
|
-
default:
|
|
127
|
+
default: o(() => {
|
|
128
128
|
var f, b;
|
|
129
|
-
return [
|
|
129
|
+
return [i("div", G, [u[1] || (u[1] = i("div", {
|
|
130
130
|
class: "invite-code-label"
|
|
131
|
-
}, "我的邀请码:", -1)),
|
|
131
|
+
}, "我的邀请码:", -1)), i("div", J, [i("span", null, n(((f = e(c)) == null ? void 0 : f.referrerId) || "-"), 1), (b = e(c)) != null && b.referrerId ? (g(), v(y, {
|
|
132
132
|
key: 0,
|
|
133
|
-
value: e(c).
|
|
133
|
+
value: e(c).referrerId,
|
|
134
134
|
message: "邀请码复制成功"
|
|
135
135
|
}, null, 8, ["value"])) : S("", !0)])]), N(H, {
|
|
136
136
|
columns: W,
|
|
137
137
|
data: e(I),
|
|
138
138
|
loading: l.value,
|
|
139
|
-
pagination: e(
|
|
139
|
+
pagination: e(r),
|
|
140
140
|
onPageChange: w,
|
|
141
141
|
onPageSizeChange: D
|
|
142
142
|
}, {
|
|
143
|
-
refereeId:
|
|
143
|
+
refereeId: o(({
|
|
144
144
|
record: t
|
|
145
|
-
}) => [
|
|
145
|
+
}) => [i("div", K, [i("span", null, n(t.refereeInfo.id || "-"), 1), t.refereeInfo.id ? (g(), v(y, {
|
|
146
146
|
key: 0,
|
|
147
147
|
value: t.refereeInfo.id,
|
|
148
148
|
message: "被邀请人ID复制成功"
|
|
149
149
|
}, null, 8, ["value"])) : S("", !0)])]),
|
|
150
|
-
email:
|
|
150
|
+
email: o(({
|
|
151
151
|
record: t
|
|
152
152
|
}) => [h(n(t.refereeInfo.email || "-"), 1)]),
|
|
153
|
-
phone:
|
|
153
|
+
phone: o(({
|
|
154
154
|
record: t
|
|
155
155
|
}) => [h(n(t.refereeInfo.phone || "-"), 1)]),
|
|
156
|
-
status:
|
|
156
|
+
status: o(({
|
|
157
157
|
record: t
|
|
158
158
|
}) => {
|
|
159
159
|
var x;
|
|
160
160
|
return [N(e(O), {
|
|
161
161
|
color: (x = e(L)(e(P), t.refereeInfo.status)) == null ? void 0 : x.color
|
|
162
162
|
}, {
|
|
163
|
-
default:
|
|
163
|
+
default: o(() => {
|
|
164
164
|
var C;
|
|
165
165
|
return [h(n((C = e(M)(e(P), t.refereeInfo.status)) == null ? void 0 : C.label), 1)];
|
|
166
166
|
}),
|
|
@@ -173,7 +173,7 @@ const P = [{
|
|
|
173
173
|
_: 1
|
|
174
174
|
}, 8, ["visible", "ok-loading"]));
|
|
175
175
|
}
|
|
176
|
-
}), ue = /* @__PURE__ */ j(Q, [["__scopeId", "data-v-
|
|
176
|
+
}), ue = /* @__PURE__ */ j(Q, [["__scopeId", "data-v-33f3e4fb"]]);
|
|
177
177
|
export {
|
|
178
178
|
ue as R
|
|
179
179
|
};
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { defineComponent as _, createElementBlock as
|
|
6
|
-
import { Tag as Ce, Button as q, Avatar as E, Dropdown as
|
|
7
|
-
import { S as
|
|
8
|
-
import { R as
|
|
5
|
+
import { defineComponent as _, createElementBlock as k, openBlock as l, normalizeStyle as V, normalizeClass as O, createElementVNode as d, computed as D, createBlock as y, createCommentVNode as M, createVNode as i, unref as t, withCtx as s, createTextVNode as f, toDisplayString as C, renderSlot as Se, ref as p, Fragment as be } from "vue";
|
|
6
|
+
import { Tag as Ce, Button as q, Avatar as E, Dropdown as Ie, Divider as K, Doption as g } from "@arco-design/web-vue";
|
|
7
|
+
import { S as he } from "./PaySubscriptions-BS6gjndk.js";
|
|
8
|
+
import { R as $e } from "./ReferrerReferees-BSDBIeoR.js";
|
|
9
9
|
import { a as T, u as xe } from "./useAuthkitUsersProfile-Diituvy1.js";
|
|
10
10
|
import { a as Ue, u as Pe } from "./useAuthkitProps-CW3Jem_o.js";
|
|
11
11
|
import { u as Be } from "./useUserPanelProps-C5W72fZJ.js";
|
|
@@ -14,9 +14,9 @@ import { d as Me } from "./FeedbackModal-CMmvJOi1.js";
|
|
|
14
14
|
import { M as we } from "./MessageHandle-DN_JsQb2.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
/* empty css */
|
|
17
|
-
import { _ as
|
|
17
|
+
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
/* empty css */
|
|
19
|
-
import { I as
|
|
19
|
+
import { I as P } from "./index-Cr5RQSnA.js";
|
|
20
20
|
import { _ as W, g as G, i as J } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
21
21
|
const Re = _({
|
|
22
22
|
name: "IconExport",
|
|
@@ -47,9 +47,9 @@ const Re = _({
|
|
|
47
47
|
setup(e, {
|
|
48
48
|
emit: n
|
|
49
49
|
}) {
|
|
50
|
-
const
|
|
51
|
-
[`${
|
|
52
|
-
}]), c =
|
|
50
|
+
const r = G("icon"), a = D(() => [r, `${r}-export`, {
|
|
51
|
+
[`${r}-spin`]: e.spin
|
|
52
|
+
}]), c = D(() => {
|
|
53
53
|
const o = {};
|
|
54
54
|
return e.size && (o.fontSize = J(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
|
|
55
55
|
});
|
|
@@ -62,8 +62,8 @@ const Re = _({
|
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
}), ze = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
65
|
-
function Ne(e, n,
|
|
66
|
-
return l(),
|
|
65
|
+
function Ne(e, n, r, a, c, m) {
|
|
66
|
+
return l(), k("svg", {
|
|
67
67
|
viewBox: "0 0 48 48",
|
|
68
68
|
fill: "none",
|
|
69
69
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -78,12 +78,12 @@ function Ne(e, n, i, a, c, m) {
|
|
|
78
78
|
d: "M31.928 33.072 41 24.002l-9.072-9.072M16.858 24h24M31 41H7V7h24"
|
|
79
79
|
}, null, -1)]), 14, ze);
|
|
80
80
|
}
|
|
81
|
-
var
|
|
82
|
-
const Le = Object.assign(
|
|
81
|
+
var R = /* @__PURE__ */ W(Re, [["render", Ne]]);
|
|
82
|
+
const Le = Object.assign(R, {
|
|
83
83
|
install: (e, n) => {
|
|
84
|
-
var
|
|
85
|
-
const a = (
|
|
86
|
-
e.component(a +
|
|
84
|
+
var r;
|
|
85
|
+
const a = (r = n == null ? void 0 : n.iconPrefix) != null ? r : "";
|
|
86
|
+
e.component(a + R.name, R);
|
|
87
87
|
}
|
|
88
88
|
}), je = _({
|
|
89
89
|
name: "IconLaunch",
|
|
@@ -114,9 +114,9 @@ const Le = Object.assign(M, {
|
|
|
114
114
|
setup(e, {
|
|
115
115
|
emit: n
|
|
116
116
|
}) {
|
|
117
|
-
const
|
|
118
|
-
[`${
|
|
119
|
-
}]), c =
|
|
117
|
+
const r = G("icon"), a = D(() => [r, `${r}-launch`, {
|
|
118
|
+
[`${r}-spin`]: e.spin
|
|
119
|
+
}]), c = D(() => {
|
|
120
120
|
const o = {};
|
|
121
121
|
return e.size && (o.fontSize = J(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
|
|
122
122
|
});
|
|
@@ -129,8 +129,8 @@ const Le = Object.assign(M, {
|
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
131
|
}), He = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
132
|
-
function Fe(e, n,
|
|
133
|
-
return l(),
|
|
132
|
+
function Fe(e, n, r, a, c, m) {
|
|
133
|
+
return l(), k("svg", {
|
|
134
134
|
viewBox: "0 0 48 48",
|
|
135
135
|
fill: "none",
|
|
136
136
|
stroke: "currentColor",
|
|
@@ -145,12 +145,12 @@ function Fe(e, n, i, a, c, m) {
|
|
|
145
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
146
|
}, null, -1)]), 14, He);
|
|
147
147
|
}
|
|
148
|
-
var
|
|
149
|
-
const Ve = Object.assign(
|
|
148
|
+
var z = /* @__PURE__ */ W(je, [["render", Fe]]);
|
|
149
|
+
const Ve = Object.assign(z, {
|
|
150
150
|
install: (e, n) => {
|
|
151
|
-
var
|
|
152
|
-
const a = (
|
|
153
|
-
e.component(a +
|
|
151
|
+
var r;
|
|
152
|
+
const a = (r = n == null ? void 0 : n.iconPrefix) != null ? r : "";
|
|
153
|
+
e.component(a + z.name, z);
|
|
154
154
|
}
|
|
155
155
|
}), Oe = {
|
|
156
156
|
class: "pricing"
|
|
@@ -178,19 +178,19 @@ const Ve = Object.assign(w, {
|
|
|
178
178
|
setup(e, {
|
|
179
179
|
emit: n
|
|
180
180
|
}) {
|
|
181
|
-
const
|
|
181
|
+
const r = e, a = n;
|
|
182
182
|
function c() {
|
|
183
183
|
a("upgradeHandle");
|
|
184
184
|
}
|
|
185
|
-
return (m, o) => (l(),
|
|
185
|
+
return (m, o) => (l(), k("div", Oe, [d("div", qe, [d("div", Ee, [o[0] || (o[0] = d("span", null, "我的订阅:", -1)), i(t(Ce), {
|
|
186
186
|
color: "arcoblue",
|
|
187
187
|
style: {
|
|
188
188
|
"border-radius": "6px"
|
|
189
189
|
}
|
|
190
190
|
}, {
|
|
191
|
-
default: s(() => [f(
|
|
191
|
+
default: s(() => [f(C(r.currentVersionName), 1)]),
|
|
192
192
|
_: 1
|
|
193
|
-
})]),
|
|
193
|
+
})]), r.canUpgrade ? (l(), y(t(q), {
|
|
194
194
|
key: 0,
|
|
195
195
|
type: "primary",
|
|
196
196
|
size: "mini",
|
|
@@ -200,9 +200,9 @@ const Ve = Object.assign(w, {
|
|
|
200
200
|
default: s(() => o[1] || (o[1] = [f(" 升级 ")])),
|
|
201
201
|
_: 1,
|
|
202
202
|
__: [1]
|
|
203
|
-
})) :
|
|
203
|
+
})) : M("", !0)]), d("span", null, "有效期至: " + C(r.expireDate), 1)]));
|
|
204
204
|
}
|
|
205
|
-
}), Te = /* @__PURE__ */
|
|
205
|
+
}), Te = /* @__PURE__ */ B(Ke, [["__scopeId", "data-v-1e32fa72"]]), We = {
|
|
206
206
|
class: "userInfo"
|
|
207
207
|
}, Ge = {
|
|
208
208
|
key: 0,
|
|
@@ -221,13 +221,13 @@ const Ve = Object.assign(w, {
|
|
|
221
221
|
},
|
|
222
222
|
setup(e) {
|
|
223
223
|
const n = e;
|
|
224
|
-
return (
|
|
224
|
+
return (r, a) => (l(), k("div", We, [n.nickname ? (l(), k("span", Ge, C(n.nickname), 1)) : M("", !0), i(t(E), {
|
|
225
225
|
"image-url": n.avatar,
|
|
226
226
|
size: 32,
|
|
227
227
|
"object-fit": "cover"
|
|
228
228
|
}, null, 8, ["image-url"])]));
|
|
229
229
|
}
|
|
230
|
-
}), Qe = /* @__PURE__ */
|
|
230
|
+
}), Qe = /* @__PURE__ */ B(Je, [["__scopeId", "data-v-a7a47cc4"]]), Xe = {
|
|
231
231
|
class: "userInfo"
|
|
232
232
|
}, Ye = {
|
|
233
233
|
class: "extra"
|
|
@@ -235,7 +235,10 @@ const Ve = Object.assign(w, {
|
|
|
235
235
|
class: "userName"
|
|
236
236
|
}, et = {
|
|
237
237
|
class: "email"
|
|
238
|
-
}, tt =
|
|
238
|
+
}, tt = {
|
|
239
|
+
key: 0,
|
|
240
|
+
class: "referrerId"
|
|
241
|
+
}, nt = /* @__PURE__ */ _({
|
|
239
242
|
__name: "UserBasicInformation",
|
|
240
243
|
props: {
|
|
241
244
|
nickname: {
|
|
@@ -249,88 +252,93 @@ const Ve = Object.assign(w, {
|
|
|
249
252
|
avatarUrl: {
|
|
250
253
|
type: String,
|
|
251
254
|
default: ""
|
|
255
|
+
},
|
|
256
|
+
referrerId: {
|
|
257
|
+
type: String,
|
|
258
|
+
default: ""
|
|
252
259
|
}
|
|
253
260
|
},
|
|
254
261
|
setup(e) {
|
|
255
262
|
const n = e;
|
|
256
|
-
return (
|
|
263
|
+
return (r, a) => (l(), k("div", Xe, [i(t(E), {
|
|
257
264
|
"image-url": n.avatarUrl,
|
|
258
265
|
size: 42,
|
|
259
266
|
"object-fit": "cover"
|
|
260
|
-
}, null, 8, ["image-url"]), d("div", Ye, [d("span", Ze,
|
|
267
|
+
}, null, 8, ["image-url"]), d("div", Ye, [d("span", Ze, C(n.nickname), 1), d("span", et, C(n.email), 1), n.referrerId ? (l(), k("span", tt, " 邀请码:" + C(n.referrerId), 1)) : M("", !0)])]));
|
|
261
268
|
}
|
|
262
|
-
}),
|
|
269
|
+
}), ot = /* @__PURE__ */ B(nt, [["__scopeId", "data-v-367449da"]]), rt = {
|
|
263
270
|
class: "dropdownContent"
|
|
264
271
|
}, it = {
|
|
265
272
|
class: "header"
|
|
266
|
-
},
|
|
273
|
+
}, at = /* @__PURE__ */ _({
|
|
267
274
|
__name: "UserButton",
|
|
268
275
|
emits: ["enterSystem", "toSignIn"],
|
|
269
276
|
setup(e, {
|
|
270
277
|
emit: n
|
|
271
278
|
}) {
|
|
272
|
-
const
|
|
279
|
+
const r = n, {
|
|
273
280
|
userProfile: a,
|
|
274
281
|
isLoggedIn: c
|
|
275
282
|
} = T();
|
|
276
283
|
function m() {
|
|
277
|
-
|
|
284
|
+
r("toSignIn");
|
|
278
285
|
}
|
|
279
|
-
return (o,
|
|
286
|
+
return (o, I) => t(c) ? (l(), y(t(Ie), {
|
|
280
287
|
key: 1,
|
|
281
288
|
class: "DropdownUserInfo",
|
|
282
289
|
position: "bl"
|
|
283
290
|
}, {
|
|
284
291
|
content: s(() => {
|
|
285
|
-
var
|
|
286
|
-
return [d("div",
|
|
287
|
-
"avatar-url": (
|
|
292
|
+
var v, h, $, x;
|
|
293
|
+
return [d("div", rt, [d("div", it, [i(ot, {
|
|
294
|
+
"avatar-url": (v = t(a)) == null ? void 0 : v.avatarUrl,
|
|
288
295
|
nickname: (h = t(a)) == null ? void 0 : h.nickname,
|
|
289
|
-
email: ($ = t(a)) == null ? void 0 : $.email
|
|
290
|
-
|
|
296
|
+
email: ($ = t(a)) == null ? void 0 : $.email,
|
|
297
|
+
"referrer-id": (x = t(a)) == null ? void 0 : x.referrerId
|
|
298
|
+
}, null, 8, ["avatar-url", "nickname", "email", "referrer-id"]), i(Te, {
|
|
291
299
|
currentVersionName: "免费版本",
|
|
292
300
|
"expire-date": "2025-01-01",
|
|
293
301
|
"can-upgrade": !0
|
|
294
|
-
})]),
|
|
302
|
+
})]), i(t(K), {
|
|
295
303
|
style: {
|
|
296
304
|
margin: "10px 0px"
|
|
297
305
|
}
|
|
298
306
|
}), Se(o.$slots, "DoptionList", {}, void 0, !0)])];
|
|
299
307
|
}),
|
|
300
308
|
default: s(() => {
|
|
301
|
-
var
|
|
302
|
-
return [
|
|
303
|
-
avatar: (
|
|
309
|
+
var v;
|
|
310
|
+
return [i(Qe, {
|
|
311
|
+
avatar: (v = t(a)) == null ? void 0 : v.avatarUrl
|
|
304
312
|
}, null, 8, ["avatar"])];
|
|
305
313
|
}),
|
|
306
314
|
_: 3
|
|
307
|
-
})) : (l(),
|
|
315
|
+
})) : (l(), y(t(q), {
|
|
308
316
|
key: 0,
|
|
309
317
|
type: "primary",
|
|
310
318
|
class: "handle",
|
|
311
319
|
onClick: m
|
|
312
320
|
}, {
|
|
313
|
-
default: s(() =>
|
|
321
|
+
default: s(() => I[0] || (I[0] = [f(" 登陆 ")])),
|
|
314
322
|
_: 1,
|
|
315
323
|
__: [0]
|
|
316
324
|
}));
|
|
317
325
|
}
|
|
318
|
-
}),
|
|
326
|
+
}), st = /* @__PURE__ */ B(at, [["__scopeId", "data-v-895035f0"]]), lt = {
|
|
319
327
|
class: "UserPanel"
|
|
320
|
-
},
|
|
328
|
+
}, ut = /* @__PURE__ */ _({
|
|
321
329
|
__name: "UserPanel",
|
|
322
330
|
emits: ["toHomePage", "signOut"],
|
|
323
331
|
setup(e, {
|
|
324
332
|
emit: n
|
|
325
333
|
}) {
|
|
326
|
-
const
|
|
334
|
+
const r = p(), a = p(), c = p(Symbol("key")), m = n, {
|
|
327
335
|
prefixUrl: o,
|
|
328
|
-
bucketId:
|
|
329
|
-
bucket:
|
|
336
|
+
bucketId: I,
|
|
337
|
+
bucket: v,
|
|
330
338
|
region: h,
|
|
331
339
|
appId: $
|
|
332
340
|
} = Be(), {
|
|
333
|
-
fetchUserProfile:
|
|
341
|
+
fetchUserProfile: x,
|
|
334
342
|
clearUserProfile: Q,
|
|
335
343
|
isLoggedIn: S
|
|
336
344
|
} = T(), {
|
|
@@ -338,31 +346,31 @@ const Ve = Object.assign(w, {
|
|
|
338
346
|
initializeAuth: Y,
|
|
339
347
|
clearAuth: Z
|
|
340
348
|
} = xe();
|
|
341
|
-
Y() &&
|
|
349
|
+
Y() && x();
|
|
342
350
|
const N = p(), L = p(Symbol("key")), j = p(), H = p(), ee = p(Symbol("key")), te = p(), ne = p(Symbol("key"));
|
|
343
351
|
function oe(F) {
|
|
344
352
|
}
|
|
345
|
-
function
|
|
353
|
+
function re(F) {
|
|
346
354
|
}
|
|
347
|
-
const
|
|
348
|
-
show:
|
|
355
|
+
const U = Ue(), {
|
|
356
|
+
show: ie
|
|
349
357
|
} = Pe();
|
|
350
|
-
|
|
358
|
+
U.appId.value = $.value, U.prefixUrl.value = o.value, U.bucketId.value = I.value, U.bucket.value = v.value, U.region.value = h.value;
|
|
351
359
|
function ae() {
|
|
352
360
|
L.value = Symbol("key");
|
|
353
361
|
}
|
|
354
|
-
const
|
|
362
|
+
const w = p(), A = p(Symbol("key"));
|
|
355
363
|
function se() {
|
|
356
|
-
|
|
364
|
+
A.value = Symbol("key");
|
|
357
365
|
}
|
|
358
366
|
function le() {
|
|
359
|
-
|
|
367
|
+
A.value = Symbol("key");
|
|
360
368
|
}
|
|
361
369
|
function b() {
|
|
362
|
-
|
|
370
|
+
ie.value = !0;
|
|
363
371
|
}
|
|
364
372
|
X(() => {
|
|
365
|
-
|
|
373
|
+
x();
|
|
366
374
|
});
|
|
367
375
|
function ue() {
|
|
368
376
|
c.value = Symbol("key");
|
|
@@ -371,17 +379,17 @@ const Ve = Object.assign(w, {
|
|
|
371
379
|
a.value.show = !1;
|
|
372
380
|
}
|
|
373
381
|
function pe() {
|
|
374
|
-
|
|
382
|
+
A.value = Symbol("key");
|
|
375
383
|
}
|
|
376
384
|
function de() {
|
|
377
|
-
|
|
385
|
+
w.value.setData(null, !0);
|
|
378
386
|
}
|
|
379
387
|
function fe() {
|
|
380
388
|
if (!S.value) {
|
|
381
389
|
b();
|
|
382
390
|
return;
|
|
383
391
|
}
|
|
384
|
-
|
|
392
|
+
w.value.setData(null, !0);
|
|
385
393
|
}
|
|
386
394
|
function me() {
|
|
387
395
|
if (!S.value) {
|
|
@@ -402,136 +410,136 @@ const Ve = Object.assign(w, {
|
|
|
402
410
|
b();
|
|
403
411
|
return;
|
|
404
412
|
}
|
|
405
|
-
|
|
413
|
+
r.value.setData(!0);
|
|
406
414
|
}
|
|
407
|
-
function
|
|
415
|
+
function ye() {
|
|
408
416
|
if (!S.value) {
|
|
409
417
|
b();
|
|
410
418
|
return;
|
|
411
419
|
}
|
|
412
420
|
N.value.setData(!0);
|
|
413
421
|
}
|
|
414
|
-
function
|
|
422
|
+
function ge() {
|
|
415
423
|
m("toHomePage");
|
|
416
424
|
}
|
|
417
425
|
async function _e() {
|
|
418
426
|
Q(), Z(), m("signOut");
|
|
419
427
|
}
|
|
420
|
-
return (F, u) => (l(),
|
|
428
|
+
return (F, u) => (l(), k("div", lt, [i(st, {
|
|
421
429
|
onToSignIn: b
|
|
422
430
|
}, {
|
|
423
|
-
DoptionList: s(() => [
|
|
431
|
+
DoptionList: s(() => [i(t(g), {
|
|
424
432
|
value: "messages",
|
|
425
433
|
class: "Doption",
|
|
426
434
|
onClick: me
|
|
427
435
|
}, {
|
|
428
436
|
icon: s(() => u[0] || (u[0] = [f("消息中心")])),
|
|
429
|
-
default: s(() => [
|
|
437
|
+
default: s(() => [i(t(P))]),
|
|
430
438
|
_: 1
|
|
431
|
-
}),
|
|
439
|
+
}), i(t(g), {
|
|
432
440
|
value: "setting",
|
|
433
441
|
class: "Doption",
|
|
434
442
|
onClick: fe
|
|
435
443
|
}, {
|
|
436
444
|
icon: s(() => u[1] || (u[1] = [f("系统设置 ")])),
|
|
437
|
-
default: s(() => [
|
|
445
|
+
default: s(() => [i(t(P))]),
|
|
438
446
|
_: 1
|
|
439
|
-
}),
|
|
447
|
+
}), i(t(g), {
|
|
440
448
|
value: "subscription",
|
|
441
449
|
class: "Doption",
|
|
442
450
|
onClick: ke
|
|
443
451
|
}, {
|
|
444
452
|
icon: s(() => u[2] || (u[2] = [f("订阅信息 ")])),
|
|
445
|
-
default: s(() => [
|
|
453
|
+
default: s(() => [i(t(P))]),
|
|
446
454
|
_: 1
|
|
447
|
-
}),
|
|
455
|
+
}), i(t(g), {
|
|
448
456
|
value: "feedBack",
|
|
449
457
|
class: "Doption",
|
|
450
458
|
onClick: ve
|
|
451
459
|
}, {
|
|
452
460
|
icon: s(() => u[3] || (u[3] = [f("系统反馈 ")])),
|
|
453
|
-
default: s(() => [
|
|
461
|
+
default: s(() => [i(t(P))]),
|
|
454
462
|
_: 1
|
|
455
|
-
}),
|
|
463
|
+
}), i(t(g), {
|
|
456
464
|
value: "invitations",
|
|
457
465
|
class: "Doption",
|
|
458
|
-
onClick:
|
|
466
|
+
onClick: ye
|
|
459
467
|
}, {
|
|
460
468
|
icon: s(() => u[4] || (u[4] = [f("邀请 ")])),
|
|
461
|
-
default: s(() => [
|
|
469
|
+
default: s(() => [i(t(P))]),
|
|
462
470
|
_: 1
|
|
463
|
-
}),
|
|
471
|
+
}), i(t(K), {
|
|
464
472
|
style: {
|
|
465
473
|
margin: "10px 0px"
|
|
466
474
|
}
|
|
467
|
-
}),
|
|
475
|
+
}), i(t(g), {
|
|
468
476
|
value: "homePage",
|
|
469
477
|
class: "Doption",
|
|
470
|
-
onClick:
|
|
478
|
+
onClick: ge
|
|
471
479
|
}, {
|
|
472
480
|
icon: s(() => u[5] || (u[5] = [f("主页 ")])),
|
|
473
|
-
default: s(() => [
|
|
481
|
+
default: s(() => [i(t(Ve))]),
|
|
474
482
|
_: 1
|
|
475
|
-
}),
|
|
483
|
+
}), i(t(g), {
|
|
476
484
|
value: "signOut",
|
|
477
485
|
class: "Doption",
|
|
478
486
|
onClick: _e
|
|
479
487
|
}, {
|
|
480
488
|
icon: s(() => u[6] || (u[6] = [f("退出登陆 ")])),
|
|
481
|
-
default: s(() => [
|
|
489
|
+
default: s(() => [i(t(Le))]),
|
|
482
490
|
_: 1
|
|
483
491
|
})]),
|
|
484
492
|
_: 1
|
|
485
|
-
}), (l(),
|
|
493
|
+
}), (l(), y(Ae, {
|
|
486
494
|
ref_key: "AuthModalRef",
|
|
487
495
|
ref: te,
|
|
488
496
|
key: ne.value,
|
|
489
497
|
size: "large",
|
|
490
498
|
onToPrivacyPolicy: oe,
|
|
491
|
-
onToUserServiceAgreement:
|
|
492
|
-
})), t(S) ? (l(),
|
|
499
|
+
onToUserServiceAgreement: re
|
|
500
|
+
})), t(S) ? (l(), k(be, {
|
|
493
501
|
key: 0
|
|
494
|
-
}, [(l(),
|
|
502
|
+
}, [(l(), y(De, {
|
|
495
503
|
ref_key: "AppSettingRef",
|
|
496
|
-
ref:
|
|
497
|
-
key:
|
|
504
|
+
ref: w,
|
|
505
|
+
key: A.value,
|
|
498
506
|
onConfirm: de,
|
|
499
507
|
onCancel: pe
|
|
500
|
-
})), (l(),
|
|
508
|
+
})), (l(), y($e, {
|
|
501
509
|
ref_key: "RefereesRef",
|
|
502
510
|
ref: N,
|
|
503
511
|
key: L.value,
|
|
504
512
|
"prefix-url": t(o),
|
|
505
513
|
onCancel: ae
|
|
506
|
-
}, null, 8, ["prefix-url"])), (l(),
|
|
514
|
+
}, null, 8, ["prefix-url"])), (l(), y(he, {
|
|
507
515
|
ref_key: "SubscriptionsRef",
|
|
508
516
|
ref: H,
|
|
509
517
|
key: ee.value,
|
|
510
518
|
title: "订阅详情",
|
|
511
519
|
onConfirm: se,
|
|
512
520
|
onCancel: le
|
|
513
|
-
})),
|
|
521
|
+
})), i(we, {
|
|
514
522
|
ref_key: "MessageHandleRef",
|
|
515
523
|
ref: j,
|
|
516
524
|
"prefix-url": t(o)
|
|
517
|
-
}, null, 8, ["prefix-url"]), (l(),
|
|
525
|
+
}, null, 8, ["prefix-url"]), (l(), y(Me, {
|
|
518
526
|
ref_key: "FeedBackModalRef",
|
|
519
|
-
ref:
|
|
527
|
+
ref: r,
|
|
520
528
|
key: c.value,
|
|
521
529
|
"app-id": t($),
|
|
522
530
|
"prefix-url": t(o),
|
|
523
|
-
"bucket-id": t(
|
|
524
|
-
bucket: t(
|
|
531
|
+
"bucket-id": t(I),
|
|
532
|
+
bucket: t(v),
|
|
525
533
|
region: t(h),
|
|
526
534
|
onConfirm: ce,
|
|
527
535
|
onCancel: ue
|
|
528
|
-
}, null, 8, ["app-id", "prefix-url", "bucket-id", "bucket", "region"]))], 64)) :
|
|
536
|
+
}, null, 8, ["app-id", "prefix-url", "bucket-id", "bucket", "region"]))], 64)) : M("", !0)]));
|
|
529
537
|
}
|
|
530
|
-
}),
|
|
538
|
+
}), At = /* @__PURE__ */ B(ut, [["__scopeId", "data-v-7e1b912e"]]);
|
|
531
539
|
export {
|
|
532
540
|
Te as S,
|
|
533
|
-
|
|
534
|
-
|
|
541
|
+
At as U,
|
|
542
|
+
st as a,
|
|
535
543
|
Qe as b,
|
|
536
|
-
|
|
544
|
+
ot as c
|
|
537
545
|
};
|
package/dist/common.js
CHANGED
|
@@ -3,9 +3,9 @@ import { C as t, G as n, S as p, W as m } from "./WidthContainer-D795bWdT.js";
|
|
|
3
3
|
import { C as i, E as u } from "./CustomTable-C6Xcn_J7.js";
|
|
4
4
|
import { I as x } from "./MessageHandle-DN_JsQb2.js";
|
|
5
5
|
import { M as d, a as U } from "./Menu-Cxo8Rpu3.js";
|
|
6
|
-
import { S as I, b, c as S, a as g, U as v } from "./UserPanel-
|
|
6
|
+
import { S as I, b, c as S, a as g, U as v } from "./UserPanel-BdPRqGuj.js";
|
|
7
7
|
import { S as B } from "./PaySubscriptions-BS6gjndk.js";
|
|
8
|
-
import { R as P } from "./ReferrerReferees
|
|
8
|
+
import { R as P } from "./ReferrerReferees-BSDBIeoR.js";
|
|
9
9
|
import { _ as G } from "./Upload.vue_vue_type_script_setup_true_lang-uy8hhi_o.js";
|
|
10
10
|
import { u as R } from "./useUserPanelProps-C5W72fZJ.js";
|
|
11
11
|
import { a as W, u as h } from "./useActiveDoc-BWHkOJhJ.js";
|
|
@@ -11,6 +11,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
+
referrerId: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
14
18
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
19
|
nickname: {
|
|
16
20
|
type: StringConstructor;
|
|
@@ -24,8 +28,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
24
28
|
type: StringConstructor;
|
|
25
29
|
default: string;
|
|
26
30
|
};
|
|
31
|
+
referrerId: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
27
35
|
}>> & Readonly<{}>, {
|
|
28
36
|
email: string;
|
|
37
|
+
referrerId: string;
|
|
29
38
|
avatarUrl: string;
|
|
30
39
|
nickname: string;
|
|
31
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|