@huyooo/ui 0.11.5 → 0.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/{AuthkitAppSetting-CSHkDxQT.js → AuthkitAppSetting-CjQiWZab.js} +5 -5
  2. package/dist/{Clipboard-CRZDADLE.js → Clipboard-ChMNfcO5.js} +1 -1
  3. package/dist/{Contact-Y0Yczmc9.js → Contact-Yqmjh47e.js} +2 -2
  4. package/dist/{FeedbackItem-D7MpOmoM.js → FeedbackItem-DHp_C0pN.js} +3 -3
  5. package/dist/{FeedbackModal-CvNF1D-5.js → FeedbackModal-Dzl0Alp7.js} +3 -3
  6. package/dist/{MessageHandle-B12koVQL.js → MessageHandle-BcRjYeVi.js} +2 -2
  7. package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DxDn6Ok8.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BOtgTje-.js} +2 -2
  8. package/dist/{PaySubscriptions-B8jAtG5n.js → PaySubscriptions-BsU0XmXf.js} +2 -2
  9. package/dist/{PricingPlans-CO26OcbJ.js → PricingPlans-BfVy4xU0.js} +1 -1
  10. package/dist/{ReferrerReferees-D_Iiw9wZ.js → ReferrerReferees-CHSoGrE1.js} +4 -4
  11. package/dist/{Upload.vue_vue_type_script_setup_true_lang-CbVSY_vt.js → Upload.vue_vue_type_script_setup_true_lang-CDWyo3RL.js} +1 -1
  12. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DpVadjMH.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-B4tD8pIE.js} +8 -8
  13. package/dist/{WidthContainer-B6d4xrGT.js → WidthContainer-BzS-A143.js} +7 -7
  14. package/dist/{apiClients-DVz12LeW.js → apiClients-KFp-rs-C.js} +19 -19
  15. package/dist/authkit.js +7 -7
  16. package/dist/common/globalConfig.d.ts +2 -0
  17. package/dist/common.js +1 -1
  18. package/dist/composables.js +11 -11
  19. package/dist/feedback.js +3 -3
  20. package/dist/main.d.ts +1 -0
  21. package/dist/main.js +672 -642
  22. package/dist/message.js +3 -3
  23. package/dist/pay.js +3 -3
  24. package/dist/privateCom.js +1 -1
  25. package/dist/referrer.js +1 -1
  26. package/dist/upload.js +2 -2
  27. package/dist/{useAuthkitAppsAuthPageInfo-Du5d6VK-.js → useAuthkitAppsAuthPageInfo-B9_VzVkQ.js} +1 -1
  28. package/dist/{useAuthkitCreateAndUpdate-Bc9D5C6R.js → useAuthkitCreateAndUpdate-DomftQMK.js} +1 -1
  29. package/dist/{useAuthkitUsersProfile-CQGyvL7g.js → useAuthkitUsersProfile-D4h6OOdR.js} +1 -1
  30. package/dist/{useDownloads-BFx1a-f9.js → useDownloads-CzC3gLUV.js} +1 -1
  31. package/dist/{useEnsureAuthenticated-Cc64hF1O.js → useEnsureAuthenticated-C_Ss0e9n.js} +5 -5
  32. package/dist/{useLegalLinks-Deksq9h-.js → useLegalLinks-OGVbqXVy.js} +2 -2
  33. package/dist/{useMessageNotifications-DY5xKtif.js → useMessageNotifications-DeHFJFcX.js} +1 -1
  34. package/dist/{useSEO-CvfzTZA9.js → useSEO--jTDDkXk.js} +2 -2
  35. package/dist/{useSubscriptionCheckout-BgQJN61l.js → useSubscriptionCheckout-CQ6wHuLI.js} +1 -1
  36. package/dist/{useTableHandle-D71P3Ez_.js → useTableHandle-jw0P7-2a.js} +1 -1
  37. package/dist/{useUploadCos-N5pim6q1.js → useUploadCos-keDKcs0j.js} +1 -1
  38. package/dist/user.js +1 -1
  39. package/dist/utils/legacyApi.d.ts +18 -0
  40. package/package.json +1 -1
package/dist/message.js CHANGED
@@ -1,7 +1,7 @@
1
- import { A as e, C as i, _ as t, a as o, D as g, E as M, b as n, M as f, N as c, c as N, d as r } from "./MessageHandle-B12koVQL.js";
1
+ import { A as e, C as i, _ as t, a as o, D as g, E as M, b as n, M as f, N as c, c as N, d as r } from "./MessageHandle-BcRjYeVi.js";
2
2
  import { I as m, M as p } from "./MessageList-Bo6YCfRO.js";
