@huyooo/ui 0.7.24 → 0.8.0

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 (85) hide show
  1. package/dist/{AuthkitAuthModal-DcZ69VKT.js → AuthkitAuthModal-CX6-EB-D.js} +563 -628
  2. package/dist/{AuthkitSignInPhone-CJLeElZ1.js → AuthkitSignInPhone-D3hR0dGZ.js} +100 -100
  3. package/dist/{Clipboard-BVSUEtX_.js → Clipboard-CI4IUrMw.js} +13 -14
  4. package/dist/{Contact-DWQjd6yu.js → Contact-mQa-gB4k.js} +3 -3
  5. package/dist/{CustomTable-BCOwLyRJ.js → CustomTable-D8ubfrWL.js} +2 -2
  6. package/dist/{FeedbackItem-qppn-rOs.js → FeedbackItem-qaxaQ8gu.js} +4 -4
  7. package/dist/{FeedbackModal-28L6QJaB.js → FeedbackModal-CUSOWVn5.js} +268 -303
  8. package/dist/{LandingPageSectionTabs-DYNXKElT.js → LandingPageSectionTabs-BOX6nVdh.js} +2 -2
  9. package/dist/MessageHandle-WcCeYl7E.js +1147 -0
  10. package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DHO6VGx-.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BwZM2SQn.js} +38 -37
  11. package/dist/{PaySubscriptions-BqtXFPHR.js → PaySubscriptions-DO2W3Y5v.js} +131 -171
  12. package/dist/ReferrerReferees-CXVi2pUl.js +106 -0
  13. package/dist/{Upload.vue_vue_type_script_setup_true_lang-D2gY_z-p.js → Upload.vue_vue_type_script_setup_true_lang-CY_Pk57x.js} +2 -2
  14. package/dist/{UserAccountMenu--fY2QkYw.js → UserAccountMenu-CHkdka0u.js} +8 -8
  15. package/dist/{WidthContainer-DMJSBs_q.js → WidthContainer-BBoIS50Z.js} +10 -10
  16. package/dist/apiClients-CChPISR0.js +1805 -0
  17. package/dist/authkit.js +6 -6
  18. package/dist/common/globalConfig.d.ts +2 -2
  19. package/dist/common.js +2 -2
  20. package/dist/components/Authkit/Auth/AuthkitAuthContainer.vue.d.ts +1 -1
  21. package/dist/components/Authkit/Auth/AuthkitAuthorize.vue.d.ts +1 -1
  22. package/dist/components/LandingPage/LandingPageLogo.vue.d.ts +1 -1
  23. package/dist/components/LandingPage/LandingPageStats.vue.d.ts +1 -1
  24. package/dist/components/Logo.vue.d.ts +1 -1
  25. package/dist/components/MenuItem.vue.d.ts +1 -1
  26. package/dist/components/Message/MessageTabs.vue.d.ts +2 -2
  27. package/dist/components/Upload/Upload.vue.d.ts +2 -2
  28. package/dist/components/User/UserBasicInformation.vue.d.ts +1 -1
  29. package/dist/components/User/UserPanel.vue.d.ts +2 -2
  30. package/dist/composables/Authkit/useAuthkitAuth.d.ts +1 -1
  31. package/dist/composables.js +9 -9
  32. package/dist/feedback.js +3 -3
  33. package/dist/{index-Bb-d5pBq.js → index-4_tj9bS1.js} +1 -1
  34. package/dist/index-96pA3ONI.js +30 -0
  35. package/dist/index.js +191 -189
  36. package/dist/landingPage.js +1 -1
  37. package/dist/main.d.ts +1 -1
  38. package/dist/message.js +3 -3
  39. package/dist/pay.js +1 -1
  40. package/dist/privateCom.js +1 -1
  41. package/dist/referrer.js +1 -1
  42. package/dist/style.css +1 -1
  43. package/dist/types/api/auth.generated.d.ts +2747 -0
  44. package/dist/types/api/billing.generated.d.ts +1964 -0
  45. package/dist/types/api/ones.generated.d.ts +5567 -0
  46. package/dist/upload.js +2 -2
  47. package/dist/{useAuthkitAppsAuthPageInfo-Bu-Q-44G.js → useAuthkitAppsAuthPageInfo-gn2zm_NY.js} +13 -27
  48. package/dist/{useAuthkitCreateAndUpdate-DHGgpk14.js → useAuthkitCreateAndUpdate-yNpIyVXV.js} +2 -2
  49. package/dist/useAuthkitUsersProfile-D32zPSn2.js +174 -0
  50. package/dist/{useDownloads-jzTsK6S6.js → useDownloads-MF9rK9J_.js} +2 -2
  51. package/dist/useMessageNotifications-CCfM6W6J.js +78 -0
  52. package/dist/{useSEO-Curqg3Re.js → useSEO-DivOwPWc.js} +2 -2
  53. package/dist/{useTableHandle-MuavycJ7.js → useTableHandle-DpemWl6Y.js} +2 -2
  54. package/dist/{useUploadCos-C4mpMNhT.js → useUploadCos-BVvRc0BW.js} +159 -181
  55. package/dist/user.js +1 -1
  56. package/dist/utils/apiClients.d.ts +6 -0
  57. package/dist/utils/apiMiddlewares.d.ts +16 -0
  58. package/package.json +8 -3
  59. package/dist/MessageHandle-DaczDI82.js +0 -1207
  60. package/dist/MessageNotifications-IluYhczu.js +0 -35
  61. package/dist/ReferrerReferees-D6CNoqs4.js +0 -113
  62. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  63. package/dist/api/Authkit/Users.d.ts +0 -15
  64. package/dist/api/Authkit/apps.d.ts +0 -2
  65. package/dist/api/Authkit/auth.d.ts +0 -50
  66. package/dist/api/Authkit/oauth.d.ts +0 -12
  67. package/dist/api/Authkit/verify.d.ts +0 -25
  68. package/dist/api/Buckets/Files.d.ts +0 -7
  69. package/dist/api/Buckets.d.ts +0 -2
  70. package/dist/api/Invoices.d.ts +0 -32
  71. package/dist/api/Message/ChangelogNotifications.d.ts +0 -17
  72. package/dist/api/Message/EventNotifications.d.ts +0 -16
  73. package/dist/api/Message/MessageNotifications.d.ts +0 -25
  74. package/dist/api/Message/NoticeNotifications.d.ts +0 -37
  75. package/dist/api/Messages.d.ts +0 -2
  76. package/dist/api/Orders.d.ts +0 -9
  77. package/dist/api/Products.d.ts +0 -20
  78. package/dist/api/Quotas.d.ts +0 -21
  79. package/dist/api/Referrer.d.ts +0 -1
  80. package/dist/api/Subscriptions.d.ts +0 -35
  81. package/dist/api/index.d.ts +0 -8
  82. package/dist/request-BkNyIDws.js +0 -196
  83. package/dist/useAuthkitUsersProfile-D58I5n2T.js +0 -257
  84. package/dist/useMessageNotifications-CLowHpNV.js +0 -78
  85. package/dist/utils/request.d.ts +0 -26
