@ant-design/agentic-ui 2.29.12 → 2.29.14

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 (184) hide show
  1. package/dist/AILabel/style.d.ts +3 -0
  2. package/dist/AgentRunBar/style.d.ts +3 -0
  3. package/dist/AgenticLayout/style.d.ts +3 -0
  4. package/dist/AnswerAlert/style.d.ts +3 -0
  5. package/dist/BackTo/style.d.ts +3 -0
  6. package/dist/Bubble/List/style.d.ts +3 -0
  7. package/dist/Bubble/MessagesContent/VoiceButton/style.d.ts +3 -0
  8. package/dist/Bubble/MessagesContent/docInfoStyle.d.ts +3 -0
  9. package/dist/Bubble/MessagesContent/style.d.ts +3 -0
  10. package/dist/Bubble/style.d.ts +3 -0
  11. package/dist/ChatBootPage/ButtonTabGroupStyle.d.ts +3 -0
  12. package/dist/ChatBootPage/ButtonTabStyle.d.ts +3 -0
  13. package/dist/ChatBootPage/CaseReplyStyle.d.ts +3 -0
  14. package/dist/ChatBootPage/style.d.ts +3 -0
  15. package/dist/ChatLayout/style.d.ts +3 -0
  16. package/dist/Components/ActionIconBox/style.d.ts +3 -0
  17. package/dist/Components/ActionItemBox/ActionItemBox.d.ts +1 -1
  18. package/dist/Components/ActionItemBox/style.d.ts +3 -0
  19. package/dist/Components/Button/IconButton/style.d.ts +3 -0
  20. package/dist/Components/Button/SwitchButton/style.d.ts +3 -0
  21. package/dist/Components/Button/ToggleButton/style.d.ts +3 -0
  22. package/dist/Components/GradientText/index.d.ts +1 -1
  23. package/dist/Components/GradientText/style.d.ts +3 -0
  24. package/dist/Components/LayoutHeader/style.d.ts +3 -0
  25. package/dist/Components/Loading/Loading.d.ts +1 -1
  26. package/dist/Components/Loading/style.d.ts +3 -0
  27. package/dist/Components/SuggestionList/style.d.ts +3 -0
  28. package/dist/Components/TextAnimate/index.d.ts +1 -1
  29. package/dist/Components/TextAnimate/style.d.ts +3 -0
  30. package/dist/Components/TypingAnimation/index.d.ts +1 -1
  31. package/dist/Components/TypingAnimation/style.d.ts +3 -0
  32. package/dist/Components/VisualList/style.d.ts +3 -0
  33. package/dist/Components/lotties/TextLoading/style.d.ts +3 -0
  34. package/dist/Components/lotties/bubble-actions/Abstract/style.d.ts +3 -0
  35. package/dist/History/components/HistoryItem.js +3 -0
  36. package/dist/History/components/NewChatComponent.style.d.ts +3 -0
  37. package/dist/History/style.d.ts +3 -0
  38. package/dist/History/style.js +2 -2
  39. package/dist/Hooks/useLanguage.d.ts +1 -0
  40. package/dist/Hooks/useStyle/index.d.ts +3 -0
  41. package/dist/Hooks/useStyle/index.js +7 -4
  42. package/dist/I18n/locales.d.ts +1 -0
  43. package/dist/I18n/locales.js +2 -0
  44. package/dist/MarkdownEditor/editor/Editor.d.ts +1 -2
  45. package/dist/MarkdownEditor/editor/Editor.js +16 -5
  46. package/dist/MarkdownEditor/editor/components/CommentList/style.d.ts +3 -0
  47. package/dist/MarkdownEditor/editor/components/ContributorAvatar/style.d.ts +3 -0
  48. package/dist/MarkdownEditor/editor/components/LazyElement/style.d.ts +3 -0
  49. package/dist/MarkdownEditor/editor/components/fntTag/index.d.ts +1 -1
  50. package/dist/MarkdownEditor/editor/components/fntTag/style.d.ts +3 -0
  51. package/dist/MarkdownEditor/editor/elements/Blockquote/ReadonlyBlockquote.js +0 -5
  52. package/dist/MarkdownEditor/editor/elements/Blockquote/index.js +0 -10
  53. package/dist/MarkdownEditor/editor/elements/Break/ReadonlyBreak.js +0 -2
  54. package/dist/MarkdownEditor/editor/elements/Break/index.js +0 -2
  55. package/dist/MarkdownEditor/editor/elements/Card/ReadonlyCard.js +0 -6
  56. package/dist/MarkdownEditor/editor/elements/Card/index.js +0 -11
  57. package/dist/MarkdownEditor/editor/elements/Code/ReadonlyCode.js +4 -9
  58. package/dist/MarkdownEditor/editor/elements/Code/index.js +4 -9
  59. package/dist/MarkdownEditor/editor/elements/Comment/index.d.ts +0 -2
  60. package/dist/MarkdownEditor/editor/elements/Comment/index.js +1 -1
  61. package/dist/MarkdownEditor/editor/elements/CommentLeaf/index.d.ts +1 -2
  62. package/dist/MarkdownEditor/editor/elements/CommentLeaf/index.js +3 -9
  63. package/dist/MarkdownEditor/editor/elements/FncLeaf/index.d.ts +1 -2
  64. package/dist/MarkdownEditor/editor/elements/FncLeaf/index.js +2 -32
  65. package/dist/MarkdownEditor/editor/elements/FootnoteDefinition/ReadonlyFootnoteDefinition.js +0 -7
  66. package/dist/MarkdownEditor/editor/elements/FootnoteDefinition/index.js +0 -1
  67. package/dist/MarkdownEditor/editor/elements/FootnoteReference/ReadonlyFootnoteReference.js +0 -3
  68. package/dist/MarkdownEditor/editor/elements/FootnoteReference/index.js +0 -1
  69. package/dist/MarkdownEditor/editor/elements/Head/ReadonlyHead.js +0 -4
  70. package/dist/MarkdownEditor/editor/elements/Head/index.js +0 -9
  71. package/dist/MarkdownEditor/editor/elements/Hr/ReadonlyHr.js +0 -2
  72. package/dist/MarkdownEditor/editor/elements/Hr/index.js +0 -2
  73. package/dist/MarkdownEditor/editor/elements/Image/index.js +2 -31
  74. package/dist/MarkdownEditor/editor/elements/InlineKatex/ReadonlyInlineKatex.js +0 -5
  75. package/dist/MarkdownEditor/editor/elements/LinkCard/ReadonlyLinkCard.js +11 -25
  76. package/dist/MarkdownEditor/editor/elements/LinkCard/index.js +11 -25
  77. package/dist/MarkdownEditor/editor/elements/List/List.d.ts +0 -3
  78. package/dist/MarkdownEditor/editor/elements/List/List.js +5 -36
  79. package/dist/MarkdownEditor/editor/elements/List/ListItem.js +4 -18
  80. package/dist/MarkdownEditor/editor/elements/List/ReadonlyList.js +4 -21
  81. package/dist/MarkdownEditor/editor/elements/List/ReadonlyListItem.js +3 -14
  82. package/dist/MarkdownEditor/editor/elements/Mermaid/ReadonlyMermaid.js +5 -12
  83. package/dist/MarkdownEditor/editor/elements/Mermaid/index.js +5 -12
  84. package/dist/MarkdownEditor/editor/elements/Paragraph/ReadonlyParagraph.js +5 -12
  85. package/dist/MarkdownEditor/editor/elements/Paragraph/index.js +8 -7
  86. package/dist/MarkdownEditor/editor/elements/Schema/ReadonlySchema.js +0 -13
  87. package/dist/MarkdownEditor/editor/elements/Schema/index.js +0 -3
  88. package/dist/MarkdownEditor/editor/elements/Table/ReadonlyTableComponent.d.ts +0 -1
  89. package/dist/MarkdownEditor/editor/elements/Table/ReadonlyTableComponent.js +9 -7
  90. package/dist/MarkdownEditor/editor/elements/Table/SimpleTable.js +3 -48
  91. package/dist/MarkdownEditor/editor/elements/Table/Table.d.ts +1 -2
  92. package/dist/MarkdownEditor/editor/elements/Table/Table.js +8 -7
  93. package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/index.js +7 -9
  94. package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/index.js +7 -9
  95. package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/index.js +3 -5
  96. package/dist/MarkdownEditor/editor/elements/Table/Td/index.js +6 -8
  97. package/dist/MarkdownEditor/editor/elements/TagPopup/index.js +8 -10
  98. package/dist/MarkdownEditor/editor/elements/index.d.ts +1 -1
  99. package/dist/MarkdownEditor/editor/elements/index.js +85 -109
  100. package/dist/MarkdownEditor/editor/parser/parse/applyContextPropsAndConfig.js +13 -0
  101. package/dist/MarkdownEditor/editor/parser/parse/parseHtml.d.ts +9 -1
  102. package/dist/MarkdownEditor/editor/parser/parse/parseHtml.js +39 -3
  103. package/dist/MarkdownEditor/editor/parser/parse/parseTable.d.ts +3 -2
  104. package/dist/MarkdownEditor/editor/parser/parse/parseTable.js +14 -3
  105. package/dist/MarkdownEditor/editor/parser/parserMarkdownToSlateNode.js +18 -4
  106. package/dist/MarkdownEditor/editor/parser/parserSlateNodeToMarkdown.js +16 -8
  107. package/dist/MarkdownEditor/editor/plugins/useKeyboard.js +4 -1
  108. package/dist/MarkdownEditor/editor/plugins/useOnchange.js +9 -2
  109. package/dist/MarkdownEditor/editor/style.d.ts +3 -0
  110. package/dist/MarkdownEditor/editor/tools/ToolBar/FloatBar.js +1 -2
  111. package/dist/MarkdownEditor/editor/tools/ToolBar/ReadonlyBaseBar.d.ts +0 -1
  112. package/dist/MarkdownEditor/editor/tools/ToolBar/ReadonlyBaseBar.js +3 -4
  113. package/dist/MarkdownEditor/editor/tools/ToolBar/floatBarStyle.d.ts +3 -0
  114. package/dist/MarkdownEditor/editor/tools/ToolBar/toolBarStyle.d.ts +3 -0
  115. package/dist/MarkdownEditor/editor/tools/insertAutocompleteStyle.d.ts +3 -0
  116. package/dist/MarkdownEditor/style.d.ts +3 -0
  117. package/dist/MarkdownEditor/style.js +575 -3
  118. package/dist/MarkdownInputField/AttachmentButton/AttachmentButtonPopover.d.ts +3 -0
  119. package/dist/MarkdownInputField/AttachmentButton/AttachmentButtonPopover.js +47 -10
  120. package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/style.d.ts +3 -0
  121. package/dist/MarkdownInputField/AttachmentButton/index.d.ts +4 -0
  122. package/dist/MarkdownInputField/AttachmentButton/index.js +5 -3
  123. package/dist/MarkdownInputField/AttachmentButton/style.d.ts +3 -0
  124. package/dist/MarkdownInputField/BeforeToolContainer/BeforeToolContainer.d.ts +1 -1
  125. package/dist/MarkdownInputField/BorderBeamAnimation.js +47 -25
  126. package/dist/MarkdownInputField/FileMapView/style.d.ts +3 -0
  127. package/dist/MarkdownInputField/RefinePromptButton/style.d.ts +3 -0
  128. package/dist/MarkdownInputField/SendButton/style.d.ts +3 -0
  129. package/dist/MarkdownInputField/SkillModeBar/style.d.ts +3 -0
  130. package/dist/MarkdownInputField/TopOperatingArea/style.d.ts +3 -0
  131. package/dist/MarkdownInputField/VoiceInput/style.d.ts +3 -0
  132. package/dist/MarkdownInputField/style.d.ts +3 -0
  133. package/dist/Plugins/chart/AreaChart/style.d.ts +3 -0
  134. package/dist/Plugins/chart/BarChart/style.d.ts +3 -0
  135. package/dist/Plugins/chart/ChartAttrToolBar/ChartAttrToolBarStyle.d.ts +3 -0
  136. package/dist/Plugins/chart/ChartStatistic/style.d.ts +3 -0
  137. package/dist/Plugins/chart/DonutChart/style.d.ts +3 -0
  138. package/dist/Plugins/chart/FunnelChart/style.d.ts +3 -0
  139. package/dist/Plugins/chart/LineChart/style.d.ts +3 -0
  140. package/dist/Plugins/chart/RadarChart/style.d.ts +3 -0
  141. package/dist/Plugins/chart/ScatterChart/style.d.ts +3 -0
  142. package/dist/Plugins/chart/components/ChartContainer/style.d.ts +3 -0
  143. package/dist/Plugins/chart/components/ChartFilter/style.d.ts +3 -0
  144. package/dist/Plugins/chart/components/ChartToolBar/style.d.ts +3 -0
  145. package/dist/Plugins/mermaid/MermaidFallback.d.ts +1 -2
  146. package/dist/Plugins/mermaid/MermaidRendererImpl.d.ts +1 -2
  147. package/dist/Plugins/mermaid/style.d.ts +3 -0
  148. package/dist/Plugins/mermaid/style.js +5 -2
  149. package/dist/Plugins/mermaid/utils.js +1 -1
  150. package/dist/Quote/style.d.ts +3 -0
  151. package/dist/Schema/SchemaEditor/style.d.ts +3 -0
  152. package/dist/TaskList/index.d.ts +1 -1
  153. package/dist/TaskList/style.d.ts +3 -0
  154. package/dist/ThoughtChainList/DotAni/index.d.ts +1 -2
  155. package/dist/ThoughtChainList/DotAni/style.d.ts +3 -0
  156. package/dist/ThoughtChainList/style.d.ts +3 -0
  157. package/dist/ToolUseBar/style.d.ts +3 -0
  158. package/dist/ToolUseBarThink/style.d.ts +3 -0
  159. package/dist/WelcomeMessage/style.d.ts +3 -0
  160. package/dist/Workspace/Browser/style.d.ts +3 -0
  161. package/dist/Workspace/File/style.d.ts +3 -0
  162. package/dist/Workspace/HtmlPreview/style.d.ts +3 -0
  163. package/dist/Workspace/RealtimeFollow/style.d.ts +3 -0
  164. package/dist/Workspace/Task/style.d.ts +3 -0
  165. package/dist/Workspace/style.d.ts +3 -0
  166. package/package.json +1 -1
  167. package/dist/MarkdownEditor/editor/elements/LinkCard/style.d.ts +0 -10
  168. package/dist/MarkdownEditor/editor/elements/LinkCard/style.js +0 -136
  169. package/dist/MarkdownEditor/editor/elements/List/style.d.ts +0 -10
  170. package/dist/MarkdownEditor/editor/elements/List/style.js +0 -139
  171. package/dist/MarkdownEditor/editor/elements/Mermaid/style.d.ts +0 -10
  172. package/dist/MarkdownEditor/editor/elements/Mermaid/style.js +0 -144
  173. package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/style.d.ts +0 -10
  174. package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/style.js +0 -131
  175. package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/style.d.ts +0 -10
  176. package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/style.js +0 -125
  177. package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/style.d.ts +0 -10
  178. package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/style.js +0 -74
  179. package/dist/MarkdownEditor/editor/elements/Table/Td/style.d.ts +0 -10
  180. package/dist/MarkdownEditor/editor/elements/Table/Td/style.js +0 -93
  181. package/dist/MarkdownEditor/editor/elements/Table/style.d.ts +0 -11
  182. package/dist/MarkdownEditor/editor/elements/Table/style.js +0 -255
  183. package/dist/MarkdownEditor/editor/elements/TagPopup/style.d.ts +0 -5
  184. package/dist/MarkdownEditor/editor/elements/TagPopup/style.js +0 -111
