@huyooo/ui 0.4.13 → 0.4.16
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-iL2SVGkm.js → AuthkitAppSetting-MYrqMZAf.js} +391 -390
- package/dist/{AuthkitAuthorize-CLG8uEWI.js → AuthkitAuthorize-CCSa1q9E.js} +1 -1
- package/dist/{UserPanel-CsWfMpZO.js → UserPanel-CvWoQ9nn.js} +203 -179
- package/dist/authkit.js +3 -3
- package/dist/common.js +1 -1
- package/dist/components/Feedback/FeedbackBubbleEnd.vue.d.ts +1 -1
- package/dist/components/Feedback/FeedbackBubbleStart.vue.d.ts +1 -1
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +9 -0
- package/dist/composables/Authkit/useAuthkitUsersProfile.d.ts +3 -0
- package/dist/composables.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/dist/useAuthkitProps-BM6B7mZP.js +384 -0
- package/dist/user.js +1 -1
- package/dist/utils/authGuard.d.ts +12 -0
- package/package.json +1 -1
- package/dist/useAuthkitProps-DB04dGw9.js +0 -326
|
@@ -8,7 +8,7 @@ import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { List as w, ListItem as d, ListItemMeta as p, Avatar as c, Button as x } from "@arco-design/web-vue";
|
|
11
|
-
import { d as $, o as T } from "./useAuthkitProps-
|
|
11
|
+
import { d as $, o as T } from "./useAuthkitProps-BM6B7mZP.js";
|
|
12
12
|
const U = {
|
|
13
13
|
class: "header"
|
|
14
14
|
}, B = ["href"], L = {
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { defineComponent as _, createElementBlock as
|
|
6
|
-
import { Tag as
|
|
7
|
-
import { S as
|
|
8
|
-
import { R as
|
|
9
|
-
import { a as
|
|
10
|
-
import { u as
|
|
11
|
-
import { b as
|
|
12
|
-
import { d as
|
|
13
|
-
import { M as
|
|
5
|
+
import { defineComponent as _, createElementBlock as y, openBlock as l, normalizeStyle as V, normalizeClass as F, createElementVNode as d, computed as A, createBlock as v, createCommentVNode as O, createVNode as r, unref as t, withCtx as s, createTextVNode as f, toDisplayString as U, renderSlot as Se, ref as p } from "vue";
|
|
6
|
+
import { Tag as be, Button as q, Avatar as E, Dropdown as Ce, Divider as K, Doption as g } from "@arco-design/web-vue";
|
|
7
|
+
import { S as he } from "./PaySubscriptions-MYoi8Ob_.js";
|
|
8
|
+
import { R as $e } from "./ReferrerReferees-CFwb0s28.js";
|
|
9
|
+
import { a as T, u as Ie, c as xe, b as Ue } from "./useAuthkitProps-BM6B7mZP.js";
|
|
10
|
+
import { u as Pe } from "./useUserPanelProps-C5W72fZJ.js";
|
|
11
|
+
import { b as Be, a as Ae } from "./AuthkitAppSetting-MYrqMZAf.js";
|
|
12
|
+
import { d as De } from "./FeedbackModal-QpDXtZBf.js";
|
|
13
|
+
import { M as Me } from "./MessageHandle-cZ2FXsJ5.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
|
-
import { _ as
|
|
16
|
+
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
/* empty css */
|
|
18
|
-
import { I as
|
|
19
|
-
import { _ as
|
|
20
|
-
const
|
|
18
|
+
import { I as x } from "./index-Cr5RQSnA.js";
|
|
19
|
+
import { _ as W, g as G, i as J } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
20
|
+
const we = _({
|
|
21
21
|
name: "IconExport",
|
|
22
22
|
props: {
|
|
23
23
|
size: {
|
|
@@ -46,11 +46,11 @@ const Be = _({
|
|
|
46
46
|
setup(e, {
|
|
47
47
|
emit: n
|
|
48
48
|
}) {
|
|
49
|
-
const i =
|
|
49
|
+
const i = G("icon"), a = A(() => [i, `${i}-export`, {
|
|
50
50
|
[`${i}-spin`]: e.spin
|
|
51
|
-
}]), c =
|
|
51
|
+
}]), c = A(() => {
|
|
52
52
|
const o = {};
|
|
53
|
-
return e.size && (o.fontSize =
|
|
53
|
+
return e.size && (o.fontSize = J(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
|
|
54
54
|
});
|
|
55
55
|
return {
|
|
56
56
|
cls: a,
|
|
@@ -60,31 +60,31 @@ const Be = _({
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
-
}),
|
|
64
|
-
function
|
|
65
|
-
return l(),
|
|
63
|
+
}), Re = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
64
|
+
function ze(e, n, i, a, c, m) {
|
|
65
|
+
return l(), y("svg", {
|
|
66
66
|
viewBox: "0 0 48 48",
|
|
67
67
|
fill: "none",
|
|
68
68
|
xmlns: "http://www.w3.org/2000/svg",
|
|
69
69
|
stroke: "currentColor",
|
|
70
|
-
class:
|
|
71
|
-
style:
|
|
70
|
+
class: F(e.cls),
|
|
71
|
+
style: V(e.innerStyle),
|
|
72
72
|
"stroke-width": e.strokeWidth,
|
|
73
73
|
"stroke-linecap": e.strokeLinecap,
|
|
74
74
|
"stroke-linejoin": e.strokeLinejoin,
|
|
75
75
|
onClick: n[0] || (n[0] = (...o) => e.onClick && e.onClick(...o))
|
|
76
76
|
}, n[1] || (n[1] = [d("path", {
|
|
77
77
|
d: "M31.928 33.072 41 24.002l-9.072-9.072M16.858 24h24M31 41H7V7h24"
|
|
78
|
-
}, null, -1)]), 14,
|
|
78
|
+
}, null, -1)]), 14, Re);
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
const
|
|
80
|
+
var M = /* @__PURE__ */ W(we, [["render", ze]]);
|
|
81
|
+
const Ne = Object.assign(M, {
|
|
82
82
|
install: (e, n) => {
|
|
83
83
|
var i;
|
|
84
84
|
const a = (i = n == null ? void 0 : n.iconPrefix) != null ? i : "";
|
|
85
|
-
e.component(a +
|
|
85
|
+
e.component(a + M.name, M);
|
|
86
86
|
}
|
|
87
|
-
}),
|
|
87
|
+
}), Le = _({
|
|
88
88
|
name: "IconLaunch",
|
|
89
89
|
props: {
|
|
90
90
|
size: {
|
|
@@ -113,11 +113,11 @@ const Re = Object.assign(w, {
|
|
|
113
113
|
setup(e, {
|
|
114
114
|
emit: n
|
|
115
115
|
}) {
|
|
116
|
-
const i =
|
|
116
|
+
const i = G("icon"), a = A(() => [i, `${i}-launch`, {
|
|
117
117
|
[`${i}-spin`]: e.spin
|
|
118
|
-
}]), c =
|
|
118
|
+
}]), c = A(() => {
|
|
119
119
|
const o = {};
|
|
120
|
-
return e.size && (o.fontSize =
|
|
120
|
+
return e.size && (o.fontSize = J(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
|
|
121
121
|
});
|
|
122
122
|
return {
|
|
123
123
|
cls: a,
|
|
@@ -127,37 +127,37 @@ const Re = Object.assign(w, {
|
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
|
-
}),
|
|
131
|
-
function
|
|
132
|
-
return l(),
|
|
130
|
+
}), je = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
131
|
+
function He(e, n, i, a, c, m) {
|
|
132
|
+
return l(), y("svg", {
|
|
133
133
|
viewBox: "0 0 48 48",
|
|
134
134
|
fill: "none",
|
|
135
135
|
stroke: "currentColor",
|
|
136
136
|
xmlns: "http://www.w3.org/2000/svg",
|
|
137
|
-
class:
|
|
138
|
-
style:
|
|
137
|
+
class: F(e.cls),
|
|
138
|
+
style: V(e.innerStyle),
|
|
139
139
|
"stroke-width": e.strokeWidth,
|
|
140
140
|
"stroke-linecap": e.strokeLinecap,
|
|
141
141
|
"stroke-linejoin": e.strokeLinejoin,
|
|
142
142
|
onClick: n[0] || (n[0] = (...o) => e.onClick && e.onClick(...o))
|
|
143
143
|
}, n[1] || (n[1] = [d("path", {
|
|
144
144
|
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"
|
|
145
|
-
}, null, -1)]), 14,
|
|
145
|
+
}, null, -1)]), 14, je);
|
|
146
146
|
}
|
|
147
|
-
var
|
|
148
|
-
const
|
|
147
|
+
var w = /* @__PURE__ */ W(Le, [["render", He]]);
|
|
148
|
+
const Ve = Object.assign(w, {
|
|
149
149
|
install: (e, n) => {
|
|
150
150
|
var i;
|
|
151
151
|
const a = (i = n == null ? void 0 : n.iconPrefix) != null ? i : "";
|
|
152
|
-
e.component(a +
|
|
152
|
+
e.component(a + w.name, w);
|
|
153
153
|
}
|
|
154
|
-
}),
|
|
154
|
+
}), Fe = {
|
|
155
155
|
class: "pricing"
|
|
156
|
-
},
|
|
156
|
+
}, Oe = {
|
|
157
157
|
class: "base"
|
|
158
|
-
},
|
|
158
|
+
}, qe = {
|
|
159
159
|
class: "pricingInfo"
|
|
160
|
-
},
|
|
160
|
+
}, Ee = /* @__PURE__ */ _({
|
|
161
161
|
__name: "UserSubscriptionBaseInformation",
|
|
162
162
|
props: {
|
|
163
163
|
currentVersionName: {
|
|
@@ -181,15 +181,15 @@ const je = Object.assign(B, {
|
|
|
181
181
|
function c() {
|
|
182
182
|
a("upgradeHandle");
|
|
183
183
|
}
|
|
184
|
-
return (m, o) => (l(),
|
|
184
|
+
return (m, o) => (l(), y("div", Fe, [d("div", Oe, [d("div", qe, [o[0] || (o[0] = d("span", null, "我的订阅:", -1)), r(t(be), {
|
|
185
185
|
color: "arcoblue",
|
|
186
186
|
style: {
|
|
187
187
|
"border-radius": "6px"
|
|
188
188
|
}
|
|
189
189
|
}, {
|
|
190
|
-
default: s(() => [f(
|
|
190
|
+
default: s(() => [f(U(i.currentVersionName), 1)]),
|
|
191
191
|
_: 1
|
|
192
|
-
})]), i.canUpgrade ? (l(), v(t(
|
|
192
|
+
})]), i.canUpgrade ? (l(), v(t(q), {
|
|
193
193
|
key: 0,
|
|
194
194
|
type: "primary",
|
|
195
195
|
size: "mini",
|
|
@@ -199,14 +199,14 @@ const je = Object.assign(B, {
|
|
|
199
199
|
default: s(() => o[1] || (o[1] = [f(" 升级 ")])),
|
|
200
200
|
_: 1,
|
|
201
201
|
__: [1]
|
|
202
|
-
})) :
|
|
202
|
+
})) : O("", !0)]), d("span", null, "有效期至: " + U(i.expireDate), 1)]));
|
|
203
203
|
}
|
|
204
|
-
}),
|
|
204
|
+
}), Ke = /* @__PURE__ */ P(Ee, [["__scopeId", "data-v-1e32fa72"]]), Te = {
|
|
205
205
|
class: "userInfo"
|
|
206
|
-
},
|
|
206
|
+
}, We = {
|
|
207
207
|
key: 0,
|
|
208
208
|
class: "userName"
|
|
209
|
-
},
|
|
209
|
+
}, Ge = /* @__PURE__ */ _({
|
|
210
210
|
__name: "UserAvatar",
|
|
211
211
|
props: {
|
|
212
212
|
nickname: {
|
|
@@ -220,21 +220,21 @@ const je = Object.assign(B, {
|
|
|
220
220
|
},
|
|
221
221
|
setup(e) {
|
|
222
222
|
const n = e;
|
|
223
|
-
return (i, a) => (l(),
|
|
223
|
+
return (i, a) => (l(), y("div", Te, [n.nickname ? (l(), y("span", We, U(n.nickname), 1)) : O("", !0), r(t(E), {
|
|
224
224
|
"image-url": n.avatar,
|
|
225
225
|
size: 32,
|
|
226
226
|
"object-fit": "cover"
|
|
227
227
|
}, null, 8, ["image-url"])]));
|
|
228
228
|
}
|
|
229
|
-
}),
|
|
229
|
+
}), Je = /* @__PURE__ */ P(Ge, [["__scopeId", "data-v-a7a47cc4"]]), Qe = {
|
|
230
230
|
class: "userInfo"
|
|
231
|
-
},
|
|
231
|
+
}, Xe = {
|
|
232
232
|
class: "extra"
|
|
233
|
-
},
|
|
233
|
+
}, Ye = {
|
|
234
234
|
class: "userName"
|
|
235
|
-
},
|
|
235
|
+
}, Ze = {
|
|
236
236
|
class: "email"
|
|
237
|
-
},
|
|
237
|
+
}, et = /* @__PURE__ */ _({
|
|
238
238
|
__name: "UserBasicInformation",
|
|
239
239
|
props: {
|
|
240
240
|
nickname: {
|
|
@@ -252,70 +252,71 @@ const je = Object.assign(B, {
|
|
|
252
252
|
},
|
|
253
253
|
setup(e) {
|
|
254
254
|
const n = e;
|
|
255
|
-
return (i, a) => (l(),
|
|
255
|
+
return (i, a) => (l(), y("div", Qe, [r(t(E), {
|
|
256
256
|
"image-url": n.avatarUrl,
|
|
257
257
|
size: 42,
|
|
258
258
|
"object-fit": "cover"
|
|
259
|
-
}, null, 8, ["image-url"]), d("div",
|
|
259
|
+
}, null, 8, ["image-url"]), d("div", Xe, [d("span", Ye, U(n.nickname), 1), d("span", Ze, U(n.email), 1)])]));
|
|
260
260
|
}
|
|
261
|
-
}),
|
|
261
|
+
}), tt = /* @__PURE__ */ P(et, [["__scopeId", "data-v-611a1dda"]]), nt = {
|
|
262
262
|
class: "dropdownContent"
|
|
263
|
-
},
|
|
263
|
+
}, ot = {
|
|
264
264
|
class: "header"
|
|
265
|
-
},
|
|
265
|
+
}, it = /* @__PURE__ */ _({
|
|
266
266
|
__name: "UserButton",
|
|
267
267
|
emits: ["enterSystem", "toSignIn"],
|
|
268
268
|
setup(e, {
|
|
269
269
|
emit: n
|
|
270
270
|
}) {
|
|
271
271
|
const i = n, {
|
|
272
|
-
userProfile: a
|
|
273
|
-
|
|
274
|
-
|
|
272
|
+
userProfile: a,
|
|
273
|
+
isLoggedIn: c
|
|
274
|
+
} = T();
|
|
275
|
+
function m() {
|
|
275
276
|
i("toSignIn");
|
|
276
277
|
}
|
|
277
|
-
return (
|
|
278
|
+
return (o, b) => t(c) ? (l(), v(t(Ce), {
|
|
278
279
|
key: 1,
|
|
279
280
|
class: "DropdownUserInfo",
|
|
280
281
|
position: "bl"
|
|
281
282
|
}, {
|
|
282
283
|
content: s(() => {
|
|
283
|
-
var k,
|
|
284
|
-
return [d("div",
|
|
284
|
+
var k, C, h;
|
|
285
|
+
return [d("div", nt, [d("div", ot, [r(tt, {
|
|
285
286
|
"avatar-url": (k = t(a)) == null ? void 0 : k.avatarUrl,
|
|
286
|
-
nickname: (
|
|
287
|
-
email: (
|
|
288
|
-
}, null, 8, ["avatar-url", "nickname", "email"]), r(
|
|
287
|
+
nickname: (C = t(a)) == null ? void 0 : C.nickname,
|
|
288
|
+
email: (h = t(a)) == null ? void 0 : h.email
|
|
289
|
+
}, null, 8, ["avatar-url", "nickname", "email"]), r(Ke, {
|
|
289
290
|
currentVersionName: "免费版本",
|
|
290
291
|
"expire-date": "2025-01-01",
|
|
291
292
|
"can-upgrade": !0
|
|
292
|
-
})]), r(t(
|
|
293
|
+
})]), r(t(K), {
|
|
293
294
|
style: {
|
|
294
295
|
margin: "10px 0px"
|
|
295
296
|
}
|
|
296
|
-
}),
|
|
297
|
+
}), Se(o.$slots, "DoptionList", {}, void 0, !0)])];
|
|
297
298
|
}),
|
|
298
299
|
default: s(() => {
|
|
299
300
|
var k;
|
|
300
|
-
return [r(
|
|
301
|
+
return [r(Je, {
|
|
301
302
|
avatar: (k = t(a)) == null ? void 0 : k.avatarUrl
|
|
302
303
|
}, null, 8, ["avatar"])];
|
|
303
304
|
}),
|
|
304
305
|
_: 3
|
|
305
|
-
})) : (l(), v(t(
|
|
306
|
+
})) : (l(), v(t(q), {
|
|
306
307
|
key: 0,
|
|
307
308
|
type: "primary",
|
|
308
309
|
class: "handle",
|
|
309
|
-
onClick:
|
|
310
|
+
onClick: m
|
|
310
311
|
}, {
|
|
311
|
-
default: s(() =>
|
|
312
|
+
default: s(() => b[0] || (b[0] = [f(" 登陆 ")])),
|
|
312
313
|
_: 1,
|
|
313
314
|
__: [0]
|
|
314
315
|
}));
|
|
315
316
|
}
|
|
316
|
-
}),
|
|
317
|
+
}), rt = /* @__PURE__ */ P(it, [["__scopeId", "data-v-320eb42e"]]), at = {
|
|
317
318
|
class: "UserPanel"
|
|
318
|
-
},
|
|
319
|
+
}, st = /* @__PURE__ */ _({
|
|
319
320
|
__name: "UserPanel",
|
|
320
321
|
emits: ["toHomePage", "signOut"],
|
|
321
322
|
setup(e, {
|
|
@@ -323,188 +324,211 @@ const je = Object.assign(B, {
|
|
|
323
324
|
}) {
|
|
324
325
|
const i = p(), a = p(), c = p(Symbol("key")), m = n, {
|
|
325
326
|
prefixUrl: o,
|
|
326
|
-
bucketId:
|
|
327
|
-
bucket:
|
|
328
|
-
region:
|
|
329
|
-
appId:
|
|
330
|
-
} =
|
|
331
|
-
fetchUserProfile:
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
function Z(j) {
|
|
339
|
-
}
|
|
340
|
-
function ee(j) {
|
|
341
|
-
}
|
|
342
|
-
const C = $e(), {
|
|
343
|
-
show: te
|
|
327
|
+
bucketId: b,
|
|
328
|
+
bucket: k,
|
|
329
|
+
region: C,
|
|
330
|
+
appId: h
|
|
331
|
+
} = Pe(), {
|
|
332
|
+
fetchUserProfile: R,
|
|
333
|
+
clearUserProfile: Q,
|
|
334
|
+
isLoggedIn: $
|
|
335
|
+
} = T(), {
|
|
336
|
+
addSignInCallback: X,
|
|
337
|
+
initializeAuth: Y,
|
|
338
|
+
clearAuth: Z
|
|
344
339
|
} = Ie();
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
340
|
+
Y() && R();
|
|
341
|
+
const z = p(), N = p(Symbol("key")), L = p(), j = p(), ee = p(Symbol("key")), te = p(), ne = p(Symbol("key"));
|
|
342
|
+
function oe(H) {
|
|
348
343
|
}
|
|
349
|
-
|
|
350
|
-
function oe() {
|
|
351
|
-
x.value = Symbol("key");
|
|
344
|
+
function ie(H) {
|
|
352
345
|
}
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
te.value = !0;
|
|
358
|
-
}
|
|
359
|
-
J(() => {
|
|
360
|
-
M();
|
|
361
|
-
});
|
|
346
|
+
const I = xe(), {
|
|
347
|
+
show: re
|
|
348
|
+
} = Ue();
|
|
349
|
+
I.appId.value = h.value, I.prefixUrl.value = o.value, I.bucketId.value = b.value, I.bucket.value = k.value, I.region.value = C.value;
|
|
362
350
|
function ae() {
|
|
363
|
-
|
|
351
|
+
N.value = Symbol("key");
|
|
364
352
|
}
|
|
353
|
+
const D = p(), B = p(Symbol("key"));
|
|
365
354
|
function se() {
|
|
366
|
-
|
|
355
|
+
B.value = Symbol("key");
|
|
367
356
|
}
|
|
368
357
|
function le() {
|
|
369
|
-
|
|
358
|
+
B.value = Symbol("key");
|
|
359
|
+
}
|
|
360
|
+
function S() {
|
|
361
|
+
re.value = !0;
|
|
370
362
|
}
|
|
363
|
+
X(() => {
|
|
364
|
+
R();
|
|
365
|
+
});
|
|
371
366
|
function ue() {
|
|
372
|
-
|
|
367
|
+
c.value = Symbol("key");
|
|
373
368
|
}
|
|
374
369
|
function ce() {
|
|
375
|
-
|
|
370
|
+
a.value.show = !1;
|
|
376
371
|
}
|
|
377
372
|
function pe() {
|
|
378
|
-
|
|
373
|
+
B.value = Symbol("key");
|
|
379
374
|
}
|
|
380
375
|
function de() {
|
|
381
|
-
|
|
376
|
+
D.value.setData(null, !0);
|
|
382
377
|
}
|
|
383
378
|
function fe() {
|
|
384
|
-
|
|
379
|
+
if (!$.value) {
|
|
380
|
+
S();
|
|
381
|
+
return;
|
|
382
|
+
}
|
|
383
|
+
D.value.setData(null, !0);
|
|
385
384
|
}
|
|
386
385
|
function me() {
|
|
387
|
-
|
|
386
|
+
if (!$.value) {
|
|
387
|
+
S();
|
|
388
|
+
return;
|
|
389
|
+
}
|
|
390
|
+
L.value.openNotification();
|
|
388
391
|
}
|
|
389
392
|
function ke() {
|
|
393
|
+
if (!$.value) {
|
|
394
|
+
S();
|
|
395
|
+
return;
|
|
396
|
+
}
|
|
397
|
+
j.value.setData(null, !0);
|
|
398
|
+
}
|
|
399
|
+
function ve() {
|
|
400
|
+
if (!$.value) {
|
|
401
|
+
S();
|
|
402
|
+
return;
|
|
403
|
+
}
|
|
404
|
+
i.value.setData(!0);
|
|
405
|
+
}
|
|
406
|
+
function ge() {
|
|
407
|
+
if (!$.value) {
|
|
408
|
+
S();
|
|
409
|
+
return;
|
|
410
|
+
}
|
|
411
|
+
z.value.setData(!0);
|
|
412
|
+
}
|
|
413
|
+
function ye() {
|
|
390
414
|
m("toHomePage");
|
|
391
415
|
}
|
|
392
|
-
async function
|
|
393
|
-
|
|
416
|
+
async function _e() {
|
|
417
|
+
Q(), Z(), m("signOut");
|
|
394
418
|
}
|
|
395
|
-
return (
|
|
396
|
-
onToSignIn:
|
|
419
|
+
return (H, u) => (l(), y("div", at, [r(rt, {
|
|
420
|
+
onToSignIn: S
|
|
397
421
|
}, {
|
|
398
|
-
DoptionList: s(() => [r(t(
|
|
422
|
+
DoptionList: s(() => [r(t(g), {
|
|
399
423
|
value: "messages",
|
|
400
424
|
class: "Doption",
|
|
401
|
-
onClick:
|
|
425
|
+
onClick: me
|
|
402
426
|
}, {
|
|
403
427
|
icon: s(() => u[0] || (u[0] = [f("消息中心")])),
|
|
404
|
-
default: s(() => [r(t(
|
|
428
|
+
default: s(() => [r(t(x))]),
|
|
405
429
|
_: 1
|
|
406
|
-
}), r(t(
|
|
430
|
+
}), r(t(g), {
|
|
407
431
|
value: "setting",
|
|
408
432
|
class: "Doption",
|
|
409
|
-
onClick:
|
|
433
|
+
onClick: fe
|
|
410
434
|
}, {
|
|
411
435
|
icon: s(() => u[1] || (u[1] = [f("系统设置 ")])),
|
|
412
|
-
default: s(() => [r(t(
|
|
436
|
+
default: s(() => [r(t(x))]),
|
|
413
437
|
_: 1
|
|
414
|
-
}), r(t(
|
|
438
|
+
}), r(t(g), {
|
|
415
439
|
value: "subscription",
|
|
416
440
|
class: "Doption",
|
|
417
|
-
onClick:
|
|
441
|
+
onClick: ke
|
|
418
442
|
}, {
|
|
419
443
|
icon: s(() => u[2] || (u[2] = [f("订阅信息 ")])),
|
|
420
|
-
default: s(() => [r(t(
|
|
444
|
+
default: s(() => [r(t(x))]),
|
|
421
445
|
_: 1
|
|
422
|
-
}), r(t(
|
|
446
|
+
}), r(t(g), {
|
|
423
447
|
value: "feedBack",
|
|
424
448
|
class: "Doption",
|
|
425
|
-
onClick:
|
|
449
|
+
onClick: ve
|
|
426
450
|
}, {
|
|
427
451
|
icon: s(() => u[3] || (u[3] = [f("系统反馈 ")])),
|
|
428
|
-
default: s(() => [r(t(
|
|
452
|
+
default: s(() => [r(t(x))]),
|
|
429
453
|
_: 1
|
|
430
|
-
}), r(t(
|
|
454
|
+
}), r(t(g), {
|
|
431
455
|
value: "invitations",
|
|
432
456
|
class: "Doption",
|
|
433
|
-
onClick:
|
|
457
|
+
onClick: ge
|
|
434
458
|
}, {
|
|
435
459
|
icon: s(() => u[4] || (u[4] = [f("邀请 ")])),
|
|
436
|
-
default: s(() => [r(t(
|
|
460
|
+
default: s(() => [r(t(x))]),
|
|
437
461
|
_: 1
|
|
438
|
-
}), r(t(
|
|
462
|
+
}), r(t(K), {
|
|
439
463
|
style: {
|
|
440
464
|
margin: "10px 0px"
|
|
441
465
|
}
|
|
442
|
-
}), r(t(
|
|
466
|
+
}), r(t(g), {
|
|
443
467
|
value: "homePage",
|
|
444
468
|
class: "Doption",
|
|
445
|
-
onClick:
|
|
469
|
+
onClick: ye
|
|
446
470
|
}, {
|
|
447
471
|
icon: s(() => u[5] || (u[5] = [f("主页 ")])),
|
|
448
|
-
default: s(() => [r(t(
|
|
472
|
+
default: s(() => [r(t(Ve))]),
|
|
449
473
|
_: 1
|
|
450
|
-
}), r(t(
|
|
474
|
+
}), r(t(g), {
|
|
451
475
|
value: "signOut",
|
|
452
476
|
class: "Doption",
|
|
453
|
-
onClick:
|
|
477
|
+
onClick: _e
|
|
454
478
|
}, {
|
|
455
479
|
icon: s(() => u[6] || (u[6] = [f("退出登陆 ")])),
|
|
456
|
-
default: s(() => [r(t(
|
|
480
|
+
default: s(() => [r(t(Ne))]),
|
|
457
481
|
_: 1
|
|
458
482
|
})]),
|
|
459
483
|
_: 1
|
|
460
|
-
}), (l(), v(
|
|
484
|
+
}), (l(), v(Be, {
|
|
461
485
|
ref_key: "AppSettingRef",
|
|
462
|
-
ref:
|
|
463
|
-
key:
|
|
464
|
-
onConfirm:
|
|
465
|
-
onCancel:
|
|
466
|
-
})), (l(), v(
|
|
486
|
+
ref: D,
|
|
487
|
+
key: B.value,
|
|
488
|
+
onConfirm: de,
|
|
489
|
+
onCancel: pe
|
|
490
|
+
})), (l(), v($e, {
|
|
467
491
|
ref_key: "RefereesRef",
|
|
468
|
-
ref:
|
|
469
|
-
key:
|
|
492
|
+
ref: z,
|
|
493
|
+
key: N.value,
|
|
470
494
|
"prefix-url": t(o),
|
|
471
|
-
onCancel:
|
|
472
|
-
}, null, 8, ["prefix-url"])), (l(), v(
|
|
495
|
+
onCancel: ae
|
|
496
|
+
}, null, 8, ["prefix-url"])), (l(), v(he, {
|
|
473
497
|
ref_key: "SubscriptionsRef",
|
|
474
|
-
ref:
|
|
475
|
-
key:
|
|
498
|
+
ref: j,
|
|
499
|
+
key: ee.value,
|
|
476
500
|
title: "订阅详情",
|
|
477
|
-
onConfirm:
|
|
478
|
-
onCancel:
|
|
479
|
-
})), (l(), v(
|
|
501
|
+
onConfirm: se,
|
|
502
|
+
onCancel: le
|
|
503
|
+
})), (l(), v(Ae, {
|
|
480
504
|
ref_key: "AuthModalRef",
|
|
481
|
-
ref:
|
|
482
|
-
key:
|
|
505
|
+
ref: te,
|
|
506
|
+
key: ne.value,
|
|
483
507
|
size: "large",
|
|
484
|
-
onToPrivacyPolicy:
|
|
485
|
-
onToUserServiceAgreement:
|
|
486
|
-
})), r(
|
|
508
|
+
onToPrivacyPolicy: oe,
|
|
509
|
+
onToUserServiceAgreement: ie
|
|
510
|
+
})), r(Me, {
|
|
487
511
|
ref_key: "MessageHandleRef",
|
|
488
|
-
ref:
|
|
512
|
+
ref: L,
|
|
489
513
|
"prefix-url": t(o)
|
|
490
|
-
}, null, 8, ["prefix-url"]), (l(), v(
|
|
514
|
+
}, null, 8, ["prefix-url"]), (l(), v(De, {
|
|
491
515
|
ref_key: "FeedBackModalRef",
|
|
492
516
|
ref: i,
|
|
493
517
|
key: c.value,
|
|
494
|
-
"app-id": t(
|
|
518
|
+
"app-id": t(h),
|
|
495
519
|
"prefix-url": t(o),
|
|
496
|
-
"bucket-id": t(
|
|
497
|
-
bucket: t(
|
|
498
|
-
region: t(
|
|
499
|
-
onConfirm:
|
|
500
|
-
onCancel:
|
|
520
|
+
"bucket-id": t(b),
|
|
521
|
+
bucket: t(k),
|
|
522
|
+
region: t(C),
|
|
523
|
+
onConfirm: ce,
|
|
524
|
+
onCancel: ue
|
|
501
525
|
}, null, 8, ["app-id", "prefix-url", "bucket-id", "bucket", "region"]))]));
|
|
502
526
|
}
|
|
503
|
-
}),
|
|
527
|
+
}), Ut = /* @__PURE__ */ P(st, [["__scopeId", "data-v-6036a087"]]);
|
|
504
528
|
export {
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
529
|
+
Ke as S,
|
|
530
|
+
Ut as U,
|
|
531
|
+
rt as a,
|
|
532
|
+
Je as b,
|
|
533
|
+
tt as c
|
|
510
534
|
};
|
package/dist/authkit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as s, A as a, a as u, c as A, n as h, E as e, k, l as r, _ as o, O as n, f as d, o as p, P, j as f, R as m, S, i as g, m as l, d as U, e as w, g as c, h as I } from "./AuthkitAppSetting-
|
|
2
|
-
import { A as y, a as E } from "./AuthkitAuthorize-
|
|
3
|
-
import { U as b, u as C, b as R, c as V, a as v } from "./useAuthkitProps-
|
|
1
|
+
import { b as s, A as a, a as u, c as A, n as h, E as e, k, l as r, _ as o, O as n, f as d, o as p, P, j as f, R as m, S, i as g, m as l, d as U, e as w, g as c, h as I } from "./AuthkitAppSetting-MYrqMZAf.js";
|
|
2
|
+
import { A as y, a as E } from "./AuthkitAuthorize-CCSa1q9E.js";
|
|
3
|
+
import { U as b, u as C, b as R, c as V, a as v } from "./useAuthkitProps-BM6B7mZP.js";
|
|
4
4
|
import { u as M } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
5
5
|
export {
|
|
6
6
|
s as AuthkitAppSetting,
|
package/dist/common.js
CHANGED
|
@@ -3,7 +3,7 @@ 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-DbiCOvmO.js";
|
|
4
4
|
import { I as x } from "./InfiniteLoading-BOurBPUR.js";
|
|
5
5
|
import { M as d, a as U } from "./Menu-MZJINp6f.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-CvWoQ9nn.js";
|
|
7
7
|
import { S as B } from "./PaySubscriptions-MYoi8Ob_.js";
|
|
8
8
|
import { R as P } from "./ReferrerReferees-CFwb0s28.js";
|
|
9
9
|
import { _ as G } from "./Upload.vue_vue_type_script_setup_true_lang-uy8hhi_o.js";
|