@huyooo/ui 0.4.7 → 0.4.9
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-CufEYL2W.js → AuthkitAppSetting-D4uAa2Ni.js} +54 -54
- package/dist/{AuthkitAuthorize-DnvypjyO.js → AuthkitAuthorize-WTE1sCbr.js} +1 -1
- package/dist/{UserPanel-azycBFZP.js → UserPanel-xh-QbW8U.js} +29 -29
- package/dist/authkit.js +3 -3
- package/dist/common.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/dist/{useAuthkitProps-ZAjekGnM.js → useAuthkitProps-DwKPhFjM.js} +32 -36
- package/dist/user.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { defineComponent as
|
|
4
|
+
import { defineComponent as S, createBlock as y, openBlock as g, unref as e, withCtx as c, createElementVNode as w, toDisplayString as L, createVNode as o, computed as R, createElementBlock as U, createCommentVNode as k, createTextVNode as z, ref as h, onMounted as N, onUnmounted as se, withDirectives as ve, vShow as ge, useSlots as _e, renderSlot as ne, normalizeStyle as D, isRef as ae, normalizeClass as he, Fragment as W } from "vue";
|
|
5
5
|
import { Button as $, Divider as ye, Form as B, FormItem as I, Input as C, Link as E, Modal as le, Avatar as oe, Textarea as be, Message as O, Alert as T } from "@arco-design/web-vue";
|
|
6
|
-
import { U as K, u as Z, b as we, c as ze, e as
|
|
6
|
+
import { U as K, u as Z, b as we, c as ze, e as ke, f as ie, g as Se, a as J, h as Ae, i as Ie } from "./useAuthkitProps-DwKPhFjM.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { Icon as Pe } from "@iconify/vue";
|
|
9
9
|
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -42,7 +42,7 @@ function Be() {
|
|
|
42
42
|
microsoftAuth: Le
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
const H = /* @__PURE__ */
|
|
45
|
+
const H = /* @__PURE__ */ S({
|
|
46
46
|
__name: "AuthkitOAuthItem",
|
|
47
47
|
props: {
|
|
48
48
|
size: {
|
|
@@ -81,7 +81,7 @@ const H = /* @__PURE__ */ k({
|
|
|
81
81
|
class: "OAuthList"
|
|
82
82
|
}, Oe = {
|
|
83
83
|
class: "OAuthList"
|
|
84
|
-
}, Ne = /* @__PURE__ */
|
|
84
|
+
}, Ne = /* @__PURE__ */ S({
|
|
85
85
|
__name: "AuthkitOAuthList",
|
|
86
86
|
props: {
|
|
87
87
|
size: {
|
|
@@ -108,25 +108,25 @@ const H = /* @__PURE__ */ k({
|
|
|
108
108
|
default: c(() => _[0] || (_[0] = [z("OAuth登陆")])),
|
|
109
109
|
_: 1,
|
|
110
110
|
__: [0]
|
|
111
|
-
})) :
|
|
111
|
+
})) : k("", !0), w("div", Oe, [e(a).oauth.github.enabled ? (g(), y(H, {
|
|
112
112
|
key: 0,
|
|
113
113
|
icon: "mdi:github",
|
|
114
114
|
label: "Github",
|
|
115
115
|
size: r.size,
|
|
116
116
|
onClick: e(i)
|
|
117
|
-
}, null, 8, ["size", "onClick"])) :
|
|
117
|
+
}, null, 8, ["size", "onClick"])) : k("", !0), e(a).oauth.google.enabled ? (g(), y(H, {
|
|
118
118
|
key: 1,
|
|
119
119
|
icon: "mdi:google",
|
|
120
120
|
label: "Google",
|
|
121
121
|
size: r.size,
|
|
122
122
|
onClick: e(m)
|
|
123
|
-
}, null, 8, ["size", "onClick"])) :
|
|
123
|
+
}, null, 8, ["size", "onClick"])) : k("", !0), e(a).oauth.microsoft.enabled ? (g(), y(H, {
|
|
124
124
|
key: 2,
|
|
125
125
|
icon: "mdi:microsoft",
|
|
126
126
|
label: "Microsoft",
|
|
127
127
|
size: r.size,
|
|
128
128
|
onClick: e(u)
|
|
129
|
-
}, null, 8, ["size", "onClick"])) :
|
|
129
|
+
}, null, 8, ["size", "onClick"])) : k("", !0)])]));
|
|
130
130
|
}
|
|
131
131
|
}), Fe = /* @__PURE__ */ P(Ne, [["__scopeId", "data-v-7c6620c0"]]);
|
|
132
132
|
function Ge(n) {
|
|
@@ -150,7 +150,7 @@ function Me(n) {
|
|
|
150
150
|
data: n
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
const He = /* @__PURE__ */
|
|
153
|
+
const He = /* @__PURE__ */ S({
|
|
154
154
|
__name: "AuthkitSendVerifyCode",
|
|
155
155
|
props: {
|
|
156
156
|
size: {
|
|
@@ -205,7 +205,7 @@ const He = /* @__PURE__ */ k({
|
|
|
205
205
|
class: "sendVerifyCodeItem"
|
|
206
206
|
}, We = {
|
|
207
207
|
class: "handle"
|
|
208
|
-
}, Ke = /* @__PURE__ */
|
|
208
|
+
}, Ke = /* @__PURE__ */ S({
|
|
209
209
|
__name: "AuthkitPasswordUpdateAndVerify",
|
|
210
210
|
props: {
|
|
211
211
|
size: {
|
|
@@ -356,7 +356,7 @@ const He = /* @__PURE__ */ k({
|
|
|
356
356
|
}
|
|
357
357
|
}), Ze = /* @__PURE__ */ P(Ke, [["__scopeId", "data-v-3e79c0eb"]]), Je = {
|
|
358
358
|
class: "SwitchSignIn"
|
|
359
|
-
}, Qe = /* @__PURE__ */
|
|
359
|
+
}, Qe = /* @__PURE__ */ S({
|
|
360
360
|
__name: "AuthkitSwitchSignIn",
|
|
361
361
|
emits: ["switchSignIn"],
|
|
362
362
|
setup(n, {
|
|
@@ -379,7 +379,7 @@ const He = /* @__PURE__ */ k({
|
|
|
379
379
|
}
|
|
380
380
|
}), ue = /* @__PURE__ */ P(Qe, [["__scopeId", "data-v-fc1d3903"]]), Xe = {
|
|
381
381
|
class: "ResetPassword"
|
|
382
|
-
}, Ye = /* @__PURE__ */
|
|
382
|
+
}, Ye = /* @__PURE__ */ S({
|
|
383
383
|
__name: "AuthkitResetPassword",
|
|
384
384
|
props: {
|
|
385
385
|
size: {
|
|
@@ -414,7 +414,7 @@ const He = /* @__PURE__ */ k({
|
|
|
414
414
|
}
|
|
415
415
|
}), et = /* @__PURE__ */ P(Ye, [["__scopeId", "data-v-0a6b6c07"]]), tt = {
|
|
416
416
|
class: "ServiceAgreementAndPrivacyProtection"
|
|
417
|
-
}, it = /* @__PURE__ */
|
|
417
|
+
}, it = /* @__PURE__ */ S({
|
|
418
418
|
__name: "AuthkitServiceAgreementAndPrivacyProtection",
|
|
419
419
|
emits: ["toUserServiceAgreement", "toPrivacyPolicy"],
|
|
420
420
|
setup(n, {
|
|
@@ -445,7 +445,7 @@ const He = /* @__PURE__ */ k({
|
|
|
445
445
|
class: "content"
|
|
446
446
|
}, at = {
|
|
447
447
|
class: "handle"
|
|
448
|
-
}, lt = /* @__PURE__ */
|
|
448
|
+
}, lt = /* @__PURE__ */ S({
|
|
449
449
|
__name: "AuthkitPasswordAuth",
|
|
450
450
|
props: {
|
|
451
451
|
size: {
|
|
@@ -542,7 +542,7 @@ const He = /* @__PURE__ */ k({
|
|
|
542
542
|
}
|
|
543
543
|
}), ot = /* @__PURE__ */ P(lt, [["__scopeId", "data-v-c9ba960d"]]), rt = {
|
|
544
544
|
class: "SwitchSignUpOrResetPassword"
|
|
545
|
-
}, ut = /* @__PURE__ */
|
|
545
|
+
}, ut = /* @__PURE__ */ S({
|
|
546
546
|
__name: "AuthkitSwitchSignUpOrResetPassword",
|
|
547
547
|
emits: ["switchSignUp", "switchResetPassword"],
|
|
548
548
|
setup(n, {
|
|
@@ -577,7 +577,7 @@ const He = /* @__PURE__ */ k({
|
|
|
577
577
|
}
|
|
578
578
|
}), dt = /* @__PURE__ */ P(ut, [["__scopeId", "data-v-14e3aab2"]]), ct = {
|
|
579
579
|
class: "SignIn"
|
|
580
|
-
}, mt = /* @__PURE__ */
|
|
580
|
+
}, mt = /* @__PURE__ */ S({
|
|
581
581
|
__name: "AuthkitSignIn",
|
|
582
582
|
props: {
|
|
583
583
|
size: {
|
|
@@ -604,13 +604,13 @@ const He = /* @__PURE__ */ k({
|
|
|
604
604
|
async function _(s) {
|
|
605
605
|
console.log(s, "datadatadata"), r("submit", s);
|
|
606
606
|
}
|
|
607
|
-
return (s, l) => (g(), U("div", ct, [
|
|
607
|
+
return (s, l) => (g(), U("div", ct, [k("", !0), o(ot, {
|
|
608
608
|
loading: i.loading,
|
|
609
609
|
size: i.size,
|
|
610
610
|
onSubmit: _
|
|
611
611
|
}, null, 8, ["loading", "size"]), u.value ? ne(s.$slots, "OAuth", {
|
|
612
612
|
key: 1
|
|
613
|
-
}, void 0, !0) :
|
|
613
|
+
}, void 0, !0) : k("", !0), o(dt, {
|
|
614
614
|
onSwitchSignUp: t,
|
|
615
615
|
onSwitchResetPassword: d
|
|
616
616
|
})]));
|
|
@@ -621,7 +621,7 @@ const He = /* @__PURE__ */ k({
|
|
|
621
621
|
class: "sendVerifyCodeItem"
|
|
622
622
|
}, gt = {
|
|
623
623
|
class: "handle"
|
|
624
|
-
}, _t = /* @__PURE__ */
|
|
624
|
+
}, _t = /* @__PURE__ */ S({
|
|
625
625
|
__name: "AuthkitEmailUpdate",
|
|
626
626
|
props: {
|
|
627
627
|
size: {
|
|
@@ -770,7 +770,7 @@ const He = /* @__PURE__ */ k({
|
|
|
770
770
|
}
|
|
771
771
|
}), de = /* @__PURE__ */ P(_t, [["__scopeId", "data-v-91c7ee6b"]]), ht = {
|
|
772
772
|
class: "SignUp"
|
|
773
|
-
}, yt = /* @__PURE__ */
|
|
773
|
+
}, yt = /* @__PURE__ */ S({
|
|
774
774
|
__name: "AuthkitSignUp",
|
|
775
775
|
props: {
|
|
776
776
|
size: {
|
|
@@ -802,7 +802,7 @@ const He = /* @__PURE__ */ k({
|
|
|
802
802
|
onSwitchSignIn: m
|
|
803
803
|
})]));
|
|
804
804
|
}
|
|
805
|
-
}), bt = /* @__PURE__ */ P(yt, [["__scopeId", "data-v-3e0c04dc"]]), wt = ["src"], zt = /* @__PURE__ */
|
|
805
|
+
}), bt = /* @__PURE__ */ P(yt, [["__scopeId", "data-v-3e0c04dc"]]), wt = ["src"], zt = /* @__PURE__ */ S({
|
|
806
806
|
__name: "AuthkitAuthTitle",
|
|
807
807
|
props: {
|
|
808
808
|
size: {
|
|
@@ -840,13 +840,13 @@ const He = /* @__PURE__ */ k({
|
|
|
840
840
|
style: D({
|
|
841
841
|
width: r
|
|
842
842
|
})
|
|
843
|
-
}, null, 12, wt)) :
|
|
843
|
+
}, null, 12, wt)) : k("", !0), w("span", null, L(d.value), 1), ne(_.$slots, "default", {}, void 0, !0)], 4));
|
|
844
844
|
}
|
|
845
|
-
}), ce = /* @__PURE__ */ P(zt, [["__scopeId", "data-v-8255764a"]]),
|
|
845
|
+
}), ce = /* @__PURE__ */ P(zt, [["__scopeId", "data-v-8255764a"]]), kt = {
|
|
846
846
|
class: "Auth"
|
|
847
|
-
},
|
|
847
|
+
}, St = {
|
|
848
848
|
class: "body"
|
|
849
|
-
}, At = /* @__PURE__ */
|
|
849
|
+
}, At = /* @__PURE__ */ S({
|
|
850
850
|
__name: "AuthkitAuth",
|
|
851
851
|
props: {
|
|
852
852
|
size: {
|
|
@@ -882,11 +882,11 @@ const He = /* @__PURE__ */ k({
|
|
|
882
882
|
function V() {
|
|
883
883
|
i("toUserServiceAgreement");
|
|
884
884
|
}
|
|
885
|
-
return b(), (A, x) => (g(), U("div",
|
|
885
|
+
return b(), (A, x) => (g(), U("div", kt, [n.showTitle ? (g(), y(ce, {
|
|
886
886
|
key: 0,
|
|
887
887
|
size: 32,
|
|
888
888
|
"font-size": 20
|
|
889
|
-
})) :
|
|
889
|
+
})) : k("", !0), w("div", St, [e(d) === "signIn" ? (g(), y(ft, {
|
|
890
890
|
key: 0,
|
|
891
891
|
size: r.size,
|
|
892
892
|
loading: e(_),
|
|
@@ -910,12 +910,12 @@ const He = /* @__PURE__ */ k({
|
|
|
910
910
|
loading: e(l),
|
|
911
911
|
onSwitchSignIn: e(v),
|
|
912
912
|
onSubmit: e(t)
|
|
913
|
-
}, null, 8, ["size", "loading", "onSwitchSignIn", "onSubmit"])) :
|
|
913
|
+
}, null, 8, ["size", "loading", "onSwitchSignIn", "onSubmit"])) : k("", !0), o(st, {
|
|
914
914
|
onToPrivacyPolicy: q,
|
|
915
915
|
onToUserServiceAgreement: V
|
|
916
916
|
})])]));
|
|
917
917
|
}
|
|
918
|
-
}), It = /* @__PURE__ */ P(At, [["__scopeId", "data-v-865d3320"]]), Pt = /* @__PURE__ */
|
|
918
|
+
}), It = /* @__PURE__ */ P(At, [["__scopeId", "data-v-865d3320"]]), Pt = /* @__PURE__ */ S({
|
|
919
919
|
__name: "AuthkitAuthModal",
|
|
920
920
|
props: {
|
|
921
921
|
size: {
|
|
@@ -964,7 +964,7 @@ const He = /* @__PURE__ */ k({
|
|
|
964
964
|
_: 1
|
|
965
965
|
}, 8, ["visible"]));
|
|
966
966
|
}
|
|
967
|
-
}), fi = /* @__PURE__ */ P(Pt, [["__scopeId", "data-v-a22ae615"]]), Ut =
|
|
967
|
+
}), fi = /* @__PURE__ */ P(Pt, [["__scopeId", "data-v-a22ae615"]]), Ut = S({
|
|
968
968
|
name: "IconCamera",
|
|
969
969
|
props: {
|
|
970
970
|
size: {
|
|
@@ -1033,7 +1033,7 @@ const $t = Object.assign(j, {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
}), xt = {
|
|
1035
1035
|
class: "handle"
|
|
1036
|
-
}, qt = /* @__PURE__ */
|
|
1036
|
+
}, qt = /* @__PURE__ */ S({
|
|
1037
1037
|
__name: "AuthkitPersonalInformation",
|
|
1038
1038
|
props: {
|
|
1039
1039
|
size: {
|
|
@@ -1059,7 +1059,7 @@ const $t = Object.assign(j, {
|
|
|
1059
1059
|
avatarUrl: ""
|
|
1060
1060
|
}), l = h(!1), p = h(), f = h(!1);
|
|
1061
1061
|
function v() {
|
|
1062
|
-
f.value = !0,
|
|
1062
|
+
f.value = !0, ke().then(({
|
|
1063
1063
|
data: V
|
|
1064
1064
|
}) => {
|
|
1065
1065
|
f.value = !1, s.value.id = V.id, s.value.nickname = V.nickname, s.value.description = V.description, s.value.avatar = V.avatar, s.value.avatarUrl = V.avatarUrl;
|
|
@@ -1222,7 +1222,7 @@ const Tt = {
|
|
|
1222
1222
|
class: "sendVerifyCodeItem"
|
|
1223
1223
|
}, Lt = {
|
|
1224
1224
|
class: "handle"
|
|
1225
|
-
}, Bt = /* @__PURE__ */
|
|
1225
|
+
}, Bt = /* @__PURE__ */ S({
|
|
1226
1226
|
__name: "AuthkitEmailVerify",
|
|
1227
1227
|
props: {
|
|
1228
1228
|
email: {
|
|
@@ -1336,7 +1336,7 @@ const Tt = {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
}), Y = /* @__PURE__ */ P(Bt, [["__scopeId", "data-v-89ebb370"]]), Et = {
|
|
1338
1338
|
class: "handle"
|
|
1339
|
-
}, Ot = /* @__PURE__ */
|
|
1339
|
+
}, Ot = /* @__PURE__ */ S({
|
|
1340
1340
|
__name: "AuthkitPasswordUpdate",
|
|
1341
1341
|
props: {
|
|
1342
1342
|
size: {
|
|
@@ -1358,7 +1358,7 @@ const Tt = {
|
|
|
1358
1358
|
const s = {
|
|
1359
1359
|
password: t.value.password
|
|
1360
1360
|
};
|
|
1361
|
-
|
|
1361
|
+
Se(s).then(() => {
|
|
1362
1362
|
i.value = !1, r("submit");
|
|
1363
1363
|
}).catch(() => {
|
|
1364
1364
|
i.value = !1;
|
|
@@ -1434,7 +1434,7 @@ const Tt = {
|
|
|
1434
1434
|
_: 1
|
|
1435
1435
|
}, 8, ["model", "size"]));
|
|
1436
1436
|
}
|
|
1437
|
-
}), Nt = /* @__PURE__ */ P(Ot, [["__scopeId", "data-v-3a76b542"]]), Ft = /* @__PURE__ */
|
|
1437
|
+
}), Nt = /* @__PURE__ */ P(Ot, [["__scopeId", "data-v-3a76b542"]]), Ft = /* @__PURE__ */ S({
|
|
1438
1438
|
__name: "AuthkitSetPassword",
|
|
1439
1439
|
props: {
|
|
1440
1440
|
size: {
|
|
@@ -1477,7 +1477,7 @@ const Tt = {
|
|
|
1477
1477
|
default: c(() => [l[3] || (l[3] = z(" 请先去绑定邮箱或者手机号码,才能设置密码 "))]),
|
|
1478
1478
|
_: 1,
|
|
1479
1479
|
__: [3]
|
|
1480
|
-
})) :
|
|
1480
|
+
})) : k("", !0), (v = e(a)) != null && v.email && m.value === "hidden" ? (g(), y(e(T), {
|
|
1481
1481
|
key: 1,
|
|
1482
1482
|
title: "更改密码"
|
|
1483
1483
|
}, {
|
|
@@ -1493,20 +1493,20 @@ const Tt = {
|
|
|
1493
1493
|
default: c(() => [l[5] || (l[5] = z(" 为了账户安全修改密码前会先验证身份 "))]),
|
|
1494
1494
|
_: 1,
|
|
1495
1495
|
__: [5]
|
|
1496
|
-
})) :
|
|
1496
|
+
})) : k("", !0), m.value === "update" ? (g(), y(Nt, {
|
|
1497
1497
|
key: 2,
|
|
1498
1498
|
size: u.size,
|
|
1499
1499
|
loading: e(r),
|
|
1500
1500
|
onSubmit: d
|
|
1501
|
-
}, null, 8, ["size", "loading"])) :
|
|
1501
|
+
}, null, 8, ["size", "loading"])) : k("", !0), m.value === "verify" ? (g(), y(Y, {
|
|
1502
1502
|
key: 3,
|
|
1503
1503
|
size: u.size,
|
|
1504
1504
|
email: (b = e(a)) == null ? void 0 : b.email,
|
|
1505
1505
|
onNext: _
|
|
1506
|
-
}, null, 8, ["size", "email"])) :
|
|
1506
|
+
}, null, 8, ["size", "email"])) : k("", !0)], 64);
|
|
1507
1507
|
};
|
|
1508
1508
|
}
|
|
1509
|
-
}), Gt = /* @__PURE__ */
|
|
1509
|
+
}), Gt = /* @__PURE__ */ S({
|
|
1510
1510
|
__name: "AuthkitEmailBinding",
|
|
1511
1511
|
props: {
|
|
1512
1512
|
size: {
|
|
@@ -1560,7 +1560,7 @@ const Tt = {
|
|
|
1560
1560
|
default: c(() => [l[3] || (l[3] = z(" 您还未绑定邮箱,请点击绑定邮箱 "))]),
|
|
1561
1561
|
_: 1,
|
|
1562
1562
|
__: [3]
|
|
1563
|
-
})) :
|
|
1563
|
+
})) : k("", !0), (f = e(a)) != null && f.email && m.value === "hidden" ? (g(), y(e(T), {
|
|
1564
1564
|
key: 1,
|
|
1565
1565
|
title: "更改邮箱"
|
|
1566
1566
|
}, {
|
|
@@ -1578,20 +1578,20 @@ const Tt = {
|
|
|
1578
1578
|
return [z(L(`您绑定的邮箱为${e(me)((b = e(a)) == null ? void 0 : b.email)}`) + " ", 1)];
|
|
1579
1579
|
}),
|
|
1580
1580
|
_: 1
|
|
1581
|
-
})) :
|
|
1581
|
+
})) : k("", !0), m.value === "update" ? (g(), y(de, {
|
|
1582
1582
|
key: 2,
|
|
1583
1583
|
loading: e(r),
|
|
1584
1584
|
size: u.size,
|
|
1585
1585
|
onSubmit: d
|
|
1586
|
-
}, null, 8, ["loading", "size"])) :
|
|
1586
|
+
}, null, 8, ["loading", "size"])) : k("", !0), m.value === "verify" ? (g(), y(Y, {
|
|
1587
1587
|
key: 3,
|
|
1588
1588
|
size: u.size,
|
|
1589
1589
|
email: (v = e(a)) == null ? void 0 : v.email,
|
|
1590
1590
|
onNext: _
|
|
1591
|
-
}, null, 8, ["size", "email"])) :
|
|
1591
|
+
}, null, 8, ["size", "email"])) : k("", !0)], 64);
|
|
1592
1592
|
};
|
|
1593
1593
|
}
|
|
1594
|
-
}), Mt = /* @__PURE__ */ P(Gt, [["__scopeId", "data-v-
|
|
1594
|
+
}), Mt = /* @__PURE__ */ P(Gt, [["__scopeId", "data-v-3e555ec8"]]), Ht = /* @__PURE__ */ S({
|
|
1595
1595
|
__name: "AuthkitGithubBinding",
|
|
1596
1596
|
props: {
|
|
1597
1597
|
size: {
|
|
@@ -1652,7 +1652,7 @@ const Tt = {
|
|
|
1652
1652
|
default: c(() => [v[3] || (v[3] = z(" 请尚未绑定GitHub,请点击绑定GitHUb "))]),
|
|
1653
1653
|
_: 1,
|
|
1654
1654
|
__: [3]
|
|
1655
|
-
})) :
|
|
1655
|
+
})) : k("", !0), (q = e(a)) != null && q.github && i.value === "hidden" ? (g(), y(e(T), {
|
|
1656
1656
|
key: 1,
|
|
1657
1657
|
title: "解绑GitHub"
|
|
1658
1658
|
}, {
|
|
@@ -1673,12 +1673,12 @@ const Tt = {
|
|
|
1673
1673
|
}, null, 8, ["image-url"])];
|
|
1674
1674
|
}),
|
|
1675
1675
|
_: 1
|
|
1676
|
-
})) :
|
|
1676
|
+
})) : k("", !0), i.value === "bind" || i.value === "unbind" ? (g(), y(Y, {
|
|
1677
1677
|
key: 2,
|
|
1678
1678
|
size: t.size,
|
|
1679
1679
|
email: (V = e(a)) == null ? void 0 : V.email,
|
|
1680
1680
|
onNext: l
|
|
1681
|
-
}, null, 8, ["size", "email"])) :
|
|
1681
|
+
}, null, 8, ["size", "email"])) : k("", !0)], 64);
|
|
1682
1682
|
};
|
|
1683
1683
|
}
|
|
1684
1684
|
}), jt = {
|
|
@@ -1687,7 +1687,7 @@ const Tt = {
|
|
|
1687
1687
|
class: "left"
|
|
1688
1688
|
}, Wt = {
|
|
1689
1689
|
class: "right"
|
|
1690
|
-
}, Kt = /* @__PURE__ */
|
|
1690
|
+
}, Kt = /* @__PURE__ */ S({
|
|
1691
1691
|
__name: "AuthkitAppSetting",
|
|
1692
1692
|
emits: ["confirm", "cancel"],
|
|
1693
1693
|
setup(n, {
|
|
@@ -1775,16 +1775,16 @@ const Tt = {
|
|
|
1775
1775
|
}, null, 8, ["selected-keys", "menus"])]), w("div", Wt, [t.value[0] === "PersonalInformation" ? (g(), y(Rt, {
|
|
1776
1776
|
key: 0,
|
|
1777
1777
|
size: u.value
|
|
1778
|
-
}, null, 8, ["size"])) :
|
|
1778
|
+
}, null, 8, ["size"])) : k("", !0), t.value[0] === "EmailBinding" ? (g(), y(Mt, {
|
|
1779
1779
|
key: 1,
|
|
1780
1780
|
size: u.value
|
|
1781
|
-
}, null, 8, ["size"])) :
|
|
1781
|
+
}, null, 8, ["size"])) : k("", !0), t.value[0] === "SetPassword" ? (g(), y(Ft, {
|
|
1782
1782
|
key: 2,
|
|
1783
1783
|
size: u.value
|
|
1784
|
-
}, null, 8, ["size"])) :
|
|
1784
|
+
}, null, 8, ["size"])) : k("", !0), t.value[0] === "GithubBinding" ? (g(), y(Ht, {
|
|
1785
1785
|
key: 3,
|
|
1786
1786
|
size: u.value
|
|
1787
|
-
}, null, 8, ["size"])) :
|
|
1787
|
+
}, null, 8, ["size"])) : k("", !0)])])]),
|
|
1788
1788
|
_: 1
|
|
1789
1789
|
}, 8, ["visible"]));
|
|
1790
1790
|
}
|
|
@@ -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 p, ListItemMeta as d, 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-DwKPhFjM.js";
|
|
12
12
|
const O = {
|
|
13
13
|
class: "header"
|
|
14
14
|
}, U = ["href"], B = {
|
|
@@ -6,9 +6,9 @@ import { defineComponent as _, createElementBlock as y, openBlock as l, normaliz
|
|
|
6
6
|
import { Tag as ge, Button as F, Avatar as O, Dropdown as ye, Divider as T, Doption as g } from "@arco-design/web-vue";
|
|
7
7
|
import { S as _e } from "./PaySubscriptions-CFKM4gyf.js";
|
|
8
8
|
import { R as Se } from "./ReferrerReferees-q8H-v-Hq.js";
|
|
9
|
-
import { a as q, u as be, b as Ce, c as $e } from "./useAuthkitProps-
|
|
9
|
+
import { a as q, u as be, b as Ce, c as $e } from "./useAuthkitProps-DwKPhFjM.js";
|
|
10
10
|
import { u as he } from "./useUserPanelProps-Dt9zkMJw.js";
|
|
11
|
-
import { b as Ie, a as xe } from "./AuthkitAppSetting-
|
|
11
|
+
import { b as Ie, a as xe } from "./AuthkitAppSetting-D4uAa2Ni.js";
|
|
12
12
|
import { d as Ue } from "./FeedbackFeedBackModal-DKgZZ8OR.js";
|
|
13
13
|
import { M as Be } from "./MessageHandle-C9nSNw5A.js";
|
|
14
14
|
/* empty css */
|
|
@@ -48,20 +48,20 @@ const Pe = _({
|
|
|
48
48
|
}) {
|
|
49
49
|
const i = K("icon"), s = B(() => [i, `${i}-export`, {
|
|
50
50
|
[`${i}-spin`]: e.spin
|
|
51
|
-
}]),
|
|
51
|
+
}]), c = B(() => {
|
|
52
52
|
const o = {};
|
|
53
53
|
return e.size && (o.fontSize = W(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
|
|
54
54
|
});
|
|
55
55
|
return {
|
|
56
56
|
cls: s,
|
|
57
|
-
innerStyle:
|
|
57
|
+
innerStyle: c,
|
|
58
58
|
onClick: (o) => {
|
|
59
59
|
n("click", o);
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
}), we = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
64
|
-
function De(e, n, i, s,
|
|
64
|
+
function De(e, n, i, s, c, m) {
|
|
65
65
|
return l(), y("svg", {
|
|
66
66
|
viewBox: "0 0 48 48",
|
|
67
67
|
fill: "none",
|
|
@@ -115,20 +115,20 @@ const Me = Object.assign(D, {
|
|
|
115
115
|
}) {
|
|
116
116
|
const i = K("icon"), s = B(() => [i, `${i}-launch`, {
|
|
117
117
|
[`${i}-spin`]: e.spin
|
|
118
|
-
}]),
|
|
118
|
+
}]), c = B(() => {
|
|
119
119
|
const o = {};
|
|
120
120
|
return e.size && (o.fontSize = W(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
|
|
121
121
|
});
|
|
122
122
|
return {
|
|
123
123
|
cls: s,
|
|
124
|
-
innerStyle:
|
|
124
|
+
innerStyle: c,
|
|
125
125
|
onClick: (o) => {
|
|
126
126
|
n("click", o);
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
}), Ae = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
131
|
-
function ze(e, n, i, s,
|
|
131
|
+
function ze(e, n, i, s, c, m) {
|
|
132
132
|
return l(), y("svg", {
|
|
133
133
|
viewBox: "0 0 48 48",
|
|
134
134
|
fill: "none",
|
|
@@ -178,7 +178,7 @@ const Ne = Object.assign(M, {
|
|
|
178
178
|
emit: n
|
|
179
179
|
}) {
|
|
180
180
|
const i = e, s = n;
|
|
181
|
-
function
|
|
181
|
+
function c() {
|
|
182
182
|
s("upgradeHandle");
|
|
183
183
|
}
|
|
184
184
|
return (m, o) => (l(), y("div", je, [d("div", Le, [d("div", He, [o[0] || (o[0] = d("span", null, "我的订阅:", -1)), r(t(ge), {
|
|
@@ -194,7 +194,7 @@ const Ne = Object.assign(M, {
|
|
|
194
194
|
type: "primary",
|
|
195
195
|
size: "mini",
|
|
196
196
|
class: "updatePricing",
|
|
197
|
-
onClick:
|
|
197
|
+
onClick: c
|
|
198
198
|
}, {
|
|
199
199
|
default: a(() => o[1] || (o[1] = [f(" 升级 ")])),
|
|
200
200
|
_: 1,
|
|
@@ -271,7 +271,7 @@ const Ne = Object.assign(M, {
|
|
|
271
271
|
const i = n, {
|
|
272
272
|
userProfile: s
|
|
273
273
|
} = q();
|
|
274
|
-
function
|
|
274
|
+
function c() {
|
|
275
275
|
i("toSignIn");
|
|
276
276
|
}
|
|
277
277
|
return (m, o) => t(s) ? (l(), v(t(ye), {
|
|
@@ -306,7 +306,7 @@ const Ne = Object.assign(M, {
|
|
|
306
306
|
key: 0,
|
|
307
307
|
type: "primary",
|
|
308
308
|
class: "handle",
|
|
309
|
-
onClick:
|
|
309
|
+
onClick: c
|
|
310
310
|
}, {
|
|
311
311
|
default: a(() => o[0] || (o[0] = [f(" 登陆 ")])),
|
|
312
312
|
_: 1,
|
|
@@ -321,7 +321,7 @@ const Ne = Object.assign(M, {
|
|
|
321
321
|
setup(e, {
|
|
322
322
|
emit: n
|
|
323
323
|
}) {
|
|
324
|
-
const i = p(), s = p(),
|
|
324
|
+
const i = p(), s = p(), c = p(Symbol("key")), m = n, {
|
|
325
325
|
prefixUrl: o,
|
|
326
326
|
bucketId: k,
|
|
327
327
|
bucket: S,
|
|
@@ -361,7 +361,7 @@ const Ne = Object.assign(M, {
|
|
|
361
361
|
P();
|
|
362
362
|
});
|
|
363
363
|
function re() {
|
|
364
|
-
|
|
364
|
+
c.value = Symbol("key");
|
|
365
365
|
}
|
|
366
366
|
function se() {
|
|
367
367
|
s.value.show = !1;
|
|
@@ -372,10 +372,10 @@ const Ne = Object.assign(M, {
|
|
|
372
372
|
function le() {
|
|
373
373
|
w.value.setData(null, !0);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function ue() {
|
|
376
376
|
w.value.setData(null, !0);
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function ce() {
|
|
379
379
|
N.value.openNotification();
|
|
380
380
|
}
|
|
381
381
|
function pe() {
|
|
@@ -391,25 +391,25 @@ const Ne = Object.assign(M, {
|
|
|
391
391
|
m("toHomePage");
|
|
392
392
|
}
|
|
393
393
|
async function ke() {
|
|
394
|
-
localStorage.removeItem("jwtToken"),
|
|
394
|
+
await P(), localStorage.removeItem("jwtToken"), m("signOut");
|
|
395
395
|
}
|
|
396
|
-
return (U,
|
|
396
|
+
return (U, u) => (l(), y("div", nt, [r(tt, {
|
|
397
397
|
onToSignIn: ie
|
|
398
398
|
}, {
|
|
399
399
|
DoptionList: a(() => [r(t(g), {
|
|
400
400
|
value: "messages",
|
|
401
401
|
class: "Doption",
|
|
402
|
-
onClick:
|
|
402
|
+
onClick: ce
|
|
403
403
|
}, {
|
|
404
|
-
icon: a(() =>
|
|
404
|
+
icon: a(() => u[0] || (u[0] = [f("消息中心")])),
|
|
405
405
|
default: a(() => [r(t($))]),
|
|
406
406
|
_: 1
|
|
407
407
|
}), r(t(g), {
|
|
408
408
|
value: "setting",
|
|
409
409
|
class: "Doption",
|
|
410
|
-
onClick:
|
|
410
|
+
onClick: ue
|
|
411
411
|
}, {
|
|
412
|
-
icon: a(() =>
|
|
412
|
+
icon: a(() => u[1] || (u[1] = [f("系统设置 ")])),
|
|
413
413
|
default: a(() => [r(t($))]),
|
|
414
414
|
_: 1
|
|
415
415
|
}), r(t(g), {
|
|
@@ -417,7 +417,7 @@ const Ne = Object.assign(M, {
|
|
|
417
417
|
class: "Doption",
|
|
418
418
|
onClick: pe
|
|
419
419
|
}, {
|
|
420
|
-
icon: a(() =>
|
|
420
|
+
icon: a(() => u[2] || (u[2] = [f("订阅信息 ")])),
|
|
421
421
|
default: a(() => [r(t($))]),
|
|
422
422
|
_: 1
|
|
423
423
|
}), r(t(g), {
|
|
@@ -425,7 +425,7 @@ const Ne = Object.assign(M, {
|
|
|
425
425
|
class: "Doption",
|
|
426
426
|
onClick: de
|
|
427
427
|
}, {
|
|
428
|
-
icon: a(() =>
|
|
428
|
+
icon: a(() => u[3] || (u[3] = [f("系统反馈 ")])),
|
|
429
429
|
default: a(() => [r(t($))]),
|
|
430
430
|
_: 1
|
|
431
431
|
}), r(t(g), {
|
|
@@ -433,7 +433,7 @@ const Ne = Object.assign(M, {
|
|
|
433
433
|
class: "Doption",
|
|
434
434
|
onClick: fe
|
|
435
435
|
}, {
|
|
436
|
-
icon: a(() =>
|
|
436
|
+
icon: a(() => u[4] || (u[4] = [f("邀请 ")])),
|
|
437
437
|
default: a(() => [r(t($))]),
|
|
438
438
|
_: 1
|
|
439
439
|
}), r(t(T), {
|
|
@@ -445,7 +445,7 @@ const Ne = Object.assign(M, {
|
|
|
445
445
|
class: "Doption",
|
|
446
446
|
onClick: me
|
|
447
447
|
}, {
|
|
448
|
-
icon: a(() =>
|
|
448
|
+
icon: a(() => u[5] || (u[5] = [f("主页 ")])),
|
|
449
449
|
default: a(() => [r(t(Ne))]),
|
|
450
450
|
_: 1
|
|
451
451
|
}), r(t(g), {
|
|
@@ -453,7 +453,7 @@ const Ne = Object.assign(M, {
|
|
|
453
453
|
class: "Doption",
|
|
454
454
|
onClick: ke
|
|
455
455
|
}, {
|
|
456
|
-
icon: a(() =>
|
|
456
|
+
icon: a(() => u[6] || (u[6] = [f("退出登陆 ")])),
|
|
457
457
|
default: a(() => [r(t(Me))]),
|
|
458
458
|
_: 1
|
|
459
459
|
})]),
|
|
@@ -491,7 +491,7 @@ const Ne = Object.assign(M, {
|
|
|
491
491
|
}, null, 8, ["prefix-url"]), (l(), v(Ue, {
|
|
492
492
|
ref_key: "FeedBackModalRef",
|
|
493
493
|
ref: i,
|
|
494
|
-
key:
|
|
494
|
+
key: c.value,
|
|
495
495
|
"app-id": t(R),
|
|
496
496
|
"prefix-url": t(o),
|
|
497
497
|
"bucket-id": t(k),
|
|
@@ -501,7 +501,7 @@ const Ne = Object.assign(M, {
|
|
|
501
501
|
onCancel: re
|
|
502
502
|
}, null, 8, ["app-id", "prefix-url", "bucket-id", "bucket", "region"]))]));
|
|
503
503
|
}
|
|
504
|
-
}), $t = /* @__PURE__ */ I(ot, [["__scopeId", "data-v-
|
|
504
|
+
}), $t = /* @__PURE__ */ I(ot, [["__scopeId", "data-v-9ae39d68"]]);
|
|
505
505
|
export {
|
|
506
506
|
Fe as S,
|
|
507
507
|
$t as U,
|
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-D4uAa2Ni.js";
|
|
2
|
+
import { A as y, a as E } from "./AuthkitAuthorize-WTE1sCbr.js";
|
|
3
|
+
import { U as b, u as C, b as R, c as V, a as v } from "./useAuthkitProps-DwKPhFjM.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-Cd6RiAPX.js";
|
|
4
4
|
import { I as x } from "./FeedbackFeedBackModal-DKgZZ8OR.js";
|
|
5
5
|
import { M as d, a as U } from "./Menu-2SePYCYT.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-xh-QbW8U.js";
|
|
7
7
|
import { S as B } from "./PaySubscriptions-CFKM4gyf.js";
|
|
8
8
|
import { R as P } from "./ReferrerReferees-q8H-v-Hq.js";
|
|
9
9
|
import { _ as G } from "./Upload.vue_vue_type_script_setup_true_lang-DqfW_OJJ.js";
|
package/dist/composables.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as t, u, b as a, c as o, a as r } from "./useAuthkitProps-
|
|
1
|
+
import { U as t, u, b as a, c as o, a as r } from "./useAuthkitProps-DwKPhFjM.js";
|
|
2
2
|
import { u as A } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
3
3
|
import { u as f } from "./useMessageNotifications-lmP0vJDM.js";
|
|
4
4
|
import { u as d } from "./useUserPanelProps-Dt9zkMJw.js";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as s, a as t, b as i, A as n, a as o, c as g, n as r, E as d, k as u, l as c, _ as P, O as A, f as k, o as L, P as h, j as p, R as f, S as m, i as l, m as b, d as F, e as M, g as C, h as S } from "./AuthkitAppSetting-
|
|
2
|
-
import { U as I, u as B, b as U, c as T, a as N } from "./useAuthkitProps-
|
|
3
|
-
import { A as w, a as D } from "./AuthkitAuthorize-
|
|
1
|
+
import { A as s, a as t, b as i, A as n, a as o, c as g, n as r, E as d, k as u, l as c, _ as P, O as A, f as k, o as L, P as h, j as p, R as f, S as m, i as l, m as b, d as F, e as M, g as C, h as S } from "./AuthkitAppSetting-D4uAa2Ni.js";
|
|
2
|
+
import { U as I, u as B, b as U, c as T, a as N } from "./useAuthkitProps-DwKPhFjM.js";
|
|
3
|
+
import { A as w, a as D } from "./AuthkitAuthorize-WTE1sCbr.js";
|
|
4
4
|
import { u as v } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
5
5
|
import { A as G, C as H, _ as O, a as _, D as V, E as j, b as z, M as W, I as q, c as J, N as K, f as Q, d as X, e as Y } from "./MessageHandle-C9nSNw5A.js";
|
|
6
6
|
import { M as $, a as aa } from "./MessageMenu-x26lfAeK.js";
|
|
@@ -12,7 +12,7 @@ import { C as de, a as ue } from "./CollapseItem-Cw1vcdLu.js";
|
|
|
12
12
|
import { C as Pe, G as Ae, S as ke, W as Le } from "./WidthContainer-D795bWdT.js";
|
|
13
13
|
import { C as pe, E as fe } from "./CustomTable-Cd6RiAPX.js";
|
|
14
14
|
import { M as le, a as be } from "./Menu-2SePYCYT.js";
|
|
15
|
-
import { S as Me, b as Ce, c as Se, a as xe, U as Ie, S as Be } from "./UserPanel-
|
|
15
|
+
import { S as Me, b as Ce, c as Se, a as xe, U as Ie, S as Be } from "./UserPanel-xh-QbW8U.js";
|
|
16
16
|
import { S as Te, S as Ne } from "./PaySubscriptions-CFKM4gyf.js";
|
|
17
17
|
import { R as we, R as De } from "./ReferrerReferees-q8H-v-Hq.js";
|
|
18
18
|
import { _ as ve } from "./Upload.vue_vue_type_script_setup_true_lang-DqfW_OJJ.js";
|