@huyooo/ui 0.5.26 → 0.5.28

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 (36) hide show
  1. package/dist/{AuthkitAuthModal-_jUbPMfY.js → AuthkitAuthModal-P9GI9wIQ.js} +8 -9
  2. package/dist/{AuthkitAuthorize-wqXxP_K2.js → AuthkitAuthorize-Bv2MspFC.js} +2 -2
  3. package/dist/{Contact-BYK4A8LY.js → Contact-DTGCcXv9.js} +2 -2
  4. package/dist/{FeedbackItem-CFst7U0_.js → FeedbackItem-DLJhHHDM.js} +3 -3
  5. package/dist/{FeedbackModal-Cgc59WUD.js → FeedbackModal-OsCK3NqC.js} +4 -5
  6. package/dist/LandingPageSectionTabs-B-MarOHk.js +67530 -0
  7. package/dist/{MessageHandle-BnkgjTdM.js → MessageHandle-CdOMmp4n.js} +16 -17
  8. package/dist/{PaySubscriptions-x4b3a-nG.js → PaySubscriptions-DVhnjdi3.js} +7 -8
  9. package/dist/{ReferrerReferees-CyOeIbwr.js → ReferrerReferees-Bfu2z-0W.js} +17 -18
  10. package/dist/{Upload.vue_vue_type_script_setup_true_lang-D7mv66o9.js → Upload.vue_vue_type_script_setup_true_lang-CoOnOaNP.js} +2 -2
  11. package/dist/{UserAccountMenu-DgfGUlvA.js → UserAccountMenu-AhID9xxq.js} +7 -7
  12. package/dist/{WidthContainer-CERr6Dzf.js → WidthContainer-BACUO8zY.js} +6 -6
  13. package/dist/{auth-DtA2gxxa.js → auth-B864DrVx.js} +49 -42
  14. package/dist/authkit.js +5 -5
  15. package/dist/common.js +1 -1
  16. package/dist/components/Authkit/Auth/AuthkitAuthorize.vue.d.ts +1 -1
  17. package/dist/components/LandingPage/LandingPageShowcase.vue.d.ts +20 -17
  18. package/dist/composables.js +6 -6
  19. package/dist/feedback.js +2 -2
  20. package/dist/index.js +176 -177
  21. package/dist/landingPage.js +10 -10
  22. package/dist/message.js +2 -2
  23. package/dist/pay.js +1 -1
  24. package/dist/privateCom.js +1 -1
  25. package/dist/referrer.js +1 -1
  26. package/dist/style.css +1 -1
  27. package/dist/upload.js +2 -2
  28. package/dist/{useAuthkitAppsAuthPageInfo-C1IsAlcM.js → useAuthkitAppsAuthPageInfo-Ct-ElH04.js} +16 -17
  29. package/dist/{useAuthkitUsersProfile-DNYZ87Bt.js → useAuthkitUsersProfile-B1y2nleU.js} +30 -31
  30. package/dist/{useMessageNotifications-CHgy0HWC.js → useMessageNotifications-BUJtc-Us.js} +25 -26
  31. package/dist/{useSEO-BGk6cyAs.js → useSEO-CFQMgnVq.js} +2 -2
  32. package/dist/{useUploadCos-BMEbLTPK.js → useUploadCos-Ca4Mo5FD.js} +3 -4
  33. package/dist/user.js +1 -1
  34. package/dist/utils/request.d.ts +2 -1
  35. package/package.json +2 -2
  36. package/dist/LandingPageSectionTabs-BdtJ_ajh.js +0 -47484
