@huyooo/ui 1.0.4 → 1.0.6

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.
@@ -7,7 +7,7 @@ import { Message as X, Form as E, FormItem as V, Input as U, Button as B, Link a
7
7
  import { a as M, u as G } from "./useAuthkitAuth-3m0yW6uP.js";
8
8
  import { e as O, g as oe, u as we, s as qe } from "./apiClients-BcXOLuYu.js";
9
9
  import { u as N } from "./useAuthkitAppsAuthPageInfo-CNudJd04.js";
10
- import { o as ve, i as xe, j as ge, k as be, u as Le, l as Be, m as Oe, n as J, p as Me, h as _e, S as j, q as W, r as ke, s as Fe, b as De } from "./AuthkitAppSetting-BN8-xgNq.js";
10
+ import { o as ve, i as xe, j as ge, k as be, u as Le, l as Be, m as Oe, n as J, p as Me, h as _e, S as j, q as K, r as ke, s as Fe, b as De } from "./AuthkitAppSetting-BN8-xgNq.js";
11
11
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  /* empty css */
13
13
  import "./index-BkLvw1PU.js";
@@ -20,10 +20,10 @@ import "./CustomTable-BzGfaAVH.js";
20
20
  /* empty css */
21
21
  import { TiptapEditor as Ge, TiptapTitle as Ne } from "@huyooo/vue-tiptap";
22
22
  import { f as je } from "./fetchAuthPageAboutUs-dzTSwRsB.js";
23
- const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
23
+ const Ke = ["title", "aria-label", "disabled"], We = {
24
24
  key: 0,
25
25
  class: "OAuthItem__spinner"
26
- }, Je = /* @__PURE__ */ A({
26
+ }, Qe = /* @__PURE__ */ A({
27
27
  __name: "AuthkitOauthItem",
28
28
  props: {
29
29
  size: {
@@ -63,7 +63,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
63
63
  "aria-label": d.label,
64
64
  disabled: d.disabled || d.loading,
65
65
  style: H(r.value)
66
- }, [d.loading ? (l(), _("span", Qe)) : Z(n.$slots, "icon", {
66
+ }, [d.loading ? (l(), _("span", We)) : Z(n.$slots, "icon", {
67
67
  key: 1
68
68
  }, () => [d.icon ? (l(), S(be, {
69
69
  key: 0,
@@ -71,15 +71,15 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
71
71
  size: e(ve)
72
72
  }, null, 8, ["icon", "size"])) : I("", !0)], !0)], 14, Ke));
73
73
  }
74
- }), Q = /* @__PURE__ */ C(Je, [["__scopeId", "data-v-e00c1d80"]]), Xe = {
74
+ }), Q = /* @__PURE__ */ C(Qe, [["__scopeId", "data-v-e00c1d80"]]), Je = {
75
75
  class: "OAuthList"
76
- }, Ye = {
76
+ }, Xe = {
77
77
  key: 0,
78
78
  class: "OAuthDivider"
79
- }, Ze = {
79
+ }, Ye = {
80
80
  key: 1,
81
81
  class: "OAuthHint"
82
- }, et = /* @__PURE__ */ A({
82
+ }, Ze = /* @__PURE__ */ A({
83
83
  __name: "AuthkitOauthList",
84
84
  props: {
85
85
  size: {
@@ -113,8 +113,8 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
113
113
  });
114
114
  }
115
115
  const c = b, h = T(() => n.value.authMethods.login.passkey && Be() || ""), P = T(() => {
116
- const $ = n.value.oauth, R = $.google.enabled || $.microsoft.enabled || $.github.enabled || $.wechat.enabled, K = n.value.authMethods.login.passkey;
117
- return R || K;
116
+ const $ = n.value.oauth, R = $.google.enabled || $.microsoft.enabled || $.github.enabled || $.wechat.enabled, W = n.value.authMethods.login.passkey;
117
+ return R || W;
118
118
  });
119
119
  async function q() {
120
120
  if (w())
@@ -132,7 +132,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
132
132
  X.error(R);
133
133
  }
134
134
  }
135
- return ($, R) => (l(), _("div", Xe, [P.value ? (l(), _("div", Ye, [...R[4] || (R[4] = [k("span", null, "其他登录方式", -1)])])) : I("", !0), k("div", {
135
+ return ($, R) => (l(), _("div", Je, [P.value ? (l(), _("div", Xe, [...R[4] || (R[4] = [k("span", null, "其他登录方式", -1)])])) : I("", !0), k("div", {
136
136
  class: "OAuthIcons",
137
137
  style: H({
138
138
  gap: `${e(Oe)}px`
@@ -142,25 +142,25 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
142
142
  icon: e(J).google,
143
143
  label: "Google",
144
144
  size: c.size,
145
- onClick: R[0] || (R[0] = (K) => u(e(p)))
145
+ onClick: R[0] || (R[0] = (W) => u(e(p)))
146
146
  }, null, 8, ["icon", "size"])) : I("", !0), e(n).oauth.github.enabled ? (l(), S(Q, {
147
147
  key: 1,
148
148
  icon: e(J).github,
149
149
  label: "Github",
150
150
  size: c.size,
151
- onClick: R[1] || (R[1] = (K) => u(e(m)))
151
+ onClick: R[1] || (R[1] = (W) => u(e(m)))
152
152
  }, null, 8, ["icon", "size"])) : I("", !0), e(n).oauth.microsoft.enabled ? (l(), S(Q, {
153
153
  key: 2,
154
154
  icon: e(J).microsoft,
155
155
  label: "Microsoft",
156
156
  size: c.size,
157
- onClick: R[2] || (R[2] = (K) => u(e(t)))
157
+ onClick: R[2] || (R[2] = (W) => u(e(t)))
158
158
  }, null, 8, ["icon", "size"])) : I("", !0), e(n).oauth.wechat.enabled ? (l(), S(Q, {
159
159
  key: 3,
160
160
  icon: e(J).wechat,
161
161
  label: "微信",
162
162
  size: c.size,
163
- onClick: R[3] || (R[3] = (K) => u(e(g)))
163
+ onClick: R[3] || (R[3] = (W) => u(e(g)))
164
164
  }, null, 8, ["icon", "size"])) : I("", !0), e(n).authMethods.login.passkey ? (l(), S(Q, {
165
165
  key: 4,
166
166
  icon: e(Me),
@@ -169,15 +169,15 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
169
169
  loading: e(y),
170
170
  disabled: !e(v),
171
171
  onClick: q
172
- }, null, 8, ["icon", "size", "loading", "disabled"])) : I("", !0)], 4), h.value ? (l(), _("p", Ze, L(h.value), 1)) : I("", !0)]));
172
+ }, null, 8, ["icon", "size", "loading", "disabled"])) : I("", !0)], 4), h.value ? (l(), _("p", Ye, L(h.value), 1)) : I("", !0)]));
173
173
  }
