@huyooo/ui 0.11.0 → 0.11.1
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.
- package/dist/AuthkitAppSetting-BCrLMpLg.js +1322 -0
- package/dist/AuthkitSignInPhone-DmCQ2fWs.js +1721 -0
- package/dist/{Clipboard-CK_nROjb.js → Clipboard---tG2Zxz.js} +1 -1
- package/dist/{Contact-CpHU1bJ7.js → Contact-BEUbBGiB.js} +2 -2
- package/dist/{CustomTable-1W5byjgJ.js → CustomTable-CVZ4mFzi.js} +2 -3
- package/dist/FeedbackItem-CN041vTm.js +495 -0
- package/dist/FeedbackModal-aI28o-w5.js +1053 -0
- package/dist/MessageHandle-BV1nKlxs.js +1147 -0
- package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-F6neJUg3.js +142 -0
- package/dist/{PaySubscriptions-C4Een__-.js → PaySubscriptions-B3gI1Eme.js} +5 -6
- package/dist/{ReferrerReferees-DIassvGO.js → ReferrerReferees-DJzPo7X5.js} +7 -7
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-DA8VZBrl.js → Upload.vue_vue_type_script_setup_true_lang-D_-oMTOo.js} +1 -1
- package/dist/UserAccountMenu-CJ9KKVYa.js +371 -0
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-ClAXNSgl.js +81 -0
- package/dist/{WidthContainer-TXsvW1ut.js → WidthContainer-BG10rumn.js} +248 -252
- package/dist/{apiClients-ANEApCyY.js → apiClients-9b4zNZ2S.js} +2 -2
- package/dist/authkit.js +41 -40
- package/dist/common.js +2 -2
- package/dist/components/Authkit/AuthkitAppSetting.vue.d.ts +1 -1
- package/dist/components/Referrer/ReferrerReferees.vue.d.ts +1 -1
- package/dist/components/{User → UserMenu}/UserAccountMenu.vue.d.ts +1 -5
- package/dist/components/{User/UserPanel.vue.d.ts → UserMenu/UserMenu.vue.d.ts} +5 -12
- package/dist/components/UserMenu/UserMenuDivider.vue.d.ts +2 -0
- package/dist/components/UserMenu/UserMenuHeader.vue.d.ts +13 -0
- package/dist/components/{User/UserPanelItem.vue.d.ts → UserMenu/UserMenuItem.vue.d.ts} +6 -10
- package/dist/components/UserMenu/UserMenuModals.vue.d.ts +137 -0
- package/dist/components/UserMenu/items/UserMenuFeedbackItem.vue.d.ts +2 -0
- package/dist/components/UserMenu/items/UserMenuInvitationsItem.vue.d.ts +2 -0
- package/dist/components/UserMenu/items/UserMenuMessageItem.vue.d.ts +2 -0
- package/dist/components/UserMenu/items/UserMenuSettingItem.vue.d.ts +2 -0
- package/dist/components/UserMenu/items/UserMenuSubscriptionItem.vue.d.ts +2 -0
- package/dist/components/UserMenu/parts/UserAvatar.vue.d.ts +9 -0
- package/dist/components/UserMenu/parts/UserBasicInformation.vue.d.ts +13 -0
- package/dist/components/UserMenu/parts/UserSubscriptionBaseInformation.vue.d.ts +15 -0
- package/dist/composables/UserMenu/useUserMenu.d.ts +20 -0
- package/dist/composables.d.ts +1 -0
- package/dist/composables.js +19 -17
- package/dist/feedback.js +16 -15
- package/dist/main.js +193 -180
- package/dist/message.js +10 -9
- package/dist/pay.js +1 -1
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-Da2yJTT-.js → useAuthkitAppsAuthPageInfo-494yLvsu.js} +1 -1
- package/dist/{useAuthkitCreateAndUpdate-BLs5vQOu.js → useAuthkitCreateAndUpdate-DyRtFxZS.js} +1 -1
- package/dist/{useAuthkitUsersProfile-Cx8NXjlt.js → useAuthkitUsersProfile-lGlQP54m.js} +1 -1
- package/dist/{useDownloads-DT5W2af6.js → useDownloads-DaeIY0E9.js} +1 -1
- package/dist/{useLegalLinks-BIF45kUt.js → useLegalLinks-CPbWqlu6.js} +2 -2
- package/dist/{useMessageNotifications-CavBmgO7.js → useMessageNotifications-Dg5q-C_o.js} +1 -1
- package/dist/{useSEO-MPXQf0dn.js → useSEO-CXX9dcBx.js} +2 -2
- package/dist/{useTableHandle--NSbZ-57.js → useTableHandle-Cjq4gcC0.js} +1 -1
- package/dist/{cos-js-sdk-v5-BJ5AlBRu.js → useUploadCos-DiJmmbRf.js} +2469 -2232
- package/dist/useUserMenu-B3HKZKJ4.js +43 -0
- package/dist/user.d.ts +15 -7
- package/dist/user.js +17 -9
- package/package.json +1 -1
- package/dist/AuthkitSignInPhone-BWPCpUie.js +0 -3034
- package/dist/FeedbackModal-qAJLL3V3.js +0 -1535
- package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-D109kT8_.js +0 -1282
- package/dist/UserAccountMenu-BIRTtjLb.js +0 -266
- package/dist/UserSubscriptionBaseInformation-BUs3qiHd.js +0 -60
- package/dist/components/User/UserAvatar.vue.d.ts +0 -23
- package/dist/components/User/UserBasicInformation.vue.d.ts +0 -41
- package/dist/components/User/UserSubscriptionBaseInformation.vue.d.ts +0 -32
- package/dist/useUploadCos-D6y0INvP.js +0 -242
- /package/dist/components/{User/UserButton.vue.d.ts → UserMenu/parts/UserSignInButton.vue.d.ts} +0 -0
package/dist/authkit.js
CHANGED
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
import { A as i,
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as R
|
|
4
|
-
import { u as
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
1
|
+
import { A as i, E as s, a as u, b as h, _ as A, P as e, c as k, S as r, d as o } from "./AuthkitAppSetting-BCrLMpLg.js";
|
|
2
|
+
import { A as d, a as p, b as l, c as P, d as S, e as m, f, g, _ as L, O as U, P as c, h as w, R as E, S as O, i as x, j as b, k as C, l as I, m as _, n as y, u as B } from "./AuthkitSignInPhone-DmCQ2fWs.js";
|
|
3
|
+
import { u as R } from "./useAuthkitAppsAuthPageInfo-494yLvsu.js";
|
|
4
|
+
import { u as v, a as D } from "./useAuthkitUsersProfile-lGlQP54m.js";
|
|
5
|
+
import { u as j } from "./apiClients-9b4zNZ2S.js";
|
|
6
|
+
import { L as K, a as T, b as Y, u as q } from "./useLegalLinks-CPbWqlu6.js";
|
|
7
|
+
import { u as H } from "./useAuthkitCreateAndUpdate-DyRtFxZS.js";
|
|
7
8
|
export {
|
|
8
9
|
i as AuthkitAppSetting,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
10
|
+
d as AuthkitAuth,
|
|
11
|
+
p as AuthkitAuthContainer,
|
|
12
|
+
l as AuthkitAuthModal,
|
|
13
|
+
P as AuthkitAuthTitle,
|
|
14
|
+
S as AuthkitAuthorize,
|
|
15
|
+
m as AuthkitBindEmail,
|
|
16
|
+
f as AuthkitBindPhone,
|
|
17
|
+
s as AuthkitEmailBinding,
|
|
18
|
+
u as AuthkitEmailUpdate,
|
|
19
|
+
h as AuthkitEmailVerify,
|
|
20
|
+
A as AuthkitGithubBinding,
|
|
21
|
+
g as AuthkitOauthCallback,
|
|
22
|
+
L as AuthkitOauthItem,
|
|
23
|
+
U as AuthkitOauthList,
|
|
24
|
+
c as AuthkitPasswordAuth,
|
|
25
|
+
e as AuthkitPasswordUpdate,
|
|
26
|
+
w as AuthkitPasswordUpdateAndVerify,
|
|
27
|
+
k as AuthkitPersonalInformation,
|
|
28
|
+
E as AuthkitResetPassword,
|
|
29
|
+
r as AuthkitSendVerifyCode,
|
|
30
|
+
O as AuthkitServiceAgreementAndPrivacyProtection,
|
|
31
|
+
o as AuthkitSetPassword,
|
|
32
|
+
x as AuthkitSignIn,
|
|
33
|
+
b as AuthkitSignInPhone,
|
|
33
34
|
C as AuthkitSignUp,
|
|
34
35
|
I as AuthkitSignUpPhone,
|
|
35
|
-
|
|
36
|
+
_ as AuthkitSwitchSignIn,
|
|
36
37
|
y as AuthkitSwitchSignUpOrResetPassword,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
K as LEGAL_DOCS,
|
|
39
|
+
T as LEGAL_DOC_KEYS,
|
|
40
|
+
Y as buildLegalLinkUrl,
|
|
41
|
+
R as useAuthkitAppsAuthPageInfo,
|
|
42
|
+
v as useAuthkitAuth,
|
|
43
|
+
j as useAuthkitAuthModal,
|
|
44
|
+
H as useAuthkitCreateAndUpdate,
|
|
45
|
+
D as useAuthkitUsersProfile,
|
|
46
|
+
q as useLegalLinks,
|
|
46
47
|
B as useOauth
|
|
47
48
|
};
|
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-
|
|
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-BG10rumn.js";
|
|
2
2
|
import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
|
|
3
|
-
import { C as x, E as b } from "./CustomTable-
|
|
3
|
+
import { C as x, E as b } from "./CustomTable-CVZ4mFzi.js";
|
|
4
4
|
import { L } from "./Logo-D7fyXyB-.js";
|
|
5
5
|
import { M as g, a as A } from "./Menu-Cy2ZPeaz.js";
|
|
6
6
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare function setData(_data: unknown, state:
|
|
1
|
+
declare function setData(_data: unknown, state: boolean): void;
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
3
3
|
setData: typeof setData;
|
|
4
4
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare function setData(state:
|
|
1
|
+
declare function setData(state: boolean): void;
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
3
3
|
setData: typeof setData;
|
|
4
4
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -7,11 +7,7 @@ declare function __VLS_template(): {
|
|
|
7
7
|
rootEl: HTMLDivElement;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
arrowClick: () => any;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
13
|
-
onArrowClick?: (() => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
15
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
12
|
export default _default;
|
|
17
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
position?: "tl" | "tr" | "bl" | "br" | "top" | "bottom" | "left" | "right" | "lt" | "lb" | "rt" | "rb";
|
|
3
|
-
/** 下拉弹层 X 轴偏移(透传到 CSS 变量 --
|
|
3
|
+
/** 下拉弹层 X 轴偏移(透传到 CSS 变量 --user-menu-translate-x) */
|
|
4
4
|
dropdownOffsetX?: string;
|
|
5
|
-
/** 下拉弹层 Y 轴偏移(透传到 CSS 变量 --
|
|
5
|
+
/** 下拉弹层 Y 轴偏移(透传到 CSS 变量 --user-menu-translate-y) */
|
|
6
6
|
dropdownOffsetY?: string;
|
|
7
7
|
};
|
|
8
|
-
type __VLS_PublicProps = {
|
|
9
|
-
modelValue?: boolean;
|
|
10
|
-
} & __VLS_Props;
|
|
11
8
|
declare function __VLS_template(): {
|
|
12
9
|
attrs: Partial<{}>;
|
|
13
10
|
slots: {
|
|
@@ -20,18 +17,14 @@ declare function __VLS_template(): {
|
|
|
20
17
|
items?(_: {}): any;
|
|
21
18
|
};
|
|
22
19
|
refs: {};
|
|
23
|
-
rootEl:
|
|
20
|
+
rootEl: any;
|
|
24
21
|
};
|
|
25
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
27
|
-
"update:modelValue": (value: boolean) => any;
|
|
28
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
29
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
30
|
-
}>, {
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
31
24
|
position: "tl" | "tr" | "bl" | "br" | "top" | "bottom" | "left" | "right" | "lt" | "lb" | "rt" | "rb";
|
|
32
25
|
dropdownOffsetX: string;
|
|
33
26
|
dropdownOffsetY: string;
|
|
34
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
29
|
export default _default;
|
|
37
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
showSubscription?: boolean;
|
|
3
|
+
currentVersionName?: string;
|
|
4
|
+
expireDate?: string;
|
|
5
|
+
canUpgrade?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
currentVersionName: string;
|
|
9
|
+
expireDate: string;
|
|
10
|
+
canUpgrade: boolean;
|
|
11
|
+
showSubscription: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
/** 唯一值,传给 Doption(用于 Arco Dropdown 内部识别),不显式传也可工作 */
|
|
3
|
-
value?: string;
|
|
4
|
-
/** iconify 图标名,例如 lucide:settings */
|
|
5
2
|
icon?: string;
|
|
6
|
-
/** 危险态(红色),常用于退出登录 */
|
|
7
3
|
danger?: boolean;
|
|
8
|
-
/** 禁用态 */
|
|
9
4
|
disabled?: boolean;
|
|
5
|
+
/** 默认 true:点击后自动关闭菜单 */
|
|
6
|
+
closeOnClick?: boolean;
|
|
10
7
|
};
|
|
11
8
|
declare function __VLS_template(): {
|
|
12
9
|
attrs: Partial<{}>;
|
|
13
10
|
slots: {
|
|
14
|
-
icon?(_: {}): any;
|
|
15
11
|
default?(_: {}): any;
|
|
16
|
-
|
|
12
|
+
icon?(_: {}): any;
|
|
17
13
|
};
|
|
18
14
|
refs: {};
|
|
19
|
-
rootEl:
|
|
15
|
+
rootEl: HTMLButtonElement;
|
|
20
16
|
};
|
|
21
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
18
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -25,10 +21,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
25
21
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
26
22
|
}>, {
|
|
27
23
|
disabled: boolean;
|
|
28
|
-
value: string;
|
|
29
24
|
icon: string;
|
|
30
25
|
danger: boolean;
|
|
31
|
-
|
|
26
|
+
closeOnClick: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
32
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
29
|
export default _default;
|
|
34
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
appSettingRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
4
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
setData: (_data: unknown, state: boolean) => void;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
confirm: (...args: any[]) => void;
|
|
9
|
+
cancel: (...args: any[]) => void;
|
|
10
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
11
|
+
P: {};
|
|
12
|
+
B: {};
|
|
13
|
+
D: {};
|
|
14
|
+
C: {};
|
|
15
|
+
M: {};
|
|
16
|
+
Defaults: {};
|
|
17
|
+
}, Readonly<{}> & Readonly<{
|
|
18
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
setData: (_data: unknown, state: boolean) => void;
|
|
22
|
+
}, {}, {}, {}, {}> | null;
|
|
23
|
+
paySubsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
24
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
setData: (_data: unknown, state: boolean) => void;
|
|
28
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
confirm: (...args: any[]) => void;
|
|
30
|
+
cancel: (...args: any[]) => void;
|
|
31
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
32
|
+
P: {};
|
|
33
|
+
B: {};
|
|
34
|
+
D: {};
|
|
35
|
+
C: {};
|
|
36
|
+
M: {};
|
|
37
|
+
Defaults: {};
|
|
38
|
+
}, Readonly<{}> & Readonly<{
|
|
39
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
setData: (_data: unknown, state: boolean) => void;
|
|
43
|
+
}, {}, {}, {}, {}> | null;
|
|
44
|
+
messageHandleRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
45
|
+
openNotification: () => void;
|
|
46
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
47
|
+
MessageNotificationsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
+
menus: {
|
|
49
|
+
type: import('vue').PropType<any[]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
selectedKeys: {
|
|
53
|
+
type: import('vue').PropType<string[]>;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{
|
|
56
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
"onUpdate:selectedKeys"?: ((value: string[]) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
setData: (state: false) => void;
|
|
61
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
62
|
+
cancel: (...args: any[]) => void;
|
|
63
|
+
change: (...args: any[]) => void;
|
|
64
|
+
"update:selectedKeys": (value: string[]) => void;
|
|
65
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
66
|
+
P: {};
|
|
67
|
+
B: {};
|
|
68
|
+
D: {};
|
|
69
|
+
C: {};
|
|
70
|
+
M: {};
|
|
71
|
+
Defaults: {};
|
|
72
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
73
|
+
menus: {
|
|
74
|
+
type: import('vue').PropType<any[]>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
selectedKeys: {
|
|
78
|
+
type: import('vue').PropType<string[]>;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{
|
|
81
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
"onUpdate:selectedKeys"?: ((value: string[]) => any) | undefined;
|
|
84
|
+
}>, {
|
|
85
|
+
setData: (state: false) => void;
|
|
86
|
+
}, {}, {}, {}, {}> | null;
|
|
87
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
88
|
+
P: {};
|
|
89
|
+
B: {};
|
|
90
|
+
D: {};
|
|
91
|
+
C: {};
|
|
92
|
+
M: {};
|
|
93
|
+
Defaults: {};
|
|
94
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
95
|
+
openNotification: () => void;
|
|
96
|
+
}, {}, {}, {}, {}> | null;
|
|
97
|
+
feedbackModalRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
98
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
}>, {
|
|
101
|
+
setData: (state: boolean) => void;
|
|
102
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
103
|
+
confirm: (...args: any[]) => void;
|
|
104
|
+
cancel: (...args: any[]) => void;
|
|
105
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
106
|
+
P: {};
|
|
107
|
+
B: {};
|
|
108
|
+
D: {};
|
|
109
|
+
C: {};
|
|
110
|
+
M: {};
|
|
111
|
+
Defaults: {};
|
|
112
|
+
}, Readonly<{}> & Readonly<{
|
|
113
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
}>, {
|
|
116
|
+
setData: (state: boolean) => void;
|
|
117
|
+
}, {}, {}, {}, {}> | null;
|
|
118
|
+
refereesRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
119
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
120
|
+
}>, {
|
|
121
|
+
setData: (state: boolean) => void;
|
|
122
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
123
|
+
cancel: (...args: any[]) => void;
|
|
124
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
125
|
+
P: {};
|
|
126
|
+
B: {};
|
|
127
|
+
D: {};
|
|
128
|
+
C: {};
|
|
129
|
+
M: {};
|
|
130
|
+
Defaults: {};
|
|
131
|
+
}, Readonly<{}> & Readonly<{
|
|
132
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
}>, {
|
|
134
|
+
setData: (state: boolean) => void;
|
|
135
|
+
}, {}, {}, {}, {}> | null;
|
|
136
|
+
}, any>;
|
|
137
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
nickname?: string;
|
|
3
|
+
avatar?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
nickname: string;
|
|
7
|
+
avatar: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
nickname?: string;
|
|
3
|
+
email?: string;
|
|
4
|
+
avatarUrl?: string;
|
|
5
|
+
referrerId?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
email: string;
|
|
9
|
+
referrerId: string;
|
|
10
|
+
nickname: string;
|
|
11
|
+
avatarUrl: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
currentVersionName?: string;
|
|
3
|
+
expireDate?: string;
|
|
4
|
+
canUpgrade?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
upgradeHandle: () => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onUpgradeHandle?: (() => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
currentVersionName: string;
|
|
12
|
+
expireDate: string;
|
|
13
|
+
canUpgrade: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
export interface UseUserMenuReturn {
|
|
3
|
+
isOpen: ComputedRef<boolean>;
|
|
4
|
+
open: () => void;
|
|
5
|
+
close: () => void;
|
|
6
|
+
toggle: () => void;
|
|
7
|
+
/** 双向绑定 Arco Dropdown 的 popup-visible 用 */
|
|
8
|
+
setOpen: (value: boolean) => void;
|
|
9
|
+
settingTrigger: Readonly<Ref<number>>;
|
|
10
|
+
openSetting: () => void;
|
|
11
|
+
subscriptionsTrigger: Readonly<Ref<number>>;
|
|
12
|
+
openSubscriptions: () => void;
|
|
13
|
+
messagesTrigger: Readonly<Ref<number>>;
|
|
14
|
+
openMessages: () => void;
|
|
15
|
+
feedbackTrigger: Readonly<Ref<number>>;
|
|
16
|
+
openFeedback: () => void;
|
|
17
|
+
invitationsTrigger: Readonly<Ref<number>>;
|
|
18
|
+
openInvitations: () => void;
|
|
19
|
+
}
|
|
20
|
+
export declare function useUserMenu(): UseUserMenuReturn;
|
package/dist/composables.d.ts
CHANGED
|
@@ -15,3 +15,4 @@ export { useDownloads } from './composables/useDownloads';
|
|
|
15
15
|
export { useAuthMenu, findMenuPath, findActiveMenuPath, getPathOnly } from './composables/Authkit/useAuthMenu';
|
|
16
16
|
export { useRoutePermission } from './composables/Authkit/useRoutePermission';
|
|
17
17
|
export { useSEO, useRouteSEO, type GlobalSEOConfig, type PageSEOConfig } from './composables/useSEO';
|
|
18
|
+
export { useUserMenu, type UseUserMenuReturn } from './composables/UserMenu/useUserMenu';
|
package/dist/composables.js
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
import { u as a, a as o } from "./useAuthkitUsersProfile-
|
|
2
|
-
import { g as u, a as r, b as i, s as f, c as n, d as l, u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as g } from "./useAuthkitAppsAuthPageInfo-
|
|
5
|
-
import { u as x } from "./useAuthkitCreateAndUpdate-
|
|
6
|
-
import { u as C } from "./useMessageNotifications-
|
|
7
|
-
import { u as k, a as
|
|
8
|
-
import { u as O } from "./useTableHandle
|
|
9
|
-
import { f as
|
|
10
|
-
import { u as H } from "./useUploadCos-
|
|
1
|
+
import { u as a, a as o } from "./useAuthkitUsersProfile-lGlQP54m.js";
|
|
2
|
+
import { g as u, a as r, b as i, s as f, c as n, d as l, u as m } from "./apiClients-9b4zNZ2S.js";
|
|
3
|
+
import { u as h } from "./useLegalLinks-CPbWqlu6.js";
|
|
4
|
+
import { u as g } from "./useAuthkitAppsAuthPageInfo-494yLvsu.js";
|
|
5
|
+
import { u as x } from "./useAuthkitCreateAndUpdate-DyRtFxZS.js";
|
|
6
|
+
import { u as C } from "./useMessageNotifications-Dg5q-C_o.js";
|
|
7
|
+
import { u as k, a as M } from "./useDownloads-DaeIY0E9.js";
|
|
8
|
+
import { u as O } from "./useTableHandle-Cjq4gcC0.js";
|
|
9
|
+
import { f as w, a as E, g as S, u as T, b as R, c as v, d as D, e as G, w as L } from "./useSEO-CXX9dcBx.js";
|
|
10
|
+
import { u as H } from "./useUploadCos-DiJmmbRf.js";
|
|
11
|
+
import { u as N } from "./useUserMenu-B3HKZKJ4.js";
|
|
11
12
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
w as findActiveMenuPath,
|
|
14
|
+
E as findMenuPath,
|
|
15
|
+
S as getPathOnly,
|
|
15
16
|
u as globalConfig,
|
|
16
17
|
r as globalSEOConfig,
|
|
17
18
|
i as globalThemeRef,
|
|
18
19
|
f as setGlobalConfig,
|
|
19
20
|
n as setGlobalSEOConfig,
|
|
20
21
|
l as setTheme,
|
|
21
|
-
|
|
22
|
+
T as useActiveDoc,
|
|
22
23
|
R as useAuthMenu,
|
|
23
24
|
g as useAuthkitAppsAuthPageInfo,
|
|
24
25
|
a as useAuthkitAuth,
|
|
25
|
-
|
|
26
|
+
m as useAuthkitAuthModal,
|
|
26
27
|
x as useAuthkitCreateAndUpdate,
|
|
27
28
|
o as useAuthkitUsersProfile,
|
|
28
29
|
k as useCommonCreateAndUpdate,
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
M as useDownloads,
|
|
31
|
+
h as useLegalLinks,
|
|
31
32
|
C as useMessageNotifications,
|
|
32
33
|
v as useRoutePermission,
|
|
33
34
|
D as useRouteSEO,
|
|
34
35
|
G as useSEO,
|
|
35
36
|
O as useTableHandle,
|
|
36
37
|
H as useUploadCos,
|
|
38
|
+
N as useUserMenu,
|
|
37
39
|
L as withViewTransition
|
|
38
40
|
};
|
package/dist/feedback.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { B as
|
|
2
|
-
import { C as
|
|
1
|
+
import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-aI28o-w5.js";
|
|
2
|
+
import { C as r } from "./Clipboard---tG2Zxz.js";
|
|
3
|
+
import { F as m, a as n, b as f, c as i, d as p } from "./FeedbackItem-CN041vTm.js";
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
r as Clipboard,
|
|
6
|
+
b as FeedbackBubbleEnd,
|
|
7
|
+
s as FeedbackBubbleStart,
|
|
8
|
+
m as FeedbackContainer,
|
|
9
|
+
n as FeedbackCustomTabs,
|
|
10
|
+
d as FeedbackDetails,
|
|
11
|
+
f as FeedbackFloatButton,
|
|
12
|
+
F as FeedbackForm,
|
|
13
|
+
i as FeedbackItem,
|
|
14
|
+
c as FeedbackList,
|
|
15
|
+
o as FeedbackModal,
|
|
16
|
+
t as FeedbackRefresh,
|
|
17
|
+
p as FeedbackScreenshots
|
|
17
18
|
};
|