3
- import { M as D, a as x, _ as C } from "./MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DxDn6Ok8.js";
4
- import { u as d } from "./useMessageNotifications-DY5xKtif.js";
3
+ import { M as D, a as x, _ as C } from "./MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BOtgTje-.js";
4
+ import { u as d } from "./useMessageNotifications-DeHFJFcX.js";
5
5
  export {
6
6
  m as InfiniteLoading,
7
7
  e as MessageAppMessage,
package/dist/pay.js CHANGED
@@ -1,6 +1,6 @@
1
- import { P as a, u as r } from "./PaySubscriptions-B8jAtG5n.js";
2
- import { P as u, a as n } from "./PricingPlans-CO26OcbJ.js";
3
- import { u as t, a as P } from "./useSubscriptionCheckout-BgQJN61l.js";
1
+ import { P as a, u as r } from "./PaySubscriptions-BsU0XmXf.js";
2
+ import { P as u, a as n } from "./PricingPlans-BfVy4xU0.js";
3
+ import { u as t, a as P } from "./useSubscriptionCheckout-CQ6wHuLI.js";
4
4
  export {
5
5
  a as PaySubscriptions,
6
6
  u as PricingFAQ,
@@ -1,4 +1,4 @@
1
- import { C as a, F as r, I as e } from "./Contact-Y0Yczmc9.js";
1
+ import { C as a, F as r, I as e } from "./Contact-Yqmjh47e.js";
2
2
  export {
3
3
  a as Contact,
4
4
  r as Footer,
package/dist/referrer.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R as f } from "./ReferrerReferees-D_Iiw9wZ.js";
1
+ import { R as f } from "./ReferrerReferees-CHSoGrE1.js";
2
2
  export {
3
3
  f as ReferrerReferees
4
4
  };
package/dist/upload.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./Upload.vue_vue_type_script_setup_true_lang-CbVSY_vt.js";
2
- import { u as s } from "./useUploadCos-N5pim6q1.js";
1
+ import { _ as p } from "./Upload.vue_vue_type_script_setup_true_lang-CDWyo3RL.js";
2
+ import { u as s } from "./useUploadCos-keDKcs0j.js";
3
3
  export {
4
4
  p as Upload,
5
5
  s as useUploadCos
@@ -1,5 +1,5 @@
1
1
  import { ref as n } from "vue";
2
- import { e as u } from "./apiClients-DVz12LeW.js";
2
+ import { e as u } from "./apiClients-KFp-rs-C.js";
3
3
  const a = n({
4
4
  id: "",
5
5
  appKey: "",
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- import "./apiClients-DVz12LeW.js";
2
+ import "./apiClients-KFp-rs-C.js";
3
3
  import { Message as u } from "@arco-design/web-vue";
4
4
  import { ref as e } from "vue";
5
5
  function h(s) {
@@ -1,5 +1,5 @@
1
1
  import { ref as t, readonly as A, computed as E } from "vue";
2
- import { e as d } from "./apiClients-DVz12LeW.js";
2
+ import { e as d } from "./apiClients-KFp-rs-C.js";
3
3
  const c = t("signIn"), S = /* @__PURE__ */ new Set(), k = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set(), s = t(null), I = "jwtToken";
4
4
  function T() {
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- import { g as f } from "./apiClients-DVz12LeW.js";
2
+ import { g as f } from "./apiClients-KFp-rs-C.js";
3
3
  import { Message as u } from "@arco-design/web-vue";
4
4
  import { ref as e } from "vue";
5
5
  function g(s) {
@@ -3,16 +3,16 @@ import { defineComponent as z, openBlock as c, createElementBlock as b, normaliz
3
3
  /* empty css */
4
4
  import "./index-D3Kp6R4z.js";
5
5
  import { Form as M, FormItem as A, Input as V, Button as B, Link as E, Tabs as se, TabPane as ne, Divider as ae, Modal as ye, Message as ee, List as we, ListItem as X, ListItemMeta as Z, Avatar as H, Alert as re } from "@arco-design/web-vue";
6
- import { u as x, a as J } from "./useAuthkitUsersProfile-CQGyvL7g.js";
7
- import { e as T, u as pe, s as _e, g as be } from "./apiClients-DVz12LeW.js";
8
- import { u as F } from "./useAuthkitAppsAuthPageInfo-Du5d6VK-.js";
9
- import { u as fe, S as G, a as Se, b as ke } from "./AuthkitAppSetting-CSHkDxQT.js";
6
+ import { u as x, a as J } from "./useAuthkitUsersProfile-D4h6OOdR.js";
7
+ import { e as T, u as pe, s as _e, g as be } from "./apiClients-KFp-rs-C.js";
8
+ import { u as F } from "./useAuthkitAppsAuthPageInfo-B9_VzVkQ.js";
9
+ import { u as fe, S as G, a as Se, b as ke } from "./AuthkitAppSetting-CjQiWZab.js";
10
10
  import { Icon as me } from "@iconify/vue";
11
11
  import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- import { u as Ie } from "./useLegalLinks-Deksq9h-.js";
15
+ import { u as Ie } from "./useLegalLinks-OGVbqXVy.js";
16
16
  /* empty css */
17
17
  /* empty css */
18
18
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  import { computed as c } from "vue";
2
- import { g as L } from "./apiClients-DVz12LeW.js";
3
- import { u as m } from "./useAuthkitAppsAuthPageInfo-Du5d6VK-.js";
2
+ import { g as L } from "./apiClients-KFp-rs-C.js";
3
+ import { u as m } from "./useAuthkitAppsAuthPageInfo-B9_VzVkQ.js";
4
4
  const l = {
5
5
  userServiceAgreement: "用户服务协议",
6
6
  privacyPolicy: "隐私协议",
@@ -1,5 +1,5 @@
1
1
  import { ref as a, computed as L } from "vue";
2
- import { o as c } from "./apiClients-DVz12LeW.js";
2
+ import { o as c } from "./apiClients-KFp-rs-C.js";
3
3
  function S(f = "system") {
4
4
  const n = a(!0), d = a(""), i = a(!1), g = a(!1), o = a([]), t = a({
5
5
  total: 0,
@@ -1,7 +1,7 @@
1
1
  import { ref as I, computed as d, watch as _, isRef as G, toValue as B, hasInjectionContext as F, inject as J, watchEffect as Q, getCurrentInstance as Z, onBeforeUnmount as X, onDeactivated as Y, onActivated as ee } from "vue";
2
2
  import { useRouter as V, useRoute as K } from "vue-router";
3
- import { u as R } from "./useAuthkitAppsAuthPageInfo-Du5d6VK-.js";
4
- import { a as U } from "./useAuthkitUsersProfile-CQGyvL7g.js";
3
+ import { u as R } from "./useAuthkitAppsAuthPageInfo-B9_VzVkQ.js";
4
+ import { a as U } from "./useAuthkitUsersProfile-D4h6OOdR.js";
5
5
  const v = I({
6
6
  key: "",
7
7
  name: ""
@@ -1,5 +1,5 @@
1
1
  import { ref as v, computed as C } from "vue";
2
- import { f as p } from "./apiClients-DVz12LeW.js";
2
+ import { f as p } from "./apiClients-KFp-rs-C.js";
3
3
  /* empty css */
4
4
  import { Message as m } from "@arco-design/web-vue";
5
5
  function q(e) {
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- import "./apiClients-DVz12LeW.js";
2
+ import "./apiClients-KFp-rs-C.js";
3
3
  import { Message as O } from "@arco-design/web-vue";
4
4
  import { ref as t } from "vue";
5
5
  function A(r) {
@@ -1,5 +1,5 @@
1
1
  import { c as Ft, g as Ut } from "./_commonjsHelpers-DaMA6jEr.js";
2
- import { o as mt } from "./apiClients-DVz12LeW.js";
2
+ import { o as mt } from "./apiClients-KFp-rs-C.js";
3
3
  var Pt = { exports: {} };
4
4
  (function(je, ot) {
5
5
  (function(se, E) {
package/dist/user.js CHANGED
@@ -1,4 +1,4 @@
1
- import { U as a, a as n, b as r, c as t, d as U, _ as u, e as i, f as M, g as o, h as m, i as I, j as c, k as d, l as b, m as f } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DpVadjMH.js";
1
+ import { U as a, a as n, b as r, c as t, d as U, _ as u, e as i, f as M, g as o, h as m, i as I, j as c, k as d, l as b, m as f } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-B4tD8pIE.js";
2
2
  export {
3
3
  a as UserAccountMenu,
4
4
  n as UserAvatar,
@@ -0,0 +1,18 @@
1
+ export interface LegacyApiRequestConfig {
2
+ url: string;
3
+ method?: string;
4
+ data?: any;
5
+ headers?: Record<string, string>;
6
+ baseURL?: string;
7
+ timeout?: number;
8
+ }
9
+ export interface LegacyApiResponse<T = any> {
10
+ data: T;
11
+ status: number;
12
+ headers: Headers;
13
+ }
14
+ /**
15
+ * Legacy axios-like request helper kept for older @huyooo/ui consumers.
16
+ * New code should use typed clients exported from utils/apiClients.
17
+ */
18
+ export declare function api<T = any>(config: LegacyApiRequestConfig): Promise<LegacyApiResponse<T>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huyooo/ui",
3
- "version": "0.11.5",
3
+ "version": "0.11.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [