@huyooo/ui 0.5.2 → 0.5.4

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.
Files changed (33) hide show
  1. package/dist/{AuthkitAuthModal-cEi5Hm14.js → AuthkitAuthModal-MWWzynTx.js} +133 -156
  2. package/dist/{AuthkitAuthorize-DksJZktr.js → AuthkitAuthorize-D3vma2FV.js} +9 -12
  3. package/dist/{Clipboard-CGm0G1dN.js → Clipboard-Bful1lNJ.js} +1 -1
  4. package/dist/CustomTable-B8i1SbFB.js +202 -0
  5. package/dist/{FeedbackItem-Day3rfSw.js → FeedbackItem-C1TqPuuy.js} +3 -3
  6. package/dist/{FeedbackModal-CsRXm-MY.js → FeedbackModal-CdBaCw5j.js} +20 -24
  7. package/dist/{LandingPageSectionTabs-DPTZIwiJ.js → LandingPageSectionTabs-uO4kXpj7.js} +407 -420
  8. package/dist/{MessageHandle-DqH_478k.js → MessageHandle-JzX9UY1a.js} +19 -28
  9. package/dist/{PaySubscriptions-Dp8y1fdJ.js → PaySubscriptions-Bak0mpKh.js} +10 -10
  10. package/dist/{ReferrerReferees-xIXZglpy.js → ReferrerReferees-Cuw4uhVu.js} +2 -2
  11. package/dist/{Upload.vue_vue_type_script_setup_true_lang-CxGZSDoo.js → Upload.vue_vue_type_script_setup_true_lang-DQPtXtJ0.js} +2 -2
  12. package/dist/{UserPanel-C1NGdsFk.js → UserPanel-BBB9cA2b.js} +17 -19
  13. package/dist/{WidthContainer-CMiKkPuv.js → WidthContainer-Co60dOmv.js} +51 -50
  14. package/dist/authkit.js +2 -2
  15. package/dist/common.js +2 -2
  16. package/dist/components/PrivateCom/useSEO.d.ts +71 -0
  17. package/dist/composables.js +2 -2
  18. package/dist/feedback.js +3 -3
  19. package/dist/index-Bb-d5pBq.js +1167 -0
  20. package/dist/index.js +226 -226
  21. package/dist/landingPage.js +1 -1
  22. package/dist/message.js +1 -1
  23. package/dist/pay.js +1 -1
  24. package/dist/referrer.js +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/upload.js +2 -2
  27. package/dist/{useRoutePermission-Uxu5S3m1.js → useRoutePermission-DWJ-2G10.js} +2 -2
  28. package/dist/{useUploadCos-DNKp_9xt.js → useUploadCos-BdIk3m1E.js} +1 -1
  29. package/dist/user.js +1 -1
  30. package/package.json +2 -1
  31. package/dist/CustomTable-kfI18phy.js +0 -1359
  32. package/dist/utils/landingPage.d.ts +0 -1
  33. /package/dist/{index-DaMA6jEr.js → _commonjsHelpers-DaMA6jEr.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  /* empty css */
2
2
  import { g as F } from "./index-DZIhLe1R.js";
3
3
  /* empty css */
4
- import { defineComponent as k, computed as T, createElementBlock as I, openBlock as g, normalizeStyle as j, normalizeClass as ce, createElementVNode as b, ref as y, createBlock as h, unref as e, withCtx as m, createVNode as a, createTextVNode as z, onMounted as G, onUnmounted as te, withDirectives as fe, toDisplayString as B, vShow as pe, Fragment as W, createCommentVNode as S, isRef as ie, useSlots as ve, renderSlot as se } from "vue";
5
- import { Form as O, FormItem as A, Avatar as ne, Input as V, Textarea as ge, Button as U, Message as E, Alert as L, Modal as le, Divider as _e, Link as N } from "@arco-design/web-vue";
4
+ import { defineComponent as k, computed as T, createElementBlock as I, openBlock as g, normalizeStyle as j, normalizeClass as ce, createElementVNode as b, ref as h, createBlock as _, unref as e, withCtx as m, createVNode as a, createTextVNode as z, onMounted as G, onUnmounted as te, withDirectives as fe, toDisplayString as B, vShow as pe, Fragment as W, createCommentVNode as S, isRef as ie, useSlots as ve, renderSlot as se } from "vue";
5
+ import { Form as O, FormItem as A, Avatar as ne, Input as V, Textarea as ge, Button as U, Message as E, Alert as L, Modal as le, Divider as ye, Link as N } from "@arco-design/web-vue";
6
6
  /* empty css */
7
7
  /* empty css */
8
- import { u as ye } from "./useUploadCos-DNKp_9xt.js";
9
- import { b as he, c as ee, d as be, a as K, e as we, f as ze, u as Z } from "./useAuthkitUsersProfile-D2UZf7n0.js";
8
+ import { u as he } from "./useUploadCos-BdIk3m1E.js";
9
+ import { b as _e, c as ee, d as be, a as K, e as we, f as ze, u as Z } from "./useAuthkitUsersProfile-D2UZf7n0.js";
10
10
  import { _ as Se, g as ke, i as Ae } from "./plugin-vue_export-helper-LjDO2Zua.js";
11
11
  import { u as J, a as Pe } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-B-QKS_BT.js";
12
12
  import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -96,15 +96,15 @@ const qe = Object.assign(M, {
96
96
  setup(i, {
97
97
  emit: n
98
98
  }) {
99
- const u = n, s = i, o = y({
99
+ const u = n, s = i, o = h({
100
100
  id: void 0,
101
101
  nickname: "",
102
102
  description: "",
103
103
  avatar: "",
104
104
  avatarUrl: ""
105
- }), l = y(!1), t = y(), r = y(!1);
106
- function _() {
107
- r.value = !0, he().then(({
105
+ }), l = h(!1), t = h(), r = h(!1);
106
+ function y() {
107
+ r.value = !0, _e().then(({
108
108
  data: d
109
109
  }) => {
110
110
  r.value = !1, o.value.id = d.id, o.value.nickname = d.nickname, o.value.description = d.description, o.value.avatar = d.avatar, o.value.avatarUrl = d.avatarUrl;
@@ -132,11 +132,11 @@ const qe = Object.assign(M, {
132
132
  }
133
133
  });
134
134
  }
135
- _();
135
+ y();
136
136
  const p = () => {
137
137
  const {
138
138
  uploadFile: d
139
- } = ye(), f = document.createElement("input");
139
+ } = he(), f = document.createElement("input");
140
140
  f.type = "file", f.accept = "image/*", f.style.display = "none", document.body.append(f), f.addEventListener("change", async (v) => {
141
141
  var q;
142
142
  const $ = (q = v.target.files) == null ? void 0 : q[0];
@@ -155,7 +155,7 @@ const qe = Object.assign(M, {
155
155
  avatar: x.Key
156
156
  };
157
157
  ee(me).then(() => {
158
- l.value = !1, E.success("更新成功"), _(), u("submit");
158
+ l.value = !1, E.success("更新成功"), y(), u("submit");
159
159
  }).catch(() => {
160
160
  l.value = !1;
161
161
  });
@@ -171,7 +171,7 @@ const qe = Object.assign(M, {
171
171
  f.remove();
172
172
  }), f.click();
173
173
  };
174
- return (d, f) => (g(), h(e(O), {
174
+ return (d, f) => (g(), _(e(O), {
175
175
  ref_key: "formRef",
176
176
  ref: t,
177
177
  model: o.value,
@@ -240,9 +240,8 @@ const qe = Object.assign(M, {
240
240
  loading: r.value,
241
241
  onClick: c
242
242
  }, {
243
- default: m(() => f[2] || (f[2] = [z(" 提交 ")])),
244
- _: 1,
245
- __: [2]
243
+ default: m(() => [...f[2] || (f[2] = [z(" 提交 ", -1)])]),
244
+ _: 1
246
245
  }, 8, ["loading"])])]),
247
246
  _: 1
248
247
  })]),
@@ -289,9 +288,9 @@ const Ee = /* @__PURE__ */ k({
289
288
  expose: n,
290
289
  emit: u
291
290
  }) {
292
- const s = u, o = i, l = y(!1);
291
+ const s = u, o = i, l = h(!1);
293
292
  let t;
294
- const r = y(0), _ = T(() => r.value.toString().padStart(2, "0")), c = T(() => r.value > 0), p = () => {
293
+ const r = h(0), y = T(() => r.value.toString().padStart(2, "0")), c = T(() => r.value > 0), p = () => {
295
294
  l.value && (r.value <= 0 ? (clearInterval(t), l.value = !1) : r.value--);
296
295
  };
297
296
  function d() {
@@ -305,7 +304,7 @@ const Ee = /* @__PURE__ */ k({
305
304
  startCountFn: f
306
305
  }), te(() => {
307
306
  t && clearInterval(t);
308
- }), (v, w) => (g(), h(e(U), {
307
+ }), (v, w) => (g(), _(e(U), {
309
308
  class: "OAuthItem",
310
309
  type: "primary",
311
310
  size: o.size,
@@ -315,9 +314,8 @@ const Ee = /* @__PURE__ */ k({
315
314
  }, {
316
315
  default: m(() => [w[0] || (w[0] = b("span", null, " 发送验证码", -1)), fe(b("span", {
317
316
  class: "verify-code-timer"
318
- }, B(`(${_.value})`), 513), [[pe, c.value]])]),
319
- _: 1,
320
- __: [0]
317
+ }, B(`(${y.value})`), 513), [[pe, c.value]])]),
318
+ _: 1
321
319
  }, 8, ["size", "disabled", "loading"]));
322
320
  }
323
321
  }), X = /* @__PURE__ */ P(Ee, [["__scopeId", "data-v-2883dc6d"]]);
@@ -350,7 +348,7 @@ const Ne = {
350
348
  setup(i, {
351
349
  emit: n
352
350
  }) {
353
- const u = n, s = i, o = T(() => ae(s.email)), l = y(), t = y(!1), r = y(!1), _ = y(), c = y({
351
+ const u = n, s = i, o = T(() => ae(s.email)), l = h(), t = h(!1), r = h(!1), y = h(), c = h({
354
352
  userToken: void 0,
355
353
  emailVerifyId: void 0
356
354
  });
@@ -366,7 +364,7 @@ const Ne = {
366
364
  });
367
365
  }
368
366
  async function d() {
369
- _.value.validate(["userToken"]).then((f) => {
367
+ y.value.validate(["userToken"]).then((f) => {
370
368
  if (!f) {
371
369
  r.value = !0;
372
370
  const v = {
@@ -382,9 +380,9 @@ const Ne = {
382
380
  }
383
381
  });
384
382
  }
385
- return (f, v) => (g(), h(e(O), {
383
+ return (f, v) => (g(), _(e(O), {
386
384
  ref_key: "formRef",
387
- ref: _,
385
+ ref: y,
388
386
  model: c.value,
389
387
  "auto-label-width": "",
390
388
  size: s.size
@@ -436,9 +434,8 @@ const Ne = {
436
434
  type: "primary",
437
435
  onClick: d
438
436
  }, {
439
- default: m(() => v[1] || (v[1] = [z(" 提交 ")])),
440
- _: 1,
441
- __: [1]
437
+ default: m(() => [...v[1] || (v[1] = [z(" 提交 ", -1)])]),
438
+ _: 1
442
439
  }, 8, ["loading"])])]),
443
440
  _: 1
444
441
  })]),
@@ -459,14 +456,14 @@ const Ne = {
459
456
  setup(i, {
460
457
  emit: n
461
458
  }) {
462
- const u = n, s = y(!1), o = y(), l = i, t = y({
459
+ const u = n, s = h(!1), o = h(), l = i, t = h({
463
460
  oldPassword: "",
464
461
  password: "",
465
462
  confirmPassword: ""
466
463
  });
467
464
  async function r() {
468
- o.value.validate().then((_) => {
469
- if (!_) {
465
+ o.value.validate().then((y) => {
466
+ if (!y) {
470
467
  const c = {
471
468
  password: t.value.password
472
469
  };
@@ -478,7 +475,7 @@ const Ne = {
478
475
  }
479
476
  });
480
477
  }
481
- return (_, c) => (g(), h(e(O), {
478
+ return (y, c) => (g(), _(e(O), {
482
479
  ref_key: "formRef",
483
480
  ref: o,
484
481
  model: t.value,
@@ -553,9 +550,8 @@ const Ne = {
553
550
  loading: s.value,
554
551
  onClick: r
555
552
  }, {
556
- default: m(() => c[3] || (c[3] = [z(" 提交 ")])),
557
- _: 1,
558
- __: [3]
553
+ default: m(() => [...c[3] || (c[3] = [z(" 提交 ", -1)])]),
554
+ _: 1
559
555
  }, 8, ["loading"])])]),
560
556
  _: 1
561
557
  })]),
@@ -576,11 +572,11 @@ const Ne = {
576
572
  loading: u,
577
573
  fetchUserProfile: s,
578
574
  isLoggedIn: o
579
- } = K(), l = y("hidden"), t = i;
575
+ } = K(), l = h("hidden"), t = i;
580
576
  function r(p) {
581
577
  l.value = p;
582
578
  }
583
- function _(p) {
579
+ function y(p) {
584
580
  E.success("密码修改成功"), l.value = "hidden", s();
585
581
  }
586
582
  function c() {
@@ -590,7 +586,7 @@ const Ne = {
590
586
  o.value && !n.value && s();
591
587
  }), (p, d) => {
592
588
  var f, v, w, $;
593
- return g(), I(W, null, [!((f = e(n)) != null && f.email) && !((v = e(n)) != null && v.phone) ? (g(), h(e(L), {
589
+ return g(), I(W, null, [!((f = e(n)) != null && f.email) && !((v = e(n)) != null && v.phone) ? (g(), _(e(L), {
594
590
  key: 0,
595
591
  title: "去绑定邮箱"
596
592
  }, {
@@ -599,14 +595,12 @@ const Ne = {
599
595
  type: "primary",
600
596
  onClick: d[0] || (d[0] = (q) => r("update"))
601
597
  }, {
602
- default: m(() => d[2] || (d[2] = [z(" 去绑定邮箱 ")])),
603
- _: 1,
604
- __: [2]
598
+ default: m(() => [...d[2] || (d[2] = [z(" 去绑定邮箱 ", -1)])]),
599
+ _: 1
605
600
  }, 8, ["size"])]),
606
- default: m(() => [d[3] || (d[3] = z(" 请先去绑定邮箱或者手机号码,才能设置密码 "))]),
607
- _: 1,
608
- __: [3]
609
- })) : S("", !0), (w = e(n)) != null && w.email && l.value === "hidden" ? (g(), h(e(L), {
601
+ default: m(() => [d[3] || (d[3] = z(" 请先去绑定邮箱或者手机号码,才能设置密码 ", -1))]),
602
+ _: 1
603
+ })) : S("", !0), (w = e(n)) != null && w.email && l.value === "hidden" ? (g(), _(e(L), {
610
604
  key: 1,
611
605
  title: "更改密码"
612
606
  }, {
@@ -615,19 +609,17 @@ const Ne = {
615
609
  type: "primary",
616
610
  onClick: d[1] || (d[1] = (q) => r("verify"))
617
611
  }, {
618
- default: m(() => d[4] || (d[4] = [z("更改密码")])),
619
- _: 1,
620
- __: [4]
612
+ default: m(() => [...d[4] || (d[4] = [z("更改密码", -1)])]),
613
+ _: 1
621
614
  }, 8, ["size"])]),
622
- default: m(() => [d[5] || (d[5] = z(" 为了账户安全修改密码前会先验证身份 "))]),
623
- _: 1,
624
- __: [5]
625
- })) : S("", !0), l.value === "update" ? (g(), h(De, {
615
+ default: m(() => [d[5] || (d[5] = z(" 为了账户安全修改密码前会先验证身份 ", -1))]),
616
+ _: 1
617
+ })) : S("", !0), l.value === "update" ? (g(), _(De, {
626
618
  key: 2,
627
619
  size: t.size,
628
620
  loading: e(u),
629
- onSubmit: _
630
- }, null, 8, ["size", "loading"])) : S("", !0), l.value === "verify" ? (g(), h(Y, {
621
+ onSubmit: y
622
+ }, null, 8, ["size", "loading"])) : S("", !0), l.value === "verify" ? (g(), _(Y, {
631
623
  key: 3,
632
624
  size: t.size,
633
625
  email: ($ = e(n)) == null ? void 0 : $.email,
@@ -658,7 +650,7 @@ const Ne = {
658
650
  setup(i, {
659
651
  emit: n
660
652
  }) {
661
- const u = n, s = i, o = y(), l = y(!1), t = y(), r = y({
653
+ const u = n, s = i, o = h(), l = h(!1), t = h(), r = h({
662
654
  email: void 0,
663
655
  userToken: void 0,
664
656
  emailVerifyId: void 0,
@@ -666,7 +658,7 @@ const Ne = {
666
658
  confirmPassword: void 0,
667
659
  referrerId: void 0
668
660
  });
669
- async function _() {
661
+ async function y() {
670
662
  t.value.validateField(["email"]).then((p) => {
671
663
  p || (l.value = !0, Q({
672
664
  email: r.value.email
@@ -733,7 +725,7 @@ const Ne = {
733
725
  style: {
734
726
  "margin-left": "10px"
735
727
  },
736
- onSend: _
728
+ onSend: y
737
729
  }, null, 8, ["size", "loading"])])]),
738
730
  _: 1
739
731
  }), a(e(A), {
@@ -803,9 +795,8 @@ const Ne = {
803
795
  size: s.size,
804
796
  onClick: c
805
797
  }, {
806
- default: m(() => d[5] || (d[5] = [z(" 提交 ")])),
807
- _: 1,
808
- __: [5]
798
+ default: m(() => [...d[5] || (d[5] = [z(" 提交 ", -1)])]),
799
+ _: 1
809
800
  }, 8, ["loading", "size"])])]),
810
801
  _: 1
811
802
  }, 8, ["model", "size"])]));
@@ -823,7 +814,7 @@ const Ne = {
823
814
  userProfile: n,
824
815
  loading: u,
825
816
  fetchUserProfile: s
826
- } = K(), o = y("hidden"), l = i;
817
+ } = K(), o = h("hidden"), l = i;
827
818
  function t(c) {
828
819
  o.value = c;
829
820
  }
@@ -840,14 +831,14 @@ const Ne = {
840
831
  u.value = !1;
841
832
  });
842
833
  }
843
- function _() {
834
+ function y() {
844
835
  o.value = "update";
845
836
  }
846
837
  return G(() => {
847
838
  n.value || s();
848
839
  }), (c, p) => {
849
840
  var d, f, v;
850
- return g(), I(W, null, [!((d = e(n)) != null && d.email) && o.value === "hidden" ? (g(), h(e(L), {
841
+ return g(), I(W, null, [!((d = e(n)) != null && d.email) && o.value === "hidden" ? (g(), _(e(L), {
851
842
  key: 0,
852
843
  title: "绑定邮箱"
853
844
  }, {
@@ -856,14 +847,12 @@ const Ne = {
856
847
  type: "primary",
857
848
  onClick: p[0] || (p[0] = (w) => t("update"))
858
849
  }, {
859
- default: m(() => p[2] || (p[2] = [z(" 绑定邮箱 ")])),
860
- _: 1,
861
- __: [2]
850
+ default: m(() => [...p[2] || (p[2] = [z(" 绑定邮箱 ", -1)])]),
851
+ _: 1
862
852
  }, 8, ["size"])]),
863
- default: m(() => [p[3] || (p[3] = z(" 您还未绑定邮箱,请点击绑定邮箱 "))]),
864
- _: 1,
865
- __: [3]
866
- })) : S("", !0), (f = e(n)) != null && f.email && o.value === "hidden" ? (g(), h(e(L), {
853
+ default: m(() => [p[3] || (p[3] = z(" 您还未绑定邮箱,请点击绑定邮箱 ", -1))]),
854
+ _: 1
855
+ })) : S("", !0), (f = e(n)) != null && f.email && o.value === "hidden" ? (g(), _(e(L), {
867
856
  key: 1,
868
857
  title: "更改邮箱"
869
858
  }, {
@@ -872,25 +861,24 @@ const Ne = {
872
861
  type: "primary",
873
862
  onClick: p[1] || (p[1] = (w) => t("verify"))
874
863
  }, {
875
- default: m(() => p[4] || (p[4] = [z(" 更改邮箱 ")])),
876
- _: 1,
877
- __: [4]
864
+ default: m(() => [...p[4] || (p[4] = [z(" 更改邮箱 ", -1)])]),
865
+ _: 1
878
866
  }, 8, ["size"])]),
879
867
  default: m(() => {
880
868
  var w;
881
869
  return [z(B(`您绑定的邮箱为${e(ae)((w = e(n)) == null ? void 0 : w.email)}`) + " ", 1)];
882
870
  }),
883
871
  _: 1
884
- })) : S("", !0), o.value === "update" ? (g(), h(oe, {
872
+ })) : S("", !0), o.value === "update" ? (g(), _(oe, {
885
873
  key: 2,
886
874
  loading: e(u),
887
875
  size: l.size,
888
876
  onSubmit: r
889
- }, null, 8, ["loading", "size"])) : S("", !0), o.value === "verify" ? (g(), h(Y, {
877
+ }, null, 8, ["loading", "size"])) : S("", !0), o.value === "verify" ? (g(), _(Y, {
890
878
  key: 3,
891
879
  size: l.size,
892
880
  email: (v = e(n)) == null ? void 0 : v.email,
893
- onNext: _
881
+ onNext: y
894
882
  }, null, 8, ["size", "email"])) : S("", !0)], 64);
895
883
  };
896
884
  }
@@ -913,13 +901,13 @@ const Ye = /* @__PURE__ */ k({
913
901
  const {
914
902
  userProfile: n,
915
903
  fetchUserProfile: u
916
- } = K(), s = y("hidden"), o = y(!1);
904
+ } = K(), s = h("hidden"), o = h(!1);
917
905
  let l;
918
906
  const t = i;
919
907
  function r(f) {
920
908
  s.value = f;
921
909
  }
922
- function _() {
910
+ function y() {
923
911
  re().then(({
924
912
  data: f
925
913
  }) => {
@@ -935,7 +923,7 @@ const Ye = /* @__PURE__ */ k({
935
923
  });
936
924
  }
937
925
  function p() {
938
- s.value === "bind" && (s.value = "hidden", _()), s.value === "unbind" && c();
926
+ s.value === "bind" && (s.value = "hidden", y()), s.value === "unbind" && c();
939
927
  }
940
928
  function d() {
941
929
  o.value && u();
@@ -946,7 +934,7 @@ const Ye = /* @__PURE__ */ k({
946
934
  l && clearInterval(l);
947
935
  }), (f, v) => {
948
936
  var w, $, q;
949
- return g(), I(W, null, [!((w = e(n)) != null && w.github) && s.value === "hidden" ? (g(), h(e(L), {
937
+ return g(), I(W, null, [!((w = e(n)) != null && w.github) && s.value === "hidden" ? (g(), _(e(L), {
950
938
  key: 0,
951
939
  title: "绑定GitHUb"
952
940
  }, {
@@ -955,14 +943,12 @@ const Ye = /* @__PURE__ */ k({
955
943
  type: "primary",
956
944
  onClick: v[0] || (v[0] = (R) => r("bind"))
957
945
  }, {
958
- default: m(() => v[2] || (v[2] = [z(" 绑定GitHUb ")])),
959
- _: 1,
960
- __: [2]
946
+ default: m(() => [...v[2] || (v[2] = [z(" 绑定GitHUb ", -1)])]),
947
+ _: 1
961
948
  }, 8, ["size"])]),
962
- default: m(() => [v[3] || (v[3] = z(" 请尚未绑定GitHub,请点击绑定GitHUb "))]),
963
- _: 1,
964
- __: [3]
965
- })) : S("", !0), ($ = e(n)) != null && $.github && s.value === "hidden" ? (g(), h(e(L), {
949
+ default: m(() => [v[3] || (v[3] = z(" 请尚未绑定GitHub,请点击绑定GitHUb ", -1))]),
950
+ _: 1
951
+ })) : S("", !0), ($ = e(n)) != null && $.github && s.value === "hidden" ? (g(), _(e(L), {
966
952
  key: 1,
967
953
  title: "解绑GitHub"
968
954
  }, {
@@ -971,9 +957,8 @@ const Ye = /* @__PURE__ */ k({
971
957
  type: "primary",
972
958
  onClick: v[1] || (v[1] = (R) => r("unbind"))
973
959
  }, {
974
- default: m(() => v[4] || (v[4] = [z(" 解绑GitHUb ")])),
975
- _: 1,
976
- __: [4]
960
+ default: m(() => [...v[4] || (v[4] = [z(" 解绑GitHUb ", -1)])]),
961
+ _: 1
977
962
  }, 8, ["size"])]),
978
963
  default: m(() => {
979
964
  var R, C, x;
@@ -983,7 +968,7 @@ const Ye = /* @__PURE__ */ k({
983
968
  }, null, 8, ["image-url"])];
984
969
  }),
985
970
  _: 1
986
- })) : S("", !0), s.value === "bind" || s.value === "unbind" ? (g(), h(Y, {
971
+ })) : S("", !0), s.value === "bind" || s.value === "unbind" ? (g(), _(Y, {
987
972
  key: 2,
988
973
  size: t.size,
989
974
  email: (q = e(n)) == null ? void 0 : q.email,
@@ -1008,7 +993,7 @@ const Ye = /* @__PURE__ */ k({
1008
993
  function o() {
1009
994
  s("cancel");
1010
995
  }
1011
- const l = y("large"), t = y(["PersonalInformation"]), r = y([{
996
+ const l = h("large"), t = h(["PersonalInformation"]), r = h([{
1012
997
  name: "个人信息",
1013
998
  path: "PersonalInformation",
1014
999
  meta: {
@@ -1053,7 +1038,7 @@ const Ye = /* @__PURE__ */ k({
1053
1038
  // },
1054
1039
  ]
1055
1040
  }]);
1056
- function _(f, v) {
1041
+ function y(f, v) {
1057
1042
  const w = f.path;
1058
1043
  console.log(w, v, "lokokoko"), t.value = [w];
1059
1044
  }
@@ -1066,7 +1051,7 @@ const Ye = /* @__PURE__ */ k({
1066
1051
  }
1067
1052
  return n({
1068
1053
  setData: d
1069
- }), (f, v) => (g(), h(e(le), {
1054
+ }), (f, v) => (g(), _(e(le), {
1070
1055
  visible: e(p),
1071
1056
  "onUpdate:visible": v[1] || (v[1] = (w) => ie(p) ? p.value = w : null),
1072
1057
  "unmount-on-close": "",
@@ -1076,22 +1061,22 @@ const Ye = /* @__PURE__ */ k({
1076
1061
  width: "700px",
1077
1062
  onCancel: o
1078
1063
  }, {
1079
- title: m(() => v[2] || (v[2] = [z(" 系统设置 ")])),
1064
+ title: m(() => [...v[2] || (v[2] = [z(" 系统设置 ", -1)])]),
1080
1065
  default: m(() => [b("div", et, [b("div", tt, [a(Ie, {
1081
1066
  "selected-keys": t.value,
1082
1067
  "onUpdate:selectedKeys": v[0] || (v[0] = (w) => t.value = w),
1083
1068
  menus: r.value,
1084
- onChange: _
1085
- }, null, 8, ["selected-keys", "menus"])]), b("div", it, [t.value[0] === "PersonalInformation" ? (g(), h(Le, {
1069
+ onChange: y
1070
+ }, null, 8, ["selected-keys", "menus"])]), b("div", it, [t.value[0] === "PersonalInformation" ? (g(), _(Le, {
1086
1071
  key: 0,
1087
1072
  size: l.value
1088
- }, null, 8, ["size"])) : S("", !0), t.value[0] === "EmailBinding" ? (g(), h(Xe, {
1073
+ }, null, 8, ["size"])) : S("", !0), t.value[0] === "EmailBinding" ? (g(), _(Xe, {
1089
1074
  key: 1,
1090
1075
  size: l.value
1091
- }, null, 8, ["size"])) : S("", !0), t.value[0] === "SetPassword" ? (g(), h(je, {
1076
+ }, null, 8, ["size"])) : S("", !0), t.value[0] === "SetPassword" ? (g(), _(je, {
1092
1077
  key: 2,
1093
1078
  size: l.value
1094
- }, null, 8, ["size"])) : S("", !0), t.value[0] === "GithubBinding" ? (g(), h(Ye, {
1079
+ }, null, 8, ["size"])) : S("", !0), t.value[0] === "GithubBinding" ? (g(), _(Ye, {
1095
1080
  key: 3,
1096
1081
  size: l.value
1097
1082
  }, null, 8, ["size"])) : S("", !0)])])]),
@@ -1145,7 +1130,7 @@ const D = /* @__PURE__ */ k({
1145
1130
  emit: n
1146
1131
  }) {
1147
1132
  const u = i;
1148
- return (s, o) => (g(), h(e(U), {
1133
+ return (s, o) => (g(), _(e(U), {
1149
1134
  class: "OAuthItem",
1150
1135
  type: "primary",
1151
1136
  size: u.size
@@ -1181,26 +1166,25 @@ const D = /* @__PURE__ */ k({
1181
1166
  googleAuth: o,
1182
1167
  microsoftAuth: l
1183
1168
  } = ot(), t = T(() => !(!n.value.oauth.google.enabled && !n.value.oauth.microsoft.enabled && !n.value.oauth.github.enabled && !n.value.oauth.wechat.enabled));
1184
- return (r, _) => (g(), I("div", rt, [t.value ? (g(), h(e(_e), {
1169
+ return (r, y) => (g(), I("div", rt, [t.value ? (g(), _(e(ye), {
1185
1170
  key: 0,
1186
1171
  orientation: "center"
1187
1172
  }, {
1188
- default: m(() => _[0] || (_[0] = [z("OAuth登陆")])),
1189
- _: 1,
1190
- __: [0]
1191
- })) : S("", !0), b("div", ut, [e(n).oauth.github.enabled ? (g(), h(D, {
1173
+ default: m(() => [...y[0] || (y[0] = [z("OAuth登陆", -1)])]),
1174
+ _: 1
1175
+ })) : S("", !0), b("div", ut, [e(n).oauth.github.enabled ? (g(), _(D, {
1192
1176
  key: 0,
1193
1177
  icon: "mdi:github",
1194
1178
  label: "Github",
1195
1179
  size: u.size,
1196
1180
  onClick: e(s)
1197
- }, null, 8, ["size", "onClick"])) : S("", !0), e(n).oauth.google.enabled ? (g(), h(D, {
1181
+ }, null, 8, ["size", "onClick"])) : S("", !0), e(n).oauth.google.enabled ? (g(), _(D, {
1198
1182
  key: 1,
1199
1183
  icon: "mdi:google",
1200
1184
  label: "Google",
1201
1185
  size: u.size,
1202
1186
  onClick: e(o)
1203
- }, null, 8, ["size", "onClick"])) : S("", !0), e(n).oauth.microsoft.enabled ? (g(), h(D, {
1187
+ }, null, 8, ["size", "onClick"])) : S("", !0), e(n).oauth.microsoft.enabled ? (g(), _(D, {
1204
1188
  key: 2,
1205
1189
  icon: "mdi:microsoft",
1206
1190
  label: "Microsoft",
@@ -1231,14 +1215,14 @@ const D = /* @__PURE__ */ k({
1231
1215
  setup(i, {
1232
1216
  emit: n
1233
1217
  }) {
1234
- const u = n, s = i, o = y(), l = y(!1), t = y(), r = y({
1218
+ const u = n, s = i, o = h(), l = h(!1), t = h(), r = h({
1235
1219
  email: void 0,
1236
1220
  userToken: void 0,
1237
1221
  emailVerifyId: void 0,
1238
1222
  password: void 0,
1239
1223
  confirmPassword: void 0
1240
1224
  });
1241
- async function _() {
1225
+ async function y() {
1242
1226
  t.value.validateField(["email"]).then((p) => {
1243
1227
  p || (l.value = !0, Q({
1244
1228
  email: r.value.email
@@ -1302,7 +1286,7 @@ const D = /* @__PURE__ */ k({
1302
1286
  style: {
1303
1287
  "margin-left": "10px"
1304
1288
  },
1305
- onSend: _
1289
+ onSend: y
1306
1290
  }, null, 8, ["size", "loading"])])]),
1307
1291
  _: 1
1308
1292
  }), a(e(A), {
@@ -1356,16 +1340,15 @@ const D = /* @__PURE__ */ k({
1356
1340
  size: s.size,
1357
1341
  onClick: c
1358
1342
  }, {
1359
- default: m(() => d[4] || (d[4] = [z(" 提交 ")])),
1360
- _: 1,
1361
- __: [4]
1343
+ default: m(() => [...d[4] || (d[4] = [z(" 提交 ", -1)])]),
1344
+ _: 1
1362
1345
  }, 8, ["loading", "size"])])]),
1363
1346
  _: 1
1364
1347
  }, 8, ["model", "size"])]));
1365
1348
  }
1366
- }), gt = /* @__PURE__ */ P(vt, [["__scopeId", "data-v-1c83f44a"]]), _t = {
1349
+ }), gt = /* @__PURE__ */ P(vt, [["__scopeId", "data-v-1c83f44a"]]), yt = {
1367
1350
  class: "SwitchSignIn"
1368
- }, yt = /* @__PURE__ */ k({
1351
+ }, ht = /* @__PURE__ */ k({
1369
1352
  __name: "AuthkitSwitchSignIn",
1370
1353
  emits: ["switchSignIn"],
1371
1354
  setup(i, {
@@ -1375,18 +1358,17 @@ const D = /* @__PURE__ */ k({
1375
1358
  function s() {
1376
1359
  u("switchSignIn");
1377
1360
  }
1378
- return (o, l) => (g(), I("div", _t, [b("span", null, [l[1] || (l[1] = b("span", null, "已经有账号?", -1)), a(e(N), {
1361
+ return (o, l) => (g(), I("div", yt, [b("span", null, [l[1] || (l[1] = b("span", null, "已经有账号?", -1)), a(e(N), {
1379
1362
  style: {
1380
1363
  padding: "0px"
1381
1364
  },
1382
1365
  onClick: s
1383
1366
  }, {
1384
- default: m(() => l[0] || (l[0] = [z("去登陆")])),
1385
- _: 1,
1386
- __: [0]
1367
+ default: m(() => [...l[0] || (l[0] = [z("去登陆", -1)])]),
1368
+ _: 1
1387
1369
  })])]));
1388
1370
  }
1389
- }), ue = /* @__PURE__ */ P(yt, [["__scopeId", "data-v-fc1d3903"]]), ht = {
1371
+ }), ue = /* @__PURE__ */ P(ht, [["__scopeId", "data-v-fc1d3903"]]), _t = {
1390
1372
  class: "ResetPassword"
1391
1373
  }, bt = /* @__PURE__ */ k({
1392
1374
  __name: "AuthkitResetPassword",
@@ -1413,7 +1395,7 @@ const D = /* @__PURE__ */ k({
1413
1395
  async function l(t) {
1414
1396
  u("submit", t);
1415
1397
  }
1416
- return (t, r) => (g(), I("div", ht, [a(gt, {
1398
+ return (t, r) => (g(), I("div", _t, [a(gt, {
1417
1399
  loading: i.loading,
1418
1400
  size: s.size,
1419
1401
  onSubmit: l
@@ -1439,15 +1421,13 @@ const D = /* @__PURE__ */ k({
1439
1421
  return (l, t) => (g(), I("div", zt, [t[2] || (t[2] = b("span", null, " 注册登陆即表示同意", -1)), a(e(N), {
1440
1422
  onClick: s
1441
1423
  }, {
1442
- default: m(() => t[0] || (t[0] = [z("用户服务协议")])),
1443
- _: 1,
1444
- __: [0]
1424
+ default: m(() => [...t[0] || (t[0] = [z("用户服务协议", -1)])]),
1425
+ _: 1
1445
1426
  }), t[3] || (t[3] = b("span", null, " 和 ", -1)), a(e(N), {
1446
1427
  onClick: o
1447
1428
  }, {
1448
- default: m(() => t[1] || (t[1] = [z("隐私协议")])),
1449
- _: 1,
1450
- __: [1]
1429
+ default: m(() => [...t[1] || (t[1] = [z("隐私协议", -1)])]),
1430
+ _: 1
1451
1431
  })]));
1452
1432
  }
1453
1433
  }), kt = /* @__PURE__ */ P(St, [["__scopeId", "data-v-18e831ec"]]), At = {
@@ -1472,9 +1452,9 @@ const D = /* @__PURE__ */ k({
1472
1452
  emit: n
1473
1453
  }) {
1474
1454
  const u = n, s = i;
1475
- async function o(_, c) {
1455
+ async function o(y, c) {
1476
1456
  const p = await Oe({
1477
- password: _
1457
+ password: y
1478
1458
  });
1479
1459
  p || c("密码验证请求出错!");
1480
1460
  const {
@@ -1483,16 +1463,16 @@ const D = /* @__PURE__ */ k({
1483
1463
  } = p.data;
1484
1464
  d || c(f), c();
1485
1465
  }
1486
- const l = y(), t = y({
1466
+ const l = h(), t = h({
1487
1467
  email: void 0,
1488
1468
  password: void 0
1489
1469
  });
1490
1470
  async function r() {
1491
- l.value.validate().then((_) => {
1492
- _ || u("submit", t.value);
1471
+ l.value.validate().then((y) => {
1472
+ y || u("submit", t.value);
1493
1473
  });
1494
1474
  }
1495
- return (_, c) => (g(), I("div", At, [a(e(O), {
1475
+ return (y, c) => (g(), I("div", At, [a(e(O), {
1496
1476
  ref_key: "formRef",
1497
1477
  ref: l,
1498
1478
  model: t.value,
@@ -1545,9 +1525,8 @@ const D = /* @__PURE__ */ k({
1545
1525
  size: s.size,
1546
1526
  onClick: r
1547
1527
  }, {
1548
- default: m(() => c[2] || (c[2] = [z(" 登陆 ")])),
1549
- _: 1,
1550
- __: [2]
1528
+ default: m(() => [...c[2] || (c[2] = [z(" 登陆 ", -1)])]),
1529
+ _: 1
1551
1530
  }, 8, ["loading", "size"])])]),
1552
1531
  _: 1
1553
1532
  }, 8, ["model", "size"])]));
@@ -1573,18 +1552,16 @@ const D = /* @__PURE__ */ k({
1573
1552
  },
1574
1553
  onClick: s
1575
1554
  }, {
1576
- default: m(() => t[0] || (t[0] = [z("去注册?")])),
1577
- _: 1,
1578
- __: [0]
1555
+ default: m(() => [...t[0] || (t[0] = [z("去注册?", -1)])]),
1556
+ _: 1
1579
1557
  })]), a(e(N), {
1580
1558
  style: {
1581
1559
  padding: "0px"
1582
1560
  },
1583
1561
  onClick: o
1584
1562
  }, {
1585
- default: m(() => t[2] || (t[2] = [z(" 忘记密码?")])),
1586
- _: 1,
1587
- __: [2]
1563
+ default: m(() => [...t[2] || (t[2] = [z(" 忘记密码?", -1)])]),
1564
+ _: 1
1588
1565
  })]));
1589
1566
  }
1590
1567
  }), Ct = /* @__PURE__ */ P($t, [["__scopeId", "data-v-14e3aab2"]]), xt = {
@@ -1613,13 +1590,13 @@ const D = /* @__PURE__ */ k({
1613
1590
  function r() {
1614
1591
  u("switchResetPassword");
1615
1592
  }
1616
- async function _(c) {
1593
+ async function y(c) {
1617
1594
  u("submit", c);
1618
1595
  }
1619
1596
  return (c, p) => (g(), I("div", xt, [S("", !0), a(Vt, {
1620
1597
  loading: s.loading,
1621
1598
  size: s.size,
1622
- onSubmit: _
1599
+ onSubmit: y
1623
1600
  }, null, 8, ["loading", "size"]), l.value ? se(c.$slots, "OAuth", {
1624
1601
  key: 1
1625
1602
  }, void 0, !0) : S("", !0), a(Ct, {
@@ -1686,7 +1663,7 @@ const D = /* @__PURE__ */ k({
1686
1663
  } = Z(), {
1687
1664
  appsData: t
1688
1665
  } = J(), r = T(() => l.value === "signIn" ? `${t.value.name}登录` : l.value === "signUp" ? `${t.value.name}账号注册` : l.value === "resetPassword" ? `${t.value.name}密码重置` : "");
1689
- return (_, c) => (g(), I("div", {
1666
+ return (y, c) => (g(), I("div", {
1690
1667
  class: "Title",
1691
1668
  style: j({
1692
1669
  fontSize: s,
@@ -1699,7 +1676,7 @@ const D = /* @__PURE__ */ k({
1699
1676
  style: j({
1700
1677
  width: u
1701
1678
  })
1702
- }, null, 12, Ot)) : S("", !0), b("span", null, B(r.value), 1), se(_.$slots, "default", {}, void 0, !0)], 4));
1679
+ }, null, 12, Ot)) : S("", !0), b("span", null, B(r.value), 1), se(y.$slots, "default", {}, void 0, !0)], 4));
1703
1680
  }
1704
1681
  }), de = /* @__PURE__ */ P(Et, [["__scopeId", "data-v-5576db64"]]), Nt = {
1705
1682
  class: "Auth"
@@ -1726,7 +1703,7 @@ const D = /* @__PURE__ */ k({
1726
1703
  signUpSubmit: l,
1727
1704
  resetPasswordSubmit: t,
1728
1705
  currentView: r,
1729
- authSignInLoading: _,
1706
+ authSignInLoading: y,
1730
1707
  authSignUpLoading: c,
1731
1708
  resetPasswordLoading: p,
1732
1709
  switchSignUp: d,
@@ -1741,14 +1718,14 @@ const D = /* @__PURE__ */ k({
1741
1718
  function q() {
1742
1719
  s("toUserServiceAgreement");
1743
1720
  }
1744
- return w(), (R, C) => (g(), I("div", Nt, [i.showTitle ? (g(), h(de, {
1721
+ return w(), (R, C) => (g(), I("div", Nt, [i.showTitle ? (g(), _(de, {
1745
1722
  key: 0,
1746
1723
  size: 32,
1747
1724
  "font-size": 20
1748
- })) : S("", !0), b("div", Ft, [e(r) === "signIn" ? (g(), h(Rt, {
1725
+ })) : S("", !0), b("div", Ft, [e(r) === "signIn" ? (g(), _(Rt, {
1749
1726
  key: 0,
1750
1727
  size: u.size,
1751
- loading: e(_),
1728
+ loading: e(y),
1752
1729
  onSwitchSignUp: e(d),
1753
1730
  onSwitchResetPassword: e(f),
1754
1731
  onSubmit: C[0] || (C[0] = (x) => e(o)(x))
@@ -1757,13 +1734,13 @@ const D = /* @__PURE__ */ k({
1757
1734
  size: u.size
1758
1735
  }, null, 8, ["size"])]),
1759
1736
  _: 1
1760
- }, 8, ["size", "loading", "onSwitchSignUp", "onSwitchResetPassword"])) : e(r) === "signUp" ? (g(), h(Bt, {
1737
+ }, 8, ["size", "loading", "onSwitchSignUp", "onSwitchResetPassword"])) : e(r) === "signUp" ? (g(), _(Bt, {
1761
1738
  key: 1,
1762
1739
  size: u.size,
1763
1740
  loading: e(c),
1764
1741
  onSwitchSignIn: e(v),
1765
1742
  onSubmit: C[1] || (C[1] = (x) => e(l)(x))
1766
- }, null, 8, ["size", "loading", "onSwitchSignIn"])) : e(r) === "resetPassword" ? (g(), h(wt, {
1743
+ }, null, 8, ["size", "loading", "onSwitchSignIn"])) : e(r) === "resetPassword" ? (g(), _(wt, {
1767
1744
  key: 2,
1768
1745
  size: u.size,
1769
1746
  loading: e(p),
@@ -1795,15 +1772,15 @@ const D = /* @__PURE__ */ k({
1795
1772
  } = Z(), {
1796
1773
  show: s
1797
1774
  } = Pe(), o = i, l = n;
1798
- function t(_) {
1799
- _(!0);
1775
+ function t(y) {
1776
+ y(!0);
1800
1777
  }
1801
1778
  function r() {
1802
1779
  s.value = !1, l("close");
1803
1780
  }
1804
1781
  return u(() => {
1805
1782
  s.value = !1;
1806
- }), (_, c) => (g(), h(e(le), {
1783
+ }), (y, c) => (g(), _(e(le), {
1807
1784
  visible: e(s),
1808
1785
  "onUpdate:visible": c[2] || (c[2] = (p) => ie(s) ? s.value = p : null),
1809
1786
  footer: !1,