@apform-ui/core 1.6.1 → 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.
Files changed (124) hide show
  1. package/README.md +16 -0
  2. package/dist/apform-ui.css +1 -1
  3. package/dist/apform-ui.js +5147 -4500
  4. package/dist/apform-ui.umd.cjs +64 -64
  5. package/dist/components/AppDialog/AppDialog.vue.d.ts +4 -5
  6. package/dist/components/AppDialog/doc.d.ts +3 -0
  7. package/dist/components/AppIcon/AppIcon.vue.d.ts +1 -2
  8. package/dist/components/AppIcon/doc.d.ts +3 -0
  9. package/dist/components/AppPagination/AppPagination.vue.d.ts +1 -2
  10. package/dist/components/AppPagination/doc.d.ts +3 -0
  11. package/dist/components/AppUserPanel/AppUserPanel.vue.d.ts +21 -0
  12. package/dist/components/AppUserPanel/index.d.ts +5 -0
  13. package/dist/components/AppUserPanel/types.d.ts +10 -0
  14. package/dist/components/BreadcrumbNav/BreadcrumbNav.vue.d.ts +1 -2
  15. package/dist/components/BreadcrumbNav/doc.d.ts +3 -0
  16. package/dist/components/CardGridSkeleton/CardGridSkeleton.vue.d.ts +1 -2
  17. package/dist/components/CardGridSkeleton/doc.d.ts +3 -0
  18. package/dist/components/CardTable/CardTable.vue.d.ts +2 -3
  19. package/dist/components/CardTable/doc.d.ts +3 -0
  20. package/dist/components/Chat/ApprovalCard/ApprovalCard.vue.d.ts +1 -2
  21. package/dist/components/Chat/ApprovalCard/doc.d.ts +3 -0
  22. package/dist/components/Chat/AssistantPicker/AssistantPicker.vue.d.ts +1 -2
  23. package/dist/components/Chat/AssistantPicker/doc.d.ts +3 -0
  24. package/dist/components/Chat/Composer/Composer.vue.d.ts +2 -3
  25. package/dist/components/Chat/Composer/doc.d.ts +3 -0
  26. package/dist/components/Chat/ConversationHeader/ConversationHeader.vue.d.ts +1 -2
  27. package/dist/components/Chat/ConversationHeader/doc.d.ts +3 -0
  28. package/dist/components/Chat/MessageBubble/MessageBubble.vue.d.ts +6 -5
  29. package/dist/components/Chat/MessageBubble/doc.d.ts +3 -0
  30. package/dist/components/Chat/MessageList/MessageList.vue.d.ts +1 -2
  31. package/dist/components/Chat/MessageList/doc.d.ts +3 -0
  32. package/dist/components/Chat/ModelPicker/ModelPicker.vue.d.ts +1 -2
  33. package/dist/components/Chat/ModelPicker/doc.d.ts +3 -0
  34. package/dist/components/Chat/ProcessingDrawer/ProcessingDrawer.vue.d.ts +4 -5
  35. package/dist/components/Chat/ProcessingDrawer/doc.d.ts +3 -0
  36. package/dist/components/Chat/RunStatusBar/RunStatusBar.vue.d.ts +1 -2
  37. package/dist/components/Chat/RunStatusBar/doc.d.ts +3 -0
  38. package/dist/components/Chat/SessionSidebar/SessionSidebar.vue.d.ts +1 -2
  39. package/dist/components/Chat/SessionSidebar/doc.d.ts +3 -0
  40. package/dist/components/Chat/message/AttachmentPreviewModal.doc.d.ts +3 -0
  41. package/dist/components/Chat/message/AttachmentPreviewModal.vue.d.ts +1 -2
  42. package/dist/components/Chat/message/DocumentSummaryList.doc.d.ts +3 -0
  43. package/dist/components/Chat/message/DocumentSummaryList.vue.d.ts +2 -2
  44. package/dist/components/Chat/message/MessageAttachmentList.doc.d.ts +3 -0
  45. package/dist/components/Chat/message/MessageAttachmentList.vue.d.ts +1 -2
  46. package/dist/components/Chat/message/MessageParts.doc.d.ts +3 -0
  47. package/dist/components/Chat/message/MessageParts.vue.d.ts +1 -2
  48. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +1 -2
  49. package/dist/components/ConfirmDialog/doc.d.ts +3 -0
  50. package/dist/components/ContentPanel/ContentPanel.vue.d.ts +2 -3
  51. package/dist/components/ContentPanel/doc.d.ts +3 -0
  52. package/dist/components/DocumentPreview/DocumentPreviewDrawer.doc.d.ts +3 -0
  53. package/dist/components/DocumentPreview/DocumentPreviewDrawer.vue.d.ts +6 -7
  54. package/dist/components/DocumentPreview/DocumentPreviewPanel.doc.d.ts +3 -0
  55. package/dist/components/DocumentPreview/DocumentPreviewPanel.vue.d.ts +4 -5
  56. package/dist/components/EmptyState/EmptyState.vue.d.ts +4 -5
  57. package/dist/components/EmptyState/doc.d.ts +3 -0
  58. package/dist/components/ErrorBoundary/ErrorBoundary.vue.d.ts +2 -3
  59. package/dist/components/ErrorBoundary/doc.d.ts +3 -0
  60. package/dist/components/ExcelPreviewCard/ExcelPreviewCard.vue.d.ts +8 -8
  61. package/dist/components/ExcelPreviewCard/doc.d.ts +3 -0
  62. package/dist/components/FieldRow/FieldRow.vue.d.ts +4 -5
  63. package/dist/components/FieldRow/doc.d.ts +3 -0
  64. package/dist/components/FilterBar/FilterBar.vue.d.ts +2 -3
  65. package/dist/components/FilterBar/doc.d.ts +3 -0
  66. package/dist/components/FilterTabs/FilterTabs.vue.d.ts +1 -2
  67. package/dist/components/FilterTabs/doc.d.ts +3 -0
  68. package/dist/components/FormDialog/FormDialog.vue.d.ts +4 -5
  69. package/dist/components/FormDialog/doc.d.ts +3 -0
  70. package/dist/components/HintText/HintText.vue.d.ts +7 -6
  71. package/dist/components/HintText/doc.d.ts +3 -0
  72. package/dist/components/JsonCard/JsonCard.vue.d.ts +1 -2
  73. package/dist/components/JsonCard/doc.d.ts +3 -0
  74. package/dist/components/JsonDetailDialog/JsonDetailDialog.vue.d.ts +1 -2
  75. package/dist/components/JsonDetailDialog/doc.d.ts +3 -0
  76. package/dist/components/LoadingDots/LoadingDots.vue.d.ts +1 -2
  77. package/dist/components/LoadingDots/doc.d.ts +3 -0
  78. package/dist/components/PageHeader/PageHeader.vue.d.ts +2 -3
  79. package/dist/components/PageHeader/doc.d.ts +3 -0
  80. package/dist/components/PageShell/PageShell.vue.d.ts +2 -3
  81. package/dist/components/PageShell/doc.d.ts +3 -0
  82. package/dist/components/PdfPreviewCard/PdfPreviewCard.vue.d.ts +8 -11
  83. package/dist/components/PdfPreviewCard/doc.d.ts +3 -0
  84. package/dist/components/SchemaLitePreview/SchemaLitePreview.vue.d.ts +1 -2
  85. package/dist/components/SchemaLitePreview/doc.d.ts +3 -0
  86. package/dist/components/SearchForm/SearchForm.vue.d.ts +1 -2
  87. package/dist/components/SearchForm/doc.d.ts +3 -0
  88. package/dist/components/SectionToggle/SectionToggle.vue.d.ts +4 -5
  89. package/dist/components/SectionToggle/doc.d.ts +3 -0
  90. package/dist/components/Skeleton/Skeleton.vue.d.ts +1 -2
  91. package/dist/components/Skeleton/doc.d.ts +3 -0
  92. package/dist/components/SliderCaptcha/SliderCaptcha.vue.d.ts +23 -0
  93. package/dist/components/SliderCaptcha/index.d.ts +5 -0
  94. package/dist/components/SliderCaptcha/types.d.ts +14 -0
  95. package/dist/components/StatusTag/StatusTag.vue.d.ts +1 -2
  96. package/dist/components/StatusTag/doc.d.ts +3 -0
  97. package/dist/components/TableRowActions/TableRowActions.vue.d.ts +1 -2
  98. package/dist/components/TableRowActions/doc.d.ts +3 -0
  99. package/dist/components/Toast/Toast.vue.d.ts +1 -2
  100. package/dist/components/Toast/doc.d.ts +3 -0
  101. package/dist/components/TruncatedTooltipText/TruncatedTooltipText.vue.d.ts +4 -5
  102. package/dist/components/TruncatedTooltipText/doc.d.ts +3 -0
  103. package/dist/components/UserAvatar/UserAvatar.vue.d.ts +2 -3
  104. package/dist/components/UserAvatar/doc.d.ts +3 -0
  105. package/dist/composables/index.d.ts +2 -0
  106. package/dist/composables/useClipboard.d.ts +20 -0
  107. package/dist/docs/index.d.ts +55 -0
  108. package/dist/docs/types.d.ts +47 -0
  109. package/dist/index.d.ts +7 -1
  110. package/dist/types/chat.d.ts +2 -0
  111. package/dist/utils/optionalPeers.d.ts +38 -0
  112. package/package.json +15 -3
  113. package/src/docs/index.ts +153 -0
  114. package/src/docs/types.ts +51 -0
  115. package/styles/element-override.css +179 -5
  116. package/dist/stories/AppDialog.stories.d.ts +0 -9
  117. package/dist/stories/AppIcon.stories.d.ts +0 -9
  118. package/dist/stories/ApprovalCard.stories.d.ts +0 -8
  119. package/dist/stories/Composer.stories.d.ts +0 -9
  120. package/dist/stories/MessageBubble.stories.d.ts +0 -10
  121. package/dist/stories/RunStatusBar.stories.d.ts +0 -8
  122. package/dist/stories/StatusTag.stories.d.ts +0 -8
  123. package/dist/stories/useConfirm.stories.d.ts +0 -5
  124. 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 __VLS_26: {}, __VLS_29: {};
