@huyooo/ui 2.0.8 → 2.0.9

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 (32) hide show
  1. package/dist/{AuthkitAppSetting-eXw1JiyT.js → AuthkitAppSetting-DoC2RJh7.js} +1 -1
  2. package/dist/{Contact-C5T90358.js → Contact-Ck3LVLx-.js} +1 -1
  3. package/dist/{FeedbackModal.vue_vue_type_script_setup_true_lang-B3CA1z6v.js → FeedbackModal.vue_vue_type_script_setup_true_lang-hveEkBb4.js} +1 -1
  4. package/dist/{LandingPageLinkGroup-BZJ48Yss.js → LandingPageLinkGroup-DTFhrYK1.js} +1 -1
  5. package/dist/{LandingPageSectionTabs-jRjkWlM-.js → LandingPageSectionTabs-Bm_zZrfT.js} +1 -1
  6. package/dist/{LegalDocViewer-Dxl4FngI.js → LegalDocViewer-DBr0x1ZE.js} +426 -410
  7. package/dist/{Logo-D7fyXyB-.js → Logo-B9DFBxDU.js} +1 -1
  8. package/dist/{ReferrerReferees-D4VEC8QJ.js → ReferrerReferees-CGrH-gYJ.js} +1 -1
  9. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BdibAudA.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-QE1ARaXY.js} +195 -211
  10. package/dist/WidthContainer-Clc_WxY_.js +706 -0
  11. package/dist/authkit.js +3 -3
  12. package/dist/common.js +2 -2
  13. package/dist/components/Gradientbackground.vue.d.ts +1 -1
  14. package/dist/components/UserMenu/UserMenu.vue.d.ts +2 -2
  15. package/dist/composables/Authkit/useAppBrand.d.ts +7 -0
  16. package/dist/composables/Authkit/useAuthkitUsersProfile.d.ts +2 -0
  17. package/dist/composables.d.ts +1 -0
  18. package/dist/composables.js +36 -35
  19. package/dist/feedback.js +1 -1
  20. package/dist/landingPage.js +3 -3
  21. package/dist/main.js +234 -233
  22. package/dist/privateCom.js +1 -1
  23. package/dist/referrer.js +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/useAuthkitUsersProfile-8FzLTfUJ.js +55 -0
  26. package/dist/useRoutePermission-DYPZgvYv.js +247 -0
  27. package/dist/user.js +1 -1
  28. package/package.json +1 -1
  29. package/dist/WidthContainer-AZl-9MdF.js +0 -717
  30. package/dist/components/UserMenu/parts/UserMenuAuthPlaceholder.vue.d.ts +0 -7
  31. package/dist/useAuthkitUsersProfile-CTd6PP-a.js +0 -50
  32. package/dist/useRoutePermission-B_g-WmDZ.js +0 -226
package/dist/authkit.js CHANGED
@@ -1,12 +1,12 @@
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 n, e as k, f as d, S as g, g as l, h as p, u as P, i as f } from "./AuthkitAppSetting-eXw1JiyT.js";
2
- import { A as m, a as S, b as L, c as O, d as U, E as w, e as x, f as B, g as D, O as E, h as b, P as y, i as C, j as I, _ as v, R as V, S as _, k as R, l as T, m as G, n as M, o as j, p as z, L as F } from "./LegalDocViewer-Dxl4FngI.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 n, e as k, f as d, S as g, g as l, h as p, u as P, i as f } from "./AuthkitAppSetting-DoC2RJh7.js";
2
+ import { A as m, a as S, b as L, c as O, d as U, E as w, e as x, f as B, g as D, O as E, h as b, P as y, i as C, j as I, _ as v, R as V, S as _, k as R, l as T, m as G, n as M, o as j, p as z, L as F } from "./LegalDocViewer-DBr0x1ZE.js";
3
3
  import { u as Y } from "./useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js";
4
4
  import { u as H } from "./useAuthkitAuth-cHrJMM8E.js";
5
5
  import { u as N } from "./apiClients-Ctcq8NZs.js";
6
6
  import { u as W } from "./useEnsureAuthenticated-C8qS8DLL.js";
7
7
  import { L as Z, a as $, b as tt, i as at, o as st, r as it, c as et, u as ut } from "./useLegalDocs-C4qk5CTb.js";
8
8
  import { f as At } from "./fetchAuthPageAboutUs-DV7ArpNZ.js";
9
- import { u as rt } from "./useAuthkitUsersProfile-CTd6PP-a.js";
9
+ import { u as rt } from "./useAuthkitUsersProfile-8FzLTfUJ.js";
10
10
  import { u as kt } from "./useAuthkitCreateAndUpdate-Bbv7vZZn.js";