@@ -4,26 +4,25 @@ import { defineComponent as b, ref as r, createBlock as p, openBlock as l, unref
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  import { Spin as V, Empty as K, Button as G, Divider as J, Breadcrumb as O, BreadcrumbItem as x, Modal as P } from "@arco-design/web-vue";
7
- import { g as S } from "./auth-DtA2gxxa.js";
8
- import { api as D } from "@huyooo/api";
7
+ import { c as S, g as D } from "./auth-B864DrVx.js";
9
8
  import { TiptapEditor as Q, TiptapTitle as W } from "@huyooo/vue-tiptap";
10
9
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
10
  /* empty css */
12
11
  import { useIntersectionObserver as X } from "@vueuse/core";
13
- import { u as Y } from "./useMessageNotifications-CHgy0HWC.js";
12
+ import { u as Y } from "./useMessageNotifications-BUJtc-Us.js";
14
13
  import { Icon as Z } from "@iconify/vue";
15
14
  import { u as ee } from "./useAuthkitCreateAndUpdate-BpTxxKc0.js";
16
15
  import { M as te } from "./Menu-ejsosUdV.js";
17
16
  function ne(a) {
18
- return D({
19
- url: `${S.prefixUrl}/restfulApi/messageCenter/changelogNotifications/find`,
17
+ return S({
18
+ url: `${D.prefixUrl}/restfulApi/messageCenter/changelogNotifications/find`,
20
19
  method: "post",
21
20
  data: a
22
21
  });
23
22
  }
24
23
  function se(a) {
25
- return D({
26
- url: `${S.prefixUrl}/restfulApi/messageCenter/changelogNotifications/findOne`,
24
+ return S({
25
+ url: `${D.prefixUrl}/restfulApi/messageCenter/changelogNotifications/findOne`,
27
26
  method: "post",
28
27
  data: a
29
28
  });
@@ -318,15 +317,15 @@ const ie = /* @__PURE__ */ b({
318
317
  }
319
318
  }), Ne = /* @__PURE__ */ C(ke, [["__scopeId", "data-v-e755c9b4"]]);
320
319
  function Ce(a) {
321
- return D({
322
- url: `${S.prefixUrl}/restfulApi/messageCenter/eventNotifications/find`,
320
+ return S({
321
+ url: `${D.prefixUrl}/restfulApi/messageCenter/eventNotifications/find`,
323
322
  method: "post",
324
323
  data: a
325
324
  });
326
325
  }
327
326
  function $e(a) {
328
- return D({
329
- url: `${S.prefixUrl}/restfulApi/messageCenter/eventNotifications/findOne`,
327
+ return S({
328
+ url: `${D.prefixUrl}/restfulApi/messageCenter/eventNotifications/findOne`,
330
329
  method: "post",
331
330
  data: a
332
331
  });
@@ -573,15 +572,15 @@ const xe = /* @__PURE__ */ b({
573
572
  }
574
573
  }), Ee = /* @__PURE__ */ C(ze, [["__scopeId", "data-v-7310aa38"]]);
575
574
  function Fe(a) {
576
- return D({
577
- url: `${S.prefixUrl}/restfulApi/messageCenter/noticeNotifications/find`,
575
+ return S({
576
+ url: `${D.prefixUrl}/restfulApi/messageCenter/noticeNotifications/find`,
578
577
  method: "post",
579
578
  data: a
580
579
  });
581
580
  }
582
581
  function Ve(a) {
583
- return D({
584
- url: `${S.prefixUrl}/restfulApi/messageCenter/noticeNotifications/findOne`,
582
+ return S({
583
+ url: `${D.prefixUrl}/restfulApi/messageCenter/noticeNotifications/findOne`,
585
584
  method: "post",
586
585
  data: a
587
586
  });
@@ -802,14 +801,14 @@ const Ke = /* @__PURE__ */ b({
802
801
  onCancel: t
803
802
  }, null, 8, ["selected-keys", "menus"]));
804
803
  }
805
- }), ft = /* @__PURE__ */ C(Qe, [["__scopeId", "data-v-dd5fd3b4"]]);
804
+ }), dt = /* @__PURE__ */ C(Qe, [["__scopeId", "data-v-dd5fd3b4"]]);
806
805
  export {
807
806
  Pe as A,
808
807
  Ne as C,
809
808
  U as D,
810
809
  Te as E,
811
810
  ce as I,
812
- ft as M,
811
+ dt as M,
813
812
  He as N,
814
813
  ae as _,
815
814
  Le as a,
@@ -6,23 +6,22 @@
6
6
  /* empty css */
7
7
  import { defineComponent as D, ref as U, createBlock as B, openBlock as L, unref as a, isRef as M, withCtx as o, createElementVNode as d, createVNode as r, createTextVNode as u, toDisplayString as n } from "vue";
8
8
  import { Modal as V, Popconfirm as $, Button as E, Tag as g } from "@arco-design/web-vue";
9
- import { g as _ } from "./auth-DtA2gxxa.js";
10
- import { api as x } from "@huyooo/api";
9
+ import { c as _, g as x } from "./auth-B864DrVx.js";
11
10
  import { u as H } from "./useAuthkitCreateAndUpdate-BpTxxKc0.js";
12
11
  import { u as j } from "./useTableHandle-DujKY4Bl.js";
13
12
  import { f as y } from "./index-Bb-d5pBq.js";
14
13
  import { C as q } from "./CustomTable-BGm0KdAy.js";
15
14
  import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
15
  function G(m) {
17
- return x({
18
- url: `${_.prefixUrl}/restfulApi/orders/cancel`,
16
+ return _({
17
+ url: `${x.prefixUrl}/restfulApi/orders/cancel`,
19
18
  method: "post",
20
19
  data: m
21
20
  });
22
21
  }
23
22
  function J(m) {
24
- return x({
25
- url: `${_.prefixUrl}/restfulApi/orders/myOrders`,
23
+ return _({
24
+ url: `${x.prefixUrl}/restfulApi/orders/myOrders`,
26
25
  method: "post",
27
26
  data: m
28
27
  });
@@ -274,7 +273,7 @@ const K = [{
274
273
  _: 1
275
274
  }, 8, ["visible", "onCancel"]));
276
275
  }
277
- }), vt = /* @__PURE__ */ F(at, [["__scopeId", "data-v-8d63590c"]]);
276
+ }), bt = /* @__PURE__ */ F(at, [["__scopeId", "data-v-8d63590c"]]);
278
277
  export {
279
- vt as S
278
+ bt as S
280
279
  };
@@ -3,18 +3,17 @@
3
3
  /* empty css */
4
4
  import { defineComponent as z, ref as d, createBlock as v, openBlock as g, unref as a, withCtx as _, createElementVNode as n, createVNode as A, createCommentVNode as V, toDisplayString as C, createTextVNode as w } from "vue";
5
5
  import { Modal as T } from "@arco-design/web-vue";
6
- import { g as U } from "./auth-DtA2gxxa.js";
7
- import { api as y } from "@huyooo/api";
6
+ import { c as U, g as y } from "./auth-B864DrVx.js";
8
7
  import { u as B } from "./useTableHandle-DujKY4Bl.js";
9
8
  import { C as D } from "./CustomTable-BGm0KdAy.js";
10
9
  import { C as E } from "./Clipboard-CIWjWQOZ.js";
11
- import { a as H } from "./useAuthkitUsersProfile-DNYZ87Bt.js";
10
+ import { a as H } from "./useAuthkitUsersProfile-B1y2nleU.js";
12
11
  import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- function $(f) {
14
- return y({
15
- url: `${U.prefixUrl}/restfulApi/referrer/referees`,
12
+ function $(c) {
13
+ return U({
14
+ url: `${y.prefixUrl}/restfulApi/referrer/referees`,
16
15
  method: "post",
17
- data: f
16
+ data: c
18
17
  });
19
18
  }
20
19
  const j = {
@@ -24,13 +23,13 @@ const j = {
24
23
  }, F = /* @__PURE__ */ z({
25
24
  __name: "ReferrerReferees",
26
25
  emits: ["cancel"],
27
- setup(f, {
26
+ setup(c, {
28
27
  expose: h,
29
28
  emit: b
30
29
  }) {
31
30
  const x = b, {
32
31
  pagination: t,
33
- dataSource: c,
32
+ dataSource: f,
34
33
  setPage: m
35
34
  } = B("被邀请人"), {
36
35
  userProfile: s
@@ -54,7 +53,7 @@ const j = {
54
53
  }).then(({
55
54
  data: e
56
55
  }) => {
57
- o.value = !1, c.value = e.items, t.value.total = e.count;
56
+ o.value = !1, f.value = e.items, t.value.total = e.count;
58
57
  }).catch(() => {
59
58
  o.value = !1;
60
59
  });
@@ -74,9 +73,9 @@ const j = {
74
73
  }
75
74
  return h({
76
75
  setData: P
77
- }), (e, i) => (g(), v(a(T), {
76
+ }), (e, l) => (g(), v(a(T), {
78
77
  visible: r.value,
79
- "onUpdate:visible": i[0] || (i[0] = (l) => r.value = l),
78
+ "onUpdate:visible": l[0] || (l[0] = (i) => r.value = i),
80
79
  title: "被邀请人详情",
81
80
  width: "60%",
82
81
  "ok-loading": o.value,
@@ -86,16 +85,16 @@ const j = {
86
85
  onCancel: N
87
86
  }, {
88
87
  default: _(() => {
89
- var l, p;
90
- return [n("div", j, [i[1] || (i[1] = n("div", {
88
+ var i, p;
89
+ return [n("div", j, [l[1] || (l[1] = n("div", {
91
90
  class: "invite-code-label"
92
- }, "我的邀请码:", -1)), n("div", q, [n("span", null, C(((l = a(s)) == null ? void 0 : l.referrerId) || "-"), 1), (p = a(s)) != null && p.referrerId ? (g(), v(E, {
91
+ }, "我的邀请码:", -1)), n("div", q, [n("span", null, C(((i = a(s)) == null ? void 0 : i.referrerId) || "-"), 1), (p = a(s)) != null && p.referrerId ? (g(), v(E, {
93
92
  key: 0,
94
93
  value: a(s).referrerId,
95
94
  message: "邀请码复制成功"
96
95
  }, null, 8, ["value"])) : V("", !0)])]), A(D, {
97
96
  columns: k,
98
- data: a(c),
97
+ data: a(f),
99
98
  loading: o.value,
100
99
  pagination: a(t),
101
100
  onPageChange: I,
@@ -110,7 +109,7 @@ const j = {
110
109
  _: 1
111
110
  }, 8, ["visible", "ok-loading"]));
112
111
  }
113
- }), ae = /* @__PURE__ */ M(F, [["__scopeId", "data-v-122fc8d6"]]);
112
+ }), te = /* @__PURE__ */ M(F, [["__scopeId", "data-v-122fc8d6"]]);
114
113
  export {
115
- ae as R
114
+ te as R
116
115
  };
@@ -5,8 +5,8 @@
5
5
  /* empty css */
6
6
  import { defineComponent as q, createBlock as y, openBlock as F, unref as S, mergeProps as h, createSlots as C, withCtx as u, renderSlot as p } from "vue";
7
7
  import { Upload as I } from "@arco-design/web-vue";
8
- import { u as _ } from "./useUploadCos-BMEbLTPK.js";
9
- import { g as l } from "./auth-DtA2gxxa.js";
8
+ import { u as _ } from "./useUploadCos-Ca4Mo5FD.js";
9
+ import { g as l } from "./auth-B864DrVx.js";
10
10
  const O = /* @__PURE__ */ q({
11
11
  __name: "Upload",
12
12
  props: {
@@ -5,13 +5,13 @@ import { I as U } from "./index-Cr5RQSnA.js";
5
5
  /* empty css */
6
6
  import { defineComponent as b, createElementBlock as v, openBlock as u, normalizeStyle as E, normalizeClass as K, createElementVNode as d, computed as B, createBlock as _, createCommentVNode as P, createVNode as r, unref as n, withCtx as l, createTextVNode as k, toDisplayString as S, mergeModels as D, useModel as T, renderSlot as W, ref as p, Fragment as be } from "vue";
7
7
  import { Tag as Ce, Button as X, Avatar as Y, Dropdown as $e, Divider as G, Doption as C } from "@arco-design/web-vue";
8
- import { S as we } from "./PaySubscriptions-x4b3a-nG.js";
9
- import { R as Ie } from "./ReferrerReferees-CyOeIbwr.js";
10
- import { a as N, u as he } from "./useAuthkitUsersProfile-DNYZ87Bt.js";
11
- import { u as Ue, g as q } from "./auth-DtA2gxxa.js";
12
- import { c as Ae, A as Me } from "./AuthkitAuthModal-_jUbPMfY.js";
13
- import { d as xe } from "./FeedbackModal-Cgc59WUD.js";
14
- import { M as Be } from "./MessageHandle-BnkgjTdM.js";
8
+ import { S as we } from "./PaySubscriptions-DVhnjdi3.js";
9
+ import { R as Ie } from "./ReferrerReferees-Bfu2z-0W.js";
10
+ import { a as N, u as he } from "./useAuthkitUsersProfile-B1y2nleU.js";
11
+ import { u as Ue, g as q } from "./auth-B864DrVx.js";
12
+ import { c as Ae, A as Me } from "./AuthkitAuthModal-P9GI9wIQ.js";
13
+ import { d as xe } from "./FeedbackModal-OsCK3NqC.js";
14
+ import { M as Be } from "./MessageHandle-CdOMmp4n.js";
15
15
  /* empty css */
16
16
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  import { _ as J, g as Q, i as Z } from "./plugin-vue_export-helper-LjDO2Zua.js";
@@ -2,15 +2,15 @@
2
2
  /* empty css */
3
3
  import { defineComponent as g, ref as C, watch as H, createElementBlock as o, openBlock as t, createElementVNode as r, createVNode as _, unref as d, withCtx as Q, resolveComponent as X, createBlock as E, createCommentVNode as $, toDisplayString as I, onMounted as Y, onUnmounted as Z, Fragment as z, renderList as q, normalizeClass as L, normalizeStyle as x, renderSlot as K, computed as P } from "vue";
4
4
  import { Spin as V } from "@arco-design/web-vue";
5
- import { a as B } from "./useAuthkitUsersProfile-DNYZ87Bt.js";
6
- import { u as R, a as ee } from "./auth-DtA2gxxa.js";
7
- import { u as D } from "./useAuthkitAppsAuthPageInfo-C1IsAlcM.js";
8
- import { a as O, w as A, b as G, d as W, f as te, c as ne } from "./useSEO-BGk6cyAs.js";
9
- import "./useUploadCos-BMEbLTPK.js";
5
+ import { a as B } from "./useAuthkitUsersProfile-B1y2nleU.js";
6
+ import { u as R, a as ee } from "./auth-B864DrVx.js";
7
+ import { u as D } from "./useAuthkitAppsAuthPageInfo-Ct-ElH04.js";
8
+ import { a as O, w as A, b as G, d as W, f as te, c as ne } from "./useSEO-CFQMgnVq.js";
9
+ import "./useUploadCos-Ca4Mo5FD.js";
10
10
  import { useRouter as N, useRoute as F } from "vue-router";
11
11
  /* empty css */
12
12
  /* empty css */
13
- import { d as oe, c as j } from "./UserAccountMenu-DgfGUlvA.js";
13
+ import { d as oe, c as j } from "./UserAccountMenu-AhID9xxq.js";
14
14
  import "./plugin-vue_export-helper-LjDO2Zua.js";
15
15
  /* empty css */
16
16
  import "./index-Cr5RQSnA.js";
@@ -1,12 +1,12 @@
1
1
  /* empty css */
2
2
  import { Message as u } from "@arco-design/web-vue";
3
- import { api as n } from "@huyooo/api";
4
- import { ref as k } from "vue";
5
- function A(e, r = 3) {
3
+ import k from "axios";
4
+ import { ref as m } from "vue";
5
+ function S(e, r = 3) {
6
6
  const t = e.indexOf("@");
7
7
  if (t > 1) {
8
- const o = e.slice(0, r), l = e.slice(t);
9
- return o + "***" + l;
8
+ const o = e.slice(0, r), i = e.slice(t);
9
+ return o + "***" + i;
10
10
  }
11
11
  return e;
12
12
  }
@@ -17,14 +17,14 @@ function p() {
17
17
  console.warn("Failed to clear localStorage:", e);
18
18
  }
19
19
  }
20
- function m() {
20
+ function g() {
21
21
  try {
22
22
  return localStorage.getItem("refreshToken");
23
23
  } catch (e) {
24
24
  return console.warn("Failed to get refreshToken from localStorage:", e), null;
25
25
  }
26
26
  }
27
- function g(e) {
27
+ function b(e) {
28
28
  try {
29
29
  localStorage.setItem("jwtToken", e);
30
30
  } catch (r) {
@@ -40,19 +40,25 @@ let s = {
40
40
  bucket: "ones-1358549778",
41
41
  region: "ap-beijing",
42
42
  web3formsAccessKey: "72604aac-d55e-4df0-9bcf-31b2206b3753"
43
- }, b = {};
44
- function S(e) {
45
- Object.assign(b, e);
46
- }
43
+ }, T = {};
47
44
  function U(e) {
45
+ Object.assign(T, e);
46
+ }
47
+ function B(e) {
48
48
  s.appId = e.appId, s.prefixUrl = e.prefixUrl, s.authPrefixUrl = e.authPrefixUrl, e.avatarBucketId !== void 0 && (s.avatarBucketId = e.avatarBucketId), e.feedbackBucketId !== void 0 && (s.feedbackBucketId = e.feedbackBucketId), e.bucket !== void 0 && (s.bucket = e.bucket), e.region !== void 0 && (s.region = e.region), e.web3formsAccessKey !== void 0 && (s.web3formsAccessKey = e.web3formsAccessKey);
49
49
  }
50
- const T = k(!1);
51
- function I() {
50
+ const I = m(!1);
51
+ function P() {
52
52
  return {
53
- show: T
53
+ show: I
54
54
  };
55
55
  }
56
+ const n = k.create({
57
+ timeout: 3e4,
58
+ headers: {
59
+ "Content-Type": "application/json"
60
+ }
61
+ });
56
62
  let f = !1, d = [];
57
63
  function h(e, r = null) {
58
64
  d.forEach(({
@@ -62,17 +68,17 @@ function h(e, r = null) {
62
68
  e ? o(e) : t(r);
63
69
  }), d = [];
64
70
  }
65
- async function P() {
71
+ async function w() {
66
72
  var r;
67
- const e = m();
73
+ const e = g();
68
74
  if (!e)
69
75
  throw new Error("No refresh token available");
70
76
  try {
71
- const t = await w(e), {
77
+ const t = await j(e), {
72
78
  data: o
73
79
  } = t;
74
80
  if (o.success && ((r = o.data) != null && r.jwtToken))
75
- return g(o.data.jwtToken), o.data.refreshToken && localStorage.setItem("refreshToken", o.data.refreshToken), o.data.jwtToken;
81
+ return b(o.data.jwtToken), o.data.refreshToken && localStorage.setItem("refreshToken", o.data.refreshToken), o.data.jwtToken;
76
82
  throw new Error(o.message || "Token refresh failed");
77
83
  } catch (t) {
78
84
  throw console.error("Token refresh failed:", t), p(), t;
@@ -81,36 +87,36 @@ async function P() {
81
87
  n.interceptors.request.use((e) => {
82
88
  console.log(e, "configconfig");
83
89
  const r = localStorage.getItem("jwtToken");
84
- return r && (e.headers.authorization = `Bearer ${r}`), e.headers["app-id"] = s.appId, e;
90
+ return r && e.headers && (e.headers.authorization = `Bearer ${r}`), e.headers && (e.headers["app-id"] = s.appId), e;
85
91
  }, (e) => Promise.reject(e));
86
92
  n.interceptors.response.use(async (e) => {
87
93
  const r = (e == null ? void 0 : e.data) || {}, {
88
94
  message: t,
89
95
  success: o,
90
- code: l
96
+ code: i
91
97
  } = r;
92
98
  if (console.log(r, "dsdsds"), o)
93
99
  return r;
94
- if (l === 40101) {
100
+ if (i === 40101) {
95
101
  console.log(e, "response");
96
102
  const c = e.config;
97
103
  if (f)
98
- return new Promise((a, i) => {
104
+ return new Promise((a, l) => {
99
105
  d.push({
100
106
  resolve: a,
101
- reject: i
107
+ reject: l
102
108
  });
103
- }).then((a) => (c.headers.authorization = `Bearer ${a}`, n(c))).catch((a) => Promise.reject(a));
109
+ }).then((a) => (c.headers && (c.headers.authorization = `Bearer ${a}`), n(c))).catch((a) => Promise.reject(a));
104
110
  c._retry = !0, f = !0;
105
111
  try {
106
- const a = await P();
107
- return h(null, a), c.headers.authorization = `Bearer ${a}`, n(c);
112
+ const a = await w();
113
+ return h(null, a), c.headers && (c.headers.authorization = `Bearer ${a}`), n(c);
108
114
  } catch (a) {
109
115
  h(a, null), p();
110
116
  const {
111
- show: i
112
- } = I();
113
- return i.value = !0, Promise.reject(a);
117
+ show: l
118
+ } = P();
119
+ return l.value = !0, Promise.reject(a);
114
120
  } finally {
115
121
  f = !1;
116
122
  }
@@ -127,35 +133,35 @@ n.interceptors.response.use(async (e) => {
127
133
  } else e.request ? (console.error("Error Request:", e.request), u.error("网络错误,请检查网络连接")) : (console.error("Error Message:", e.message), u.error(e.message || "服务错误"));
128
134
  return Promise.reject(e);
129
135
  });
130
- function B(e) {
136
+ function E(e) {
131
137
  return n({
132
138
  url: `${s.authPrefixUrl}/restfulApi/auth/signIn`,
133
139
  method: "post",
134
140
  data: e
135
141
  });
136
142
  }
137
- function E(e) {
143
+ function R(e) {
138
144
  return n({
139
145
  url: `${s.authPrefixUrl}/restfulApi/auth/resetPassword`,
140
146
  method: "post",
141
147
  data: e
142
148
  });
143
149
  }
144
- function R(e) {
150
+ function $(e) {
145
151
  return n({
146
152
  url: `${s.authPrefixUrl}/restfulApi/auth/signUp`,
147
153
  method: "post",
148
154
  data: e
149
155
  });
150
156
  }
151
- function $(e) {
157
+ function q(e) {
152
158
  return n({
153
159
  url: `${s.authPrefixUrl}/restfulApi/oauth2/authorize`,
154
160
  method: "post",
155
161
  data: e
156
162
  });
157
163
  }
158
- function w(e) {
164
+ function j(e) {
159
165
  return n({
160
166
  url: "/restfulApi/auth/refresh",
161
167
  method: "post",
@@ -165,14 +171,15 @@ function w(e) {
165
171
  });
166
172
  }
167
173
  export {
168
- b as a,
169
- S as b,
170
- E as c,
174
+ T as a,
175
+ U as b,
176
+ n as c,
171
177
  R as d,
172
- B as e,
178
+ $ as e,
179
+ E as f,
173
180
  s as g,
174
- A as h,
175
- $ as o,
176
- U as s,
177
- I as u
181
+ S as h,
182
+ q as o,
183
+ B as s,
184
+ P as u
178
185
  };
package/dist/authkit.js CHANGED
@@ -1,8 +1,8 @@
1
- import { A as a, a as s, c as u, b as A, n as h, E as e, k as r, l as o, _ as k, O as n, f as d, o as p, P as f, j as m, R as P, S, i as g, m as l, d as w, e as U, g as c, h as x } from "./AuthkitAuthModal-_jUbPMfY.js";
2
- import { A as y, a as E } from "./AuthkitAuthorize-wqXxP_K2.js";
3
- import { u as C } from "./useAuthkitAppsAuthPageInfo-C1IsAlcM.js";
4
- import { u as V, a as b } from "./useAuthkitUsersProfile-DNYZ87Bt.js";
5
- import { u as B } from "./auth-DtA2gxxa.js";
1
+ import { A as a, a as s, c as u, b as A, n as h, E as e, k as r, l as o, _ as k, O as n, f as d, o as p, P as f, j as m, R as P, S, i as g, m as l, d as w, e as U, g as c, h as x } from "./AuthkitAuthModal-P9GI9wIQ.js";
2
+ import { A as y, a as E } from "./AuthkitAuthorize-Bv2MspFC.js";
3
+ import { u as C } from "./useAuthkitAppsAuthPageInfo-Ct-ElH04.js";
4
+ import { u as V, a as b } from "./useAuthkitUsersProfile-B1y2nleU.js";
5
+ import { u as B } from "./auth-B864DrVx.js";
6
6
  import { u as j } from "./useAuthkitCreateAndUpdate-BpTxxKc0.js";
7
7
  export {
8
8
  a as AuthkitAppSetting,
package/dist/common.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-CERr6Dzf.js";
1
+ import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-BACUO8zY.js";
2
2
  import { C as i, a as f } from "./CollapseItem-Cw1vcdLu.js";
3
3
  import { C as x, E as H } from "./CustomTable-BGm0KdAy.js";
4
4
  import { M, a as g } from "./Menu-ejsosUdV.js";
@@ -92,12 +92,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
92
92
  default: () => string;
93
93
  };
94
94
  }>> & Readonly<{}>, {
95
+ responseType: string;
95
96
  logo: string;
96
97
  title: string;
97
98
  state: string;
98
99
  redirectUri: string;
99
100
  clientId: string;
100
- responseType: string;
101
101
  scope: string;
102
102
  userInfo: UserResponseType;
103
103
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
@@ -1,23 +1,26 @@
1
- interface Feature {
1
+ import { CSSProperties } from 'vue';
2
+ interface ShowcaseItem {
3
+ image: string;
4
+ alt: string;
2
5
  title: string;
3
6
  description: string;
4
- color: "green" | "blue" | "purple";
5
- iconPath: string;
7
+ [key: string]: any;
6
8
  }
7
9
  interface Props {
8
- title?: string;
9
- subTitle?: string;
10
- imageUrl?: string;
11
- imageAlt?: string;
12
- features?: Feature[];
13
- reverse?: boolean;
10
+ items: ShowcaseItem[];
11
+ showControls?: boolean;
12
+ columns?: number;
13
+ cardHeight?: number;
14
+ objectFit?: CSSProperties['objectFit'];
14
15
  }
15
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
16
- reverse: boolean;
17
- title: string;
18
- imageAlt: string;
19
- features: Feature[];
20
- subTitle: string;
21
- imageUrl: string;
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
16
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
+ cardClick: (item: ShowcaseItem) => any;
18
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
19
+ onCardClick?: ((item: ShowcaseItem) => any) | undefined;
20
+ }>, {
21
+ columns: number;
22
+ objectFit: import("csstype").Property.ObjectFit;
23
+ showControls: boolean;
24
+ cardHeight: number;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
23
26
  export default _default;
@@ -1,12 +1,12 @@
1
- import { u as a, a as o } from "./useAuthkitUsersProfile-DNYZ87Bt.js";
2
- import { g as u, a as r, s as i, b as f, u as n } from "./auth-DtA2gxxa.js";
3
- import { u as p } from "./useAuthkitAppsAuthPageInfo-C1IsAlcM.js";
1
+ import { u as a, a as o } from "./useAuthkitUsersProfile-B1y2nleU.js";
2
+ import { g as u, a as r, s as i, b as f, u as n } from "./auth-B864DrVx.js";
3
+ import { u as p } from "./useAuthkitAppsAuthPageInfo-Ct-ElH04.js";
4
4
  import { u as m } from "./useAuthkitCreateAndUpdate-BpTxxKc0.js";
5
- import { u as d } from "./useMessageNotifications-CHgy0HWC.js";
5
+ import { u as d } from "./useMessageNotifications-BUJtc-Us.js";
6
6
  import { u as x, a as C } from "./useDownloads-BpQUd6AV.js";
7
7
  import { u as k } from "./useTableHandle-DujKY4Bl.js";
8
- import { f as w, u as E, a as M, b as O, d as P, c as S, w as U } from "./useSEO-BGk6cyAs.js";
9
- import { u as G } from "./useUploadCos-BMEbLTPK.js";
8
+ import { f as w, u as E, a as M, b as O, d as P, c as S, w as U } from "./useSEO-CFQMgnVq.js";
9
+ import { u as G } from "./useUploadCos-Ca4Mo5FD.js";
10
10
  export {
11
11
  w as findMenuPath,
12
12
  u as globalConfig,
package/dist/feedback.js CHANGED
@@ -1,6 +1,6 @@
1
- import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-Cgc59WUD.js";
1
+ import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-OsCK3NqC.js";
2
2
  import { C as r } from "./Clipboard-CIWjWQOZ.js";
3
- import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-CFst7U0_.js";
3
+ import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-DLJhHHDM.js";
4
4
  export {
5
5
  r as Clipboard,
6
6
  b as FeedbackBubbleEnd,