@ant-design/agentic-ui 2.29.12 → 2.29.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AILabel/style.d.ts +3 -0
- package/dist/AgentRunBar/style.d.ts +3 -0
- package/dist/AgenticLayout/style.d.ts +3 -0
- package/dist/AnswerAlert/style.d.ts +3 -0
- package/dist/BackTo/style.d.ts +3 -0
- package/dist/Bubble/List/style.d.ts +3 -0
- package/dist/Bubble/MessagesContent/VoiceButton/style.d.ts +3 -0
- package/dist/Bubble/MessagesContent/docInfoStyle.d.ts +3 -0
- package/dist/Bubble/MessagesContent/style.d.ts +3 -0
- package/dist/Bubble/style.d.ts +3 -0
- package/dist/ChatBootPage/ButtonTabGroupStyle.d.ts +3 -0
- package/dist/ChatBootPage/ButtonTabStyle.d.ts +6 -0
- package/dist/ChatBootPage/CaseReplyStyle.d.ts +3 -0
- package/dist/ChatBootPage/style.d.ts +3 -0
- package/dist/ChatLayout/style.d.ts +3 -0
- package/dist/Components/ActionIconBox/style.d.ts +3 -0
- package/dist/Components/ActionItemBox/ActionItemBox.d.ts +1 -1
- package/dist/Components/ActionItemBox/style.d.ts +3 -0
- package/dist/Components/Button/IconButton/style.d.ts +3 -0
- package/dist/Components/Button/SwitchButton/style.d.ts +3 -0
- package/dist/Components/Button/ToggleButton/style.d.ts +3 -0
- package/dist/Components/GradientText/index.d.ts +1 -1
- package/dist/Components/GradientText/style.d.ts +3 -0
- package/dist/Components/LayoutHeader/style.d.ts +3 -0
- package/dist/Components/Loading/Loading.d.ts +1 -1
- package/dist/Components/Loading/style.d.ts +3 -0
- package/dist/Components/SuggestionList/style.d.ts +3 -0
- package/dist/Components/TextAnimate/index.d.ts +1 -1
- package/dist/Components/TextAnimate/style.d.ts +3 -0
- package/dist/Components/TypingAnimation/index.d.ts +1 -1
- package/dist/Components/TypingAnimation/style.d.ts +3 -0
- package/dist/Components/VisualList/style.d.ts +3 -0
- package/dist/Components/lotties/TextLoading/style.d.ts +3 -0
- package/dist/Components/lotties/bubble-actions/Abstract/style.d.ts +3 -0
- package/dist/History/components/HistoryItem.js +3 -0
- package/dist/History/components/NewChatComponent.style.d.ts +3 -0
- package/dist/History/style.d.ts +3 -0
- package/dist/History/style.js +2 -2
- package/dist/Hooks/useLanguage.d.ts +1 -0
- package/dist/Hooks/useStyle/index.d.ts +3 -0
- package/dist/Hooks/useStyle/index.js +7 -4
- package/dist/I18n/locales.d.ts +1 -0
- package/dist/I18n/locales.js +2 -0
- package/dist/MarkdownEditor/editor/Editor.d.ts +1 -2
- package/dist/MarkdownEditor/editor/Editor.js +16 -5
- package/dist/MarkdownEditor/editor/components/CommentList/style.d.ts +3 -0
- package/dist/MarkdownEditor/editor/components/ContributorAvatar/style.d.ts +3 -0
- package/dist/MarkdownEditor/editor/components/LazyElement/style.d.ts +3 -0
- package/dist/MarkdownEditor/editor/components/fntTag/index.d.ts +1 -1
- package/dist/MarkdownEditor/editor/components/fntTag/style.d.ts +3 -0
- package/dist/MarkdownEditor/editor/elements/Blockquote/ReadonlyBlockquote.js +0 -5
- package/dist/MarkdownEditor/editor/elements/Blockquote/index.js +0 -10
- package/dist/MarkdownEditor/editor/elements/Break/ReadonlyBreak.js +0 -2
- package/dist/MarkdownEditor/editor/elements/Break/index.js +0 -2
- package/dist/MarkdownEditor/editor/elements/Card/ReadonlyCard.js +0 -6
- package/dist/MarkdownEditor/editor/elements/Card/index.js +0 -11
- package/dist/MarkdownEditor/editor/elements/Code/ReadonlyCode.js +4 -9
- package/dist/MarkdownEditor/editor/elements/Code/index.js +4 -9
- package/dist/MarkdownEditor/editor/elements/Comment/index.d.ts +0 -2
- package/dist/MarkdownEditor/editor/elements/Comment/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/CommentLeaf/index.d.ts +1 -2
- package/dist/MarkdownEditor/editor/elements/CommentLeaf/index.js +3 -9
- package/dist/MarkdownEditor/editor/elements/FncLeaf/index.d.ts +1 -2
- package/dist/MarkdownEditor/editor/elements/FncLeaf/index.js +2 -32
- package/dist/MarkdownEditor/editor/elements/FootnoteDefinition/ReadonlyFootnoteDefinition.js +0 -7
- package/dist/MarkdownEditor/editor/elements/FootnoteDefinition/index.js +0 -1
- package/dist/MarkdownEditor/editor/elements/FootnoteReference/ReadonlyFootnoteReference.js +0 -3
- package/dist/MarkdownEditor/editor/elements/FootnoteReference/index.js +0 -1
- package/dist/MarkdownEditor/editor/elements/Head/ReadonlyHead.js +0 -4
- package/dist/MarkdownEditor/editor/elements/Head/index.js +0 -9
- package/dist/MarkdownEditor/editor/elements/Hr/ReadonlyHr.js +0 -2
- package/dist/MarkdownEditor/editor/elements/Hr/index.js +0 -2
- package/dist/MarkdownEditor/editor/elements/Image/index.js +2 -31
- package/dist/MarkdownEditor/editor/elements/InlineKatex/ReadonlyInlineKatex.js +0 -5
- package/dist/MarkdownEditor/editor/elements/LinkCard/ReadonlyLinkCard.js +11 -25
- package/dist/MarkdownEditor/editor/elements/LinkCard/index.js +11 -25
- package/dist/MarkdownEditor/editor/elements/List/List.d.ts +0 -3
- package/dist/MarkdownEditor/editor/elements/List/List.js +5 -36
- package/dist/MarkdownEditor/editor/elements/List/ListItem.js +4 -18
- package/dist/MarkdownEditor/editor/elements/List/ReadonlyList.js +4 -21
- package/dist/MarkdownEditor/editor/elements/List/ReadonlyListItem.js +3 -14
- package/dist/MarkdownEditor/editor/elements/Mermaid/ReadonlyMermaid.js +5 -12
- package/dist/MarkdownEditor/editor/elements/Mermaid/index.js +5 -12
- package/dist/MarkdownEditor/editor/elements/Paragraph/ReadonlyParagraph.js +0 -9
- package/dist/MarkdownEditor/editor/elements/Paragraph/index.js +0 -1
- package/dist/MarkdownEditor/editor/elements/Schema/ReadonlySchema.js +0 -13
- package/dist/MarkdownEditor/editor/elements/Schema/index.js +0 -3
- package/dist/MarkdownEditor/editor/elements/Table/ReadonlyTableComponent.d.ts +0 -1
- package/dist/MarkdownEditor/editor/elements/Table/ReadonlyTableComponent.js +9 -7
- package/dist/MarkdownEditor/editor/elements/Table/SimpleTable.js +3 -48
- package/dist/MarkdownEditor/editor/elements/Table/Table.d.ts +1 -2
- package/dist/MarkdownEditor/editor/elements/Table/Table.js +8 -7
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/index.js +7 -9
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/index.js +7 -9
- package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/index.js +3 -5
- package/dist/MarkdownEditor/editor/elements/Table/Td/index.js +6 -8
- package/dist/MarkdownEditor/editor/elements/TagPopup/index.js +8 -10
- package/dist/MarkdownEditor/editor/elements/index.d.ts +1 -1
- package/dist/MarkdownEditor/editor/elements/index.js +83 -105
- package/dist/MarkdownEditor/editor/parser/parse/parseTable.d.ts +3 -2
- package/dist/MarkdownEditor/editor/parser/parse/parseTable.js +14 -3
- package/dist/MarkdownEditor/editor/parser/parserMarkdownToSlateNode.js +12 -2
- package/dist/MarkdownEditor/editor/plugins/useKeyboard.js +4 -1
- package/dist/MarkdownEditor/editor/plugins/useOnchange.js +9 -2
- package/dist/MarkdownEditor/editor/style.d.ts +3 -0
- package/dist/MarkdownEditor/editor/tools/ToolBar/FloatBar.js +1 -2
- package/dist/MarkdownEditor/editor/tools/ToolBar/ReadonlyBaseBar.d.ts +0 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/ReadonlyBaseBar.js +3 -4
- package/dist/MarkdownEditor/editor/tools/ToolBar/floatBarStyle.d.ts +3 -0
- package/dist/MarkdownEditor/editor/tools/ToolBar/toolBarStyle.d.ts +3 -0
- package/dist/MarkdownEditor/editor/tools/insertAutocompleteStyle.d.ts +3 -0
- package/dist/MarkdownEditor/style.d.ts +3 -0
- package/dist/MarkdownEditor/style.js +575 -3
- package/dist/MarkdownInputField/AttachmentButton/AttachmentButtonPopover.d.ts +3 -0
- package/dist/MarkdownInputField/AttachmentButton/AttachmentButtonPopover.js +47 -10
- package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/style.d.ts +3 -0
- package/dist/MarkdownInputField/AttachmentButton/index.d.ts +4 -0
- package/dist/MarkdownInputField/AttachmentButton/index.js +5 -3
- package/dist/MarkdownInputField/AttachmentButton/style.d.ts +3 -0
- package/dist/MarkdownInputField/BeforeToolContainer/BeforeToolContainer.d.ts +1 -1
- package/dist/MarkdownInputField/BorderBeamAnimation.js +47 -25
- package/dist/MarkdownInputField/FileMapView/style.d.ts +3 -0
- package/dist/MarkdownInputField/RefinePromptButton/style.d.ts +3 -0
- package/dist/MarkdownInputField/SendButton/style.d.ts +3 -0
- package/dist/MarkdownInputField/SkillModeBar/style.d.ts +3 -0
- package/dist/MarkdownInputField/TopOperatingArea/style.d.ts +3 -0
- package/dist/MarkdownInputField/VoiceInput/style.d.ts +3 -0
- package/dist/MarkdownInputField/style.d.ts +3 -0
- package/dist/Plugins/chart/AreaChart/style.d.ts +3 -0
- package/dist/Plugins/chart/BarChart/style.d.ts +3 -0
- package/dist/Plugins/chart/ChartAttrToolBar/ChartAttrToolBarStyle.d.ts +3 -0
- package/dist/Plugins/chart/ChartStatistic/style.d.ts +3 -0
- package/dist/Plugins/chart/DonutChart/style.d.ts +3 -0
- package/dist/Plugins/chart/FunnelChart/style.d.ts +3 -0
- package/dist/Plugins/chart/LineChart/style.d.ts +3 -0
- package/dist/Plugins/chart/RadarChart/style.d.ts +3 -0
- package/dist/Plugins/chart/ScatterChart/style.d.ts +3 -0
- package/dist/Plugins/chart/components/ChartContainer/style.d.ts +3 -0
- package/dist/Plugins/chart/components/ChartFilter/style.d.ts +3 -0
- package/dist/Plugins/chart/components/ChartToolBar/style.d.ts +3 -0
- package/dist/Plugins/mermaid/MermaidFallback.d.ts +1 -2
- package/dist/Plugins/mermaid/MermaidRendererImpl.d.ts +1 -2
- package/dist/Plugins/mermaid/style.d.ts +3 -0
- package/dist/Plugins/mermaid/style.js +5 -2
- package/dist/Plugins/mermaid/utils.js +1 -1
- package/dist/Quote/style.d.ts +3 -0
- package/dist/Schema/SchemaEditor/style.d.ts +3 -0
- package/dist/TaskList/index.d.ts +1 -1
- package/dist/TaskList/style.d.ts +3 -0
- package/dist/ThoughtChainList/DotAni/index.d.ts +1 -2
- package/dist/ThoughtChainList/DotAni/style.d.ts +3 -0
- package/dist/ThoughtChainList/style.d.ts +3 -0
- package/dist/ToolUseBar/style.d.ts +3 -0
- package/dist/ToolUseBarThink/style.d.ts +3 -0
- package/dist/WelcomeMessage/style.d.ts +3 -0
- package/dist/Workspace/Browser/style.d.ts +3 -0
- package/dist/Workspace/File/style.d.ts +3 -0
- package/dist/Workspace/HtmlPreview/style.d.ts +3 -0
- package/dist/Workspace/RealtimeFollow/style.d.ts +3 -0
- package/dist/Workspace/Task/style.d.ts +3 -0
- package/dist/Workspace/style.d.ts +3 -0
- package/package.json +1 -2
- package/dist/MarkdownEditor/editor/elements/LinkCard/style.d.ts +0 -10
- package/dist/MarkdownEditor/editor/elements/LinkCard/style.js +0 -136
- package/dist/MarkdownEditor/editor/elements/List/style.d.ts +0 -10
- package/dist/MarkdownEditor/editor/elements/List/style.js +0 -139
- package/dist/MarkdownEditor/editor/elements/Mermaid/style.d.ts +0 -10
- package/dist/MarkdownEditor/editor/elements/Mermaid/style.js +0 -144
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/style.d.ts +0 -10
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/style.js +0 -131
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/style.d.ts +0 -10
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/style.js +0 -125
- package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/style.d.ts +0 -10
- package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/style.js +0 -74
- package/dist/MarkdownEditor/editor/elements/Table/Td/style.d.ts +0 -10
- package/dist/MarkdownEditor/editor/elements/Table/Td/style.js +0 -93
- package/dist/MarkdownEditor/editor/elements/Table/style.d.ts +0 -11
- package/dist/MarkdownEditor/editor/elements/Table/style.js +0 -255
- package/dist/MarkdownEditor/editor/elements/TagPopup/style.d.ts +0 -5
- package/dist/MarkdownEditor/editor/elements/TagPopup/style.js +0 -111
|
@@ -6,6 +6,19 @@ function _array_like_to_array(arr, len) {
|
|
|
6
6
|
function _array_with_holes(arr) {
|
|
7
7
|
if (Array.isArray(arr)) return arr;
|
|
8
8
|
}
|
|
9
|
+
function _define_property(obj, key, value) {
|
|
10
|
+
if (key in obj) {
|
|
11
|
+
Object.defineProperty(obj, key, {
|
|
12
|
+
value: value,
|
|
13
|
+
enumerable: true,
|
|
14
|
+
configurable: true,
|
|
15
|
+
writable: true
|
|
16
|
+
});
|
|
17
|
+
} else {
|
|
18
|
+
obj[key] = value;
|
|
19
|
+
}
|
|
20
|
+
return obj;
|
|
21
|
+
}
|
|
9
22
|
function _iterable_to_array_limit(arr, i) {
|
|
10
23
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
11
24
|
if (_i == null) return;
|
|
@@ -33,6 +46,21 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
33
46
|
function _non_iterable_rest() {
|
|
34
47
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
35
48
|
}
|
|
49
|
+
function _object_spread(target) {
|
|
50
|
+
for(var i = 1; i < arguments.length; i++){
|
|
51
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
52
|
+
var ownKeys = Object.keys(source);
|
|
53
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
54
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
55
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
ownKeys.forEach(function(key) {
|
|
59
|
+
_define_property(target, key, source[key]);
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
return target;
|
|
63
|
+
}
|
|
36
64
|
function _sliced_to_array(arr, i) {
|
|
37
65
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
38
66
|
}
|
|
@@ -48,7 +76,7 @@ import { AudioOutlined, FileImageOutlined, FileTextFilled, FolderOpenOutlined, P
|
|
|
48
76
|
import { Button, Modal, Tooltip } from "antd";
|
|
49
77
|
import React, { useContext, useMemo, useState } from "react";
|
|
50
78
|
import { useRefFunction } from "../../Hooks/useRefFunction";
|
|
51
|
-
import { I18nContext } from "../../I18n";
|
|
79
|
+
import { compileTemplate, I18nContext } from "../../I18n";
|
|
52
80
|
import { isMobileDevice, isVivoOrOppoDevice, kbToSize } from "./utils";
|
|
53
81
|
var FILE_SIZE_UNITS = {
|
|
54
82
|
KB: 1024,
|
|
@@ -109,30 +137,38 @@ export var SupportedFileFormats = {
|
|
|
109
137
|
]
|
|
110
138
|
}
|
|
111
139
|
};
|
|
112
|
-
var
|
|
140
|
+
var DEFAULT_FORMAT_MESSAGE = '支持上传文件,每个文件不超过 ${maxSize},支持 ${extensions}等格式。';
|
|
141
|
+
var buildFormatMessage = function(format, locale) {
|
|
142
|
+
var _ref;
|
|
113
143
|
var _format_extensions;
|
|
114
144
|
var maxSize = kbToSize(format.maxSize || DEFAULT_MAX_SIZE);
|
|
115
145
|
var extensions = ((_format_extensions = format.extensions) === null || _format_extensions === void 0 ? void 0 : _format_extensions.join(', ')) || '';
|
|
116
|
-
|
|
146
|
+
var template = (_ref = locale === null || locale === void 0 ? void 0 : locale['input.supportedFormatMessage']) !== null && _ref !== void 0 ? _ref : DEFAULT_FORMAT_MESSAGE;
|
|
147
|
+
return compileTemplate(template, {
|
|
148
|
+
maxSize: maxSize,
|
|
149
|
+
extensions: extensions
|
|
150
|
+
});
|
|
117
151
|
};
|
|
118
152
|
var FormatContent = function(param) {
|
|
119
|
-
var format = param.format;
|
|
153
|
+
var format = param.format, locale = param.locale;
|
|
120
154
|
if (format.content) return /*#__PURE__*/ React.createElement(React.Fragment, null, format.content);
|
|
121
155
|
return /*#__PURE__*/ React.createElement("div", {
|
|
122
156
|
style: CONTENT_STYLE
|
|
123
|
-
}, buildFormatMessage(format));
|
|
157
|
+
}, buildFormatMessage(format, locale));
|
|
124
158
|
};
|
|
125
159
|
export var AttachmentSupportedFormatsContent = function(param) {
|
|
126
|
-
var supportedFormat = param.supportedFormat;
|
|
160
|
+
var supportedFormat = param.supportedFormat, locale = param.locale;
|
|
127
161
|
var format = supportedFormat || SupportedFileFormats.image;
|
|
128
162
|
return /*#__PURE__*/ React.createElement(FormatContent, {
|
|
129
|
-
format: format
|
|
163
|
+
format: format,
|
|
164
|
+
locale: locale
|
|
130
165
|
});
|
|
131
166
|
};
|
|
132
167
|
export var AttachmentButtonPopover = function(param) {
|
|
133
|
-
var children = param.children, supportedFormat = param.supportedFormat, uploadImage = param.uploadImage;
|
|
168
|
+
var children = param.children, supportedFormat = param.supportedFormat, uploadImage = param.uploadImage, localeProp = param.locale;
|
|
134
169
|
var _useState = _sliced_to_array(useState(false), 2), modalOpen = _useState[0], setModalOpen = _useState[1];
|
|
135
|
-
var
|
|
170
|
+
var _useContext = useContext(I18nContext), contextLocale = _useContext.locale;
|
|
171
|
+
var locale = localeProp !== undefined ? _object_spread({}, contextLocale, localeProp) : contextLocale;
|
|
136
172
|
var isVivoOrOppo = useMemo(function() {
|
|
137
173
|
return isVivoOrOppoDevice();
|
|
138
174
|
}, []);
|
|
@@ -224,7 +260,8 @@ export var AttachmentButtonPopover = function(param) {
|
|
|
224
260
|
mouseEnterDelay: 1,
|
|
225
261
|
trigger: trigger,
|
|
226
262
|
title: /*#__PURE__*/ React.createElement(AttachmentSupportedFormatsContent, {
|
|
227
|
-
supportedFormat: supportedFormat
|
|
263
|
+
supportedFormat: supportedFormat,
|
|
264
|
+
locale: locale
|
|
228
265
|
})
|
|
229
266
|
}, /*#__PURE__*/ React.createElement("span", {
|
|
230
267
|
onClick: function(e) {
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
* @returns
|
|
5
5
|
*/
|
|
6
6
|
export declare function useStyle(prefixCls?: string): {
|
|
7
|
+
hashId: string;
|
|
7
8
|
wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
|
|
9
|
+
} | {
|
|
10
|
+
wrapSSR: (node: any) => any;
|
|
8
11
|
hashId: string;
|
|
9
12
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { LocalKeys } from '../../I18n';
|
|
2
3
|
import { AttachmentButtonPopoverProps } from './AttachmentButtonPopover';
|
|
3
4
|
import { AttachmentFile, UploadResponse } from './types';
|
|
4
5
|
export * from './AttachmentButtonPopover';
|
|
@@ -19,10 +20,13 @@ export type AttachmentButtonProps = {
|
|
|
19
20
|
supportedFormat?: AttachmentButtonPopoverProps['supportedFormat'];
|
|
20
21
|
/** 是否禁用按钮 */
|
|
21
22
|
disabled?: boolean;
|
|
23
|
+
/** 国际化文案,会传递给 AttachmentButtonPopover。支持 `input.openGallery`、`input.openFile`、`input.supportedFormatMessage` 等 */
|
|
24
|
+
locale?: Partial<LocalKeys>;
|
|
22
25
|
/** 自定义渲染函数,用于替换默认的 Popover */
|
|
23
26
|
render?: (props: {
|
|
24
27
|
children: React.ReactNode;
|
|
25
28
|
supportedFormat?: AttachmentButtonPopoverProps['supportedFormat'];
|
|
29
|
+
locale?: Partial<LocalKeys>;
|
|
26
30
|
}) => React.ReactElement;
|
|
27
31
|
/** 删除文件回调 */
|
|
28
32
|
onDelete?: (file: AttachmentFile) => Promise<void>;
|
|
@@ -474,7 +474,7 @@ var ButtonContent = function(param) {
|
|
|
474
474
|
* />
|
|
475
475
|
* ```
|
|
476
476
|
*/ export var AttachmentButton = function(param) {
|
|
477
|
-
var disabled = param.disabled, uploadImage = param.uploadImage, title = param.title, supportedFormat = param.supportedFormat, render = param.render;
|
|
477
|
+
var disabled = param.disabled, uploadImage = param.uploadImage, title = param.title, supportedFormat = param.supportedFormat, locale = param.locale, render = param.render;
|
|
478
478
|
var context = useContext(ConfigProvider.ConfigContext);
|
|
479
479
|
var prefix = context === null || context === void 0 ? void 0 : context.getPrefixCls('agentic-md-editor-attachment-button');
|
|
480
480
|
var _useStyle = useStyle(prefix), wrapSSR = _useStyle.wrapSSR, hashId = _useStyle.hashId;
|
|
@@ -490,10 +490,12 @@ var ButtonContent = function(param) {
|
|
|
490
490
|
}));
|
|
491
491
|
var wrapper = render ? render({
|
|
492
492
|
children: buttonWithStyle,
|
|
493
|
-
supportedFormat: format
|
|
493
|
+
supportedFormat: format,
|
|
494
|
+
locale: locale
|
|
494
495
|
}) : /*#__PURE__*/ React.createElement(AttachmentButtonPopover, {
|
|
495
496
|
supportedFormat: format,
|
|
496
|
-
uploadImage: uploadImage
|
|
497
|
+
uploadImage: uploadImage,
|
|
498
|
+
locale: locale
|
|
497
499
|
}, buttonWithStyle);
|
|
498
500
|
return wrapSSR(/*#__PURE__*/ React.createElement("div", {
|
|
499
501
|
className: classNames("".concat(prefix), hashId, _define_property({}, "".concat(prefix, "-disabled"), disabled)),
|
|
@@ -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
|
};
|
|
@@ -10,7 +10,7 @@ export type ActionItemContainerProps = {
|
|
|
10
10
|
menuDisabled?: boolean;
|
|
11
11
|
};
|
|
12
12
|
export declare const ActionItemContainer: {
|
|
13
|
-
(props: ActionItemContainerProps):
|
|
13
|
+
(props: ActionItemContainerProps): any;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
export {};
|
|
@@ -134,8 +134,8 @@ import React, { useEffect, useRef, useState } from "react";
|
|
|
134
134
|
var outerRadiusX = radius + offsetX;
|
|
135
135
|
var outerRadiusY = radius + offsetY;
|
|
136
136
|
// Ensure we have valid dimensions before generating path
|
|
137
|
-
//
|
|
138
|
-
var pathData = w > 0 && h > 0 ? "\n M ".concat(
|
|
137
|
+
// Path starts from bottom-right corner to guide attention to top-left
|
|
138
|
+
var pathData = w > 0 && h > 0 ? "\n M ".concat(w + offsetX - outerRadiusX, " ").concat(h + offsetY, "\n H ").concat(-offsetX + outerRadiusX, "\n A ").concat(outerRadiusX, " ").concat(outerRadiusY, " 0 0 1 ").concat(-offsetX, " ").concat(h + offsetY - outerRadiusY, "\n V ").concat(-offsetY + outerRadiusY, "\n A ").concat(outerRadiusX, " ").concat(outerRadiusY, " 0 0 1 ").concat(-offsetX + outerRadiusX, " ").concat(-offsetY, "\n H ").concat(w + offsetX - outerRadiusX, "\n A ").concat(outerRadiusX, " ").concat(outerRadiusY, " 0 0 1 ").concat(w + offsetX, " ").concat(-offsetY + outerRadiusY, "\n V ").concat(h + offsetY - outerRadiusY, "\n A ").concat(outerRadiusX, " ").concat(outerRadiusY, " 0 0 1 ").concat(w + offsetX - outerRadiusX, " ").concat(h + offsetY, "\n Z\n ").replace(/\s+/g, ' ').trim() : '';
|
|
139
139
|
return /*#__PURE__*/ React.createElement("div", {
|
|
140
140
|
ref: containerRef,
|
|
141
141
|
style: {
|
|
@@ -172,23 +172,27 @@ import React, { useEffect, useRef, useState } from "react";
|
|
|
172
172
|
y2: "0%"
|
|
173
173
|
}, /*#__PURE__*/ React.createElement("stop", {
|
|
174
174
|
offset: "0%",
|
|
175
|
-
stopColor: "#
|
|
175
|
+
stopColor: "#5760FF",
|
|
176
176
|
stopOpacity: "1"
|
|
177
177
|
}), /*#__PURE__*/ React.createElement("stop", {
|
|
178
|
-
offset: "
|
|
179
|
-
stopColor: "#
|
|
178
|
+
offset: "15%",
|
|
179
|
+
stopColor: "#33CCFF",
|
|
180
|
+
stopOpacity: "1"
|
|
181
|
+
}), /*#__PURE__*/ React.createElement("stop", {
|
|
182
|
+
offset: "30%",
|
|
183
|
+
stopColor: "#33CCFF",
|
|
180
184
|
stopOpacity: "1"
|
|
181
185
|
}), /*#__PURE__*/ React.createElement("stop", {
|
|
182
186
|
offset: "50%",
|
|
183
|
-
stopColor: "#
|
|
187
|
+
stopColor: "#E2CCFF",
|
|
184
188
|
stopOpacity: "1"
|
|
185
189
|
}), /*#__PURE__*/ React.createElement("stop", {
|
|
186
|
-
offset: "
|
|
187
|
-
stopColor: "#
|
|
190
|
+
offset: "65%",
|
|
191
|
+
stopColor: "#33CCFF",
|
|
188
192
|
stopOpacity: "1"
|
|
189
193
|
}), /*#__PURE__*/ React.createElement("stop", {
|
|
190
194
|
offset: "100%",
|
|
191
|
-
stopColor: "#
|
|
195
|
+
stopColor: "#5760FF",
|
|
192
196
|
stopOpacity: "1"
|
|
193
197
|
}))), /*#__PURE__*/ React.createElement(motion.path, {
|
|
194
198
|
d: pathData,
|
|
@@ -196,15 +200,22 @@ import React, { useEffect, useRef, useState } from "react";
|
|
|
196
200
|
stroke: "url(#".concat(gradientId, ")"),
|
|
197
201
|
strokeWidth: "4",
|
|
198
202
|
strokeLinecap: "round",
|
|
199
|
-
filter: "blur(
|
|
203
|
+
filter: "blur(8px)",
|
|
200
204
|
initial: {
|
|
201
205
|
pathLength: 0,
|
|
202
|
-
pathOffset: 0
|
|
206
|
+
pathOffset: 0,
|
|
203
207
|
opacity: 0
|
|
204
208
|
},
|
|
205
209
|
animate: {
|
|
206
|
-
pathLength:
|
|
207
|
-
|
|
210
|
+
pathLength: [
|
|
211
|
+
0,
|
|
212
|
+
0.45,
|
|
213
|
+
0
|
|
214
|
+
],
|
|
215
|
+
pathOffset: [
|
|
216
|
+
0,
|
|
217
|
+
0.4
|
|
218
|
+
],
|
|
208
219
|
opacity: [
|
|
209
220
|
0,
|
|
210
221
|
0.4,
|
|
@@ -213,10 +224,12 @@ import React, { useEffect, useRef, useState } from "react";
|
|
|
213
224
|
},
|
|
214
225
|
transition: {
|
|
215
226
|
duration: 1,
|
|
216
|
-
ease: '
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
227
|
+
ease: 'easeInOut',
|
|
228
|
+
times: [
|
|
229
|
+
0,
|
|
230
|
+
0.5,
|
|
231
|
+
1
|
|
232
|
+
]
|
|
220
233
|
}
|
|
221
234
|
}), /*#__PURE__*/ React.createElement(motion.path, {
|
|
222
235
|
d: pathData,
|
|
@@ -227,12 +240,19 @@ import React, { useEffect, useRef, useState } from "react";
|
|
|
227
240
|
filter: "blur(4px)",
|
|
228
241
|
initial: {
|
|
229
242
|
pathLength: 0,
|
|
230
|
-
pathOffset: 0
|
|
243
|
+
pathOffset: 0,
|
|
231
244
|
opacity: 0
|
|
232
245
|
},
|
|
233
246
|
animate: {
|
|
234
|
-
pathLength:
|
|
235
|
-
|
|
247
|
+
pathLength: [
|
|
248
|
+
0,
|
|
249
|
+
0.25,
|
|
250
|
+
0
|
|
251
|
+
],
|
|
252
|
+
pathOffset: [
|
|
253
|
+
0,
|
|
254
|
+
0.65
|
|
255
|
+
],
|
|
236
256
|
opacity: [
|
|
237
257
|
0,
|
|
238
258
|
1,
|
|
@@ -240,11 +260,13 @@ import React, { useEffect, useRef, useState } from "react";
|
|
|
240
260
|
]
|
|
241
261
|
},
|
|
242
262
|
transition: {
|
|
243
|
-
duration:
|
|
244
|
-
ease: '
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
263
|
+
duration: 0.8,
|
|
264
|
+
ease: 'easeInOut',
|
|
265
|
+
times: [
|
|
266
|
+
0,
|
|
267
|
+
0.6,
|
|
268
|
+
1
|
|
269
|
+
]
|
|
248
270
|
},
|
|
249
271
|
onAnimationComplete: onAnimationComplete
|
|
250
272
|
}))) : null));
|
|
@@ -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
|
};
|
|
@@ -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,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const prefixCls = "top-operating-area";
|
|
3
3
|
export declare const 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
|
};
|
|
@@ -7,6 +7,9 @@ export declare const addGlowBorderOffset: (size: string | number) => string;
|
|
|
7
7
|
* @returns
|
|
8
8
|
*/
|
|
9
9
|
export declare function useStyle(prefixCls?: string, disableHoverAnimation?: boolean): {
|
|
10
|
+
hashId: string;
|
|
10
11
|
wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
|
|
12
|
+
} | {
|
|
13
|
+
wrapSSR: (node: any) => any;
|
|
11
14
|
hashId: string;
|
|
12
15
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
* @returns 样式相关对象
|
|
6
6
|
*/
|
|
7
7
|
export declare const useStyle: (baseClassName: 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
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { CodeNode } from '../../MarkdownEditor/el';
|
|
3
2
|
/**
|
|
4
3
|
* Mermaid 渲染器组件实现
|
|
@@ -6,4 +5,4 @@ import { CodeNode } from '../../MarkdownEditor/el';
|
|
|
6
5
|
*/
|
|
7
6
|
export declare const MermaidRendererImpl: (props: {
|
|
8
7
|
element: CodeNode;
|
|
9
|
-
}) =>
|
|
8
|
+
}) => any;
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
* @returns 样式相关的 wrapSSR 和 hashId
|
|
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
|
};
|
|
@@ -59,6 +59,11 @@ var genStyle = function(token) {
|
|
|
59
59
|
userSelect: 'none',
|
|
60
60
|
padding: '0.75rem 0',
|
|
61
61
|
borderRadius: '1em',
|
|
62
|
+
maxWidth: '800px',
|
|
63
|
+
border: '1px solid #e8e8e8',
|
|
64
|
+
backgroundColor: '#fff',
|
|
65
|
+
minWidth: '240px',
|
|
66
|
+
minHeight: '200px',
|
|
62
67
|
display: 'flex',
|
|
63
68
|
justifyContent: 'center',
|
|
64
69
|
alignItems: 'center',
|
|
@@ -71,8 +76,6 @@ var genStyle = function(token) {
|
|
|
71
76
|
// 渲染容器样式
|
|
72
77
|
'& [data-mermaid-container="true"]': {
|
|
73
78
|
width: '100%',
|
|
74
|
-
maxWidth: '100%',
|
|
75
|
-
minHeight: '200px',
|
|
76
79
|
display: 'flex',
|
|
77
80
|
justifyContent: 'center',
|
|
78
81
|
// 增加隔离样式
|
|
@@ -172,7 +172,7 @@ var mermaidLoader = null;
|
|
|
172
172
|
container.innerHTML = '';
|
|
173
173
|
var wrapper = document.createElement('div');
|
|
174
174
|
wrapper.setAttribute('data-mermaid-wrapper', 'true');
|
|
175
|
-
wrapper.style.
|
|
175
|
+
wrapper.style.display = 'flex';
|
|
176
176
|
var parser = new DOMParser();
|
|
177
177
|
var svgDoc = parser.parseFromString(svg, 'image/svg+xml');
|
|
178
178
|
var svgElement = svgDoc.querySelector('svg');
|
package/dist/Quote/style.d.ts
CHANGED
|
@@ -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
|
};
|
package/dist/TaskList/index.d.ts
CHANGED
|
@@ -42,5 +42,5 @@ type ThoughtChainProps = {
|
|
|
42
42
|
* />
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
|
-
export declare const TaskList: React.MemoExoticComponent<({ items, className, expandedKeys, onExpandedKeysChange, }: ThoughtChainProps) =>
|
|
45
|
+
export declare const TaskList: React.MemoExoticComponent<({ items, className, expandedKeys, onExpandedKeysChange, }: ThoughtChainProps) => any>;
|
|
46
46
|
export {};
|
package/dist/TaskList/style.d.ts
CHANGED
|
@@ -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,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* DotLoading 组件 - 点状加载动画组件
|
|
4
3
|
*
|
|
@@ -24,4 +23,4 @@ import React from 'react';
|
|
|
24
23
|
* - 使用 aria-label="Loading" 提供屏幕阅读器支持
|
|
25
24
|
* - 样式定义在 index.css 文件中
|
|
26
25
|
*/
|
|
27
|
-
export declare const DotLoading: () =>
|
|
26
|
+
export declare const DotLoading: () => any;
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
* @returns 样式对象
|
|
6
6
|
*/
|
|
7
7
|
export declare function useDotAniStyle(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
|
};
|