@myun/gimi-chat 0.0.4 → 0.0.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.
Files changed (80) hide show
  1. package/dist/components/ai-chat-dialogue/index.js +1 -1
  2. package/dist/components/ai-chat-dialogue/index.module.css +230 -0
  3. package/dist/components/ai-loading/index.js +1 -1
  4. package/dist/components/ai-loading/index.module.css +11 -0
  5. package/dist/components/answer-item/index.js +1 -1
  6. package/dist/components/answer-item/index.module.css +266 -0
  7. package/dist/components/ask-card/index.js +1 -1
  8. package/dist/components/ask-card/index.module.css +122 -0
  9. package/dist/components/chat-input/index.js +1 -1
  10. package/dist/components/chat-input/index.module.css +42 -0
  11. package/dist/components/dots-loading/index.js +1 -1
  12. package/dist/components/dots-loading/index.module.css +41 -0
  13. package/dist/components/empty/index.js +1 -1
  14. package/dist/components/empty/index.module.css +24 -0
  15. package/dist/components/excel-components/ExcelExcuting.js +1 -1
  16. package/dist/components/excel-components/ExcelFailCard.js +1 -1
  17. package/dist/components/excel-components/index.module.css +212 -0
  18. package/dist/components/excel-components/styles.module.css +178 -0
  19. package/dist/components/file-card/fileCardSidebar.js +1 -1
  20. package/dist/components/file-card/index.js +1 -1
  21. package/dist/components/file-card/index.module.css +139 -0
  22. package/dist/components/file-preview/index.js +6 -8
  23. package/dist/components/file-preview/index.module.css +83 -0
  24. package/dist/components/gimi-sidebar/index.js +1 -1
  25. package/dist/components/gimi-sidebar/index.module.css +118 -0
  26. package/dist/components/header/index.js +1 -1
  27. package/dist/components/header/index.module.css +19 -0
  28. package/dist/components/knowledge-trace/KnowledgeIconComponent.js +1 -1
  29. package/dist/components/knowledge-trace/classList.js +1 -1
  30. package/dist/components/knowledge-trace/documentList.js +1 -1
  31. package/dist/components/knowledge-trace/index.js +1 -1
  32. package/dist/components/knowledge-trace/index.module.css +254 -0
  33. package/dist/components/knowledge-trace/videoList.js +1 -1
  34. package/dist/components/message-list/index.js +3 -6
  35. package/dist/components/message-list/index.module.css +261 -0
  36. package/dist/components/no-microphone-root/index.js +1 -1
  37. package/dist/components/no-microphone-root/index.module.css +48 -0
  38. package/dist/components/preset-agent-content/index.js +1 -1
  39. package/dist/components/preset-agent-content/index.module.css +46 -0
  40. package/dist/components/quoted-content/index.module.css +80 -0
  41. package/dist/components/reasoning-content/index.js +1 -1
  42. package/dist/components/reasoning-content/index.module.css +169 -0
  43. package/dist/components/reference-content/index.js +1 -1
  44. package/dist/components/reference-content/index.module.css +84 -0
  45. package/dist/components/templates/CommonChat.js +1 -1
  46. package/dist/components/templates/demo/demo.js +2 -3
  47. package/dist/components/templates/index.module.css +109 -0
  48. package/dist/components/upload-list/index.js +1 -1
  49. package/dist/components/upload-list/index.module.css +119 -0
  50. package/dist/components/voice-check-dialog/index.js +1 -1
  51. package/dist/components/voice-check-dialog/{index.module.scss → index.module.css} +2 -2
  52. package/dist/components/voice-recording/index.js +1 -1
  53. package/dist/components/voice-recording/index.module.css +41 -0
  54. package/dist/components/work-flow-content/index.js +1 -1
  55. package/dist/components/work-flow-content/index.module.css +24 -0
  56. package/package.json +4 -4
  57. package/dist/components/ai-chat-dialogue/index.module.scss +0 -272
  58. package/dist/components/ai-loading/index.module.scss +0 -11
  59. package/dist/components/answer-item/index.module.scss +0 -295
  60. package/dist/components/ask-card/index.module.scss +0 -125
  61. package/dist/components/chat-input/index.module.scss +0 -44
  62. package/dist/components/dots-loading/index.module.scss +0 -45
  63. package/dist/components/empty/index.module.scss +0 -27
  64. package/dist/components/excel-components/index.module.scss +0 -210
  65. package/dist/components/excel-components/styles.module.scss +0 -186
  66. package/dist/components/file-card/index.module.scss +0 -139
  67. package/dist/components/file-preview/index.module.scss +0 -120
  68. package/dist/components/gimi-sidebar/index.module.scss +0 -136
  69. package/dist/components/header/index.module.scss +0 -26
  70. package/dist/components/knowledge-trace/index.module.scss +0 -262
  71. package/dist/components/message-list/index.module.scss +0 -304
  72. package/dist/components/no-microphone-root/index.module.scss +0 -42
  73. package/dist/components/preset-agent-content/index.module.scss +0 -48
  74. package/dist/components/quoted-content/index.module.scss +0 -76
  75. package/dist/components/reasoning-content/index.module.scss +0 -164
  76. package/dist/components/reference-content/index.module.scss +0 -73
  77. package/dist/components/templates/index.module.scss +0 -119
  78. package/dist/components/upload-list/index.module.scss +0 -119
  79. package/dist/components/voice-recording/index.module.scss +0 -41
  80. package/dist/components/work-flow-content/index.module.scss +0 -23
