@ant-design/agentic-ui 2.29.18 → 2.29.20

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 (551) hide show
  1. package/dist/AILabel/index.js +2 -2
  2. package/dist/AILabel/style.js +1 -1
  3. package/dist/AgentRunBar/Robot.js +1 -1
  4. package/dist/AgentRunBar/index.js +2 -2
  5. package/dist/AgentRunBar/style.js +1 -1
  6. package/dist/AgenticLayout/index.js +2 -2
  7. package/dist/AgenticLayout/style.js +2 -2
  8. package/dist/AnswerAlert/components/ErrorIcon.js +1 -1
  9. package/dist/AnswerAlert/components/InfoIcon.js +1 -1
  10. package/dist/AnswerAlert/components/SuccessIcon.js +1 -1
  11. package/dist/AnswerAlert/components/WarningIcon.js +1 -1
  12. package/dist/AnswerAlert/index.js +1 -1
  13. package/dist/AnswerAlert/style.js +1 -1
  14. package/dist/BackTo/BackTop.js +1 -1
  15. package/dist/BackTo/ScrollVisibleButton.js +4 -4
  16. package/dist/BackTo/hooks/useScrollVisible.js +1 -1
  17. package/dist/BackTo/icons/BottomIcon.js +1 -1
  18. package/dist/BackTo/icons/TopIcon.js +1 -1
  19. package/dist/BackTo/style.js +1 -1
  20. package/dist/Bubble/AIBubble.js +5 -5
  21. package/dist/Bubble/Avatar/index.js +1 -1
  22. package/dist/Bubble/Avatar/isEmoji.js +1 -1
  23. package/dist/Bubble/Bubble.js +1 -1
  24. package/dist/Bubble/BubbleBeforeNode.js +3 -3
  25. package/dist/Bubble/FileView.js +6 -6
  26. package/dist/Bubble/List/PureBubbleList.js +3 -3
  27. package/dist/Bubble/List/index.js +3 -3
  28. package/dist/Bubble/List/style.js +1 -1
  29. package/dist/Bubble/MessagesContent/BubbleContext.js +2 -2
  30. package/dist/Bubble/MessagesContent/BubbleExtra.js +9 -11
  31. package/dist/Bubble/MessagesContent/CopyButton/index.js +2 -2
  32. package/dist/Bubble/MessagesContent/DocInfo.js +7 -7
  33. package/dist/Bubble/MessagesContent/EXCEPTION.js +1 -1
  34. package/dist/Bubble/MessagesContent/MarkdownPreview.js +1 -1
  35. package/dist/Bubble/MessagesContent/VoiceButton/index.js +8 -8
  36. package/dist/Bubble/MessagesContent/VoiceButton/style.js +1 -1
  37. package/dist/Bubble/MessagesContent/docInfoStyle.js +1 -1
  38. package/dist/Bubble/MessagesContent/icons.js +2 -2
  39. package/dist/Bubble/MessagesContent/index.js +5 -5
  40. package/dist/Bubble/MessagesContent/style.js +15 -8
  41. package/dist/Bubble/PureBubble.js +1 -1
  42. package/dist/Bubble/Title.js +4 -4
  43. package/dist/Bubble/UserBubble.js +4 -4
  44. package/dist/Bubble/schema-editor/SchemaEditorBridgeManager.js +3 -3
  45. package/dist/Bubble/schema-editor/useSchemaEditorBridge.js +1 -1
  46. package/dist/Bubble/style.js +1 -1
  47. package/dist/ChatBootPage/ButtonTab.js +1 -1
  48. package/dist/ChatBootPage/ButtonTabGroup.js +2 -2
  49. package/dist/ChatBootPage/ButtonTabGroupStyle.js +2 -2
  50. package/dist/ChatBootPage/ButtonTabStyle.js +2 -2
  51. package/dist/ChatBootPage/CaseReply.js +2 -2
  52. package/dist/ChatBootPage/CaseReplyStyle.js +2 -2
  53. package/dist/ChatBootPage/Title.js +1 -1
  54. package/dist/ChatBootPage/style.js +2 -2
  55. package/dist/ChatLayout/components/FooterBackground/images/bg.png +0 -0
  56. package/dist/ChatLayout/components/FooterBackground/index.d.ts +32 -0
  57. package/dist/ChatLayout/components/FooterBackground/index.js +89 -0
  58. package/dist/ChatLayout/index.js +6 -6
  59. package/dist/ChatLayout/style.js +7 -5
  60. package/dist/Components/ActionIconBox/index.js +12 -12
  61. package/dist/Components/ActionIconBox/style.js +1 -1
  62. package/dist/Components/ActionItemBox/ActionItemBox.js +1 -1
  63. package/dist/Components/ActionItemBox/style.js +1 -1
  64. package/dist/Components/Button/IconButton/index.js +1 -1
  65. package/dist/Components/Button/IconButton/style.js +1 -1
  66. package/dist/Components/Button/SwitchButton/index.js +3 -3
  67. package/dist/Components/Button/SwitchButton/style.js +1 -1
  68. package/dist/Components/Button/ToggleButton/index.js +1 -1
  69. package/dist/Components/Button/ToggleButton/style.js +1 -1
  70. package/dist/Components/GradientText/style.js +2 -2
  71. package/dist/Components/ImageList.js +2 -2
  72. package/dist/Components/LayoutHeader/index.js +4 -4
  73. package/dist/Components/LayoutHeader/style.js +2 -2
  74. package/dist/Components/Loading/CreativeRecommendationLoading.js +1 -1
  75. package/dist/Components/Loading/CreativeSparkLoading.js +1 -1
  76. package/dist/Components/Loading/Loading.js +1 -1
  77. package/dist/Components/Loading/style.js +1 -1
  78. package/dist/Components/Robot/index.js +1 -1
  79. package/dist/Components/Robot/lotties/BlowingWindLottie/index.js +1 -1
  80. package/dist/Components/Robot/lotties/BouncingLottie/index.js +1 -1
  81. package/dist/Components/Robot/lotties/DazingLottie/index.js +1 -1
  82. package/dist/Components/Robot/lotties/PeekLottie/index.js +1 -1
  83. package/dist/Components/Robot/lotties/ThinkingLottie/index.js +1 -1
  84. package/dist/Components/SuggestionList/index.js +4 -4
  85. package/dist/Components/SuggestionList/style.js +1 -1
  86. package/dist/Components/TextAnimate/index.js +2 -2
  87. package/dist/Components/TextAnimate/style.js +2 -2
  88. package/dist/Components/TypingAnimation/index.js +1 -1
  89. package/dist/Components/TypingAnimation/style.js +2 -2
  90. package/dist/Components/VisualList/index.js +3 -3
  91. package/dist/Components/VisualList/style.js +1 -1
  92. package/dist/Components/effects/CreativeRecommendationEffect/index.js +1 -1
  93. package/dist/Components/effects/LoadingEffect/index.js +1 -1
  94. package/dist/Components/icons/LoadingSpinnerIcon.js +1 -1
  95. package/dist/Components/lotties/CreativeSparkLottie/index.js +1 -1
  96. package/dist/Components/lotties/DazingLottie/index.js +1 -1
  97. package/dist/Components/lotties/LoadingLottie/index.js +1 -1
  98. package/dist/Components/lotties/TextLoading/index.js +1 -1
  99. package/dist/Components/lotties/TextLoading/style.js +1 -1
  100. package/dist/Components/lotties/ThinkingLottie/index.js +1 -1
  101. package/dist/Components/lotties/bubble-actions/Abstract/index.js +1 -1
  102. package/dist/Components/lotties/bubble-actions/Abstract/style.js +1 -1
  103. package/dist/Components/lotties/bubble-actions/Copy/index.js +1 -1
  104. package/dist/Components/lotties/bubble-actions/Dislike/index.js +1 -1
  105. package/dist/Components/lotties/bubble-actions/Like/index.js +1 -1
  106. package/dist/Components/lotties/bubble-actions/More/index.js +1 -1
  107. package/dist/Components/lotties/bubble-actions/Play/index.js +1 -1
  108. package/dist/Components/lotties/bubble-actions/Quote/index.js +1 -1
  109. package/dist/Components/lotties/bubble-actions/Refresh/index.js +1 -1
  110. package/dist/Components/lotties/bubble-actions/Share/index.js +1 -1
  111. package/dist/History/components/HistoryActionsBox.js +9 -9
  112. package/dist/History/components/HistoryEmpty.js +1 -1
  113. package/dist/History/components/HistoryEmptyIcon.js +1 -1
  114. package/dist/History/components/HistoryItem.js +4 -4
  115. package/dist/History/components/HistoryList.js +2 -2
  116. package/dist/History/components/LoadMoreComponent.js +2 -2
  117. package/dist/History/components/NewChatComponent.js +1 -1
  118. package/dist/History/components/NewChatComponent.style.js +2 -2
  119. package/dist/History/components/SearchComponent.js +6 -6
  120. package/dist/History/hooks/useHistory.js +1 -1
  121. package/dist/History/index.js +3 -3
  122. package/dist/History/menu.js +2 -2
  123. package/dist/History/style.js +1 -1
  124. package/dist/History/utils/index.js +2 -2
  125. package/dist/Hooks/useAutoScroll.js +3 -3
  126. package/dist/Hooks/useClickAway.js +2 -2
  127. package/dist/Hooks/useCopied.js +1 -1
  128. package/dist/Hooks/useElementSize.js +1 -1
  129. package/dist/Hooks/useIntersectionOnce.js +1 -1
  130. package/dist/Hooks/useRefFunction/index.js +1 -1
  131. package/dist/Hooks/useSpeechSynthesis.js +1 -1
  132. package/dist/Hooks/useStyle/index.js +2 -2
  133. package/dist/I18n/index.js +1 -1
  134. package/dist/Icons/animated/VoicePlayLottie/index.js +1 -1
  135. package/dist/Icons/animated/VoicingLottie/index.js +1 -1
  136. package/dist/MarkdownEditor/BaseMarkdownEditor.js +7 -7
  137. package/dist/MarkdownEditor/editor/Editor.js +21 -24
  138. package/dist/MarkdownEditor/editor/components/CommentList/index.js +6 -6
  139. package/dist/MarkdownEditor/editor/components/CommentList/style.js +1 -1
  140. package/dist/MarkdownEditor/editor/components/ContributorAvatar/index.js +2 -2
  141. package/dist/MarkdownEditor/editor/components/ContributorAvatar/style.js +1 -1
  142. package/dist/MarkdownEditor/editor/components/LazyElement/index.js +1 -1
  143. package/dist/MarkdownEditor/editor/components/LazyElement/style.js +2 -2
  144. package/dist/MarkdownEditor/editor/components/MediaErrorLink.js +2 -2
  145. package/dist/MarkdownEditor/editor/components/fntTag/index.js +1 -1
  146. package/dist/MarkdownEditor/editor/components/fntTag/style.js +1 -1
  147. package/dist/MarkdownEditor/editor/elements/Blockquote/index.js +1 -1
  148. package/dist/MarkdownEditor/editor/elements/Break/index.js +1 -1
  149. package/dist/MarkdownEditor/editor/elements/Card/index.js +1 -1
  150. package/dist/MarkdownEditor/editor/elements/Code/index.js +1 -1
  151. package/dist/MarkdownEditor/editor/elements/Comment/index.js +3 -3
  152. package/dist/MarkdownEditor/editor/elements/CommentLeaf/index.js +2 -2
  153. package/dist/MarkdownEditor/editor/elements/FncLeaf/index.js +1 -1
  154. package/dist/MarkdownEditor/editor/elements/FootnoteDefinition/index.js +2 -2
  155. package/dist/MarkdownEditor/editor/elements/FootnoteReference/index.js +2 -2
  156. package/dist/MarkdownEditor/editor/elements/Head/index.js +1 -1
  157. package/dist/MarkdownEditor/editor/elements/Hr/index.js +1 -1
  158. package/dist/MarkdownEditor/editor/elements/Image/index.js +17 -17
  159. package/dist/MarkdownEditor/editor/elements/InlineKatex/index.js +1 -1
  160. package/dist/MarkdownEditor/editor/elements/Katex/index.js +1 -1
  161. package/dist/MarkdownEditor/editor/elements/LinkCard/ReadonlyLinkCard.js +2 -2
  162. package/dist/MarkdownEditor/editor/elements/LinkCard/index.js +4 -4
  163. package/dist/MarkdownEditor/editor/elements/List/List.js +2 -2
  164. package/dist/MarkdownEditor/editor/elements/List/ListItem.js +9 -9
  165. package/dist/MarkdownEditor/editor/elements/Media/ReadonlyMedia.js +2 -2
  166. package/dist/MarkdownEditor/editor/elements/Media/index.js +15 -15
  167. package/dist/MarkdownEditor/editor/elements/Mermaid/index.js +1 -1
  168. package/dist/MarkdownEditor/editor/elements/Paragraph/index.js +2 -2
  169. package/dist/MarkdownEditor/editor/elements/Schema/index.js +4 -4
  170. package/dist/MarkdownEditor/editor/elements/Table/ReadonlyTableComponent.js +5 -5
  171. package/dist/MarkdownEditor/editor/elements/Table/SimpleTable.js +1 -1
  172. package/dist/MarkdownEditor/editor/elements/Table/Table.js +5 -5
  173. package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/index.js +1 -1
  174. package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/index.js +1 -1
  175. package/dist/MarkdownEditor/editor/elements/Table/TableContext.js +1 -1
  176. package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/index.js +1 -1
  177. package/dist/MarkdownEditor/editor/elements/Table/Td/index.js +2 -2
  178. package/dist/MarkdownEditor/editor/elements/Table/index.js +5 -5
  179. package/dist/MarkdownEditor/editor/elements/Table/useScrollShadow.js +2 -2
  180. package/dist/MarkdownEditor/editor/elements/TagPopup/index.js +18 -18
  181. package/dist/MarkdownEditor/editor/elements/index.js +9 -9
  182. package/dist/MarkdownEditor/editor/parser/parse/applyContextPropsAndConfig.js +2 -2
  183. package/dist/MarkdownEditor/editor/parser/parse/parseBlockElements.js +9 -9
  184. package/dist/MarkdownEditor/editor/parser/parse/parseCode.js +5 -5
  185. package/dist/MarkdownEditor/editor/parser/parse/parseElements.js +3 -3
  186. package/dist/MarkdownEditor/editor/parser/parse/parseEmptyLines.js +1 -1
  187. package/dist/MarkdownEditor/editor/parser/parse/parseFootnote.js +1 -1
  188. package/dist/MarkdownEditor/editor/parser/parse/parseHtml.js +18 -18
  189. package/dist/MarkdownEditor/editor/parser/parse/parseMath.js +3 -3
  190. package/dist/MarkdownEditor/editor/parser/parse/parseMedia.js +3 -3
  191. package/dist/MarkdownEditor/editor/parser/parse/parseTable.js +10 -10
  192. package/dist/MarkdownEditor/editor/parser/parse/parseText.js +5 -5
  193. package/dist/MarkdownEditor/editor/parser/parserMarkdownToSlateNode.js +24 -24
  194. package/dist/MarkdownEditor/editor/parser/parserMdToSchema.js +2 -2
  195. package/dist/MarkdownEditor/editor/parser/parserSlateNodeToMarkdown.js +41 -41
  196. package/dist/MarkdownEditor/editor/plugins/catchError.js +2 -2
  197. package/dist/MarkdownEditor/editor/plugins/elements.js +21 -21
  198. package/dist/MarkdownEditor/editor/plugins/handlePaste.js +9 -9
  199. package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/arrow.js +4 -4
  200. package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/backspace.js +1 -1
  201. package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/enter.js +1 -1
  202. package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/match.js +1 -1
  203. package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/tab.js +4 -4
  204. package/dist/MarkdownEditor/editor/plugins/insertParsedHtmlNodes.js +44 -44
  205. package/dist/MarkdownEditor/editor/plugins/parseMarkdownToNodesAndInsert.js +1 -1
  206. package/dist/MarkdownEditor/editor/plugins/useHighlight.js +5 -5
  207. package/dist/MarkdownEditor/editor/plugins/useKeyboard.js +5 -5
  208. package/dist/MarkdownEditor/editor/plugins/useOnchange.js +1 -1
  209. package/dist/MarkdownEditor/editor/plugins/utils.js +2 -2
  210. package/dist/MarkdownEditor/editor/plugins/withCardPlugin.js +2 -2
  211. package/dist/MarkdownEditor/editor/plugins/withCodeTagPlugin.js +2 -2
  212. package/dist/MarkdownEditor/editor/plugins/withInlineNodes.js +1 -1
  213. package/dist/MarkdownEditor/editor/plugins/withLinkAndMediaPlugin.js +2 -2
  214. package/dist/MarkdownEditor/editor/plugins/withListsPlugin.js +3 -3
  215. package/dist/MarkdownEditor/editor/plugins/withMarkdown.js +1 -1
  216. package/dist/MarkdownEditor/editor/plugins/withSchemaPlugin.js +2 -2
  217. package/dist/MarkdownEditor/editor/plugins/withVoidNodes.js +1 -1
  218. package/dist/MarkdownEditor/editor/store.js +7 -7
  219. package/dist/MarkdownEditor/editor/style.js +2 -2
  220. package/dist/MarkdownEditor/editor/tools/DragHandle.js +2 -2
  221. package/dist/MarkdownEditor/editor/tools/InsertAutocomplete.js +22 -22
  222. package/dist/MarkdownEditor/editor/tools/InsertLink.js +7 -7
  223. package/dist/MarkdownEditor/editor/tools/Leading.js +8 -8
  224. package/dist/MarkdownEditor/editor/tools/ToolBar/BaseBar.js +6 -6
  225. package/dist/MarkdownEditor/editor/tools/ToolBar/FloatBar.js +5 -5
  226. package/dist/MarkdownEditor/editor/tools/ToolBar/ReadonlyBaseBar.js +7 -7
  227. package/dist/MarkdownEditor/editor/tools/ToolBar/ToolBar.js +2 -2
  228. package/dist/MarkdownEditor/editor/tools/ToolBar/components/ColorPickerButton.js +1 -1
  229. package/dist/MarkdownEditor/editor/tools/ToolBar/components/FormattingTools.js +1 -1
  230. package/dist/MarkdownEditor/editor/tools/ToolBar/components/HeadingDropdown.js +1 -1
  231. package/dist/MarkdownEditor/editor/tools/ToolBar/config/toolsConfig.js +9 -9
  232. package/dist/MarkdownEditor/editor/tools/ToolBar/floatBarStyle.js +1 -1
  233. package/dist/MarkdownEditor/editor/tools/ToolBar/hooks/useToolBarLogic.js +4 -4
  234. package/dist/MarkdownEditor/editor/tools/ToolBar/toolBarStyle.js +1 -1
  235. package/dist/MarkdownEditor/editor/tools/insertAutocompleteStyle.js +1 -1
  236. package/dist/MarkdownEditor/editor/utils/ace.js +3 -3
  237. package/dist/MarkdownEditor/editor/utils/docx/docxDeserializer.js +2 -2
  238. package/dist/MarkdownEditor/editor/utils/docx/module.js +9 -9
  239. package/dist/MarkdownEditor/editor/utils/docx/utils.js +5 -5
  240. package/dist/MarkdownEditor/editor/utils/dom.js +5 -5
  241. package/dist/MarkdownEditor/editor/utils/editorCommands.js +5 -5
  242. package/dist/MarkdownEditor/editor/utils/editorUtils.js +17 -17
  243. package/dist/MarkdownEditor/editor/utils/index.js +9 -9
  244. package/dist/MarkdownEditor/editor/utils/keyboard.js +4 -4
  245. package/dist/MarkdownEditor/editor/utils/markdownToHtml.js +6 -6
  246. package/dist/MarkdownEditor/editor/utils/media.js +2 -2
  247. package/dist/MarkdownEditor/editor/utils/path.js +3 -3
  248. package/dist/MarkdownEditor/editor/utils/performanceMonitor.js +2 -2
  249. package/dist/MarkdownEditor/editor/utils/useLocalState.js +1 -1
  250. package/dist/MarkdownEditor/hooks/editor.js +2 -2
  251. package/dist/MarkdownEditor/hooks/subscribe.js +1 -1
  252. package/dist/MarkdownEditor/index.js +1 -1
  253. package/dist/MarkdownEditor/style.js +1 -1
  254. package/dist/MarkdownEditor/utils/exportHtml.js +2 -2
  255. package/dist/MarkdownEditor/utils/native-table/native-table-editor.js +4 -4
  256. package/dist/MarkdownInputField/AttachmentButton/AttachmentButtonPopover.js +8 -8
  257. package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/AttachmentFileIcon.js +1 -1
  258. package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/AttachmentFileListItem.js +10 -10
  259. package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/index.js +10 -10
  260. package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/style.js +1 -1
  261. package/dist/MarkdownInputField/AttachmentButton/index.js +18 -18
  262. package/dist/MarkdownInputField/AttachmentButton/style.js +1 -1
  263. package/dist/MarkdownInputField/AttachmentButton/utils.js +8 -8
  264. package/dist/MarkdownInputField/BeforeToolContainer/BeforeToolContainer.js +4 -4
  265. package/dist/MarkdownInputField/BorderBeamAnimation.js +1 -1
  266. package/dist/MarkdownInputField/Enlargement/index.js +1 -1
  267. package/dist/MarkdownInputField/FileMapView/FileMapViewItem.js +8 -8
  268. package/dist/MarkdownInputField/FileMapView/index.js +2 -2
  269. package/dist/MarkdownInputField/FileMapView/style.js +1 -1
  270. package/dist/MarkdownInputField/FilePaste/index.js +2 -2
  271. package/dist/MarkdownInputField/FileUploadManager/index.js +2 -2
  272. package/dist/MarkdownInputField/MarkdownInputField.js +10 -10
  273. package/dist/MarkdownInputField/QuickActions/index.js +5 -5
  274. package/dist/MarkdownInputField/RefinePromptButton/index.js +3 -3
  275. package/dist/MarkdownInputField/RefinePromptButton/style.js +1 -1
  276. package/dist/MarkdownInputField/SendActions/index.js +6 -6
  277. package/dist/MarkdownInputField/SendButton/index.js +3 -3
  278. package/dist/MarkdownInputField/SendButton/style.js +1 -1
  279. package/dist/MarkdownInputField/SkillModeBar/index.js +3 -3
  280. package/dist/MarkdownInputField/SkillModeBar/style.js +1 -1
  281. package/dist/MarkdownInputField/Suggestion/index.js +8 -8
  282. package/dist/MarkdownInputField/TopOperatingArea/index.js +2 -2
  283. package/dist/MarkdownInputField/TopOperatingArea/style.js +2 -2
  284. package/dist/MarkdownInputField/VoiceInput/index.js +2 -2
  285. package/dist/MarkdownInputField/VoiceInput/style.js +1 -1
  286. package/dist/MarkdownInputField/VoiceInputManager/index.js +3 -3
  287. package/dist/MarkdownInputField/hooks/useMarkdownInputFieldActions.js +1 -1
  288. package/dist/MarkdownInputField/hooks/useMarkdownInputFieldHandlers.js +1 -1
  289. package/dist/MarkdownInputField/hooks/useMarkdownInputFieldLayout.js +2 -2
  290. package/dist/MarkdownInputField/hooks/useMarkdownInputFieldRefs.js +1 -1
  291. package/dist/MarkdownInputField/hooks/useMarkdownInputFieldState.js +1 -1
  292. package/dist/MarkdownInputField/hooks/useMarkdownInputFieldStyles.js +1 -1
  293. package/dist/MarkdownInputField/style.js +2 -2
  294. package/dist/MarkdownInputField/utils/renderHelpers.js +5 -5
  295. package/dist/Plugins/chart/AreaChart/index.js +4 -4
  296. package/dist/Plugins/chart/AreaChart/style.js +1 -1
  297. package/dist/Plugins/chart/BarChart/index.js +11 -11
  298. package/dist/Plugins/chart/BarChart/style.js +1 -1
  299. package/dist/Plugins/chart/ChartAttrToolBar/ChartAttrToolBarStyle.js +1 -1
  300. package/dist/Plugins/chart/ChartAttrToolBar/index.js +3 -3
  301. package/dist/Plugins/chart/ChartMark/Area.js +2 -2
  302. package/dist/Plugins/chart/ChartMark/Bar.js +2 -2
  303. package/dist/Plugins/chart/ChartMark/Column.js +2 -2
  304. package/dist/Plugins/chart/ChartMark/Container.js +1 -1
  305. package/dist/Plugins/chart/ChartMark/Line.js +2 -2
  306. package/dist/Plugins/chart/ChartMark/Pie.js +2 -2
  307. package/dist/Plugins/chart/ChartRender.js +19 -19
  308. package/dist/Plugins/chart/ChartStatistic/index.js +3 -3
  309. package/dist/Plugins/chart/ChartStatistic/style.js +1 -1
  310. package/dist/Plugins/chart/ChartStatistic/utils.js +2 -2
  311. package/dist/Plugins/chart/DonutChart/Legend.js +3 -3
  312. package/dist/Plugins/chart/DonutChart/hooks.js +5 -5
  313. package/dist/Plugins/chart/DonutChart/index.js +11 -11
  314. package/dist/Plugins/chart/DonutChart/plugins.js +3 -3
  315. package/dist/Plugins/chart/DonutChart/style.js +1 -1
  316. package/dist/Plugins/chart/FunnelChart/index.js +14 -14
  317. package/dist/Plugins/chart/FunnelChart/style.js +1 -1
  318. package/dist/Plugins/chart/LineChart/index.js +3 -3
  319. package/dist/Plugins/chart/LineChart/style.js +1 -1
  320. package/dist/Plugins/chart/RadarChart/index.js +7 -7
  321. package/dist/Plugins/chart/RadarChart/style.js +1 -1
  322. package/dist/Plugins/chart/ScatterChart/index.js +7 -7
  323. package/dist/Plugins/chart/ScatterChart/style.js +1 -1
  324. package/dist/Plugins/chart/components/ChartContainer/ChartContainer.js +1 -1
  325. package/dist/Plugins/chart/components/ChartContainer/style.js +2 -2
  326. package/dist/Plugins/chart/components/ChartFilter/ChartFilter.js +6 -6
  327. package/dist/Plugins/chart/components/ChartFilter/style.js +1 -1
  328. package/dist/Plugins/chart/components/ChartToolBar/ChartToolBar.js +2 -2
  329. package/dist/Plugins/chart/components/ChartToolBar/style.js +1 -1
  330. package/dist/Plugins/chart/components/icons/TimeIcon.js +1 -1
  331. package/dist/Plugins/chart/components/index.js +1 -1
  332. package/dist/Plugins/chart/hooks/useChartDataFilter.js +1 -1
  333. package/dist/Plugins/chart/hooks/useChartStatistics.js +1 -1
  334. package/dist/Plugins/chart/hooks/useChartTheme.js +1 -1
  335. package/dist/Plugins/chart/hooks/useResponsiveSize.js +2 -2
  336. package/dist/Plugins/chart/index.js +8 -8
  337. package/dist/Plugins/chart/loadChartRuntime.js +1 -1
  338. package/dist/Plugins/chart/utils/registerChart.js +3 -3
  339. package/dist/Plugins/chart/utils.js +12 -12
  340. package/dist/Plugins/code/CodeUI/Katex/Katex.js +1 -1
  341. package/dist/Plugins/code/components/AceEditor.js +2 -2
  342. package/dist/Plugins/code/components/CodeContainer.js +3 -3
  343. package/dist/Plugins/code/components/CodeRenderer.js +2 -2
  344. package/dist/Plugins/code/components/CodeToolbar.js +5 -5
  345. package/dist/Plugins/code/components/LanguageSelector.js +7 -7
  346. package/dist/Plugins/code/components/LoadImage.js +3 -3
  347. package/dist/Plugins/code/components/ThinkBlock.js +2 -2
  348. package/dist/Plugins/code/index.js +1 -1
  349. package/dist/Plugins/code/langIcons/AbapIcon.js +1 -1
  350. package/dist/Plugins/code/langIcons/ActionscriptIcon.js +1 -1
  351. package/dist/Plugins/code/langIcons/AdaIcon.js +1 -1
  352. package/dist/Plugins/code/langIcons/ApacheIcon.js +1 -1
  353. package/dist/Plugins/code/langIcons/ApexIcon.js +1 -1
  354. package/dist/Plugins/code/langIcons/AplIcon.js +1 -1
  355. package/dist/Plugins/code/langIcons/ApplescriptIcon.js +1 -1
  356. package/dist/Plugins/code/langIcons/AstroIcon.js +1 -1
  357. package/dist/Plugins/code/langIcons/AwkIcon.js +1 -1
  358. package/dist/Plugins/code/langIcons/BallerinaIcon.js +1 -1
  359. package/dist/Plugins/code/langIcons/BatIcon.js +1 -1
  360. package/dist/Plugins/code/langIcons/BicepIcon.js +1 -1
  361. package/dist/Plugins/code/langIcons/BladeIcon.js +1 -1
  362. package/dist/Plugins/code/langIcons/CIcon.js +1 -1
  363. package/dist/Plugins/code/langIcons/CadenceIcon.js +1 -1
  364. package/dist/Plugins/code/langIcons/ClojureIcon.js +1 -1
  365. package/dist/Plugins/code/langIcons/CmakeIcon.js +1 -1
  366. package/dist/Plugins/code/langIcons/CobolIcon.js +1 -1
  367. package/dist/Plugins/code/langIcons/CodeqlIcon.js +1 -1
  368. package/dist/Plugins/code/langIcons/CoffeeIcon.js +1 -1
  369. package/dist/Plugins/code/langIcons/ConsoleIcon.js +1 -1
  370. package/dist/Plugins/code/langIcons/CppIcon.js +1 -1
  371. package/dist/Plugins/code/langIcons/CrystalIcon.js +1 -1
  372. package/dist/Plugins/code/langIcons/CsharpIcon.js +1 -1
  373. package/dist/Plugins/code/langIcons/CssIcon.js +1 -1
  374. package/dist/Plugins/code/langIcons/DIcon.js +1 -1
  375. package/dist/Plugins/code/langIcons/DartIcon.js +1 -1
  376. package/dist/Plugins/code/langIcons/DatabaseIcon.js +1 -1
  377. package/dist/Plugins/code/langIcons/DiffIcon.js +1 -1
  378. package/dist/Plugins/code/langIcons/DockerIcon.js +1 -1
  379. package/dist/Plugins/code/langIcons/DotenvIcon.js +1 -1
  380. package/dist/Plugins/code/langIcons/ElixirIcon.js +1 -1
  381. package/dist/Plugins/code/langIcons/ElmIcon.js +1 -1
  382. package/dist/Plugins/code/langIcons/ErbIcon.js +1 -1
  383. package/dist/Plugins/code/langIcons/ErlangIcon.js +1 -1
  384. package/dist/Plugins/code/langIcons/FsharpIcon.js +1 -1
  385. package/dist/Plugins/code/langIcons/GdscriptIcon.js +1 -1
  386. package/dist/Plugins/code/langIcons/GlslIcon.js +1 -1
  387. package/dist/Plugins/code/langIcons/GnuplotIcon.js +1 -1
  388. package/dist/Plugins/code/langIcons/GoIcon.js +1 -1
  389. package/dist/Plugins/code/langIcons/GraphqlIcon.js +1 -1
  390. package/dist/Plugins/code/langIcons/GroovyIcon.js +1 -1
  391. package/dist/Plugins/code/langIcons/HackIcon.js +1 -1
  392. package/dist/Plugins/code/langIcons/HamlIcon.js +1 -1
  393. package/dist/Plugins/code/langIcons/HandlebarsIcon.js +1 -1
  394. package/dist/Plugins/code/langIcons/HaskellIcon.js +1 -1
  395. package/dist/Plugins/code/langIcons/HclIcon.js +1 -1
  396. package/dist/Plugins/code/langIcons/HclLightIcon.js +1 -1
  397. package/dist/Plugins/code/langIcons/HjsonIcon.js +1 -1
  398. package/dist/Plugins/code/langIcons/HlslIcon.js +1 -1
  399. package/dist/Plugins/code/langIcons/HtmlIcon.js +1 -1
  400. package/dist/Plugins/code/langIcons/HttpIcon.js +1 -1
  401. package/dist/Plugins/code/langIcons/ImbaIcon.js +1 -1
  402. package/dist/Plugins/code/langIcons/IniIcon.js +1 -1
  403. package/dist/Plugins/code/langIcons/JavaIcon.js +1 -1
  404. package/dist/Plugins/code/langIcons/JavascriptIcon.js +1 -1
  405. package/dist/Plugins/code/langIcons/JinjaIcon.js +1 -1
  406. package/dist/Plugins/code/langIcons/Json5Icon.js +1 -1
  407. package/dist/Plugins/code/langIcons/JsonIcon.js +1 -1
  408. package/dist/Plugins/code/langIcons/JsonnetIcon.js +1 -1
  409. package/dist/Plugins/code/langIcons/JuliaIcon.js +1 -1
  410. package/dist/Plugins/code/langIcons/KotlinIcon.js +1 -1
  411. package/dist/Plugins/code/langIcons/KustoIcon.js +1 -1
  412. package/dist/Plugins/code/langIcons/LessIcon.js +1 -1
  413. package/dist/Plugins/code/langIcons/LiquidIcon.js +1 -1
  414. package/dist/Plugins/code/langIcons/LispIcon.js +1 -1
  415. package/dist/Plugins/code/langIcons/LuaIcon.js +1 -1
  416. package/dist/Plugins/code/langIcons/MakefileIcon.js +1 -1
  417. package/dist/Plugins/code/langIcons/MarkdownIcon.js +1 -1
  418. package/dist/Plugins/code/langIcons/MarkojsIcon.js +1 -1
  419. package/dist/Plugins/code/langIcons/MatlabIcon.js +1 -1
  420. package/dist/Plugins/code/langIcons/MdxIcon.js +1 -1
  421. package/dist/Plugins/code/langIcons/MermaidIcon.js +1 -1
  422. package/dist/Plugins/code/langIcons/MojoIcon.js +1 -1
  423. package/dist/Plugins/code/langIcons/NginxIcon.js +1 -1
  424. package/dist/Plugins/code/langIcons/NimIcon.js +1 -1
  425. package/dist/Plugins/code/langIcons/NixIcon.js +1 -1
  426. package/dist/Plugins/code/langIcons/ObjectiveCIcon.js +1 -1
  427. package/dist/Plugins/code/langIcons/ObjectiveCppIcon.js +1 -1
  428. package/dist/Plugins/code/langIcons/OcamlIcon.js +1 -1
  429. package/dist/Plugins/code/langIcons/PascalIcon.js +1 -1
  430. package/dist/Plugins/code/langIcons/Perl6Icon.js +1 -1
  431. package/dist/Plugins/code/langIcons/PerlIcon.js +1 -1
  432. package/dist/Plugins/code/langIcons/PhpIcon.js +1 -1
  433. package/dist/Plugins/code/langIcons/PostcssIcon.js +1 -1
  434. package/dist/Plugins/code/langIcons/PowershellIcon.js +1 -1
  435. package/dist/Plugins/code/langIcons/PrismaIcon.js +1 -1
  436. package/dist/Plugins/code/langIcons/PrologIcon.js +1 -1
  437. package/dist/Plugins/code/langIcons/ProtoIcon.js +1 -1
  438. package/dist/Plugins/code/langIcons/PugIcon.js +1 -1
  439. package/dist/Plugins/code/langIcons/PuppetIcon.js +1 -1
  440. package/dist/Plugins/code/langIcons/PurescriptIcon.js +1 -1
  441. package/dist/Plugins/code/langIcons/PythonIcon.js +1 -1
  442. package/dist/Plugins/code/langIcons/RIcon.js +1 -1
  443. package/dist/Plugins/code/langIcons/RazorIcon.js +1 -1
  444. package/dist/Plugins/code/langIcons/ReactIcon.js +1 -1
  445. package/dist/Plugins/code/langIcons/ReactTsIcon.js +1 -1
  446. package/dist/Plugins/code/langIcons/RubyIcon.js +1 -1
  447. package/dist/Plugins/code/langIcons/RustIcon.js +1 -1
  448. package/dist/Plugins/code/langIcons/SasIcon.js +1 -1
  449. package/dist/Plugins/code/langIcons/SassIcon.js +1 -1
  450. package/dist/Plugins/code/langIcons/ScalaIcon.js +1 -1
  451. package/dist/Plugins/code/langIcons/SchemeIcon.js +1 -1
  452. package/dist/Plugins/code/langIcons/ShaderlabIcon.js +1 -1
  453. package/dist/Plugins/code/langIcons/SolidityIcon.js +1 -1
  454. package/dist/Plugins/code/langIcons/SparqlIcon.js +1 -1
  455. package/dist/Plugins/code/langIcons/StataIcon.js +1 -1
  456. package/dist/Plugins/code/langIcons/StylusIcon.js +1 -1
  457. package/dist/Plugins/code/langIcons/SvelteIcon.js +1 -1
  458. package/dist/Plugins/code/langIcons/SwiftIcon.js +1 -1
  459. package/dist/Plugins/code/langIcons/SystemverilogIcon.js +1 -1
  460. package/dist/Plugins/code/langIcons/TclIcon.js +1 -1
  461. package/dist/Plugins/code/langIcons/TexIcon.js +1 -1
  462. package/dist/Plugins/code/langIcons/TomlIcon.js +1 -1
  463. package/dist/Plugins/code/langIcons/TwigIcon.js +1 -1
  464. package/dist/Plugins/code/langIcons/TypescriptIcon.js +1 -1
  465. package/dist/Plugins/code/langIcons/VerilogIcon.js +1 -1
  466. package/dist/Plugins/code/langIcons/VhdlIcon.js +1 -1
  467. package/dist/Plugins/code/langIcons/VimIcon.js +1 -1
  468. package/dist/Plugins/code/langIcons/VueIcon.js +1 -1
  469. package/dist/Plugins/code/langIcons/WebassemblyIcon.js +1 -1
  470. package/dist/Plugins/code/langIcons/WenyanIcon.js +1 -1
  471. package/dist/Plugins/code/langIcons/WgslIcon.js +1 -1
  472. package/dist/Plugins/code/langIcons/WolframlanguageIcon.js +1 -1
  473. package/dist/Plugins/code/langIcons/XmlIcon.js +1 -1
  474. package/dist/Plugins/code/langIcons/XslIcon.js +1 -1
  475. package/dist/Plugins/code/langIcons/YamlIcon.js +1 -1
  476. package/dist/Plugins/code/langIcons/ZigIcon.js +1 -1
  477. package/dist/Plugins/code/loadAceEditor.js +3 -3
  478. package/dist/Plugins/katex/InlineKatex.js +2 -2
  479. package/dist/Plugins/katex/Katex.js +1 -1
  480. package/dist/Plugins/katex/index.js +2 -2
  481. package/dist/Plugins/katex/loadKatex.js +2 -2
  482. package/dist/Plugins/mermaid/Mermaid.js +1 -1
  483. package/dist/Plugins/mermaid/MermaidFallback.js +1 -1
  484. package/dist/Plugins/mermaid/MermaidRendererImpl.js +1 -1
  485. package/dist/Plugins/mermaid/index.js +5 -5
  486. package/dist/Plugins/mermaid/style.js +1 -1
  487. package/dist/Plugins/mermaid/useMermaidRender.js +1 -1
  488. package/dist/Plugins/mermaid/utils.js +3 -3
  489. package/dist/Quote/index.js +2 -2
  490. package/dist/Quote/style.js +1 -1
  491. package/dist/Schema/SchemaEditor/AceEditorWrapper.js +1 -1
  492. package/dist/Schema/SchemaEditor/index.js +6 -6
  493. package/dist/Schema/SchemaEditor/style.js +1 -1
  494. package/dist/Schema/SchemaForm/index.js +4 -4
  495. package/dist/Schema/SchemaRenderer/index.js +8 -8
  496. package/dist/TaskList/index.js +4 -4
  497. package/dist/TaskList/style.js +1 -1
  498. package/dist/ThoughtChainList/CostMillis.js +2 -2
  499. package/dist/ThoughtChainList/DeepThink.js +1 -1
  500. package/dist/ThoughtChainList/DotAni/index.js +1 -1
  501. package/dist/ThoughtChainList/DotAni/style.js +1 -1
  502. package/dist/ThoughtChainList/MarkdownEditor.js +2 -2
  503. package/dist/ThoughtChainList/RagRetrievalInfo.js +2 -2
  504. package/dist/ThoughtChainList/TableSql.js +8 -8
  505. package/dist/ThoughtChainList/TitleInfo.js +3 -3
  506. package/dist/ThoughtChainList/ToolCall.js +7 -7
  507. package/dist/ThoughtChainList/WebSearch.js +1 -1
  508. package/dist/ThoughtChainList/style.js +1 -1
  509. package/dist/ToolUseBar/BarItem/Content.js +5 -5
  510. package/dist/ToolUseBar/BarItem/index.js +1 -1
  511. package/dist/ToolUseBar/index.js +1 -1
  512. package/dist/ToolUseBar/style.js +1 -1
  513. package/dist/ToolUseBarThink/index.js +10 -10
  514. package/dist/ToolUseBarThink/style.js +1 -1
  515. package/dist/Types/message.d.ts +1 -0
  516. package/dist/Utils/debugUtils.js +1 -1
  517. package/dist/Utils/formatTime.js +1 -1
  518. package/dist/Utils/getScroll.js +2 -2
  519. package/dist/Utils/loadCSS.js +2 -2
  520. package/dist/Utils/proxySandbox/ProxySandbox.js +37 -37
  521. package/dist/Utils/proxySandbox/SecurityContextManager.js +6 -6
  522. package/dist/Utils/scrollTo.js +1 -1
  523. package/dist/Utils/throttleByAnimationFrame.js +2 -2
  524. package/dist/WelcomeMessage/index.js +1 -1
  525. package/dist/WelcomeMessage/style.js +1 -1
  526. package/dist/Workspace/Browser/index.js +13 -13
  527. package/dist/Workspace/Browser/style.js +1 -1
  528. package/dist/Workspace/File/FileComponent.js +38 -38
  529. package/dist/Workspace/File/FileTypeProcessor.js +8 -8
  530. package/dist/Workspace/File/PreviewComponent.js +14 -14
  531. package/dist/Workspace/File/style.js +1 -1
  532. package/dist/Workspace/File/utils.js +3 -3
  533. package/dist/Workspace/HtmlPreview/index.js +5 -5
  534. package/dist/Workspace/HtmlPreview/style.js +1 -1
  535. package/dist/Workspace/RealtimeFollow/index.js +18 -18
  536. package/dist/Workspace/RealtimeFollow/style.js +1 -1
  537. package/dist/Workspace/Task/index.js +3 -3
  538. package/dist/Workspace/Task/style.js +1 -1
  539. package/dist/Workspace/index.js +9 -9
  540. package/dist/Workspace/style.js +1 -1
  541. package/dist/Workspace/types.js +3 -3
  542. package/dist/Workspace/utils/codeLanguageUtils.js +3 -3
  543. package/dist/Workspace/utils.js +2 -2
  544. package/package.json +4 -4
  545. package/dist/ChatLayout/components/FooterBackgroundLottie/images/img_0.png +0 -0
  546. package/dist/ChatLayout/components/FooterBackgroundLottie/images/img_1.png +0 -0
  547. package/dist/ChatLayout/components/FooterBackgroundLottie/images/img_2.png +0 -0
  548. package/dist/ChatLayout/components/FooterBackgroundLottie/index.d.ts +0 -51
  549. package/dist/ChatLayout/components/FooterBackgroundLottie/index.js +0 -45
  550. package/dist/ChatLayout/components/FooterBackgroundLottie/lottie.d.ts +0 -85
  551. package/dist/ChatLayout/components/FooterBackgroundLottie/lottie.js +0 -382
