@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.
Files changed (140) hide show
  1. package/app-preview/index.d.ts +8 -0
  2. package/app-preview/src/app-preview.component.d.ts +22 -0
  3. package/app-preview/src/app-preview.props.d.ts +14 -0
  4. package/app-preview/src/types.d.ts +37 -0
  5. package/attachment-preview/index.d.ts +8 -0
  6. package/attachment-preview/src/attachment-preview.component.d.ts +20 -0
  7. package/attachment-preview/src/attachment-preview.props.d.ts +13 -0
  8. package/attachment-preview/src/types.d.ts +27 -0
  9. package/bubble/index.d.ts +10 -0
  10. package/bubble/src/bubble.component.d.ts +119 -0
  11. package/bubble/src/bubble.props.d.ts +79 -0
  12. package/bubble/src/components/action/bubble-action.component.d.ts +11 -0
  13. package/bubble/src/components/action/bubble-action.props.d.ts +15 -0
  14. package/bubble/src/components/attachment/bubble-attachment.component.d.ts +16 -0
  15. package/bubble/src/components/attachment/bubble-attachment.props.d.ts +18 -0
  16. package/bubble/src/components/bubble-think/bubble-think.component.d.ts +10 -0
  17. package/bubble/src/components/bubble-think/bubble-think.props.d.ts +16 -0
  18. package/bubble/src/components/bubble-thought-chain/bubble-thought-chain.component.d.ts +6 -0
  19. package/bubble/src/components/bubble-thought-chain/bubble-thought-chain.props.d.ts +9 -0
  20. package/bubble/src/components/embedded-content/file/file-embedded-content.component.d.ts +16 -0
  21. package/bubble/src/components/embedded-content/file/file-embedded-content.props.d.ts +26 -0
  22. package/bubble/src/components/embedded-content/page/page-embedded-content.component.d.ts +13 -0
  23. package/bubble/src/components/embedded-content/page/page-embedded-content.props.d.ts +20 -0
  24. package/bubble/src/components/header/content-header.component.d.ts +6 -0
  25. package/bubble/src/components/header/sender-header.component.d.ts +6 -0
  26. package/bubble/src/components/text-content/text-content.component.d.ts +20 -0
  27. package/bubble/src/components/text-content/text-content.props.d.ts +32 -0
  28. package/bubble/src/composition/types.d.ts +153 -0
  29. package/bubble/src/composition/use-attachment.d.ts +5 -0
  30. package/bubble/src/composition/use-embedded-content.d.ts +12 -0
  31. package/bubble/src/composition/use-widget-content.d.ts +47 -0
  32. package/bubble/test/bubble.spec.d.ts +1 -0
  33. package/carousel/index.d.ts +10 -0
  34. package/carousel/src/carousel.component.d.ts +169 -0
  35. package/carousel/src/carousel.props.d.ts +94 -0
  36. package/carousel/src/components/carousel-item.component.d.ts +61 -0
  37. package/carousel/src/components/carousel-item.props.d.ts +35 -0
  38. package/carousel/src/composition/type.d.ts +27 -0
  39. package/carousel/src/composition/use-carousel.d.ts +23 -0
  40. package/carousel/test/carousel.spec.d.ts +1 -0
  41. package/chat-preview/index.d.ts +13 -0
  42. package/chat-preview/src/agent-workbench-sdk.d.ts +61 -0
  43. package/chat-preview/src/chat-preview.component.d.ts +34 -0
  44. package/chat-preview/src/chat-preview.props.d.ts +19 -0
  45. package/chat-preview/src/preview-bridge-protocol.d.ts +22 -0
  46. package/chat-preview/src/preview-chrome-sdk.d.ts +28 -0
  47. package/chat-preview/src/preview-iframe-sdk.d.ts +6 -0
  48. package/coding/index.d.ts +8 -0
  49. package/coding/src/coding.component.d.ts +12 -0
  50. package/coding/src/coding.props.d.ts +10 -0
  51. package/coding/src/types.d.ts +23 -0
  52. package/common/index.d.ts +7 -0
  53. package/common/src/runtime-attachment-download.d.ts +16 -0
  54. package/common/src/types.d.ts +2 -0
  55. package/common/src/use-appearance.d.ts +14 -0
  56. package/common/src/use-render.d.ts +15 -0
  57. package/common/src/use-sequential-streaming.d.ts +19 -0
  58. package/common/src/use-streaming-output.d.ts +18 -0
  59. package/common/src/use-timer.d.ts +7 -0
  60. package/components.d.ts +40 -0
  61. package/confirm-dialog/index.d.ts +7 -0
  62. package/confirm-dialog/src/confirm-dialog.component.d.ts +38 -0
  63. package/confirm-dialog/src/confirm-dialog.props.d.ts +33 -0
  64. package/dynamic-component/index.d.ts +7 -0
  65. package/dynamic-component/src/composition/dynamic-component-registry.d.ts +9 -0
  66. package/dynamic-component/src/composition/types.d.ts +18 -0
  67. package/dynamic-component/src/composition/use-dynamic-component-parser.d.ts +14 -0
  68. package/dynamic-component/src/dynamic-component.component.d.ts +15 -0
  69. package/enterprise-cloud/index.d.ts +16 -0
  70. package/enterprise-cloud/src/agent-thinking.component.d.ts +15 -0
  71. package/enterprise-cloud/src/attachment-file.component.d.ts +15 -0
  72. package/enterprise-cloud/src/error-reminder.component.d.ts +15 -0
  73. package/enterprise-cloud/src/hitl-question.component.d.ts +43 -0
  74. package/enterprise-cloud/src/input-recommend.component.d.ts +25 -0
  75. package/enterprise-cloud/src/link-card.component.d.ts +15 -0
  76. package/enterprise-cloud/src/reference-sources.component.d.ts +15 -0
  77. package/enterprise-cloud/src/types.d.ts +155 -0
  78. package/enterprise-cloud/src/unknown-enterprise.component.d.ts +15 -0
  79. package/enterprise-cloud/src/user-auth.component.d.ts +25 -0
  80. package/farris.x-ui.esm.js +13185 -0
  81. package/farris.x-ui.umd.cjs +108 -0
  82. package/file-operation/index.d.ts +8 -0
  83. package/file-operation/src/file-operation.component.d.ts +12 -0
  84. package/file-operation/src/file-operation.props.d.ts +10 -0
  85. package/file-operation/src/types.d.ts +30 -0
  86. package/generate-process/index.d.ts +7 -0
  87. package/generate-process/src/composition/type.d.ts +1 -0
  88. package/generate-process/src/generate-process.component.d.ts +41 -0
  89. package/generate-process/src/generate-process.props.d.ts +47 -0
  90. package/history/index.d.ts +7 -0
  91. package/history/src/composition/type.d.ts +8 -0
  92. package/history/src/history.component.d.ts +15 -0
  93. package/history/src/history.props.d.ts +14 -0
  94. package/index.css +1 -0
  95. package/index.d.ts +8 -0
  96. package/markdown/index.d.ts +8 -0
  97. package/markdown/src/markdown.component.d.ts +12 -0
  98. package/markdown/src/markdown.props.d.ts +10 -0
  99. package/markdown/src/types.d.ts +8 -0
  100. package/markdown-preview/index.d.ts +7 -0
  101. package/markdown-preview/src/markdown-preview.component.d.ts +9 -0
  102. package/markdown-preview/src/markdown-preview.props.d.ts +9 -0
  103. package/package.json +19 -0
  104. package/prompts/index.d.ts +9 -0
  105. package/prompts/src/components/prompt.component.d.ts +131 -0
  106. package/prompts/src/components/prompt.props.d.ts +79 -0
  107. package/prompts/src/composition/type.d.ts +34 -0
  108. package/prompts/src/prompts.component.d.ts +46 -0
  109. package/prompts/src/prompts.props.d.ts +61 -0
  110. package/started-todo/index.d.ts +8 -0
  111. package/started-todo/src/started-todo.component.d.ts +108 -0
  112. package/started-todo/src/started-todo.props.d.ts +54 -0
  113. package/started-todo/src/types.d.ts +9 -0
  114. package/suggestion/index.d.ts +7 -0
  115. package/suggestion/src/composition/type.d.ts +6 -0
  116. package/suggestion/src/suggestion.component.d.ts +37 -0
  117. package/suggestion/src/suggestion.props.d.ts +34 -0
  118. package/todo/index.d.ts +12 -0
  119. package/todo/src/components/todo-list-item-view.component.d.ts +112 -0
  120. package/todo/src/components/todo-list-item-view.props.d.ts +57 -0
  121. package/todo/src/components/todo-list-view.d.ts +17 -0
  122. package/todo/src/components/todo-list-view.props.d.ts +11 -0
  123. package/todo/src/composition/status-icon.d.ts +6 -0
  124. package/todo/src/composition/type.d.ts +32 -0
  125. package/todo/src/todo.component.d.ts +41 -0
  126. package/todo/src/todo.props.d.ts +24 -0
  127. package/tool-use/index.d.ts +6 -0
  128. package/tool-use/src/tool-use.component.d.ts +19 -0
  129. package/welcome/index.d.ts +7 -0
  130. package/welcome/src/composition/type.d.ts +1 -0
  131. package/welcome/src/welcome.component.d.ts +35 -0
  132. package/welcome/src/welcome.props.d.ts +30 -0
  133. package/welcome/test/welcome.spec.d.ts +1 -0
  134. package/widget-container/index.d.ts +8 -0
  135. package/widget-container/src/composition/class/stage.class.d.ts +10 -0
  136. package/widget-container/src/composition/types.d.ts +24 -0
  137. package/widget-container/src/composition/use-deep-equal.d.ts +3 -0
  138. package/widget-container/src/composition/use-load-widget.d.ts +5 -0
  139. package/widget-container/src/widget-container.component.d.ts +28 -0
  140. 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,7 @@
1
+ import { Plugin } from 'vue';
2
+ import { default as FXHistory } from './src/history.component';
3
+
4
+ export * from './src/history.props';
5
+ export { FXHistory };
6
+ declare const _default: typeof FXHistory & Plugin;
7
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { VNode } from 'vue';
2
+
3
+ export interface ChatHistoryItem {
4
+ id: string;
5
+ title: string;
6
+ icon?: string | VNode;
7
+ timestamp: number;
8
+ }
@@ -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>;