@glodon-aiot/agent-cli-ui 3.7.0-alpha.3 → 3.9.0-alpha.5
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/index.mjs +274 -265
- package/dist/es/Dialog/SessionList/index.mjs +266 -202
- package/dist/es/components/KnowledgeList/index.mjs +54 -48
- package/dist/es/constant.mjs +4 -3
- 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/style11.css +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/style17.css +1 -1
- package/dist/es/src/style18.css +1 -1
- package/dist/es/src/style19.css +1 -1
- package/dist/es/src/style20.css +1 -1
- package/dist/es/src/style21.css +1 -1
- package/dist/es/src/style22.css +1 -1
- package/dist/es/src/style23.css +1 -1
- package/dist/es/src/style24.css +1 -1
- package/dist/es/src/style25.css +1 -1
- package/dist/es/src/style26.css +1 -1
- package/dist/es/src/style28.css +1 -1
- package/dist/es/src/style31.css +1 -1
- package/dist/es/src/style32.css +1 -1
- package/dist/es/src/style33.css +1 -1
- package/dist/es/src/style7.css +1 -1
- package/dist/es/src/style8.css +1 -1
- package/dist/es/src/style9.css +1 -1
- package/dist/es/utils/index.mjs +30 -22
- package/dist/lib/index.js +54 -54
- package/dist/src/constant.d.ts +1 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/package.json +3 -3
package/dist/src/constant.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IKnowledge } from '@glodon-aiot/apis';
|
|
1
2
|
export declare const getFileExtension: (filename: string) => string | undefined;
|
|
2
3
|
export declare const getImageExtension: (url: string) => string | null;
|
|
3
4
|
export declare const removeFileExtension: (filename: string) => string | undefined;
|
|
@@ -23,3 +24,4 @@ export declare const fileTypes: string[];
|
|
|
23
24
|
* @returns 转义后的字符串,特殊字符前会添加反斜杠。
|
|
24
25
|
*/
|
|
25
26
|
export declare function escapeSlash(text: string): string;
|
|
27
|
+
export declare function calcKnowledgesLeafCount(ks: IKnowledge[]): number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glodon-aiot/agent-cli-ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0-alpha.5",
|
|
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.
|
|
41
|
-
"@glodon-aiot/bot-client-sdk": "^3.
|
|
40
|
+
"@glodon-aiot/apis": "^3.9.0-alpha.5",
|
|
41
|
+
"@glodon-aiot/bot-client-sdk": "^3.9.0-alpha.5",
|
|
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",
|