@myun/gimi-chat 0.9.18 → 0.9.20
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/components/chat-input/index.js +6 -6
- package/dist/components/chat-input/index.module.css +10 -3
- package/dist/components/iconfont-com/index.js +1 -1
- package/dist/components/knowledge-trace/KnowledgeIconComponent.js +1 -1
- package/dist/components/quoted-content/index.module.css +4 -4
- package/dist/components/reference-content/index.module.css +6 -0
- package/dist/umd/index.min.js +1 -1
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ import VoiceCheckDialog from "../voice-check-dialog";
|
|
|
23
23
|
import VoiceCommunication from "../chat-voice/VoiceCommunication";
|
|
24
24
|
import VoiceRecord from "../chat-voice/VoiceRecord";
|
|
25
25
|
import VoiceRecording from "../voice-recording";
|
|
26
|
-
import deepThinkActive from "../../assets/image/deepthinkActive.png";
|
|
26
|
+
// import deepThinkActive from "../../assets/image/deepthinkActive.png";
|
|
27
27
|
import { Tooltip } from "@douyinfe/semi-ui";
|
|
28
28
|
import styles from "./index.module.css";
|
|
29
29
|
import FileUpload from "../file-upload";
|
|
@@ -38,6 +38,7 @@ import AIChatDialogue from "../ai-chat-dialogue";
|
|
|
38
38
|
import { Keydown, TitleSlot } from "./extension";
|
|
39
39
|
import QuotedContent from "../quoted-content";
|
|
40
40
|
import { ReferencesEdit } from "../reference-content";
|
|
41
|
+
import IconFontCom from "../iconfont-com";
|
|
41
42
|
var extractText = function extractText() {
|
|
42
43
|
var content = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
43
44
|
return content.map(function (item) {
|
|
@@ -366,11 +367,10 @@ var ChatInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
366
367
|
content: t('chatInput.deepThinkTip')
|
|
367
368
|
}, /*#__PURE__*/React.createElement("div", {
|
|
368
369
|
className: styles.deepthink
|
|
369
|
-
}, /*#__PURE__*/React.createElement(
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
alt: ""
|
|
370
|
+
}, /*#__PURE__*/React.createElement(IconFontCom, {
|
|
371
|
+
type: "icon-moxing",
|
|
372
|
+
size: 14,
|
|
373
|
+
color: "var(--theme-primary, #4086ff)"
|
|
374
374
|
}), /*#__PURE__*/React.createElement("span", null, t('chatInput.deepThinkModeAuto'))));
|
|
375
375
|
}, []);
|
|
376
376
|
var stopSSe = function stopSSe() {
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.deepthink {
|
|
13
|
-
padding: 0
|
|
13
|
+
padding: 0 12px;
|
|
14
14
|
height: 32px;
|
|
15
15
|
border-radius: 18px;
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: center;
|
|
18
18
|
justify-content: center;
|
|
19
19
|
cursor: pointer;
|
|
20
|
-
color: #4086ff;
|
|
21
|
-
background-color: #
|
|
20
|
+
color: var(--theme-primary, #4086ff);
|
|
21
|
+
background-color: var(--theme-primary-pale, #F0F8FF);
|
|
22
22
|
}
|
|
23
23
|
.deepthink span {
|
|
24
24
|
margin-left: 4px;
|
|
@@ -92,4 +92,11 @@
|
|
|
92
92
|
flex-wrap: wrap;
|
|
93
93
|
align-items: center;
|
|
94
94
|
padding-top: 5px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:global .semi-aiChatInput-footer-action-send {
|
|
98
|
+
background-color: var(--theme-primary, #4086ff);
|
|
99
|
+
}
|
|
100
|
+
:global .semi-aiChatInput-footer-action-send-disabled {
|
|
101
|
+
background-color: rgba(46, 50, 56, 0.1294117647);
|
|
95
102
|
}
|
|
@@ -12,7 +12,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12
12
|
*/
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import Icon from '@douyinfe/semi-icons';
|
|
15
|
-
var scriptUrl = '//at.alicdn.com/t/c/
|
|
15
|
+
var scriptUrl = '//at.alicdn.com/t/c/font_3429456_b3mp8kjepwb.js';
|
|
16
16
|
|
|
17
17
|
// Load iconfont script
|
|
18
18
|
if (typeof document !== 'undefined' && scriptUrl) {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
}
|
|
45
45
|
.newtab .tabItem:hover {
|
|
46
46
|
background-color: #f7f7fc;
|
|
47
|
-
color: #4086ff;
|
|
47
|
+
color: var(--theme-primary, #4086ff);
|
|
48
48
|
}
|
|
49
49
|
.newtab .active {
|
|
50
50
|
background-color: #f7f7fc;
|
|
51
|
-
color: #4086ff;
|
|
51
|
+
color: var(--theme-primary, #4086ff);
|
|
52
52
|
font-weight: 600;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
}
|
|
87
87
|
.listItem:hover {
|
|
88
88
|
background-color: #f7f7fc;
|
|
89
|
-
color: #4086ff;
|
|
89
|
+
color: var(--theme-primary, #4086ff);
|
|
90
90
|
}
|
|
91
91
|
.listItem .img {
|
|
92
92
|
width: 16px;
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
}
|
|
166
166
|
.current_video .currentItem:hover {
|
|
167
167
|
background-color: #f7f7fc;
|
|
168
|
-
color: #4086ff;
|
|
168
|
+
color: var(--theme-primary, #4086ff);
|
|
169
169
|
}
|
|
170
170
|
.current_video .currentItem .img {
|
|
171
171
|
width: 16px;
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
position: relative;
|
|
17
17
|
min-height: 60px;
|
|
18
18
|
}
|
|
19
|
+
.main:hover .closeIcon {
|
|
20
|
+
display: block;
|
|
21
|
+
}
|
|
19
22
|
.main .img {
|
|
20
23
|
height: 28px;
|
|
21
24
|
width: 28px;
|
|
@@ -24,6 +27,7 @@
|
|
|
24
27
|
display: flex;
|
|
25
28
|
flex-direction: column;
|
|
26
29
|
gap: 5px;
|
|
30
|
+
cursor: default;
|
|
27
31
|
}
|
|
28
32
|
.main .description .text_oneline {
|
|
29
33
|
text-overflow: ellipsis;
|
|
@@ -75,8 +79,10 @@
|
|
|
75
79
|
font-size: 12px;
|
|
76
80
|
line-height: 150%;
|
|
77
81
|
letter-spacing: 0px;
|
|
82
|
+
cursor: default;
|
|
78
83
|
}
|
|
79
84
|
.main .closeIcon {
|
|
85
|
+
display: none;
|
|
80
86
|
position: absolute;
|
|
81
87
|
top: 0;
|
|
82
88
|
right: 0;
|