@myun/gimi-chat 0.9.19 → 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.
@@ -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("img", {
370
- width: 14,
371
- src: deepThinkActive,
372
- className: styles.imgs,
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() {
@@ -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/font_3429456_0fjwg76h4xco.js';
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) {
@@ -23,7 +23,7 @@ import AiLoading from "../ai-loading";
23
23
  var Empty = function Empty() {
24
24
  return /*#__PURE__*/React.createElement("div", {
25
25
  style: {
26
- marginTop: '180px',
26
+ marginTop: '30px',
27
27
  textAlign: 'center'
28
28
  }
29
29
  }, "\u6682\u65E0\u6570\u636E");