11
11
  export {
12
12
  s as AuthkitAppSetting,
package/dist/common.js CHANGED
@@ -1,7 +1,7 @@
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-AZl-9MdF.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-Clc_WxY_.js";
2
2
  import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
3
3
  import { C as x, E as b } from "./CustomTable-HDwqEcmB.js";
4
- import { L } from "./Logo-D7fyXyB-.js";
4
+ import { L } from "./Logo-B9DFBxDU.js";
5
5
  import { M as g, a as A } from "./Menu-uCexrsKP.js";
6
6
  export {
7
7
  s as AppLayout,
@@ -67,10 +67,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
67
67
  default: () => string;
68
68
  };
69
69
  }>> & Readonly<{}>, {
70
+ top: string;
70
71
  width: string;
71
72
  height: string;
72
73
  blur: string;
73
- top: string;
74
74
  right: string;
75
75
  zIndex: string;
76
76
  left: string;
@@ -17,14 +17,14 @@ declare function __VLS_template(): {
17
17
  items?(_: {}): any;
18
18
  };
19
19
  refs: {};
20
- rootEl: any;
20
+ rootEl: HTMLDivElement;
21
21
  };
22
22
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
23
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
24
  position: "tl" | "tr" | "bl" | "br" | "top" | "bottom" | "left" | "right" | "lt" | "lb" | "rt" | "rb";
25
25
  dropdownOffsetX: string;
26
26
  dropdownOffsetY: string;
27
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
28
28
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
29
  export default _default;
30
30
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,7 @@
1
+ /** 应用品牌展示与回首页导航 */
2
+ export declare function useAppBrand(): {
3
+ brandReady: import('vue').ComputedRef<boolean>;
4
+ brandLogoUrl: import('vue').ComputedRef<string>;
5
+ brandName: import('vue').ComputedRef<string>;
6
+ navigateToAppHome: () => void;
7
+ };
@@ -5,10 +5,12 @@ export interface UseAuthkitUsersProfileReturn {
5
5
  userProfile: Ref<UserProfileType | null>;
6
6
  loading: Ref<boolean>;
7
7
  usersProfileReady: Ref<boolean>;
8
+ authSessionBootstrapped: Ref<boolean>;
8
9
  isLoggedIn: import('vue').ComputedRef<boolean>;
9
10
  authSessionState: import('vue').ComputedRef<AuthSessionState>;
10
11
  fetchUserProfile: () => Promise<void>;
11
12
  clearUserProfile: () => void;
13
+ markAuthSessionBootstrapped: () => void;
12
14
  }
13
15
  export type UserProfileResponse = UserProfileApiResponse;
14
16
  export declare function useAuthkitUsersProfile(): UseAuthkitUsersProfileReturn;
@@ -5,6 +5,7 @@ export { fetchAuthPageAboutUs } from './composables/Authkit/fetchAuthPageAboutUs
5
5
  export { LEGAL_DOCS, LEGAL_DOC_KEYS, buildBuiltinLegalDocUrl, isLegalDocConfigured, resolveLegalAppId, resolveLegalDocTargetFromData, openLegalDocTarget, type LegalDocKey, type LegalDocTarget, type LegalDocsMode, } from './legalDocs';
6
6
  export { useAuthkitUsersProfile } from './composables/Authkit/useAuthkitUsersProfile';
7
7
  export { useAuthkitAppsAuthPageInfo } from './composables/Authkit/useAuthkitAppsAuthPageInfo';
8
+ export { useAppBrand } from './composables/Authkit/useAppBrand';
8
9
  export { useAuthkitCreateAndUpdate } from './composables/Authkit/useAuthkitCreateAndUpdate';
9
10
  export { useMessageNotifications } from './composables/useMessageNotifications';
10
11
  export { setTheme, globalThemeRef, type CreateHuyoooUIOptions, type GlobalTheme, type HuyoooUIConfig, } from './common/globalConfig';
@@ -2,54 +2,55 @@ import { u as a } from "./useAuthkitAuth-cHrJMM8E.js";
2
2
  import { u as t } from "./apiClients-Ctcq8NZs.js";
3
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-C4qk5CTb.js";
4
4
  import { f as A } from "./fetchAuthPageAboutUs-DV7ArpNZ.js";