@@ -1,6 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  export declare const prefixCls = "ai-label";
3
3
  export declare function useStyle(prefixCls?: string): {
4
+ hashId: string;
4
5
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
6
+ } | {
7
+ wrapSSR: (node: any) => any;
5
8
  hashId: string;
6
9
  };
@@ -17,6 +17,9 @@
17
17
  * ```
18
18
  */
19
19
  export declare function useStyle(prefixCls?: string): {
20
+ hashId: string;
20
21
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
22
+ } | {
23
+ wrapSSR: (node: any) => any;
21
24
  hashId: string;
22
25
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useAgenticLayoutStyle: (prefixCls: string) => {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useStyle(prefixCls?: string): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -1,6 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  export declare const prefixCls = "back-to";
3
3
  export declare function useStyle(prefixCls?: string): {
4
+ hashId: string;
4
5
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
6
+ } | {
7
+ wrapSSR: (node: any) => any;
5
8
  hashId: string;
6
9
  };
@@ -5,6 +5,9 @@
5
5
  * @returns
6
6
  */
7
7
  export declare function useStyle(prefixCls?: string): {
8
+ hashId: string;
8
9
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
10
+ } | {
11
+ wrapSSR: (node: any) => any;
9
12
  hashId: string;
10
13
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useStyle(prefixCls?: string): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -5,6 +5,9 @@
5
5
  * @returns
6
6
  */
7
7
  export declare function useStyle(prefixCls?: string): {
8
+ hashId: string;
8
9
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
10
+ } | {
11
+ wrapSSR: (node: any) => any;
9
12
  hashId: string;
10
13
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useMessagesContentStyle(): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -6,6 +6,9 @@ import { BubbleProps } from './type';
6
6
  * @returns
7
7
  */
8
8
  export declare function useStyle(prefixCls?: string, classNames?: BubbleProps['classNames']): {
9
+ hashId: string;
9
10
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
11
+ } | {
12
+ wrapSSR: (node: any) => any;
10
13
  hashId: string;
11
14
  };
@@ -3,6 +3,9 @@
3
3
  * ButtonTabGroup 组件样式
4
4
  */
5
5
  export declare const useStyle: (prefixCls?: string) => {
6
+ hashId: string;
6
7
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
8
+ } | {
9
+ wrapSSR: (node: any) => any;
7
10
  hashId: string;
8
11
  };
@@ -3,6 +3,9 @@
3
3
  * ButtonTab 组件样式
4
4
  */
5
5
  export declare const useStyle: (prefixCls?: string) => {
6
+ hashId: string;
6
7
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
8
+ } | {
9
+ wrapSSR: (node: any) => any;
7
10
  hashId: string;
8
11
  };
@@ -3,6 +3,9 @@
3
3
  * CaseReply 组件样式
4
4
  */
5
5
  export declare const useStyle: (prefixCls?: string) => {
6
+ hashId: string;
6
7
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
8
+ } | {
9
+ wrapSSR: (node: any) => any;
7
10
  hashId: string;
8
11
  };
@@ -5,6 +5,9 @@
5
5
  * @returns
6
6
  */
7
7
  export declare const useStyle: (prefixCls?: string) => {
8
+ hashId: string;
8
9
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
10
+ } | {
11
+ wrapSSR: (node: any) => any;
9
12
  hashId: string;
10
13
  };
@@ -5,6 +5,9 @@
5
5
  * @returns 样式对象
6
6
  */
7
7
  export declare function useStyle(prefixCls?: string): {
8
+ hashId: string;
8
9
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
10
+ } | {
11
+ wrapSSR: (node: any) => any;
9
12
  hashId: string;
10
13
  };
@@ -5,6 +5,9 @@
5
5
  * @returns
6
6
  */
7
7
  export declare function useStyle(prefixCls: string): {
8
+ hashId: string;
8
9
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
10
+ } | {
11
+ wrapSSR: (node: any) => any;
9
12
  hashId: string;
10
13
  };
@@ -15,6 +15,6 @@ export type ActionItemBoxProps = {
15
15
  disabled?: boolean;
16
16
  };
17
17
  export declare const ActionItemBox: {
18
- (props: ActionItemBoxProps): React.JSX.Element;
18
+ (props: ActionItemBoxProps): any;
19
19
  displayName: string;
20
20
  };
@@ -5,6 +5,9 @@
5
5
  * @returns
6
6
  */
7
7
  export declare function useStyle(prefixCls?: string): {
8
+ hashId: string;
8
9
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
10
+ } | {
11
+ wrapSSR: (node: any) => any;
9
12
  hashId: string;
10
13
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useStyle(prefixCls?: string): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useStyle(prefixCls?: string): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useStyle(prefixCls?: string): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -6,4 +6,4 @@ export interface GradientTextProps {
6
6
  animationSpeed?: number;
7
7
  style?: React.CSSProperties;
8
8
  }
9
- export declare function GradientText({ children, className, colors, animationSpeed, style, }: GradientTextProps): React.JSX.Element;
9
+ export declare function GradientText({ children, className, colors, animationSpeed, style, }: GradientTextProps): any;
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useGradientTextStyle: (prefixCls: string) => {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useLayoutHeaderStyle: (prefixCls: string) => {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -124,5 +124,5 @@ interface LoadingProps extends Pick<LoadingLottieProps, 'size'> {
124
124
  *
125
125
  * @returns {React.ReactElement} 渲染的加载动画组件
126
126
  */
127
- export declare const Loading: ({ className, wrapperClassName, style, indicator, tip, spinning, children, styles, size, percent, }: LoadingProps) => React.JSX.Element;
127
+ export declare const Loading: ({ className, wrapperClassName, style, indicator, tip, spinning, children, styles, size, percent, }: LoadingProps) => any;
128
128
  export {};
@@ -1,6 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  export declare const prefixCls = "loading";
3
3
  export declare function useStyle(prefixCls?: string): {
4
+ hashId: string;
4
5
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
6
+ } | {
7
+ wrapSSR: (node: any) => any;
5
8
  hashId: string;
6
9
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useStyle(prefixCls?: string): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -53,5 +53,5 @@ export interface TextAnimateProps extends MotionProps {
53
53
  accessible?: boolean;
54
54
  }
55
55
  export declare const resolveSegments: (children: React.ReactNode, by: AnimationType) => React.ReactNode[];
56
- export declare const TextAnimate: React.MemoExoticComponent<({ children, delay, duration, variants, className, segmentClassName, as: Component, startOnView, once, by, animation, accessible, ...props }: TextAnimateProps) => React.JSX.Element>;
56
+ export declare const TextAnimate: React.MemoExoticComponent<({ children, delay, duration, variants, className, segmentClassName, as: Component, startOnView, once, by, animation, accessible, ...props }: TextAnimateProps) => any>;
57
57
  export {};
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useTextAnimateStyle: (prefixCls: string) => {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -16,4 +16,4 @@ export interface TypingAnimationProps extends MotionProps {
16
16
  blinkCursor?: boolean;
17
17
  cursorStyle?: 'line' | 'block' | 'underscore';
18
18
  }
19
- export declare function TypingAnimation({ children, words, className, duration, typeSpeed, deleteSpeed, delay, pauseDelay, loop, as: Component, startOnView, showCursor, blinkCursor, cursorStyle, ...props }: TypingAnimationProps): React.JSX.Element;
19
+ export declare function TypingAnimation({ children, words, className, duration, typeSpeed, deleteSpeed, delay, pauseDelay, loop, as: Component, startOnView, showCursor, blinkCursor, cursorStyle, ...props }: TypingAnimationProps): any;
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useTypingAnimationStyle: (prefixCls: string) => {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useStyle(prefixCls?: string): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useStyle(prefixCls: string): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useStyle(prefixCls?: string): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -266,6 +266,9 @@ var getMaskStyle = function(isOverflow) {
266
266
  if (isOverflow) {
267
267
  var scrollDistance = -(el.scrollWidth - el.clientWidth + EXTRA_SCROLL_OFFSET);
268
268
  el.style.setProperty('--scroll-width', "".concat(scrollDistance, "px"));
269
+ // 根据滚动距离动态计算动画时长,保持恒定滚动速度(每 100px 约 1.5s)
270
+ var duration = Math.max(2, Math.abs(scrollDistance) / 100 * 1.5);
271
+ el.style.setProperty('--scroll-duration', "".concat(duration, "s"));
269
272
  }
270
273
  }, [
271
274
  text
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useNewChatStyle: (prefixCls: string) => {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare function useStyle(prefixCls?: string): {
3
+ hashId: string;
3
4
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
5
+ } | {
6
+ wrapSSR: (node: any) => any;
4
7
  hashId: string;
5
8
  };
@@ -252,7 +252,7 @@ var genStyle = function(token) {
252
252
  // 支持直接在元素上的属性
253
253
  '&[aria-describedby]': {
254
254
  animationName: 'scrollText',
255
- animationDuration: '2s',
255
+ animationDuration: 'var(--scroll-duration, 6s)',
256
256
  animationTimingFunction: 'linear',
257
257
  animationDelay: '0.5s',
258
258
  animationFillMode: 'forwards',
@@ -261,7 +261,7 @@ var genStyle = function(token) {
261
261
  // 支持子元素上的属性
262
262
  '& > div[aria-describedby]': {
263
263
  animationName: 'scrollText',
264
- animationDuration: '2s',
264
+ animationDuration: 'var(--scroll-duration, 6s)',
265
265
  animationTimingFunction: 'linear',
266
266
  animationDelay: '0.5s',
267
267
  animationFillMode: 'forwards',
@@ -353,6 +353,7 @@ export declare function useLanguage(): {
353
353
  'input.selectFile': string;
354
354
  'input.openGallery': string;
355
355
  'input.openFile': string;
356
+ 'input.supportedFormatMessage': string;
356
357
  'input.sendButtonTooltip.send': string;
357
358
  'input.sendButtonTooltip.newline': string;
358
359
  'common.name': string;
@@ -31,6 +31,9 @@ export declare const resetComponent: GenerateStyle<ChatTokenType>;
31
31
  * @returns UseStyleResult
32
32
  */
33
33
  export declare function useEditorStyleRegister(componentName: string, styleFn: (token: ComponentToken) => CSSInterpolation): {
34
+ hashId: string;
34
35
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
36
+ } | {
37
+ wrapSSR: (node: any) => any;
35
38
  hashId: string;
36
39
  };
@@ -74,7 +74,7 @@ export var resetComponent = function(token) {
74
74
  * @returns UseStyleResult
75
75
  */ export function useEditorStyleRegister(componentName, styleFn) {
76
76
  var _antdTheme_useToken;
77
- var _ref = (antdTheme === null || antdTheme === void 0 ? void 0 : (_antdTheme_useToken = antdTheme.useToken) === null || _antdTheme_useToken === void 0 ? void 0 : _antdTheme_useToken.call(antdTheme)) || {}, token = _ref.token, hashId = _ref.hashId, theme = _ref.theme;
77
+ var _ref = (antdTheme === null || antdTheme === void 0 ? void 0 : (_antdTheme_useToken = antdTheme.useToken) === null || _antdTheme_useToken === void 0 ? void 0 : _antdTheme_useToken.call(antdTheme)) || {}, token = _ref.token, theme = _ref.theme;
78
78
  var chatToken = _object_spread_props(_object_spread({}, token), {
79
79
  chatCls: '',
80
80
  antCls: ''
@@ -82,15 +82,18 @@ export var resetComponent = function(token) {
82
82
  var getPrefixCls = useContext(AntdConfigProvider.ConfigContext).getPrefixCls;
83
83
  chatToken.chatCls = ".".concat(getPrefixCls('agentic-ui'));
84
84
  chatToken.antCls = ".".concat(getPrefixCls());
85
+ // 组件库默认关闭 hashId,避免与宿主页面的 antd hashId 叠加导致选择器不生效;传入 '' 后 createStyleRegister 与返回的 hashId 均为空
85
86
  var genStyles = createStyleRegister({
86
- hashId: hashId || '',
87
+ hashId: '',
87
88
  token: chatToken,
88
89
  theme: theme,
89
90
  cssVariables: {}
90
91
  });
91
92
  var result = genStyles(componentName, styleFn);
92
- // 确保总是返回一个有效的对象
93
- return result || {
93
+ // 确保总是返回一个有效的对象,且 hashId 保持关闭
94
+ return result ? _object_spread_props(_object_spread({}, result), {
95
+ hashId: ''
96
+ }) : {
94
97
  wrapSSR: function(node) {
95
98
  return node;
96
99
  },
@@ -317,6 +317,7 @@ export declare const cnLabels: {
317
317
  'input.selectFile': string;
318
318
  'input.openGallery': string;
319
319
  'input.openFile': string;
320
+ 'input.supportedFormatMessage': string;
320
321
  'input.sendButtonTooltip.send': string;
321
322
  'input.sendButtonTooltip.newline': string;
322
323
  'common.name': string;
@@ -337,6 +337,7 @@
337
337
  'input.selectFile': '选择文件',
338
338
  'input.openGallery': '打开相册',
339
339
  'input.openFile': '打开文件',
340
+ 'input.supportedFormatMessage': '支持上传文件,每个文件不超过 ${maxSize},支持 ${extensions}等格式。',
340
341
  'input.sendButtonTooltip.send': '按 Enter 键发送',
341
342
  'input.sendButtonTooltip.newline': '按 Shift+Enter 键换行',
342
343
  // Other translations
@@ -711,6 +712,7 @@
711
712
  'input.selectFile': 'Select File',
712
713
  'input.openGallery': 'Open Gallery',
713
714
  'input.openFile': 'Open File',
715
+ 'input.supportedFormatMessage': 'Supports file upload, each file not exceeding ${maxSize}, formats such as ${extensions}.',
714
716
  'input.sendButtonTooltip.send': 'Press Enter to send',
715
717
  'input.sendButtonTooltip.newline': 'Press Shift+Enter for new line',
716
718
  // Other translations
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { MarkdownEditorInstance, MarkdownEditorProps } from '../types';
3
2
  /**
4
3
  * Markdown 编辑器组件的属性接口
@@ -67,4 +66,4 @@ export type MEditorProps = {
67
66
  * - 支持错误边界
68
67
  * - 响应式布局
69
68
  */
70
- export declare const SlateMarkdownEditor: (props: MEditorProps) => React.JSX.Element;
69
+ export declare const SlateMarkdownEditor: (props: MEditorProps) => any;
@@ -415,8 +415,15 @@ var defaultAllowedTypes = [
415
415
  ]);
416
416
  var handleSelectionChange = useDebounceFn(function(e) {
417
417
  return _async_to_generator(function() {
418
- var currentSelection, getSelectionContent, _markdownContainerRef_current, event, _props_onSelectionChange, _getSelectionContent, markdown, nodes, domSelection, _props_onSelectionChange1, selection, _markdownContainerRef_current1, event1, _props_onSelectionChange2, _getSelectionContent1, markdown1, nodes1, range, rect, _props_onSelectionChange3;
418
+ var _props_floatBar, currentSelection, getSelectionContent, _markdownContainerRef_current, event, _props_onSelectionChange, _getSelectionContent, markdown, nodes, domSelection, _props_onSelectionChange1, selection, _markdownContainerRef_current1, event1, _props_onSelectionChange2, _getSelectionContent1, markdown1, nodes1, range, rect, _props_onSelectionChange3;
419
419
  return _ts_generator(this, function(_state) {
420
+ // 只读且不需要选区(无 onSelectionChange、无 FloatBar)时,跳过选区同步与 DOM 测量,提升性能
421
+ if (readonly && !props.onSelectionChange && (!props.reportMode || ((_props_floatBar = props.floatBar) === null || _props_floatBar === void 0 ? void 0 : _props_floatBar.enable) === false)) {
422
+ setDomRect === null || setDomRect === void 0 ? void 0 : setDomRect(null);
423
+ return [
424
+ 2
425
+ ];
426
+ }
420
427
  currentSelection = markdownEditorRef.current.selection;
421
428
  // 获取选中内容的 markdown 和节点
422
429
  getSelectionContent = function(selection) {
@@ -1044,9 +1051,9 @@ var defaultAllowedTypes = [
1044
1051
  fncProps: props.fncProps,
1045
1052
  comment: props === null || props === void 0 ? void 0 : props.comment,
1046
1053
  children: leafComponentProps.children,
1047
- hashId: hashId,
1048
1054
  tagInputProps: props.tagInputProps,
1049
- linkConfig: props.linkConfig
1055
+ linkConfig: props.linkConfig,
1056
+ readonly: readonly
1050
1057
  }));
1051
1058
  if (!props.leafRender) return defaultDom;
1052
1059
  return props.leafRender(_object_spread_props(_object_spread({}, leafComponentProps), {
@@ -1057,10 +1064,14 @@ var defaultAllowedTypes = [
1057
1064
  }), defaultDom);
1058
1065
  });
1059
1066
  var decorateFn = function(e) {
1060
- var _props_comment;
1067
+ var _props_comment_commentList, _props_comment, _props_comment1;
1068
+ // 只读且无评论时,跳过 decorate(useHighlight + comment)以提升性能
1069
+ if (readonly && !(props === null || props === void 0 ? void 0 : (_props_comment = props.comment) === null || _props_comment === void 0 ? void 0 : (_props_comment_commentList = _props_comment.commentList) === null || _props_comment_commentList === void 0 ? void 0 : _props_comment_commentList.length)) {
1070
+ return [];
1071
+ }
1061
1072
  var decorateList = high(e) || [];
1062
1073
  if (!(props === null || props === void 0 ? void 0 : props.comment)) return decorateList;
1063
- if ((props === null || props === void 0 ? void 0 : (_props_comment = props.comment) === null || _props_comment === void 0 ? void 0 : _props_comment.enable) === false) return decorateList;
1074
+ if ((props === null || props === void 0 ? void 0 : (_props_comment1 = props.comment) === null || _props_comment1 === void 0 ? void 0 : _props_comment1.enable) === false) return decorateList;
1064
1075
  if (commentMap.size === 0) return decorateList;
1065
1076
  try {
1066
1077
  var ranges = [];
@@ -5,6 +5,9 @@
5
5
  * @returns
6
6
  */
7
7
  export declare function useStyle(prefixCls?: string): {
8
+ hashId: string;
8
9
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
10
+ } | {
11
+ wrapSSR: (node: any) => any;
9
12
  hashId: string;
10
13
  };
@@ -5,6 +5,9 @@
5
5
  * @returns
6
6
  */
7
7
  export declare function useStyle(prefixCls?: string): {
8
+ hashId: string;
8
9
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
10
+ } | {
11
+ wrapSSR: (node: any) => any;
9
12
  hashId: string;
10
13
  };
@@ -3,6 +3,9 @@
3
3
  * LazyElement 组件样式 Hook
4
4
  */
5
5
  export declare const useStyle: (prefixCls?: string) => {
6
+ hashId: string;
6
7
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
8
+ } | {
9
+ wrapSSR: (node: any) => any;
7
10
  hashId: string;
8
11
  };
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  export declare const TextStyleTag: (props: {
3
3
  children: React.ReactNode;
4
- }) => React.JSX.Element;
4
+ }) => any;
@@ -5,6 +5,9 @@
5
5
  * @returns
6
6
  */
7
7
  export declare function useStyle(prefixCls?: string): {
8
+ hashId: string;
8
9
  wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
10
+ } | {
11
+ wrapSSR: (node: any) => any;
9
12
  hashId: string;
10
13
  };
@@ -27,7 +27,6 @@ function _object_spread(target) {
27
27
  return target;
28
28
  }
29
29
  import React from "react";
30
- import { debugInfo } from "../../../../Utils/debugUtils";
31
30
  /**
32
31
  * ReadonlyBlockquote 组件 - 只读引用块预览组件
33
32
  *
@@ -58,10 +57,6 @@ import { debugInfo } from "../../../../Utils/debugUtils";
58
57
  * - 使用 React.memo 优化性能
59
58
  * - 保持预览模式的视觉效果
60
59
  */ export var ReadonlyBlockquote = /*#__PURE__*/ React.memo(function(props) {
61
- var _props_element_children;
62
- debugInfo('ReadonlyBlockquote - 渲染只读引用块', {
63
- childrenCount: (_props_element_children = props.element.children) === null || _props_element_children === void 0 ? void 0 : _props_element_children.length
64
- });
65
60
  return /*#__PURE__*/ React.createElement("blockquote", _object_spread({
66
61
  "data-be": 'blockquote'
67
62
  }, props.attributes), props.children);