14
+ declare var __VLS_27: {}, __VLS_29: {};
15
15
  type __VLS_Slots = {} & {
16
- default?: (props: typeof __VLS_26) => any;
16
+ default?: (props: typeof __VLS_27) => any;
17
17
  } & {
18
18
  footer?: (props: typeof __VLS_29) => any;
19
19
  };
20
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
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 (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** AppDialog 文档 */
3
+ export declare const AppDialogDoc: ComponentDoc;
@@ -6,6 +6,5 @@ type __VLS_Props = {
6
6
  /** 图标颜色 */
7
7
  color?: string;
8
8
  };
9
- declare const __VLS_export: 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>;
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** AppIcon 文档 */
3
+ export declare const AppIconDoc: ComponentDoc;
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  /** 紧凑尺寸(弹窗 / 侧栏等) */
9
9
  size?: 'default' | 'small';
10
10
  };
11
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** AppPagination 文档 */
3
+ export declare const AppPaginationDoc: ComponentDoc;
@@ -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,5 @@
1
+ /**
2
+ * AppUserPanel 导出
3
+ */
4
+ export { default as AppUserPanel } from './AppUserPanel.vue';
5
+ export type { AppUserPanelUser } from './types';
@@ -0,0 +1,10 @@
1
+ /**
2
+ * AppUserPanel 展示用的用户信息(去业务耦合)
3
+ */
4
+ export interface AppUserPanelUser {
5
+ username: string;
6
+ displayName?: string;
7
+ email?: string | null;
8
+ phone?: string | null;
9
+ tenantId?: string;
10
+ }
@@ -10,10 +10,9 @@ export interface BreadcrumbNavItem {
10
10
  type __VLS_Props = {
11
11
  items: BreadcrumbNavItem[];
12
12
  };
13
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
14
  navigate: (to: string) => any;
15
15
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
16
  onNavigate?: ((to: string) => any) | undefined;
17
17
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
- declare const _default: typeof __VLS_export;
19
18
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** BreadcrumbNav 文档 */
3
+ export declare const BreadcrumbNavDoc: ComponentDoc;
@@ -25,10 +25,9 @@ type __VLS_Props = {
25
25
  /** 是否开启动画(默认 true) */
26
26
  animated?: boolean;
27
27
  };
28
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** CardGridSkeleton 文档 */
3
+ export declare const CardGridSkeletonDoc: ComponentDoc;
@@ -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 __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
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 (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** CardTable 文档 */
3
+ export declare const CardTableDoc: ComponentDoc;
@@ -3,10 +3,9 @@ type __VLS_Props = {
3
3
  waiting: WaitingPayload | null;
4
4
  disabled: boolean;
5
5
  };
6
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** ApprovalCard 文档 */
3
+ export declare const ApprovalCardDoc: ComponentDoc;
@@ -9,7 +9,7 @@ type __VLS_Props = {
9
9
  /** 错误信息 */
10
10
  error?: string | null;
11
11
  };
12
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** AssistantPicker 文档 */
3
+ export declare const AssistantPickerDoc: ComponentDoc;
@@ -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 __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
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 (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** Composer 文档 */
3
+ export declare const ComposerDoc: ComponentDoc;
@@ -11,7 +11,7 @@ type __VLS_Props = {
11
11
  /** 处理中 */
12
12
  processing?: boolean;
13
13
  };
14
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
15
  create: () => any;
16
16
  changeAssistant: () => any;
17
17
  toggleDetails: () => any;
@@ -20,5 +20,4 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
20
20
  onChangeAssistant?: (() => any) | undefined;
21
21
  onToggleDetails?: (() => any) | undefined;
22
22
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
- declare const _default: typeof __VLS_export;
24
23
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** ConversationHeader 文档 */
3
+ export declare const ConversationHeaderDoc: ComponentDoc;
@@ -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 __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
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: any) => any;
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: any) => any) | undefined;
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** MessageBubble 文档 */
3
+ export declare const MessageBubbleDoc: ComponentDoc;
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  /** 品牌标识组件(可选) */
8
8
  brandMark?: any;