5
- import { u as d } from "./useAuthkitUsersProfile-CTd6PP-a.js";
5
+ import { u as d } from "./useAuthkitUsersProfile-8FzLTfUJ.js";
6
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-Dp7MgwhI.js";
10
- import { u as v, a as E, b as w, c as y, d as H } from "./usePageSEO-Dl6_kBWP.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-B_g-WmDZ.js";
12
- import { u as j } from "./useUserMenu-ClPBlvaM.js";
13
- import { u as z, a as J } from "./useSubscriptionCheckout-CYU2Ke0y.js";
14
- import { c as W, u as X, a as Z, b as $ } from "./useBillingStatusOptions-Br-iL77Z.js";
7
+ import { f as P, a as b, g as O, u as S, b as C, c as U, d as k, w as M } from "./useRoutePermission-DYPZgvYv.js";
8
+ import { u as T } from "./useAuthkitCreateAndUpdate-Bbv7vZZn.js";
9
+ import { u as E } from "./useMessageNotifications-D9uikt21.js";
10
+ import { c as y, g as B, a as H, s as I, u as _ } from "./runtime-Dp7MgwhI.js";
11
+ import { u as F, a as K, b as N, c as V, d as Y } from "./usePageSEO-Dl6_kBWP.js";
12
+ import { u as q } from "./useUserMenu-ClPBlvaM.js";
13
+ import { u as J, a as Q } from "./useSubscriptionCheckout-CYU2Ke0y.js";
14
+ import { c as X, u as Z, a as $, b as ee } 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
- W as createBillingStatusOptions,
20
- C as createHuyoooUI,
19
+ X as createBillingStatusOptions,
20
+ y as createHuyoooUI,
21
21
  A as fetchAuthPageAboutUs,
22
- B as findActiveMenuPath,
23
- _ as findMenuPath,
24
- U as getHuyoooRuntime,
25
- G as getPathOnly,
26
- k as globalThemeRef,
22
+ P as findActiveMenuPath,
23
+ b as findMenuPath,
24
+ B as getHuyoooRuntime,
25
+ O as getPathOnly,
26
+ H as globalThemeRef,
27
27
  p as isLegalDocConfigured,
28
28
  f as openLegalDocTarget,
29
29
  l as resolveLegalAppId,
30
30
  m as resolveLegalDocTargetFromData,
31
- M as setTheme,
32
- F as useActiveDoc,
33
- v as useAppSEO,
34
- K as useAuthMenu,
31
+ I as setTheme,
32
+ S as useActiveDoc,
33
+ C as useAppBrand,
34
+ F as useAppSEO,
35
+ U as useAuthMenu,
35
36
  L as useAuthkitAppsAuthPageInfo,
36
37
  a as useAuthkitAuth,
37
38
  t as useAuthkitAuthModal,
38
- P as useAuthkitCreateAndUpdate,
39
+ T as useAuthkitCreateAndUpdate,
39
40
  d as useAuthkitUsersProfile,
40
- z as useBillingPlans,
41
- E as useCommonCreateAndUpdate,
42
- w as useDownloads,
43
- R as useHuyoooRuntime,
44
- X as useInvoiceStatusOptions,
41
+ J as useBillingPlans,
42
+ K as useCommonCreateAndUpdate,
43
+ N as useDownloads,
44
+ _ as useHuyoooRuntime,
45
+ Z as useInvoiceStatusOptions,
45
46
  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
47
+ E as useMessageNotifications,
48
+ V as usePageSEO,
49
+ $ as usePointsRechargeStatusOptions,
50
+ ee as useRefundStatusOptions,
51
+ k as useRoutePermission,
52
+ Q as useSubscriptionCheckout,
53
+ Y as useTableHandle,
54
+ q as useUserMenu,
55
+ M as withViewTransition
55
56
  };
package/dist/feedback.js CHANGED
@@ -1,4 +1,4 @@
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-B3CA1z6v.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-hveEkBb4.js";
2
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 {
@@ -1,8 +1,8 @@
1
- import { L as g, a as e, b as i, B as s, C as d, c as L, d as P, e as o, f as t, g as r, h as c, i as u, j as m, k as C, l as p, m as F, n as T, o as f, p as l, q as S, r as b, s as k, t as x, u as B, v as A, T as D, w as G, x as H, y as h, z as y, A as I, P as j } from "./LandingPageSectionTabs-jRjkWlM-.js";
1
+ import { L as g, a as e, b as i, B as s, C as d, c as L, d as P, e as o, f as t, g as r, h as c, i as u, j as m, k as C, l as p, m as F, n as T, o as f, p as l, q as S, r as b, s as k, t as x, u as B, v as A, T as D, w as G, x as H, y as h, z as y, A as I, P as j } from "./LandingPageSectionTabs-Bm_zZrfT.js";
2
2
  import { L as w, a as q, b as z } from "./LandingPageSectionHeader-3hiuw6G0.js";
3
- import { L as Q, a as E, b as J, c as K, D as N, d as O, e as R, f as U, g as V, h as W, i as X, j as Y, k as Z } from "./LandingPageLinkGroup-BZJ48Yss.js";
3
+ import { L as Q, a as E, b as J, c as K, D as N, d as O, e as R, f as U, g as V, h as W, i as X, j as Y, k as Z } from "./LandingPageLinkGroup-DTFhrYK1.js";
4
4
  import { D as $ } from "./LandingPageDescription-BczWZHKy.js";
5
- import { L as na } from "./Logo-D7fyXyB-.js";
5
+ import { L as na } from "./Logo-B9DFBxDU.js";
6
6
  export {
7
7
  g as LandingPageAbout,
8
8
  e as LandingPageAside,