@ant-design/agentic-ui 2.0.14 → 2.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BackTo/BackBottom.d.ts +56 -0
- package/dist/BackTo/BackTop.d.ts +39 -2
- package/dist/BackTo/index.d.ts +20 -0
- package/dist/Bubble/AIBubble.js +1 -1
- package/dist/Bubble/List/index.js +1 -1
- package/dist/Bubble/UserBubble.js +1 -1
- package/dist/Bubble/index.d.ts +6 -0
- package/dist/Bubble/style.js +1 -1
- package/dist/ChatBootPage/CaseReply.js +1 -1
- package/dist/ChatBootPage/Title.js +1 -1
- package/dist/ChatBootPage/index.d.ts +6 -0
- package/dist/Components/ActionIconBox/index.js +1 -1
- package/dist/Components/ActionItemBox/ActionItemBox.js +1 -1
- package/dist/Components/ActionItemBox/index.d.ts +6 -0
- package/dist/Components/Button/index.d.ts +6 -0
- package/dist/History/components/HistoryItem.js +2 -2
- package/dist/History/components/NewChatComponent.js +1 -1
- package/dist/History/components/SearchComponent.d.ts +2 -0
- package/dist/History/components/SearchComponent.js +17 -3
- package/dist/History/index.d.ts +4 -0
- package/dist/History/index.js +10 -9
- package/dist/History/menu.d.ts +2 -0
- package/dist/History/menu.js +18 -5
- package/dist/History/style.js +1 -1
- package/dist/History/types/index.d.ts +6 -0
- package/dist/MarkdownEditor/BaseMarkdownEditor.js +1 -1
- package/dist/MarkdownEditor/editor/components/CommentList/index.js +1 -1
- package/dist/MarkdownEditor/editor/components/ContributorAvatar/index.js +1 -1
- package/dist/MarkdownEditor/editor/components/fntTag/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Comment/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/FootnoteDefinition.js +1 -1
- package/dist/MarkdownEditor/editor/elements/FootnoteReference.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Head.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Image/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/LinkCard/index.js +2 -2
- package/dist/MarkdownEditor/editor/elements/List/List.js +1 -1
- package/dist/MarkdownEditor/editor/elements/List/ListItem.js +1 -1
- package/dist/MarkdownEditor/editor/elements/List/style.js +2 -2
- package/dist/MarkdownEditor/editor/elements/Media.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Paragraph.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/ReadonlyTableComponent.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/SimpleTable.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/Table.js +5 -3
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/index.js +3 -1
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/Td/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/TagPopup/index.d.ts +0 -22
- package/dist/MarkdownEditor/editor/elements/TagPopup/index.js +171 -122
- package/dist/MarkdownEditor/editor/elements/index.js +1 -1
- package/dist/MarkdownEditor/editor/style.js +6 -6
- package/dist/MarkdownEditor/editor/tools/DragHandle.js +2 -2
- package/dist/MarkdownEditor/editor/tools/ToolBar/ToolBar.js +1 -1
- package/dist/MarkdownEditor/editor/utils/dom.d.ts +1 -1
- package/dist/MarkdownEditor/editor/utils/index.d.ts +1 -1
- package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/index.js +1 -1
- package/dist/MarkdownInputField/AttachmentButton/index.js +1 -1
- package/dist/MarkdownInputField/AttachmentButton/utils.d.ts +8 -0
- package/dist/MarkdownInputField/AttachmentButton/utils.js +10 -3
- package/dist/MarkdownInputField/BeforeToolContainer/BeforeToolContainer.js +1 -1
- package/dist/MarkdownInputField/Enlargement/index.js +1 -1
- package/dist/MarkdownInputField/FileMapView/index.js +5 -2
- package/dist/MarkdownInputField/MarkdownInputField.js +1 -1
- package/dist/MarkdownInputField/QuickActions/index.js +4 -8
- package/dist/MarkdownInputField/RefinePromptButton/index.js +1 -1
- package/dist/MarkdownInputField/SendActions/index.js +1 -1
- package/dist/MarkdownInputField/SendButton/index.js +1 -1
- package/dist/MarkdownInputField/SkillModeBar/index.js +1 -1
- package/dist/MarkdownInputField/TopOperatingArea/index.js +1 -1
- package/dist/MarkdownInputField/VoiceInput/index.js +1 -1
- package/dist/Plugins/chart/index.js +2 -2
- package/dist/Plugins/index.d.ts +6 -0
- package/dist/Plugins/mermaid/index.js +1 -1
- package/dist/Quote/index.js +1 -1
- package/dist/Schema/index.d.ts +6 -0
- package/dist/ThoughtChainList/DotAni/index.css +1 -1
- package/dist/ThoughtChainList/DotAni/index.js +2 -2
- package/dist/ToolUseBar/ToolUseBarThink.js +1 -1
- package/dist/ToolUseBar/index.js +1 -1
- package/dist/WelcomeMessage/index.d.ts +42 -0
- package/dist/WelcomeMessage/index.js +1 -1
- package/dist/Workspace/RealtimeFollow/style.js +1 -1
- package/dist/Workspace/Task/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 将KB转换为可读的文件大小格式
|
|
3
|
+
* 支持从字节(B)到TB的所有单位,最小单位为B
|
|
3
4
|
*
|
|
4
5
|
* @param {number} kb - 文件大小(KB)
|
|
5
6
|
* @returns {string} 格式化后的文件大小字符串
|
|
6
7
|
*
|
|
7
8
|
* @example
|
|
9
|
+
* kbToSize(1073741824) // "1 TB"
|
|
10
|
+
* kbToSize(1048576) // "1 GB"
|
|
8
11
|
* kbToSize(1024) // "1 MB"
|
|
9
12
|
* kbToSize(512) // "512 KB"
|
|
13
|
+
* kbToSize(1) // "1 KB"
|
|
14
|
+
* kbToSize(0.5) // "512 B"
|
|
15
|
+
* kbToSize(0.1) // "102.4 B"
|
|
16
|
+
* kbToSize(0.0001) // "0.1 B"
|
|
17
|
+
* kbToSize(0) // "0 B"
|
|
10
18
|
*/
|
|
11
19
|
export declare const kbToSize: (kb: number) => string;
|
|
12
20
|
/**
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
// src/MarkdownInputField/AttachmentButton/utils.ts
|
|
2
2
|
var kbToSize = (kb) => {
|
|
3
|
-
const sizes = ["KB", "MB", "GB", "TB"];
|
|
4
|
-
const
|
|
5
|
-
|
|
3
|
+
const sizes = ["B", "KB", "MB", "GB", "TB"];
|
|
4
|
+
const bytes = kb * 1024;
|
|
5
|
+
if (bytes <= 0) {
|
|
6
|
+
return "0 B";
|
|
7
|
+
}
|
|
8
|
+
if (bytes < 1024) {
|
|
9
|
+
return parseFloat(bytes.toFixed(2)) + " " + sizes[0];
|
|
10
|
+
}
|
|
11
|
+
const i = Math.floor(Math.log(bytes) / Math.log(1024));
|
|
12
|
+
return parseFloat((bytes / Math.pow(1024, i)).toFixed(2)) + " " + sizes[i];
|
|
6
13
|
};
|
|
7
14
|
var isImageFile = (file) => {
|
|
8
15
|
return file.type.startsWith("image/");
|
|
@@ -100,7 +100,7 @@ var DraggablePopupItem = React.memo((props) => {
|
|
|
100
100
|
DraggablePopupItem.displayName = "DraggablePopupItem";
|
|
101
101
|
var ActionItemContainer = (props) => {
|
|
102
102
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
103
|
-
const basePrefixCls = getPrefixCls("
|
|
103
|
+
const basePrefixCls = getPrefixCls("agentic-chat-action-item-box");
|
|
104
104
|
const { wrapSSR, hashId } = useStyle(basePrefixCls);
|
|
105
105
|
const containerRef = useRef(null);
|
|
106
106
|
const scrollRef = useRef(null);
|
|
@@ -9,7 +9,7 @@ var Enlargement = ({
|
|
|
9
9
|
onEnlargeClick
|
|
10
10
|
}) => {
|
|
11
11
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
12
|
-
const baseCls = getPrefixCls("md-enlargement");
|
|
12
|
+
const baseCls = getPrefixCls("agentic-md-enlargement");
|
|
13
13
|
const { wrapSSR, hashId } = useStyle(baseCls);
|
|
14
14
|
return wrapSSR(
|
|
15
15
|
/* @__PURE__ */ React.createElement("div", { className: classNames(baseCls, hashId) }, /* @__PURE__ */ React.createElement(
|
|
@@ -11,7 +11,7 @@ var FileMapView = (props) => {
|
|
|
11
11
|
var _a, _b;
|
|
12
12
|
const { placement = "left" } = props;
|
|
13
13
|
const context = useContext(ConfigProvider.ConfigContext);
|
|
14
|
-
const prefix = context == null ? void 0 : context.getPrefixCls("md-editor-file-view-list");
|
|
14
|
+
const prefix = context == null ? void 0 : context.getPrefixCls("agentic-md-editor-file-view-list");
|
|
15
15
|
const { wrapSSR, hashId } = useStyle(prefix);
|
|
16
16
|
const maxCount = (_a = props.maxDisplayCount) != null ? _a : 3;
|
|
17
17
|
const fileList = useMemo(() => {
|
|
@@ -41,7 +41,10 @@ var FileMapView = (props) => {
|
|
|
41
41
|
display: "flex",
|
|
42
42
|
flexDirection: "column",
|
|
43
43
|
gap: 4,
|
|
44
|
-
|
|
44
|
+
maxWidth: "100%",
|
|
45
|
+
minWidth: 0,
|
|
46
|
+
alignItems: placement === "left" ? "flex-start" : "flex-end",
|
|
47
|
+
width: "max-content"
|
|
45
48
|
}
|
|
46
49
|
},
|
|
47
50
|
/* @__PURE__ */ React.createElement(
|
|
@@ -100,7 +100,7 @@ var MarkdownInputField = (_a) => {
|
|
|
100
100
|
]);
|
|
101
101
|
var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
102
102
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
103
|
-
const baseCls = getPrefixCls("md-input-field");
|
|
103
|
+
const baseCls = getPrefixCls("agentic-md-input-field");
|
|
104
104
|
const { wrapSSR, hashId } = useStyle(baseCls);
|
|
105
105
|
const [isHover, setHover] = React.useState(false);
|
|
106
106
|
const [isLoading, setIsLoading] = React.useState(false);
|
|
@@ -39,7 +39,7 @@ var QuickActions = React.forwardRef(
|
|
|
39
39
|
editorRef,
|
|
40
40
|
onValueChange,
|
|
41
41
|
quickActionRender,
|
|
42
|
-
prefixCls = "ant-md-input-field",
|
|
42
|
+
prefixCls = "ant-agentic-md-input-field",
|
|
43
43
|
hashId = "",
|
|
44
44
|
onResize,
|
|
45
45
|
isEnlarged = false,
|
|
@@ -99,13 +99,9 @@ var QuickActions = React.forwardRef(
|
|
|
99
99
|
e.stopPropagation();
|
|
100
100
|
e.preventDefault();
|
|
101
101
|
},
|
|
102
|
-
className: classNames(
|
|
103
|
-
`${prefixCls}-quick-actions
|
|
104
|
-
|
|
105
|
-
{
|
|
106
|
-
[`${prefixCls}-quick-actions-vertical`]: enlargeable
|
|
107
|
-
}
|
|
108
|
-
)
|
|
102
|
+
className: classNames(`${prefixCls}-quick-actions`, hashId, {
|
|
103
|
+
[`${prefixCls}-quick-actions-vertical`]: enlargeable
|
|
104
|
+
})
|
|
109
105
|
},
|
|
110
106
|
[
|
|
111
107
|
// Enlargement组件 - 显示在最上方
|
|
@@ -38,7 +38,7 @@ function LoadingIcon() {
|
|
|
38
38
|
var RefinePromptButton = (props) => {
|
|
39
39
|
const { isHover, disabled, status, onRefine, style } = props;
|
|
40
40
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
41
|
-
const baseCls = getPrefixCls("md-input-field-refine-button");
|
|
41
|
+
const baseCls = getPrefixCls("agentic-md-input-field-refine-button");
|
|
42
42
|
const { wrapSSR, hashId } = useStyle(baseCls);
|
|
43
43
|
const handleClick = () => {
|
|
44
44
|
if (disabled)
|
|
@@ -92,7 +92,7 @@ var SendButton = (props) => {
|
|
|
92
92
|
(_a = props.onInit) == null ? void 0 : _a.call(props);
|
|
93
93
|
}, []);
|
|
94
94
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
95
|
-
const baseCls = getPrefixCls("md-input-field-send-button");
|
|
95
|
+
const baseCls = getPrefixCls("agentic-md-input-field-send-button");
|
|
96
96
|
const { wrapSSR, hashId } = useStyle(baseCls);
|
|
97
97
|
if (typeof window === "undefined" || typeof document === "undefined" || !window.document) {
|
|
98
98
|
return null;
|
|
@@ -11,7 +11,7 @@ var SkillModeBarInner = ({
|
|
|
11
11
|
onSkillModeOpenChange
|
|
12
12
|
}) => {
|
|
13
13
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
14
|
-
const prefixCls = getPrefixCls("skill-mode");
|
|
14
|
+
const prefixCls = getPrefixCls("agentic-skill-mode");
|
|
15
15
|
const { wrapSSR, hashId } = useStyle(prefixCls);
|
|
16
16
|
const handleInternalSkillModeChange = useSkillModeState(
|
|
17
17
|
skillMode,
|
|
@@ -7,7 +7,7 @@ import { useStyle } from "./style";
|
|
|
7
7
|
var TopOperatingArea = (props) => {
|
|
8
8
|
const { isShowBackTo = true, targetRef, operationBtnRender } = props;
|
|
9
9
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
10
|
-
const prefixCls = getPrefixCls("top-operating-area");
|
|
10
|
+
const prefixCls = getPrefixCls("agentic-top-operating-area");
|
|
11
11
|
const { wrapSSR, hashId } = useStyle(prefixCls);
|
|
12
12
|
const renderOperationButtons = () => {
|
|
13
13
|
if (!operationBtnRender)
|
|
@@ -31,7 +31,7 @@ import { useStyle } from "./style";
|
|
|
31
31
|
var VoiceInputButton = (props) => {
|
|
32
32
|
const { recording, disabled, onStart, onStop, style } = props;
|
|
33
33
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
34
|
-
const baseCls = getPrefixCls("md-input-field-voice-button");
|
|
34
|
+
const baseCls = getPrefixCls("agentic-md-input-field-voice-button");
|
|
35
35
|
const { wrapSSR, hashId } = useStyle(baseCls);
|
|
36
36
|
const dom = props.title ? /* @__PURE__ */ React.createElement(
|
|
37
37
|
"div",
|
|
@@ -140,7 +140,7 @@ var ChartElement = (props) => {
|
|
|
140
140
|
() => /* @__PURE__ */ React.createElement(
|
|
141
141
|
"div",
|
|
142
142
|
__spreadProps(__spreadValues({
|
|
143
|
-
className: "ant-md-editor-drag-el"
|
|
143
|
+
className: "ant-agentic-md-editor-drag-el"
|
|
144
144
|
}, attributes), {
|
|
145
145
|
"data-be": "chart",
|
|
146
146
|
style: {
|
|
@@ -156,7 +156,7 @@ var ChartElement = (props) => {
|
|
|
156
156
|
/* @__PURE__ */ React.createElement(
|
|
157
157
|
"div",
|
|
158
158
|
{
|
|
159
|
-
className: "ant-md-editor-chart-box",
|
|
159
|
+
className: "ant-agentic-md-editor-chart-box",
|
|
160
160
|
style: {
|
|
161
161
|
display: "flex",
|
|
162
162
|
flexDirection: "column",
|
package/dist/Plugins/index.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ function MermaidElement(props) {
|
|
|
155
155
|
)
|
|
156
156
|
)
|
|
157
157
|
),
|
|
158
|
-
/* @__PURE__ */ React.createElement("div", { className: "ant-md-editor-hidden" }, props.children)
|
|
158
|
+
/* @__PURE__ */ React.createElement("div", { className: "ant-agentic-md-editor-hidden" }, props.children)
|
|
159
159
|
),
|
|
160
160
|
/* @__PURE__ */ React.createElement(Mermaid, { el: props.element })
|
|
161
161
|
);
|
package/dist/Quote/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var Quote = ({
|
|
|
17
17
|
onFileClick
|
|
18
18
|
}) => {
|
|
19
19
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
20
|
-
const prefixCls = getPrefixCls("quote");
|
|
20
|
+
const prefixCls = getPrefixCls("agentic-quote");
|
|
21
21
|
const { wrapSSR, hashId } = useStyle(prefixCls);
|
|
22
22
|
const handleFileClick = () => {
|
|
23
23
|
if (onFileClick && fileName) {
|
package/dist/Schema/index.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ import classNames from "classnames";
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { useDotAniStyle } from "./style";
|
|
5
5
|
var DotLoading = () => {
|
|
6
|
-
const { wrapSSR, hashId } = useDotAniStyle("md-editor-loader");
|
|
6
|
+
const { wrapSSR, hashId } = useDotAniStyle("agentic-md-editor-loader");
|
|
7
7
|
return wrapSSR(
|
|
8
8
|
/* @__PURE__ */ React.createElement(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
11
|
"data-testid": "dot-loading",
|
|
12
|
-
className: classNames("md-editor-loader", hashId),
|
|
12
|
+
className: classNames("agentic-md-editor-loader", hashId),
|
|
13
13
|
role: "progressbar",
|
|
14
14
|
"aria-label": "Loading"
|
|
15
15
|
}
|
|
@@ -245,7 +245,7 @@ var ToolUseBarThinkComponent = ({
|
|
|
245
245
|
light = false
|
|
246
246
|
}) => {
|
|
247
247
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
248
|
-
const prefixCls = getPrefixCls("tool-use-bar-think");
|
|
248
|
+
const prefixCls = getPrefixCls("agentic-tool-use-bar-think");
|
|
249
249
|
const { wrapSSR, hashId } = useStyle(prefixCls);
|
|
250
250
|
const [expandedState, setExpandedState] = useMergedState(defaultExpanded, {
|
|
251
251
|
value: expanded,
|
package/dist/ToolUseBar/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var ToolUseBarComponent = (_a) => {
|
|
|
36
36
|
"light"
|
|
37
37
|
]);
|
|
38
38
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
39
|
-
const prefixCls = getPrefixCls("tool-use-bar");
|
|
39
|
+
const prefixCls = getPrefixCls("agentic-tool-use-bar");
|
|
40
40
|
const { wrapSSR, hashId } = useStyle(prefixCls);
|
|
41
41
|
const [activeKeys, setActiveKeys] = useMergedState(
|
|
42
42
|
props.defaultActiveKeys || [],
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* WelcomeMessage 组件的属性接口
|
|
4
|
+
* @interface WelcomeMessageProps
|
|
5
|
+
*/
|
|
2
6
|
export interface WelcomeMessageProps {
|
|
3
7
|
/** 标题 */
|
|
4
8
|
title?: React.ReactNode;
|
|
@@ -14,4 +18,42 @@ export interface WelcomeMessageProps {
|
|
|
14
18
|
/** 自定义根节点样式类名 */
|
|
15
19
|
rootClassName?: string;
|
|
16
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* WelcomeMessage 组件 - 欢迎消息组件
|
|
23
|
+
*
|
|
24
|
+
* 该组件用于显示聊天开始时的欢迎消息,包含标题和描述信息。
|
|
25
|
+
* 适用于聊天机器人、客服系统等场景的初始欢迎界面。
|
|
26
|
+
*
|
|
27
|
+
* @component
|
|
28
|
+
* @description 欢迎消息组件,用于显示聊天开始时的欢迎信息
|
|
29
|
+
* @param {WelcomeMessageProps} props - 组件属性
|
|
30
|
+
* @param {React.ReactNode} [props.title] - 欢迎标题
|
|
31
|
+
* @param {React.ReactNode} [props.description] - 欢迎描述
|
|
32
|
+
* @param {Object} [props.classNames] - 自定义样式类名
|
|
33
|
+
* @param {string} [props.classNames.title] - 标题样式类名
|
|
34
|
+
* @param {string} [props.classNames.description] - 描述样式类名
|
|
35
|
+
* @param {React.CSSProperties} [props.style] - 自定义样式
|
|
36
|
+
* @param {string} [props.rootClassName] - 根节点样式类名
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```tsx
|
|
40
|
+
* <WelcomeMessage
|
|
41
|
+
* title="欢迎使用 AI 助手"
|
|
42
|
+
* description="我可以帮助您解答问题、提供建议和完成任务"
|
|
43
|
+
* classNames={{
|
|
44
|
+
* title: 'custom-title',
|
|
45
|
+
* description: 'custom-description'
|
|
46
|
+
* }}
|
|
47
|
+
* />
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @returns {React.ReactElement} 渲染的欢迎消息组件
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* - 支持自定义标题和描述
|
|
54
|
+
* - 提供灵活的样式配置
|
|
55
|
+
* - 支持 React.ReactNode 类型内容
|
|
56
|
+
* - 集成 Ant Design 主题系统
|
|
57
|
+
* - 响应式布局适配
|
|
58
|
+
*/
|
|
17
59
|
export declare const WelcomeMessage: React.FC<WelcomeMessageProps>;
|
|
@@ -11,7 +11,7 @@ var WelcomeMessage = ({
|
|
|
11
11
|
rootClassName
|
|
12
12
|
}) => {
|
|
13
13
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
14
|
-
const prefixCls = getPrefixCls("welcome");
|
|
14
|
+
const prefixCls = getPrefixCls("agentic-welcome");
|
|
15
15
|
const { wrapSSR, hashId } = useStyle(prefixCls);
|
|
16
16
|
return wrapSSR(
|
|
17
17
|
/* @__PURE__ */ React.createElement("div", { className: classnames(prefixCls, hashId, rootClassName), style }, title && /* @__PURE__ */ React.createElement("div", { className: classnames(`${prefixCls}-title`, classNames == null ? void 0 : classNames.title) }, title), description && /* @__PURE__ */ React.createElement(
|
|
@@ -224,7 +224,7 @@ var genStyle = (token) => {
|
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
[`&--markdown`]: {
|
|
227
|
-
'.ant-md-editor-content div[data-be="paragraph"]:last-child': {
|
|
227
|
+
'.ant-agentic-md-editor-content div[data-be="paragraph"]:last-child': {
|
|
228
228
|
paddingBottom: "16px",
|
|
229
229
|
color: "var(--color-gray-text-light)",
|
|
230
230
|
font: "var(--font-text-code-base)",
|
|
@@ -20,7 +20,7 @@ var StatusIcon = ({ status }) => {
|
|
|
20
20
|
};
|
|
21
21
|
var TaskList = ({ data }) => {
|
|
22
22
|
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
23
|
-
const prefixCls = getPrefixCls("workspace-task");
|
|
23
|
+
const prefixCls = getPrefixCls("agentic-workspace-task");
|
|
24
24
|
const { wrapSSR, hashId } = useTaskStyle(prefixCls);
|
|
25
25
|
return wrapSSR(
|
|
26
26
|
/* @__PURE__ */ React.createElement("div", { className: classNames(prefixCls, hashId), "data-testid": "task-list" }, data.items.map((item) => /* @__PURE__ */ React.createElement(
|