@huyooo/ui 2.0.1 → 2.0.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 (55) hide show
  1. package/dist/{AuthkitAppSetting-DCQH9IpU.js → AuthkitAppSetting-D_94iUEG.js} +8 -8
  2. package/dist/{Contact-C7ROEqe-.js → Contact-CBGSJC2q.js} +3 -3
  3. package/dist/{CustomTable-GgvDEidl.js → CustomTable-HDwqEcmB.js} +1 -1
  4. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-CnvQjQFT.js +1516 -0
  5. package/dist/{LegalDocViewer-D_QUh0uf.js → LegalDocViewer-CytxFZKJ.js} +10 -10
  6. package/dist/{MessageHandle-DKoySsCG.js → MessageHandle-BUufez4S.js} +3 -3
  7. package/dist/{MessageList-HSiKkUoD.js → MessageList-rttvPmxV.js} +1 -1
  8. package/dist/{PaySubscriptions-NcATVJGm.js → PaySubscriptions-BSkcUqHk.js} +6 -6
  9. package/dist/{PricingPlans-CZn6eJby.js → PricingPlans-CyFvgf18.js} +4 -4
  10. package/dist/{ReferrerReferees-BoOQIssE.js → ReferrerReferees-BU9IEQgz.js} +4 -4
  11. package/dist/{Upload.vue_vue_type_script_setup_true_lang-CkS2S9Xc.js → Upload.vue_vue_type_script_setup_true_lang-oa6LJgCY.js} +1 -1
  12. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BrNx6JWe.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-CawueoIY.js} +9 -9
  13. package/dist/{WidthContainer-BJLdZfzF.js → WidthContainer-DOD3wnYO.js} +10 -10
  14. package/dist/{apiClients-CR-hEwog.js → apiClients-Ctcq8NZs.js} +5 -5
  15. package/dist/authkit.js +10 -10
  16. package/dist/common/globalConfig.d.ts +0 -12
  17. package/dist/common.js +2 -2
  18. package/dist/components/Feedback/FeedbackDetails.vue.d.ts +8 -35
  19. package/dist/composables/SEO/useAppSEO.d.ts +3 -0
  20. package/dist/composables/SEO/usePageSEO.d.ts +4 -0
  21. package/dist/composables/SEO/useResolvedPageSEO.d.ts +3 -0
  22. package/dist/composables.d.ts +4 -2
  23. package/dist/composables.js +45 -47
  24. package/dist/feedback.d.ts +1 -0
  25. package/dist/feedback.js +2 -2
  26. package/dist/{fetchAuthPageAboutUs-BnKWq_TL.js → fetchAuthPageAboutUs-CP5a7jIo.js} +2 -2
  27. package/dist/{index-BhVwozr0.js → index-Cn6LcfZO.js} +1 -1
  28. package/dist/main.d.ts +2 -2
  29. package/dist/main.js +245 -247
  30. package/dist/message.js +5 -5
  31. package/dist/pay.js +4 -4
  32. package/dist/privateCom.js +1 -1
  33. package/dist/referrer.js +1 -1
  34. package/dist/{runtime-DMCyhVcI.js → runtime-qs4IasEB.js} +32 -38
  35. package/dist/runtime.d.ts +1 -2
  36. package/dist/style.css +1 -1
  37. package/dist/types/feedbackApi.d.ts +3 -0
  38. package/dist/types/seo.d.ts +15 -0
  39. package/dist/upload.js +2 -2
  40. package/dist/{useAuthkitAppsAuthPageInfo-Byu0yvrx.js → useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js} +1 -1
  41. package/dist/{useAuthkitAuth-M2vTpEcb.js → useAuthkitAuth-BPTZUSkM.js} +2 -2
  42. package/dist/{useAuthkitCreateAndUpdate-D2_Bdazi.js → useAuthkitCreateAndUpdate-Bbv7vZZn.js} +1 -1
  43. package/dist/{useAuthkitUsersProfile-DdUAENic.js → useAuthkitUsersProfile-CW_exa7E.js} +2 -2
  44. package/dist/{useBillingStatusOptions-Jq6Wqfxb.js → useBillingStatusOptions-Br-iL77Z.js} +1 -1
  45. package/dist/{useEnsureAuthenticated-Hel8hWLJ.js → useEnsureAuthenticated-CncOvj2H.js} +2 -2
  46. package/dist/{useLegalDocs-BOjqYRyQ.js → useLegalDocs-BZlntAI7.js} +2 -2
  47. package/dist/{useMessageNotifications-AznFeFMD.js → useMessageNotifications-D9uikt21.js} +1 -1
  48. package/dist/usePageSEO-DwhbUUjW.js +189 -0
  49. package/dist/{useRoutePermission-BmUXTwQc.js → useRoutePermission-BrQX7NTq.js} +2 -2
  50. package/dist/{useSubscriptionCheckout-3ivcOcgC.js → useSubscriptionCheckout-BDDCRxSs.js} +3 -3
  51. package/dist/user.js +1 -1
  52. package/package.json +1 -1
  53. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-C1hPqnNT.js +0 -1531
  54. package/dist/composables/useSEO.d.ts +0 -46
  55. package/dist/useSEO-Chz4Zxuu.js +0 -224
