@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,4 +1,7 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function feedbackCenterOwnApi(): Promise<void>;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
3
|
+
refresh: typeof feedbackCenterOwnApi;
|
|
4
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
5
|
toDetail: (...args: any[]) => void;
|
|
3
6
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
7
|
onToDetail?: ((...args: any[]) => any) | undefined;
|
|
@@ -67,13 +67,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
67
67
|
default: () => string;
|
|
68
68
|
};
|
|
69
69
|
}>> & Readonly<{}>, {
|
|
70
|
-
blur: string;
|
|
71
70
|
width: string;
|
|
72
71
|
height: string;
|
|
72
|
+
blur: string;
|
|
73
73
|
top: string;
|
|
74
|
+
right: string;
|
|
74
75
|
zIndex: string;
|
|
75
76
|
left: string;
|
|
76
|
-
right: string;
|
|
77
77
|
background: string;
|
|
78
78
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
79
79
|
export default _default;
|
|
@@ -38,5 +38,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
38
38
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
40
|
theme: "light" | "dark";
|
|
41
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
42
|
+
menuToggleRef: HTMLButtonElement;
|
|
43
|
+
mobileMenuRef: HTMLDivElement;
|
|
44
|
+
}, HTMLDivElement>;
|
|
42
45
|
export default _default;
|
|
@@ -54,8 +54,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
54
54
|
onInfinite?: ((...args: any[]) => any) | undefined;
|
|
55
55
|
}>, {
|
|
56
56
|
loading: boolean;
|
|
57
|
-
loadingText: string;
|
|
58
57
|
finished: boolean;
|
|
58
|
+
loadingText: string;
|
|
59
59
|
finishedText: string;
|
|
60
60
|
showFinishedText: boolean;
|
|
61
61
|
threshold: number;
|
|
@@ -7,10 +7,10 @@ declare function __VLS_template(): {
|
|
|
7
7
|
default?(_: {}): any;
|
|
8
8
|
};
|
|
9
9
|
refs: {};
|
|
10
|
-
rootEl:
|
|
10
|
+
rootEl: HTMLSpanElement;
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
14
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
15
|
export default _default;
|
|
16
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -13,9 +13,9 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
|
-
flexDirection: "row" | "column" | "row-reverse" | "column-reverse";
|
|
17
|
-
gap: string;
|
|
18
16
|
padding: string;
|
|
17
|
+
gap: string;
|
|
18
|
+
flexDirection: "row" | "column" | "row-reverse" | "column-reverse";
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface LandingPageFeaturePanel {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
highlights?: string[];
|
|
5
|
+
command?: string;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
title?: string;
|
|
9
|
+
subTitle?: string;
|
|
10
|
+
panels?: LandingPageFeaturePanel[];
|
|
11
|
+
columns?: number;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
|
+
title: string;
|
|
15
|
+
columns: number;
|
|
16
|
+
subTitle: string;
|
|
17
|
+
panels: LandingPageFeaturePanel[];
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
19
|
+
export default _default;
|
|
@@ -26,6 +26,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
default: () => string;
|
|
28
28
|
};
|
|
29
|
+
installCommand: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: () => string;
|
|
32
|
+
};
|
|
29
33
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
34
|
title: {
|
|
31
35
|
type: StringConstructor;
|
|
@@ -43,11 +47,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
43
47
|
type: StringConstructor;
|
|
44
48
|
default: () => string;
|
|
45
49
|
};
|
|
50
|
+
installCommand: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: () => string;
|
|
53
|
+
};
|
|
46
54
|
}>> & Readonly<{}>, {
|
|
47
55
|
description: string;
|
|
48
56
|
title: string;
|
|
49
57
|
imageAlt: string;
|
|
50
58
|
heroSource: string;
|
|
59
|
+
installCommand: string;
|
|
51
60
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
52
61
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
62
|
export default _default;
|
|
@@ -17,9 +17,9 @@ declare function __VLS_template(): {
|
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
18
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
19
|
center: boolean;
|
|
20
|
-
flexDirection: import("csstype").Property.FlexDirection;
|
|
21
|
-
gap: string;
|
|
22
20
|
padding: string;
|
|
21
|
+
gap: string;
|
|
22
|
+
flexDirection: import("csstype").Property.FlexDirection;
|
|
23
23
|
maxWidth: string;
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
title: string;
|
|
3
3
|
subtitle: string;
|
|
4
|
-
icon?: string;
|
|
5
|
-
iconWidth?: number;
|
|
6
|
-
iconHeight?: number;
|
|
7
|
-
dashline?: string;
|
|
8
|
-
dashlineWidth?: number;
|
|
9
|
-
dashlineHeight?: number;
|
|
10
4
|
}
|
|
11
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
-
icon: string;
|
|
13
|
-
iconWidth: number;
|
|
14
|
-
iconHeight: number;
|
|
15
|
-
dashline: string;
|
|
16
|
-
dashlineWidth: number;
|
|
17
|
-
dashlineHeight: number;
|
|
18
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
6
|
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LegalDocKey } from '../../legalDocs/constants';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
type: LegalDocKey;
|
|
4
|
+
appId: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -5,6 +5,7 @@ interface MenuItemType {
|
|
|
5
5
|
hidden?: boolean;
|
|
6
6
|
meta?: {
|
|
7
7
|
icon?: string;
|
|
8
|
+
badge?: number;
|
|
8
9
|
};
|
|
9
10
|
children?: MenuItemType[];
|
|
10
11
|
}
|
|
@@ -21,8 +22,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
21
22
|
onChange?: ((item: MenuItemType) => any) | undefined;
|
|
22
23
|
"onUpdate:selectedKeys"?: ((keys: string[]) => any) | undefined;
|
|
23
24
|
}>, {
|
|
24
|
-
menus: MenuItemType[];
|
|
25
25
|
selectedKeys: string[];
|
|
26
|
+
menus: MenuItemType[];
|
|
26
27
|
defaultExpandAll: boolean;
|
|
27
28
|
accordion: boolean;
|
|
28
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -4,6 +4,7 @@ interface Props {
|
|
|
4
4
|
icon?: string;
|
|
5
5
|
name: string;
|
|
6
6
|
active?: boolean;
|
|
7
|
+
badge?: number;
|
|
7
8
|
}
|
|
8
9
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
10
|
click: () => any;
|
|
@@ -11,8 +12,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
11
12
|
onClick?: (() => any) | undefined;
|
|
12
13
|
}>, {
|
|
13
14
|
active: boolean;
|
|
14
|
-
icon: string;
|
|
15
15
|
path: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
badge: number;
|
|
16
18
|
hidden: boolean;
|
|
17
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
20
|
export default _default;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
declare function setData(state:
|
|
2
|
+
declare function setData(state: boolean): void;
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
title: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
4
8
|
menus: {
|
|
5
9
|
type: PropType<any[]>;
|
|
6
10
|
required: true;
|
|
@@ -15,6 +19,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
15
19
|
change: (...args: any[]) => void;
|
|
16
20
|
"update:selectedKeys": (value: string[]) => void;
|
|
17
21
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
|
+
title: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
18
26
|
menus: {
|
|
19
27
|
type: PropType<any[]>;
|
|
20
28
|
required: true;
|
|
@@ -26,5 +34,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
26
34
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
27
35
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
28
36
|
"onUpdate:selectedKeys"?: ((value: string[]) => any) | undefined;
|
|
29
|
-
}>, {
|
|
37
|
+
}>, {
|
|
38
|
+
title: string;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
40
|
export default _default;
|
|
@@ -1,37 +1,15 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { JSONContent } from '@tiptap/vue-3';
|
|
3
|
-
|
|
4
|
-
content
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
loading: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
content?: JSONContent | null;
|
|
4
|
+
title: string;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
8
|
itemClick: (...args: any[]) => void;
|
|
18
9
|
tableOfContentsUpdate: (...args: any[]) => void;
|
|
19
10
|
"update:title": (...args: any[]) => void;
|
|
20
11
|
"update:content": (...args: any[]) => void;
|
|
21
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
22
|
-
content: {
|
|
23
|
-
type: PropType<JSONContent | null>;
|
|
24
|
-
default: null;
|
|
25
|
-
};
|
|
26
|
-
title: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
loading: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
}>> & Readonly<{
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
13
|
onItemClick?: ((...args: any[]) => any) | undefined;
|
|
36
14
|
onTableOfContentsUpdate?: ((...args: any[]) => any) | undefined;
|
|
37
15
|
"onUpdate:title"?: ((...args: any[]) => any) | undefined;
|
|
@@ -39,137 +17,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
17
|
}>, {
|
|
40
18
|
content: JSONContent | null;
|
|
41
19
|
loading: boolean;
|
|
42
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
43
|
-
TiptapEditorRef:
|
|
44
|
-
$: import('vue').ComponentInternalInstance;
|
|
45
|
-
$data: {};
|
|
46
|
-
$props: Partial<{
|
|
47
|
-
autofocus: boolean;
|
|
48
|
-
limit: number;
|
|
49
|
-
editable: boolean;
|
|
50
|
-
tiptapEditorContentClass: string;
|
|
51
|
-
}> & Omit<{
|
|
52
|
-
readonly autofocus: boolean;
|
|
53
|
-
readonly editable: boolean;
|
|
54
|
-
readonly limit: number;
|
|
55
|
-
readonly tiptapEditorContentClass: string;
|
|
56
|
-
readonly modelValue?: JSONContent | null | undefined;
|
|
57
|
-
readonly onTableOfContentsUpdate?: ((...args: any[]) => any) | undefined | undefined;
|
|
58
|
-
readonly "onUpdate:modelValue"?: ((value: JSONContent | null) => any) | undefined | undefined;
|
|
59
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "autofocus" | "editable" | "limit" | "tiptapEditorContentClass">;
|
|
60
|
-
$attrs: {
|
|
61
|
-
[x: string]: unknown;
|
|
62
|
-
};
|
|
63
|
-
$refs: {
|
|
64
|
-
[x: string]: unknown;
|
|
65
|
-
} & {
|
|
66
|
-
scrollContentRef: HTMLDivElement;
|
|
67
|
-
};
|
|
68
|
-
$slots: Readonly<{
|
|
69
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
70
|
-
}>;
|
|
71
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
72
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
73
|
-
$host: Element | null;
|
|
74
|
-
$emit: ((event: "tableOfContentsUpdate", ...args: any[]) => void) & ((event: "update:modelValue", value: JSONContent | null) => void);
|
|
75
|
-
$el: HTMLDivElement;
|
|
76
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
77
|
-
editable: {
|
|
78
|
-
type: BooleanConstructor;
|
|
79
|
-
required: false;
|
|
80
|
-
default: () => boolean;
|
|
81
|
-
};
|
|
82
|
-
autofocus: {
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
required: false;
|
|
85
|
-
default: () => boolean;
|
|
86
|
-
};
|
|
87
|
-
limit: {
|
|
88
|
-
type: NumberConstructor;
|
|
89
|
-
required: false;
|
|
90
|
-
default: () => null;
|
|
91
|
-
};
|
|
92
|
-
tiptapEditorContentClass: {
|
|
93
|
-
type: StringConstructor;
|
|
94
|
-
required: false;
|
|
95
|
-
default: () => string;
|
|
96
|
-
};
|
|
97
|
-
modelValue: {
|
|
98
|
-
type: PropType<JSONContent | null>;
|
|
99
|
-
};
|
|
100
|
-
}>> & Readonly<{
|
|
101
|
-
onTableOfContentsUpdate?: ((...args: any[]) => any) | undefined;
|
|
102
|
-
"onUpdate:modelValue"?: ((value: JSONContent | null) => any) | undefined;
|
|
103
|
-
}>, {
|
|
104
|
-
getEditor: () => import('@tiptap/vue-3').Editor | undefined;
|
|
105
|
-
scrollView: (id: string) => void;
|
|
106
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
107
|
-
tableOfContentsUpdate: (...args: any[]) => void;
|
|
108
|
-
"update:modelValue": (value: JSONContent | null) => void;
|
|
109
|
-
}, string, {
|
|
110
|
-
autofocus: boolean;
|
|
111
|
-
limit: number;
|
|
112
|
-
editable: boolean;
|
|
113
|
-
tiptapEditorContentClass: string;
|
|
114
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
115
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
116
|
-
created?: (() => void) | (() => void)[];
|
|
117
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
118
|
-
mounted?: (() => void) | (() => void)[];
|
|
119
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
120
|
-
updated?: (() => void) | (() => void)[];
|
|
121
|
-
activated?: (() => void) | (() => void)[];
|
|
122
|
-
deactivated?: (() => void) | (() => void)[];
|
|
123
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
124
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
125
|
-
destroyed?: (() => void) | (() => void)[];
|
|
126
|
-
unmounted?: (() => void) | (() => void)[];
|
|
127
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
128
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
129
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
130
|
-
};
|
|
131
|
-
$forceUpdate: () => void;
|
|
132
|
-
$nextTick: typeof import('vue').nextTick;
|
|
133
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
134
|
-
} & Readonly<{
|
|
135
|
-
autofocus: boolean;
|
|
136
|
-
limit: number;
|
|
137
|
-
editable: boolean;
|
|
138
|
-
tiptapEditorContentClass: string;
|
|
139
|
-
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
140
|
-
editable: {
|
|
141
|
-
type: BooleanConstructor;
|
|
142
|
-
required: false;
|
|
143
|
-
default: () => boolean;
|
|
144
|
-
};
|
|
145
|
-
autofocus: {
|
|
146
|
-
type: BooleanConstructor;
|
|
147
|
-
required: false;
|
|
148
|
-
default: () => boolean;
|
|
149
|
-
};
|
|
150
|
-
limit: {
|
|
151
|
-
type: NumberConstructor;
|
|
152
|
-
required: false;
|
|
153
|
-
default: () => null;
|
|
154
|
-
};
|
|
155
|
-
tiptapEditorContentClass: {
|
|
156
|
-
type: StringConstructor;
|
|
157
|
-
required: false;
|
|
158
|
-
default: () => string;
|
|
159
|
-
};
|
|
160
|
-
modelValue: {
|
|
161
|
-
type: PropType<JSONContent | null>;
|
|
162
|
-
};
|
|
163
|
-
}>> & Readonly<{
|
|
164
|
-
onTableOfContentsUpdate?: ((...args: any[]) => any) | undefined;
|
|
165
|
-
"onUpdate:modelValue"?: ((value: JSONContent | null) => any) | undefined;
|
|
166
|
-
}>, "autofocus" | "editable" | "limit" | "tiptapEditorContentClass" | "getEditor" | "scrollView"> & import('vue').ShallowUnwrapRef<{
|
|
167
|
-
getEditor: () => import('@tiptap/vue-3').Editor | undefined;
|
|
168
|
-
scrollView: (id: string) => void;
|
|
169
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
170
|
-
$slots: {
|
|
171
|
-
title?(_: {}): any;
|
|
172
|
-
};
|
|
173
|
-
}) | null;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
+
TiptapEditorRef: any;
|
|
174
22
|
}, any>;
|
|
175
23
|
export default _default;
|
|
@@ -3,6 +3,10 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
3
3
|
openNotification: typeof openNotification;
|
|
4
4
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
5
5
|
MessageNotificationsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
6
10
|
menus: {
|
|
7
11
|
type: import('vue').PropType<any[]>;
|
|
8
12
|
required: true;
|
|
@@ -15,12 +19,14 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
15
19
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
20
|
"onUpdate:selectedKeys"?: ((value: string[]) => any) | undefined;
|
|
17
21
|
}>, {
|
|
18
|
-
setData: (state:
|
|
22
|
+
setData: (state: boolean) => void;
|
|
19
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
24
|
cancel: (...args: any[]) => void;
|
|
21
25
|
change: (...args: any[]) => void;
|
|
22
26
|
"update:selectedKeys": (value: string[]) => void;
|
|
23
|
-
}, import('vue').PublicProps, {
|
|
27
|
+
}, import('vue').PublicProps, {
|
|
28
|
+
title: string;
|
|
29
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
24
30
|
P: {};
|
|
25
31
|
B: {};
|
|
26
32
|
D: {};
|
|
@@ -28,6 +34,10 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
28
34
|
M: {};
|
|
29
35
|
Defaults: {};
|
|
30
36
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
title: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
31
41
|
menus: {
|
|
32
42
|
type: import('vue').PropType<any[]>;
|
|
33
43
|
required: true;
|
|
@@ -40,7 +50,9 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
40
50
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
41
51
|
"onUpdate:selectedKeys"?: ((value: string[]) => any) | undefined;
|
|
42
52
|
}>, {
|
|
43
|
-
setData: (state:
|
|
44
|
-
}, {}, {}, {}, {
|
|
53
|
+
setData: (state: boolean) => void;
|
|
54
|
+
}, {}, {}, {}, {
|
|
55
|
+
title: string;
|
|
56
|
+
}> | null;
|
|
45
57
|
}, any>;
|
|
46
58
|
export default _default;
|
|
@@ -5,14 +5,15 @@ declare const _default: <T extends {
|
|
|
5
5
|
createAt: string;
|
|
6
6
|
}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
8
|
-
readonly onItemClick?: ((item: T) => any) | undefined;
|
|
9
8
|
readonly onLoadMore?: (() => any) | undefined;
|
|
10
|
-
|
|
9
|
+
readonly onItemClick?: ((item: T) => any) | undefined;
|
|
10
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onLoadMore" | "onItemClick"> & {
|
|
11
11
|
messageList: T[];
|
|
12
12
|
loading?: boolean;
|
|
13
13
|
finished?: boolean;
|
|
14
14
|
showReadStatus?: boolean;
|
|
15
15
|
showViewButton?: boolean;
|
|
16
|
+
emptyDescription?: string;
|
|
16
17
|
} & Partial<{}>> & import('vue').PublicProps;
|
|
17
18
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
18
19
|
attrs: any;
|
|
@@ -33,7 +34,7 @@ declare const _default: <T extends {
|
|
|
33
34
|
item: T;
|
|
34
35
|
}): any;
|
|
35
36
|
};
|
|
36
|
-
emit: ((evt: "
|
|
37
|
+
emit: ((evt: "loadMore") => void) & ((evt: "itemClick", item: T) => void);
|
|
37
38
|
}>) => import('vue').VNode & {
|
|
38
39
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
39
40
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
type?: string;
|
|
4
|
+
content?: unknown;
|
|
5
|
+
description?: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
type: string;
|
|
10
|
+
description: string;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { MessageBodyProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<MessageBodyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MessageBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { MessageBodyProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<MessageBodyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MessageBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { MessageBodyProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<MessageBodyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MessageBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface DescriptionRow {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}
|
|
5
|
+
export interface BuildDescriptionRowsOptions {
|
|
6
|
+
fieldLabels?: Record<string, string>;
|
|
7
|
+
hiddenKeys?: string[];
|
|
8
|
+
nestedKey?: string;
|
|
9
|
+
booleanLabels?: Record<string, [trueLabel: string, falseLabel: string]>;
|
|
10
|
+
}
|
|
11
|
+
/** 将字段值格式化为展示文本 */
|
|
12
|
+
export declare function formatMessageFieldValue(value: unknown, key?: string, booleanLabels?: Record<string, [string, string]>): string;
|
|
13
|
+
/** 从 JSON 对象构建 Descriptions 行 */
|
|
14
|
+
export declare function buildDescriptionRows(data: Record<string, unknown>, options?: BuildDescriptionRowsOptions): DescriptionRow[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** descriptions 类型:各 value.type 的组件 props */
|
|
2
|
+
export interface DescriptionsTagProps {
|
|
3
|
+
color?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface DescriptionsLinkProps {
|
|
6
|
+
href: string;
|
|
7
|
+
target?: string;
|
|
8
|
+
}
|
|
9
|
+
/** value 展示形态:type + text + 对应 *Props */
|
|
10
|
+
export type DescriptionsFieldValue = {
|
|
11
|
+
type: 'text';
|
|
12
|
+
text: string;
|
|
13
|
+
} | {
|
|
14
|
+
type: 'tag';
|
|
15
|
+
text: string;
|
|
16
|
+
tagProps?: DescriptionsTagProps;
|
|
17
|
+
} | {
|
|
18
|
+
type: 'link';
|
|
19
|
+
text: string;
|
|
20
|
+
linkProps: DescriptionsLinkProps;
|
|
21
|
+
};
|
|
22
|
+
export interface DescriptionsMessageItem {
|
|
23
|
+
key: string;
|
|
24
|
+
label: string;
|
|
25
|
+
value: DescriptionsFieldValue;
|
|
26
|
+
}
|
|
27
|
+
export interface DescriptionsMessageBodyData {
|
|
28
|
+
title?: string;
|
|
29
|
+
items: DescriptionsMessageItem[];
|
|
30
|
+
}
|
|
31
|
+
/** 从 content 解析 Descriptions 行数据 */
|
|
32
|
+
export declare function parseDescriptionsMessageBody(data: Record<string, unknown>): DescriptionsMessageBodyData;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
/** 注册消息 type 对应的展示组件(App 可扩展) */
|
|
3
|
+
export declare function registerMessageBody(type: string, component: Component): void;
|
|
4
|
+
/** 是否已注册指定 type 的展示组件 */
|
|
5
|
+
export declare function hasMessageBody(type: string): boolean;
|
|
6
|
+
/** 按 type 解析展示组件,未知 type 走通用兜底 */
|
|
7
|
+
export declare function resolveMessageBodyComponent(type: string): Component;
|
|
8
|
+
/** 列出已注册的内置/扩展 type */
|
|
9
|
+
export declare function listRegisteredMessageBodyTypes(): string[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RefereePublicInfo } from '../../utils/userDisplay';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
user?: RefereePublicInfo | null;
|
|
4
|
+
userId?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare function setData(state: boolean): void;
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
3
3
|
setData: typeof setData;
|
|
4
|
+
refresh: () => Promise<void>;
|
|
4
5
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
6
|
cancel: (...args: any[]) => void;
|
|
6
7
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|