@farris/x-ui 0.5.6-beta.20261021 → 0.5.7
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/app-preview/index.d.ts +8 -0
- package/app-preview/src/app-preview.component.d.ts +22 -0
- package/app-preview/src/app-preview.props.d.ts +14 -0
- package/{chat-preview → app-preview}/src/types.d.ts +17 -2
- package/bubble/index.d.ts +1 -11
- package/bubble/src/bubble.component.d.ts +45 -0
- package/bubble/src/bubble.props.d.ts +6 -1
- package/bubble/src/composition/types.d.ts +12 -0
- package/chat-preview/index.d.ts +0 -1
- package/chat-preview/src/chat-preview.component.d.ts +2 -2
- package/chat-preview/src/chat-preview.props.d.ts +1 -1
- package/chat-preview/src/preview-chrome-sdk.d.ts +1 -1
- package/components.d.ts +16 -1
- package/error-reminder/index.d.ts +7 -0
- package/error-reminder/src/error-reminder.component.d.ts +15 -0
- package/error-reminder/src/types.d.ts +7 -0
- package/farris.x-ui.esm.js +11136 -10296
- package/farris.x-ui.umd.cjs +106 -105
- package/hitl-question/src/hitl-question.component.d.ts +2 -2
- package/hitl-question/src/types.d.ts +7 -0
- package/image-preview/src/image-preview.component.d.ts +1 -1
- package/index.css +1 -1
- package/link-card/index.d.ts +7 -0
- package/link-card/src/link-card.component.d.ts +15 -0
- package/link-card/src/types.d.ts +14 -0
- package/markdown/src/composition/table-card-renderer.d.ts +39 -0
- package/markdown/src/composition/table-to-tsv.d.ts +11 -0
- package/markdown/src/composition/write-text-to-clipboard.d.ts +8 -0
- package/nav/src/composition/types.d.ts +0 -6
- package/package.json +1 -1
- package/prompts/index.d.ts +9 -0
- package/prompts/src/components/prompt.component.d.ts +131 -0
- package/prompts/src/components/prompt.props.d.ts +79 -0
- package/prompts/src/composition/type.d.ts +34 -0
- package/prompts/src/prompts.component.d.ts +46 -0
- package/prompts/src/prompts.props.d.ts +61 -0
- package/reference-sources/index.d.ts +7 -0
- package/reference-sources/src/reference-sources.component.d.ts +15 -0
- package/reference-sources/src/types.d.ts +9 -0
- package/started-todo/test/started-todo.spec.d.ts +1 -0
- package/todo/src/composition/status-icon.d.ts +3 -3
- package/welcome/index.d.ts +7 -0
- package/welcome/src/composition/type.d.ts +1 -0
- package/welcome/src/welcome.component.d.ts +35 -0
- package/welcome/src/welcome.props.d.ts +30 -0
- package/welcome/test/welcome.spec.d.ts +1 -0
- package/nav/src/composition/use-nav-right-slot.d.ts +0 -5
- /package/{nav/test/nav.spec.d.ts → markdown/test/markdown-table-card.spec.d.ts} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Plugin } from '../../vue';
|
|
2
|
+
import { default as FXAppPreview } from '../../src/app-preview.component';
|
|
3
|
+
|
|
4
|
+
export * from '../../src/app-preview.props';
|
|
5
|
+
export * from '../../src/types';
|
|
6
|
+
export { FXAppPreview };
|
|
7
|
+
declare const _default: typeof FXAppPreview & Plugin;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: import('../../../vue').DefineComponent<import('../../../vue').ExtractPropTypes<{
|
|
2
|
+
content: {
|
|
3
|
+
type: import('../../../vue').PropType<import('../../../types').MessageContentAppPreview>;
|
|
4
|
+
required: boolean;
|
|
5
|
+
};
|
|
6
|
+
onOpen: {
|
|
7
|
+
type: import('../../../vue').PropType<(config: import('../../../types').PreviewConfig) => void>;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, string, import('../../../vue').PublicProps, Readonly<import('../../../vue').ExtractPropTypes<{
|
|
11
|
+
content: {
|
|
12
|
+
type: import('../../../vue').PropType<import('../../../types').MessageContentAppPreview>;
|
|
13
|
+
required: boolean;
|
|
14
|
+
};
|
|
15
|
+
onOpen: {
|
|
16
|
+
type: import('../../../vue').PropType<(config: import('../../../types').PreviewConfig) => void>;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
onOpen: (config: import('../../../types').PreviewConfig) => void;
|
|
21
|
+
}, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from '../../../vue';
|
|
2
|
+
import { MessageContentAppPreview, PreviewConfig } from '../../../types';
|
|
3
|
+
|
|
4
|
+
export declare const appPreviewMessageProps: {
|
|
5
|
+
content: {
|
|
6
|
+
type: PropType<MessageContentAppPreview>;
|
|
7
|
+
required: boolean;
|
|
8
|
+
};
|
|
9
|
+
onOpen: {
|
|
10
|
+
type: PropType<(config: PreviewConfig) => void>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type AppPreviewMessageProps = ExtractPropTypes<typeof appPreviewMessageProps>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { DynamicComponentConfig } from '../../../../../dynamic-component/src/composition/types';
|
|
2
2
|
|
|
3
|
-
/** 预览模式 */
|
|
4
|
-
export type PreviewMode = 'splitScreen' | 'fullScreen';
|
|
5
3
|
/** 预览配置 */
|
|
4
|
+
export type PreviewMode = 'splitScreen' | 'fullScreen';
|
|
6
5
|
export interface PreviewConfig {
|
|
7
6
|
/** 直接预览 URL(优先级最高,设置后忽略其它拼接字段) */
|
|
8
7
|
url?: string;
|
|
@@ -37,3 +36,19 @@ export interface PreviewConfig {
|
|
|
37
36
|
*/
|
|
38
37
|
dynamicComponent?: DynamicComponentConfig;
|
|
39
38
|
}
|
|
39
|
+
export interface AppConfig {
|
|
40
|
+
appPath: string;
|
|
41
|
+
appObjectId: string;
|
|
42
|
+
appBuilderUri?: string;
|
|
43
|
+
ws?: string;
|
|
44
|
+
}
|
|
45
|
+
/** 应用预览消息类型内容 */
|
|
46
|
+
export interface MessageContentAppPreview {
|
|
47
|
+
type: 'AppPreview';
|
|
48
|
+
message: string;
|
|
49
|
+
appIcon: string;
|
|
50
|
+
appName: string;
|
|
51
|
+
appConfig: AppConfig;
|
|
52
|
+
previewConfig: PreviewConfig;
|
|
53
|
+
createdDatetime: string;
|
|
54
|
+
}
|
package/bubble/index.d.ts
CHANGED
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
import { Plugin } from '../../vue';
|
|
2
2
|
import { default as FXBubble } from '../../src/bubble.component';
|
|
3
3
|
import { default as FXBubbleAction } from '../../src/components/action/bubble-action.component';
|
|
4
|
-
import { default as FXBubbleAttachment } from '../../src/components/attachment/bubble-attachment.component';
|
|
5
|
-
import { default as FXBubbleThink } from '../../src/components/bubble-think/bubble-think.component';
|
|
6
|
-
import { default as FXBubbleThoughtChain } from '../../src/components/bubble-thought-chain/bubble-thought-chain.component';
|
|
7
|
-
import { default as FXBubbleTextContent } from '../../src/components/text-content/text-content.component';
|
|
8
4
|
import { default as FXFileEmbeddedContent } from '../../src/components/embedded-content/file/file-embedded-content.component';
|
|
9
|
-
import { default as FXBubblePageEmbeddedContent } from '../../src/components/embedded-content/page/page-embedded-content.component';
|
|
10
5
|
|
|
11
6
|
export * from '../../src/bubble.props';
|
|
12
7
|
export * from '../../src/components/action/bubble-action.props';
|
|
13
|
-
export * from '../../src/components/attachment/bubble-attachment.props';
|
|
14
|
-
export * from '../../src/components/bubble-think/bubble-think.props';
|
|
15
|
-
export * from '../../src/components/bubble-thought-chain/bubble-thought-chain.props';
|
|
16
|
-
export * from '../../src/components/text-content/text-content.props';
|
|
17
8
|
export * from '../../src/components/embedded-content/file/file-embedded-content.props';
|
|
18
|
-
export * from '../../src/components/embedded-content/page/page-embedded-content.props';
|
|
19
9
|
export * from '../../src/composition/types';
|
|
20
10
|
export { default as useAttachment } from '../../src/composition/use-attachment';
|
|
21
|
-
export { FXBubble, FXBubbleAction,
|
|
11
|
+
export { FXBubble, FXBubbleAction, FXFileEmbeddedContent };
|
|
22
12
|
declare const _default: typeof FXBubble & Plugin;
|
|
23
13
|
export default _default;
|
|
@@ -15,6 +15,7 @@ declare const _default: import('../../../vue').DefineComponent<{
|
|
|
15
15
|
role: "user" | "assistant";
|
|
16
16
|
content?: import('../../../..').BubbleContent | undefined;
|
|
17
17
|
onPreview?: ((config: import('../../../../..').PreviewConfig) => void) | undefined;
|
|
18
|
+
onUserAuthConfirm?: ((optionId: string, name: string, message?: string) => void) | undefined;
|
|
18
19
|
compositeTailRender?: (() => import('../../../vue').VNode | null | undefined) | undefined;
|
|
19
20
|
onDynamicComponentsDetected?: ((configs: import('../../../../..').DynamicComponentConfig[]) => void) | undefined;
|
|
20
21
|
onShowDynamicComponent?: ((config: import('../../../../..').DynamicComponentConfig) => void) | undefined;
|
|
@@ -33,6 +34,7 @@ declare const _default: import('../../../vue').DefineComponent<{
|
|
|
33
34
|
role: "user" | "assistant";
|
|
34
35
|
content?: import('../../../..').BubbleContent | undefined;
|
|
35
36
|
onPreview?: ((config: import('../../../../..').PreviewConfig) => void) | undefined;
|
|
37
|
+
onUserAuthConfirm?: ((optionId: string, name: string, message?: string) => void) | undefined;
|
|
36
38
|
compositeTailRender?: (() => import('../../../vue').VNode | null | undefined) | undefined;
|
|
37
39
|
onDynamicComponentsDetected?: ((configs: import('../../../../..').DynamicComponentConfig[]) => void) | undefined;
|
|
38
40
|
onShowDynamicComponent?: ((config: import('../../../../..').DynamicComponentConfig) => void) | undefined;
|
|
@@ -47,6 +49,7 @@ declare const _default: import('../../../vue').DefineComponent<{
|
|
|
47
49
|
styles: Record<import('../../../..').AppearanceType, import('../../../vue').CSSProperties>;
|
|
48
50
|
attachments: Attachment[];
|
|
49
51
|
onPreview: (config: import('../../../../..').PreviewConfig) => void;
|
|
52
|
+
onUserAuthConfirm: (optionId: string, name: string, message?: string) => void;
|
|
50
53
|
compositeTailRender: () => import('../../../vue').VNode | null | undefined;
|
|
51
54
|
onDynamicComponentsDetected: (configs: import('../../../../..').DynamicComponentConfig[]) => void;
|
|
52
55
|
onShowDynamicComponent: (config: import('../../../../..').DynamicComponentConfig) => void;
|
|
@@ -54,6 +57,48 @@ declare const _default: import('../../../vue').DefineComponent<{
|
|
|
54
57
|
attachmentShowDownload: boolean;
|
|
55
58
|
role: "user" | "assistant";
|
|
56
59
|
}, {}, {
|
|
60
|
+
'fx-user-auth-inline': import('../../../vue').DefineComponent<import('../../../vue').ExtractPropTypes<{
|
|
61
|
+
content: {
|
|
62
|
+
type: import('../../../vue').PropType<import('../../../../..').MessageContentUserAuth>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
onConfirm: {
|
|
66
|
+
type: import('../../../vue').PropType<(optionId: string, name: string, message?: string) => void>;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, string, import('../../../vue').PublicProps, Readonly<import('../../../vue').ExtractPropTypes<{
|
|
70
|
+
content: {
|
|
71
|
+
type: import('../../../vue').PropType<import('../../../../..').MessageContentUserAuth>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
onConfirm: {
|
|
75
|
+
type: import('../../../vue').PropType<(optionId: string, name: string, message?: string) => void>;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
}>> & Readonly<{}>, {
|
|
79
|
+
onConfirm: (optionId: string, name: string, message?: string) => void;
|
|
80
|
+
}, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
|
|
81
|
+
'fx-app-preview-inline': import('../../../vue').DefineComponent<import('../../../vue').ExtractPropTypes<{
|
|
82
|
+
content: {
|
|
83
|
+
type: import('../../../vue').PropType<import('../../../../..').MessageContentAppPreview>;
|
|
84
|
+
required: boolean;
|
|
85
|
+
};
|
|
86
|
+
onOpen: {
|
|
87
|
+
type: import('../../../vue').PropType<(config: import('../../../../..').PreviewConfig) => void>;
|
|
88
|
+
default: undefined;
|
|
89
|
+
};
|
|
90
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, string, import('../../../vue').PublicProps, Readonly<import('../../../vue').ExtractPropTypes<{
|
|
91
|
+
content: {
|
|
92
|
+
type: import('../../../vue').PropType<import('../../../../..').MessageContentAppPreview>;
|
|
93
|
+
required: boolean;
|
|
94
|
+
};
|
|
95
|
+
onOpen: {
|
|
96
|
+
type: import('../../../vue').PropType<(config: import('../../../../..').PreviewConfig) => void>;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
}>> & Readonly<{}>, {
|
|
100
|
+
onOpen: (config: import('../../../../..').PreviewConfig) => void;
|
|
101
|
+
}, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
|
|
57
102
|
FXToolUse: {
|
|
58
103
|
new (...args: any[]): import('../../../vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../../vue').ExtractPropTypes<{
|
|
59
104
|
content: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ExtractPropTypes, PropType, VNode } from '../../../vue';
|
|
2
2
|
import { AppearanceType, BubbleContent, Attachment } from '../../../composition/types';
|
|
3
|
-
import { PreviewConfig } from '../../../../../
|
|
3
|
+
import { PreviewConfig } from '../../../../../app-preview';
|
|
4
4
|
import { OutputMode } from '../../../../../common';
|
|
5
5
|
import { DynamicComponentConfig } from '../../../../../dynamic-component/src/composition/types';
|
|
6
6
|
|
|
@@ -60,6 +60,11 @@ export declare const bubbleProps: {
|
|
|
60
60
|
type: PropType<(config: PreviewConfig) => void>;
|
|
61
61
|
default: undefined;
|
|
62
62
|
};
|
|
63
|
+
/** 气泡内 agent/request-run 等按钮确认 */
|
|
64
|
+
onUserAuthConfirm: {
|
|
65
|
+
type: PropType<(optionId: string, name: string, message?: string) => void>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
63
68
|
/** 复合消息:在正文区尾部追加渲染(单气泡内多块) */
|
|
64
69
|
compositeTailRender: {
|
|
65
70
|
type: PropType<() => VNode | null | undefined>;
|
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
import { VNode } from '../../../../vue';
|
|
2
2
|
import { DetailViewMode, TodoItemStatus, TodoWorkItem } from '../../../../../../../todo';
|
|
3
|
+
import { MessageContentUserAuth } from '../../../../../../../user-auth/src/types';
|
|
3
4
|
import { MessageContentToolUse } from '../../../../../../../tool-use/src/types';
|
|
5
|
+
import { MessageContentAppPreview } from '../../../../../../../app-preview/src/types';
|
|
4
6
|
|
|
5
7
|
/** 气泡消息文本格式化类型 */
|
|
6
8
|
export type BubbleTextFormatType = 'plain' | 'markdown';
|
|
9
|
+
/** 复合气泡内、与正文同壳的按钮 /预览块(按网关块顺序追加) */
|
|
10
|
+
export type BubbleCompositeInlineBlock = {
|
|
11
|
+
kind: 'userAuth';
|
|
12
|
+
content: MessageContentUserAuth;
|
|
13
|
+
} | {
|
|
14
|
+
kind: 'appPreview';
|
|
15
|
+
content: MessageContentAppPreview;
|
|
16
|
+
};
|
|
7
17
|
/** 文本类型消息内容 */
|
|
8
18
|
export interface BubbleContent {
|
|
9
19
|
type?: 'text';
|
|
10
20
|
/** 正文文本,或者预渲染好的 VNode */
|
|
11
21
|
text: string | VNode;
|
|
12
22
|
textFormat?: BubbleTextFormatType;
|
|
23
|
+
/** 正文与 footer 之间按序渲染的网关块(如 request-run 按钮、app-preview) */
|
|
24
|
+
compositeInlineBlocks?: BubbleCompositeInlineBlock[];
|
|
13
25
|
avatar?: string;
|
|
14
26
|
sender?: string;
|
|
15
27
|
/** 一级标题 */
|
package/chat-preview/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { Plugin } from '../../vue';
|
|
|
2
2
|
import { default as FXChatPreview } from '../../src/chat-preview.component';
|
|
3
3
|
|
|
4
4
|
export * from '../../src/chat-preview.props';
|
|
5
|
-
export * from '../../src/types';
|
|
6
5
|
export * from '../../src/preview-bridge-protocol';
|
|
7
6
|
export { postAssistantToPreviewIframe, subscribeAssistantInPreviewIframe, type PreviewAssistantBridgeSubscribeOptions, } from '../../src/preview-bridge-host';
|
|
8
7
|
/** 按方法名调用宿主 `window.AgentWorkbenchSDK`(由 `@farris/x-workbench` 注入) */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PreviewConfig } from '
|
|
1
|
+
import { PreviewConfig } from '../../../../../app-preview';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('../../../vue').DefineComponent<import('../../../vue').ExtractPropTypes<{
|
|
4
4
|
previewConfig: {
|
|
@@ -27,8 +27,8 @@ declare const _default: import('../../../vue').DefineComponent<import('../../../
|
|
|
27
27
|
default: () => void;
|
|
28
28
|
};
|
|
29
29
|
}>> & Readonly<{}>, {
|
|
30
|
-
onClose: () => void;
|
|
31
30
|
previewConfig: PreviewConfig;
|
|
31
|
+
onClose: () => void;
|
|
32
32
|
onIframeLoad: () => void;
|
|
33
33
|
}, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
|
|
34
34
|
export default _default;
|
package/components.d.ts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { MessageContentAgentThinking } from '../agent-thinking';
|
|
2
2
|
import { MessageContentAttachmentFile } from '../attachment-file';
|
|
3
|
+
import { MessageContentErrorReminder } from '../error-reminder';
|
|
3
4
|
import { MessageContentHitlQuestion } from '../hitl-question';
|
|
4
5
|
import { MessageContentInputRecommend } from '../input-recommend';
|
|
6
|
+
import { MessageContentLinkCard } from '../link-card';
|
|
7
|
+
import { MessageContentReferenceSources } from '../reference-sources';
|
|
5
8
|
import { MessageContentKnowledgeTrace } from '../knowledge-trace';
|
|
6
9
|
import { MessageContentToolUse } from '../tool-use';
|
|
7
10
|
import { MessageContentToolUseBatch } from '../tool-use-batch';
|
|
8
11
|
import { MessageContentUnknownEnterprise } from '../unknown-enterprise';
|
|
9
12
|
import { MessageContentUserAuth } from '../user-auth';
|
|
13
|
+
export { default as FXAppPreview } from '../app-preview';
|
|
14
|
+
export * from '../app-preview';
|
|
10
15
|
export { default as FXBubble, FXBubbleAction } from '../bubble';
|
|
11
16
|
export * from '../bubble';
|
|
12
17
|
export { default as FXCarousel, FXCarouselItem } from '../carousel';
|
|
@@ -23,12 +28,18 @@ export { default as FXAgentThinking } from '../agent-thinking';
|
|
|
23
28
|
export * from '../agent-thinking';
|
|
24
29
|
export { default as FXAttachmentFile } from '../attachment-file';
|
|
25
30
|
export * from '../attachment-file';
|
|
31
|
+
export { default as FXErrorReminder } from '../error-reminder';
|
|
32
|
+
export * from '../error-reminder';
|
|
26
33
|
export { default as FXHitlQuestion } from '../hitl-question';
|
|
27
34
|
export * from '../hitl-question';
|
|
28
35
|
export { default as FXCredentialAuthDialog } from '../credential-auth-dialog';
|
|
29
36
|
export * from '../credential-auth-dialog';
|
|
30
37
|
export { default as FXInputRecommend } from '../input-recommend';
|
|
31
38
|
export * from '../input-recommend';
|
|
39
|
+
export { default as FXLinkCard } from '../link-card';
|
|
40
|
+
export * from '../link-card';
|
|
41
|
+
export { default as FXReferenceSources } from '../reference-sources';
|
|
42
|
+
export * from '../reference-sources';
|
|
32
43
|
export { default as FXKnowledgeTraceStrip, FXKnowledgeTracePanel } from '../knowledge-trace';
|
|
33
44
|
export * from '../knowledge-trace';
|
|
34
45
|
export { default as FXToolUse } from '../tool-use';
|
|
@@ -39,7 +50,7 @@ export { default as FXUnknownEnterprise } from '../unknown-enterprise';
|
|
|
39
50
|
export * from '../unknown-enterprise';
|
|
40
51
|
export { default as FXUserAuth } from '../user-auth';
|
|
41
52
|
export * from '../user-auth';
|
|
42
|
-
export type EnterpriseCloudMessageContent = MessageContentAgentThinking | MessageContentToolUse | MessageContentToolUseBatch | MessageContentKnowledgeTrace | MessageContentInputRecommend | MessageContentUnknownEnterprise | MessageContentAttachmentFile | MessageContentHitlQuestion
|
|
53
|
+
export type EnterpriseCloudMessageContent = MessageContentAgentThinking | MessageContentToolUse | MessageContentToolUseBatch | MessageContentReferenceSources | MessageContentKnowledgeTrace | MessageContentInputRecommend | MessageContentUserAuth | MessageContentErrorReminder | MessageContentLinkCard | MessageContentUnknownEnterprise | MessageContentAttachmentFile | MessageContentHitlQuestion;
|
|
43
54
|
export { default as FXFileOperation } from '../file-operation';
|
|
44
55
|
export * from '../file-operation';
|
|
45
56
|
export { default as FXGenerateProcess } from '../generate-process';
|
|
@@ -50,12 +61,16 @@ export { default as FXMarkdown } from '../markdown';
|
|
|
50
61
|
export * from '../markdown';
|
|
51
62
|
export { default as FXMarkdownPreview } from '../markdown-preview';
|
|
52
63
|
export * from '../markdown-preview';
|
|
64
|
+
export { default as FXPrompts, FXPrompt } from '../prompts';
|
|
65
|
+
export * from '../prompts';
|
|
53
66
|
export { default as FXStartedTodo } from '../started-todo';
|
|
54
67
|
export * from '../started-todo';
|
|
55
68
|
export { default as FXSuggestion } from '../suggestion';
|
|
56
69
|
export * from '../suggestion';
|
|
57
70
|
export { default as FXTodo, FXTodoListView, FXTodoListItemView } from '../todo';
|
|
58
71
|
export * from '../todo';
|
|
72
|
+
export { default as FXWelcome } from '../welcome';
|
|
73
|
+
export * from '../welcome';
|
|
59
74
|
export { default as FXAttachmentPreview } from '../attachment-preview';
|
|
60
75
|
export * from '../attachment-preview';
|
|
61
76
|
export { default as FXWidgetContainer } from '../widget-container';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Plugin } from '../../vue';
|
|
2
|
+
import { default as FXErrorReminder } from '../../src/error-reminder.component';
|
|
3
|
+
|
|
4
|
+
export * from '../../src/types';
|
|
5
|
+
export { FXErrorReminder };
|
|
6
|
+
declare const _default: typeof FXErrorReminder & Plugin;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from '../../../vue';
|
|
2
|
+
import { MessageContentErrorReminder } from '../../../types';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('../../../vue').DefineComponent<import('../../../vue').ExtractPropTypes<{
|
|
5
|
+
content: {
|
|
6
|
+
type: PropType<MessageContentErrorReminder>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, string, import('../../../vue').PublicProps, Readonly<import('../../../vue').ExtractPropTypes<{
|
|
10
|
+
content: {
|
|
11
|
+
type: PropType<MessageContentErrorReminder>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|