@@ -4,23 +4,23 @@ import { useRoute as Ae } from "vue-router";
4
4
  /* empty css */
5
5
  import "./userMenuModal-D-nDaYqM.js";
6
6
  import { Message as X, Form as H, FormItem as V, Input as U, Button as B, Link as Y, Tabs as de, TabPane as ce, Checkbox as Ue, Modal as Ce, List as $e, ListItem as ie, ListItemMeta as ne, Avatar as te, Alert as fe, Spin as Te, Empty as Re } from "@arco-design/web-vue";
7
- import { a as M, u as N } from "./useAuthkitAuth-M2vTpEcb.js";
8
- import { g as O, u as we } from "./apiClients-CR-hEwog.js";
9
- import { u as j } from "./useAuthkitAppsAuthPageInfo-Byu0yvrx.js";
10
- import { o as ve, i as qe, j as ge, k as be, u as xe, l as Le, m as Be, n as J, p as Oe, h as _e, S as K, q as W, r as ke, s as Me, b as Fe } from "./AuthkitAppSetting-DCQH9IpU.js";
7
+ import { a as M, u as N } from "./useAuthkitAuth-BPTZUSkM.js";
8
+ import { g as O, u as we } from "./apiClients-Ctcq8NZs.js";
9
+ import { u as j } from "./useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js";
10
+ import { o as ve, i as qe, j as ge, k as be, u as xe, l as Le, m as Be, n as J, p as Oe, h as _e, S as K, q as W, r as ke, s as Me, b as Fe } from "./AuthkitAppSetting-D_94iUEG.js";
11
11
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  /* empty css */
13
- import "./index-BhVwozr0.js";
13
+ import "./index-Cn6LcfZO.js";
14
14
  /* empty css */
15
- import { u as Se, L as De, i as Ee } from "./useLegalDocs-BOjqYRyQ.js";
16
- import { u as pe } from "./runtime-DMCyhVcI.js";
17
- import { u as oe } from "./useAuthkitUsersProfile-DdUAENic.js";
15
+ import { u as Se, L as De, i as Ee } from "./useLegalDocs-BZlntAI7.js";
16
+ import { u as pe } from "./runtime-qs4IasEB.js";
17
+ import { u as oe } from "./useAuthkitUsersProfile-CW_exa7E.js";
18
18
  /* empty css */
19
19
  /* empty css */
20
- import "./CustomTable-GgvDEidl.js";
20
+ import "./CustomTable-HDwqEcmB.js";
21
21
  /* empty css */
22
22
  import { TiptapEditor as He, TiptapTitle as Ge } from "@huyooo/vue-tiptap";
