@huyooo/ui 1.0.3 → 1.0.5
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-BN8-xgNq.js +2674 -0
- package/dist/{Contact-M6iyuyNL.js → Contact-BWuVR9ho.js} +105 -113
- package/dist/CustomTable-BzGfaAVH.js +276 -0
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-B9BqGWm8.js +1480 -0
- package/dist/LandingPageDescription-BczWZHKy.js +12 -0
- package/dist/{LandingPageLinkGroup-DDNRivMt.js → LandingPageLinkGroup-BZJ48Yss.js} +87 -88
- package/dist/{LandingPageFAQ-CZJXvor9.js → LandingPageSectionHeader-3hiuw6G0.js} +44 -25
- package/dist/{LandingPageSectionTabs-Ce3_Rc2L.js → LandingPageSectionTabs-jRjkWlM-.js} +475 -375
- package/dist/LegalDocViewer-DM8FYBpf.js +2501 -0
- package/dist/Menu-uCexrsKP.js +199 -0
- package/dist/MessageHandle-mEkCsv9e.js +1173 -0
- package/dist/MessageList-Ce-_LNTk.js +244 -0
- package/dist/PaySubscriptions-CXkEjqr2.js +1326 -0
- package/dist/PricingPlans-CV97ck9p.js +427 -0
- package/dist/ReferrerReferees-DgygiIiE.js +237 -0
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-B6NOZjK0.js → Upload.vue_vue_type_script_setup_true_lang-VGh2V4o0.js} +1 -1
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-zgjpFVln.js +592 -0
- package/dist/WidthContainer-PeWkCK0p.js +721 -0
- package/dist/{apiClients-DrGX2iJy.js → apiClients-BcXOLuYu.js} +131 -98
- package/dist/authkit.d.ts +6 -2
- package/dist/authkit.js +53 -44
- package/dist/common/authProviderIcons.d.ts +12 -0
- package/dist/common/globalConfig.d.ts +5 -0
- package/dist/common/tableColumnWidths.d.ts +11 -0
- package/dist/common.js +3 -3
- package/dist/components/AuthProviderIcon.vue.d.ts +12 -0
- package/dist/components/Authkit/AppSetting/AuthkitEmailVerify.vue.d.ts +2 -2
- package/dist/components/Authkit/AppSetting/AuthkitOAuthBinding.vue.d.ts +2 -1
- package/dist/components/Authkit/AppSetting/AuthkitPasskeyBinding.vue.d.ts +14 -0
- package/dist/components/Authkit/AppSetting/AuthkitPasswordUpdate.vue.d.ts +11 -1
- package/dist/components/Authkit/AppSetting/AuthkitPersonalInformation.vue.d.ts +1 -3
- package/dist/components/Authkit/AppSetting/AuthkitPhoneVerify.vue.d.ts +13 -3
- package/dist/components/Authkit/Auth/AuthkitBindEmail.vue.d.ts +29 -2
- package/dist/components/Authkit/Auth/AuthkitBindPhone.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitEmailUpdate.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitOauthItem.vue.d.ts +37 -9
- package/dist/components/Authkit/Auth/AuthkitOauthList.vue.d.ts +7 -11
- package/dist/components/Authkit/Auth/AuthkitPasswordUpdateAndVerify.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitPhonePasswordUpdateAndVerify.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitServiceAgreementAndPrivacyProtection.vue.d.ts +11 -7
- package/dist/components/Authkit/Auth/AuthkitSignInEmailCode.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitSignInPhone.vue.d.ts +3 -62
- package/dist/components/Authkit/Auth/AuthkitSignUpPhone.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitSwitchSignUpOrResetPassword.vue.d.ts +9 -0
- package/dist/components/Authkit/AuthkitAuth.vue.d.ts +2 -8
- package/dist/components/Authkit/AuthkitAuthModal.vue.d.ts +0 -4
- package/dist/components/Authkit/AuthkitProvider.vue.d.ts +5 -2
- package/dist/components/Authkit/AuthkitSendVerifyCode.vue.d.ts +2 -1
- package/dist/components/CustomTable.vue.d.ts +27 -1
- package/dist/components/Ellipsis.vue.d.ts +2 -6
- package/dist/components/Feedback/FeedbackList.vue.d.ts +4 -1
- package/dist/components/Gradientbackground.vue.d.ts +2 -2
- package/dist/components/HeaderMenus.vue.d.ts +4 -1
- package/dist/components/InfiniteLoading.vue.d.ts +1 -1
- package/dist/components/LandingPage/LandingPageButton.vue.d.ts +2 -2
- package/dist/components/LandingPage/LandingPageContainer.vue.d.ts +2 -2
- package/dist/components/LandingPage/LandingPageFeaturePanels.vue.d.ts +19 -0
- package/dist/components/LandingPage/LandingPageHero.vue.d.ts +9 -0
- package/dist/components/LandingPage/LandingPagePageContent.vue.d.ts +2 -2
- package/dist/components/LandingPage/LandingPageSectionHeader.vue.d.ts +1 -14
- package/dist/components/LandingPage/LandingPageSections.vue.d.ts +1 -1
- package/dist/components/LegalDoc/LegalDocViewer.vue.d.ts +7 -0
- package/dist/components/Menu.vue.d.ts +2 -1
- package/dist/components/MenuItem.vue.d.ts +3 -1
- package/dist/components/Message/MessageAppMessage.vue.d.ts +12 -2
- package/dist/components/Message/MessageDetails.vue.d.ts +9 -161
- package/dist/components/Message/MessageHandle.vue.d.ts +16 -4
- package/dist/components/Message/MessageList.vue.d.ts +4 -3
- package/dist/components/Message/MessageNotificationDetails.vue.d.ts +13 -0
- package/dist/components/Message/messageBody/DescriptionsMessageBody.vue.d.ts +3 -0
- package/dist/components/Message/messageBody/JsonMessageBodyFallback.vue.d.ts +3 -0
- package/dist/components/Message/messageBody/TextMessageBody.vue.d.ts +3 -0
- package/dist/components/Message/messageBody/descriptionRows.d.ts +14 -0
- package/dist/components/Message/messageBody/descriptionsMessageBody.d.ts +32 -0
- package/dist/components/Message/messageBody/descriptionsValueRender.d.ts +4 -0
- package/dist/components/Message/messageBody/messageBodyRegistry.d.ts +9 -0
- package/dist/components/Message/messageBody/registerBuiltinMessageBodies.d.ts +2 -0
- package/dist/components/Message/messageBody/types.d.ts +7 -0
- package/dist/components/Referrer/ReferrerRefereeCell.vue.d.ts +7 -0
- package/dist/components/Referrer/ReferrerReferees.vue.d.ts +1 -0
- package/dist/components/UserMenu/UserAccountMenu.vue.d.ts +1 -16
- package/dist/components/UserMenu/UserMenuItem.vue.d.ts +4 -0
- package/dist/components/UserMenu/UserMenuModals.vue.d.ts +18 -4
- package/dist/components/UserMenu/parts/UserAvatar.vue.d.ts +6 -0
- package/dist/components/UserMenu/parts/UserBasicInformation.vue.d.ts +7 -2
- package/dist/composables/Authkit/fetchAuthPageAboutUs.d.ts +3 -0
- package/dist/composables/Authkit/resolveRoutePermission.d.ts +2 -0
- package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +16 -0
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +2 -0
- package/dist/composables/Authkit/useAuthkitPasskey.d.ts +10 -0
- package/dist/composables/Authkit/useLegalDocHostActions.d.ts +6 -0
- package/dist/composables/Authkit/useLegalDocs.d.ts +19 -0
- package/dist/composables/Authkit/useOauth.d.ts +17 -4
- package/dist/composables/Authkit/useRegistrationTerms.d.ts +24 -0
- package/dist/composables/Authkit/verifyCodeCooldown.d.ts +19 -0
- package/dist/composables/Billing/useBillingPlans.d.ts +0 -4
- package/dist/composables/Billing/useBillingStatusOptions.d.ts +2 -6
- package/dist/composables/Billing/useBillingSubscriptionSummary.d.ts +16 -0
- package/dist/composables/Billing/usePaidProductOptions.d.ts +5 -0
- package/dist/composables/Message/messageCenterBadgeCounts.d.ts +28 -0
- package/dist/composables/UserMenu/useUserMenuBadgeCounts.d.ts +9 -0
- package/dist/composables/useInfiniteList.d.ts +19 -0
- package/dist/composables/useMessageNotifications.d.ts +3 -6
- package/dist/composables.d.ts +4 -2
- package/dist/composables.js +50 -45
- package/dist/feedback.d.ts +1 -0
- package/dist/feedback.js +12 -11
- package/dist/fetchAuthPageAboutUs-dzTSwRsB.js +25 -0
- package/dist/{Clipboard-Bo7gdpR6.js → index-BkLvw1PU.js} +1 -1
- package/dist/landingPage.d.ts +1 -0
- package/dist/landingPage.js +41 -40
- package/dist/legalDocs/buildBuiltinUrl.d.ts +3 -0
- package/dist/{utils/legalLinks.d.ts → legalDocs/constants.d.ts} +0 -10
- package/dist/legalDocs/index.d.ts +7 -0
- package/dist/legalDocs/isConfigured.d.ts +7 -0
- package/dist/legalDocs/open.d.ts +3 -0
- package/dist/legalDocs/resolveAppId.d.ts +8 -0
- package/dist/legalDocs/resolveTarget.d.ts +4 -0
- package/dist/legalDocs/types.d.ts +12 -0
- package/dist/main.js +321 -308
- package/dist/message.d.ts +3 -0
- package/dist/message.js +301 -21
- package/dist/pay.d.ts +1 -1
- package/dist/pay.js +14 -17
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +1385 -328
- package/dist/types/api/billing.generated.d.ts +907 -76
- package/dist/types/api/ones.generated.d.ts +131 -2
- package/dist/types/api.d.ts +1 -0
- package/dist/types/app.d.ts +10 -0
- package/dist/types/user.d.ts +1 -0
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-C2yKgl8t.js → useAuthkitAppsAuthPageInfo-CNudJd04.js} +18 -17
- package/dist/useAuthkitAuth-3m0yW6uP.js +267 -0
- package/dist/{useAuthkitCreateAndUpdate-oo9517Gj.js → useAuthkitCreateAndUpdate-BsINsI-E.js} +1 -1
- package/dist/{useAuthkitUsersProfile-BZDk21c8.js → useAuthkitUsersProfile-DJlMsftY.js} +3 -3
- package/dist/useBillingStatusOptions-CfHQOFNw.js +71 -0
- package/dist/{useEnsureAuthenticated-BuIbxqsO.js → useEnsureAuthenticated-DNkCCy_Y.js} +2 -2
- package/dist/useLegalDocs-DQP_Yq6B.js +106 -0
- package/dist/{useMessageNotifications-D85_-mDq.js → useMessageNotifications-CAphguOm.js} +21 -24
- package/dist/useRoutePermission-CEiya9AM.js +218 -0
- package/dist/useSEO-CDWxbk8B.js +221 -0
- package/dist/useSubscriptionCheckout-d_M_rKRa.js +368 -0
- package/dist/{useUploadCos-BRKRzSy3.js → useUploadCos-C8BqFPkx.js} +1 -1
- package/dist/user.js +1 -1
- package/dist/userMenuModal-D-nDaYqM.js +66 -0
- package/dist/utils/apiMiddlewares.d.ts +5 -5
- package/dist/utils/apiResponse.d.ts +11 -0
- package/dist/utils/authProviderIcon.d.ts +3 -0
- package/dist/utils/authkit.d.ts +20 -7
- package/dist/utils/formatPoints.d.ts +8 -0
- package/dist/utils/messageNotificationContent.d.ts +4 -0
- package/dist/utils/messageTextLink.d.ts +9 -0
- package/dist/utils/passkeySupport.d.ts +8 -0
- package/dist/utils/pointsFlowTypes.d.ts +10 -0
- package/dist/utils/pointsHistoryDisplay.d.ts +8 -0
- package/dist/utils/refundStatusDisplay.d.ts +1 -0
- package/dist/utils/subscriptionDisplay.d.ts +7 -0
- package/dist/utils/userDisplay.d.ts +41 -0
- package/package.json +11 -3
- package/dist/AuthkitAppSetting-C-0uuLSg.js +0 -1921
- package/dist/AuthkitGithubBinding-C5zEy9zN.js +0 -2207
- package/dist/CustomTable-nsxN4Ja4.js +0 -276
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-M1NQ-rx-.js +0 -1396
- package/dist/LandingPageSectionHeader-D_74W4My.js +0 -69
- package/dist/Menu-Cy2ZPeaz.js +0 -170
- package/dist/MessageHandle-BG12aX0i.js +0 -924
- package/dist/MessageList-CrCF8mU6.js +0 -233
- package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-gsjL6yAe.js +0 -142
- package/dist/PaySubscriptions-lWnEioX5.js +0 -1241
- package/dist/PricingPlans-DFcjOMWS.js +0 -404
- package/dist/ReferrerReferees-Cn7KaO8z.js +0 -106
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-P0X1Exyu.js +0 -520
- package/dist/WidthContainer-CF3qOLWW.js +0 -688
- package/dist/common/authPanelWidth.d.ts +0 -2
- package/dist/components/Feedback/FeedbackDetails.vue.d.ts +0 -178
- package/dist/composables/Authkit/useLegalLinks.d.ts +0 -34
- package/dist/index-D3Kp6R4z.js +0 -4
- package/dist/useAuthkitAuth-DmS-H7M2.js +0 -175
- package/dist/useBillingStatusOptions-B7xLU3fs.js +0 -145
- package/dist/useLegalLinks-Cwr45PBT.js +0 -60
- package/dist/useRoutePermission-CaWtjLRA.js +0 -212
- package/dist/useSEO-BSMQdBR9.js +0 -158
- package/dist/useSubscriptionCheckout-BRk5h9aC.js +0 -365
- package/dist/useTableHandle-BdujaiNX.js +0 -69
- /package/dist/components/{Feedback/FeedbackVideoPreview.vue.d.ts → VideoPreview.vue.d.ts} +0 -0
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
declare
|
|
2
|
-
attrs: Partial<{}>;
|
|
3
|
-
slots: {
|
|
4
|
-
avatar?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: HTMLDivElement;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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>;
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
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>;
|
|
12
2
|
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -4,10 +4,13 @@ type __VLS_Props = {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
/** 默认 true:点击后自动关闭菜单 */
|
|
6
6
|
closeOnClick?: boolean;
|
|
7
|
+
/** 菜单项角标数量,0 或未传时不展示 */
|
|
8
|
+
badge?: number;
|
|
7
9
|
};
|
|
8
10
|
declare function __VLS_template(): {
|
|
9
11
|
attrs: Partial<{}>;
|
|
10
12
|
slots: {
|
|
13
|
+
default?(_: {}): any;
|
|
11
14
|
default?(_: {}): any;
|
|
12
15
|
icon?(_: {}): any;
|
|
13
16
|
};
|
|
@@ -22,6 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
22
25
|
}>, {
|
|
23
26
|
disabled: boolean;
|
|
24
27
|
icon: string;
|
|
28
|
+
badge: number;
|
|
25
29
|
danger: boolean;
|
|
26
30
|
closeOnClick: boolean;
|
|
27
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
@@ -45,6 +45,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
45
45
|
openNotification: () => void;
|
|
46
46
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
47
47
|
MessageNotificationsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
+
title: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
48
52
|
menus: {
|
|
49
53
|
type: import('vue').PropType<any[]>;
|
|
50
54
|
required: true;
|
|
@@ -57,12 +61,14 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
57
61
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
58
62
|
"onUpdate:selectedKeys"?: ((value: string[]) => any) | undefined;
|
|
59
63
|
}>, {
|
|
60
|
-
setData: (state:
|
|
64
|
+
setData: (state: boolean) => void;
|
|
61
65
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
62
66
|
cancel: (...args: any[]) => void;
|
|
63
67
|
change: (...args: any[]) => void;
|
|
64
68
|
"update:selectedKeys": (value: string[]) => void;
|
|
65
|
-
}, import('vue').PublicProps, {
|
|
69
|
+
}, import('vue').PublicProps, {
|
|
70
|
+
title: string;
|
|
71
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
66
72
|
P: {};
|
|
67
73
|
B: {};
|
|
68
74
|
D: {};
|
|
@@ -70,6 +76,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
70
76
|
M: {};
|
|
71
77
|
Defaults: {};
|
|
72
78
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
+
title: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
73
83
|
menus: {
|
|
74
84
|
type: import('vue').PropType<any[]>;
|
|
75
85
|
required: true;
|
|
@@ -82,8 +92,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
82
92
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
83
93
|
"onUpdate:selectedKeys"?: ((value: string[]) => any) | undefined;
|
|
84
94
|
}>, {
|
|
85
|
-
setData: (state:
|
|
86
|
-
}, {}, {}, {}, {
|
|
95
|
+
setData: (state: boolean) => void;
|
|
96
|
+
}, {}, {}, {}, {
|
|
97
|
+
title: string;
|
|
98
|
+
}> | null;
|
|
87
99
|
}, any, import('vue').ComponentProvideOptions, {
|
|
88
100
|
P: {};
|
|
89
101
|
B: {};
|
|
@@ -119,6 +131,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
119
131
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
120
132
|
}>, {
|
|
121
133
|
setData: (state: boolean) => void;
|
|
134
|
+
refresh: () => Promise<void>;
|
|
122
135
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
123
136
|
cancel: (...args: any[]) => void;
|
|
124
137
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -132,6 +145,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
132
145
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
133
146
|
}>, {
|
|
134
147
|
setData: (state: boolean) => void;
|
|
148
|
+
refresh: () => Promise<void>;
|
|
135
149
|
}, {}, {}, {}, {}> | null;
|
|
136
150
|
}, any>;
|
|
137
151
|
export default _default;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
userId?: string;
|
|
2
3
|
nickname?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
phone?: string;
|
|
3
6
|
avatar?: string;
|
|
4
7
|
};
|
|
5
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
email: string;
|
|
10
|
+
phone: string;
|
|
11
|
+
userId: string;
|
|
6
12
|
nickname: string;
|
|
7
13
|
avatar: string;
|
|
8
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
userId?: string;
|
|
2
3
|
nickname?: string;
|
|
3
4
|
email?: string;
|
|
5
|
+
phone?: string;
|
|
4
6
|
avatarUrl?: string;
|
|
5
|
-
|
|
7
|
+
/** 头像尺寸,侧栏与下拉头部统一默认 32 */
|
|
8
|
+
avatarSize?: number;
|
|
6
9
|
};
|
|
7
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
11
|
email: string;
|
|
9
|
-
|
|
12
|
+
phone: string;
|
|
13
|
+
userId: string;
|
|
10
14
|
nickname: string;
|
|
11
15
|
avatarUrl: string;
|
|
16
|
+
avatarSize: number;
|
|
12
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
18
|
export default _default;
|
|
@@ -2,3 +2,5 @@
|
|
|
2
2
|
export declare function resolveRoutePermissionCandidates(path: string): string[];
|
|
3
3
|
/** 用户权限是否覆盖该路由(精确或父级) */
|
|
4
4
|
export declare function hasRoutePermission(path: string, permissionKeys: string[]): boolean;
|
|
5
|
+
/** 菜单权限:路由本身或其任一子路由权限均可展示 */
|
|
6
|
+
export declare function hasMenuPermission(menuPath: string, permissionKeys: string[]): boolean;
|
|
@@ -40,6 +40,14 @@ export declare function useAuthkitAppsAuthPageInfo(): {
|
|
|
40
40
|
phone: boolean;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
+
signUpAuth?: {
|
|
44
|
+
enabled: boolean;
|
|
45
|
+
} | undefined;
|
|
46
|
+
registrationTerms?: {
|
|
47
|
+
required: boolean;
|
|
48
|
+
userServiceAgreement: boolean;
|
|
49
|
+
privacyPolicy: boolean;
|
|
50
|
+
} | undefined;
|
|
43
51
|
authorizationCallback: string;
|
|
44
52
|
aboutUs: {
|
|
45
53
|
personalInformationCollectionList: {
|
|
@@ -112,6 +120,14 @@ export declare function useAuthkitAppsAuthPageInfo(): {
|
|
|
112
120
|
phone: boolean;
|
|
113
121
|
};
|
|
114
122
|
};
|
|
123
|
+
signUpAuth?: {
|
|
124
|
+
enabled: boolean;
|
|
125
|
+
} | undefined;
|
|
126
|
+
registrationTerms?: {
|
|
127
|
+
required: boolean;
|
|
128
|
+
userServiceAgreement: boolean;
|
|
129
|
+
privacyPolicy: boolean;
|
|
130
|
+
} | undefined;
|
|
115
131
|
authorizationCallback: string;
|
|
116
132
|
aboutUs: {
|
|
117
133
|
personalInformationCollectionList: {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export interface SignInResult {
|
|
7
7
|
jwtToken: string;
|
|
8
|
+
refreshToken?: string | null;
|
|
8
9
|
userId?: string | null;
|
|
9
10
|
appId?: string | null;
|
|
10
11
|
/** 接口返回的其他字段透传 */
|
|
@@ -40,6 +41,7 @@ export declare function useAuthkitAuth(): {
|
|
|
40
41
|
emailVerifyId?: string;
|
|
41
42
|
method?: "password" | "code";
|
|
42
43
|
}) => Promise<void>;
|
|
44
|
+
passkeySignInSubmit: (data: SignInResult) => void;
|
|
43
45
|
signUpSubmit: (state: {
|
|
44
46
|
type?: "email" | "phone";
|
|
45
47
|
email?: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getPasskeyEnvironmentIssue } from '../../utils/passkeySupport';
|
|
2
|
+
/** Authkit Passkey 注册与登录 */
|
|
3
|
+
export declare function useAuthkitPasskey(): {
|
|
4
|
+
loading: import('vue').Ref<boolean, boolean>;
|
|
5
|
+
supported: boolean;
|
|
6
|
+
loginWithPasskey: (email?: string) => Promise<any>;
|
|
7
|
+
registerPasskey: (name?: string) => Promise<boolean>;
|
|
8
|
+
formatError: (error: unknown) => string;
|
|
9
|
+
getPasskeyEnvironmentIssue: typeof getPasskeyEnvironmentIssue;
|
|
10
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
3
|
+
import { LegalDocKey } from '../../legalDocs/constants';
|
|
4
|
+
import { LegalDocTarget } from '../../legalDocs/types';
|
|
5
|
+
export interface LegalDocLink extends LegalDocTarget {
|
|
6
|
+
open: () => void;
|
|
7
|
+
}
|
|
8
|
+
export interface UseLegalDocsOptions {
|
|
9
|
+
route?: RouteLocationNormalizedLoaded;
|
|
10
|
+
appId?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface UseLegalDocsReturn {
|
|
13
|
+
all: ComputedRef<LegalDocLink[]>;
|
|
14
|
+
items: ComputedRef<LegalDocLink[]>;
|
|
15
|
+
getLink: (key: LegalDocKey) => LegalDocLink | undefined;
|
|
16
|
+
openLegalDoc: (key: LegalDocKey) => void;
|
|
17
|
+
}
|
|
18
|
+
/** 法律文档:仅内置 /AboutUsDetails,内容由平台 aboutUs 配置驱动 */
|
|
19
|
+
export declare function useLegalDocs(options?: UseLegalDocsOptions): UseLegalDocsReturn;
|
|
@@ -3,11 +3,24 @@ declare function getOauthCallbackUrl(): string;
|
|
|
3
3
|
/** 发起 OAuth 登录(通用方法) */
|
|
4
4
|
declare function startOauth(provider: 'github' | 'google' | 'microsoft' | 'wechat', options?: {
|
|
5
5
|
inviteCode?: string;
|
|
6
|
+
acceptedTerms?: boolean;
|
|
6
7
|
}): Promise<void>;
|
|
7
|
-
declare function githubAuth(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
declare function githubAuth(options?: {
|
|
9
|
+
inviteCode?: string;
|
|
10
|
+
acceptedTerms?: boolean;
|
|
11
|
+
}): void;
|
|
12
|
+
declare function googleAuth(options?: {
|
|
13
|
+
inviteCode?: string;
|
|
14
|
+
acceptedTerms?: boolean;
|
|
15
|
+
}): void;
|
|
16
|
+
declare function microsoftAuth(options?: {
|
|
17
|
+
inviteCode?: string;
|
|
18
|
+
acceptedTerms?: boolean;
|
|
19
|
+
}): void;
|
|
20
|
+
declare function wechatAuth(options?: {
|
|
21
|
+
inviteCode?: string;
|
|
22
|
+
acceptedTerms?: boolean;
|
|
23
|
+
}): void;
|
|
11
24
|
export declare function useOauth(): {
|
|
12
25
|
githubAuth: typeof githubAuth;
|
|
13
26
|
googleAuth: typeof googleAuth;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FieldRule } from '@arco-design/web-vue';
|
|
2
|
+
import { RegistrationTermsInfo } from '../../types/app';
|
|
3
|
+
declare function shakeTerms(): void;
|
|
4
|
+
/** 协议勾选表单项校验规则 */
|
|
5
|
+
export declare function buildTermsFormRules(requires: () => boolean): FieldRule[];
|
|
6
|
+
/** 注册协议勾选状态(Authkit 认证面板内共享) */
|
|
7
|
+
export declare function useRegistrationTerms(): {
|
|
8
|
+
acceptedTerms: import('vue').Ref<boolean, boolean>;
|
|
9
|
+
termsShaking: import('vue').Ref<boolean, boolean>;
|
|
10
|
+
registrationTerms: import('vue').ComputedRef<RegistrationTermsInfo>;
|
|
11
|
+
signUpAuthEnabled: import('vue').ComputedRef<boolean>;
|
|
12
|
+
registrationBlocked: import('vue').ComputedRef<boolean>;
|
|
13
|
+
requiresAcceptanceForSignUp: () => boolean;
|
|
14
|
+
requiresAcceptanceForOAuth: () => boolean;
|
|
15
|
+
resetAcceptedTerms: () => void;
|
|
16
|
+
shakeTerms: typeof shakeTerms;
|
|
17
|
+
syncAcceptedTerms: (value: boolean) => void;
|
|
18
|
+
ensureTermsAcceptedForSignIn: () => boolean;
|
|
19
|
+
useTermsFormField: (view: "signIn" | "signUp") => {
|
|
20
|
+
showTermsField: import('vue').ComputedRef<boolean>;
|
|
21
|
+
termsRules: import('vue').ComputedRef<FieldRule[]>;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** 从后端冷却错误文案解析剩余秒数 */
|
|
2
|
+
export declare function parseVerifyCodeCooldownMessage(message?: string): number | null;
|
|
3
|
+
interface VerifyCodeSendResponse {
|
|
4
|
+
cooldownSeconds?: number;
|
|
5
|
+
}
|
|
6
|
+
interface VerifyCodeSendResult {
|
|
7
|
+
data?: VerifyCodeSendResponse | null;
|
|
8
|
+
error?: {
|
|
9
|
+
message?: string;
|
|
10
|
+
} | null;
|
|
11
|
+
}
|
|
12
|
+
/** 优先使用后端返回的 cooldownSeconds,否则解析错误文案 */
|
|
13
|
+
export declare function resolveVerifyCodeCooldownSeconds(result: VerifyCodeSendResult): number | null;
|
|
14
|
+
interface SendVerifyCodeRef {
|
|
15
|
+
startCountFn: (seconds: number) => void;
|
|
16
|
+
}
|
|
17
|
+
/** 根据后端响应启动倒计时(仅 UX 展示,真实限流在后端配额) */
|
|
18
|
+
export declare function applyVerifyCodeCooldown(sendVerifyCodeRef: SendVerifyCodeRef | undefined, result: VerifyCodeSendResult): void;
|
|
19
|
+
export {};
|
|
@@ -17,7 +17,6 @@ export interface BillingPrice {
|
|
|
17
17
|
unitAmount: number;
|
|
18
18
|
interval?: "day" | "week" | BillingInterval;
|
|
19
19
|
intervalCount?: number;
|
|
20
|
-
trialPeriodDays?: number;
|
|
21
20
|
metadata?: Record<string, unknown>;
|
|
22
21
|
features?: BillingProductFeature[];
|
|
23
22
|
}
|
|
@@ -105,7 +104,6 @@ export declare function useBillingPlans(defaultInterval?: BillingInterval | Bill
|
|
|
105
104
|
unitAmount: number;
|
|
106
105
|
interval?: ("day" | "week" | BillingInterval) | undefined;
|
|
107
106
|
intervalCount?: number | undefined;
|
|
108
|
-
trialPeriodDays?: number | undefined;
|
|
109
107
|
metadata?: Record<string, unknown> | undefined;
|
|
110
108
|
features?: {
|
|
111
109
|
key: string;
|
|
@@ -130,7 +128,6 @@ export declare function useBillingPlans(defaultInterval?: BillingInterval | Bill
|
|
|
130
128
|
unitAmount: number;
|
|
131
129
|
interval?: ("day" | "week" | BillingInterval) | undefined;
|
|
132
130
|
intervalCount?: number | undefined;
|
|
133
|
-
trialPeriodDays?: number | undefined;
|
|
134
131
|
metadata?: Record<string, unknown> | undefined;
|
|
135
132
|
features?: {
|
|
136
133
|
key: string;
|
|
@@ -238,7 +235,6 @@ export declare function useBillingPlans(defaultInterval?: BillingInterval | Bill
|
|
|
238
235
|
getDisplayOriginalPrice: (plan: BillingPlan) => number | undefined;
|
|
239
236
|
getDisplayCycle: (plan: BillingPlan) => string;
|
|
240
237
|
getPromotionLabel: (plan: BillingPlan) => string;
|
|
241
|
-
getBadgeLabel: (plan: BillingPlan) => "" | "当前方案" | "最受欢迎";
|
|
242
238
|
getBadgeLabels: (plan: BillingPlan) => BillingPlanBadge[];
|
|
243
239
|
getButtonLabel: (plan: BillingPlan) => "当前方案" | "已订阅付费方案" | "免费开通" | "免费注册" | "立即订阅" | "切换周期" | "升级方案" | "切换方案";
|
|
244
240
|
getPlanSummary: (plan: BillingPlan, index: number) => string;
|
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
/** 与 billing-server/src/constants/billingStatusOptions.ts 保持同步 */
|
|
2
1
|
export interface BillingStatusOption {
|
|
3
2
|
key: string;
|
|
4
3
|
label: string;
|
|
5
4
|
color: string;
|
|
6
5
|
}
|
|
7
|
-
export declare const POINTS_RECHARGE_STATUS_FALLBACK: BillingStatusOption[];
|
|
8
|
-
export declare const REFUND_STATUS_FALLBACK: BillingStatusOption[];
|
|
9
|
-
export declare const INVOICE_STATUS_FALLBACK: BillingStatusOption[];
|
|
10
6
|
type StatusOptionsResponse = {
|
|
11
7
|
data?: BillingStatusOption[] | null;
|
|
12
8
|
error?: {
|
|
13
9
|
message?: string;
|
|
14
10
|
} | null;
|
|
15
11
|
};
|
|
16
|
-
/**
|
|
17
|
-
export declare function createBillingStatusOptions(fetchOptions: () => Promise<StatusOptionsResponse
|
|
12
|
+
/** 状态选项加载器:仅从 billing-server statusOptions 接口获取 */
|
|
13
|
+
export declare function createBillingStatusOptions(fetchOptions: () => Promise<StatusOptionsResponse>): {
|
|
18
14
|
statusOptionsLoading: import('vue').Ref<boolean, boolean>;
|
|
19
15
|
statusOptionsList: import('vue').Ref<{
|
|
20
16
|
key: string;
|
|
@@ -66,6 +66,9 @@ export interface BillingSubscriptionSummaryTrial {
|
|
|
66
66
|
id: string;
|
|
67
67
|
productId: string;
|
|
68
68
|
productName: string;
|
|
69
|
+
priceId?: string;
|
|
70
|
+
priceNickname?: string;
|
|
71
|
+
grantType?: "backfill" | "beta" | null;
|
|
69
72
|
status: string;
|
|
70
73
|
startAt?: string | null;
|
|
71
74
|
endAt?: string | null;
|
|
@@ -73,6 +76,7 @@ export interface BillingSubscriptionSummaryTrial {
|
|
|
73
76
|
export interface BillingSubscriptionSummaryEntitlement {
|
|
74
77
|
type: "subscription" | "trial";
|
|
75
78
|
productName: string;
|
|
79
|
+
grantType?: "backfill" | "beta" | null;
|
|
76
80
|
status: string;
|
|
77
81
|
startAt?: string | null;
|
|
78
82
|
endAt?: string | null;
|
|
@@ -125,6 +129,9 @@ export declare function useBillingSubscriptionSummary(): {
|
|
|
125
129
|
id: string;
|
|
126
130
|
productId: string;
|
|
127
131
|
productName: string;
|
|
132
|
+
priceId?: string | undefined;
|
|
133
|
+
priceNickname?: string | undefined;
|
|
134
|
+
grantType?: "backfill" | "beta" | null | undefined;
|
|
128
135
|
status: string;
|
|
129
136
|
startAt?: string | null | undefined;
|
|
130
137
|
endAt?: string | null | undefined;
|
|
@@ -132,6 +139,7 @@ export declare function useBillingSubscriptionSummary(): {
|
|
|
132
139
|
entitlement: {
|
|
133
140
|
type: "subscription" | "trial";
|
|
134
141
|
productName: string;
|
|
142
|
+
grantType?: "backfill" | "beta" | null | undefined;
|
|
135
143
|
status: string;
|
|
136
144
|
startAt?: string | null | undefined;
|
|
137
145
|
endAt?: string | null | undefined;
|
|
@@ -205,6 +213,9 @@ export declare function useBillingSubscriptionSummary(): {
|
|
|
205
213
|
id: string;
|
|
206
214
|
productId: string;
|
|
207
215
|
productName: string;
|
|
216
|
+
priceId?: string | undefined;
|
|
217
|
+
priceNickname?: string | undefined;
|
|
218
|
+
grantType?: "backfill" | "beta" | null | undefined;
|
|
208
219
|
status: string;
|
|
209
220
|
startAt?: string | null | undefined;
|
|
210
221
|
endAt?: string | null | undefined;
|
|
@@ -212,6 +223,7 @@ export declare function useBillingSubscriptionSummary(): {
|
|
|
212
223
|
entitlement: {
|
|
213
224
|
type: "subscription" | "trial";
|
|
214
225
|
productName: string;
|
|
226
|
+
grantType?: "backfill" | "beta" | null | undefined;
|
|
215
227
|
status: string;
|
|
216
228
|
startAt?: string | null | undefined;
|
|
217
229
|
endAt?: string | null | undefined;
|
|
@@ -285,6 +297,9 @@ export declare function useBillingSubscriptionSummary(): {
|
|
|
285
297
|
id: string;
|
|
286
298
|
productId: string;
|
|
287
299
|
productName: string;
|
|
300
|
+
priceId?: string | undefined;
|
|
301
|
+
priceNickname?: string | undefined;
|
|
302
|
+
grantType?: "backfill" | "beta" | null | undefined;
|
|
288
303
|
status: string;
|
|
289
304
|
startAt?: string | null | undefined;
|
|
290
305
|
endAt?: string | null | undefined;
|
|
@@ -292,6 +307,7 @@ export declare function useBillingSubscriptionSummary(): {
|
|
|
292
307
|
entitlement: import('vue').ComputedRef<{
|
|
293
308
|
type: "subscription" | "trial";
|
|
294
309
|
productName: string;
|
|
310
|
+
grantType?: "backfill" | "beta" | null | undefined;
|
|
295
311
|
status: string;
|
|
296
312
|
startAt?: string | null | undefined;
|
|
297
313
|
endAt?: string | null | undefined;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface MessageCenterBadgeCounts {
|
|
2
|
+
changelog: number;
|
|
3
|
+
event: number;
|
|
4
|
+
message: number;
|
|
5
|
+
notice: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function resetMessageCenterBadgeCounts(): void;
|
|
8
|
+
/** 消息中心各分类角标(左侧菜单未读数) */
|
|
9
|
+
export declare function refreshMessageCenterBadgeCounts(): Promise<void>;
|
|
10
|
+
export declare const messageCenterUnreadTotal: import('vue').ComputedRef<number>;
|
|
11
|
+
export declare function resolveMessageCenterMenuBadge(path: string): number;
|
|
12
|
+
export declare function useMessageCenterBadgeCounts(): {
|
|
13
|
+
counts: Readonly<import('vue').Ref<{
|
|
14
|
+
readonly changelog: number;
|
|
15
|
+
readonly event: number;
|
|
16
|
+
readonly message: number;
|
|
17
|
+
readonly notice: number;
|
|
18
|
+
}, {
|
|
19
|
+
readonly changelog: number;
|
|
20
|
+
readonly event: number;
|
|
21
|
+
readonly message: number;
|
|
22
|
+
readonly notice: number;
|
|
23
|
+
}>>;
|
|
24
|
+
messageCenterUnreadTotal: import('vue').ComputedRef<number>;
|
|
25
|
+
refreshMessageCenterBadgeCounts: typeof refreshMessageCenterBadgeCounts;
|
|
26
|
+
resetMessageCenterBadgeCounts: typeof resetMessageCenterBadgeCounts;
|
|
27
|
+
resolveMessageCenterMenuBadge: typeof resolveMessageCenterMenuBadge;
|
|
28
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function refreshUserMenuBadgeCounts(): Promise<void>;
|
|
2
|
+
/** 用户菜单角标:消息中心未读 + 反馈未读客服回复 */
|
|
3
|
+
export declare function useUserMenuBadgeCounts(): {
|
|
4
|
+
messageUnreadCount: import('vue').ComputedRef<number>;
|
|
5
|
+
feedbackUnreadCount: Readonly<import('vue').Ref<number, number>>;
|
|
6
|
+
hasMessageBadge: import('vue').ComputedRef<boolean>;
|
|
7
|
+
hasFeedbackBadge: import('vue').ComputedRef<boolean>;
|
|
8
|
+
refreshUserMenuBadgeCounts: typeof refreshUserMenuBadgeCounts;
|
|
9
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
interface InfiniteListFetchParams {
|
|
3
|
+
current: number;
|
|
4
|
+
pageSize: number;
|
|
5
|
+
}
|
|
6
|
+
interface InfiniteListFetchResult<T> {
|
|
7
|
+
items: T[];
|
|
8
|
+
}
|
|
9
|
+
/** 无限滚动列表:首屏替换、触底追加,与消息通知列表一致 */
|
|
10
|
+
export declare function useInfiniteList<T>(fetchFn: (params: InfiniteListFetchParams) => Promise<InfiniteListFetchResult<T> | null | undefined>, options?: {
|
|
11
|
+
pageSize?: number;
|
|
12
|
+
}): {
|
|
13
|
+
items: Ref<T[], T[]>;
|
|
14
|
+
loading: Ref<boolean, boolean>;
|
|
15
|
+
finished: Ref<boolean, boolean>;
|
|
16
|
+
refresh: () => Promise<void>;
|
|
17
|
+
loadMore: () => Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** 用户端消息列表项(type 仅运维侧使用,用户端不展示、不过滤) */
|
|
2
2
|
interface MessageItem {
|
|
3
3
|
id: string;
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
6
6
|
content: Record<string, unknown> | null;
|
|
7
|
-
type: string;
|
|
8
7
|
priority: string;
|
|
9
8
|
createAt: string;
|
|
10
9
|
updateAt: string;
|
|
11
10
|
read?: boolean;
|
|
12
11
|
readAt?: string | null;
|
|
13
12
|
}
|
|
14
|
-
export declare function useMessageNotifications(
|
|
13
|
+
export declare function useMessageNotifications(): {
|
|
15
14
|
isList: import('vue').Ref<boolean, boolean>;
|
|
16
15
|
id: import('vue').Ref<string, string>;
|
|
17
16
|
loading: import('vue').Ref<boolean, boolean>;
|
|
@@ -21,7 +20,6 @@ export declare function useMessageNotifications(type?: string): {
|
|
|
21
20
|
title: string;
|
|
22
21
|
description: string;
|
|
23
22
|
content: Record<string, unknown> | null;
|
|
24
|
-
type: string;
|
|
25
23
|
priority: string;
|
|
26
24
|
createAt: string;
|
|
27
25
|
updateAt: string;
|
|
@@ -32,7 +30,6 @@ export declare function useMessageNotifications(type?: string): {
|
|
|
32
30
|
title: string;
|
|
33
31
|
description: string;
|
|
34
32
|
content: Record<string, unknown> | null;
|
|
35
|
-
type: string;
|
|
36
33
|
priority: string;
|
|
37
34
|
createAt: string;
|
|
38
35
|
updateAt: string;
|
|
@@ -63,7 +60,7 @@ export declare function useMessageNotifications(type?: string): {
|
|
|
63
60
|
toList: () => void;
|
|
64
61
|
onTabChange: (value: string) => void;
|
|
65
62
|
messageNotificationsReadApi: (messageId: string) => Promise<void>;
|
|
66
|
-
messageNotificationsReadAllApi: (
|
|
63
|
+
messageNotificationsReadAllApi: () => Promise<void>;
|
|
67
64
|
readAll: () => void;
|
|
68
65
|
getData: () => Promise<void>;
|
|
69
66
|
openDetails: (item: MessageItem) => void;
|
package/dist/composables.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { useAuthkitAuth, type SignInResult, } from './composables/Authkit/useAuthkitAuth';
|
|
2
2
|
export { useAuthkitAuthModal, type AuthModalView, type OpenAuthModalOptions, type UseAuthkitAuthModalReturn, } from './composables/Authkit/useAuthkitAuthModal';
|
|
3
|
-
export {
|
|
3
|
+
export { useLegalDocs, type LegalDocLink, type UseLegalDocsReturn, } from './composables/Authkit/useLegalDocs';
|
|
4
|
+
export { fetchAuthPageAboutUs } from './composables/Authkit/fetchAuthPageAboutUs';
|
|
5
|
+
export { LEGAL_DOCS, LEGAL_DOC_KEYS, buildBuiltinLegalDocUrl, isLegalDocConfigured, resolveLegalAppId, resolveLegalDocTargetFromData, openLegalDocTarget, type LegalDocKey, type LegalDocTarget, type LegalDocsMode, } from './legalDocs';
|
|
4
6
|
export { useAuthkitUsersProfile } from './composables/Authkit/useAuthkitUsersProfile';
|
|
5
7
|
export { useAuthkitAppsAuthPageInfo } from './composables/Authkit/useAuthkitAppsAuthPageInfo';
|
|
6
8
|
export { useAuthkitCreateAndUpdate } from './composables/Authkit/useAuthkitCreateAndUpdate';
|
|
@@ -18,4 +20,4 @@ export { useSEO, useRouteSEO, type GlobalSEOConfig, type PageSEOConfig } from '.
|
|
|
18
20
|
export { useUserMenu, type UseUserMenuReturn } from './composables/UserMenu/useUserMenu';
|
|
19
21
|
export { useBillingPlans, type BillingFeatureItem, type BillingInterval, type BillingIntervalTab, type BillingPlan, type BillingPrice, type BillingProduct, type BillingProductFeature, type BillingSubscription, } from './composables/Billing/useBillingPlans';
|
|
20
22
|
export { useSubscriptionCheckout } from './composables/Billing/useSubscriptionCheckout';
|
|
21
|
-
export { createBillingStatusOptions, useInvoiceStatusOptions, usePointsRechargeStatusOptions, useRefundStatusOptions,
|
|
23
|
+
export { createBillingStatusOptions, useInvoiceStatusOptions, usePointsRechargeStatusOptions, useRefundStatusOptions, type BillingStatusOption, } from './composables/Billing/useBillingStatusOptions';
|