@@ -0,0 +1,83 @@
1
+ .main {
2
+ flex-shrink: 0;
3
+ height: 100%;
4
+ background: #ffffff;
5
+ box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
6
+ display: flex;
7
+ flex-direction: row;
8
+ transition: width 0.2s ease;
9
+ overflow: hidden;
10
+ position: relative;
11
+ }
12
+ .main.dragging {
13
+ transition: none;
14
+ }
15
+ .main.dragging .content {
16
+ pointer-events: none;
17
+ }
18
+
19
+ .content {
20
+ flex: 1;
21
+ display: flex;
22
+ flex-direction: column;
23
+ height: 100%;
24
+ overflow: hidden;
25
+ }
26
+
27
+ .resizer {
28
+ position: absolute;
29
+ left: 0;
30
+ top: 0;
31
+ bottom: 0;
32
+ width: 6px;
33
+ cursor: ew-resize;
34
+ z-index: 1001;
35
+ transition: all 0.2s ease;
36
+ background: transparent;
37
+ }
38
+ .resizer:hover {
39
+ background: rgba(64, 134, 255, 0.2);
40
+ }
41
+ .resizer:active {
42
+ background: rgba(64, 134, 255, 0.4);
43
+ }
44
+
45
+ .header {
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: space-between;
49
+ padding: 16px 20px;
50
+ border-bottom: 1px solid #e8e8e8;
51
+ flex-shrink: 0;
52
+ background: #ffffff;
53
+ }
54
+ .header span {
55
+ font-family: "PingFang SC", sans-serif;
56
+ font-size: 16px;
57
+ font-weight: 600;
58
+ color: #2e394c;
59
+ line-height: 22px;
60
+ }
61
+ .header :global(.ant-btn) {
62
+ color: #8c8c8c;
63
+ }
64
+ .header :global(.ant-btn):hover {
65
+ color: #4086ff;
66
+ }
67
+
68
+ .iframeContainer {
69
+ flex: 1;
70
+ overflow: hidden;
71
+ position: relative;
72
+ background: #f5f5f5;
73
+ }
74
+ .iframeContainer iframe {
75
+ width: 100%;
76
+ height: 100%;
77
+ border: none;
78
+ display: block;
79
+ }
80
+
81
+ .mainHidden {
82
+ display: none;
83
+ }
@@ -1,5 +1,5 @@
1
1
  import classNames from "classnames";
2
- import styles from "./index.module.scss";
2
+ import styles from "./index.module.css";
3
3
  import React from 'react';
4
4
  import { IconClose } from "@douyinfe/semi-icons";
5
5
  import { Button } from "@douyinfe/semi-ui";