174
- }), tt = /* @__PURE__ */ C(et, [["__scopeId", "data-v-aa6a61de"]]), st = {
174
+ }), et = /* @__PURE__ */ C(Ze, [["__scopeId", "data-v-aa6a61de"]]), tt = {
175
175
  class: "content"
176
- }, at = {
176
+ }, st = {
177
177
  class: "sendVerifyCodeItem"
178
- }, ot = {
178
+ }, at = {
179
179
  class: "handle"
180
- }, it = /* @__PURE__ */ A({
180
+ }, ot = /* @__PURE__ */ A({
181
181
  __name: "AuthkitPasswordUpdateAndVerify",
182
182
  props: {
183
183
  size: {
@@ -208,7 +208,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
208
208
  email: s.value.email,
209
209
  purpose: "resetPassword"
210
210
  });
211
- v.value = !1, g.data && (s.value.emailVerifyId = g.data.emailVerifyId), W(y.value, g);
211
+ v.value = !1, g.data && (s.value.emailVerifyId = g.data.emailVerifyId), K(y.value, g);
212
212
  }
213
213
  }
214
214
  async function p() {
@@ -216,7 +216,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
216
216
  t || r("submit", s.value);
217
217
  });
218
218
  }
219
- return (t, g) => (l(), _("div", st, [a(e(E), {
219
+ return (t, g) => (l(), _("div", tt, [a(e(E), {
220
220
  ref_key: "formRef",
221
221
  ref: o,
222
222
  model: s.value,
@@ -250,7 +250,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
250
250
  message: "请输入验证码"
251
251
  }]
252
252
  }, {
253
- default: f(() => [k("div", at, [a(e(U), {
253
+ default: f(() => [k("div", st, [a(e(U), {
254
254
  modelValue: s.value.userToken,
255
255
  "onUpdate:modelValue": g[1] || (g[1] = (i) => s.value.userToken = i),
256
256
  placeholder: "请输入验证码"
@@ -309,7 +309,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
309
309
  autocomplete: ""
310
310
  }, null, 8, ["modelValue"])]),
311
311
  _: 1
312
- }, 8, ["rules"]), k("div", ot, [a(e(B), {
312
+ }, 8, ["rules"]), k("div", at, [a(e(B), {
313
313
  type: "primary",
314
314
  loading: n.loading,
315
315
  long: "",
@@ -322,11 +322,11 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
322
322
  _: 1
323
323
  }, 8, ["model", "size"])]));
324
324
  }
325
- }), nt = /* @__PURE__ */ C(it, [["__scopeId", "data-v-de0d4b53"]]), lt = {
325
+ }), it = /* @__PURE__ */ C(ot, [["__scopeId", "data-v-de0d4b53"]]), nt = {
326
326
  class: "content"
327
- }, rt = {
327
+ }, lt = {
328
328
  class: "sendVerifyCodeItem"
329
- }, ut = /* @__PURE__ */ A({
329
+ }, rt = /* @__PURE__ */ A({
330
330
  __name: "AuthkitPhonePasswordUpdateAndVerify",
331
331
  props: {
332
332
  size: {
@@ -370,7 +370,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
370
370
  phone: s.value.phone,
371
371
  purpose: "resetPassword"
372
372
  });
373
- v.value = !1, W(y.value, i);
373
+ v.value = !1, K(y.value, i);
374
374
  }
375
375
  }
376
376
  async function t() {
@@ -383,7 +383,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
383
383
  });
384
384
  });
385
385
  }
386
- return (g, i) => (l(), _("div", lt, [a(e(E), {
386
+ return (g, i) => (l(), _("div", nt, [a(e(E), {
387
387
  ref_key: "formRef",
388
388
  ref: o,
389
389
  model: s.value,
@@ -419,7 +419,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
419
419
  message: "请输入验证码"
420
420
  }]
421
421
  }, {
422
- default: f(() => [k("div", rt, [a(e(U), {
422
+ default: f(() => [k("div", lt, [a(e(U), {
423
423
  modelValue: s.value.code,
424
424
  "onUpdate:modelValue": i[1] || (i[1] = (w) => s.value.code = w),
425
425
  placeholder: "请输入验证码",
@@ -482,9 +482,9 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
482
482
  _: 1
483
483
  }, 8, ["model", "size"])]));
484
484
  }
485
- }), dt = /* @__PURE__ */ C(ut, [["__scopeId", "data-v-1a06d499"]]), ct = {
485
+ }), ut = /* @__PURE__ */ C(rt, [["__scopeId", "data-v-1a06d499"]]), dt = {
486
486
  class: "SwitchSignIn"
487
- }, pt = /* @__PURE__ */ A({
487
+ }, ct = /* @__PURE__ */ A({
488
488
  __name: "AuthkitSwitchSignIn",
489
489
  emits: ["switchSignIn"],
490
490
  setup(b, {
@@ -494,7 +494,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
494
494
  function n() {
495
495
  r("switchSignIn");
496
496
  }
497
- return (y, v) => (l(), _("div", ct, [k("span", null, [v[1] || (v[1] = k("span", null, "已经有账号?", -1)), a(e(Y), {
497
+ return (y, v) => (l(), _("div", dt, [k("span", null, [v[1] || (v[1] = k("span", null, "已经有账号?", -1)), a(e(Y), {
498
498
  style: {
499
499
  padding: "0px"
500
500
  },
@@ -504,15 +504,15 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
504
504
  _: 1
505
505
  })])]));
506
506
  }
507
- }), me = /* @__PURE__ */ C(pt, [["__scopeId", "data-v-fc1d3903"]]), mt = {
507
+ }), me = /* @__PURE__ */ C(ct, [["__scopeId", "data-v-fc1d3903"]]), pt = {
508
508
  class: "ResetPassword"
509
- }, ft = {
509
+ }, mt = {
510
510
  key: 0,
511
511
  class: "tabsContainer"
512
- }, vt = {
512
+ }, ft = {
513
513
  key: 3,
514
514
  class: "empty"
515
- }, gt = /* @__PURE__ */ A({
515
+ }, vt = /* @__PURE__ */ A({
516
516
  __name: "AuthkitResetPassword",
517
517
  props: {
518
518
  size: {
@@ -555,7 +555,7 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
555
555
  ...t
556
556
  });
557
557
  }
558
- return (t, g) => (l(), _("div", mt, [o.value.length > 1 ? (l(), _("div", ft, [a(e(ce), {
558
+ return (t, g) => (l(), _("div", pt, [o.value.length > 1 ? (l(), _("div", mt, [a(e(ce), {
559
559
  "active-key": s.value,
560
560
  "onUpdate:activeKey": g[0] || (g[0] = (i) => s.value = i)
561
561
  }, {
@@ -564,34 +564,34 @@ const We = 440, Ke = ["title", "aria-label", "disabled"], Qe = {
564
564
  title: i.title
565
565
  }, null, 8, ["title"]))), 128))]),
566
566
  _: 1
567
- }, 8, ["active-key"])])) : I("", !0), s.value === "email" && v.value.login.emailPassword ? (l(), S(nt, {
567
+ }, 8, ["active-key"])])) : I("", !0), s.value === "email" && v.value.login.emailPassword ? (l(), S(it, {
568
568
  key: 1,
569
569
  loading: b.loading,
570
570
  size: n.size,
571
571
  onSubmit: p
572
- }, null, 8, ["loading", "size"])) : s.value === "phone" && v.value.login.phonePassword ? (l(), S(dt, {
572
+ }, null, 8, ["loading", "size"])) : s.value === "phone" && v.value.login.phonePassword ? (l(), S(ut, {
573
573
  key: 2,
574
574
  loading: b.loading,
575
575
  size: n.size,
576
576
  onSubmit: p
577
- }, null, 8, ["loading", "size"])) : (l(), _("div", vt, "当前应用未开放找回密码")), a(me, {
577
+ }, null, 8, ["loading", "size"])) : (l(), _("div", ft, "当前应用未开放找回密码")), a(me, {
578
578
  onSwitchSignIn: m
579
579
  })]));
580
580
  }
581
- }), ht = /* @__PURE__ */ C(gt, [["__scopeId", "data-v-90d789bb"]]);
581
+ }), gt = /* @__PURE__ */ C(vt, [["__scopeId", "data-v-90d789bb"]]);
582
582
  let se = null, ae = null;
583
- function yt(b) {
583
+ function ht(b) {
584
584
  se = b.onPrivacyPolicy ?? null, ae = b.onUserServiceAgreement ?? null;
585
585
  }
586
- function wt() {
586
+ function yt() {
587
587
  se == null || se();
588
588
  }
589
- function bt() {
589
+ function wt() {
590
590
  ae == null || ae();
591
591
  }
592
- const _t = {
592
+ const bt = {
593
593
  key: 2
594
- }, kt = /* @__PURE__ */ A({
594
+ }, _t = /* @__PURE__ */ A({
595
595
  __name: "AuthkitServiceAgreementAndPrivacyProtection",
596
596
  props: /* @__PURE__ */ Pe({
597
597
  currentView: {}
@@ -628,14 +628,14 @@ const _t = {
628
628
  y("userServiceAgreement");
629
629
  return;
630
630
  }
631
- bt();
631
+ wt();
632
632
  }
633
633
  function c() {
634
634
  if (oe.legalDocsMode === "builtin") {
635
635
  y("privacyPolicy");
636
636
  return;
637
637
  }
638
- wt();
638
+ yt();
639
639
  }
640
640
  return (h, P) => w.value ? (l(), _("div", {
641
641
  key: 0,
@@ -660,7 +660,7 @@ const _t = {
660
660
  }, {
661
661
  default: f(() => [x(L(p.value.label), 1)]),
662
662
  _: 1
663
- })) : I("", !0), p.value && t.value ? (l(), _("span", _t, "和")) : I("", !0), t.value ? (l(), S(e(Y), {
663
+ })) : I("", !0), p.value && t.value ? (l(), _("span", bt, "和")) : I("", !0), t.value ? (l(), S(e(Y), {
664
664
  key: 3,
665
665
  onClick: c
666
666
  }, {
@@ -668,11 +668,11 @@ const _t = {
668
668
  _: 1
669
669
  })) : I("", !0)], 64)) : I("", !0)], 2)) : I("", !0);
670
670
  }
671
- }), ee = /* @__PURE__ */ C(kt, [["__scopeId", "data-v-b288700a"]]), St = {
671
+ }), ee = /* @__PURE__ */ C(_t, [["__scopeId", "data-v-b288700a"]]), kt = {
672
672
  class: "content"
673
- }, It = {
673
+ }, St = {
674
674
  class: "handle"
675
- }, zt = /* @__PURE__ */ A({
675
+ }, It = /* @__PURE__ */ A({
676
676
  __name: "AuthkitPasswordAuth",
677
677
  props: {
678
678
  size: {
@@ -708,7 +708,7 @@ const _t = {
708
708
  t || r("submit", m.value);
709
709
  });
710
710
  }
711
- return (t, g) => (l(), _("div", St, [a(e(E), {
711
+ return (t, g) => (l(), _("div", kt, [a(e(E), {
712
712
  ref_key: "formRef",
713
713
  ref: s,
714
714
  model: m.value,
@@ -748,7 +748,7 @@ const _t = {
748
748
  autocomplete: "current-password"
749
749
  }, null, 8, ["modelValue"])]),
750
750
  _: 1
751
- }), k("div", It, [a(e(B), {
751
+ }), k("div", St, [a(e(B), {
752
752
  type: "primary",
753
753
  loading: o.loading,
754
754
  long: "",
@@ -773,15 +773,15 @@ const _t = {
773
773
  _: 1
774
774
  }, 8, ["model", "size"])]));
775
775
  }
776
- }), Pt = /* @__PURE__ */ C(zt, [["__scopeId", "data-v-cca59a39"]]), Vt = {
776
+ }), zt = /* @__PURE__ */ C(It, [["__scopeId", "data-v-cca59a39"]]), Pt = {
777
777
  class: "SignInPhone"
778
- }, At = {
778
+ }, Vt = {
779
779
  class: "content"
780
- }, Ut = {
780
+ }, At = {
781
781
  class: "sendVerifyCodeItem"
782
- }, Ct = {
782
+ }, Ut = {
783
783
  class: "handle"
784
- }, $t = /* @__PURE__ */ A({
784
+ }, Ct = /* @__PURE__ */ A({
785
785
  __name: "AuthkitSignInPhone",
786
786
  props: {
787
787
  size: {
@@ -815,7 +815,7 @@ const _t = {
815
815
  phone: t.value.phone,
816
816
  purpose: "signIn"
817
817
  });
818
- m.value = !1, W(s.value, u);
818
+ m.value = !1, K(s.value, u);
819
819
  }
820
820
  }
821
821
  async function i() {
@@ -827,7 +827,7 @@ const _t = {
827
827
  });
828
828
  });
829
829
  }
830
- return (w, u) => (l(), _("div", Vt, [k("div", At, [a(e(E), {
830
+ return (w, u) => (l(), _("div", Pt, [k("div", Vt, [a(e(E), {
831
831
  ref_key: "formRef",
832
832
  ref: p,
833
833
  model: t.value,
@@ -863,7 +863,7 @@ const _t = {
863
863
  message: "请输入验证码"
864
864
  }]
865
865
  }, {
866
- default: f(() => [k("div", Ut, [a(e(U), {
866
+ default: f(() => [k("div", At, [a(e(U), {
867
867
  modelValue: t.value.code,
868
868
  "onUpdate:modelValue": u[1] || (u[1] = (c) => t.value.code = c),
869
869
  placeholder: "请输入验证码",
@@ -879,7 +879,7 @@ const _t = {
879
879
  onSend: g
880
880
  }, null, 8, ["size", "loading"])])]),
881
881
  _: 1
882
- }), k("div", Ct, [a(e(B), {
882
+ }), k("div", Ut, [a(e(B), {
883
883
  type: "primary",
884
884
  loading: o.loading,
885
885
  long: "",
@@ -904,13 +904,13 @@ const _t = {
904
904
  _: 1
905
905
  }, 8, ["model", "size"])])]));
906
906
  }
907
- }), Tt = /* @__PURE__ */ C($t, [["__scopeId", "data-v-a0df745a"]]), Rt = {
907
+ }), $t = /* @__PURE__ */ C(Ct, [["__scopeId", "data-v-a0df745a"]]), Tt = {
908
908
  class: "SignInEmailCode"
909
- }, qt = {
909
+ }, Rt = {
910
910
  class: "sendVerifyCodeItem"
911
- }, xt = {
911
+ }, qt = {
912
912
  class: "handle"
913
- }, Lt = /* @__PURE__ */ A({
913
+ }, xt = /* @__PURE__ */ A({
914
914
  __name: "AuthkitSignInEmailCode",
915
915
  props: {
916
916
  size: {
@@ -946,7 +946,7 @@ const _t = {
946
946
  email: t.value.email,
947
947
  purpose: "signIn"
948
948
  });
949
- m.value = !1, (u = c.data) != null && u.emailVerifyId && (t.value.emailVerifyId = c.data.emailVerifyId), W(s.value, c);
949
+ m.value = !1, (u = c.data) != null && u.emailVerifyId && (t.value.emailVerifyId = c.data.emailVerifyId), K(s.value, c);
950
950
  }
951
951
  }
952
952
  async function i() {
@@ -959,7 +959,7 @@ const _t = {
959
959
  });
960
960
  });
961
961
  }
962
- return (w, u) => (l(), _("div", Rt, [a(e(E), {
962
+ return (w, u) => (l(), _("div", Tt, [a(e(E), {
963
963
  ref_key: "formRef",
964
964
  ref: p,
965
965
  model: t.value,
@@ -992,7 +992,7 @@ const _t = {
992
992
  message: "请输入验证码"
993
993
  }]
994
994
  }, {
995
- default: f(() => [k("div", qt, [a(e(U), {
995
+ default: f(() => [k("div", Rt, [a(e(U), {
996
996
  modelValue: t.value.code,
997
997
  "onUpdate:modelValue": u[1] || (u[1] = (c) => t.value.code = c),
998
998
  placeholder: "请输入验证码",
@@ -1008,7 +1008,7 @@ const _t = {
1008
1008
  onSend: g
1009
1009
  }, null, 8, ["size", "loading"])])]),
1010
1010
  _: 1
1011
- }), k("div", xt, [a(e(B), {
1011
+ }), k("div", qt, [a(e(B), {
1012
1012
  type: "primary",
1013
1013
  loading: o.loading,
1014
1014
  long: "",
@@ -1033,11 +1033,11 @@ const _t = {
1033
1033
  _: 1
1034
1034
  }, 8, ["model", "size"])]));
1035
1035
  }
1036
- }), Bt = /* @__PURE__ */ C(Lt, [["__scopeId", "data-v-77c9b3b0"]]), Ot = {
1036
+ }), Lt = /* @__PURE__ */ C(xt, [["__scopeId", "data-v-77c9b3b0"]]), Bt = {
1037
1037
  class: "SwitchSignUpOrResetPassword"
1038
- }, Mt = {
1038
+ }, Ot = {
1039
1039
  key: 0
1040
- }, Ft = /* @__PURE__ */ A({
1040
+ }, Mt = /* @__PURE__ */ A({
1041
1041
  __name: "AuthkitSwitchSignUpOrResetPassword",
1042
1042
  props: {
1043
1043
  showSignUp: {
@@ -1060,7 +1060,7 @@ const _t = {
1060
1060
  function v() {
1061
1061
  n("switchResetPassword");
1062
1062
  }
1063
- return (o, s) => (l(), _("div", Ot, [r.showSignUp ? (l(), _("span", Mt, [s[1] || (s[1] = k("span", null, " 还没有账户?", -1)), a(e(Y), {
1063
+ return (o, s) => (l(), _("div", Bt, [r.showSignUp ? (l(), _("span", Ot, [s[1] || (s[1] = k("span", null, " 还没有账户?", -1)), a(e(Y), {
1064
1064
  style: {
1065
1065
  padding: "0px"
1066
1066
  },
@@ -1079,12 +1079,12 @@ const _t = {
1079
1079
  _: 1
1080
1080
  })) : I("", !0)]));
1081
1081
  }
1082
- }), Dt = /* @__PURE__ */ C(Ft, [["__scopeId", "data-v-6ca7b1f2"]]), Et = {
1082
+ }), Ft = /* @__PURE__ */ C(Mt, [["__scopeId", "data-v-6ca7b1f2"]]), Dt = {
1083
1083
  class: "SignIn"
1084
- }, Ht = {
1084
+ }, Et = {
1085
1085
  key: 0,
1086
1086
  class: "tabsContainer"
1087
- }, Gt = /* @__PURE__ */ A({
1087
+ }, Ht = /* @__PURE__ */ A({
1088
1088
  __name: "AuthkitSignIn",
1089
1089
  props: {
1090
1090
  size: {
@@ -1134,7 +1134,7 @@ const _t = {
1134
1134
  ...h
1135
1135
  });
1136
1136
  }
1137
- return (h, P) => (l(), _("div", Et, [g.value.length > 1 ? (l(), _("div", Ht, [a(e(ce), {
1137
+ return (h, P) => (l(), _("div", Dt, [g.value.length > 1 ? (l(), _("div", Et, [a(e(ce), {
1138
1138
  "active-key": i.value,
1139
1139
  "onUpdate:activeKey": P[0] || (P[0] = (q) => i.value = q)
1140
1140
  }, {
@@ -1143,38 +1143,38 @@ const _t = {
1143
1143
  title: q.title
1144
1144
  }, null, 8, ["title"]))), 128))]),
1145
1145
  _: 1
1146
- }, 8, ["active-key"])])) : I("", !0), i.value === "password" && (m.value.login.emailPassword || m.value.login.phonePassword) ? (l(), S(Pt, {
1146
+ }, 8, ["active-key"])])) : I("", !0), i.value === "password" && (m.value.login.emailPassword || m.value.login.phonePassword) ? (l(), S(zt, {
1147
1147
  key: 1,
1148
1148
  loading: n.loading,
1149
1149
  size: n.size,
1150
1150
  "allow-phone": m.value.login.phonePassword,
1151
1151
  onSubmit: c
1152
- }, null, 8, ["loading", "size", "allow-phone"])) : i.value === "phoneCode" ? (l(), S(Tt, {
1152
+ }, null, 8, ["loading", "size", "allow-phone"])) : i.value === "phoneCode" ? (l(), S($t, {
1153
1153
  key: 2,
1154
1154
  loading: n.loading,
1155
1155
  size: n.size,
1156
1156
  onSubmit: c
1157
- }, null, 8, ["loading", "size"])) : i.value === "emailCode" ? (l(), S(Bt, {
1157
+ }, null, 8, ["loading", "size"])) : i.value === "emailCode" ? (l(), S(Lt, {
1158
1158
  key: 3,
1159
1159
  loading: n.loading,
1160
1160
  size: n.size,
1161
1161
  onSubmit: c
1162
1162
  }, null, 8, ["loading", "size"])) : I("", !0), v.value ? Z(h.$slots, "OAuth", {
1163
1163
  key: 4
1164
- }, void 0, !0) : I("", !0), a(Dt, {
1164
+ }, void 0, !0) : I("", !0), a(Ft, {
1165
1165
  "show-sign-up": p.value,
1166
1166
  "show-reset-password": t.value,
1167
1167
  onSwitchSignUp: w,
1168
1168
  onSwitchResetPassword: u
1169
1169
  }, null, 8, ["show-sign-up", "show-reset-password"])]));
1170
1170
  }
1171
- }), Nt = /* @__PURE__ */ C(Gt, [["__scopeId", "data-v-9222d961"]]), jt = {
1171
+ }), Gt = /* @__PURE__ */ C(Ht, [["__scopeId", "data-v-9222d961"]]), Nt = {
1172
1172
  class: "content"
1173
- }, Wt = {
1173
+ }, jt = {
1174
1174
  class: "sendVerifyCodeItem"
1175
1175
  }, Kt = {
1176
1176
  class: "handle"
1177
- }, Qt = /* @__PURE__ */ A({
1177
+ }, Wt = /* @__PURE__ */ A({
1178
1178
  __name: "AuthkitEmailUpdate",
1179
1179
  props: {
1180
1180
  size: {
@@ -1220,7 +1220,7 @@ const _t = {
1220
1220
  email: t.value.email,
1221
1221
  purpose: o.purpose
1222
1222
  });
1223
- m.value = !1, u.data && (t.value.emailVerifyId = u.data.emailVerifyId), W(s.value, u);
1223
+ m.value = !1, u.data && (t.value.emailVerifyId = u.data.emailVerifyId), K(s.value, u);
1224
1224
  }
1225
1225
  }
1226
1226
  async function i() {
@@ -1228,7 +1228,7 @@ const _t = {
1228
1228
  w || r("submit", t.value);
1229
1229
  });
1230
1230
  }
1231
- return (w, u) => (l(), _("div", jt, [a(e(E), {
1231
+ return (w, u) => (l(), _("div", Nt, [a(e(E), {
1232
1232
  ref_key: "formRef",
1233
1233
  ref: p,
1234
1234
  model: t.value,
@@ -1264,7 +1264,7 @@ const _t = {
1264
1264
  message: "请输入验证码"
1265
1265
  }]
1266
1266
  }, {
1267
- default: f(() => [k("div", Wt, [a(e(U), {
1267
+ default: f(() => [k("div", jt, [a(e(U), {
1268
1268
  modelValue: t.value.userToken,
1269
1269
  "onUpdate:modelValue": u[1] || (u[1] = (c) => t.value.userToken = c),
1270
1270
  placeholder: "请输入验证码",
@@ -1364,15 +1364,15 @@ const _t = {
1364
1364
  _: 1
1365
1365
  }, 8, ["model", "size"])]));
1366
1366
  }
1367
- }), Jt = /* @__PURE__ */ C(Qt, [["__scopeId", "data-v-00bdf809"]]), Xt = {
1367
+ }), Qt = /* @__PURE__ */ C(Wt, [["__scopeId", "data-v-00bdf809"]]), Jt = {
1368
1368
  class: "SignUpPhone"
1369
- }, Yt = {
1369
+ }, Xt = {
1370
1370
  class: "content"
1371
- }, Zt = {
1371
+ }, Yt = {
1372
1372
  class: "sendVerifyCodeItem"
1373
- }, es = {
1373
+ }, Zt = {
1374
1374
  class: "handle"
1375
- }, ts = /* @__PURE__ */ A({
1375
+ }, es = /* @__PURE__ */ A({
1376
1376
  __name: "AuthkitSignUpPhone",
1377
1377
  props: {
1378
1378
  size: {
@@ -1429,7 +1429,7 @@ const _t = {
1429
1429
  phone: t.value.phone,
1430
1430
  purpose: "signUp"
1431
1431
  });
1432
- m.value = !1, W(s.value, h);
1432
+ m.value = !1, K(s.value, h);
1433
1433
  }
1434
1434
  }
1435
1435
  async function u() {
@@ -1443,7 +1443,7 @@ const _t = {
1443
1443
  });
1444
1444
  });
1445
1445
  }
1446
- return (c, h) => (l(), _("div", Xt, [k("div", Yt, [a(e(E), {
1446
+ return (c, h) => (l(), _("div", Jt, [k("div", Xt, [a(e(E), {
1447
1447
  ref_key: "formRef",
1448
1448
  ref: p,
1449
1449
  model: t.value,
@@ -1479,7 +1479,7 @@ const _t = {
1479
1479
  message: "请输入验证码"
1480
1480
  }]
1481
1481
  }, {
1482
- default: f(() => [k("div", Zt, [a(e(U), {
1482
+ default: f(() => [k("div", Yt, [a(e(U), {
1483
1483
  modelValue: t.value.code,
1484
1484
  "onUpdate:modelValue": h[1] || (h[1] = (P) => t.value.code = P),
1485
1485
  placeholder: "请输入验证码",
@@ -1546,7 +1546,7 @@ const _t = {
1546
1546
  autocomplete: "off"
1547
1547
  }, null, 8, ["modelValue"])]),
1548
1548
  _: 1
1549
- }), k("div", es, [a(e(B), {
1549
+ }), k("div", Zt, [a(e(B), {
1550
1550
  type: "primary",
1551
1551
  loading: o.loading,
1552
1552
  long: "",
@@ -1573,21 +1573,21 @@ const _t = {
1573
1573
  onSwitchSignIn: i
1574
1574
  })]));
1575
1575
  }
1576
- }), ss = /* @__PURE__ */ C(ts, [["__scopeId", "data-v-5a25ffa9"]]), as = {
1576
+ }), ts = /* @__PURE__ */ C(es, [["__scopeId", "data-v-5a25ffa9"]]), ss = {
1577
1577
  class: "SignUp"
1578
- }, os = {
1578
+ }, as = {
1579
1579
  key: 0,
1580
1580
  class: "tabsContainer"
1581
- }, is = {
1581
+ }, os = {
1582
1582
  key: 1,
1583
1583
  class: "empty"
1584
- }, ns = {
1584
+ }, is = {
1585
1585
  key: 2,
1586
1586
  class: "empty"
1587
- }, ls = {
1587
+ }, ns = {
1588
1588
  key: 2,
1589
1589
  class: "empty"
1590
- }, rs = /* @__PURE__ */ A({
1590
+ }, ls = /* @__PURE__ */ A({
1591
1591
  __name: "AuthkitSignUp",
1592
1592
  props: {
1593
1593
  size: {
@@ -1632,7 +1632,7 @@ const _t = {
1632
1632
  ...i
1633
1633
  });
1634
1634
  }
1635
- return (i, w) => (l(), _("div", as, [m.value.length > 1 ? (l(), _("div", os, [a(e(ce), {
1635
+ return (i, w) => (l(), _("div", ss, [m.value.length > 1 ? (l(), _("div", as, [a(e(ce), {
1636
1636
  "active-key": p.value,
1637
1637
  "onUpdate:activeKey": w[0] || (w[0] = (u) => p.value = u)
1638
1638
  }, {
@@ -1641,25 +1641,25 @@ const _t = {
1641
1641
  title: u.title
1642
1642
  }, null, 8, ["title"]))), 128))]),
1643
1643
  _: 1
1644
- }, 8, ["active-key"])])) : I("", !0), e(o) ? e(v) ? (l(), _("div", ns, " 管理员尚未配置用户协议或隐私政策,暂无法注册。 ")) : (l(), _(F, {
1644
+ }, 8, ["active-key"])])) : I("", !0), e(o) ? e(v) ? (l(), _("div", is, " 管理员尚未配置用户协议或隐私政策,暂无法注册。 ")) : (l(), _(F, {
1645
1645
  key: 3
1646
- }, [p.value === "email" && s.value.signUp.email ? (l(), S(Jt, {
1646
+ }, [p.value === "email" && s.value.signUp.email ? (l(), S(Qt, {
1647
1647
  key: 0,
1648
1648
  size: n.size,
1649
1649
  loading: b.loading,
1650
1650
  onSubmit: g
1651
- }, null, 8, ["size", "loading"])) : p.value === "phone" && s.value.signUp.phone ? (l(), S(ss, {
1651
+ }, null, 8, ["size", "loading"])) : p.value === "phone" && s.value.signUp.phone ? (l(), S(ts, {
1652
1652
  key: 1,
1653
1653
  size: n.size,
1654
1654
  loading: b.loading,
1655
1655
  onSubmit: g,
1656
1656
  onSwitchSignIn: t
1657
- }, null, 8, ["size", "loading"])) : (l(), _("div", ls, " 当前应用未开放用户注册 ")), p.value === "email" ? (l(), S(me, {
1657
+ }, null, 8, ["size", "loading"])) : (l(), _("div", ns, " 当前应用未开放用户注册 ")), p.value === "email" ? (l(), S(me, {
1658
1658
  key: 3,
1659
1659
  onSwitchSignIn: t
1660
- })) : I("", !0)], 64)) : (l(), _("div", is, " 系统已停止用户注册 "))]));
1660
+ })) : I("", !0)], 64)) : (l(), _("div", os, " 系统已停止用户注册 "))]));
1661
1661
  }
1662
- }), us = /* @__PURE__ */ C(rs, [["__scopeId", "data-v-b211d5ef"]]), ds = ["src"], cs = /* @__PURE__ */ A({
1662
+ }), rs = /* @__PURE__ */ C(ls, [["__scopeId", "data-v-b211d5ef"]]), us = ["src"], ds = /* @__PURE__ */ A({
1663
1663
  __name: "AuthkitAuthTitle",
1664
1664
  props: {
1665
1665
  size: {
@@ -1697,13 +1697,13 @@ const _t = {
1697
1697
  style: H({
1698
1698
  width: r
1699
1699
  })
1700
- }, null, 12, ds)) : I("", !0), k("span", null, L(s.value), 1), Z(m.$slots, "default", {}, void 0, !0)], 4));
1700
+ }, null, 12, us)) : I("", !0), k("span", null, L(s.value), 1), Z(m.$slots, "default", {}, void 0, !0)], 4));
1701
1701
  }
1702
- }), Ie = /* @__PURE__ */ C(cs, [["__scopeId", "data-v-8ebe7939"]]), ps = {
1702
+ }), Ie = /* @__PURE__ */ C(ds, [["__scopeId", "data-v-8ebe7939"]]), cs = {
1703
1703
  class: "Auth"
1704
- }, ms = {
1704
+ }, ps = {
1705
1705
  class: "body"
1706
- }, fs = /* @__PURE__ */ A({
1706
+ }, ms = /* @__PURE__ */ A({
1707
1707
  __name: "AuthkitAuth",
1708
1708
  props: {
1709
1709
  size: {
@@ -1729,11 +1729,11 @@ const _t = {
1729
1729
  switchResetPassword: g,
1730
1730
  switchSignIn: i
1731
1731
  } = G();
1732
- return (w, u) => (l(), _("div", ps, [b.showTitle ? (l(), S(Ie, {
1732
+ return (w, u) => (l(), _("div", cs, [b.showTitle ? (l(), S(Ie, {
1733
1733
  key: 0,
1734
1734
  size: 32,
1735
1735
  "font-size": 20
1736
- })) : I("", !0), k("div", ms, [e(o) === "signIn" ? (l(), S(Nt, {
1736
+ })) : I("", !0), k("div", ps, [e(o) === "signIn" ? (l(), S(Gt, {
1737
1737
  key: 0,
1738
1738
  size: d.size,
1739
1739
  loading: e(s),
@@ -1741,18 +1741,18 @@ const _t = {
1741
1741
  onSwitchResetPassword: e(g),
1742
1742
  onSubmit: u[0] || (u[0] = (c) => e(r)(c))
1743
1743
  }, {
1744
- OAuth: f(() => [a(tt, {
1744
+ OAuth: f(() => [a(et, {
1745
1745
  size: d.size,
1746
1746
  onPasskeySubmit: e(n)
1747
1747
  }, null, 8, ["size", "onPasskeySubmit"])]),
1748
1748
  _: 1
1749
- }, 8, ["size", "loading", "onSwitchSignUp", "onSwitchResetPassword"])) : e(o) === "signUp" ? (l(), S(us, {
1749
+ }, 8, ["size", "loading", "onSwitchSignUp", "onSwitchResetPassword"])) : e(o) === "signUp" ? (l(), S(rs, {
1750
1750
  key: 1,
1751
1751
  size: d.size,
1752
1752
  loading: e(m),
1753
1753
  onSwitchSignIn: e(i),
1754
1754
  onSubmit: u[1] || (u[1] = (c) => e(y)(c))
1755
- }, null, 8, ["size", "loading", "onSwitchSignIn"])) : e(o) === "resetPassword" ? (l(), S(ht, {
1755
+ }, null, 8, ["size", "loading", "onSwitchSignIn"])) : e(o) === "resetPassword" ? (l(), S(gt, {
1756
1756
  key: 2,
1757
1757
  size: d.size,
1758
1758
  loading: e(p),
@@ -1760,7 +1760,7 @@ const _t = {
1760
1760
  onSubmit: u[2] || (u[2] = (c) => e(v)(c))
1761
1761
  }, null, 8, ["size", "loading", "onSwitchSignIn"])) : I("", !0)])]));
1762
1762
  }
1763
- }), vs = /* @__PURE__ */ C(fs, [["__scopeId", "data-v-b9fcbd99"]]), gs = /* @__PURE__ */ A({
1763
+ }), fs = /* @__PURE__ */ C(ms, [["__scopeId", "data-v-60874d88"]]), vs = /* @__PURE__ */ A({
1764
1764
  __name: "AuthkitAuthModal",
1765
1765
  props: {
1766
1766
  size: {
@@ -1794,20 +1794,20 @@ const _t = {
1794
1794
  footer: !1,
1795
1795
  "mask-closable": !1,
1796
1796
  "title-align": "center",
1797
- width: e(We),
1797
+ width: "auto",
1798
1798
  "modal-class": "SignInModalClass",
1799
1799
  "onUpdate:visible": s,
1800
1800
  onClose: m
1801
1801
  }, {
1802
1802
  title: f(() => [a(Ie)]),
1803
- default: f(() => [a(vs, {
1803
+ default: f(() => [a(fs, {
1804
1804
  "show-title": !1,
1805
1805
  size: b.size
1806
1806
  }, null, 8, ["size"])]),
1807
1807
  _: 1
1808
- }, 8, ["width"]));
1808
+ }));
1809
1809
  }
1810
- }), hs = /* @__PURE__ */ C(gs, [["__scopeId", "data-v-b9ad62f4"]]), ys = /* @__PURE__ */ A({
1810
+ }), gs = /* @__PURE__ */ C(vs, [["__scopeId", "data-v-19a4d5d0"]]), hs = /* @__PURE__ */ A({
1811
1811
  __name: "AuthkitOAuthCallbackProvider",
1812
1812
  props: {
1813
1813
  bindIdentityRedirect: {
@@ -1876,7 +1876,7 @@ const _t = {
1876
1876
  m();
1877
1877
  }), (p, t) => null;
1878
1878
  }
1879
- }), ra = /* @__PURE__ */ A({
1879
+ }), la = /* @__PURE__ */ A({
1880
1880
  __name: "AuthkitProvider",
1881
1881
  props: {
1882
1882
  config: {},
@@ -1958,27 +1958,27 @@ const _t = {
1958
1958
  n("toUserServiceAgreement");
1959
1959
  }
1960
1960
  return D(async () => {
1961
- yt({
1961
+ ht({
1962
1962
  onPrivacyPolicy: c,
1963
1963
  onUserServiceAgreement: h
1964
1964
  }), r.fetchAppInfo && await i(), r.restoreSession && s() ? t() : g();
1965
1965
  }), de(() => {
1966
1966
  w(), u();
1967
- }), (P, q) => (l(), _(F, null, [Z(P.$slots, "default"), r.handleOAuthCallback ? (l(), S(ys, {
1967
+ }), (P, q) => (l(), _(F, null, [Z(P.$slots, "default"), r.handleOAuthCallback ? (l(), S(hs, {
1968
1968
  key: 0,
1969
1969
  "bind-identity-redirect": r.bindIdentityRedirect,
1970
1970
  "close-popup-on-bind-success": r.closePopupOnBindSuccess,
1971
1971
  "restore-redirect-after-sign-in": r.restoreRedirectAfterSignIn
1972
- }, null, 8, ["bind-identity-redirect", "close-popup-on-bind-success", "restore-redirect-after-sign-in"])) : I("", !0), r.showAuthModal && e(o) ? (l(), S(hs, {
1972
+ }, null, 8, ["bind-identity-redirect", "close-popup-on-bind-success", "restore-redirect-after-sign-in"])) : I("", !0), r.showAuthModal && e(o) ? (l(), S(gs, {
1973
1973
  key: 1,
1974
1974
  size: r.authModalSize
1975
1975
  }, null, 8, ["size"])) : I("", !0)], 64));
1976
1976
  }
1977
- }), ws = {
1977
+ }), ys = {
1978
1978
  class: "header"
1979
- }, bs = ["href"], _s = {
1979
+ }, ws = ["href"], bs = {
1980
1980
  class: "container"
1981
- }, ks = /* @__PURE__ */ A({
1981
+ }, _s = /* @__PURE__ */ A({
1982
1982
  __name: "AuthkitAuthContainer",
1983
1983
  props: {
1984
1984
  applicationLogoUrl: {
@@ -2029,7 +2029,7 @@ const _t = {
2029
2029
  return (n, y) => (l(), _("div", {
2030
2030
  class: "auth",
2031
2031
  style: H(r.value)
2032
- }, [k("div", ws, [d.name ? (l(), _("a", {
2032
+ }, [k("div", ys, [d.name ? (l(), _("a", {
2033
2033
  key: 0,
2034
2034
  href: d.appHomePage,
2035
2035
  target: "_self",
@@ -2037,22 +2037,22 @@ const _t = {
2037
2037
  style: H({
2038
2038
  color: d.linkColor
2039
2039
  })
2040
- }, " 返回主页 ", 12, bs)) : I("", !0)]), k("div", _s, [Z(n.$slots, "default", {}, void 0, !0)])], 4));
2040
+ }, " 返回主页 ", 12, ws)) : I("", !0)]), k("div", bs, [Z(n.$slots, "default", {}, void 0, !0)])], 4));
2041
2041
  }
2042
- }), ua = /* @__PURE__ */ C(ks, [["__scopeId", "data-v-0e13d3ff"]]), Ss = {
2042
+ }), ra = /* @__PURE__ */ C(_s, [["__scopeId", "data-v-0e13d3ff"]]), ks = {
2043
2043
  class: "box"
2044
- }, Is = {
2044
+ }, Ss = {
2045
2045
  class: "title"
2046
- }, zs = {
2046
+ }, Is = {
2047
2047
  class: "content"
2048
- }, Ps = {
2048
+ }, zs = {
2049
2049
  class: "redirect"
2050
- }, Vs = {
2050
+ }, Ps = {
2051
2051
  style: {
2052
2052
  "font-weight": "bold",
2053
2053
  "font-size": "12px"
2054
2054
  }
2055
- }, As = /* @__PURE__ */ A({
2055
+ }, Vs = /* @__PURE__ */ A({
2056
2056
  __name: "AuthkitAuthorize",
2057
2057
  props: {
2058
2058
  size: {
@@ -2132,7 +2132,7 @@ const _t = {
2132
2132
  });
2133
2133
  d.value = !1, o && (window.location = o.authorizeUrl);
2134
2134
  }
2135
- return (o, s) => (l(), _("div", Ss, [k("div", Is, L(`授权 ${n.value.name}`), 1), k("div", zs, [a(e($e), null, {
2135
+ return (o, s) => (l(), _("div", ks, [k("div", Ss, L(`授权 ${n.value.name}`), 1), k("div", Is, [a(e($e), null, {
2136
2136
  default: f(() => [a(e(ne), null, {
2137
2137
  default: f(() => {
2138
2138
  var m;
@@ -2195,22 +2195,22 @@ const _t = {
2195
2195
  }, {
2196
2196
  default: f(() => [...s[2] || (s[2] = [x(" 授权 ", -1)])]),
2197
2197
  _: 1
2198
- }, 8, ["size", "loading"]), k("div", Ps, [s[3] || (s[3] = k("div", {
2198
+ }, 8, ["size", "loading"]), k("div", zs, [s[3] || (s[3] = k("div", {
2199
2199
  class: "redirect-hint"
2200
- }, "授权后将跳转至", -1)), k("div", Vs, L(n.value.authorizationCallback), 1)])])]));
2200
+ }, "授权后将跳转至", -1)), k("div", Ps, L(n.value.authorizationCallback), 1)])])]));
2201
2201
  }
2202
- }), da = /* @__PURE__ */ C(As, [["__scopeId", "data-v-8dae1f3a"]]), Us = {
2202
+ }), ua = /* @__PURE__ */ C(Vs, [["__scopeId", "data-v-8dae1f3a"]]), As = {
2203
2203
  class: "oauth-callback"
2204
- }, Cs = {
2204
+ }, Us = {
2205
2205
  key: 0,
2206
2206
  class: "callback-loading"
2207
- }, $s = {
2207
+ }, Cs = {
2208
2208
  key: 1,
2209
2209
  class: "callback-error"
2210
- }, Ts = {
2210
+ }, $s = {
2211
2211
  key: 2,
2212
2212
  class: "callback-success"
2213
- }, Rs = /* @__PURE__ */ A({
2213
+ }, Ts = /* @__PURE__ */ A({
2214
2214
  __name: "AuthkitOauthCallback",
2215
2215
  props: {
2216
2216
  defaultRedirect: {},
@@ -2291,27 +2291,27 @@ const _t = {
2291
2291
  sessionStorage.removeItem("auth_redirect"), window.location.href = w || r.defaultRedirect || "/";
2292
2292
  } else
2293
2293
  v.value = "无效的访问", y.value = !1;
2294
- }), (i, w) => (l(), _("div", Us, [y.value ? (l(), _("div", Cs, [w[0] || (w[0] = k("div", {
2294
+ }), (i, w) => (l(), _("div", As, [y.value ? (l(), _("div", Us, [w[0] || (w[0] = k("div", {
2295
2295
  class: "spinner"
2296
- }, null, -1)), k("p", null, L(b.loadingText), 1)])) : v.value ? (l(), _("div", $s, [w[1] || (w[1] = k("div", {
2296
+ }, null, -1)), k("p", null, L(b.loadingText), 1)])) : v.value ? (l(), _("div", Cs, [w[1] || (w[1] = k("div", {
2297
2297
  class: "error-icon"
2298
2298
  }, "✕", -1)), w[2] || (w[2] = k("h2", null, "登录失败", -1)), k("p", null, L(v.value), 1), k("button", {
2299
2299
  class: "retry-btn",
2300
2300
  onClick: g
2301
- }, "返回重试")])) : (l(), _("div", Ts, [w[3] || (w[3] = k("div", {
2301
+ }, "返回重试")])) : (l(), _("div", $s, [w[3] || (w[3] = k("div", {
2302
2302
  class: "success-icon"
2303
2303
  }, "✓", -1)), k("p", null, L(o.value), 1)]))]));
2304
2304
  }
2305
- }), ca = /* @__PURE__ */ C(Rs, [["__scopeId", "data-v-4b4b59a1"]]), qs = {
2305
+ }), da = /* @__PURE__ */ C(Ts, [["__scopeId", "data-v-4b4b59a1"]]), Rs = {
2306
2306
  class: "oauth-binding-account"
2307
- }, xs = {
2307
+ }, qs = {
2308
2308
  key: 1,
2309
2309
  class: "oauth-binding-account__icon"
2310
- }, Ls = {
2310
+ }, xs = {
2311
2311
  class: "oauth-binding-account__info"
2312
- }, Bs = {
2312
+ }, Ls = {
2313
2313
  class: "oauth-binding-account__name"
2314
- }, Os = /* @__PURE__ */ A({
2314
+ }, Bs = /* @__PURE__ */ A({
2315
2315
  __name: "AuthkitGithubBinding",
2316
2316
  props: {
2317
2317
  size: {
@@ -2402,18 +2402,18 @@ const _t = {
2402
2402
  }, 8, ["size"])]),
2403
2403
  default: f(() => {
2404
2404
  var $, R;
2405
- return [k("div", qs, [s.value ? (l(), S(e(te), {
2405
+ return [k("div", Rs, [s.value ? (l(), S(e(te), {
2406
2406
  key: 0,
2407
2407
  class: "oauth-binding-account__avatar",
2408
2408
  "image-url": s.value,
2409
2409
  size: 42
2410
- }, null, 8, ["image-url"])) : (l(), _("div", xs, [a(be, {
2410
+ }, null, 8, ["image-url"])) : (l(), _("div", qs, [a(be, {
2411
2411
  icon: e(J).github,
2412
2412
  size: e(Fe),
2413
2413
  alt: "GitHub"
2414
- }, null, 8, ["icon", "size"])])), k("div", Ls, [c[4] || (c[4] = k("div", {
2414
+ }, null, 8, ["icon", "size"])])), k("div", xs, [c[4] || (c[4] = k("div", {
2415
2415
  class: "oauth-binding-account__provider"
2416
- }, "GitHub", -1)), k("div", Bs, L(((R = ($ = e(d)) == null ? void 0 : $.github) == null ? void 0 : R.login) || "GitHub"), 1)])])];
2416
+ }, "GitHub", -1)), k("div", Ls, L(((R = ($ = e(d)) == null ? void 0 : $.github) == null ? void 0 : R.login) || "GitHub"), 1)])])];
2417
2417
  }),
2418
2418
  _: 1
2419
2419
  })) : I("", !0), n.value === "bind" || n.value === "unbind" ? (l(), S(De, {
@@ -2424,7 +2424,7 @@ const _t = {
2424
2424
  }, null, 8, ["size", "email"])) : I("", !0)], 64);
2425
2425
  };
2426
2426
  }
2427
- }), pa = /* @__PURE__ */ C(Os, [["__scopeId", "data-v-6c9b86d5"]]), Ms = /* @__PURE__ */ A({
2427
+ }), ca = /* @__PURE__ */ C(Bs, [["__scopeId", "data-v-6c9b86d5"]]), Os = /* @__PURE__ */ A({
2428
2428
  __name: "LegalDocViewer",
2429
2429
  props: {
2430
2430
  type: {},
@@ -2472,30 +2472,30 @@ const _t = {
2472
2472
  description: "暂无内容"
2473
2473
  }));
2474
2474
  }
2475
- }), ma = /* @__PURE__ */ C(Ms, [["__scopeId", "data-v-fe9a3621"]]);
2475
+ }), pa = /* @__PURE__ */ C(Os, [["__scopeId", "data-v-fe9a3621"]]);
2476
2476
  export {
2477
- vs as A,
2478
- Jt as E,
2479
- ma as L,
2477
+ fs as A,
2478
+ Qt as E,
2479
+ pa as L,
2480
2480
  Q as O,
2481
- Pt as P,
2482
- ht as R,
2481
+ zt as P,
2482
+ gt as R,
2483
2483
  ee as S,
2484
- ys as _,
2485
- ua as a,
2486
- hs as b,
2484
+ hs as _,
2485
+ ra as a,
2486
+ gs as b,
2487
2487
  Ie as c,
2488
- da as d,
2489
- pa as e,
2490
- ca as f,
2491
- tt as g,
2492
- nt as h,
2493
- dt as i,
2494
- ra as j,
2495
- Nt as k,
2496
- Tt as l,
2497
- us as m,
2498
- ss as n,
2488
+ ua as d,
2489
+ ca as e,
2490
+ da as f,
2491
+ et as g,
2492
+ it as h,
2493
+ ut as i,
2494
+ la as j,
2495
+ Gt as k,
2496
+ $t as l,
2497
+ rs as m,
2498
+ ts as n,
2499
2499
  me as o,
2500
- Dt as p
2500
+ Ft as p
2501
2501
  };