@ant-design/agentic-ui 2.29.24 → 2.29.26
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/dist/AILabel/index.js +1 -1
- package/dist/AgentRunBar/Robot.js +1 -1
- package/dist/AgentRunBar/index.js +1 -1
- package/dist/AgenticLayout/index.js +1 -1
- package/dist/AnswerAlert/index.js +1 -1
- package/dist/BackTo/ScrollVisibleButton.js +1 -1
- package/dist/Bubble/AIBubble.js +1 -1
- package/dist/Bubble/Avatar/index.js +1 -1
- package/dist/Bubble/BubbleConfigProvide.d.ts +3 -2
- package/dist/Bubble/BubbleConfigProvide.js +1 -2
- package/dist/Bubble/List/PureBubbleList.d.ts +4 -4
- package/dist/Bubble/List/PureBubbleList.js +1 -1
- package/dist/Bubble/List/index.d.ts +5 -5
- package/dist/Bubble/List/index.js +1 -1
- package/dist/Bubble/MessagesContent/BubbleExtra.js +27 -32
- package/dist/Bubble/MessagesContent/CopyButton/index.js +5 -4
- package/dist/Bubble/MessagesContent/DocInfo.js +1 -1
- package/dist/Bubble/MessagesContent/MarkdownPreview.js +4 -1
- package/dist/Bubble/MessagesContent/VoiceButton/index.js +1 -1
- package/dist/Bubble/MessagesContent/index.js +1 -1
- package/dist/Bubble/PureBubble.js +1 -1
- package/dist/Bubble/Title.js +1 -1
- package/dist/Bubble/UserBubble.js +1 -1
- package/dist/Bubble/type.d.ts +96 -8
- package/dist/Bubble/types/BubbleExtra.d.ts +6 -4
- package/dist/ChatBootPage/ButtonTab.js +1 -1
- package/dist/ChatBootPage/CaseReply.js +1 -1
- package/dist/ChatBootPage/Title.js +1 -1
- package/dist/ChatLayout/index.js +1 -1
- package/dist/Components/ActionIconBox/index.d.ts +1 -1
- package/dist/Components/ActionIconBox/index.js +2 -2
- package/dist/Components/ActionItemBox/ActionItemBox.js +1 -1
- package/dist/Components/Button/IconButton/index.d.ts +1 -1
- package/dist/Components/Button/IconButton/index.js +1 -1
- package/dist/Components/Button/SwitchButton/index.js +1 -1
- package/dist/Components/Button/ToggleButton/index.js +1 -1
- package/dist/Components/GradientText/index.js +1 -1
- package/dist/Components/LayoutHeader/index.js +1 -1
- package/dist/Components/Loading/Loading.js +2 -2
- package/dist/Components/Robot/index.js +1 -1
- package/dist/Components/SuggestionList/index.js +1 -1
- package/dist/Components/TextAnimate/index.js +2 -2
- package/dist/Components/TypingAnimation/index.js +2 -2
- package/dist/Components/VisualList/index.d.ts +1 -1
- package/dist/Components/VisualList/index.js +1 -1
- package/dist/Components/lotties/TextLoading/index.js +1 -1
- package/dist/Components/lotties/bubble-actions/Abstract/index.js +1 -1
- package/dist/History/components/NewChatComponent.d.ts +1 -1
- package/dist/History/components/NewChatComponent.js +1 -1
- package/dist/History/components/SearchComponent.d.ts +1 -1
- package/dist/History/components/SearchComponent.js +1 -1
- package/dist/History/index.js +3 -3
- package/dist/History/menu.js +1 -1
- package/dist/History/types/index.d.ts +5 -5
- package/dist/History/types/index.js +1 -1
- package/dist/Hooks/useLanguage.d.ts +16 -0
- package/dist/I18n/index.d.ts +10 -0
- package/dist/I18n/index.js +46 -0
- package/dist/I18n/locales.d.ts +16 -0
- package/dist/I18n/locales.js +43 -5
- package/dist/MarkdownEditor/BaseMarkdownEditor.js +1 -1
- package/dist/MarkdownEditor/editor/Editor.js +1 -1
- package/dist/MarkdownEditor/editor/components/CommentList/index.js +6 -4
- package/dist/MarkdownEditor/editor/components/ContributorAvatar/index.js +1 -1
- package/dist/MarkdownEditor/editor/components/fntTag/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Comment/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/FncLeaf/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Head/ReadonlyHead.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Head/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/LinkCard/ReadonlyLinkCard.js +1 -1
- package/dist/MarkdownEditor/editor/elements/LinkCard/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/List/List.js +1 -1
- package/dist/MarkdownEditor/editor/elements/List/ListItem.js +1 -1
- package/dist/MarkdownEditor/editor/elements/List/ReadonlyList.js +1 -1
- package/dist/MarkdownEditor/editor/elements/List/ReadonlyListItem.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Mermaid/ReadonlyMermaid.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Mermaid/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Paragraph/ReadonlyParagraph.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Paragraph/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/ReadonlyTableComponent.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/SimpleTable.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/Table.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/index.js +7 -5
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/index.js +7 -5
- package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/Td/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/TagPopup/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/index.js +1 -1
- package/dist/MarkdownEditor/editor/parser/parse/parseTable.js +1 -1
- package/dist/MarkdownEditor/editor/tools/DragHandle.js +4 -2
- package/dist/MarkdownEditor/editor/tools/InsertAutocomplete.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/BaseBar.js +3 -2
- package/dist/MarkdownEditor/editor/tools/ToolBar/FloatBar.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/ReadonlyBaseBar.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/ToolBar.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/components/ClearFormatButton.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/components/ColorPickerButton.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/components/FormatButton.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/components/FormattingTools.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/components/HeadingDropdown.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/components/LinkButton.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/components/UndoRedoButtons.js +1 -1
- package/dist/MarkdownEditor/el.d.ts +1 -1
- package/dist/MarkdownEditor/types.d.ts +103 -3
- package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/AttachmentFileListItem.js +10 -7
- package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/index.js +1 -1
- package/dist/MarkdownInputField/AttachmentButton/index.js +1 -1
- package/dist/MarkdownInputField/BeforeToolContainer/BeforeToolContainer.js +1 -1
- package/dist/MarkdownInputField/FileMapView/FileMapViewItem.js +2 -2
- package/dist/MarkdownInputField/FileMapView/index.js +1 -1
- package/dist/MarkdownInputField/MarkdownInputField.js +1 -1
- package/dist/MarkdownInputField/QuickActions/index.js +1 -1
- package/dist/MarkdownInputField/SendActions/index.js +1 -1
- package/dist/MarkdownInputField/SendButton/index.js +1 -1
- package/dist/MarkdownInputField/SkillModeBar/index.js +1 -1
- package/dist/MarkdownInputField/TopOperatingArea/index.js +1 -1
- package/dist/MarkdownInputField/VoiceInput/index.js +1 -1
- package/dist/Plugins/chart/AreaChart/index.js +1 -1
- package/dist/Plugins/chart/BarChart/index.js +1 -1
- package/dist/Plugins/chart/DonutChart/index.js +1 -1
- package/dist/Plugins/chart/FunnelChart/index.js +1 -1
- package/dist/Plugins/chart/LineChart/index.js +1 -1
- package/dist/Plugins/chart/RadarChart/index.js +1 -1
- package/dist/Plugins/chart/ScatterChart/index.js +1 -1
- package/dist/Plugins/chart/components/ChartContainer/ChartContainer.js +1 -1
- package/dist/Plugins/chart/components/ChartContainer/ChartErrorBoundary.d.ts +736 -0
- package/dist/Plugins/chart/components/ChartContainer/ChartErrorBoundary.js +23 -5
- package/dist/Plugins/code/CodeUI/Katex/Katex.js +1 -1
- package/dist/Plugins/code/components/CodeContainer.js +1 -1
- package/dist/Plugins/katex/InlineKatex.js +1 -1
- package/dist/Plugins/katex/Katex.js +1 -1
- package/dist/Plugins/mermaid/MermaidFallback.js +1 -1
- package/dist/Plugins/mermaid/MermaidRendererImpl.js +1 -1
- package/dist/Plugins/mermaid/index.js +3 -2
- package/dist/Quote/index.js +1 -1
- package/dist/Schema/SchemaEditor/index.js +1 -1
- package/dist/Schema/SchemaForm/index.js +2 -2
- package/dist/TaskList/index.d.ts +6 -2
- package/dist/TaskList/index.js +1 -1
- package/dist/ThoughtChainList/DeepThink.d.ts +1 -1
- package/dist/ThoughtChainList/DotAni/index.js +1 -1
- package/dist/ThoughtChainList/FlipText/index.js +1 -1
- package/dist/ThoughtChainList/TableSql.d.ts +1 -1
- package/dist/ThoughtChainList/ThoughtChainListItem.js +1 -1
- package/dist/ThoughtChainList/TitleInfo.js +1 -1
- package/dist/ThoughtChainList/ToolCall.d.ts +1 -1
- package/dist/ThoughtChainList/WebSearch.d.ts +1 -1
- package/dist/ThoughtChainList/index.js +7 -18
- package/dist/ThoughtChainList/style.js +11 -0
- package/dist/ThoughtChainList/types.d.ts +11 -1
- package/dist/ToolUseBar/BarItem/Content.js +1 -1
- package/dist/ToolUseBar/BarItem/index.js +1 -1
- package/dist/ToolUseBar/index.js +1 -1
- package/dist/ToolUseBarThink/index.js +1 -1
- package/dist/Types/message.d.ts +12 -3
- package/dist/WelcomeMessage/index.js +1 -1
- package/dist/Workspace/Browser/index.js +1 -1
- package/dist/Workspace/File/FileComponent.d.ts +1 -1
- package/dist/Workspace/File/FileComponent.js +1 -1
- package/dist/Workspace/File/PreviewComponent.js +2 -2
- package/dist/Workspace/HtmlPreview/index.js +1 -1
- package/dist/Workspace/RealtimeFollow/index.js +1 -1
- package/dist/Workspace/Task/index.js +1 -1
- package/dist/Workspace/index.js +1 -1
- package/dist/Workspace/types.d.ts +2 -2
- package/dist/index.d.ts +68 -62
- package/dist/index.js +84 -79
- package/package.json +2 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,41 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @ant-design/agentic-ui 公共 API 入口
|
|
3
|
+
*
|
|
4
|
+
* 导出规则:
|
|
5
|
+
* 1. 每个组件仅通过其 index 导出,不深入引用内部子模块
|
|
6
|
+
* 2. 需要向外暴露的内部工具 / 类型,先在各组件 index 中 re-export,再由此处统一引用
|
|
7
|
+
* 3. 第三方类型不直接 re-export,使用自定义类型包装
|
|
8
|
+
* 4. 按功能分区,便于维护
|
|
9
|
+
*/
|
|
2
10
|
import './root.css';
|
|
11
|
+
export type { RenderElementProps } from 'slate-react';
|
|
12
|
+
export * from './Types';
|
|
3
13
|
export * from './AgenticLayout';
|
|
4
|
-
export
|
|
14
|
+
export { default as Workspace } from './Workspace';
|
|
15
|
+
export * from './Workspace';
|
|
16
|
+
export * from './Workspace/types';
|
|
5
17
|
export * from './Bubble';
|
|
6
18
|
export * from './Bubble/List';
|
|
7
19
|
export * from './Bubble/type';
|
|
20
|
+
export * from './Bubble/types/DocInfo';
|
|
21
|
+
export * from './Bubble/MessagesContent/VoiceButton/types';
|
|
8
22
|
export * from './ChatBootPage';
|
|
9
23
|
export * from './ChatLayout';
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export
|
|
19
|
-
export * from './
|
|
20
|
-
export * from './Hooks/useStyle';
|
|
21
|
-
export * from './Hooks/useThrottleFn';
|
|
22
|
-
export * from './I18n';
|
|
24
|
+
export * from './ThoughtChainList';
|
|
25
|
+
export * from './ThoughtChainList/types';
|
|
26
|
+
export * from './ToolUseBar';
|
|
27
|
+
export * from './ToolUseBarThink';
|
|
28
|
+
export * from './AgentRunBar';
|
|
29
|
+
export * from './TaskList';
|
|
30
|
+
export * from './History';
|
|
31
|
+
export * from './History/types';
|
|
32
|
+
export * from './History/types/HistoryData';
|
|
33
|
+
export * from './History/types/HistoryList';
|
|
23
34
|
export * from './MarkdownEditor';
|
|
35
|
+
export * from './MarkdownEditor/types';
|
|
36
|
+
export * from './MarkdownEditor/el';
|
|
37
|
+
export * from './MarkdownEditor/plugin';
|
|
38
|
+
export { useSelStatus } from './MarkdownEditor/hooks/editor';
|
|
24
39
|
export * from './MarkdownEditor/editor/components/index';
|
|
25
40
|
export * from './MarkdownEditor/editor/elements/Table/Table';
|
|
26
41
|
export * from './MarkdownEditor/editor/elements/Table/TableContext';
|
|
@@ -31,65 +46,56 @@ export * from './MarkdownEditor/editor/store';
|
|
|
31
46
|
export * from './MarkdownEditor/editor/utils';
|
|
32
47
|
export * from './MarkdownEditor/editor/utils/docx/index';
|
|
33
48
|
export * from './MarkdownEditor/editor/utils/markdownToHtml';
|
|
34
|
-
export * from './ToolUseBarThink';
|
|
35
|
-
export * from './Types';
|
|
36
|
-
export { default as Workspace } from './Workspace';
|
|
37
|
-
export * from './AILabel';
|
|
38
|
-
export * from './AnswerAlert';
|
|
39
|
-
export * from './BackTo';
|
|
40
|
-
export { ActionItemBox } from './Components/ActionItemBox';
|
|
41
|
-
export * from './History';
|
|
42
49
|
export * from './MarkdownEditor/editor/utils/htmlToMarkdown';
|
|
43
|
-
export * from './MarkdownEditor/
|
|
44
|
-
export
|
|
45
|
-
export * from './MarkdownEditor/plugin';
|
|
50
|
+
export * from './MarkdownEditor/utils/native-table/native-table-editor';
|
|
51
|
+
export * from './MarkdownInputField/MarkdownInputField';
|
|
46
52
|
export * from './MarkdownInputField/AttachmentButton';
|
|
47
|
-
export
|
|
53
|
+
export * from './MarkdownInputField/AttachmentButton/types';
|
|
54
|
+
export * from './MarkdownInputField/AttachmentButton/AttachmentFileList';
|
|
55
|
+
export * from './MarkdownInputField/AttachmentButton/AttachmentFileList/AttachmentFileListItem';
|
|
56
|
+
export * from './MarkdownInputField/AttachmentButton/utils';
|
|
48
57
|
export * from './MarkdownInputField/FileMapView';
|
|
49
|
-
export * from './MarkdownInputField/
|
|
50
|
-
export
|
|
58
|
+
export * from './MarkdownInputField/VoiceInput';
|
|
59
|
+
export { ActionItemContainer } from './MarkdownInputField/BeforeToolContainer/BeforeToolContainer';
|
|
51
60
|
export * from './Schema';
|
|
52
|
-
export * from './TaskList';
|
|
53
|
-
export * from './ThoughtChainList';
|
|
54
|
-
export * from './ToolUseBar';
|
|
55
|
-
export * from './WelcomeMessage';
|
|
56
|
-
export * from './Workspace';
|
|
57
|
-
export * from './Components/Robot';
|
|
58
|
-
export { default as Robot } from './Components/Robot';
|
|
59
|
-
export { default as Quote } from './Quote';
|
|
60
|
-
export type { QuoteProps } from './Quote';
|
|
61
|
-
export * from './Plugins/chart';
|
|
62
|
-
export * from './Plugins/mermaid';
|
|
63
|
-
export * from './MarkdownEditor/types';
|
|
64
|
-
export type { BubbleClassNames, BubbleItemStyleProps, BubbleRenderConfig, BubbleStyleProps, BubbleStyles, CustomConfig, WithFalse, } from './Bubble/type';
|
|
65
|
-
export type { CustomConfig as BubbleCustomConfig } from './Bubble/type';
|
|
66
|
-
export * from './Bubble/types/DocInfo';
|
|
67
|
-
export * from './ThoughtChainList/types';
|
|
68
|
-
export * from './History/types';
|
|
69
|
-
export * from './History/types/HistoryData';
|
|
70
|
-
export * from './History/types/HistoryList';
|
|
71
61
|
export * from './Schema/types';
|
|
72
|
-
export * from './Workspace/types';
|
|
73
|
-
export * from './MarkdownInputField/AttachmentButton/types';
|
|
74
|
-
export * from './Utils/proxySandbox/ProxySandbox';
|
|
75
|
-
export * from './Utils/proxySandbox/SecurityContextManager';
|
|
76
|
-
export * from './Utils/proxySandbox';
|
|
77
|
-
export * from './Plugins/code/components';
|
|
78
|
-
export * from './MarkdownEditor/utils/native-table/native-table-editor';
|
|
79
|
-
export * from './MarkdownEditor/el';
|
|
80
|
-
export * from './Bubble/MessagesContent/VoiceButton/types';
|
|
81
|
-
export * from './MarkdownInputField/VoiceInput';
|
|
82
62
|
export * from './Schema/SchemaRenderer/templateEngine';
|
|
83
63
|
export * from './Schema/validator';
|
|
84
|
-
export * from './
|
|
64
|
+
export * from './Plugins/formatter';
|
|
65
|
+
export * from './Plugins/chart';
|
|
66
|
+
export * from './Plugins/mermaid';
|
|
67
|
+
export * from './Plugins/code/components';
|
|
68
|
+
export * from './AILabel';
|
|
69
|
+
export * from './AnswerAlert';
|
|
70
|
+
export * from './BackTo';
|
|
71
|
+
export * from './WelcomeMessage';
|
|
72
|
+
export { default as Quote } from './Quote';
|
|
73
|
+
export type { QuoteProps } from './Quote';
|
|
74
|
+
export * from './Components/ActionIconBox';
|
|
75
|
+
export { ActionItemBox } from './Components/ActionItemBox';
|
|
76
|
+
export * from './Components/Button';
|
|
77
|
+
export * from './Components/LayoutHeader';
|
|
78
|
+
export * from './Components/Loading';
|
|
79
|
+
export * from './Components/lotties';
|
|
80
|
+
export * from './Components/SuggestionList';
|
|
81
|
+
export * from './Components/VisualList';
|
|
82
|
+
export * from './Components/Robot';
|
|
83
|
+
export { default as Robot } from './Components/Robot';
|
|
85
84
|
export * from './Components/GradientText';
|
|
86
85
|
export * from './Components/TextAnimate';
|
|
87
86
|
export * from './Components/TypingAnimation';
|
|
88
|
-
export * from './
|
|
89
|
-
export
|
|
90
|
-
export * from './
|
|
87
|
+
export * from './Hooks/useAutoScroll';
|
|
88
|
+
export { useLanguage } from './Hooks/useLanguage';
|
|
89
|
+
export * from './Hooks/useRefFunction';
|
|
90
|
+
export * from './Hooks/useStyle';
|
|
91
|
+
export * from './Hooks/useThrottleFn';
|
|
92
|
+
export * from './I18n';
|
|
93
|
+
export * from './Utils/proxySandbox';
|
|
94
|
+
export * from './Utils/proxySandbox/ProxySandbox';
|
|
95
|
+
export * from './Utils/proxySandbox/SecurityContextManager';
|
|
91
96
|
/**
|
|
92
97
|
* Schema Element Editor Chrome 插件底层 SDK
|
|
93
98
|
* @description 原始 SDK 导出,一般用户无需直接使用
|
|
99
|
+
* @deprecated @since 2.30.0 建议直接从 @schema-element-editor/host-sdk 导入
|
|
94
100
|
*/
|
|
95
101
|
export * from '@schema-element-editor/host-sdk';
|
package/dist/index.js
CHANGED
|
@@ -1,26 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @ant-design/agentic-ui 公共 API 入口
|
|
3
|
+
*
|
|
4
|
+
* 导出规则:
|
|
5
|
+
* 1. 每个组件仅通过其 index 导出,不深入引用内部子模块
|
|
6
|
+
* 2. 需要向外暴露的内部工具 / 类型,先在各组件 index 中 re-export,再由此处统一引用
|
|
7
|
+
* 3. 第三方类型不直接 re-export,使用自定义类型包装
|
|
8
|
+
* 4. 按功能分区,便于维护
|
|
9
|
+
*/ import "./root.css";
|
|
10
|
+
// ─── 通用类型 ────────────────────────────────────────────────────────────────
|
|
11
|
+
export * from "./Types";
|
|
12
|
+
// ─── 布局组件 ────────────────────────────────────────────────────────────────
|
|
3
13
|
export * from "./AgenticLayout";
|
|
4
|
-
export
|
|
14
|
+
export { default as Workspace } from "./Workspace";
|
|
15
|
+
export * from "./Workspace";
|
|
16
|
+
export * from "./Workspace/types";
|
|
17
|
+
// ─── 聊天气泡 ────────────────────────────────────────────────────────────────
|
|
5
18
|
export * from "./Bubble";
|
|
6
19
|
export * from "./Bubble/List";
|
|
7
20
|
export * from "./Bubble/type";
|
|
21
|
+
export * from "./Bubble/types/DocInfo";
|
|
22
|
+
export * from "./Bubble/MessagesContent/VoiceButton/types";
|
|
23
|
+
// ─── 聊天启动页 ──────────────────────────────────────────────────────────────
|
|
8
24
|
export * from "./ChatBootPage";
|
|
9
25
|
export * from "./ChatLayout";
|
|
10
|
-
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./
|
|
15
|
-
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./
|
|
18
|
-
|
|
19
|
-
export * from "./
|
|
20
|
-
export * from "./
|
|
21
|
-
export * from "./
|
|
22
|
-
export * from "./
|
|
26
|
+
// ─── 思维链 / 工具调用 ──────────────────────────────────────────────────────
|
|
27
|
+
export * from "./ThoughtChainList";
|
|
28
|
+
export * from "./ThoughtChainList/types";
|
|
29
|
+
export * from "./ToolUseBar";
|
|
30
|
+
export * from "./ToolUseBarThink";
|
|
31
|
+
// ─── 任务相关 ────────────────────────────────────────────────────────────────
|
|
32
|
+
export * from "./AgentRunBar";
|
|
33
|
+
export * from "./TaskList";
|
|
34
|
+
// ─── 历史记录 ────────────────────────────────────────────────────────────────
|
|
35
|
+
export * from "./History";
|
|
36
|
+
export * from "./History/types";
|
|
37
|
+
export * from "./History/types/HistoryData";
|
|
38
|
+
export * from "./History/types/HistoryList";
|
|
39
|
+
// ─── Markdown 编辑器 ─────────────────────────────────────────────────────────
|
|
23
40
|
export * from "./MarkdownEditor";
|
|
41
|
+
export * from "./MarkdownEditor/types";
|
|
42
|
+
export * from "./MarkdownEditor/el";
|
|
43
|
+
export * from "./MarkdownEditor/plugin";
|
|
44
|
+
export { useSelStatus } from "./MarkdownEditor/hooks/editor";
|
|
45
|
+
// MarkdownEditor 内部工具(保持向后兼容,后续版本考虑收敛)
|
|
24
46
|
export * from "./MarkdownEditor/editor/components/index";
|
|
25
47
|
export * from "./MarkdownEditor/editor/elements/Table/Table";
|
|
26
48
|
export * from "./MarkdownEditor/editor/elements/Table/TableContext";
|
|
@@ -31,80 +53,63 @@ export * from "./MarkdownEditor/editor/store";
|
|
|
31
53
|
export * from "./MarkdownEditor/editor/utils";
|
|
32
54
|
export * from "./MarkdownEditor/editor/utils/docx/index";
|
|
33
55
|
export * from "./MarkdownEditor/editor/utils/markdownToHtml";
|
|
34
|
-
export * from "./ToolUseBarThink";
|
|
35
|
-
export * from "./Types";
|
|
36
|
-
export { default as Workspace } from "./Workspace";
|
|
37
|
-
// HTML to Markdown conversion utilities
|
|
38
|
-
export * from "./AILabel";
|
|
39
|
-
export * from "./AnswerAlert";
|
|
40
|
-
export * from "./BackTo";
|
|
41
|
-
export { ActionItemBox } from "./Components/ActionItemBox";
|
|
42
|
-
export * from "./History";
|
|
43
56
|
export * from "./MarkdownEditor/editor/utils/htmlToMarkdown";
|
|
44
|
-
export * from "./MarkdownEditor/
|
|
45
|
-
|
|
46
|
-
export * from "./
|
|
57
|
+
export * from "./MarkdownEditor/utils/native-table/native-table-editor";
|
|
58
|
+
// ─── Markdown 输入框 ─────────────────────────────────────────────────────────
|
|
59
|
+
export * from "./MarkdownInputField/MarkdownInputField";
|
|
47
60
|
export * from "./MarkdownInputField/AttachmentButton";
|
|
48
|
-
export
|
|
61
|
+
export * from "./MarkdownInputField/AttachmentButton/types";
|
|
62
|
+
export * from "./MarkdownInputField/AttachmentButton/AttachmentFileList";
|
|
63
|
+
export * from "./MarkdownInputField/AttachmentButton/AttachmentFileList/AttachmentFileListItem";
|
|
64
|
+
export * from "./MarkdownInputField/AttachmentButton/utils";
|
|
49
65
|
export * from "./MarkdownInputField/FileMapView";
|
|
50
|
-
export * from "./MarkdownInputField/
|
|
51
|
-
export
|
|
66
|
+
export * from "./MarkdownInputField/VoiceInput";
|
|
67
|
+
export { ActionItemContainer } from "./MarkdownInputField/BeforeToolContainer/BeforeToolContainer";
|
|
68
|
+
// ─── Schema ──────────────────────────────────────────────────────────────────
|
|
52
69
|
export * from "./Schema";
|
|
53
|
-
export * from "./TaskList";
|
|
54
|
-
export * from "./ThoughtChainList";
|
|
55
|
-
export * from "./ToolUseBar";
|
|
56
|
-
export * from "./WelcomeMessage";
|
|
57
|
-
export * from "./Workspace";
|
|
58
|
-
// Robot 组件
|
|
59
|
-
export * from "./Components/Robot";
|
|
60
|
-
export { default as Robot } from "./Components/Robot";
|
|
61
|
-
// Quote 组件导出
|
|
62
|
-
export { default as Quote } from "./Quote";
|
|
63
|
-
// 新增:图表插件对外导出
|
|
64
|
-
export * from "./Plugins/chart";
|
|
65
|
-
export * from "./Plugins/mermaid";
|
|
66
|
-
export * from "./MarkdownEditor/types";
|
|
67
|
-
export * from "./Bubble/types/DocInfo";
|
|
68
|
-
export * from "./ThoughtChainList/types";
|
|
69
|
-
// History 相关类型
|
|
70
|
-
export * from "./History/types";
|
|
71
|
-
export * from "./History/types/HistoryData";
|
|
72
|
-
export * from "./History/types/HistoryList";
|
|
73
|
-
// Schema 相关类型
|
|
74
70
|
export * from "./Schema/types";
|
|
75
|
-
// Workspace 相关类型
|
|
76
|
-
export * from "./Workspace/types";
|
|
77
|
-
// AttachmentButton 相关类型
|
|
78
|
-
export * from "./MarkdownInputField/AttachmentButton/types";
|
|
79
|
-
// ProxySandbox 相关类型
|
|
80
|
-
export * from "./Utils/proxySandbox/ProxySandbox";
|
|
81
|
-
export * from "./Utils/proxySandbox/SecurityContextManager";
|
|
82
|
-
// 代理沙箱相关类型别名
|
|
83
|
-
export * from "./Utils/proxySandbox";
|
|
84
|
-
// 代码插件相关类型
|
|
85
|
-
export * from "./Plugins/code/components";
|
|
86
|
-
// Slate Table 相关类型
|
|
87
|
-
export * from "./MarkdownEditor/utils/native-table/native-table-editor";
|
|
88
|
-
// MarkdownEditor 元素类型
|
|
89
|
-
export * from "./MarkdownEditor/el";
|
|
90
|
-
// 语音相关类型
|
|
91
|
-
export * from "./Bubble/MessagesContent/VoiceButton/types";
|
|
92
|
-
// MarkdownInputField 语音识别相关类型
|
|
93
|
-
export * from "./MarkdownInputField/VoiceInput";
|
|
94
|
-
// 模板引擎类
|
|
95
71
|
export * from "./Schema/SchemaRenderer/templateEngine";
|
|
96
|
-
// Schema 验证器类
|
|
97
72
|
export * from "./Schema/validator";
|
|
98
|
-
//
|
|
99
|
-
export * from "./
|
|
100
|
-
|
|
73
|
+
// ─── 插件 ────────────────────────────────────────────────────────────────────
|
|
74
|
+
export * from "./Plugins/formatter";
|
|
75
|
+
export * from "./Plugins/chart";
|
|
76
|
+
export * from "./Plugins/mermaid";
|
|
77
|
+
export * from "./Plugins/code/components";
|
|
78
|
+
// ─── 基础 UI 组件 ────────────────────────────────────────────────────────────
|
|
79
|
+
export * from "./AILabel";
|
|
80
|
+
export * from "./AnswerAlert";
|
|
81
|
+
export * from "./BackTo";
|
|
82
|
+
export * from "./WelcomeMessage";
|
|
83
|
+
export { default as Quote } from "./Quote";
|
|
84
|
+
// ─── 通用子组件 ──────────────────────────────────────────────────────────────
|
|
85
|
+
export * from "./Components/ActionIconBox";
|
|
86
|
+
export { ActionItemBox } from "./Components/ActionItemBox";
|
|
87
|
+
export * from "./Components/Button";
|
|
88
|
+
export * from "./Components/LayoutHeader";
|
|
89
|
+
export * from "./Components/Loading";
|
|
90
|
+
export * from "./Components/lotties";
|
|
91
|
+
export * from "./Components/SuggestionList";
|
|
92
|
+
export * from "./Components/VisualList";
|
|
93
|
+
export * from "./Components/Robot";
|
|
94
|
+
export { default as Robot } from "./Components/Robot";
|
|
101
95
|
export * from "./Components/GradientText";
|
|
102
96
|
export * from "./Components/TextAnimate";
|
|
103
97
|
export * from "./Components/TypingAnimation";
|
|
104
|
-
|
|
105
|
-
export * from "./
|
|
106
|
-
export
|
|
98
|
+
// ─── Hooks ───────────────────────────────────────────────────────────────────
|
|
99
|
+
export * from "./Hooks/useAutoScroll";
|
|
100
|
+
export { useLanguage } from "./Hooks/useLanguage";
|
|
101
|
+
export * from "./Hooks/useRefFunction";
|
|
102
|
+
export * from "./Hooks/useStyle";
|
|
103
|
+
export * from "./Hooks/useThrottleFn";
|
|
104
|
+
// ─── 国际化 ──────────────────────────────────────────────────────────────────
|
|
105
|
+
export * from "./I18n";
|
|
106
|
+
// ─── 工具 / 沙箱 ────────────────────────────────────────────────────────────
|
|
107
|
+
export * from "./Utils/proxySandbox";
|
|
108
|
+
export * from "./Utils/proxySandbox/ProxySandbox";
|
|
109
|
+
export * from "./Utils/proxySandbox/SecurityContextManager";
|
|
110
|
+
// ─── 第三方 SDK re-export(向后兼容,后续版本考虑移除) ───────────────────────
|
|
107
111
|
/**
|
|
108
112
|
* Schema Element Editor Chrome 插件底层 SDK
|
|
109
113
|
* @description 原始 SDK 导出,一般用户无需直接使用
|
|
114
|
+
* @deprecated @since 2.30.0 建议直接从 @schema-element-editor/host-sdk 导入
|
|
110
115
|
*/ export * from "@schema-element-editor/host-sdk";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/agentic-ui",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.26",
|
|
4
4
|
"description": "面向智能体的 UI 组件库,提供多步推理可视化、工具调用展示、任务执行协同等 Agentic UI 能力",
|
|
5
5
|
"repository": "git@github.com:ant-design/agentic-ui.git",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
25
25
|
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
26
26
|
"prepare": "husky install && dumi setup",
|
|
27
|
-
"prepublishOnly": "father doctor && pnpm run test && pnpm run build",
|
|
28
27
|
"prettier": "prettier --write \"{src,docs,test}/**/*.{js,jsx,ts,tsx,css,less,json,md}\"",
|
|
29
28
|
"preview": "pnpm dumi preview",
|
|
30
29
|
"report:demo": "node scripts/generateDemoReport.js",
|
|
@@ -74,10 +73,8 @@
|
|
|
74
73
|
"blob-util": "^2.0.2",
|
|
75
74
|
"chart.js": "^4.5.1",
|
|
76
75
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
77
|
-
"classnames": "^2.5.1",
|
|
78
76
|
"clsx": "^2.1.1",
|
|
79
77
|
"copy-to-clipboard": "^3.3.3",
|
|
80
|
-
"cross-env": "^7.0.3",
|
|
81
78
|
"dayjs": "^1.11.19",
|
|
82
79
|
"diacritics": "^1.3.0",
|
|
83
80
|
"direction": "^1.0.4",
|
|
@@ -87,7 +84,6 @@
|
|
|
87
84
|
"is-hotkey": "^0.2.0",
|
|
88
85
|
"json5": "^2.2.3",
|
|
89
86
|
"katex": "^0.16.28",
|
|
90
|
-
"lodash": "^4.17.23",
|
|
91
87
|
"lodash-es": "^4.17.23",
|
|
92
88
|
"lottie-react": "^2.4.1",
|
|
93
89
|
"mermaid": "^11.12.2",
|
|
@@ -134,14 +130,12 @@
|
|
|
134
130
|
"@testing-library/jest-dom": "^6.9.1",
|
|
135
131
|
"@testing-library/react": "^16.3.2",
|
|
136
132
|
"@testing-library/user-event": "^14.6.1",
|
|
137
|
-
"@types/classnames": "^2.3.4",
|
|
138
133
|
"@types/diacritics": "^1.3.3",
|
|
139
134
|
"@types/dompurify": "^3.2.0",
|
|
140
135
|
"@types/flubber": "^0.4.0",
|
|
141
136
|
"@types/is-hotkey": "^0.1.10",
|
|
142
137
|
"@types/jsdom": "^21.1.7",
|
|
143
138
|
"@types/less": "^3.0.8",
|
|
144
|
-
"@types/lodash": "^4.17.23",
|
|
145
139
|
"@types/lodash-es": "^4.17.12",
|
|
146
140
|
"@types/mdast": "^4.0.4",
|
|
147
141
|
"@types/mustache": "^4.2.6",
|
|
@@ -155,6 +149,7 @@
|
|
|
155
149
|
"@vitejs/plugin-react": "^4.7.0",
|
|
156
150
|
"@vitest/coverage-istanbul": "^2.1.9",
|
|
157
151
|
"@vitest/ui": "2.1.9",
|
|
152
|
+
"cross-env": "^7.0.3",
|
|
158
153
|
"dumi": "^2.4.21",
|
|
159
154
|
"dumi-theme-antd-style": "^0.31.1",
|
|
160
155
|
"eslint": "^8.57.1",
|