@huyooo/ui 0.4.67 → 0.4.69

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.
@@ -1,91 +1,11 @@
1
- export interface UserProfileData {
2
- id: string;
3
- appId: string;
4
- roleId: string | null;
5
- avatar: string;
6
- avatarUrl: string;
7
- nickname: string;
8
- description: string;
9
- email: string;
10
- phone: string;
11
- verified: {
12
- email: {
13
- isVerified: boolean;
14
- verificationToken: string;
15
- createAt: string | null;
16
- };
17
- phone: {
18
- isVerified: boolean;
19
- verificationToken: string;
20
- createAt: string | null;
21
- };
22
- };
23
- github: {
24
- login: string;
25
- id: number;
26
- node_id: string;
27
- avatar_url: string;
28
- gravatar_id: string;
29
- url: string;
30
- html_url: string;
31
- followers_url: string;
32
- following_url: string;
33
- gists_url: string;
34
- starred_url: string;
35
- subscriptions_url: string;
36
- organizations_url: string;
37
- repos_url: string;
38
- events_url: string;
39
- received_events_url: string;
40
- type: string;
41
- site_admin: boolean;
42
- name: string;
43
- company: string | null;
44
- blog: string;
45
- location: string;
46
- email: string;
47
- hireable: boolean;
48
- bio: string;
49
- twitter_username: string | null;
50
- notification_email: string;
51
- public_repos: number;
52
- public_gists: number;
53
- followers: number;
54
- following: number;
55
- created_at: string;
56
- updated_at: string;
57
- } | null;
58
- wechat: any;
59
- google: any;
60
- microsoft: any;
61
- status: string;
62
- organizations: string[];
63
- creator: string | null;
64
- updator: string | null;
65
- createAt: string;
66
- updateAt: string;
67
- referrerId: string;
68
- creatorId: string;
69
- updatorId: string;
70
- }
71
- export interface UserProfileResponse {
72
- code: number;
73
- message: string;
74
- data: UserProfileData;
75
- }
1
+ import { UserProfileType, UserProfileApiResponse } from '../../types/user';
2
+ export type UserProfileResponse = UserProfileApiResponse;
76
3
  declare function fetchUserProfile(): Promise<void>;
77
4
  declare function clearUserProfile(): void;