@@ -0,0 +1,118 @@
1
+ .overflow_layout {
2
+ position: absolute;
3
+ right: 0;
4
+ z-index: 10;
5
+ height: 100%;
6
+ box-shadow: -1px 0 10px 0 rgb(233, 235, 242);
7
+ width: 300px;
8
+ display: flex;
9
+ background-color: white;
10
+ flex-direction: column;
11
+ padding: 0px 10px;
12
+ border-left: 1px solid #EEEEEE;
13
+ box-shadow: -1px 0 10px 0 rgb(233, 235, 242);
14
+ overflow: auto;
15
+ }
16
+ .overflow_layout .header {
17
+ display: flex;
18
+ height: 40px;
19
+ justify-content: space-between;
20
+ align-items: center;
21
+ width: 100%;
22
+ box-sizing: border-box;
23
+ font-family: "PingFang SC";
24
+ font-weight: 600;
25
+ font-size: 14px;
26
+ line-height: 100%;
27
+ letter-spacing: 0px;
28
+ }
29
+ .overflow_layout .content {
30
+ height: 100%;
31
+ overflow-y: auto;
32
+ padding-right: 10px;
33
+ }
34
+ .overflow_layout .content::-webkit-scrollbar {
35
+ width: 6px;
36
+ }
37
+ .overflow_layout .content::-webkit-scrollbar-track {
38
+ background: transparent;
39
+ }
40
+ .overflow_layout .content::-webkit-scrollbar-thumb {
41
+ background-color: #d9d9d9;
42
+ border-radius: 5px;
43
+ }
44
+ .overflow_layout .content::-webkit-scrollbar-thumb:hover {
45
+ background-color: #bfbfbf;
46
+ }
47
+
48
+ .main {
49
+ display: flex;
50
+ min-width: 300px;
51
+ background-color: white;
52
+ flex-direction: column;
53
+ padding: 10px;
54
+ border-left: 1px solid #EEEEEE;
55
+ height: 100%;
56
+ box-shadow: -1px 0 10px 0 rgb(233, 235, 242);
57
+ overflow: auto;
58
+ z-index: 3;
59
+ animation: slideInRight 0.3s ease-out forwards;
60
+ transform: translateX(0);
61
+ opacity: 1;
62
+ }
63
+ .main .header {
64
+ display: flex;
65
+ height: 40px;
66
+ justify-content: space-between;
67
+ align-items: center;
68
+ width: 100%;
69
+ box-sizing: border-box;
70
+ font-family: "PingFang SC";
71
+ font-weight: 600;
72
+ font-size: 14px;
73
+ line-height: 100%;
74
+ letter-spacing: 0px;
75
+ }
76
+ .main .content {
77
+ height: 100%;
78
+ overflow-y: auto;
79
+ padding-right: 10px;
80
+ }
81
+ .main .content::-webkit-scrollbar {
82
+ width: 6px;
83
+ }
84
+ .main .content::-webkit-scrollbar-track {
85
+ background: transparent;
86
+ }
87
+ .main .content::-webkit-scrollbar-thumb {
88
+ background-color: #d9d9d9;
89
+ border-radius: 5px;
90
+ }
91
+ .main .content::-webkit-scrollbar-thumb:hover {
92
+ background-color: #bfbfbf;
93
+ }
94
+
95
+ .closed {
96
+ display: none;
97
+ }
98
+
99
+ @keyframes slideInRight {
100
+ 0% {
101
+ transform: translateX(100%);
102
+ opacity: 0;
103
+ }
104
+ 100% {
105
+ transform: translateX(0);
106
+ opacity: 1;
107
+ }
108
+ }
109
+ @keyframes slideOutLeft {
110
+ 0% {
111
+ transform: translateX(0);
112
+ opacity: 1;
113
+ }
114
+ 100% {
115
+ transform: translateX(100%);
116
+ opacity: 0;
117
+ }
118
+ }
@@ -1,5 +1,5 @@
1
1
  import classNames from 'classnames';