9
9
  };
10
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** MessageList 文档 */
3
+ export declare const MessageListDoc: ComponentDoc;
@@ -7,10 +7,9 @@ type __VLS_Props = {
7
7
  /** 加载中 */
8
8
  loading?: boolean;
9
9
  };
10
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** ModelPicker 文档 */
3
+ export declare const ModelPickerDoc: ComponentDoc;
@@ -11,19 +11,18 @@ type __VLS_Props = {
11
11
  /** 透传 RunStatusBar sending */
12
12
  sending?: boolean;
13
13
  };
14
- declare var __VLS_17: {};
14
+ declare var __VLS_18: {};
15
15
  type __VLS_Slots = {} & {
16
- default?: (props: typeof __VLS_17) => any;
16
+ default?: (props: typeof __VLS_18) => any;
17
17
  };
18
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
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 (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** ProcessingDrawer 文档 */
3
+ export declare const ProcessingDrawerDoc: ComponentDoc;
@@ -3,10 +3,9 @@ type __VLS_Props = {
3
3
  run: RunStatusView | null;
4
4
  sending: boolean;
5
5
  };
6
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** RunStatusBar 文档 */
3
+ export declare const RunStatusBarDoc: ComponentDoc;
@@ -5,7 +5,7 @@ type __VLS_Props = {
5
5
  loading?: boolean;
6
6
  title?: string;
7
7
  };
8
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** SessionSidebar 文档 */
3
+ export declare const SessionSidebarDoc: ComponentDoc;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** AttachmentPreviewModal 文档 */
3
+ export declare const AttachmentPreviewModalDoc: ComponentDoc;
@@ -7,12 +7,11 @@ type __VLS_Props = {
7
7
  /** 图片 gallery(仅图片时左右切换) */
8
8
  gallery?: MessageAttachment[];
9
9
  };
10
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** DocumentSummaryList 文档 */
3
+ export declare const DocumentSummaryListDoc: ComponentDoc;
@@ -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 __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** MessageAttachmentList 文档 */
3
+ export declare const MessageAttachmentListDoc: ComponentDoc;
@@ -2,10 +2,9 @@ import { MessageAttachment } from '../../../types';
2
2
  type __VLS_Props = {
3
3
  attachments: MessageAttachment[];
4
4
  };
5
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** MessageParts 文档 */
3
+ export declare const MessagePartsDoc: ComponentDoc;
@@ -1,6 +1,5 @@
1
1
  type __VLS_Props = {
2
2
  content: string;
3
3
  };
4
- declare const __VLS_export: 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>;
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 __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** ConfirmDialog 文档 */
3
+ export declare const ConfirmDialogDoc: ComponentDoc;
@@ -17,12 +17,11 @@ type __VLS_Slots = {} & {
17
17
  } & {
18
18
  default?: (props: typeof __VLS_3) => any;
19
19
  };
20
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
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 (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** ContentPanel 文档 */
3
+ export declare const ContentPanelDoc: ComponentDoc;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** DocumentPreviewDrawer 文档 */
3
+ export declare const DocumentPreviewDrawerDoc: ComponentDoc;
@@ -25,17 +25,17 @@ type __VLS_Props = {
25
25
  /** 抽屉宽度 */
26
26
  sizeDrawer?: string | number;
27
27
  };
28
- declare var __VLS_21: {
28
+ declare var __VLS_19: {
29
29
  url: string | undefined;
30
- }, __VLS_24: {
30
+ }, __VLS_21: {
31
31
  url: string | undefined;
32
32
  };
33
33
  type __VLS_Slots = {} & {
34
- pdf?: (props: typeof __VLS_21) => any;
34
+ pdf?: (props: typeof __VLS_19) => any;
35
35
  } & {
36
- excel?: (props: typeof __VLS_24) => any;
36
+ excel?: (props: typeof __VLS_21) => any;
37
37
  };
38
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
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 (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** DocumentPreviewPanel 文档 */
3
+ export declare const DocumentPreviewPanelDoc: ComponentDoc;
@@ -23,15 +23,15 @@ type __VLS_Props = {
23
23
  };
24
24
  declare var __VLS_9: {
25
25
  url: string | undefined;
26
- }, __VLS_11: {
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 __VLS_11) => any;
32
+ excel?: (props: typeof __VLS_14) => any;
33
33
  };
34
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
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 (): {