@ant-design/agentic-ui 2.29.23 → 2.29.25

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 (164) hide show
  1. package/dist/AILabel/index.js +1 -1
  2. package/dist/AgentRunBar/Robot.js +1 -1
  3. package/dist/AgentRunBar/index.js +1 -1
  4. package/dist/AgenticLayout/index.js +1 -1
  5. package/dist/AnswerAlert/index.js +1 -1
  6. package/dist/BackTo/ScrollVisibleButton.js +1 -1
  7. package/dist/Bubble/AIBubble.js +1 -1
  8. package/dist/Bubble/Avatar/index.js +1 -1
  9. package/dist/Bubble/List/PureBubbleList.d.ts +4 -4
  10. package/dist/Bubble/List/PureBubbleList.js +1 -1
  11. package/dist/Bubble/List/index.d.ts +5 -5
  12. package/dist/Bubble/List/index.js +1 -1
  13. package/dist/Bubble/MessagesContent/BubbleExtra.js +1 -1
  14. package/dist/Bubble/MessagesContent/CopyButton/index.js +1 -1
  15. package/dist/Bubble/MessagesContent/DocInfo.js +1 -1
  16. package/dist/Bubble/MessagesContent/MarkdownPreview.js +15 -10
  17. package/dist/Bubble/MessagesContent/VoiceButton/index.js +1 -1
  18. package/dist/Bubble/MessagesContent/index.js +1 -1
  19. package/dist/Bubble/MessagesContent/style.js +1 -1
  20. package/dist/Bubble/PureBubble.js +1 -1
  21. package/dist/Bubble/Title.js +1 -1
  22. package/dist/Bubble/UserBubble.js +1 -1
  23. package/dist/Bubble/type.d.ts +96 -8
  24. package/dist/Bubble/types/BubbleExtra.d.ts +6 -4
  25. package/dist/ChatBootPage/ButtonTab.js +1 -1
  26. package/dist/ChatBootPage/CaseReply.js +1 -1
  27. package/dist/ChatBootPage/Title.js +1 -1
  28. package/dist/ChatLayout/index.js +1 -1
  29. package/dist/Components/ActionIconBox/index.d.ts +1 -1
  30. package/dist/Components/ActionIconBox/index.js +2 -2
  31. package/dist/Components/ActionItemBox/ActionItemBox.js +1 -1
  32. package/dist/Components/Button/IconButton/index.d.ts +1 -1
  33. package/dist/Components/Button/IconButton/index.js +1 -1
  34. package/dist/Components/Button/SwitchButton/index.js +1 -1
  35. package/dist/Components/Button/ToggleButton/index.js +1 -1
  36. package/dist/Components/GradientText/index.js +1 -1
  37. package/dist/Components/LayoutHeader/index.js +1 -1
  38. package/dist/Components/Loading/Loading.js +2 -2
  39. package/dist/Components/Robot/index.js +1 -1
  40. package/dist/Components/SuggestionList/index.js +1 -1
  41. package/dist/Components/TextAnimate/index.js +2 -2
  42. package/dist/Components/TypingAnimation/index.js +2 -2
  43. package/dist/Components/VisualList/index.d.ts +1 -1
  44. package/dist/Components/VisualList/index.js +1 -1
  45. package/dist/Components/lotties/TextLoading/index.js +1 -1
  46. package/dist/Components/lotties/bubble-actions/Abstract/index.js +1 -1
  47. package/dist/History/components/NewChatComponent.d.ts +1 -1
  48. package/dist/History/components/NewChatComponent.js +1 -1
  49. package/dist/History/components/SearchComponent.d.ts +1 -1
  50. package/dist/History/components/SearchComponent.js +1 -1
  51. package/dist/History/index.js +1 -1
  52. package/dist/History/menu.js +1 -1
  53. package/dist/History/types/index.d.ts +5 -5
  54. package/dist/History/types/index.js +1 -1
  55. package/dist/Hooks/useLanguage.d.ts +16 -0
  56. package/dist/I18n/locales.d.ts +16 -0
  57. package/dist/I18n/locales.js +43 -5
  58. package/dist/MarkdownEditor/BaseMarkdownEditor.js +1 -1
  59. package/dist/MarkdownEditor/editor/Editor.js +1 -1
  60. package/dist/MarkdownEditor/editor/components/CommentList/index.js +6 -4
  61. package/dist/MarkdownEditor/editor/components/ContributorAvatar/index.js +1 -1
  62. package/dist/MarkdownEditor/editor/components/fntTag/index.js +1 -1
  63. package/dist/MarkdownEditor/editor/elements/Comment/index.js +1 -1
  64. package/dist/MarkdownEditor/editor/elements/FncLeaf/index.js +1 -1
  65. package/dist/MarkdownEditor/editor/elements/Head/ReadonlyHead.js +1 -1
  66. package/dist/MarkdownEditor/editor/elements/Head/index.js +1 -1
  67. package/dist/MarkdownEditor/editor/elements/LinkCard/ReadonlyLinkCard.js +1 -1
  68. package/dist/MarkdownEditor/editor/elements/LinkCard/index.js +1 -1
  69. package/dist/MarkdownEditor/editor/elements/List/List.js +1 -1
  70. package/dist/MarkdownEditor/editor/elements/List/ListItem.js +1 -1
  71. package/dist/MarkdownEditor/editor/elements/List/ReadonlyList.js +1 -1
  72. package/dist/MarkdownEditor/editor/elements/List/ReadonlyListItem.js +1 -1
  73. package/dist/MarkdownEditor/editor/elements/Mermaid/ReadonlyMermaid.js +1 -1
  74. package/dist/MarkdownEditor/editor/elements/Mermaid/index.js +1 -1
  75. package/dist/MarkdownEditor/editor/elements/Paragraph/ReadonlyParagraph.js +1 -1
  76. package/dist/MarkdownEditor/editor/elements/Paragraph/index.js +1 -1
  77. package/dist/MarkdownEditor/editor/elements/Table/ReadonlyTableComponent.js +1 -1
  78. package/dist/MarkdownEditor/editor/elements/Table/SimpleTable.js +1 -1
  79. package/dist/MarkdownEditor/editor/elements/Table/Table.js +1 -1
  80. package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/index.js +7 -5
  81. package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/index.js +7 -5
  82. package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/index.js +1 -1
  83. package/dist/MarkdownEditor/editor/elements/Table/Td/index.js +1 -1
  84. package/dist/MarkdownEditor/editor/elements/TagPopup/index.js +1 -1
  85. package/dist/MarkdownEditor/editor/elements/index.js +1 -1
  86. package/dist/MarkdownEditor/editor/parser/parse/parseTable.js +1 -1
  87. package/dist/MarkdownEditor/editor/tools/DragHandle.js +4 -2
  88. package/dist/MarkdownEditor/editor/tools/InsertAutocomplete.js +1 -1
  89. package/dist/MarkdownEditor/editor/tools/ToolBar/BaseBar.js +3 -2
  90. package/dist/MarkdownEditor/editor/tools/ToolBar/FloatBar.js +1 -1
  91. package/dist/MarkdownEditor/editor/tools/ToolBar/ReadonlyBaseBar.js +1 -1
  92. package/dist/MarkdownEditor/editor/tools/ToolBar/ToolBar.js +1 -1
  93. package/dist/MarkdownEditor/editor/tools/ToolBar/components/ClearFormatButton.js +1 -1
  94. package/dist/MarkdownEditor/editor/tools/ToolBar/components/ColorPickerButton.js +1 -1
  95. package/dist/MarkdownEditor/editor/tools/ToolBar/components/FormatButton.js +1 -1
  96. package/dist/MarkdownEditor/editor/tools/ToolBar/components/FormattingTools.js +1 -1
  97. package/dist/MarkdownEditor/editor/tools/ToolBar/components/HeadingDropdown.js +1 -1
  98. package/dist/MarkdownEditor/editor/tools/ToolBar/components/LinkButton.js +1 -1
  99. package/dist/MarkdownEditor/editor/tools/ToolBar/components/UndoRedoButtons.js +1 -1
  100. package/dist/MarkdownEditor/el.d.ts +1 -1
  101. package/dist/MarkdownEditor/types.d.ts +103 -3
  102. package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/AttachmentFileListItem.js +10 -7
  103. package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/index.js +1 -1
  104. package/dist/MarkdownInputField/AttachmentButton/index.js +1 -1
  105. package/dist/MarkdownInputField/BeforeToolContainer/BeforeToolContainer.js +1 -1
  106. package/dist/MarkdownInputField/FileMapView/FileMapViewItem.js +2 -2
  107. package/dist/MarkdownInputField/FileMapView/index.js +1 -1
  108. package/dist/MarkdownInputField/MarkdownInputField.js +1 -1
  109. package/dist/MarkdownInputField/QuickActions/index.js +1 -1
  110. package/dist/MarkdownInputField/SendActions/index.js +1 -1
  111. package/dist/MarkdownInputField/SendButton/index.js +1 -1
  112. package/dist/MarkdownInputField/SkillModeBar/index.js +1 -1
  113. package/dist/MarkdownInputField/TopOperatingArea/index.js +1 -1
  114. package/dist/MarkdownInputField/VoiceInput/index.js +1 -1
  115. package/dist/Plugins/chart/AreaChart/index.js +1 -1
  116. package/dist/Plugins/chart/BarChart/index.js +1 -1
  117. package/dist/Plugins/chart/DonutChart/index.js +1 -1
  118. package/dist/Plugins/chart/FunnelChart/index.js +1 -1
  119. package/dist/Plugins/chart/LineChart/index.js +1 -1
  120. package/dist/Plugins/chart/RadarChart/index.js +1 -1
  121. package/dist/Plugins/chart/ScatterChart/index.js +1 -1
  122. package/dist/Plugins/chart/components/ChartContainer/ChartContainer.js +1 -1
  123. package/dist/Plugins/chart/components/ChartContainer/ChartErrorBoundary.d.ts +736 -0
  124. package/dist/Plugins/chart/components/ChartContainer/ChartErrorBoundary.js +23 -5
  125. package/dist/Plugins/code/CodeUI/Katex/Katex.js +1 -1
  126. package/dist/Plugins/code/components/CodeContainer.js +1 -1
  127. package/dist/Plugins/katex/InlineKatex.js +1 -1
  128. package/dist/Plugins/katex/Katex.js +1 -1
  129. package/dist/Plugins/mermaid/MermaidFallback.js +1 -1
  130. package/dist/Plugins/mermaid/MermaidRendererImpl.js +1 -1
  131. package/dist/Plugins/mermaid/index.js +3 -2
  132. package/dist/Quote/index.js +1 -1
  133. package/dist/Schema/SchemaEditor/index.js +1 -1
  134. package/dist/TaskList/index.d.ts +6 -2
  135. package/dist/TaskList/index.js +1 -1
  136. package/dist/ThoughtChainList/DeepThink.d.ts +1 -1
  137. package/dist/ThoughtChainList/DotAni/index.js +1 -1
  138. package/dist/ThoughtChainList/FlipText/index.js +1 -1
  139. package/dist/ThoughtChainList/TableSql.d.ts +1 -1
  140. package/dist/ThoughtChainList/ThoughtChainListItem.js +1 -1
  141. package/dist/ThoughtChainList/TitleInfo.js +1 -1
  142. package/dist/ThoughtChainList/ToolCall.d.ts +1 -1
  143. package/dist/ThoughtChainList/WebSearch.d.ts +1 -1
  144. package/dist/ThoughtChainList/index.js +7 -18
  145. package/dist/ThoughtChainList/style.js +11 -0
  146. package/dist/ThoughtChainList/types.d.ts +11 -1
  147. package/dist/ToolUseBar/BarItem/Content.js +1 -1
  148. package/dist/ToolUseBar/BarItem/index.js +1 -1
  149. package/dist/ToolUseBar/index.js +1 -1
  150. package/dist/ToolUseBarThink/index.js +1 -1
  151. package/dist/Types/message.d.ts +12 -3
  152. package/dist/WelcomeMessage/index.js +1 -1
  153. package/dist/Workspace/Browser/index.js +1 -1
  154. package/dist/Workspace/File/FileComponent.d.ts +1 -1
  155. package/dist/Workspace/File/FileComponent.js +1 -1
  156. package/dist/Workspace/File/PreviewComponent.js +2 -2
  157. package/dist/Workspace/HtmlPreview/index.js +1 -1
  158. package/dist/Workspace/RealtimeFollow/index.js +1 -1
  159. package/dist/Workspace/Task/index.js +1 -1
  160. package/dist/Workspace/index.js +1 -1
  161. package/dist/Workspace/types.d.ts +2 -2
  162. package/dist/index.d.ts +68 -62
  163. package/dist/index.js +84 -79
  164. package/package.json +2 -6