23
- import { f as Ne } from "./fetchAuthPageAboutUs-BnKWq_TL.js";
23
+ import { f as Ne } from "./fetchAuthPageAboutUs-CP5a7jIo.js";
24
24
  const je = ["title", "aria-label", "disabled"], Ke = {
25
25
  key: 0,
26
26
  class: "OAuthItem__spinner"
@@ -3,13 +3,13 @@ import { defineComponent as $, computed as D, openBlock as p, createElementBlock
3
3
  /* empty css */
4
4
  import { U as re } from "./userMenuModal-D-nDaYqM.js";
5
5
  /* empty css */
6
- import { M as q, a as j, u as ue } from "./MessageList-HSiKkUoD.js";
6
+ import { M as q, a as j, u as ue } from "./MessageList-rttvPmxV.js";
7
7
  import { Descriptions as ce, Spin as ae, Breadcrumb as F, BreadcrumbItem as E, Tag as K, Modal as de } from "@arco-design/web-vue";
8
- import { g as A } from "./apiClients-CR-hEwog.js";
8
+ import { g as A } from "./apiClients-Ctcq8NZs.js";
9
9
  import { TiptapEditor as pe, TiptapTitle as fe } from "@huyooo/vue-tiptap";
10
10
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  import { Icon as ge } from "@iconify/vue";
12
- import { u as ve } from "./useAuthkitCreateAndUpdate-D2_Bdazi.js";
12
+ import { u as ve } from "./useAuthkitCreateAndUpdate-Bbv7vZZn.js";
13
13
  import { M as ye } from "./Menu-uCexrsKP.js";
14
14
  function P(a, t, u) {
15
15
  if (a == null || a === "")
@@ -1,5 +1,5 @@
1
1
  import { ref as z, computed as I, readonly as V, defineComponent as b, openBlock as i, createElementBlock as v, normalizeClass as M, createElementVNode as m, createCommentVNode as k, renderSlot as r, toDisplayString as B, createBlock as g, unref as f, withCtx as l, createTextVNode as c, createVNode as N, Fragment as S, renderList as L, createSlots as _, mergeProps as p } from "vue";
2
- import { g as C } from "./apiClients-CR-hEwog.js";
2
+ import { g as C } from "./apiClients-Ctcq8NZs.js";
3
3
  /* empty css */
4
4
  import { I as E } from "./userMenuModal-D-nDaYqM.js";
5
5
  import { Tag as $, Button as P, Empty as U } from "@arco-design/web-vue";
@@ -6,14 +6,14 @@
6
6
  import { U as Nt } from "./userMenuModal-D-nDaYqM.js";
7
7
  /* empty css */
8
8
  /* empty css */
9
- import { g as S } from "./apiClients-CR-hEwog.js";
9
+ import { g as S } from "./apiClients-Ctcq8NZs.js";
10
10
  import { ref as _, computed as W, onUnmounted as Fe, defineComponent as zt, openBlock as l, createElementBlock as d, Fragment as X, createVNode as c, unref as n, isRef as Tt, withCtx as i, createElementVNode as a, toDisplayString as r, createBlock as K, createTextVNode as g, createCommentVNode as O, renderList as Te, normalizeClass as Ae } from "vue";
11
11
  import { Modal as Oe, Button as P, Popconfirm as Z, Tabs as At, TabPane as ee, Spin as de, Empty as We, Progress as Ot, Tooltip as pe, Tag as J, Message as M } from "@arco-design/web-vue";
12
- import { u as Wt, b as Lt, a as Rt } from "./useBillingStatusOptions-Jq6Wqfxb.js";
13
- import { u as Et } from "./useAuthkitCreateAndUpdate-D2_Bdazi.js";
14
- import { g as $t } from "./runtime-DMCyhVcI.js";
15
- import { C as ve } from "./CustomTable-GgvDEidl.js";
16
- import { C as Le } from "./index-BhVwozr0.js";
12
+ import { u as Wt, b as Lt, a as Rt } from "./useBillingStatusOptions-Br-iL77Z.js";
13
+ import { u as Et } from "./useAuthkitCreateAndUpdate-Bbv7vZZn.js";
14
+ import { g as $t } from "./runtime-qs4IasEB.js";
15
+ import { C as ve } from "./CustomTable-HDwqEcmB.js";
16
+ import { C as Le } from "./index-Cn6LcfZO.js";
17
17
  import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
18
  function Be() {
19
19
  return {
@@ -1,16 +1,16 @@
1
1
  /* empty css */
2
2
  import "./userMenuModal-D-nDaYqM.js";
3
- import { g as ve } from "./apiClients-CR-hEwog.js";
3
+ import { g as ve } from "./apiClients-Ctcq8NZs.js";
4
4
  /* empty css */
5
5
  import { defineComponent as K, computed as h, onMounted as ne, onUnmounted as pe, openBlock as n, createElementBlock as s, createElementVNode as i, unref as e, createBlock as O, toDisplayString as a, createVNode as k, withCtx as w, createTextVNode as R, ref as ye, resolveDirective as he, withDirectives as ke, normalizeClass as L, Fragment as I, renderList as C, createCommentVNode as y } from "vue";
6
6
  import { Spin as se, Button as A, Message as F } from "@arco-design/web-vue";
7
7
  import { useRoute as be, useRouter as Te } from "vue-router";
8
- import { b as we } from "./PaySubscriptions-NcATVJGm.js";
8
+ import { b as we } from "./PaySubscriptions-BSkcUqHk.js";
9
9
  import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  import { L as Ie, a as Ce, b as Be } from "./LandingPageSectionHeader-3hiuw6G0.js";
11
11
  import { Icon as te } from "@iconify/vue";
12
- import { u as Le, a as Re } from "./useSubscriptionCheckout-3ivcOcgC.js";
13
- import { u as Ae } from "./useEnsureAuthenticated-Hel8hWLJ.js";
12
+ import { u as Le, a as Re } from "./useSubscriptionCheckout-BDDCRxSs.js";
13
+ import { u as Ae } from "./useEnsureAuthenticated-CncOvj2H.js";
14
14
  const kt = "/Pay/Return";
15
15
  function G(l) {
16
16
  const _ = typeof l.scene == "string" ? l.scene : null, c = typeof l.orderId == "string" ? l.orderId : null, d = typeof l.returnTo == "string" ? l.returnTo.trim() : null, P = d != null && d.startsWith("/") && !d.startsWith("//") ? d : null;
@@ -3,12 +3,12 @@
3
3
  import { U as V } from "./userMenuModal-D-nDaYqM.js";
4
4
  import { defineComponent as U, computed as k, openBlock as M, createElementBlock as R, createVNode as b, unref as o, withCtx as I, createTextVNode as A, toDisplayString as g, createElementVNode as m, createCommentVNode as w, ref as _, createBlock as x } from "vue";
5
5
  import { Avatar as W, Modal as z } from "@arco-design/web-vue";
6
- import { g as B } from "./apiClients-CR-hEwog.js";
7
- import { C as P } from "./CustomTable-GgvDEidl.js";
8
- import { C as G } from "./index-BhVwozr0.js";
6
+ import { g as B } from "./apiClients-Ctcq8NZs.js";
7
+ import { C as P } from "./CustomTable-HDwqEcmB.js";
8
+ import { C as G } from "./index-Cn6LcfZO.js";
9
9
  /* empty css */
10
10
  import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- import { u as H } from "./useAuthkitUsersProfile-DdUAENic.js";
11
+ import { u as H } from "./useAuthkitUsersProfile-CW_exa7E.js";
12
12
  const j = {
13
13
  email: "邮箱",
14
14
  phone: "手机",
@@ -6,7 +6,7 @@
6
6
  /* empty css */
7
7
  import { defineComponent as k, openBlock as h, createBlock as y, unref as S, mergeProps as q, createSlots as v, withCtx as p, renderSlot as a } from "vue";
8
8
  import { Upload as I } from "@arco-design/web-vue";
9
- import { u as _ } from "./runtime-DMCyhVcI.js";
9
+ import { u as _ } from "./runtime-qs4IasEB.js";
10
10
  const j = /* @__PURE__ */ k({
11
11
  __name: "Upload",
12
12
  props: {
@@ -1,20 +1,20 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
- import "./index-BhVwozr0.js";
3
+ import "./index-Cn6LcfZO.js";
4
4
  import { defineComponent as p, computed as b, openBlock as r, createElementBlock as _, toDisplayString as h, createCommentVNode as U, createVNode as f, unref as t, createBlock as v, withCtx as g, createTextVNode as k, ref as C, createElementVNode as d, watch as x, onMounted as ee, Fragment as q, renderSlot as A, normalizeClass as ne } from "vue";
5
5
  import { Avatar as G, Button as N, Dropdown as te, Badge as ae } from "@arco-design/web-vue";
6
- import { u as R } from "./useAuthkitUsersProfile-DdUAENic.js";
6
+ import { u as R } from "./useAuthkitUsersProfile-CW_exa7E.js";
7
7
  import { u as y } from "./useUserMenu-ClPBlvaM.js";
8
8
  /* empty css */
9
- import { g as J, a as se, R as oe } from "./ReferrerReferees-BoOQIssE.js";
9
+ import { g as J, a as se, R as oe } from "./ReferrerReferees-BU9IEQgz.js";
10
10
  import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  /* empty css */
12
- import { u as ie } from "./apiClients-CR-hEwog.js";
13
- import { f as re, u as le, g as ue, c as ce, s as de, P as pe } from "./PaySubscriptions-NcATVJGm.js";
14
- import { d as me } from "./useBillingStatusOptions-Jq6Wqfxb.js";
15
- import { A as fe } from "./AuthkitAppSetting-DCQH9IpU.js";
16
- import { c as _e, u as K } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-C1hPqnNT.js";
17
- import { M as ve } from "./MessageHandle-DKoySsCG.js";
12
+ import { u as ie } from "./apiClients-Ctcq8NZs.js";
13
+ import { f as re, u as le, g as ue, c as ce, s as de, P as pe } from "./PaySubscriptions-BSkcUqHk.js";
14
+ import { d as me } from "./useBillingStatusOptions-Br-iL77Z.js";
15
+ import { A as fe } from "./AuthkitAppSetting-D_94iUEG.js";
16
+ import { c as _e, u as K } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-CnvQjQFT.js";
17
+ import { M as ve } from "./MessageHandle-BUufez4S.js";
18
18
  import "./Menu-uCexrsKP.js";
19
19
  import { Icon as ge } from "@iconify/vue";
20
20
  const be = {
@@ -2,27 +2,27 @@
2
2
  import "./userMenuModal-D-nDaYqM.js";
3
3
  import { defineComponent as P, ref as A, watch as N, openBlock as n, createElementBlock as s, createElementVNode as a, createVNode as r, unref as c, withCtx as B, createTextVNode as K, renderSlot as V, toDisplayString as M, createCommentVNode as x, onMounted as Q, onBeforeUnmount as X, normalizeClass as $, Fragment as L, renderList as E, createBlock as Y, Teleport as ge, nextTick as J, computed as U, normalizeStyle as O } from "vue";
4
4
  import { Spin as Z } from "@arco-design/web-vue";
5
- import { u as ee } from "./useAuthkitAuth-M2vTpEcb.js";
6
- import "./apiClients-CR-hEwog.js";
7
- import { u as q } from "./useAuthkitAppsAuthPageInfo-Byu0yvrx.js";
8
- import { d as ye, b as be } from "./runtime-DMCyhVcI.js";
5
+ import { u as ee } from "./useAuthkitAuth-BPTZUSkM.js";
6
+ import "./apiClients-Ctcq8NZs.js";
7
+ import { u as q } from "./useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js";
8
+ import { s as ye, a as be } from "./runtime-qs4IasEB.js";
9
9
  import "@vafast/api-client";
10
- import "./useAuthkitUsersProfile-DdUAENic.js";
11
- import { b as te, f as ne, w as W, a as oe, c as se } from "./useRoutePermission-BmUXTwQc.js";
10
+ import "./useAuthkitUsersProfile-CW_exa7E.js";
11
+ import { b as te, f as ne, w as W, a as oe, c as se } from "./useRoutePermission-BrQX7NTq.js";
12
12
  import { useRouter as ae, useRoute as re } from "vue-router";
13
13
  import "@unhead/vue";
14
14
  import "./useUserMenu-ClPBlvaM.js";
15
- import { c as ie, h as ue, k as le, _ as ce, f as de, j as me, d as pe, g as R, U as ke, i as he } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BrNx6JWe.js";
16
- import "./PaySubscriptions-NcATVJGm.js";
15
+ import { c as ie, h as ue, k as le, _ as ce, f as de, j as me, d as pe, g as R, U as ke, i as he } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-CawueoIY.js";
16
+ import "./PaySubscriptions-BSkcUqHk.js";
17
17
  /* empty css */
18
18
  /* empty css */
19
19
  import { M as we } from "./Menu-uCexrsKP.js";
20
20
  import "./CollapseItem-DUzZA6tx.js";
21
21
  /* empty css */
22
22
  /* empty css */
23
- import "./index-BhVwozr0.js";
23
+ import "./index-Cn6LcfZO.js";
24
24
  /* empty css */
25
- import "./CustomTable-GgvDEidl.js";
25
+ import "./CustomTable-HDwqEcmB.js";
26
26
  import "@vueuse/core";
27
27
  import "./index-D56hUMeD.js";
28
28
  import { Icon as z } from "@iconify/vue";
@@ -53,14 +53,14 @@ function ne(e) {
53
53
  console.warn("Failed to set localStorage:", r);
54
54
  }
55
55
  }
56
- function O() {
56
+ function x() {
57
57
  try {
58
58
  return localStorage.getItem("refreshToken");
59
59
  } catch (e) {
60
60
  return console.warn("Failed to get refreshToken from localStorage:", e), null;
61
61
  }
62
62
  }
63
- function x(e) {
63
+ function O(e) {
64
64
  try {
65
65
  localStorage.setItem("jwtToken", e);
66
66
  } catch (r) {
@@ -119,7 +119,7 @@ function M() {
119
119
  $(), K();
120
120
  }
121
121
  async function V(e) {
122
- const r = O();
122
+ const r = x();
123
123
  if (!r)
124
124
  throw new Error("No refresh token available");
125
125
  try {
@@ -134,7 +134,7 @@ async function V(e) {
134
134
  })
135
135
  })).json();
136
136
  if (n.jwtToken)
137
- return x(n.jwtToken), n.refreshToken && localStorage.setItem("refreshToken", n.refreshToken), n.jwtToken;
137
+ return O(n.jwtToken), n.refreshToken && localStorage.setItem("refreshToken", n.refreshToken), n.jwtToken;
138
138
  throw new Error(n.message || "Token refresh failed");
139
139
  } catch (o) {
140
140
  throw console.error("Token refresh failed:", o), o;
@@ -150,7 +150,7 @@ function C(e) {
150
150
  a ? s(a) : i && t(i);
151
151
  }), o = [];
152
152
  }
153
- const u = p(async (a, i) => (a.headers.has("app-id") || a.headers.set("app-id", e.appId), i()), {
153
+ const u = p(async (a, i) => (a.headers.set("app-id", e.appId), i()), {
154
154
  name: "app-id"
155
155
  }), h = p(async (a, i) => {
156
156
  const t = e.getAccessToken();
package/dist/authkit.js CHANGED
@@ -1,13 +1,13 @@
1
- import { A as s, B as i, a as e, _ as u, b as h, O as A, P as o, c as r, d as k, e as n, f as d, S as g, g as l, u as p, h as P } from "./AuthkitAppSetting-DCQH9IpU.js";
2
- import { A as m, a as c, b as S, c as L, d as O, E as U, e as w, _ as x, f as B, O as D, g as E, P as b, h as y, i as C, j as I, R as v, S as V, k as _, l as G, m as R, n as T, o as M, p as j, L as z } from "./LegalDocViewer-D_QUh0uf.js";
3
- import { u as K } from "./useAuthkitAppsAuthPageInfo-Byu0yvrx.js";
4
- import { u as q } from "./useAuthkitAuth-M2vTpEcb.js";
5
- import { u as J } from "./apiClients-CR-hEwog.js";
6
- import { u as Q } from "./useEnsureAuthenticated-Hel8hWLJ.js";
7
- import { L as X, a as Z, b as $, i as tt, o as at, r as st, c as it, u as et } from "./useLegalDocs-BOjqYRyQ.js";
8
- import { f as ht } from "./fetchAuthPageAboutUs-BnKWq_TL.js";
9
- import { u as ot } from "./useAuthkitUsersProfile-DdUAENic.js";
10
- import { u as kt } from "./useAuthkitCreateAndUpdate-D2_Bdazi.js";
1
+ import { A as s, B as i, a as e, _ as u, b as h, O as A, P as o, c as r, d as k, e as n, f as d, S as g, g as l, u as p, h as P } from "./AuthkitAppSetting-D_94iUEG.js";
2
+ import { A as m, a as c, b as S, c as L, d as O, E as U, e as w, _ as x, f as B, O as D, g as E, P as b, h as y, i as C, j as I, R as v, S as V, k as _, l as G, m as R, n as T, o as M, p as j, L as z } from "./LegalDocViewer-CytxFZKJ.js";
3
+ import { u as K } from "./useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js";
4
+ import { u as q } from "./useAuthkitAuth-BPTZUSkM.js";
5
+ import { u as J } from "./apiClients-Ctcq8NZs.js";
6
+ import { u as Q } from "./useEnsureAuthenticated-CncOvj2H.js";
7
+ import { L as X, a as Z, b as $, i as tt, o as at, r as st, c as it, u as et } from "./useLegalDocs-BZlntAI7.js";
8
+ import { f as ht } from "./fetchAuthPageAboutUs-CP5a7jIo.js";
9
+ import { u as ot } from "./useAuthkitUsersProfile-CW_exa7E.js";
10
+ import { u as kt } from "./useAuthkitCreateAndUpdate-Bbv7vZZn.js";
11
11
  export {
12
12
  s as AuthkitAppSetting,
13
13
  m as AuthkitAuth,
@@ -1,13 +1,5 @@
1
1
  import { LegalDocsMode } from '../legalDocs/types';
2
2
  export type GlobalTheme = 'light' | 'dark' | 'system';
3
- export interface GlobalSEOConfig {
4
- /** 网站名称 */
5
- siteName?: string;
6
- /** 标题后缀 */
7
- titleSuffix?: string;
8
- /** 默认语言 */
9
- locale?: string;
10
- }
11
3
  /** 应用主题(全局,响应式,供 DefaultLayout 等读取) */
12
4
  export declare const globalThemeRef: import('vue').Ref<GlobalTheme | undefined, GlobalTheme | undefined>;
13
5
  /** 设置应用主题(全局生效,body.dark + body[arco-theme];所有组件可响应) */
@@ -46,10 +38,6 @@ export interface HuyoooUIConfig {
46
38
  /** 动态获取访问令牌 */
47
39
  getAccessToken: () => string | null;
48
40
  }
49
- /** 全局 SEO 配置(独立对象) */
50
- export declare let globalSEOConfig: GlobalSEOConfig;
51
- /** 设置全局 SEO 配置 */
52
- export declare function setGlobalSEOConfig(seoConfig: GlobalSEOConfig): void;
53
41
  export interface HuyoooUIEndpoints {
54
42
  auth: string;
55
43
  ones: string;
package/dist/common.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-BJLdZfzF.js";
1
+ import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-DOD3wnYO.js";
2
2
  import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
3
- import { C as x, E as b } from "./CustomTable-GgvDEidl.js";
3
+ import { C as x, E as b } from "./CustomTable-HDwqEcmB.js";
4
4
  import { L } from "./Logo-D7fyXyB-.js";
5
5
  import { M as g, a as A } from "./Menu-uCexrsKP.js";
6
6
  export {
@@ -1,39 +1,12 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- id: {
3
- type: StringConstructor;
4
- required: true;
5
- default: () => string;
6
- };
7
- senderRole: {
8
- type: StringConstructor;
9
- required: true;
10
- validator: (value: string) => boolean;
11
- };
12
- appId: {
13
- type: StringConstructor;
14
- required: false;
15
- default: string;
16
- };
17
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
- id: {
19
- type: StringConstructor;
20
- required: true;
21
- default: () => string;
22
- };
23
- senderRole: {
24
- type: StringConstructor;
25
- required: true;
26
- validator: (value: string) => boolean;
27
- };
28
- appId: {
29
- type: StringConstructor;
30
- required: false;
31
- default: string;
32
- };
33
- }>> & Readonly<{}>, {
34
- appId: string;
1
+ import { FeedbackApiClient } from '../../types/feedbackApi';
2
+ import { BrowserUploadService } from '../../upload/browserUploadService';
3
+ type __VLS_Props = {
35
4
  id: string;
36
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
5
+ senderRole: "user" | "support";
6
+ apiClient?: FeedbackApiClient;
7
+ uploadService?: BrowserUploadService;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
37
10
  scrollableContentRef: HTMLDivElement;
38
11
  senderRef: unknown;
39
12
  fileInputRef: HTMLInputElement;
@@ -0,0 +1,3 @@
1
+ import { AppSEOConfig } from '../../types/seo';
2
+ /** 根组件调用一次:合并应用默认值与当前路由 meta。 */
3
+ export declare function useAppSEO(config: Readonly<AppSEOConfig>): void;
@@ -0,0 +1,4 @@
1
+ import { MaybeRefOrGetter } from 'vue';
2
+ import { PageSEOConfig } from '../../types/seo';
3
+ /** 异步内容页面调用,覆盖根组件根据路由生成的页面 SEO。 */
4
+ export declare function usePageSEO(config: MaybeRefOrGetter<PageSEOConfig>): void;
@@ -0,0 +1,3 @@
1
+ import { MaybeRefOrGetter } from 'vue';
2
+ import { PageSEOConfig } from '../../types/seo';
3
+ export declare function useResolvedPageSEO(pageSEO: MaybeRefOrGetter<PageSEOConfig>): void;
@@ -7,7 +7,7 @@ export { useAuthkitUsersProfile } from './composables/Authkit/useAuthkitUsersPro
7
7
  export { useAuthkitAppsAuthPageInfo } from './composables/Authkit/useAuthkitAppsAuthPageInfo';
8
8
  export { useAuthkitCreateAndUpdate } from './composables/Authkit/useAuthkitCreateAndUpdate';
9
9
  export { useMessageNotifications } from './composables/useMessageNotifications';
10
- export { globalSEOConfig, setGlobalSEOConfig, setTheme, globalThemeRef, type CreateHuyoooUIOptions, type GlobalTheme, type HuyoooUIConfig, } from './common/globalConfig';
10
+ export { setTheme, globalThemeRef, type CreateHuyoooUIOptions, type GlobalTheme, type HuyoooUIConfig, } from './common/globalConfig';
11
11
  export { createHuyoooUI, getHuyoooRuntime, useHuyoooRuntime, type HuyoooRuntime } from './runtime';
12
12
  export { useCreateAndUpdate as useCommonCreateAndUpdate } from './composables/useCreateAndUpdate';
13
13
  export { useTableHandle } from './composables/useTableHandle';
@@ -16,7 +16,9 @@ export { withViewTransition } from './composables/viewTransitions';
16
16
  export { useDownloads } from './composables/useDownloads';
17
17
  export { useAuthMenu, findMenuPath, findActiveMenuPath, getPathOnly } from './composables/Authkit/useAuthMenu';
18
18
  export { useRoutePermission } from './composables/Authkit/useRoutePermission';
19
- export { useSEO, useRouteSEO, type GlobalSEOConfig, type PageSEOConfig } from './composables/useSEO';
19
+ export { useAppSEO } from './composables/SEO/useAppSEO';
20
+ export { usePageSEO } from './composables/SEO/usePageSEO';
21
+ export type { AppSEOConfig, PageSEOConfig } from './types/seo';
20
22
  export { useUserMenu, type UseUserMenuReturn } from './composables/UserMenu/useUserMenu';
21
23
  export { useBillingPlans, type BillingFeatureItem, type BillingInterval, type BillingIntervalTab, type BillingPlan, type BillingPrice, type BillingProduct, type BillingProductFeature, type BillingSubscription, } from './composables/Billing/useBillingPlans';
22
24
  export { useSubscriptionCheckout } from './composables/Billing/useSubscriptionCheckout';
@@ -1,57 +1,55 @@
1
- import { u as a } from "./useAuthkitAuth-M2vTpEcb.js";
2
- import { u as t } from "./apiClients-CR-hEwog.js";
3
- import { L as r, a as i, b as n, i as l, o as f, r as p, c as g, u as m } from "./useLegalDocs-BOjqYRyQ.js";
4
- import { f as h } from "./fetchAuthPageAboutUs-BnKWq_TL.js";
5
- import { u as d } from "./useAuthkitUsersProfile-DdUAENic.js";
6
- import { u as b } from "./useAuthkitAppsAuthPageInfo-Byu0yvrx.js";
7
- import { u as O } from "./useAuthkitCreateAndUpdate-D2_Bdazi.js";
8
- import { u as D } from "./useMessageNotifications-AznFeFMD.js";
9
- import { c as P, g as E, a as R, b as U, s as k, d as M, u as T } from "./runtime-DMCyhVcI.js";
10
- import { u as w, a as y, b as H, c as I, d as B } from "./useSEO-Chz4Zxuu.js";
11
- import { f as _, a as F, g as K, u as N, b as V, c as Y, w as j } from "./useRoutePermission-BmUXTwQc.js";
12
- import { u as z } from "./useUserMenu-ClPBlvaM.js";
13
- import { u as Q, a as W } from "./useSubscriptionCheckout-3ivcOcgC.js";
14
- import { c as Z, u as $, a as ee, b as se } from "./useBillingStatusOptions-Jq6Wqfxb.js";
1
+ import { u as a } from "./useAuthkitAuth-BPTZUSkM.js";
2
+ import { u as t } from "./apiClients-Ctcq8NZs.js";
3
+ import { L as r, a as i, b as n, i as p, o as f, r as l, c as m, u as c } from "./useLegalDocs-BZlntAI7.js";
4
+ import { f as A } from "./fetchAuthPageAboutUs-CP5a7jIo.js";
5
+ import { u as d } from "./useAuthkitUsersProfile-CW_exa7E.js";
6
+ import { u as L } from "./useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js";
7
+ import { u as P } from "./useAuthkitCreateAndUpdate-Bbv7vZZn.js";
8
+ import { u as O } from "./useMessageNotifications-D9uikt21.js";
9
+ import { c as C, g as U, a as k, s as M, u as R } from "./runtime-qs4IasEB.js";
10
+ import { u as v, a as E, b as w, c as y, d as H } from "./usePageSEO-DwhbUUjW.js";
11
+ import { f as B, a as _, g as G, u as F, b as K, c as N, w as V } from "./useRoutePermission-BrQX7NTq.js";
12
+ import { u as j } from "./useUserMenu-ClPBlvaM.js";
13
+ import { u as z, a as J } from "./useSubscriptionCheckout-BDDCRxSs.js";
14
+ import { c as W, u as X, a as Z, b as $ } from "./useBillingStatusOptions-Br-iL77Z.js";
15
15
  export {
16
16
  r as LEGAL_DOCS,
17
17
  i as LEGAL_DOC_KEYS,
18
18
  n as buildBuiltinLegalDocUrl,
19
- Z as createBillingStatusOptions,
20
- P as createHuyoooUI,
21
- h as fetchAuthPageAboutUs,
22
- _ as findActiveMenuPath,
23
- F as findMenuPath,
24
- E as getHuyoooRuntime,
25
- K as getPathOnly,
26
- R as globalSEOConfig,
27
- U as globalThemeRef,
28
- l as isLegalDocConfigured,
19
+ W as createBillingStatusOptions,
20
+ C as createHuyoooUI,
21
+ A as fetchAuthPageAboutUs,
22
+ B as findActiveMenuPath,
23
+ _ as findMenuPath,
24
+ U as getHuyoooRuntime,
25
+ G as getPathOnly,
26
+ k as globalThemeRef,
27
+ p as isLegalDocConfigured,
29
28
  f as openLegalDocTarget,
30
- p as resolveLegalAppId,
31
- g as resolveLegalDocTargetFromData,
32
- k as setGlobalSEOConfig,
29
+ l as resolveLegalAppId,
30
+ m as resolveLegalDocTargetFromData,
33
31
  M as setTheme,
34
- N as useActiveDoc,
35
- V as useAuthMenu,
36
- b as useAuthkitAppsAuthPageInfo,
32
+ F as useActiveDoc,
33
+ v as useAppSEO,
34
+ K as useAuthMenu,
35
+ L as useAuthkitAppsAuthPageInfo,
37
36
  a as useAuthkitAuth,
38
37
  t as useAuthkitAuthModal,
39
- O as useAuthkitCreateAndUpdate,
38
+ P as useAuthkitCreateAndUpdate,
40
39
  d as useAuthkitUsersProfile,
41
- Q as useBillingPlans,
42
- w as useCommonCreateAndUpdate,
43
- y as useDownloads,
44
- T as useHuyoooRuntime,
45
- $ as useInvoiceStatusOptions,
46
- m as useLegalDocs,
47
- D as useMessageNotifications,
48
- ee as usePointsRechargeStatusOptions,
49
- se as useRefundStatusOptions,
50
- Y as useRoutePermission,
51
- H as useRouteSEO,
52
- I as useSEO,
53
- W as useSubscriptionCheckout,
54
- B as useTableHandle,
55
- z as useUserMenu,
56
- j as withViewTransition
40
+ z as useBillingPlans,
41
+ E as useCommonCreateAndUpdate,
42
+ w as useDownloads,
43
+ R as useHuyoooRuntime,
44
+ X as useInvoiceStatusOptions,
45
+ c as useLegalDocs,
46
+ O as useMessageNotifications,
47
+ y as usePageSEO,
48
+ Z as usePointsRechargeStatusOptions,
49
+ $ as useRefundStatusOptions,
50
+ N as useRoutePermission,
51
+ J as useSubscriptionCheckout,
52
+ H as useTableHandle,
53
+ j as useUserMenu,
54
+ V as withViewTransition
57
55
  };
@@ -12,3 +12,4 @@ export { default as FeedbackFloatButton } from './components/Feedback/FeedbackFl
12
12
  export { default as FeedbackRefresh } from './components/Feedback/FeedbackRefresh.vue';
13
13
  export { default as VideoPreview } from './components/VideoPreview.vue';
14
14
  export type * from './types/feedback';
15
+ export type * from './types/feedbackApi';
package/dist/feedback.js CHANGED
@@ -1,5 +1,5 @@
1
- import { B as b, a as s, F as d, b as F, _ as o, c, R as t, V as r } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-C1hPqnNT.js";
2
- import { C as i } from "./index-BhVwozr0.js";
1
+ import { B as b, a as s, F as d, b as F, _ as o, c, R as t, V as r } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-CnvQjQFT.js";
2
+ import { C as i } from "./index-Cn6LcfZO.js";
3
3
  import { F as m, a as f, b as n, c as p } from "./FeedbackItem-BP-SiJ2u.js";
4
4
  export {
5
5
  i as Clipboard,
@@ -1,5 +1,5 @@
1
- import { n as r } from "./useAuthkitAppsAuthPageInfo-Byu0yvrx.js";
2
- import { g as u } from "./runtime-DMCyhVcI.js";
1
+ import { n as r } from "./useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js";
2
+ import { g as u } from "./runtime-qs4IasEB.js";
3
3
  async function i(n) {
4
4
  if (!n)
5
5
  return null;
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- import "./apiClients-CR-hEwog.js";
2
+ import "./apiClients-Ctcq8NZs.js";
3
3
  import { defineComponent as X, ref as J, openBlock as K, createBlock as Q, unref as W } from "vue";
4
4
  import { Message as Z } from "@arco-design/web-vue";
5
5
  import { Icon as $ } from "@iconify/vue";
package/dist/main.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from './composables';
2
- export { setTheme, globalThemeRef, globalSEOConfig, setGlobalSEOConfig, type GlobalTheme, type CreateHuyoooUIOptions, type HuyoooUIConfig, type HuyoooUIEndpoints, } from './common/globalConfig';
3
- export { createHuyoooUI, getHuyoooRuntime, useHuyoooRuntime, HUYOOO_RUNTIME_KEY, type HuyoooRuntime, } from './runtime';
2
+ export { setTheme, globalThemeRef, type GlobalTheme, type CreateHuyoooUIOptions, type HuyoooUIConfig, type HuyoooUIEndpoints, } from './common/globalConfig';
3
+ export { createHuyoooUI, getHuyoooRuntime, useHuyoooRuntime, HUYOOO_RUNTIME_KEY, type HuyoooUIHostApp, type HuyoooRuntime, } from './runtime';
4
4
  export * from './authkit';
5
5
  export * from './message';
6
6
  export * from './feedback';