package/dist/authkit.js CHANGED
@@ -1,9 +1,9 @@
1
- import { A as i, a as u, c as s, b as h, n as A, E as e, k, l as o, _ as r, O as n, _ as d, O as p, f as m, o as P, P as f, j as l, R as S, S as g, i as O, m as c, d as w, e as U, g as I, h as b, p as x, u as C } from "./AuthkitAuthModal-DcZ69VKT.js";
2
- import { A as y, a as B, c as R, d as V, b as v, b as L, f as M, e as _ } from "./AuthkitSignInPhone-CJLeElZ1.js";
3
- import { u as z } from "./useAuthkitAppsAuthPageInfo-Bu-Q-44G.js";
4
- import { u as T, a as q } from "./useAuthkitUsersProfile-D58I5n2T.js";
5
- import { u as F } from "./request-BkNyIDws.js";
6
- import { u as J } from "./useAuthkitCreateAndUpdate-DHGgpk14.js";
1
+ import { A as i, a as u, c as s, b as h, n as A, E as e, k, l as o, _ as r, O as n, _ as d, O as p, f as m, o as P, P as f, j as l, R as S, S as g, i as O, m as c, d as w, e as U, g as I, h as b, p as x, u as C } from "./AuthkitAuthModal-CX6-EB-D.js";
2
+ import { A as y, a as B, c as R, d as V, b as v, b as L, f as M, e as _ } from "./AuthkitSignInPhone-D3hR0dGZ.js";
3
+ import { u as z } from "./useAuthkitAppsAuthPageInfo-gn2zm_NY.js";
4
+ import { u as T, a as q } from "./useAuthkitUsersProfile-D32zPSn2.js";
5
+ import { u as F } from "./apiClients-CChPISR0.js";
6
+ import { u as J } from "./useAuthkitCreateAndUpdate-yNpIyVXV.js";
7
7
  export {
8
8
  i as AuthkitAppSetting,
9
9
  u as AuthkitAuth,
@@ -13,7 +13,7 @@ export interface HuyoooUIConfig {
13
13
  onesPrefixUrl: string;
14
14
  /** auth-server API前缀 */
15
15
  authPrefixUrl: string;
16
- /** billing-server API前缀 - 默认 '/billingApi' */
16
+ /** billing-server API前缀 - 默认 '/billingRestfulApi' */
17
17
  billingPrefixUrl: string;
18
18
  /** OAuth 回调地址(可选,默认当前域名 + /auth/callback) */
19
19
  oauthCallbackUrl: string;
@@ -38,7 +38,7 @@ export declare function setGlobalConfig(newConfig: {
38
38
  onesPrefixUrl?: string;
39
39
  /** auth-server API前缀 */
40
40
  authPrefixUrl: string;
41
- /** billing-server API前缀 - 默认 '/billingApi' */
41
+ /** billing-server API前缀 - 默认 '/billingRestfulApi' */
42
42
  billingPrefixUrl?: string;
43
43
  /** OAuth 回调地址(可选,默认当前域名 + /auth/callback) */
44
44
  oauthCallbackUrl?: string;
package/dist/common.js CHANGED
@@ -1,6 +1,6 @@
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-DMJSBs_q.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-BBoIS50Z.js";
2
2
  import { C as i, a as f } from "./CollapseItem-Cw1vcdLu.js";
3
- import { C as x, E as H } from "./CustomTable-BCOwLyRJ.js";
3
+ import { C as x, E as H } from "./CustomTable-D8ubfrWL.js";
4
4
  import { M, a as g } from "./Menu-H-LxepvQ.js";
5
5
  export {
6
6
  s as AppLayout,
@@ -86,8 +86,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
86
86
  default: string;
87
87
  };
88
88
  }>> & Readonly<{}>, {
89
- description: string;
90
89
  name: string;
90
+ description: string;
91
91
  applicationLogoUrl: string;
92
92
  backgroundType: string;
93
93
  backgroundColor: string;
@@ -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;
96
95
  logo: string;
97
96
  title: string;
98
97
  state: string;
99
98
  redirectUri: string;
100
99
  clientId: string;
100
+ responseType: string;
101
101
  scope: string;
102
102
  userInfo: UserResponseType;
103
103
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
@@ -55,9 +55,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
55
55
  }>> & Readonly<{
56
56
  onTo?: ((...args: any[]) => any) | undefined;
57
57
  }>, {
58
+ color: string;
58
59
  name: string;
59
60
  icon: string;
60
- color: string;
61
61
  fontSize: string;
62
62
  iconSize: string;
63
63
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
@@ -9,8 +9,8 @@ interface Props {
9
9
  stats?: StatsItem[];
10
10
  }
11
11
  declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
12
+ stats: StatsItem[];
12
13
  title: string;
13
14
  subTitle: string;
14
- stats: StatsItem[];
15
15
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
16
  export default _default;
@@ -45,9 +45,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
45
45
  }>> & Readonly<{
46
46
  onTo?: ((...args: any[]) => any) | undefined;
47
47
  }>, {
48
+ color: string;
48
49
  name: string;
49
50
  icon: string;
50
- color: string;
51
51
  fontSize: string;
52
52
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
53
53
  export default _default;
@@ -10,9 +10,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
10
10
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
11
11
  onClick?: (() => any) | undefined;
12
12
  }>, {
13
+ active: boolean;
13
14
  icon: string;
14
15
  path: string;
15
16
  hidden: boolean;
16
- active: boolean;
17
17
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
18
  export default _default;
@@ -16,9 +16,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
16
16
  required: true;
17
17
  };
18
18
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ readAll: (...args: any[]) => void;
19
20
  change: (...args: any[]) => void;
20
21
  "update:activeTab": (...args: any[]) => void;
21
- readAll: (...args: any[]) => void;
22
22
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
23
23
  tabs: {
24
24
  type: PropType<{
@@ -36,8 +36,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
36
36
  required: true;
37
37
  };
38
38
  }>> & Readonly<{
39
+ onReadAll?: ((...args: any[]) => any) | undefined;
39
40
  onChange?: ((...args: any[]) => any) | undefined;
40
41
  "onUpdate:activeTab"?: ((...args: any[]) => any) | undefined;
41
- onReadAll?: ((...args: any[]) => any) | undefined;
42
42
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
43
43
  export default _default;
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
19
19
  required: true;
20
20
  };
21
21
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
- fail: (...args: any[]) => void;
23
22
  progress: (...args: any[]) => void;
23
+ fail: (...args: any[]) => void;
24
24
  fileFinish: (...args: any[]) => void;
25
25
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
26
26
  options: {
@@ -33,8 +33,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
33
33
  required: true;
34
34
  };
35
35
  }>> & Readonly<{
36
- onFail?: ((...args: any[]) => any) | undefined;
37
36
  onProgress?: ((...args: any[]) => any) | undefined;
37
+ onFail?: ((...args: any[]) => any) | undefined;
38
38
  onFileFinish?: ((...args: any[]) => any) | undefined;
39
39
  }>, {
40
40
  options: Record<string, any>;
@@ -33,9 +33,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
33
33
  default: string;
34
34
  };
35
35
  }>> & Readonly<{}>, {
36
+ email: string;
36
37
  referrerId: string;
37
38
  nickname: string;
38
- email: string;
39
39
  avatarUrl: string;
40
40
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
41
41
  export default _default;
@@ -19,14 +19,14 @@ type __VLS_PublicProps = {
19
19
  } & __VLS_Props;
20
20
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
21
  signIn: (...args: any[]) => void;
22
- toHomePage: (...args: any[]) => void;
23
22
  signOut: (...args: any[]) => void;
23
+ toHomePage: (...args: any[]) => void;
24
24
  "update:modelValue": (value: boolean) => void;
25
25
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
26
  onSignIn?: ((...args: any[]) => any) | undefined;
27
+ onSignOut?: ((...args: any[]) => any) | undefined;
27
28
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
28
29
  onToHomePage?: ((...args: any[]) => any) | undefined;
29
- onSignOut?: ((...args: any[]) => any) | undefined;
30
30
  }>, {
31
31
  position: "tl" | "tr" | "bl" | "br" | "top" | "bottom" | "left" | "right" | "lt" | "lb" | "rt" | "rb";
32
32
  dropdownOffsetX: string;
@@ -24,7 +24,7 @@ export declare function useAuthkitAuth(): {
24
24
  password: string;
25
25
  emailVerifyId: string;
26
26
  }) => Promise<void>;
27
- currentView: import('vue').Ref<"signUp" | "resetPassword" | "signIn", "signUp" | "resetPassword" | "signIn">;
27
+ currentView: import('vue').Ref<"signIn" | "signUp" | "resetPassword", "signIn" | "signUp" | "resetPassword">;
28
28
  authSignInLoading: import('vue').Ref<boolean, boolean>;
29
29
  authSignUpLoading: import('vue').Ref<boolean, boolean>;
30
30
  resetPasswordLoading: import('vue').Ref<boolean, boolean>;
@@ -1,12 +1,12 @@
1
- import { u as a, a as o } from "./useAuthkitUsersProfile-D58I5n2T.js";
2
- import { g as u, a as r, s as i, b as n, u as f } from "./request-BkNyIDws.js";
3
- import { u as p } from "./useAuthkitAppsAuthPageInfo-Bu-Q-44G.js";
4
- import { u as h } from "./useAuthkitCreateAndUpdate-DHGgpk14.js";
5
- import { u as d } from "./useMessageNotifications-CLowHpNV.js";
6
- import { u as x, a as C } from "./useDownloads-jzTsK6S6.js";
7
- import { u as P } from "./useTableHandle-MuavycJ7.js";
8
- import { b as k, f as M, g as O, u as w, a as E, c as S, e as U, d as v, w as D } from "./useSEO-Curqg3Re.js";
9
- import { u as R } from "./useUploadCos-C4mpMNhT.js";
1
+ import { u as a, a as o } from "./useAuthkitUsersProfile-D32zPSn2.js";
2
+ import { g as u, a as r, s as i, b as n, u as f } from "./apiClients-CChPISR0.js";
3
+ import { u as p } from "./useAuthkitAppsAuthPageInfo-gn2zm_NY.js";
4
+ import { u as h } from "./useAuthkitCreateAndUpdate-yNpIyVXV.js";
5
+ import { u as d } from "./useMessageNotifications-CCfM6W6J.js";
6
+ import { u as x, a as C } from "./useDownloads-MF9rK9J_.js";
7
+ import { u as P } from "./useTableHandle-DpemWl6Y.js";
8
+ import { b as k, f as M, g as O, u as w, a as E, c as S, e as U, d as v, w as D } from "./useSEO-DivOwPWc.js";
9
+ import { u as R } from "./useUploadCos-BVvRc0BW.js";
10
10
  export {
11
11
  k as findActiveMenuPath,
12
12
  M as findMenuPath,
package/dist/feedback.js CHANGED
@@ -1,6 +1,6 @@
1
- import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-28L6QJaB.js";
2
- import { C as r } from "./Clipboard-BVSUEtX_.js";
3
- import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-qppn-rOs.js";
1
+ import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-CUSOWVn5.js";
2
+ import { C as r } from "./Clipboard-CI4IUrMw.js";
3
+ import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-qaxaQ8gu.js";
4
4
  export {
5
5
  r as Clipboard,
6
6
  b as FeedbackBubbleEnd,
@@ -1,4 +1,4 @@
1
- import { c as Ne } from "./_commonjsHelpers-DaMA6jEr.js";
1
+ import { c as Ne } from "./index-96pA3ONI.js";
2
2
  var _e = { exports: {} };
3
3
  (function(x, b) {
4
4
  (function(R, y) {
@@ -0,0 +1,30 @@
1
+ var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function f(e) {
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
+ }
5
+ function l(e) {
6
+ if (e.__esModule) return e;
7
+ var r = e.default;
8
+ if (typeof r == "function") {
9
+ var t = function o() {
10
+ return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
11
+ };
12
+ t.prototype = r.prototype;
13
+ } else t = {};
14
+ return Object.defineProperty(t, "__esModule", {
15
+ value: !0
16
+ }), Object.keys(e).forEach(function(o) {
17
+ var n = Object.getOwnPropertyDescriptor(e, o);
18
+ Object.defineProperty(t, o, n.get ? n : {
19
+ enumerable: !0,
20
+ get: function() {
21
+ return e[o];
22
+ }
23
+ });
24
+ }), t;
25
+ }
26
+ export {
27
+ l as a,
28
+ u as c,
29
+ f as g
30
+ };