78
5
  export declare function useAuthkitUsersProfile(): {
79
6
  userProfile: import('vue').Ref<{
80
- id: string;
81
7
  appId: string;
82
8
  roleId: string | null;
83
- avatar: string;
84
- avatarUrl: string;
85
- nickname: string;
86
- description: string;
87
- email: string;
88
- phone: string;
89
9
  verified: {
90
10
  email: {
91
11
  isVerified: boolean;
@@ -136,25 +56,49 @@ export declare function useAuthkitUsersProfile(): {
136
56
  wechat: any;
137
57
  google: any;
138
58
  microsoft: any;
139
- status: string;
140
59
  organizations: string[];
60
+ referrerId: string;
61
+ role: {
62
+ id: string;
63
+ name: string;
64
+ roleKey: string;
65
+ description: string;
66
+ } | null;
67
+ permissions: {
68
+ id: string;
69
+ name: string;
70
+ permissionKey: string;
71
+ description: string;
72
+ }[];
73
+ creatorInfo?: {
74
+ id: string;
75
+ nickname: string;
76
+ email: string;
77
+ avatar?: string | undefined;
78
+ } | undefined;
79
+ updatorInfo?: {
80
+ id: string;
81
+ nickname: string;
82
+ email: string;
83
+ avatar?: string | undefined;
84
+ } | undefined;
141
85
  creator: string | null;
142
86
  updator: string | null;
143
- createAt: string;
144
- updateAt: string;
145
- referrerId: string;
146
87
  creatorId: string;
147
88
  updatorId: string;
148
- } | null, UserProfileData | {
149
89
  id: string;
150
- appId: string;
151
- roleId: string | null;
152
- avatar: string;
153
- avatarUrl: string;
90
+ createAt: string;
91
+ updateAt: string;
154
92
  nickname: string;
155
93
  description: string;
156
94
  email: string;
157
95
  phone: string;
96
+ avatar: string;
97
+ avatarUrl: string;
98
+ status: import('../../types/user').UserStatusType;
99
+ } | null, UserProfileType | {
100
+ appId: string;
101
+ roleId: string | null;
158
102
  verified: {
159
103
  email: {
160
104
  isVerified: boolean;
@@ -205,15 +149,46 @@ export declare function useAuthkitUsersProfile(): {
205
149
  wechat: any;
206
150
  google: any;
207
151
  microsoft: any;
208
- status: string;
209
152
  organizations: string[];
153
+ referrerId: string;
154
+ role: {
155
+ id: string;
156
+ name: string;
157
+ roleKey: string;
158
+ description: string;
159
+ } | null;
160
+ permissions: {
161
+ id: string;
162
+ name: string;
163
+ permissionKey: string;
164
+ description: string;
165
+ }[];
166
+ creatorInfo?: {
167
+ id: string;
168
+ nickname: string;
169
+ email: string;
170
+ avatar?: string | undefined;
171
+ } | undefined;
172
+ updatorInfo?: {
173
+ id: string;
174
+ nickname: string;
175
+ email: string;
176
+ avatar?: string | undefined;
177
+ } | undefined;
210
178
  creator: string | null;
211
179
  updator: string | null;
212
- createAt: string;
213
- updateAt: string;
214
- referrerId: string;
215
180
  creatorId: string;
216
181
  updatorId: string;
182
+ id: string;
183
+ createAt: string;
184
+ updateAt: string;
185
+ nickname: string;
186
+ description: string;
187
+ email: string;
188
+ phone: string;
189
+ avatar: string;
190
+ avatarUrl: string;
191
+ status: import('../../types/user').UserStatusType;
217
192
  } | null>;
218
193
  loading: import('vue').Ref<boolean, boolean>;
219
194
  isLoggedIn: import('vue').ComputedRef<boolean>;
package/dist/index.js CHANGED
@@ -1,30 +1,30 @@
1
- import { A as e, a as t, b as i, A as n, a as o, c as g, n as r, E as d, k as u, l as A, _ as P, O as c, f as L, o as f, P as p, j as h, R as m, S as k, i as l, m as b, d as C, e as M, g as S, h as x } from "./AuthkitAppSetting-CX3_9Jcg.js";
1
+ import { A as s, a as t, b as i, A as n, a as o, c as g, n as r, E as d, k as u, l as A, _ as P, O as c, f as L, o as f, P as p, j as h, R as m, S as k, i as l, m as b, d as C, e as M, g as S, h as x } from "./AuthkitAppSetting-CX3_9Jcg.js";
2
2
  import { u as U, a as I } from "./useAuthkitUsersProfile-DNOB_Kuk.js";
3
- import { A as B, a as N } from "./AuthkitAuthorize-B3WS5eGX.js";
3
+ import { A as B, a as N } from "./AuthkitAuthorize-CA0jmnjq.js";
4
4
  import { U as w, u as D } from "./useAuthkitAuthModal-hxivJw_U.js";
5
5
  import { u as v } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
6
- import { I as G, A as H, C as O, _, a as V, D as j, E as z, b as W, M as q, c as J, N as K, f as Q, d as X, e as Y } from "./MessageHandle-BelPivb3.js";
6
+ import { I as y, A as G, C as O, _, a as V, D as j, E as z, b as W, M as q, c as J, N as K, f as Q, d as X, e as Y } from "./MessageHandle-BelPivb3.js";
7
7
  import { M as $, a as aa } from "./MessageMenu-_RZJ9Mbi.js";
8
- import { u as ea } from "./useMessageNotifications-DOH1MS61.js";
8
+ import { u as sa } from "./useMessageNotifications-DOH1MS61.js";
9
9
  import { _ as ia, a as na, F as oa, b as ga, c as ra, d as da, R as ua } from "./FeedbackModal-BDPw2tu7.js";
10
10
  import { C as Pa } from "./Clipboard-Bful1lNJ.js";
11
11
  import { F as La, a as fa, c as pa, b as ha, d as ma } from "./FeedbackItem-C5WqFEqH.js";
12
- import { L as la, a as ba, b as Ca, c as Ma, d as Sa, B as xa, C as Fa, e as Ua, f as Ia, g as Ta, h as Ba, D as Na, i as Ea, j as wa, k as Da, l as Ra, m as va, n as ya, o as Ga, p as Ha, q as Oa, r as _a, s as Va, t as ja, u as za, v as Wa, w as qa, x as Ja, y as Ka, z as Qa, A as Xa, E as Ya, F as Za, G as $a, S as as, T as ss, H as es, I as ts, J as is, K as ns, M as os, N as gs } from "./LandingPageToc-B1xCvhWl.js";
13
- import { C as ds, a as us } from "./CollapseItem-Cw1vcdLu.js";
14
- import { C as Ps, G as cs, S as Ls, W as fs } from "./WidthContainer-D795bWdT.js";
15
- import { C as hs, E as ms } from "./CustomTable-JflAYS8i.js";
16
- import { M as ls, a as bs } from "./Menu-Cxo8Rpu3.js";
17
- import { S as Ms, b as Ss, c as xs, a as Fs, U as Us, S as Is } from "./UserPanel-CaaTu1mu.js";
18
- import { S as Bs, S as Ns } from "./PaySubscriptions-BRWvLeed.js";
19
- import { R as ws, R as Ds } from "./ReferrerReferees-BVj9o5kG.js";
20
- import { _ as vs } from "./Upload.vue_vue_type_script_setup_true_lang-CDyUt05d.js";
21
- import { g as Gs, s as Hs } from "./globalConfig-DZIhLe1R.js";
22
- import { a as _s, u as Vs } from "./useActiveDoc-BWHkOJhJ.js";
23
- import { u as zs } from "./useTableHandle-DKUIdSSh.js";
24
- import { u as qs } from "./useUploadCos-B5P_PDcy.js";
25
- import { U as Ks } from "./UserAccountMenu-BD8F9vEK.js";
12
+ import { L as la, a as ba, b as Ca, c as Ma, d as Sa, B as xa, C as Fa, e as Ua, f as Ia, g as Ta, h as Ba, D as Na, i as Ea, j as wa, k as Da, l as Ra, m as va, n as Ha, o as ya, p as Ga, q as Oa, r as _a, s as Va, t as ja, u as za, v as Wa, w as qa, x as Ja, y as Ka, z as Qa, A as Xa, E as Ya, F as Za, G as $a, H as ae, S as ee, T as se, I as te, J as ie, K as ne, M as oe, N as ge, O as re } from "./LandingPageToc-XQjqJ1G4.js";
13
+ import { C as ue, a as Ae } from "./CollapseItem-Cw1vcdLu.js";
14
+ import { C as ce, G as Le, H as fe, L as pe, S as he, W as me } from "./WidthContainer-CfR77puD.js";
15
+ import { C as le, E as be } from "./CustomTable-JflAYS8i.js";
16
+ import { M as Me, a as Se } from "./Menu-Cxo8Rpu3.js";
17
+ import { S as Fe, b as Ue, c as Ie, a as Te, U as Be, S as Ne } from "./UserPanel-CaaTu1mu.js";
18
+ import { S as we, S as De } from "./PaySubscriptions-BRWvLeed.js";
19
+ import { R as ve, R as He } from "./ReferrerReferees-BVj9o5kG.js";
20
+ import { _ as Ge } from "./Upload.vue_vue_type_script_setup_true_lang-CDyUt05d.js";
21
+ import { g as _e, s as Ve } from "./globalConfig-DZIhLe1R.js";
22
+ import { a as ze, u as We } from "./useActiveDoc-BWHkOJhJ.js";
23
+ import { u as Je } from "./useTableHandle-DKUIdSSh.js";
24
+ import { u as Qe } from "./useUploadCos-B5P_PDcy.js";
25
+ import { U as Ye } from "./UserAccountMenu-BD8F9vEK.js";
26
26
  export {
27
- e as Auth,
27
+ s as Auth,
28
28
  t as AuthModal,
29
29
  i as AuthkitAppSetting,
30
30
  n as AuthkitAuth,
@@ -51,11 +51,11 @@ export {
51
51
  S as AuthkitSwitchSignIn,
52
52
  x as AuthkitSwitchSignUpOrResetPassword,
53
53
  Pa as Clipboard,
54
- ds as Collapse,
55
- us as CollapseItem,
56
- Ps as ContentHead,
57
- hs as CustomTable,
58
- ms as Ellipsis,
54
+ ue as Collapse,
55
+ Ae as CollapseItem,
56
+ ce as ContentHead,
57
+ le as CustomTable,
58
+ be as Ellipsis,
59
59
  ia as FeedbackBubbleEnd,
60
60
  na as FeedbackBubbleStart,
61
61
  La as FeedbackContainer,
@@ -68,8 +68,9 @@ export {
68
68
  da as FeedbackModal,
69
69
  ua as FeedbackRefresh,
70
70
  ma as FeedbackScreenshots,
71
- cs as Gradientbackground,
72
- G as InfiniteLoading,
71
+ Le as Gradientbackground,
72
+ fe as HeaderMenus,
73
+ y as InfiniteLoading,
73
74
  la as LandingPageAbout,
74
75
  ba as LandingPageAside,
75
76
  Ca as LandingPageBlockHeader,
@@ -87,9 +88,9 @@ export {
87
88
  Da as LandingPageFeatures,
88
89
  Ra as LandingPageFeatures2,
89
90
  va as LandingPageFooter,
90
- ya as LandingPageFooterContact,
91
- Ga as LandingPageFooterLayout,
92
- Ha as LandingPageHero,
91
+ Ha as LandingPageFooterContact,
92
+ ya as LandingPageFooterLayout,
93
+ Ga as LandingPageHero,
93
94
  Oa as LandingPageLink,
94
95
  _a as LandingPageLinkGroup,
95
96
  Va as LandingPageListItem,
@@ -100,21 +101,23 @@ export {
100
101
  Ja as LandingPagePriceGroup,
101
102
  Ka as LandingPagePricingCard,
102
103
  Qa as LandingPagePricingGrid,
103
- Xa as LandingPageSections,
104
- Ya as LandingPageShowcase,
105
- Za as LandingPageStats,
106
- $a as LandingPageSteps,
107
- as as LandingPageSubTitle,
108
- ss as LandingPageTabs,
109
- es as LandingPageTeamInfo,
110
- ts as LandingPageTeamList,
111
- is as LandingPageTestimonial,
112
- ns as LandingPageTips,
113
- os as LandingPageTitle,
114
- gs as LandingPageToc,
115
- ls as Menu,
116
- bs as MenuItem,
117
- H as MessageAppMessage,
104
+ Xa as LandingPageSectionHeader,
105
+ Ya as LandingPageSections,
106
+ Za as LandingPageShowcase,
107
+ $a as LandingPageStats,
108
+ ae as LandingPageSteps,
109
+ ee as LandingPageSubTitle,
110
+ se as LandingPageTabs,
111
+ te as LandingPageTeamInfo,
112
+ ie as LandingPageTeamList,
113
+ ne as LandingPageTestimonial,
114
+ oe as LandingPageTips,
115
+ ge as LandingPageTitle,
116
+ re as LandingPageToc,
117
+ pe as Logo,
118
+ Me as Menu,
119
+ Se as MenuItem,
120
+ G as MessageAppMessage,
118
121
  O as MessageChangelogNotifications,
119
122
  _ as MessageChangelogNotificationsDetails,
120
123
  V as MessageCustomTabs,
@@ -129,30 +132,30 @@ export {
129
132
  Q as MessageNoticeNotificationsDetails,
130
133
  X as MessageNotifications,
131
134
  Y as MessageTabs,
132
- Bs as PaySubscriptions,
133
- ws as Referees,
134
- Ds as ReferrerReferees,
135
- Ms as SubscriptionBaseInformation,
136
- Ns as Subscriptions,
137
- Ls as SvgIcon,
138
- vs as Upload,
135
+ we as PaySubscriptions,
136
+ ve as Referees,
137
+ He as ReferrerReferees,
138
+ Fe as SubscriptionBaseInformation,
139
+ De as Subscriptions,
140
+ he as SvgIcon,
141
+ Ge as Upload,
139
142
  w as UseAuthkitAppsAuthPageInfo,
140
- Ks as UserAccountMenu,
141
- Ss as UserAvatar,
142
- xs as UserBasicInformation,
143
- Fs as UserButton,
144
- Us as UserPanel,
145
- Is as UserSubscriptionBaseInformation,
146
- fs as WidthContainer,
147
- Gs as globalConfig,
148
- Hs as setGlobalConfig,
149
- _s as useActiveDoc,
143
+ Ye as UserAccountMenu,
144
+ Ue as UserAvatar,
145
+ Ie as UserBasicInformation,
146
+ Te as UserButton,
147
+ Be as UserPanel,
148
+ Ne as UserSubscriptionBaseInformation,
149
+ me as WidthContainer,
150
+ _e as globalConfig,
151
+ Ve as setGlobalConfig,
152
+ ze as useActiveDoc,
150
153
  U as useAuthkitAuth,
151
154
  D as useAuthkitAuthModal,
152
155
  v as useAuthkitCreateAndUpdate,
153
156
  I as useAuthkitUsersProfile,
154
- Vs as useCommonCreateAndUpdate,
155
- ea as useMessageNotifications,
156
- zs as useTableHandle,
157
- qs as useUploadCos
157
+ We as useCommonCreateAndUpdate,
158
+ sa as useMessageNotifications,
159
+ Je as useTableHandle,
160
+ Qe as useUploadCos
158
161
  };
@@ -28,6 +28,7 @@ export { default as LandingPagePageContent } from './components/LandingPage/Land
28
28
  export { default as LandingPagePriceGroup } from './components/LandingPage/LandingPagePriceGroup.vue';
29
29
  export { default as LandingPagePricingCard } from './components/LandingPage/LandingPagePricingCard.vue';
30
30
  export { default as LandingPagePricingGrid } from './components/LandingPage/LandingPagePricingGrid.vue';
31
+ export { default as LandingPageSectionHeader } from './components/LandingPage/LandingPageSectionHeader.vue';
31
32
  export { default as LandingPageSections } from './components/LandingPage/LandingPageSections.vue';
32
33
  export { default as LandingPageShowcase } from './components/LandingPage/LandingPageShowcase.vue';
33
34
  export { default as LandingPageStats } from './components/LandingPage/LandingPageStats.vue';
@@ -1,11 +1,11 @@
1
- import { L as g, a as e, b as i, c as s, d as L, B as d, C as P, e as o, f as t, g as r, h as c, D as u, i as C, j as T, k as F, l as m, m as p, n as l, o as S, p as k, q as B, r as b, s as f, t as A, u as G, v as I, w as y, x as D, y as H, z as h, A as v, E as w, F as x, G as M, S as j, T as q, H as z, I as E, J, K, M as N, N as Q } from "./LandingPageToc-B1xCvhWl.js";
1
+ import { L as g, a as e, b as i, c as s, d, B as L, C as P, e as o, f as t, g as r, h as c, D as u, i as C, j as T, k as F, l as m, m as p, n as S, o as l, p as k, q as B, r as b, s as f, t as A, u as G, v as H, w as I, x as y, y as D, z as h, A as v, E as w, F as x, G as M, H as j, S as q, T as z, I as E, J, K, M as N, N as O, O as Q } from "./LandingPageToc-XQjqJ1G4.js";
2
2
  export {
3
3
  g as LandingPageAbout,
4
4
  e as LandingPageAside,
5
5
  i as LandingPageBlockHeader,
6
6
  s as LandingPageBlockLayout,
7
- L as LandingPageBrandInfo,
8
- d as LandingPageButton,
7
+ d as LandingPageBrandInfo,
8
+ L as LandingPageButton,
9
9
  P as LandingPageCard,
10
10
  o as LandingPageContact,
11
11
  t as LandingPageContactForm,
@@ -17,29 +17,30 @@ export {
17
17
  F as LandingPageFeatures,
18
18
  m as LandingPageFeatures2,
19
19
  p as LandingPageFooter,
20
- l as LandingPageFooterContact,
21
- S as LandingPageFooterLayout,
20
+ S as LandingPageFooterContact,
21
+ l as LandingPageFooterLayout,
22
22
  k as LandingPageHero,
23
23
  B as LandingPageLink,
24
24
  b as LandingPageLinkGroup,
25
25
  f as LandingPageListItem,
26
26
  A as LandingPageLogo,
27
27
  G as LandingPageLogos,
28
- I as LandingPageMission,
29
- y as LandingPagePageContent,
30
- D as LandingPagePriceGroup,
31
- H as LandingPagePricingCard,
28
+ H as LandingPageMission,
29
+ I as LandingPagePageContent,
30
+ y as LandingPagePriceGroup,
31
+ D as LandingPagePricingCard,
32
32
  h as LandingPagePricingGrid,
33
- v as LandingPageSections,
34
- w as LandingPageShowcase,
35
- x as LandingPageStats,
36
- M as LandingPageSteps,
37
- j as LandingPageSubTitle,
38
- q as LandingPageTabs,
39
- z as LandingPageTeamInfo,
40
- E as LandingPageTeamList,
41
- J as LandingPageTestimonial,
42
- K as LandingPageTips,
43
- N as LandingPageTitle,
33
+ v as LandingPageSectionHeader,
34
+ w as LandingPageSections,
35
+ x as LandingPageShowcase,
36
+ M as LandingPageStats,
37
+ j as LandingPageSteps,
38
+ q as LandingPageSubTitle,
39
+ z as LandingPageTabs,
40
+ E as LandingPageTeamInfo,
41
+ J as LandingPageTeamList,
42
+ K as LandingPageTestimonial,
43
+ N as LandingPageTips,
44
+ O as LandingPageTitle,
44
45
  Q as LandingPageToc
45
46
  };