@farris/x-ui 0.1.2 → 0.1.4
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/bubble/src/bubble.component.d.ts +3 -0
- package/bubble/src/bubble.props.d.ts +4 -0
- package/bubble/src/components/attachment/bubble-attachment.component.d.ts +3 -0
- package/bubble/src/components/attachment/bubble-attachment.props.d.ts +4 -0
- package/components.d.ts +4 -1
- package/farris.x-ui.esm.js +4265 -4084
- package/farris.x-ui.umd.cjs +43 -43
- package/index.css +1 -1
- package/package.json +1 -1
- package/todo/src/composition/status-icon.d.ts +1 -1
- package/tool-use-batch/index.d.ts +7 -0
- package/tool-use-batch/src/tool-use-batch.component.d.ts +19 -0
- package/tool-use-batch/src/types.d.ts +25 -0
|
@@ -12,6 +12,7 @@ declare const _default: import('../../../vue').DefineComponent<{
|
|
|
12
12
|
attachments: Attachment[];
|
|
13
13
|
attachmentRowClickOpensPreview: boolean;
|
|
14
14
|
attachmentShowDownload: boolean;
|
|
15
|
+
role: "user" | "assistant";
|
|
15
16
|
content?: import('../../../..').BubbleContent | undefined;
|
|
16
17
|
onPreview?: ((config: import('../../../../..').PreviewConfig) => void) | undefined;
|
|
17
18
|
onUserAuthConfirm?: ((optionId: string, name: string, message?: string) => void) | undefined;
|
|
@@ -30,6 +31,7 @@ declare const _default: import('../../../vue').DefineComponent<{
|
|
|
30
31
|
attachments: Attachment[];
|
|
31
32
|
attachmentRowClickOpensPreview: boolean;
|
|
32
33
|
attachmentShowDownload: boolean;
|
|
34
|
+
role: "user" | "assistant";
|
|
33
35
|
content?: import('../../../..').BubbleContent | undefined;
|
|
34
36
|
onPreview?: ((config: import('../../../../..').PreviewConfig) => void) | undefined;
|
|
35
37
|
onUserAuthConfirm?: ((optionId: string, name: string, message?: string) => void) | undefined;
|
|
@@ -53,6 +55,7 @@ declare const _default: import('../../../vue').DefineComponent<{
|
|
|
53
55
|
onShowDynamicComponent: (config: import('../../../../..').DynamicComponentConfig) => void;
|
|
54
56
|
attachmentRowClickOpensPreview: boolean;
|
|
55
57
|
attachmentShowDownload: boolean;
|
|
58
|
+
role: "user" | "assistant";
|
|
56
59
|
}, {}, {
|
|
57
60
|
'fx-user-auth-inline': import('../../../vue').DefineComponent<import('../../../vue').ExtractPropTypes<{
|
|
58
61
|
content: {
|
|
@@ -2,6 +2,7 @@ import { Attachment } from '../../../../../../../composition/types';
|
|
|
2
2
|
|
|
3
3
|
declare const _default: import('../../../../../vue').DefineComponent<{
|
|
4
4
|
attachments: Attachment[];
|
|
5
|
+
role: "user" | "assistant";
|
|
5
6
|
enableBatchPreview: boolean;
|
|
6
7
|
enableFixedWidth: boolean;
|
|
7
8
|
showDownloadButton: boolean;
|
|
@@ -9,6 +10,7 @@ declare const _default: import('../../../../../vue').DefineComponent<{
|
|
|
9
10
|
onBatchPreview?: ((attachments: Attachment[]) => void) | undefined;
|
|
10
11
|
}, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('../../../../../vue').ComponentOptionsMixin, import('../../../../../vue').ComponentOptionsMixin, {}, string, import('../../../../../vue').PublicProps, Readonly<{
|
|
11
12
|
attachments: Attachment[];
|
|
13
|
+
role: "user" | "assistant";
|
|
12
14
|
enableBatchPreview: boolean;
|
|
13
15
|
enableFixedWidth: boolean;
|
|
14
16
|
showDownloadButton: boolean;
|
|
@@ -17,6 +19,7 @@ declare const _default: import('../../../../../vue').DefineComponent<{
|
|
|
17
19
|
}> & Readonly<{}>, {
|
|
18
20
|
attachments: Attachment[];
|
|
19
21
|
onPreview: (attachment: Attachment) => void;
|
|
22
|
+
role: "user" | "assistant";
|
|
20
23
|
enableBatchPreview: boolean;
|
|
21
24
|
enableFixedWidth: boolean;
|
|
22
25
|
showDownloadButton: boolean;
|
|
@@ -2,6 +2,10 @@ import { ExtractPropTypes, PropType } from '../../../../../vue';
|
|
|
2
2
|
import { Attachment } from '../../../../../../../composition/types';
|
|
3
3
|
|
|
4
4
|
export declare const bubbleAttachmentProps: {
|
|
5
|
+
role: {
|
|
6
|
+
type: PropType<"user" | "assistant">;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
5
9
|
attachments: {
|
|
6
10
|
type: PropType<Attachment[]>;
|
|
7
11
|
default: () => never[];
|
package/components.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { MessageContentInputRecommend } from '../input-recommend';
|
|
|
6
6
|
import { MessageContentLinkCard } from '../link-card';
|
|
7
7
|
import { MessageContentReferenceSources } from '../reference-sources';
|
|
8
8
|
import { MessageContentToolUse } from '../tool-use';
|
|
9
|
+
import { MessageContentToolUseBatch } from '../tool-use-batch';
|
|
9
10
|
import { MessageContentUnknownEnterprise } from '../unknown-enterprise';
|
|
10
11
|
import { MessageContentUserAuth } from '../user-auth';
|
|
11
12
|
export { default as FXAppPreview } from '../app-preview';
|
|
@@ -36,11 +37,13 @@ export { default as FXReferenceSources } from '../reference-sources';
|
|
|
36
37
|
export * from '../reference-sources';
|
|
37
38
|
export { default as FXToolUse } from '../tool-use';
|
|
38
39
|
export * from '../tool-use';
|
|
40
|
+
export { default as FXToolUseBatch } from '../tool-use-batch';
|
|
41
|
+
export * from '../tool-use-batch';
|
|
39
42
|
export { default as FXUnknownEnterprise } from '../unknown-enterprise';
|
|
40
43
|
export * from '../unknown-enterprise';
|
|
41
44
|
export { default as FXUserAuth } from '../user-auth';
|
|
42
45
|
export * from '../user-auth';
|
|
43
|
-
export type EnterpriseCloudMessageContent = MessageContentAgentThinking | MessageContentToolUse | MessageContentReferenceSources | MessageContentInputRecommend | MessageContentUserAuth | MessageContentErrorReminder | MessageContentLinkCard | MessageContentUnknownEnterprise | MessageContentAttachmentFile | MessageContentHitlQuestion;
|
|
46
|
+
export type EnterpriseCloudMessageContent = MessageContentAgentThinking | MessageContentToolUse | MessageContentToolUseBatch | MessageContentReferenceSources | MessageContentInputRecommend | MessageContentUserAuth | MessageContentErrorReminder | MessageContentLinkCard | MessageContentUnknownEnterprise | MessageContentAttachmentFile | MessageContentHitlQuestion;
|
|
44
47
|
export { default as FXFileOperation } from '../file-operation';
|
|
45
48
|
export * from '../file-operation';
|
|
46
49
|
export { default as FXGenerateProcess } from '../generate-process';
|