@apform-ui/core 1.4.2 → 1.7.0
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/README.md +16 -0
- package/dist/__tests__/composables-utils.spec.d.ts +1 -0
- package/dist/__tests__/core-feedback.spec.d.ts +1 -0
- package/dist/apform-ui.css +1 -1
- package/dist/apform-ui.js +5182 -4339
- package/dist/apform-ui.umd.cjs +64 -64
- package/dist/components/AppDialog/AppDialog.vue.d.ts +4 -5
- package/dist/components/AppDialog/doc.d.ts +3 -0
- package/dist/components/AppIcon/AppIcon.vue.d.ts +1 -2
- package/dist/components/AppIcon/doc.d.ts +3 -0
- package/dist/components/AppPagination/AppPagination.vue.d.ts +1 -2
- package/dist/components/AppPagination/doc.d.ts +3 -0
- package/dist/components/AppUserPanel/AppUserPanel.vue.d.ts +21 -0
- package/dist/components/AppUserPanel/index.d.ts +5 -0
- package/dist/components/AppUserPanel/types.d.ts +10 -0
- package/dist/components/BreadcrumbNav/BreadcrumbNav.vue.d.ts +18 -0
- package/dist/components/BreadcrumbNav/doc.d.ts +3 -0
- package/dist/components/BreadcrumbNav/index.d.ts +2 -0
- package/dist/components/CardGridSkeleton/CardGridSkeleton.vue.d.ts +1 -2
- package/dist/components/CardGridSkeleton/doc.d.ts +3 -0
- package/dist/components/CardTable/CardTable.vue.d.ts +2 -3
- package/dist/components/CardTable/doc.d.ts +3 -0
- package/dist/components/Chat/ApprovalCard/ApprovalCard.vue.d.ts +1 -2
- package/dist/components/Chat/ApprovalCard/doc.d.ts +3 -0
- package/dist/components/Chat/AssistantPicker/AssistantPicker.vue.d.ts +1 -2
- package/dist/components/Chat/AssistantPicker/doc.d.ts +3 -0
- package/dist/components/Chat/Composer/Composer.vue.d.ts +2 -3
- package/dist/components/Chat/Composer/doc.d.ts +3 -0
- package/dist/components/Chat/ConversationHeader/ConversationHeader.vue.d.ts +4 -2
- package/dist/components/Chat/ConversationHeader/doc.d.ts +3 -0
- package/dist/components/Chat/MessageBubble/MessageBubble.vue.d.ts +6 -5
- package/dist/components/Chat/MessageBubble/doc.d.ts +3 -0
- package/dist/components/Chat/MessageList/MessageList.vue.d.ts +1 -2
- package/dist/components/Chat/MessageList/doc.d.ts +3 -0
- package/dist/components/Chat/ModelPicker/ModelPicker.vue.d.ts +1 -2
- package/dist/components/Chat/ModelPicker/doc.d.ts +3 -0
- package/dist/components/Chat/ProcessingDrawer/ProcessingDrawer.vue.d.ts +4 -5
- package/dist/components/Chat/ProcessingDrawer/doc.d.ts +3 -0
- package/dist/components/Chat/RunStatusBar/RunStatusBar.vue.d.ts +1 -2
- package/dist/components/Chat/RunStatusBar/doc.d.ts +3 -0
- package/dist/components/Chat/SessionSidebar/SessionSidebar.vue.d.ts +2 -3
- package/dist/components/Chat/SessionSidebar/doc.d.ts +3 -0
- package/dist/components/Chat/message/AttachmentPreviewModal.doc.d.ts +3 -0
- package/dist/components/Chat/message/AttachmentPreviewModal.vue.d.ts +1 -2
- package/dist/components/Chat/message/DocumentSummaryList.doc.d.ts +3 -0
- package/dist/components/Chat/message/DocumentSummaryList.vue.d.ts +2 -2
- package/dist/components/Chat/message/MessageAttachmentList.doc.d.ts +3 -0
- package/dist/components/Chat/message/MessageAttachmentList.vue.d.ts +1 -2
- package/dist/components/Chat/message/MessageParts.doc.d.ts +3 -0
- package/dist/components/Chat/message/MessageParts.vue.d.ts +1 -2
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +1 -2
- package/dist/components/ConfirmDialog/doc.d.ts +3 -0
- package/dist/components/ContentPanel/ContentPanel.vue.d.ts +2 -3
- package/dist/components/ContentPanel/doc.d.ts +3 -0
- package/dist/components/DocumentPreview/DocumentPreviewDrawer.doc.d.ts +3 -0
- package/dist/components/DocumentPreview/DocumentPreviewDrawer.vue.d.ts +6 -7
- package/dist/components/DocumentPreview/DocumentPreviewPanel.doc.d.ts +3 -0
- package/dist/components/DocumentPreview/DocumentPreviewPanel.vue.d.ts +4 -5
- package/dist/components/EmptyState/EmptyState.vue.d.ts +4 -5
- package/dist/components/EmptyState/doc.d.ts +3 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.vue.d.ts +2 -3
- package/dist/components/ErrorBoundary/doc.d.ts +3 -0
- package/dist/components/ExcelPreviewCard/ExcelPreviewCard.vue.d.ts +37 -0
- package/dist/components/ExcelPreviewCard/doc.d.ts +3 -0
- package/dist/components/ExcelPreviewCard/index.d.ts +1 -0
- package/dist/components/FieldRow/FieldRow.vue.d.ts +4 -5
- package/dist/components/FieldRow/doc.d.ts +3 -0
- package/dist/components/FilterBar/FilterBar.vue.d.ts +2 -3
- package/dist/components/FilterBar/doc.d.ts +3 -0
- package/dist/components/FilterTabs/FilterTabs.vue.d.ts +1 -2
- package/dist/components/FilterTabs/doc.d.ts +3 -0
- package/dist/components/FormDialog/FormDialog.vue.d.ts +4 -5
- package/dist/components/FormDialog/doc.d.ts +3 -0
- package/dist/components/HintText/HintText.vue.d.ts +7 -6
- package/dist/components/HintText/doc.d.ts +3 -0
- package/dist/components/JsonCard/JsonCard.vue.d.ts +1 -2
- package/dist/components/JsonCard/doc.d.ts +3 -0
- package/dist/components/JsonDetailDialog/JsonDetailDialog.vue.d.ts +1 -2
- package/dist/components/JsonDetailDialog/doc.d.ts +3 -0
- package/dist/components/LoadingDots/LoadingDots.vue.d.ts +1 -2
- package/dist/components/LoadingDots/doc.d.ts +3 -0
- package/dist/components/PageHeader/PageHeader.vue.d.ts +2 -3
- package/dist/components/PageHeader/doc.d.ts +3 -0
- package/dist/components/PageShell/PageShell.vue.d.ts +2 -3
- package/dist/components/PageShell/doc.d.ts +3 -0
- package/dist/components/PdfPreviewCard/PdfPreviewCard.vue.d.ts +34 -0
- package/dist/components/PdfPreviewCard/doc.d.ts +3 -0
- package/dist/components/PdfPreviewCard/index.d.ts +1 -0
- package/dist/components/SchemaLitePreview/SchemaLitePreview.vue.d.ts +1 -2
- package/dist/components/SchemaLitePreview/doc.d.ts +3 -0
- package/dist/components/SearchForm/SearchForm.vue.d.ts +1 -2
- package/dist/components/SearchForm/doc.d.ts +3 -0
- package/dist/components/SectionToggle/SectionToggle.vue.d.ts +4 -5
- package/dist/components/SectionToggle/doc.d.ts +3 -0
- package/dist/components/Skeleton/Skeleton.vue.d.ts +1 -2
- package/dist/components/Skeleton/doc.d.ts +3 -0
- package/dist/components/SliderCaptcha/SliderCaptcha.vue.d.ts +23 -0
- package/dist/components/SliderCaptcha/index.d.ts +5 -0
- package/dist/components/SliderCaptcha/types.d.ts +14 -0
- package/dist/components/StatusTag/StatusTag.vue.d.ts +1 -2
- package/dist/components/StatusTag/doc.d.ts +3 -0
- package/dist/components/TableRowActions/TableRowActions.vue.d.ts +1 -2
- package/dist/components/TableRowActions/doc.d.ts +3 -0
- package/dist/components/Toast/Toast.vue.d.ts +1 -2
- package/dist/components/Toast/doc.d.ts +3 -0
- package/dist/components/TruncatedTooltipText/TruncatedTooltipText.vue.d.ts +4 -5
- package/dist/components/TruncatedTooltipText/doc.d.ts +3 -0
- package/dist/components/UserAvatar/UserAvatar.vue.d.ts +2 -3
- package/dist/components/UserAvatar/doc.d.ts +3 -0
- package/dist/composables/index.d.ts +7 -0
- package/dist/composables/useChatScroll.d.ts +28 -0
- package/dist/composables/useClipboard.d.ts +20 -0
- package/dist/composables/useConfirm.d.ts +1 -1
- package/dist/docs/index.d.ts +55 -0
- package/dist/docs/types.d.ts +47 -0
- package/dist/index.d.ts +13 -1
- package/dist/types/chat.d.ts +2 -0
- package/dist/utils/optionalPeers.d.ts +38 -0
- package/package.json +15 -3
- package/src/docs/index.ts +153 -0
- package/src/docs/types.ts +51 -0
- package/src/theme/dark.css +3652 -0
- package/styles/element-override.css +179 -5
- package/dist/stories/AppDialog.stories.d.ts +0 -9
- package/dist/stories/AppIcon.stories.d.ts +0 -9
- package/dist/stories/ApprovalCard.stories.d.ts +0 -8
- package/dist/stories/Composer.stories.d.ts +0 -9
- package/dist/stories/MessageBubble.stories.d.ts +0 -10
- package/dist/stories/RunStatusBar.stories.d.ts +0 -8
- package/dist/stories/StatusTag.stories.d.ts +0 -8
- package/dist/stories/useConfirm.stories.d.ts +0 -5
- package/dist/stories/useMessage.stories.d.ts +0 -5
|
@@ -11,13 +11,13 @@ type __VLS_Props = {
|
|
|
11
11
|
cancelText?: string;
|
|
12
12
|
confirmText?: string;
|
|
13
13
|
};
|
|
14
|
-
declare var
|
|
14
|
+
declare var __VLS_27: {}, __VLS_29: {};
|
|
15
15
|
type __VLS_Slots = {} & {
|
|
16
|
-
default?: (props: typeof
|
|
16
|
+
default?: (props: typeof __VLS_27) => any;
|
|
17
17
|
} & {
|
|
18
18
|
footer?: (props: typeof __VLS_29) => any;
|
|
19
19
|
};
|
|
20
|
-
declare const
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
21
|
"update:modelValue": (value: boolean) => any;
|
|
22
22
|
confirm: () => any;
|
|
23
23
|
cancel: () => any;
|
|
@@ -38,8 +38,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
38
38
|
cancelText: string;
|
|
39
39
|
confirmText: string;
|
|
40
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
|
-
declare const
|
|
42
|
-
declare const _default: typeof __VLS_export;
|
|
41
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
43
42
|
export default _default;
|
|
44
43
|
type __VLS_WithSlots<T, S> = T & {
|
|
45
44
|
new (): {
|
|
@@ -6,6 +6,5 @@ type __VLS_Props = {
|
|
|
6
6
|
/** 图标颜色 */
|
|
7
7
|
color?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const
|
|
10
|
-
declare const _default: typeof __VLS_export;
|
|
9
|
+
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>;
|
|
11
10
|
export default _default;
|
|
@@ -8,7 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
/** 紧凑尺寸(弹窗 / 侧栏等) */
|
|
9
9
|
size?: 'default' | 'small';
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
"update:currentPage": (page: number) => any;
|
|
13
13
|
"update:pageSize": (size: number) => any;
|
|
14
14
|
currentChange: (page: number) => any;
|
|
@@ -22,5 +22,4 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
22
22
|
size: "default" | "small";
|
|
23
23
|
pageSize: number;
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const _default: typeof __VLS_export;
|
|
26
25
|
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AppUserPanelUser } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** 当前用户;为空时仍渲染占位触发器 */
|
|
4
|
+
user: AppUserPanelUser | null;
|
|
5
|
+
/** 面板弹出方向 */
|
|
6
|
+
placement?: 'bottom' | 'bottom-end' | 'top' | 'top-start';
|
|
7
|
+
/** 侧栏底部时铺满宽度 */
|
|
8
|
+
block?: boolean;
|
|
9
|
+
/** 退出按钮文案 */
|
|
10
|
+
logoutLabel?: string;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
logout: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onLogout?: (() => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
block: boolean;
|
|
18
|
+
placement: "bottom" | "bottom-end" | "top" | "top-start";
|
|
19
|
+
logoutLabel: string;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BreadcrumbNav — 面包屑导航(props 驱动,无 vue-router 硬编码)
|
|
3
|
+
*/
|
|
4
|
+
export interface BreadcrumbNavItem {
|
|
5
|
+
/** 展示文案 */
|
|
6
|
+
label: string;
|
|
7
|
+
/** 可点击路径;末项通常省略 */
|
|
8
|
+
to?: string;
|
|
9
|
+
}
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
items: BreadcrumbNavItem[];
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
navigate: (to: string) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onNavigate?: ((to: string) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -25,10 +25,9 @@ type __VLS_Props = {
|
|
|
25
25
|
/** 是否开启动画(默认 true) */
|
|
26
26
|
animated?: boolean;
|
|
27
27
|
};
|
|
28
|
-
declare const
|
|
28
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
29
|
count: number;
|
|
30
30
|
animated: boolean;
|
|
31
31
|
showThumb: boolean;
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
-
declare const _default: typeof __VLS_export;
|
|
34
33
|
export default _default;
|
|
@@ -13,13 +13,12 @@ declare var __VLS_1: {};
|
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
14
|
default?: (props: typeof __VLS_1) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
17
|
loading: boolean;
|
|
18
18
|
padding: string;
|
|
19
19
|
borderless: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
-
declare const
|
|
22
|
-
declare const _default: typeof __VLS_export;
|
|
21
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
22
|
export default _default;
|
|
24
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
25
24
|
new (): {
|
|
@@ -3,10 +3,9 @@ type __VLS_Props = {
|
|
|
3
3
|
waiting: WaitingPayload | null;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
7
|
resume: (action: string, payload?: string | undefined) => any;
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
9
|
onResume?: ((action: string, payload?: string | undefined) => any) | undefined;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
11
|
export default _default;
|
|
@@ -9,7 +9,7 @@ type __VLS_Props = {
|
|
|
9
9
|
/** 错误信息 */
|
|
10
10
|
error?: string | null;
|
|
11
11
|
};
|
|
12
|
-
declare const
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (value: string) => any;
|
|
14
14
|
select: (item: AssistantPickerItem) => any;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -19,5 +19,4 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
19
19
|
error: string | null;
|
|
20
20
|
loading: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
-
declare const _default: typeof __VLS_export;
|
|
23
22
|
export default _default;
|
|
@@ -11,7 +11,7 @@ declare var __VLS_1: {};
|
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
12
|
tools?: (props: typeof __VLS_1) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
15
|
upload: (file: File) => any;
|
|
16
16
|
send: (content: string, attachmentIds: string[]) => any;
|
|
17
17
|
"remove-attachment": (id: string) => any;
|
|
@@ -22,8 +22,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
22
22
|
"onRemove-attachment"?: ((id: string) => any) | undefined;
|
|
23
23
|
"onWs-click"?: (() => any) | undefined;
|
|
24
24
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const
|
|
26
|
-
declare const _default: typeof __VLS_export;
|
|
25
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
26
|
export default _default;
|
|
28
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
29
28
|
new (): {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ConversationHeader — 对话顶栏(纯 props)
|
|
3
|
+
*/
|
|
1
4
|
type __VLS_Props = {
|
|
2
5
|
/** 主标题(智能体/模型名) */
|
|
3
6
|
title?: string;
|
|
@@ -8,7 +11,7 @@ type __VLS_Props = {
|
|
|
8
11
|
/** 处理中 */
|
|
9
12
|
processing?: boolean;
|
|
10
13
|
};
|
|
11
|
-
declare const
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
15
|
create: () => any;
|
|
13
16
|
changeAssistant: () => any;
|
|
14
17
|
toggleDetails: () => any;
|
|
@@ -17,5 +20,4 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
17
20
|
onChangeAssistant?: (() => any) | undefined;
|
|
18
21
|
onToggleDetails?: (() => any) | undefined;
|
|
19
22
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
-
declare const _default: typeof __VLS_export;
|
|
21
23
|
export default _default;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { Message, RunStatusView } from '../../../types';
|
|
1
|
+
import { Message, MessageAttachment, RunStatusView } from '../../../types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
message: Message;
|
|
4
4
|
run: RunStatusView | null;
|
|
5
5
|
sending: boolean;
|
|
6
6
|
/** 品牌标识组件(可选,如 AppMark) */
|
|
7
7
|
brandMark?: any;
|
|
8
|
+
/** 会话消息列表(用于向前合并用户附件做摘要匹配 / gallery) */
|
|
9
|
+
sessionMessages?: Message[];
|
|
8
10
|
};
|
|
9
|
-
declare const
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
12
|
cancel: () => any;
|
|
11
13
|
retry: () => any;
|
|
12
|
-
preview: (attachment:
|
|
14
|
+
preview: (attachment: MessageAttachment) => any;
|
|
13
15
|
resume: (action: string, payload?: string | undefined) => any;
|
|
14
16
|
"open-process": () => any;
|
|
15
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
18
|
onCancel?: (() => any) | undefined;
|
|
17
19
|
onRetry?: (() => any) | undefined;
|
|
18
|
-
onPreview?: ((attachment:
|
|
20
|
+
onPreview?: ((attachment: MessageAttachment) => any) | undefined;
|
|
19
21
|
onResume?: ((action: string, payload?: string | undefined) => any) | undefined;
|
|
20
22
|
"onOpen-process"?: (() => any) | undefined;
|
|
21
23
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
-
declare const _default: typeof __VLS_export;
|
|
23
24
|
export default _default;
|
|
@@ -7,7 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
/** 品牌标识组件(可选) */
|
|
8
8
|
brandMark?: any;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
11
|
cancel: () => any;
|
|
12
12
|
retry: () => any;
|
|
13
13
|
preview: (attachment: any) => any;
|
|
@@ -20,5 +20,4 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
20
20
|
onResume?: ((action: string, payload?: string | undefined) => any) | undefined;
|
|
21
21
|
"onOpen-process"?: ((message: Message) => any) | undefined;
|
|
22
22
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
-
declare const _default: typeof __VLS_export;
|
|
24
23
|
export default _default;
|
|
@@ -7,10 +7,9 @@ type __VLS_Props = {
|
|
|
7
7
|
/** 加载中 */
|
|
8
8
|
loading?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
11
|
"update:modelValue": (value: string) => any;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
-
declare const _default: typeof __VLS_export;
|
|
16
15
|
export default _default;
|
|
@@ -11,19 +11,18 @@ type __VLS_Props = {
|
|
|
11
11
|
/** 透传 RunStatusBar sending */
|
|
12
12
|
sending?: boolean;
|
|
13
13
|
};
|
|
14
|
-
declare var
|
|
14
|
+
declare var __VLS_18: {};
|
|
15
15
|
type __VLS_Slots = {} & {
|
|
16
|
-
default?: (props: typeof
|
|
16
|
+
default?: (props: typeof __VLS_18) => any;
|
|
17
17
|
};
|
|
18
|
-
declare const
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (args_0: boolean) => any;
|
|
20
20
|
cancel: () => any;
|
|
21
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
23
23
|
onCancel?: (() => any) | undefined;
|
|
24
24
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const
|
|
26
|
-
declare const _default: typeof __VLS_export;
|
|
25
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
26
|
export default _default;
|
|
28
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
29
28
|
new (): {
|
|
@@ -3,10 +3,9 @@ type __VLS_Props = {
|
|
|
3
3
|
run: RunStatusView | null;
|
|
4
4
|
sending: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
7
|
cancel: () => any;
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
9
|
onCancel?: (() => any) | undefined;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
11
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Session } from '
|
|
1
|
+
import { Session } from '../../../types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
sessions: Session[];
|
|
4
4
|
activeId?: string | null;
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
title?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
9
|
select: (id: string) => any;
|
|
10
10
|
delete: (id: string) => any;
|
|
11
11
|
create: () => any;
|
|
@@ -14,5 +14,4 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
14
14
|
onDelete?: ((id: string) => any) | undefined;
|
|
15
15
|
onCreate?: (() => any) | undefined;
|
|
16
16
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
17
|
export default _default;
|
|
@@ -7,12 +7,11 @@ type __VLS_Props = {
|
|
|
7
7
|
/** 图片 gallery(仅图片时左右切换) */
|
|
8
8
|
gallery?: MessageAttachment[];
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
11
|
"update:modelValue": (value: boolean) => any;
|
|
12
12
|
"update:attachment": (value: MessageAttachment) => any;
|
|
13
13
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
"onUpdate:attachment"?: ((value: MessageAttachment) => any) | undefined;
|
|
16
16
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
17
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MessageDocumentSummary, MessageAttachment } from '../../../types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
summaries: MessageDocumentSummary[];
|
|
4
|
+
/** 可匹配的附件池(当前消息等),由父组件传入 */
|
|
4
5
|
attachments?: MessageAttachment[];
|
|
5
6
|
};
|
|
6
|
-
declare const
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
8
|
preview: (attachment: MessageAttachment) => any;
|
|
8
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
10
|
onPreview?: ((attachment: MessageAttachment) => any) | undefined;
|
|
10
11
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
12
|
export default _default;
|
|
@@ -2,10 +2,9 @@ import { MessageAttachment } from '../../../types';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
attachments: MessageAttachment[];
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
6
|
preview: (attachment: MessageAttachment) => any;
|
|
7
7
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
8
|
onPreview?: ((attachment: MessageAttachment) => any) | undefined;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const _default: typeof __VLS_export;
|
|
11
10
|
export default _default;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
content: string;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
5
|
-
declare const _default: typeof __VLS_export;
|
|
4
|
+
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>;
|
|
6
5
|
export default _default;
|
|
@@ -8,7 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
cancelText?: string;
|
|
9
9
|
confirmText?: string;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: boolean) => any;
|
|
13
13
|
confirm: () => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -22,5 +22,4 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
22
22
|
confirmText: string;
|
|
23
23
|
type: "info" | "warning" | "danger";
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const _default: typeof __VLS_export;
|
|
26
25
|
export default _default;
|
|
@@ -17,12 +17,11 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
} & {
|
|
18
18
|
default?: (props: typeof __VLS_3) => any;
|
|
19
19
|
};
|
|
20
|
-
declare const
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
21
|
fill: boolean;
|
|
22
22
|
flush: boolean;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
-
declare const
|
|
25
|
-
declare const _default: typeof __VLS_export;
|
|
24
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
26
25
|
export default _default;
|
|
27
26
|
type __VLS_WithSlots<T, S> = T & {
|
|
28
27
|
new (): {
|
|
@@ -25,17 +25,17 @@ type __VLS_Props = {
|
|
|
25
25
|
/** 抽屉宽度 */
|
|
26
26
|
sizeDrawer?: string | number;
|
|
27
27
|
};
|
|
28
|
-
declare var
|
|
28
|
+
declare var __VLS_19: {
|
|
29
29
|
url: string | undefined;
|
|
30
|
-
},
|
|
30
|
+
}, __VLS_21: {
|
|
31
31
|
url: string | undefined;
|
|
32
32
|
};
|
|
33
33
|
type __VLS_Slots = {} & {
|
|
34
|
-
pdf?: (props: typeof
|
|
34
|
+
pdf?: (props: typeof __VLS_19) => any;
|
|
35
35
|
} & {
|
|
36
|
-
excel?: (props: typeof
|
|
36
|
+
excel?: (props: typeof __VLS_21) => any;
|
|
37
37
|
};
|
|
38
|
-
declare const
|
|
38
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
39
|
"update:modelValue": (value: boolean) => any;
|
|
40
40
|
close: () => any;
|
|
41
41
|
download: () => any;
|
|
@@ -51,8 +51,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
51
51
|
hasOriginalFile: boolean;
|
|
52
52
|
sizeDrawer: string | number;
|
|
53
53
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
54
|
-
declare const
|
|
55
|
-
declare const _default: typeof __VLS_export;
|
|
54
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
56
55
|
export default _default;
|
|
57
56
|
type __VLS_WithSlots<T, S> = T & {
|
|
58
57
|
new (): {
|
|
@@ -23,15 +23,15 @@ type __VLS_Props = {
|
|
|
23
23
|
};
|
|
24
24
|
declare var __VLS_9: {
|
|
25
25
|
url: string | undefined;
|
|
26
|
-
},
|
|
26
|
+
}, __VLS_14: {
|
|
27
27
|
url: string | undefined;
|
|
28
28
|
};
|
|
29
29
|
type __VLS_Slots = {} & {
|
|
30
30
|
pdf?: (props: typeof __VLS_9) => any;
|
|
31
31
|
} & {
|
|
32
|
-
excel?: (props: typeof
|
|
32
|
+
excel?: (props: typeof __VLS_14) => any;
|
|
33
33
|
};
|
|
34
|
-
declare const
|
|
34
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
35
|
close: () => any;
|
|
36
36
|
download: () => any;
|
|
37
37
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -43,8 +43,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
43
43
|
chunks: DocumentPreviewChunk[];
|
|
44
44
|
hasOriginalFile: boolean;
|
|
45
45
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
46
|
-
declare const
|
|
47
|
-
declare const _default: typeof __VLS_export;
|
|
46
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
48
47
|
export default _default;
|
|
49
48
|
type __VLS_WithSlots<T, S> = T & {
|
|
50
49
|
new (): {
|