@fe-free/ai 4.1.34 → 4.1.35
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/CHANGELOG.md +9 -0
- package/package.json +4 -4
- package/src/markdown/knowledge_ref.tsx +2 -2
- package/src/style.scss +0 -19
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fe-free/ai",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.35",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"author": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
20
|
"uuid": "^13.0.0",
|
|
21
21
|
"zustand": "^4.5.7",
|
|
22
|
-
"@fe-free/core": "4.1.
|
|
22
|
+
"@fe-free/core": "4.1.35"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"antd": "^5.27.1",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"i18next-icu": "^2.4.1",
|
|
30
30
|
"react": "^19.2.0",
|
|
31
31
|
"react-i18next": "^16.4.0",
|
|
32
|
-
"@fe-free/icons": "4.1.
|
|
33
|
-
"@fe-free/tool": "4.1.
|
|
32
|
+
"@fe-free/icons": "4.1.35",
|
|
33
|
+
"@fe-free/tool": "4.1.35"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -20,7 +20,7 @@ function KnowledgeRefBlock(props: any) {
|
|
|
20
20
|
<span
|
|
21
21
|
data-id={id}
|
|
22
22
|
onClick={handleClick}
|
|
23
|
-
className="
|
|
23
|
+
className="mx-1 inline-flex h-[15px] min-w-[15px] cursor-pointer items-center justify-center rounded-full border border-primary text-center text-[10px] text-primary"
|
|
24
24
|
>
|
|
25
25
|
{index + 1}
|
|
26
26
|
</span>
|
|
@@ -28,7 +28,7 @@ function KnowledgeRefBlock(props: any) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
|
-
<span className="
|
|
31
|
+
<span className="cursor-pointer text-primary" onClick={handleClick}>
|
|
32
32
|
来源>>
|
|
33
33
|
</span>
|
|
34
34
|
);
|
package/src/style.scss
CHANGED
|
@@ -31,25 +31,6 @@
|
|
|
31
31
|
padding: 10px;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
.fea-markdown-body-block-knowledge-ref[data-id] {
|
|
36
|
-
height: 16px;
|
|
37
|
-
min-width: 16px;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
display: inline-flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
justify-content: center;
|
|
42
|
-
border-radius: 999px;
|
|
43
|
-
border: 1px solid #0374e9;
|
|
44
|
-
color: #0374e9;
|
|
45
|
-
font-size: 12px;
|
|
46
|
-
padding: 0 4px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.fea-markdown-body-block-knowledge-ref-source {
|
|
50
|
-
color: #0374e9;
|
|
51
|
-
cursor: pointer;
|
|
52
|
-
}
|
|
53
34
|
}
|
|
54
35
|
|
|
55
36
|
.fea-sender {
|