@glodon-aiot/agent-cli-ui 3.19.0-alpha.20 → 3.19.0-alpha.21
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/es/Dialog/AgentChat/HistoryItem/FileItem/index.mjs +52 -59
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionAction/index.mjs +67 -70
- package/dist/es/Dialog/AgentChat/HistoryItem/index.mjs +100 -103
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.mjs +76 -87
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.mjs +121 -124
- package/dist/es/Dialog/AgentChat/index.mjs +199 -202
- package/dist/es/ReactTextGenerationUI/components/TextSiders/index.mjs +150 -157
- package/dist/es/components/Recommend/RecommendItem.mjs +33 -36
- package/dist/es/packages/agent-cli-ui/package.json.mjs +3 -3
- package/dist/es/packages/react-components/dist/es/index.mjs +1 -1
- package/dist/es/src/style12.css +1 -1
- package/dist/es/src/style13.css +1 -1
- package/dist/es/src/style14.css +1 -1
- package/dist/es/src/style15.css +1 -1
- package/dist/es/src/style16.css +1 -1
- package/dist/es/src/style20.css +1 -1
- package/dist/es/src/style21.css +1 -1
- package/dist/es/src/style26.css +1 -1
- package/dist/es/src/style27.css +1 -1
- package/dist/es/src/style31.css +1 -1
- package/dist/es/src/style32.css +1 -1
- package/dist/es/utils/scopedMessage.mjs +29 -0
- package/dist/lib/index.js +53 -53
- package/dist/src/utils/scopedMessage.d.ts +7 -0
- package/package.json +3 -3
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export declare const GBOT_MESSAGE_PREFIX = "gbot-message";
|
|
3
|
+
export type PopupContainerRef = RefObject<HTMLElement | null> | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* 在同步代码块内将 antd message 挂到 agent-cli-ui 容器下;结束后恢复全局配置,避免影响宿主应用。
|
|
6
|
+
*/
|
|
7
|
+
export declare function withAgentCliMessage<T>(popupContainer: PopupContainerRef, fn: () => T): T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glodon-aiot/agent-cli-ui",
|
|
3
|
-
"version": "3.19.0-alpha.
|
|
3
|
+
"version": "3.19.0-alpha.21",
|
|
4
4
|
"module": "./dist/es/index.mjs",
|
|
5
5
|
"main": "./dist/lib/index.js",
|
|
6
6
|
"typings": "./dist/src/index.d.ts",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@ant-design/icons": "^5.3.4",
|
|
40
|
-
"@glodon-aiot/apis": "^3.19.0-alpha.
|
|
41
|
-
"@glodon-aiot/bot-client-sdk": "^3.19.0-alpha.
|
|
40
|
+
"@glodon-aiot/apis": "^3.19.0-alpha.21",
|
|
41
|
+
"@glodon-aiot/bot-client-sdk": "^3.19.0-alpha.21",
|
|
42
42
|
"@matejmazur/react-mathjax": "^0.1.10",
|
|
43
43
|
"@react-pdf-viewer/core": "^3.12.0",
|
|
44
44
|
"@react-pdf-viewer/default-layout": "^3.12.0",
|