@@ -1,4 +1,5 @@
1
1
  import React, { ErrorInfo, ReactNode } from 'react';
2
+ import { I18nContext } from '../../../../I18n';
2
3
  export interface ChartErrorBoundaryProps {
3
4
  /** 子元素 */
4
5
  children: ReactNode;
@@ -39,6 +40,741 @@ export interface ChartErrorBoundaryState {
39
40
  * @returns {React.ReactElement} 渲染的错误边界组件
40
41
  */
41
42
  declare class ChartErrorBoundary extends React.Component<ChartErrorBoundaryProps, ChartErrorBoundaryState> {
43
+ static contextType: React.Context<{
44
+ locale: {
45
+ attachmentSingleMax: string;
46
+ table: string;
47
+ column: string;
48
+ quote: string; /** 错误时的回退UI */
49
+ code: string;
50
+ attachmentSupportedFormats: string;
51
+ localeImage: string;
52
+ 'b-list': string;
53
+ 'n-list': string;
54
+ 't-list': string;
55
+ head1: string;
56
+ head2: string;
57
+ head3: string;
58
+ deleteMedia: string;
59
+ confirmDelete: string;
60
+ delete: string;
61
+ assignTo: string;
62
+ previewTable: string;
63
+ copy: string;
64
+ copySuccess: string;
65
+ uploadSuccess: string;
66
+ uploading: string;
67
+ uploadFailed: string;
68
+ pieChart: string;
69
+ donutChart: string;
70
+ radarChart: string;
71
+ scatterChart: string;
72
+ funnelChart: string;
73
+ configChart: string;
74
+ updateChart: string;
75
+ barChart: string;
76
+ lineChart: string;
77
+ columnChart: string;
78
+ areaChart: string;
79
+ descriptions: string;
80
+ dataTime: string;
81
+ columns: string;
82
+ all: string;
83
+ TableSql: string;
84
+ ToolCall: string;
85
+ RagRetrieval: string;
86
+ DeepThink: string;
87
+ WebSearch: string;
88
+ other: string;
89
+ preview: string;
90
+ expand: string;
91
+ bold: string;
92
+ italic: string;
93
+ strikethrough: string;
94
+ 'inline-code': string;
95
+ 'font-color': string;
96
+ collapse: string;
97
+ fullScreen: string;
98
+ taskFinished: string;
99
+ taskCost: string;
100
+ taskComplete: string;
101
+ taskAborted: string;
102
+ inProgressTask: string;
103
+ totalTimeUsed: string;
104
+ edit: string;
105
+ multipleKnowledgeBases: string;
106
+ multipleTables: string;
107
+ multipleTools: string;
108
+ multipleData: string;
109
+ executeSQL: string;
110
+ cancel: string;
111
+ retry: string;
112
+ executing: string;
113
+ queryResults: string;
114
+ queryFailed: string;
115
+ addComment: string;
116
+ searchResults: string;
117
+ thinking: string;
118
+ queryKeyWords: string;
119
+ executionResult: string;
120
+ deepThinkingInProgress: string;
121
+ taskExecutionFailed: string;
122
+ executionParameters: string;
123
+ apiCalling: string;
124
+ networkQuerying: string;
125
+ 'think.deepThinking': string;
126
+ 'think.deepThinkingInProgress': string;
127
+ switchLanguage: string;
128
+ welcome: string;
129
+ insertLink: string;
130
+ clearFormatting: string;
131
+ undo: string;
132
+ redo: string;
133
+ thoughtChainTitle: string;
134
+ thoughtChainDescription: string;
135
+ requestBody: string;
136
+ urlParameters: string;
137
+ queryParameters: string;
138
+ searchKeywords: string;
139
+ toolDescription: string;
140
+ httpMethod: string;
141
+ toolName: string;
142
+ apiPath: string;
143
+ requestData: string;
144
+ requestParamsString: string;
145
+ responseBody: string;
146
+ responseStatus: string;
147
+ toolSetId: string;
148
+ toolSetVersion: string;
149
+ toolInstanceId: string;
150
+ errorMessage: string;
151
+ apiResponse: string;
152
+ documentChunks: string;
153
+ tableData: string;
154
+ columnNames: string;
155
+ documentPreview: string;
156
+ loading: string;
157
+ finished: string;
158
+ aborted: string;
159
+ timeUsed: string;
160
+ seconds: string;
161
+ minutes: string;
162
+ hours: string;
163
+ days: string;
164
+ inputPlaceholder: string;
165
+ emptyObjectConfig: string;
166
+ close: string;
167
+ runCode: string;
168
+ rerender: string;
169
+ download: string;
170
+ dragToMove: string;
171
+ format: string;
172
+ removeLink: string;
173
+ largeTitle: string;
174
+ paragraphTitle: string;
175
+ smallTitle: string;
176
+ bodyText: string;
177
+ leftAlign: string;
178
+ centerAlign: string;
179
+ rightAlign: string;
180
+ inlineImage: string;
181
+ blockImage: string;
182
+ quickSettings: string;
183
+ elements: string;
184
+ media: string;
185
+ list: string;
186
+ heading: string;
187
+ clickToPreview: string;
188
+ agentRunBar: {
189
+ running: string;
190
+ timeUsedPrefix: string;
191
+ calling: string;
192
+ taskCompleted: string;
193
+ taskStopped: string;
194
+ taskReplaying: string;
195
+ createNewTask: string;
196
+ replayTask: string;
197
+ newTask: string;
198
+ submitTask: string;
199
+ play: string;
200
+ pause: string;
201
+ stop: string;
202
+ };
203
+ 'chat.history': string;
204
+ 'chat.history.delete': string;
205
+ 'chat.history.delete.popconfirm': string;
206
+ 'chat.history.favorited': string;
207
+ 'chat.history.favorite': string;
208
+ 'chat.history.unfavorite': string;
209
+ 'chat.history.search': string;
210
+ 'chat.history.search.placeholder': string;
211
+ 'chat.history.newChat': string;
212
+ 'chat.history.loadMore': string;
213
+ 'task.history.loadMore': string;
214
+ 'chat.history.historyTasks': string;
215
+ 'chat.history.historyChats': string;
216
+ 'chat.task.search.placeholder': string;
217
+ 'chat.history.empty.chat.title': string;
218
+ 'chat.history.empty.chat.description': string;
219
+ 'taskList.expand': string;
220
+ 'taskList.collapse': string;
221
+ 'taskList.taskList': string;
222
+ 'taskList.taskComplete': string;
223
+ 'taskList.taskAborted': string;
224
+ 'taskList.taskInProgress': string;
225
+ 'taskList.totalTimeUsed': string;
226
+ 'chat.message.thinking': string;
227
+ 'chat.message.referenceDocument': string;
228
+ 'chat.message.viewOriginal': string;
229
+ 'chat.message.generateFailed': string;
230
+ 'chat.message.preview': string;
231
+ 'workspace.file.fileName': string;
232
+ 'workspace.file.fileSize': string;
233
+ 'workspace.file.clickToDownload': string;
234
+ 'workspace.file.cannotGetImagePreview': string;
235
+ 'workspace.file.cannotGetVideoPreview': string;
236
+ 'workspace.file.cannotGetAudioPreview': string;
237
+ 'workspace.file.cannotGetPdfPreview': string;
238
+ 'workspace.file.unknownFileType': string;
239
+ 'workspace.file.generationTime': string;
240
+ 'workspace.file.backToFileList': string;
241
+ 'workspace.file.download': string;
242
+ 'workspace.file.share': string;
243
+ 'workspace.file.preview': string;
244
+ 'workspace.file.location': string;
245
+ 'workspace.file.linkCopied': string;
246
+ 'workspace.file.copyFailed': string;
247
+ 'markdownInput.fileSizeExceeded': string;
248
+ 'markdownInput.maxFileCountExceeded': string;
249
+ 'markdownInput.minFileCountRequired': string;
250
+ 'docInfo.name': string;
251
+ 'docInfo.updateTime': string;
252
+ 'docInfo.type': string;
253
+ 'docInfo.content': string;
254
+ 'docInfo.referenceContent': string;
255
+ 'docInfo.items': string;
256
+ 'docInfo.expand': string;
257
+ 'docInfo.collapse': string;
258
+ 'task.default': string;
259
+ 'error.unexpected': string;
260
+ 'chat.message.aborted': string;
261
+ 'chat.message.retrySend': string;
262
+ 'chat.message.generating': string;
263
+ 'chat.message.copy': string;
264
+ 'chat.message.like': string;
265
+ 'chat.message.cancel-like': string;
266
+ 'chat.message.feedback-success': string;
267
+ 'chat.message.dislike': string;
268
+ 'chat.message.exception': string;
269
+ 'chat.message.error': string;
270
+ 'chat.message.error.retry': string;
271
+ 'chat.message.timeout': string;
272
+ 'chat.message.copy.success': string;
273
+ 'chat.message.copy.error': string;
274
+ 'chat.inputArea.placeholder': string;
275
+ 'chat.inputArea.max_input_length': string;
276
+ 'chat.list.helloMessage': string;
277
+ 'chat.newsession.popconfirm': string;
278
+ 'chat.newsession': string;
279
+ 'chat.close': string;
280
+ 'chat.helloMessage.pre_hello_text': string;
281
+ 'htmlPreview.preview': string;
282
+ 'htmlPreview.code': string;
283
+ 'htmlPreview.renderFailed': string;
284
+ 'workspace.realtimeFollow': string;
285
+ 'workspace.browser': string;
286
+ 'workspace.task': string;
287
+ 'workspace.file': string;
288
+ 'workspace.custom': string;
289
+ 'workspace.terminalExecution': string;
290
+ 'workspace.createHtmlFile': string;
291
+ 'workspace.markdownContent': string;
292
+ 'workspace.closeWorkspace': string;
293
+ 'workspace.expand': string;
294
+ 'workspace.collapse': string;
295
+ 'workspace.group': string;
296
+ 'workspace.loadingPreview': string;
297
+ 'workspace.previewLoadFailed': string;
298
+ 'workspace.previewError': string;
299
+ 'workspace.processingFile': string;
300
+ 'workspace.fileProcessFailed': string;
301
+ 'workspace.loadingFileContent': string;
302
+ 'workspace.textContentLoadFailed': string;
303
+ 'workspace.fileProcessError': string;
304
+ 'workspace.download': string;
305
+ 'workspace.empty': string;
306
+ 'workspace.title': string;
307
+ 'workspace.searchPlaceholder': string;
308
+ 'workspace.noResultsFor': string;
309
+ 'workspace.file.generating': string;
310
+ 'workspace.file.processing': string;
311
+ 'workspace.file.processFailed': string;
312
+ 'toolbar.bold': string;
313
+ 'toolbar.italic': string;
314
+ 'toolbar.strikethrough': string;
315
+ 'toolbar.inlineCode': string;
316
+ 'toolbar.alignLeft': string;
317
+ 'toolbar.alignCenter': string;
318
+ 'toolbar.alignRight': string;
319
+ 'schemaEditor.realtimePreview': string;
320
+ 'schemaEditor.htmlTemplate': string;
321
+ 'schemaEditor.schemaJson': string;
322
+ 'schemaEditor.run': string;
323
+ 'schemaEditor.copy': string;
324
+ 'schemaEditor.copySuccess': string;
325
+ 'schemaEditor.copyFailed': string;
326
+ 'schemaEditor.noContentToCopy': string;
327
+ 'schemaEditor.validationFailed': string;
328
+ 'schemaEditor.schemaSerializationError': string;
329
+ 'schemaEditor.schemaParseError': string;
330
+ 'schemaEditor.previewLoadFailed': string;
331
+ 'schemaEditor.checkSchemaFormat': string;
332
+ 'schemaEditor.inputSchemaToPreview': string;
333
+ 'schemaEditor.untitledSchema': string;
334
+ 'webSearch.noResults': string;
335
+ 'webSearch.searchFailed': string;
336
+ 'webSearch.networkError': string;
337
+ 'webSearch.timeout': string;
338
+ 'webSearch.retry': string;
339
+ 'chatFlow.collapseLeft': string;
340
+ 'chatFlow.collapseRight': string;
341
+ 'chatFlow.share': string;
342
+ 'chatFlow.shareDialog': string;
343
+ 'suggestion.area': string;
344
+ 'suggestion.label': string;
345
+ 'suggestion.searchMore': string;
346
+ 'suggestion.select': string;
347
+ 'suggestion.followUp': string;
348
+ 'input.fileUpload': string;
349
+ 'input.voiceInput': string;
350
+ 'input.voiceInputting': string;
351
+ 'input.placeholder': string;
352
+ 'input.selectFile': string;
353
+ 'input.openGallery': string;
354
+ 'input.openFile': string;
355
+ 'input.supportedFormatMessage': string;
356
+ 'input.sendButtonTooltip.send': string;
357
+ 'input.sendButtonTooltip.newline': string;
358
+ 'input.sendButtonTooltip.send.mod': string;
359
+ 'input.sendButtonTooltip.newline.mod': string;
360
+ 'common.name': string;
361
+ 'common.updateTime': string;
362
+ 'common.type': string;
363
+ 'common.content': string;
364
+ 'common.understand': string;
365
+ 'common.conversionRate': string;
366
+ 'common.conversion': string;
367
+ 'common.assignTo': string;
368
+ 'common.searchFileName': string;
369
+ 'common.fileProcessFailed': string;
370
+ 'common.loadTextFailed': string;
371
+ 'common.downloadFile': string;
372
+ 'common.regenerate': string;
373
+ 'common.user': string;
374
+ 'common.assistant': string;
375
+ 'common.save': string;
376
+ 'common.image': string;
377
+ 'common.document': string;
378
+ 'common.audio': string;
379
+ 'common.video': string;
380
+ 'common.imageLink': string;
381
+ 'common.textFile': string;
382
+ 'common.compressedFile': string;
383
+ 'common.configFile': string;
384
+ 'upload.notConfigured': string;
385
+ 'upload.failed': string;
386
+ 'browser.noResults': string;
387
+ 'browser.totalResults': string;
388
+ 'browser.searching': string;
389
+ 'layout.header.title': string;
390
+ theme: string;
391
+ expandCollapse: string;
392
+ moreActions: string;
393
+ clickToRetry: string;
394
+ 'table.insertColumnBefore': string;
395
+ 'table.deleteColumn': string;
396
+ 'table.insertColumnAfter': string;
397
+ 'table.insertRowBefore': string;
398
+ 'table.deleteRow': string;
399
+ 'table.insertRowAfter': string;
400
+ 'table.clickToShowActions': string;
401
+ 'table.clickToSelectColumn': string;
402
+ 'table.clickToSelectTable': string;
403
+ 'comment.delete': string;
404
+ 'comment.edit': string;
405
+ 'comment.jumpTo': string;
406
+ 'chart.renderFailed': string;
407
+ 'chart.renderFailedSubTitle': string;
408
+ };
409
+ language: "zh-CN" | "en-US";
410
+ setLanguage?: ((language: "zh-CN" | "en-US") => void) | undefined;
411
+ setLocale?: ((locale: {
412
+ attachmentSingleMax: string;
413
+ table: string;
414
+ column: string;
415
+ quote: string; /** 错误时的回退UI */
416
+ code: string;
417
+ attachmentSupportedFormats: string;
418
+ localeImage: string;
419
+ 'b-list': string;
420
+ 'n-list': string;
421
+ 't-list': string;
422
+ head1: string;
423
+ head2: string;
424
+ head3: string;
425
+ deleteMedia: string;
426
+ confirmDelete: string;
427
+ delete: string;
428
+ assignTo: string;
429
+ previewTable: string;
430
+ copy: string;
431
+ copySuccess: string;
432
+ uploadSuccess: string;
433
+ uploading: string;
434
+ uploadFailed: string;
435
+ pieChart: string;
436
+ donutChart: string;
437
+ radarChart: string;
438
+ scatterChart: string;
439
+ funnelChart: string;
440
+ configChart: string;
441
+ updateChart: string;
442
+ barChart: string;
443
+ lineChart: string;
444
+ columnChart: string;
445
+ areaChart: string;
446
+ descriptions: string;
447
+ dataTime: string;
448
+ columns: string;
449
+ all: string;
450
+ TableSql: string;
451
+ ToolCall: string;
452
+ RagRetrieval: string;
453
+ DeepThink: string;
454
+ WebSearch: string;
455
+ other: string;
456
+ preview: string;
457
+ expand: string;
458
+ bold: string;
459
+ italic: string;
460
+ strikethrough: string;
461
+ 'inline-code': string;
462
+ 'font-color': string;
463
+ collapse: string;
464
+ fullScreen: string;
465
+ taskFinished: string;
466
+ taskCost: string;
467
+ taskComplete: string;
468
+ taskAborted: string;
469
+ inProgressTask: string;
470
+ totalTimeUsed: string;
471
+ edit: string;
472
+ multipleKnowledgeBases: string;
473
+ multipleTables: string;
474
+ multipleTools: string;
475
+ multipleData: string;
476
+ executeSQL: string;
477
+ cancel: string;
478
+ retry: string;
479
+ executing: string;
480
+ queryResults: string;
481
+ queryFailed: string;
482
+ addComment: string;
483
+ searchResults: string;
484
+ thinking: string;
485
+ queryKeyWords: string;
486
+ executionResult: string;
487
+ deepThinkingInProgress: string;
488
+ taskExecutionFailed: string;
489
+ executionParameters: string;
490
+ apiCalling: string;
491
+ networkQuerying: string;
492
+ 'think.deepThinking': string;
493
+ 'think.deepThinkingInProgress': string;
494
+ switchLanguage: string;
495
+ welcome: string;
496
+ insertLink: string;
497
+ clearFormatting: string;
498
+ undo: string;
499
+ redo: string;
500
+ thoughtChainTitle: string;
501
+ thoughtChainDescription: string;
502
+ requestBody: string;
503
+ urlParameters: string;
504
+ queryParameters: string;
505
+ searchKeywords: string;
506
+ toolDescription: string;
507
+ httpMethod: string;
508
+ toolName: string;
509
+ apiPath: string;
510
+ requestData: string;
511
+ requestParamsString: string;
512
+ responseBody: string;
513
+ responseStatus: string;
514
+ toolSetId: string;
515
+ toolSetVersion: string;
516
+ toolInstanceId: string;
517
+ errorMessage: string;
518
+ apiResponse: string;
519
+ documentChunks: string;
520
+ tableData: string;
521
+ columnNames: string;
522
+ documentPreview: string;
523
+ loading: string;
524
+ finished: string;
525
+ aborted: string;
526
+ timeUsed: string;
527
+ seconds: string;
528
+ minutes: string;
529
+ hours: string;
530
+ days: string;
531
+ inputPlaceholder: string;
532
+ emptyObjectConfig: string;
533
+ close: string;
534
+ runCode: string;
535
+ rerender: string;
536
+ download: string;
537
+ dragToMove: string;
538
+ format: string;
539
+ removeLink: string;
540
+ largeTitle: string;
541
+ paragraphTitle: string;
542
+ smallTitle: string;
543
+ bodyText: string;
544
+ leftAlign: string;
545
+ centerAlign: string;
546
+ rightAlign: string;
547
+ inlineImage: string;
548
+ blockImage: string;
549
+ quickSettings: string;
550
+ elements: string;
551
+ media: string;
552
+ list: string;
553
+ heading: string;
554
+ clickToPreview: string;
555
+ agentRunBar: {
556
+ running: string;
557
+ timeUsedPrefix: string;
558
+ calling: string;
559
+ taskCompleted: string;
560
+ taskStopped: string;
561
+ taskReplaying: string;
562
+ createNewTask: string;
563
+ replayTask: string;
564
+ newTask: string;
565
+ submitTask: string;
566
+ play: string;
567
+ pause: string;
568
+ stop: string;
569
+ };
570
+ 'chat.history': string;
571
+ 'chat.history.delete': string;
572
+ 'chat.history.delete.popconfirm': string;
573
+ 'chat.history.favorited': string;
574
+ 'chat.history.favorite': string;
575
+ 'chat.history.unfavorite': string;
576
+ 'chat.history.search': string;
577
+ 'chat.history.search.placeholder': string;
578
+ 'chat.history.newChat': string;
579
+ 'chat.history.loadMore': string;
580
+ 'task.history.loadMore': string;
581
+ 'chat.history.historyTasks': string;
582
+ 'chat.history.historyChats': string;
583
+ 'chat.task.search.placeholder': string;
584
+ 'chat.history.empty.chat.title': string;
585
+ 'chat.history.empty.chat.description': string;
586
+ 'taskList.expand': string;
587
+ 'taskList.collapse': string;
588
+ 'taskList.taskList': string;
589
+ 'taskList.taskComplete': string;
590
+ 'taskList.taskAborted': string;
591
+ 'taskList.taskInProgress': string;
592
+ 'taskList.totalTimeUsed': string;
593
+ 'chat.message.thinking': string;
594
+ 'chat.message.referenceDocument': string;
595
+ 'chat.message.viewOriginal': string;
596
+ 'chat.message.generateFailed': string;
597
+ 'chat.message.preview': string;
598
+ 'workspace.file.fileName': string;
599
+ 'workspace.file.fileSize': string;
600
+ 'workspace.file.clickToDownload': string;
601
+ 'workspace.file.cannotGetImagePreview': string;
602
+ 'workspace.file.cannotGetVideoPreview': string;
603
+ 'workspace.file.cannotGetAudioPreview': string;
604
+ 'workspace.file.cannotGetPdfPreview': string;
605
+ 'workspace.file.unknownFileType': string;
606
+ 'workspace.file.generationTime': string;
607
+ 'workspace.file.backToFileList': string;
608
+ 'workspace.file.download': string;
609
+ 'workspace.file.share': string;
610
+ 'workspace.file.preview': string;
611
+ 'workspace.file.location': string;
612
+ 'workspace.file.linkCopied': string;
613
+ 'workspace.file.copyFailed': string;
614
+ 'markdownInput.fileSizeExceeded': string;
615
+ 'markdownInput.maxFileCountExceeded': string;
616
+ 'markdownInput.minFileCountRequired': string;
617
+ 'docInfo.name': string;
618
+ 'docInfo.updateTime': string;
619
+ 'docInfo.type': string;
620
+ 'docInfo.content': string;
621
+ 'docInfo.referenceContent': string;
622
+ 'docInfo.items': string;
623
+ 'docInfo.expand': string;
624
+ 'docInfo.collapse': string;
625
+ 'task.default': string;
626
+ 'error.unexpected': string;
627
+ 'chat.message.aborted': string;
628
+ 'chat.message.retrySend': string;
629
+ 'chat.message.generating': string;
630
+ 'chat.message.copy': string;
631
+ 'chat.message.like': string;
632
+ 'chat.message.cancel-like': string;
633
+ 'chat.message.feedback-success': string;
634
+ 'chat.message.dislike': string;
635
+ 'chat.message.exception': string;
636
+ 'chat.message.error': string;
637
+ 'chat.message.error.retry': string;
638
+ 'chat.message.timeout': string;
639
+ 'chat.message.copy.success': string;
640
+ 'chat.message.copy.error': string;
641
+ 'chat.inputArea.placeholder': string;
642
+ 'chat.inputArea.max_input_length': string;
643
+ 'chat.list.helloMessage': string;
644
+ 'chat.newsession.popconfirm': string;
645
+ 'chat.newsession': string;
646
+ 'chat.close': string;
647
+ 'chat.helloMessage.pre_hello_text': string;
648
+ 'htmlPreview.preview': string;
649
+ 'htmlPreview.code': string;
650
+ 'htmlPreview.renderFailed': string;
651
+ 'workspace.realtimeFollow': string;
652
+ 'workspace.browser': string;
653
+ 'workspace.task': string;
654
+ 'workspace.file': string;
655
+ 'workspace.custom': string;
656
+ 'workspace.terminalExecution': string;
657
+ 'workspace.createHtmlFile': string;
658
+ 'workspace.markdownContent': string;
659
+ 'workspace.closeWorkspace': string;
660
+ 'workspace.expand': string;
661
+ 'workspace.collapse': string;
662
+ 'workspace.group': string;
663
+ 'workspace.loadingPreview': string;
664
+ 'workspace.previewLoadFailed': string;
665
+ 'workspace.previewError': string;
666
+ 'workspace.processingFile': string;
667
+ 'workspace.fileProcessFailed': string;
668
+ 'workspace.loadingFileContent': string;
669
+ 'workspace.textContentLoadFailed': string;
670
+ 'workspace.fileProcessError': string;
671
+ 'workspace.download': string;
672
+ 'workspace.empty': string;
673
+ 'workspace.title': string;
674
+ 'workspace.searchPlaceholder': string;
675
+ 'workspace.noResultsFor': string;
676
+ 'workspace.file.generating': string;
677
+ 'workspace.file.processing': string;
678
+ 'workspace.file.processFailed': string;
679
+ 'toolbar.bold': string;
680
+ 'toolbar.italic': string;
681
+ 'toolbar.strikethrough': string;
682
+ 'toolbar.inlineCode': string;
683
+ 'toolbar.alignLeft': string;
684
+ 'toolbar.alignCenter': string;
685
+ 'toolbar.alignRight': string;
686
+ 'schemaEditor.realtimePreview': string;
687
+ 'schemaEditor.htmlTemplate': string;
688
+ 'schemaEditor.schemaJson': string;
689
+ 'schemaEditor.run': string;
690
+ 'schemaEditor.copy': string;
691
+ 'schemaEditor.copySuccess': string;
692
+ 'schemaEditor.copyFailed': string;
693
+ 'schemaEditor.noContentToCopy': string;
694
+ 'schemaEditor.validationFailed': string;
695
+ 'schemaEditor.schemaSerializationError': string;
696
+ 'schemaEditor.schemaParseError': string;
697
+ 'schemaEditor.previewLoadFailed': string;
698
+ 'schemaEditor.checkSchemaFormat': string;
699
+ 'schemaEditor.inputSchemaToPreview': string;
700
+ 'schemaEditor.untitledSchema': string;
701
+ 'webSearch.noResults': string;
702
+ 'webSearch.searchFailed': string;
703
+ 'webSearch.networkError': string;
704
+ 'webSearch.timeout': string;
705
+ 'webSearch.retry': string;
706
+ 'chatFlow.collapseLeft': string;
707
+ 'chatFlow.collapseRight': string;
708
+ 'chatFlow.share': string;
709
+ 'chatFlow.shareDialog': string;
710
+ 'suggestion.area': string;
711
+ 'suggestion.label': string;
712
+ 'suggestion.searchMore': string;
713
+ 'suggestion.select': string;
714
+ 'suggestion.followUp': string;
715
+ 'input.fileUpload': string;
716
+ 'input.voiceInput': string;
717
+ 'input.voiceInputting': string;
718
+ 'input.placeholder': string;
719
+ 'input.selectFile': string;
720
+ 'input.openGallery': string;
721
+ 'input.openFile': string;
722
+ 'input.supportedFormatMessage': string;
723
+ 'input.sendButtonTooltip.send': string;
724
+ 'input.sendButtonTooltip.newline': string;
725
+ 'input.sendButtonTooltip.send.mod': string;
726
+ 'input.sendButtonTooltip.newline.mod': string;
727
+ 'common.name': string;
728
+ 'common.updateTime': string;
729
+ 'common.type': string;
730
+ 'common.content': string;
731
+ 'common.understand': string;
732
+ 'common.conversionRate': string;
733
+ 'common.conversion': string;
734
+ 'common.assignTo': string;
735
+ 'common.searchFileName': string;
736
+ 'common.fileProcessFailed': string;
737
+ 'common.loadTextFailed': string;
738
+ 'common.downloadFile': string;
739
+ 'common.regenerate': string;
740
+ 'common.user': string;
741
+ 'common.assistant': string;
742
+ 'common.save': string;
743
+ 'common.image': string;
744
+ 'common.document': string;
745
+ 'common.audio': string;
746
+ 'common.video': string;
747
+ 'common.imageLink': string;
748
+ 'common.textFile': string;
749
+ 'common.compressedFile': string;
750
+ 'common.configFile': string;
751
+ 'upload.notConfigured': string;
752
+ 'upload.failed': string;
753
+ 'browser.noResults': string;
754
+ 'browser.totalResults': string;
755
+ 'browser.searching': string;
756
+ 'layout.header.title': string;
757
+ theme: string;
758
+ expandCollapse: string;
759
+ moreActions: string;
760
+ clickToRetry: string;
761
+ 'table.insertColumnBefore': string;
762
+ 'table.deleteColumn': string;
763
+ 'table.insertColumnAfter': string;
764
+ 'table.insertRowBefore': string;
765
+ 'table.deleteRow': string;
766
+ 'table.insertRowAfter': string;
767
+ 'table.clickToShowActions': string;
768
+ 'table.clickToSelectColumn': string;
769
+ 'table.clickToSelectTable': string;
770
+ 'comment.delete': string;
771
+ 'comment.edit': string;
772
+ 'comment.jumpTo': string;
773
+ 'chart.renderFailed': string;
774
+ 'chart.renderFailedSubTitle': string;
775
+ }) => void) | undefined;
776
+ }>;
777
+ context: React.ContextType<typeof I18nContext>;
42
778
  constructor(props: ChartErrorBoundaryProps);
43
779
  static getDerivedStateFromError(_error: Error): Partial<ChartErrorBoundaryState>;
44
780
  componentDidCatch(error: Error, errorInfo: ErrorInfo): void;