@@ -118,7 +118,7 @@ import { EditorUtils } from "../../utils";
118
118
  import partialJsonParse from "../json-parse";
119
119
  /**
120
120
  * 解码 URI 组件,处理错误情况
121
- */ export var decodeURIComponentUrl = function(url) {
121
+ */ export var decodeURIComponentUrl = function decodeURIComponentUrl(url) {
122
122
  try {
123
123
  return decodeURIComponent(url);
124
124
  } catch (e) {
@@ -130,7 +130,7 @@ import partialJsonParse from "../json-parse";
130
130
  * 检测和解析 think 标签
131
131
  * @param str - 要检测的字符串
132
132
  * @returns think 标签的内容,如果不是 think 标签则返回 null
133
- */ var findThinkElement = function(str) {
133
+ */ var findThinkElement = function findThinkElement(str) {
134
134
  try {
135
135
  // 匹配 <think>内容</think> 格式
136
136
  var thinkMatch = str.match(/^\s*<think>([\s\S]*?)<\/think>\s*$/);
@@ -148,7 +148,7 @@ import partialJsonParse from "../json-parse";
148
148
  * 检测和解析 answer 标签
149
149
  * @param str - 要检测的字符串
150
150
  * @returns answer 标签的内容,如果不是 answer 标签则返回 null
151
- */ var findAnswerElement = function(str) {
151
+ */ var findAnswerElement = function findAnswerElement(str) {
152
152
  try {
153
153
  // 匹配 <answer>内容</answer> 格式
154
154
  var answerMatch = str.match(/^\s*<answer>([\s\S]*?)<\/answer>\s*$/);
@@ -164,7 +164,7 @@ import partialJsonParse from "../json-parse";
164
164
  };
165
165
  /**
166
166
  * 从 HTML 字符串中提取媒体元素属性
167
- */ var extractMediaAttributes = function(str) {
167
+ */ var extractMediaAttributes = function extractMediaAttributes(str) {
168
168
  var _str_match, _str_match1, _str_match2, _str_match3, _str_match4;
169
169
  return {
170
170
  height: (_str_match = str.match(/height="(\d+)"/)) === null || _str_match === void 0 ? void 0 : _str_match[1],
@@ -180,7 +180,7 @@ import partialJsonParse from "../json-parse";
180
180
  };
181
181
  /**
182
182
  * 构建媒体元素对象
183
- */ var buildMediaElement = function(url, tagName, attrs) {
183
+ */ var buildMediaElement = function buildMediaElement(url, tagName, attrs) {
184
184
  var result = {
185
185
  url: url,
186
186
  align: attrs.align,
@@ -203,7 +203,7 @@ import partialJsonParse from "../json-parse";
203
203
  };
204
204
  /**
205
205
  * 从字符串中提取视频源 URL
206
- */ var extractVideoSource = function(str, tagName) {
206
+ */ var extractVideoSource = function extractVideoSource(str, tagName) {
207
207
  // 首先尝试从标签本身获取 src 属性
208
208
  var url = str.match(/src="([^"\n]+)"/);
209
209
  // 如果是 video 标签且没有找到 src,尝试从 source 标签中获取
@@ -217,7 +217,7 @@ import partialJsonParse from "../json-parse";
217
217
  };
218
218
  /**
219
219
  * 查找并解析媒体元素(img/video/iframe)
220
- */ export var findImageElement = function(str) {
220
+ */ export var findImageElement = function findImageElement(str) {
221
221
  try {
222
222
  // 首先尝试匹配包含 source 标签的 video 格式
223
223
  var videoWithSourceMatch = str.match(/^\s*<video[^>\n]*>[\s\S]*?<source[^>]*src="([^"\n]+)"[^>]*>[\s\S]*?<\/video>\s*$/);
@@ -267,7 +267,7 @@ import partialJsonParse from "../json-parse";
267
267
  };
268
268
  /**
269
269
  * 根据媒体元素信息创建编辑器节点
270
- */ export var createMediaNodeFromElement = function(mediaElement) {
270
+ */ export var createMediaNodeFromElement = function createMediaNodeFromElement(mediaElement) {
271
271
  if (!mediaElement) return null;
272
272
  // 根据标签类型确定媒体类型
273
273
  var mediaTypeMap = {
@@ -406,7 +406,7 @@ import partialJsonParse from "../json-parse";
406
406
  }
407
407
  /**
408
408
  * 解析 HTML 注释中的上下文属性
409
- */ var parseCommentContextProps = function(value, processedValue) {
409
+ */ var parseCommentContextProps = function parseCommentContextProps(value, processedValue) {
410
410
  var _processedValue_trim, _processedValue_trim1;
411
411
  var isComment = value && (processedValue === null || processedValue === void 0 ? void 0 : (_processedValue_trim = processedValue.trim()) === null || _processedValue_trim === void 0 ? void 0 : _processedValue_trim.endsWith('-->')) && ((_processedValue_trim1 = processedValue.trim()) === null || _processedValue_trim1 === void 0 ? void 0 : _processedValue_trim1.startsWith('<!--'));
412
412
  if (!isComment) {
@@ -437,7 +437,7 @@ import partialJsonParse from "../json-parse";
437
437
  };
438
438
  /**
439
439
  * 处理块级 HTML 元素
440
- */ var handleBlockHtml = function(currentElement, processedValue, isUnclosedComment, parseMarkdownFn) {
440
+ */ var handleBlockHtml = function handleBlockHtml(currentElement, processedValue, isUnclosedComment, parseMarkdownFn) {
441
441
  var thinkElement = findThinkElement(currentElement.value);
442
442
  if (thinkElement) {
443
443
  return {
@@ -565,7 +565,7 @@ import partialJsonParse from "../json-parse";
565
565
  };
566
566
  /**
567
567
  * 应用元素配置属性(纯函数版本)
568
- */ var applyElementConfig = function(el, contextProps, processedValue, isUnclosedComment, currentElement) {
568
+ */ var applyElementConfig = function applyElementConfig(el, contextProps, processedValue, isUnclosedComment, currentElement) {
569
569
  var _valueToCheck_trim;
570
570
  if (!el || Array.isArray(el)) {
571
571
  return el;
@@ -591,7 +591,7 @@ import partialJsonParse from "../json-parse";
591
591
  };
592
592
  /**
593
593
  * 处理 span 标签的样式属性(纯函数版本)
594
- */ var processSpanTag = function(str, tag, htmlTag) {
594
+ */ var processSpanTag = function processSpanTag(str, tag, htmlTag) {
595
595
  try {
596
596
  var styles = str.match(/style="([^"\n]+)"/);
597
597
  if (!styles) {
@@ -621,7 +621,7 @@ import partialJsonParse from "../json-parse";
621
621
  };
622
622
  /**
623
623
  * 处理 a 标签的链接属性(纯函数版本)
624
- */ var processATag = function(str, tag, htmlTag) {
624
+ */ var processATag = function processATag(str, tag, htmlTag) {
625
625
  var url = str.match(/href="([\w:./_\-#\\]+)"/);
626
626
  if (url) {
627
627
  return _to_consumable_array(htmlTag).concat([
@@ -635,7 +635,7 @@ import partialJsonParse from "../json-parse";
635
635
  };
636
636
  /**
637
637
  * 处理 font 标签的颜色属性(纯函数版本)
638
- */ var processFontTag = function(str, tag, htmlTag) {
638
+ */ var processFontTag = function processFontTag(str, tag, htmlTag) {
639
639
  var colorMatch = str.match(/color="([^"\n]+)"/) || str.match(/color=([^"\n]+)/);
640
640
  if (colorMatch) {
641
641
  return _to_consumable_array(htmlTag).concat([
@@ -660,7 +660,7 @@ import partialJsonParse from "../json-parse";
660
660
  * @param tag - 标签名称
661
661
  * @param htmlTag - HTML标签栈
662
662
  * @returns 返回新的标签栈数组
663
- */ var processHtmlTag = function(str, tag, htmlTag) {
663
+ */ var processHtmlTag = function processHtmlTag(str, tag, htmlTag) {
664
664
  var processor = htmlTagProcessors[tag];
665
665
  if (processor) {
666
666
  return processor(str, tag, htmlTag);
@@ -676,7 +676,7 @@ import partialJsonParse from "../json-parse";
676
676
  * @param currentElement - 当前处理的HTML元素
677
677
  * @param htmlTag - HTML标签栈
678
678
  * @returns 返回处理后的元素对象和新的标签栈,如果是标签则返回null
679
- */ var processInlineHtml = function(currentElement, htmlTag) {
679
+ */ var processInlineHtml = function processInlineHtml(currentElement, htmlTag) {
680
680
  var value = currentElement.value;
681
681
  if (value.match(/<br\/?>/)) {
682
682
  return {
@@ -735,7 +735,7 @@ import partialJsonParse from "../json-parse";
735
735
  };
736
736
  /**
737
737
  * 查找附件链接
738
- */ export var findAttachment = function(str) {
738
+ */ export var findAttachment = function findAttachment(str) {
739
739
  try {
740
740
  var match = str.match(/^\s*<a[^>\n]*download[^>\n]*\/?>(.*<\/a>:?)?\s*$/);
741
741
  if (match) {
@@ -760,7 +760,7 @@ import partialJsonParse from "../json-parse";
760
760
  * @param htmlTag - HTML标签栈,用于跟踪嵌套的HTML标签
761
761
  * @param parseMarkdownFn - 可选,解析 Markdown 得到 schema,用于 <p align> 内部按 Markdown 解析(如 ** 加粗)
762
762
  * @returns 返回包含解析后元素和上下文属性的对象
763
- */ export var handleHtml = function(currentElement, parent, htmlTag, parseMarkdownFn) {
763
+ */ export var handleHtml = function handleHtml(currentElement, parent, htmlTag, parseMarkdownFn) {
764
764
  var _currentElement_value;
765
765
  var trimmedValue = (currentElement === null || currentElement === void 0 ? void 0 : (_currentElement_value = currentElement.value) === null || _currentElement_value === void 0 ? void 0 : _currentElement_value.trim()) || '';
766
766
  var isUnclosedComment = trimmedValue.startsWith('<!--') && !trimmedValue.endsWith('-->');
@@ -5,7 +5,7 @@ var INLINE_MATH_CURRENCY_PATTERN = new RegExp("^[+-]?\\d{1,3}(?:,\\d{3})*(?:\\.\
5
5
  var INLINE_MATH_SIMPLE_NUMBER_PATTERN = new RegExp("^[+-]?\\d+(?:\\.\\d+)?".concat(INLINE_MATH_SUFFIX_PATTERN, "$"));
6
6
  /**
7
7
  * 判断是否应该将内联数学公式作为文本处理
8
- */ export var shouldTreatInlineMathAsText = function(rawValue) {
8
+ */ export var shouldTreatInlineMathAsText = function shouldTreatInlineMathAsText(rawValue) {
9
9
  var trimmedValue = rawValue.trim();
10
10
  if (!trimmedValue) {
11
11
  return true;
@@ -19,7 +19,7 @@ var INLINE_MATH_SIMPLE_NUMBER_PATTERN = new RegExp("^[+-]?\\d+(?:\\.\\d+)?".conc
19
19
  * 处理内联数学公式
20
20
  * @param currentElement - 当前处理的内联数学公式元素
21
21
  * @returns 返回格式化的内联KaTeX节点对象
22
- */ export var handleInlineMath = function(currentElement) {
22
+ */ export var handleInlineMath = function handleInlineMath(currentElement) {
23
23
  debugInfo('handleInlineMath - 处理内联数学公式', {
24
24
  value: currentElement === null || currentElement === void 0 ? void 0 : currentElement.value
25
25
  });
@@ -60,7 +60,7 @@ var INLINE_MATH_SIMPLE_NUMBER_PATTERN = new RegExp("^[+-]?\\d+(?:\\.\\d+)?".conc
60
60
  * 处理数学公式块
61
61
  * @param currentElement - 当前处理的数学公式块元素
62
62
  * @returns 返回格式化的KaTeX块节点对象
63
- */ export var handleMath = function(currentElement) {
63
+ */ export var handleMath = function handleMath(currentElement) {
64
64
  var _currentElement_value;
65
65
  debugInfo('handleMath - 处理数学公式块', {
66
66
  valueLength: (_currentElement_value = currentElement.value) === null || _currentElement_value === void 0 ? void 0 : _currentElement_value.length
@@ -57,7 +57,7 @@ import { decodeURIComponentUrl, findAttachment } from "./parseHtml";
57
57
  * 处理图片节点
58
58
  * @param currentElement - 当前处理的图片元素,包含url和alt属性
59
59
  * @returns 返回格式化的图片节点对象
60
- */ export var handleImage = function(currentElement) {
60
+ */ export var handleImage = function handleImage(currentElement) {
61
61
  debugInfo('handleImage - 处理图片', {
62
62
  url: currentElement === null || currentElement === void 0 ? void 0 : currentElement.url,
63
63
  alt: currentElement === null || currentElement === void 0 ? void 0 : currentElement.alt,
@@ -76,7 +76,7 @@ import { decodeURIComponentUrl, findAttachment } from "./parseHtml";
76
76
  };
77
77
  /**
78
78
  * 处理附件链接
79
- */ export var handleAttachmentLink = function(currentElement) {
79
+ */ export var handleAttachmentLink = function handleAttachmentLink(currentElement) {
80
80
  var _currentElement_children;
81
81
  debugInfo('handleAttachmentLink - 处理附件链接', {
82
82
  childrenCount: (_currentElement_children = currentElement.children) === null || _currentElement_children === void 0 ? void 0 : _currentElement_children.length
@@ -124,7 +124,7 @@ import { decodeURIComponentUrl, findAttachment } from "./parseHtml";
124
124
  };
125
125
  /**
126
126
  * 处理链接卡片
127
- */ export var handleLinkCard = function(currentElement, config) {
127
+ */ export var handleLinkCard = function handleLinkCard(currentElement, config) {
128
128
  var _currentElement_children, _currentElement_children1;
129
129
  debugInfo('handleLinkCard - 处理链接卡片', {
130
130
  childrenCount: currentElement === null || currentElement === void 0 ? void 0 : (_currentElement_children = currentElement.children) === null || _currentElement_children === void 0 ? void 0 : _currentElement_children.length,
@@ -80,26 +80,26 @@ var stringifyObj = remark().use(remarkParse).use(fixStrongWithSpecialChars).use(
80
80
  'yaml'
81
81
  ]);
82
82
  var myRemark = {
83
- stringify: function(obj) {
83
+ stringify: function stringify(obj) {
84
84
  var mdStr = stringifyObj.stringify(obj);
85
85
  return mdStr;
86
86
  }
87
87
  };
88
88
  /**
89
89
  * 高级数字检查
90
- */ var advancedNumericCheck = function(value) {
90
+ */ var advancedNumericCheck = function advancedNumericCheck(value) {
91
91
  var numericPattern = /^[-+]?[0-9,]*\.?[0-9]+([eE][-+]?[0-9]+)?$/;
92
92
  return typeof value === 'number' || typeof value === 'string' && numericPattern.test(value);
93
93
  };
94
94
  /**
95
95
  * 判断是否为数字值
96
- */ var isNumericValue = function(value) {
96
+ */ var isNumericValue = function isNumericValue(value) {
97
97
  return typeof value === 'number' || !isNaN(parseFloat(value)) && isFinite(value) || advancedNumericCheck(value);
98
98
  };
99
99
  /**
100
100
  * 判断是否包含不完整输入
101
101
  * 如果一行中包含可能尚未完成的数字输入,返回 true
102
- */ var hasIncompleteNumericInput = function(values) {
102
+ */ var hasIncompleteNumericInput = function hasIncompleteNumericInput(values) {
103
103
  // 检查是否有可能是正在输入的不完整数字
104
104
  // 例如: '12.' 或 '0.' 或 '-' 或 仅有一个数字字符的情况
105
105
  return values.some(function(val) {
@@ -116,7 +116,7 @@ var myRemark = {
116
116
  * 将 `index\_value` 转换为 `index_value`,确保字段名一致
117
117
  * @param fieldName - 原始字段名
118
118
  * @returns 规范化后的字段名
119
- */ export var normalizeFieldName = function(fieldName) {
119
+ */ export var normalizeFieldName = function normalizeFieldName(fieldName) {
120
120
  if (!fieldName) return fieldName;
121
121
  // 移除转义字符:将 `\_` 转换为 `_`,`\\` 转换为 `\`
122
122
  return fieldName.replace(/\\_/g, '_').replace(/\\\\/g, '\\').replace(/\\(?=")/g, '') // 移除转义的双引号
@@ -124,7 +124,7 @@ var myRemark = {
124
124
  };
125
125
  /**
126
126
  * 获取列对齐方式
127
- */ export var getColumnAlignment = function(data, columns) {
127
+ */ export var getColumnAlignment = function getColumnAlignment(data, columns) {
128
128
  if (!data.length) return [];
129
129
  // 缓存上一次的对齐结果,避免频繁切换
130
130
  var prevAlignments = [];
@@ -151,7 +151,7 @@ var myRemark = {
151
151
  * @param parserConfig - 解析配置
152
152
  * @param contextChartConfig - 由上一条 HTML 注释(<!-- [{"chartType":...}] -->)解析得到的配置;当 preNode 无 html 配置且注释被 skip 时由此传入
153
153
  * @returns 返回表格或图表节点
154
- */ export var parseTableOrChart = function(table, preNode, plugins, parseNodes, parserConfig, contextChartConfig) {
154
+ */ export var parseTableOrChart = function parseTableOrChart(table, preNode, plugins, parseNodes, parserConfig, contextChartConfig) {
155
155
  var _table_children, _tableHeader_children, _table_children_slice, _table_children1, _table_align;
156
156
  var keyMap = new Map();
157
157
  // 优先使用前一个 HTML 代码块的 otherProps;若 HTML 注释被 skip(不产出 code 节点),则使用 contextChartConfig
@@ -222,7 +222,7 @@ var myRemark = {
222
222
  * 将对象转换为数组(处理 {0: {...}, 1: {...}} 这种错误格式)
223
223
  * @param obj - 要转换的对象
224
224
  * @returns 转换后的数组,如果不是数字键对象则返回原对象
225
- */ var convertObjectToArray = function(obj) {
225
+ */ var convertObjectToArray = function convertObjectToArray(obj) {
226
226
  if (!obj || (typeof obj === "undefined" ? "undefined" : _type_of(obj)) !== 'object' || Array.isArray(obj)) {
227
227
  return obj;
228
228
  }
@@ -248,7 +248,7 @@ var myRemark = {
248
248
  // 如果 chartConfig 是对象且键都是数字(如 {0: {...}}),转换为数组
249
249
  chartConfig = convertObjectToArray(chartConfig);
250
250
  // 获取 chartType,支持多种配置格式
251
- var getChartType = function() {
251
+ var getChartType = function getChartType() {
252
252
  var _chartConfig_, _config_at, _config_at1;
253
253
  return (chartConfig === null || chartConfig === void 0 ? void 0 : chartConfig.chartType) || Array.isArray(chartConfig) && (chartConfig === null || chartConfig === void 0 ? void 0 : (_chartConfig_ = chartConfig[0]) === null || _chartConfig_ === void 0 ? void 0 : _chartConfig_.chartType) || (config === null || config === void 0 ? void 0 : config.chartType) || (config === null || config === void 0 ? void 0 : (_config_at1 = config.at) === null || _config_at1 === void 0 ? void 0 : (_config_at = _config_at1.call(config, 0)) === null || _config_at === void 0 ? void 0 : _config_at.chartType);
254
254
  };
@@ -343,7 +343,7 @@ var myRemark = {
343
343
  * 预处理 Markdown 表格换行符
344
344
  * @param markdown - 原始 Markdown 字符串
345
345
  * @returns 处理后的 Markdown 字符串
346
- */ export var preprocessMarkdownTableNewlines = function(markdown) {
346
+ */ export var preprocessMarkdownTableNewlines = function preprocessMarkdownTableNewlines(markdown) {
347
347
  // 检查是否包含表格
348
348
  if (!tableRegex.test(markdown)) return markdown; // 如果没有表格,直接返回原始字符串
349
349
  // 处理表格结尾的换行符:
@@ -54,7 +54,7 @@ import { handleInlineCode } from "./parseElements";
54
54
  import { shouldTreatInlineMathAsText } from "./parseMath";
55
55
  /**
56
56
  * 设置节点的 finished 属性
57
- */ export var setFinishedProp = function(leaf, finished) {
57
+ */ export var setFinishedProp = function setFinishedProp(leaf, finished) {
58
58
  if (finished !== false) {
59
59
  return leaf;
60
60
  }
@@ -66,13 +66,13 @@ import { shouldTreatInlineMathAsText } from "./parseMath";
66
66
  };
67
67
  /**
68
68
  * 检查 leaf 是否有格式属性需要保留
69
- */ var hasFormattingProps = function(leaf) {
69
+ */ var hasFormattingProps = function hasFormattingProps(leaf) {
70
70
  var _leaf_otherProps;
71
71
  return !!(leaf.bold || leaf.italic || leaf.strikethrough || leaf.url || leaf.code || ((_leaf_otherProps = leaf.otherProps) === null || _leaf_otherProps === void 0 ? void 0 : _leaf_otherProps.finished) === false);
72
72
  };
73
73
  /**
74
74
  * 解析文本节点和内联元素
75
- */ export var parseText = function(els) {
75
+ */ export var parseText = function parseText1(els) {
76
76
  var leaf = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
77
77
  data: {}
78
78
  };
@@ -193,7 +193,7 @@ import { shouldTreatInlineMathAsText } from "./parseMath";
193
193
  * @param el - 目标元素对象
194
194
  * @param htmlTag - HTML标签数组,包含样式信息
195
195
  * @returns 返回应用了样式的新元素对象
196
- */ export var applyHtmlTagsToElement = function(el, htmlTag) {
196
+ */ export var applyHtmlTagsToElement = function applyHtmlTagsToElement(el, htmlTag) {
197
197
  if (!htmlTag.length) {
198
198
  return el;
199
199
  }
@@ -241,7 +241,7 @@ import { shouldTreatInlineMathAsText } from "./parseMath";
241
241
  * @param applyInlineFormattingFn - 应用内联格式的函数
242
242
  * @param parseNodesFn - 解析节点的函数
243
243
  * @returns 处理后的元素对象
244
- */ export var handleTextAndInlineElementsPure = function(currentElement, htmlTag, applyInlineFormattingFn, parseNodesFn) {
244
+ */ export var handleTextAndInlineElementsPure = function handleTextAndInlineElementsPure(currentElement, htmlTag, applyInlineFormattingFn, parseNodesFn) {
245
245
  var elementType = currentElement.type;
246
246
  // 处理文本节点
247
247
  if (elementType === 'text') {
@@ -109,12 +109,12 @@ import mdastParser from "./remarkParse";
109
109
  var parseCache = new Map();
110
110
  /**
111
111
  * 清空解析缓存
112
- */ export var clearParseCache = function() {
112
+ */ export var clearParseCache = function clearParseCache() {
113
113
  parseCache.clear();
114
114
  };
115
115
  /**
116
116
  * 生成简单的字符串哈希
117
- */ export var simpleHash = function(str) {
117
+ */ export var simpleHash = function simpleHash(str) {
118
118
  var hash = 0;
119
119
  for(var i = 0; i < str.length; i++){
120
120
  var char = str.charCodeAt(i);
@@ -127,7 +127,7 @@ var parseCache = new Map();
127
127
  * 将 Markdown 文本按块分割
128
128
  * 正确处理代码块、HTML 标签、脚注等内容
129
129
  * 返回带有内容和哈希的块数组
130
- */ var splitMarkdownIntoBlocks = function(md, config, plugins) {
130
+ */ var splitMarkdownIntoBlocks = function splitMarkdownIntoBlocks(md, config, plugins) {
131
131
  var blocks = [];
132
132
  var currentBlock = '';
133
133
  var inCodeBlock = false;
@@ -198,7 +198,7 @@ var parseCache = new Map();
198
198
  });
199
199
  };
200
200
  // 删除 <answer> 和 </answer> 标签,保留中间内容
201
- var removeAnswerTags = function(text) {
201
+ var removeAnswerTags = function removeAnswerTags(text) {
202
202
  return text.replace(/<answer>\s*/g, '').replace(/\s*<\/answer>/g, '');
203
203
  };
204
204
  /**
@@ -461,98 +461,98 @@ var removeAnswerTags = function(text) {
461
461
  * 获取统一的元素处理器映射表
462
462
  */ function getElementHandlers() {
463
463
  var _this = this;
464
- var parseNodesFn = function(nodes, top, parent) {
464
+ var parseNodesFn = function parseNodesFn(nodes, top, parent) {
465
465
  return _this.parseNodes(nodes, top, parent);
466
466
  };
467
- var parseNodesForTable = function(nodes, _plugins, top, parent) {
467
+ var parseNodesForTable = function parseNodesForTable(nodes, _plugins, top, parent) {
468
468
  return _this.parseNodes(nodes, top || false, parent);
469
469
  };
470
470
  return {
471
471
  html: {
472
- handler: function() {
472
+ handler: function handler() {
473
473
  return null;
474
474
  },
475
475
  needsHtmlResult: true
476
476
  },
477
477
  image: {
478
- handler: function(el) {
478
+ handler: function handler(el) {
479
479
  return handleImage(el);
480
480
  }
481
481
  },
482
482
  inlineMath: {
483
- handler: function(el) {
483
+ handler: function handler(el) {
484
484
  return handleInlineMath(el);
485
485
  }
486
486
  },
487
487
  math: {
488
- handler: function(el) {
488
+ handler: function handler(el) {
489
489
  return handleMath(el);
490
490
  }
491
491
  },
492
492
  footnoteReference: {
493
- handler: function(el) {
493
+ handler: function handler(el) {
494
494
  return handleFootnoteReference(el);
495
495
  }
496
496
  },
497
497
  inlineCode: {
498
- handler: function(el) {
498
+ handler: function handler(el) {
499
499
  return handleInlineCode(el);
500
500
  }
501
501
  },
502
502
  thematicBreak: {
503
- handler: function() {
503
+ handler: function handler() {
504
504
  return handleThematicBreak();
505
505
  }
506
506
  },
507
507
  code: {
508
- handler: function(el, context) {
508
+ handler: function handler(el, context) {
509
509
  return handleCode(el, context.config);
510
510
  }
511
511
  },
512
512
  yaml: {
513
- handler: function(el) {
513
+ handler: function handler(el) {
514
514
  return handleYaml(el);
515
515
  }
516
516
  },
517
517
  definition: {
518
- handler: function(el) {
518
+ handler: function handler(el) {
519
519
  return handleDefinition(el);
520
520
  }
521
521
  },
522
522
  heading: {
523
- handler: function(el) {
523
+ handler: function handler(el) {
524
524
  return handleHeading(el, parseNodesFn);
525
525
  }
526
526
  },
527
527
  list: {
528
- handler: function(el) {
528
+ handler: function handler(el) {
529
529
  return handleList(el, parseNodesFn);
530
530
  }
531
531
  },
532
532
  listItem: {
533
- handler: function(el) {
533
+ handler: function handler(el) {
534
534
  return handleListItem(el, parseNodesFn);
535
535
  }
536
536
  },
537
537
  blockquote: {
538
- handler: function(el) {
538
+ handler: function handler(el) {
539
539
  return handleBlockquote(el, parseNodesFn);
540
540
  }
541
541
  },
542
542
  footnoteDefinition: {
543
- handler: function(el) {
543
+ handler: function handler(el) {
544
544
  return handleFootnoteDefinition(el, parseNodesFn);
545
545
  }
546
546
  },
547
547
  paragraph: {
548
- handler: function(el, context) {
548
+ handler: function handler(el, context) {
549
549
  return handleParagraph(el, context.config, parseNodesFn);
550
550
  }
551
551
  },
552
552
  table: {
553
553
  // 传入 config:当上一条是图表注释且被 continue 掉时,config 来自 contextProps,
554
554
  // 作为 contextChartConfig 供 parseTableOrChart 在 preNode 无 html 配置时使用
555
- handler: function(el, context) {
555
+ handler: function handler(el, context) {
556
556
  return parseTableOrChart(el, context.preElement || context.parent, _this.plugins, parseNodesForTable, _this.config, context.config);
557
557
  }
558
558
  }
@@ -628,7 +628,7 @@ var removeAnswerTags = function(text) {
628
628
  * );
629
629
  * const result = parser.parse(markdown);
630
630
  * ```
631
- */ export var parserMarkdownToSlateNode = function(md, plugins, config) {
631
+ */ export var parserMarkdownToSlateNode = function parserMarkdownToSlateNode(md, plugins, config) {
632
632
  var _loop = function(i) {
633
633
  var _allSchemas;
634
634
  var _blocks_i = blocks[i], content = _blocks_i.content, hash = _blocks_i.hash;
@@ -1,5 +1,5 @@
1
1
  import { parserMarkdownToSlateNode } from "./parserMarkdownToSlateNode";
2
- var transformResult = function(result) {
2
+ var transformResult = function transformResult(result) {
3
3
  var _result_schema;
4
4
  return {
5
5
  schema: (_result_schema = result.schema) === null || _result_schema === void 0 ? void 0 : _result_schema.filter(function(s) {
@@ -14,6 +14,6 @@ var transformResult = function(result) {
14
14
  links: result.links || []
15
15
  };
16
16
  };
17
- export var parserMdToSchema = function(code, plugins) {
17
+ export var parserMdToSchema = function parserMdToSchema(code, plugins) {
18
18
  return transformResult(parserMarkdownToSlateNode(code, plugins));
19
19
  };