@farris/x-ui 0.0.1
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/app-preview/src/types.d.ts +37 -0
- package/attachment-preview/index.d.ts +8 -0
- package/attachment-preview/src/attachment-preview.component.d.ts +20 -0
- package/attachment-preview/src/attachment-preview.props.d.ts +13 -0
- package/attachment-preview/src/types.d.ts +27 -0
- package/bubble/index.d.ts +10 -0
- package/bubble/src/bubble.component.d.ts +119 -0
- package/bubble/src/bubble.props.d.ts +79 -0
- package/bubble/src/components/action/bubble-action.component.d.ts +11 -0
- package/bubble/src/components/action/bubble-action.props.d.ts +15 -0
- package/bubble/src/components/attachment/bubble-attachment.component.d.ts +16 -0
- package/bubble/src/components/attachment/bubble-attachment.props.d.ts +18 -0
- package/bubble/src/components/bubble-think/bubble-think.component.d.ts +10 -0
- package/bubble/src/components/bubble-think/bubble-think.props.d.ts +16 -0
- package/bubble/src/components/bubble-thought-chain/bubble-thought-chain.component.d.ts +6 -0
- package/bubble/src/components/bubble-thought-chain/bubble-thought-chain.props.d.ts +9 -0
- package/bubble/src/components/embedded-content/file/file-embedded-content.component.d.ts +16 -0
- package/bubble/src/components/embedded-content/file/file-embedded-content.props.d.ts +26 -0
- package/bubble/src/components/embedded-content/page/page-embedded-content.component.d.ts +13 -0
- package/bubble/src/components/embedded-content/page/page-embedded-content.props.d.ts +20 -0
- package/bubble/src/components/header/content-header.component.d.ts +6 -0
- package/bubble/src/components/header/sender-header.component.d.ts +6 -0
- package/bubble/src/components/text-content/text-content.component.d.ts +20 -0
- package/bubble/src/components/text-content/text-content.props.d.ts +32 -0
- package/bubble/src/composition/types.d.ts +153 -0
- package/bubble/src/composition/use-attachment.d.ts +5 -0
- package/bubble/src/composition/use-embedded-content.d.ts +12 -0
- package/bubble/src/composition/use-widget-content.d.ts +47 -0
- package/bubble/test/bubble.spec.d.ts +1 -0
- package/carousel/index.d.ts +10 -0
- package/carousel/src/carousel.component.d.ts +169 -0
- package/carousel/src/carousel.props.d.ts +94 -0
- package/carousel/src/components/carousel-item.component.d.ts +61 -0
- package/carousel/src/components/carousel-item.props.d.ts +35 -0
- package/carousel/src/composition/type.d.ts +27 -0
- package/carousel/src/composition/use-carousel.d.ts +23 -0
- package/carousel/test/carousel.spec.d.ts +1 -0
- package/chat-preview/index.d.ts +13 -0
- package/chat-preview/src/agent-workbench-sdk.d.ts +61 -0
- package/chat-preview/src/chat-preview.component.d.ts +34 -0
- package/chat-preview/src/chat-preview.props.d.ts +19 -0
- package/chat-preview/src/preview-bridge-protocol.d.ts +22 -0
- package/chat-preview/src/preview-chrome-sdk.d.ts +28 -0
- package/chat-preview/src/preview-iframe-sdk.d.ts +6 -0
- package/coding/index.d.ts +8 -0
- package/coding/src/coding.component.d.ts +12 -0
- package/coding/src/coding.props.d.ts +10 -0
- package/coding/src/types.d.ts +23 -0
- package/common/index.d.ts +7 -0
- package/common/src/runtime-attachment-download.d.ts +16 -0
- package/common/src/types.d.ts +2 -0
- package/common/src/use-appearance.d.ts +14 -0
- package/common/src/use-render.d.ts +15 -0
- package/common/src/use-sequential-streaming.d.ts +19 -0
- package/common/src/use-streaming-output.d.ts +18 -0
- package/common/src/use-timer.d.ts +7 -0
- package/components.d.ts +40 -0
- package/confirm-dialog/index.d.ts +7 -0
- package/confirm-dialog/src/confirm-dialog.component.d.ts +38 -0
- package/confirm-dialog/src/confirm-dialog.props.d.ts +33 -0
- package/dynamic-component/index.d.ts +7 -0
- package/dynamic-component/src/composition/dynamic-component-registry.d.ts +9 -0
- package/dynamic-component/src/composition/types.d.ts +18 -0
- package/dynamic-component/src/composition/use-dynamic-component-parser.d.ts +14 -0
- package/dynamic-component/src/dynamic-component.component.d.ts +15 -0
- package/enterprise-cloud/index.d.ts +16 -0
- package/enterprise-cloud/src/agent-thinking.component.d.ts +15 -0
- package/enterprise-cloud/src/attachment-file.component.d.ts +15 -0
- package/enterprise-cloud/src/error-reminder.component.d.ts +15 -0
- package/enterprise-cloud/src/hitl-question.component.d.ts +43 -0
- package/enterprise-cloud/src/input-recommend.component.d.ts +25 -0
- package/enterprise-cloud/src/link-card.component.d.ts +15 -0
- package/enterprise-cloud/src/reference-sources.component.d.ts +15 -0
- package/enterprise-cloud/src/types.d.ts +155 -0
- package/enterprise-cloud/src/unknown-enterprise.component.d.ts +15 -0
- package/enterprise-cloud/src/user-auth.component.d.ts +25 -0
- package/farris.x-ui.esm.js +13185 -0
- package/farris.x-ui.umd.cjs +108 -0
- package/file-operation/index.d.ts +8 -0
- package/file-operation/src/file-operation.component.d.ts +12 -0
- package/file-operation/src/file-operation.props.d.ts +10 -0
- package/file-operation/src/types.d.ts +30 -0
- package/generate-process/index.d.ts +7 -0
- package/generate-process/src/composition/type.d.ts +1 -0
- package/generate-process/src/generate-process.component.d.ts +41 -0
- package/generate-process/src/generate-process.props.d.ts +47 -0
- package/history/index.d.ts +7 -0
- package/history/src/composition/type.d.ts +8 -0
- package/history/src/history.component.d.ts +15 -0
- package/history/src/history.props.d.ts +14 -0
- package/index.css +1 -0
- package/index.d.ts +8 -0
- package/markdown/index.d.ts +8 -0
- package/markdown/src/markdown.component.d.ts +12 -0
- package/markdown/src/markdown.props.d.ts +10 -0
- package/markdown/src/types.d.ts +8 -0
- package/markdown-preview/index.d.ts +7 -0
- package/markdown-preview/src/markdown-preview.component.d.ts +9 -0
- package/markdown-preview/src/markdown-preview.props.d.ts +9 -0
- package/package.json +19 -0
- 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/started-todo/index.d.ts +8 -0
- package/started-todo/src/started-todo.component.d.ts +108 -0
- package/started-todo/src/started-todo.props.d.ts +54 -0
- package/started-todo/src/types.d.ts +9 -0
- package/suggestion/index.d.ts +7 -0
- package/suggestion/src/composition/type.d.ts +6 -0
- package/suggestion/src/suggestion.component.d.ts +37 -0
- package/suggestion/src/suggestion.props.d.ts +34 -0
- package/todo/index.d.ts +12 -0
- package/todo/src/components/todo-list-item-view.component.d.ts +112 -0
- package/todo/src/components/todo-list-item-view.props.d.ts +57 -0
- package/todo/src/components/todo-list-view.d.ts +17 -0
- package/todo/src/components/todo-list-view.props.d.ts +11 -0
- package/todo/src/composition/status-icon.d.ts +6 -0
- package/todo/src/composition/type.d.ts +32 -0
- package/todo/src/todo.component.d.ts +41 -0
- package/todo/src/todo.props.d.ts +24 -0
- package/tool-use/index.d.ts +6 -0
- package/tool-use/src/tool-use.component.d.ts +19 -0
- 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/widget-container/index.d.ts +8 -0
- package/widget-container/src/composition/class/stage.class.d.ts +10 -0
- package/widget-container/src/composition/types.d.ts +24 -0
- package/widget-container/src/composition/use-deep-equal.d.ts +3 -0
- package/widget-container/src/composition/use-load-widget.d.ts +5 -0
- package/widget-container/src/widget-container.component.d.ts +28 -0
- package/widget-container/src/widget-container.props.d.ts +35 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Plugin } from 'vue';
|
|
2
|
+
import { default as FXFileOperation } from './src/file-operation.component';
|
|
3
|
+
|
|
4
|
+
export * from './src/file-operation.props';
|
|
5
|
+
export * from './src/types';
|
|
6
|
+
export { FXFileOperation };
|
|
7
|
+
declare const _default: typeof FXFileOperation & Plugin;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
content: {
|
|
3
|
+
type: import('vue').PropType<import('./types').MessageContentFileOperation>;
|
|
4
|
+
required: boolean;
|
|
5
|
+
};
|
|
6
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
content: {
|
|
8
|
+
type: import('vue').PropType<import('./types').MessageContentFileOperation>;
|
|
9
|
+
required: boolean;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { MessageContentFileOperation } from './types';
|
|
3
|
+
|
|
4
|
+
export declare const fileOperationMessageProps: {
|
|
5
|
+
content: {
|
|
6
|
+
type: PropType<MessageContentFileOperation>;
|
|
7
|
+
required: boolean;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type FileOperationMessageProps = ExtractPropTypes<typeof fileOperationMessageProps>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** 文件操作摘要 */
|
|
2
|
+
export interface FileOperationSummary {
|
|
3
|
+
explored: number;
|
|
4
|
+
searched: number;
|
|
5
|
+
}
|
|
6
|
+
/** 文件操作详情 - 文本类型 */
|
|
7
|
+
export interface FileOperationDetailText {
|
|
8
|
+
title: string;
|
|
9
|
+
text: string;
|
|
10
|
+
}
|
|
11
|
+
/** 文件操作详情 - 文件类型 */
|
|
12
|
+
export interface FileOperationDetailFile {
|
|
13
|
+
icon: string;
|
|
14
|
+
file: string;
|
|
15
|
+
path: string;
|
|
16
|
+
}
|
|
17
|
+
/** 文件操作详情 */
|
|
18
|
+
export type FileOperationDetail = FileOperationDetailText | FileOperationDetailFile;
|
|
19
|
+
/** 单条文件操作 */
|
|
20
|
+
export interface FileOperationItem {
|
|
21
|
+
type: string;
|
|
22
|
+
message: string;
|
|
23
|
+
details?: FileOperationDetail[];
|
|
24
|
+
}
|
|
25
|
+
/** 文件操作类型消息内容 */
|
|
26
|
+
export interface MessageContentFileOperation {
|
|
27
|
+
type: 'FileOperation';
|
|
28
|
+
summary?: FileOperationSummary;
|
|
29
|
+
operations: FileOperationItem[];
|
|
30
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Plugin } from 'vue';
|
|
2
|
+
import { default as FXGenerateProcess } from './src/generate-process.component';
|
|
3
|
+
|
|
4
|
+
export * from './src/generate-process.props';
|
|
5
|
+
export { FXGenerateProcess };
|
|
6
|
+
declare const _default: typeof FXGenerateProcess & Plugin;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AppearanceType = "icon" | "description" | "progress-bar" | "progress-text";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
progress: number;
|
|
3
|
+
customClass: string | string[] | Record<string, boolean>;
|
|
4
|
+
icon: string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}>;
|
|
7
|
+
visible: boolean;
|
|
8
|
+
classNames: Record<import('./composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
|
|
9
|
+
customStyle: string | import('vue').CSSProperties;
|
|
10
|
+
styles: Record<import('./composition/type').AppearanceType, import('vue').CSSProperties>;
|
|
11
|
+
showProgress: boolean;
|
|
12
|
+
description?: string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}> | undefined;
|
|
15
|
+
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, "closed", import('vue').PublicProps, Readonly<{
|
|
16
|
+
progress: number;
|
|
17
|
+
customClass: string | string[] | Record<string, boolean>;
|
|
18
|
+
icon: string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}>;
|
|
21
|
+
visible: boolean;
|
|
22
|
+
classNames: Record<import('./composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
|
|
23
|
+
customStyle: string | import('vue').CSSProperties;
|
|
24
|
+
styles: Record<import('./composition/type').AppearanceType, import('vue').CSSProperties>;
|
|
25
|
+
showProgress: boolean;
|
|
26
|
+
description?: string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}> | undefined;
|
|
29
|
+
}> & Readonly<{}>, {
|
|
30
|
+
progress: number;
|
|
31
|
+
customClass: string | string[] | Record<string, boolean>;
|
|
32
|
+
icon: string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}>;
|
|
35
|
+
visible: boolean;
|
|
36
|
+
classNames: Record<import('./composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
|
|
37
|
+
customStyle: string | import('vue').CSSProperties;
|
|
38
|
+
styles: Record<import('./composition/type').AppearanceType, import('vue').CSSProperties>;
|
|
39
|
+
showProgress: boolean;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { CSSProperties, ExtractPropTypes, PropType, VNode } from 'vue';
|
|
2
|
+
import { AppearanceType } from './composition/type';
|
|
3
|
+
|
|
4
|
+
export declare const generateProcessProps: {
|
|
5
|
+
visible: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
/** 描述 */
|
|
10
|
+
description: PropType<string | VNode>;
|
|
11
|
+
/** 当前进度百分比,0~100 */
|
|
12
|
+
progress: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
/** 是否显示进度条 */
|
|
17
|
+
showProgress: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
/** 图标(可选) */
|
|
22
|
+
icon: {
|
|
23
|
+
type: PropType<string | VNode>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
/** 自定义类名 */
|
|
27
|
+
customClass: {
|
|
28
|
+
type: PropType<string | string[] | Record<string, boolean>>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
/** 自定义样式 */
|
|
32
|
+
customStyle: {
|
|
33
|
+
type: PropType<CSSProperties | string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
/** 各部分自定义样式 */
|
|
37
|
+
styles: {
|
|
38
|
+
type: PropType<Record<AppearanceType, CSSProperties>>;
|
|
39
|
+
default: () => {};
|
|
40
|
+
};
|
|
41
|
+
/** 各部分自定义类名 */
|
|
42
|
+
classNames: {
|
|
43
|
+
type: PropType<Record<AppearanceType, string | string[] | Record<string, boolean>>>;
|
|
44
|
+
default: () => {};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export type GenerateProcessProps = ExtractPropTypes<typeof generateProcessProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ChatHistoryItem } from './composition/type';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
title: string;
|
|
5
|
+
items: ChatHistoryItem[];
|
|
6
|
+
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "itemClick"[], "itemClick", import('vue').PublicProps, Readonly<{
|
|
7
|
+
title: string;
|
|
8
|
+
items: ChatHistoryItem[];
|
|
9
|
+
}> & Readonly<{
|
|
10
|
+
onItemClick?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
title: string;
|
|
13
|
+
items: ChatHistoryItem[];
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { ChatHistoryItem } from './composition/type';
|
|
3
|
+
|
|
4
|
+
export declare const chatHistoryProps: {
|
|
5
|
+
title: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
items: {
|
|
10
|
+
type: PropType<ChatHistoryItem[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type ChatHistoryProps = ExtractPropTypes<typeof chatHistoryProps>;
|