2
- import styles from "./index.module.scss";
2
+ import styles from "./index.module.css";
3
3
  import aiLogo from "../../assets/image/ai-logo.png";
4
4
  import React from 'react';
5
5
  var Header = function Header(_ref) {
@@ -0,0 +1,19 @@
1
+ .header .container {
2
+ padding: 30px 30px 23px;
3
+ width: 800px;
4
+ display: flex;
5
+ justify-content: center;
6
+ height: 86px;
7
+ margin: 0 auto;
8
+ }
9
+ .header .logo {
10
+ width: 18px;
11
+ height: 18px;
12
+ margin-right: 8px;
13
+ flex-shrink: 0;
14
+ margin-top: 5px;
15
+ }
16
+ .header .title {
17
+ font-size: 18px;
18
+ text-align: center;
19
+ }
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
4
4
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
5
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
6
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
- import styles from "./index.module.scss";
7
+ import styles from "./index.module.css";
8
8
  import { knowledgeConstants } from "../../constants";
9
9
  import { useAppDispatch, useAppSelector } from "../../store/hooks";
10
10
  import { setShowKonwledgeTrace, setKonwledgeTraceState } from "../../store/slices/gimiMenuSlice";
@@ -1,4 +1,4 @@
1
- import styles from "./index.module.scss";
1
+ import styles from "./index.module.css";
2
2
  import classNames from 'classnames';
3
3
  import React from 'react';
4
4
  import { Toast, Tooltip } from '@douyinfe/semi-ui';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import styles from "./index.module.scss";
2
+ import styles from "./index.module.css";
3
3
  import classNames from 'classnames';
4
4
  import { documentConstants } from "../../constants";
5
5
  import { Toast, Tooltip } from '@douyinfe/semi-ui';
@@ -5,7 +5,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
5
5
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import React from 'react';
8
- import styles from "./index.module.scss";
8
+ import styles from "./index.module.css";
9
9
  import { useAppSelector, useAppDispatch } from "../../store/hooks";
10
10
  import { setShowKonwledgeTrace, setKonwledgeTraceState } from "../../store/slices/gimiMenuSlice";
11
11
  import { Tabs, TabPane } from '@douyinfe/semi-ui';
@@ -0,0 +1,254 @@
1
+ @charset "UTF-8";
2
+ .wisdom_layout {
3
+ position: absolute;
4
+ right: 0;
5
+ z-index: 3;
6
+ height: calc(100vh - 70px) !important;
7
+ box-shadow: -1px 0 10px 0 rgb(233, 235, 242);
8
+ }
9
+
10
+ .tabs .tab_content {
11
+ /**重写tab样式 start*/
12
+ }
13
+ .tabs .tab_content :global(.ant-tabs-nav::before) {
14
+ border-bottom: none !important;
15
+ }
16
+ .tabs .tab_content :global(.ant-tabs-ink-bar) {
17
+ display: none !important;
18
+ }
19
+ .tabs .tab_content :global(.ant-tabs-tab) {
20
+ margin: 0;
21
+ padding: 5px 10px;
22
+ border-radius: 8px;
23
+ }
24
+ .tabs .tab_content :global(.ant-tabs-tab-active) {
25
+ background-color: #F1F7FF;
26
+ text-decoration: none;
27
+ }
28
+ .tabs .tab_content :global(.ant-tabs-nav) {
29
+ margin: 0;
30
+ }
31
+ .tabs .tab_content :global(.ant-tabs-content-holder) {
32
+ flex: 1;
33
+ display: flex;
34
+ }
35
+ .tabs .tab_content :global(.ant-tabs-content) {
36
+ flex: 1;
37
+ display: flex;
38
+ }
39
+ .tabs .tab_content :global(.ant-tabs-tabpane) {
40
+ margin-top: 10px;
41
+ flex: 1;
42
+ width: 100%;
43
+ overflow-y: auto;
44
+ overflow-x: hidden;
45
+ }
46
+ .tabs .tab_content {
47
+ /**重写tab样式 end*/
48
+ }
49
+
50
+ .closed {
51
+ display: none;
52
+ }
53
+
54
+ .knowledgeList {
55
+ display: flex;
56
+ flex-direction: column;
57
+ gap: 10px;
58
+ padding-bottom: 10px;
59
+ }
60
+ .knowledgeList .total {
61
+ font-family: "PingFang SC";
62
+ font-weight: 400;
63
+ font-size: 14px;
64
+ line-height: 150%;
65
+ letter-spacing: 0px;
66
+ color: #4c5a70;
67
+ }
68
+ .knowledgeList .resource_deactive {
69
+ cursor: not-allowed !important;
70
+ }
71
+ .knowledgeList .resource_deactive::after {
72
+ content: "";
73
+ position: absolute;
74
+ inset: 0;
75
+ background: rgba(255, 255, 255, 0.5);
76
+ border-radius: 12px;
77
+ pointer-events: none;
78
+ z-index: 2;
79
+ }
80
+ .knowledgeList .knowledge {
81
+ background-color: #f7f8fa;
82
+ border-radius: 12px;
83
+ display: flex;
84
+ align-items: center;
85
+ gap: 10px;
86
+ padding: 10px;
87
+ position: relative;
88
+ }
89
+ .knowledgeList .knowledge:hover {
90
+ cursor: pointer;
91
+ }
92
+ .knowledgeList .knowledge .img {
93
+ height: 36px;
94
+ width: 36px;
95
+ }
96
+ .knowledgeList .knowledge .class_img {
97
+ width: 90px;
98
+ height: 50px;
99
+ border-radius: 8px;
100
+ }
101
+ .knowledgeList .knowledge .class_img_play {
102
+ position: absolute;
103
+ left: 24px;
104
+ top: 3px;
105
+ width: 45px;
106
+ height: 45px;
107
+ }
108
+ .knowledgeList .knowledge .knowledge_trace_deactive {
109
+ position: relative;
110
+ font-family: "PingFang SC";
111
+ font-weight: 500;
112
+ font-size: 12px;
113
+ color: rgb(76, 90, 112);
114
+ z-index: 3;
115
+ }
116
+ .knowledgeList .knowledge .description {
117
+ display: flex;
118
+ flex-direction: column;
119
+ gap: 5px;
120
+ }
121
+ .knowledgeList .knowledge .description .text {
122
+ text-overflow: ellipsis;
123
+ display: -webkit-box;
124
+ -webkit-line-clamp: 2;
125
+ -webkit-box-orient: vertical;
126
+ overflow: hidden;
127
+ width: 200px;
128
+ font-family: "PingFang SC";
129
+ font-weight: 500;
130
+ font-size: 14px;
131
+ line-height: 150%;
132
+ letter-spacing: 0px;
133
+ color: #2e394c;
134
+ }
135
+ .knowledgeList .knowledge .description .timeTrace {
136
+ text-overflow: ellipsis;
137
+ display: -webkit-box;
138
+ -webkit-line-clamp: 2;
139
+ -webkit-box-orient: vertical;
140
+ overflow: hidden;
141
+ color: #717f94;
142
+ width: 200px;
143
+ font-family: "PingFang SC";
144
+ font-weight: 400;
145
+ font-style: Regular;
146
+ font-size: 12px;
147
+ line-height: 150%;
148
+ letter-spacing: 0px;
149
+ }
150
+ .knowledgeList .knowledge .class_description {
151
+ position: relative;
152
+ }
153
+ .knowledgeList .knowledge .class_description .tag_badge_green {
154
+ font-family: "PingFang SC";
155
+ font-weight: 600;
156
+ font-size: 10px;
157
+ line-height: 18px;
158
+ letter-spacing: 0px;
159
+ text-align: center;
160
+ width: 48px;
161
+ height: 18px;
162
+ border-radius: 4px;
163
+ float: left;
164
+ margin-right: 5px;
165
+ background-color: #ccffe5;
166
+ color: #3d996b;
167
+ }
168
+ .knowledgeList .knowledge .class_description .tag_badge_warning {
169
+ font-family: "PingFang SC";
170
+ font-weight: 600;
171
+ font-size: 10px;
172
+ line-height: 18px;
173
+ letter-spacing: 0px;
174
+ text-align: center;
175
+ width: 48px;
176
+ height: 18px;
177
+ border-radius: 4px;
178
+ float: left;
179
+ margin-right: 5px;
180
+ background-color: #ffecd9;
181
+ color: #e58845;
182
+ }
183
+ .knowledgeList .knowledge .class_description .tag_badge_default {
184
+ font-family: "PingFang SC";
185
+ font-weight: 600;
186
+ font-size: 10px;
187
+ line-height: 18px;
188
+ letter-spacing: 0px;
189
+ text-align: center;
190
+ width: 48px;
191
+ height: 18px;
192
+ border-radius: 4px;
193
+ float: left;
194
+ margin-right: 5px;
195
+ background-color: #7d91b3;
196
+ color: #ffffff;
197
+ }
198
+ .knowledgeList .knowledge .class_description .text {
199
+ text-overflow: ellipsis;
200
+ display: -webkit-box;
201
+ -webkit-line-clamp: 2;
202
+ -webkit-box-orient: vertical;
203
+ overflow: hidden;
204
+ width: 150px;
205
+ max-height: 63px;
206
+ overflow: hidden;
207
+ font-family: "PingFang SC";
208
+ font-weight: 500;
209
+ font-size: 14px;
210
+ line-height: 150%;
211
+ letter-spacing: 0px;
212
+ color: #2e394c;
213
+ }
214
+ .knowledgeList .knowledge .class_description .timeTrace {
215
+ text-overflow: ellipsis;
216
+ display: -webkit-box;
217
+ -webkit-line-clamp: 2;
218
+ -webkit-box-orient: vertical;
219
+ overflow: hidden;
220
+ color: #717f94;
221
+ width: 150px;
222
+ font-family: "PingFang SC";
223
+ font-weight: 400;
224
+ font-size: 12px;
225
+ line-height: 150%;
226
+ letter-spacing: 0px;
227
+ }
228
+ .knowledgeList .active {
229
+ border: 1px solid #0073e6;
230
+ }
231
+
232
+ .icon_btn {
233
+ width: fit-content;
234
+ height: 22px;
235
+ font-size: 12px;
236
+ padding: 0px 5px;
237
+ display: flex;
238
+ align-items: center;
239
+ justify-content: center;
240
+ border-radius: 4px;
241
+ gap: 5px;
242
+ border: 0;
243
+ background-color: #f1f7ff;
244
+ }
245
+ .icon_btn:hover {
246
+ cursor: pointer;
247
+ background-color: #FFFFFF;
248
+ color: #4086FF;
249
+ }
250
+
251
+ .icon_btn_active {
252
+ background-color: #4086ff;
253
+ color: #ffffff;
254
+ }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import styles from "./index.module.scss";
2
+ import styles from "./index.module.css";
3
3
  import classNames from 'classnames';
4
4
  import { knowledgeConstants } from "../../constants";
5
5
  import { Toast, Tooltip } from '@douyinfe/semi-ui';
@@ -4,7 +4,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
4
4
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
5
  import React from 'react';
6
6
  import classNames from 'classnames';
7
- import styles from "./index.module.scss";
7
+ import styles from "./index.module.css";
8
8
  import { Spin } from '@douyinfe/semi-ui';
9
9
  import { References } from "../reference-content";
10
10
  import { replaceBraces } from "../../utils/tools";
@@ -115,11 +115,8 @@ var MessageList = function MessageList(_ref) {
115
115
  quoteProductList: v.quoteProductList,
116
116
  quoteTeachModelList: v.quoteTeachModelList
117
117
  }), v.content && /*#__PURE__*/React.createElement("div", {
118
- className: styles.title,
119
- dangerouslySetInnerHTML: {
120
- __html: replaceBraces(v.content)
121
- }
122
- }), v.messageFiles &&
118
+ className: styles.title
119
+ }, replaceBraces(v.content)), v.messageFiles &&
123
120
  /*#__PURE__*/
124
121
  // 增加fileUrl校验,确保文件已上传
125
122
  React.createElement("div", {