@myun/gimi-chat 0.0.3 → 0.0.4

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 (206) hide show
  1. package/dist/apis/fetch.d.ts +64 -0
  2. package/dist/apis/fetch.js +512 -0
  3. package/dist/apis/useApi.d.ts +57 -0
  4. package/dist/apis/useApi.js +378 -0
  5. package/dist/assets/image/Subtract.png +0 -0
  6. package/dist/assets/image/ai-logo.png +0 -0
  7. package/dist/assets/image/copyIcon.png +0 -0
  8. package/dist/assets/image/deepthinkActive.png +0 -0
  9. package/dist/assets/image/empty-img-dark.png +0 -0
  10. package/dist/assets/image/empty-img.png +0 -0
  11. package/dist/assets/image/like_active.png +0 -0
  12. package/dist/assets/image/love.png +0 -0
  13. package/dist/assets/image/retry.png +0 -0
  14. package/dist/assets/image/soundOut.png +0 -0
  15. package/dist/assets/image/unlike_active.png +0 -0
  16. package/dist/assets/image/unlove.png +0 -0
  17. package/dist/assets/lottie/ai-bg.json +1704 -0
  18. package/dist/assets/lottie/ai-loading.json +192 -0
  19. package/dist/assets/lottie/ai-output-loading.json +272 -0
  20. package/dist/assets/lottie/ai-output-normal.json +17694 -0
  21. package/dist/assets/lottie/ai-output-strengthen.json +17321 -0
  22. package/dist/assets/lottie/ai-voice-play.json +1 -0
  23. package/dist/assets/lottie/living.json +705 -0
  24. package/dist/assets/lottie/myun-living.json +726 -0
  25. package/dist/assets/lottie/myun-loading.json +530 -0
  26. package/dist/components/ai-chat-dialogue/index.d.ts +16 -0
  27. package/dist/components/ai-chat-dialogue/index.js +1056 -0
  28. package/dist/components/ai-chat-dialogue/index.module.scss +272 -0
  29. package/dist/components/ai-chat-dialogue/message-parser.d.ts +36 -0
  30. package/dist/components/ai-chat-dialogue/message-parser.js +52 -0
  31. package/dist/components/ai-chat-dialogue/tlv.d.ts +7 -0
  32. package/dist/components/ai-chat-dialogue/tlv.js +32 -0
  33. package/dist/components/ai-chat-dialogue/volc-voice-call-client.d.ts +47 -0
  34. package/dist/components/ai-chat-dialogue/volc-voice-call-client.js +246 -0
  35. package/dist/components/ai-correction/index.d.ts +5 -0
  36. package/dist/components/ai-correction/index.js +45 -0
  37. package/dist/components/ai-loading/index.d.ts +3 -0
  38. package/dist/components/ai-loading/index.js +14 -0
  39. package/dist/components/ai-loading/index.module.scss +11 -0
  40. package/dist/components/answer-item/index.d.ts +27 -0
  41. package/dist/components/answer-item/index.js +194 -0
  42. package/dist/components/answer-item/index.module.scss +295 -0
  43. package/dist/components/ask-card/index.d.ts +10 -0
  44. package/dist/components/ask-card/index.js +76 -0
  45. package/dist/components/ask-card/index.module.scss +125 -0
  46. package/dist/components/chat-input/index.d.ts +31 -0
  47. package/dist/components/chat-input/index.js +433 -0
  48. package/dist/components/chat-input/index.module.scss +44 -0
  49. package/dist/components/chat-voice/VoiceCommunication.d.ts +7 -0
  50. package/dist/components/chat-voice/VoiceCommunication.js +69 -0
  51. package/dist/components/chat-voice/VoiceRecord.d.ts +7 -0
  52. package/dist/components/chat-voice/VoiceRecord.js +34 -0
  53. package/dist/components/conversation-delete/index.d.ts +5 -0
  54. package/dist/components/conversation-delete/index.js +24 -0
  55. package/dist/components/dots-loading/index.d.ts +2 -0
  56. package/dist/components/dots-loading/index.js +11 -0
  57. package/dist/components/dots-loading/index.module.scss +45 -0
  58. package/dist/components/empty/index.d.ts +9 -0
  59. package/dist/components/empty/index.js +32 -0
  60. package/dist/components/empty/index.module.scss +27 -0
  61. package/dist/components/excel-components/ExcelCard.d.ts +11 -0
  62. package/dist/components/excel-components/ExcelCard.js +35 -0
  63. package/dist/components/excel-components/ExcelExcuting.d.ts +10 -0
  64. package/dist/components/excel-components/ExcelExcuting.js +263 -0
  65. package/dist/components/excel-components/ExcelFailCard.d.ts +9 -0
  66. package/dist/components/excel-components/ExcelFailCard.js +20 -0
  67. package/dist/components/excel-components/ExcelSuccessCard.d.ts +5 -0
  68. package/dist/components/excel-components/ExcelSuccessCard.js +50 -0
  69. package/dist/components/excel-components/index.module.scss +210 -0
  70. package/dist/components/excel-components/styles.module.scss +186 -0
  71. package/dist/components/file-card/fileCardSidebar.d.ts +8 -0
  72. package/dist/components/file-card/fileCardSidebar.js +56 -0
  73. package/dist/components/file-card/index.d.ts +15 -0
  74. package/dist/components/file-card/index.js +97 -0
  75. package/dist/components/file-card/index.module.scss +139 -0
  76. package/dist/components/file-preview/index.d.ts +3 -0
  77. package/dist/components/file-preview/index.js +229 -0
  78. package/dist/components/file-preview/index.module.scss +120 -0
  79. package/dist/components/file-upload/index.d.ts +16 -0
  80. package/dist/components/file-upload/index.js +238 -0
  81. package/dist/components/file-upload/uploadV1.d.ts +16 -0
  82. package/dist/components/file-upload/uploadV1.js +267 -0
  83. package/dist/components/gimi-sidebar/index.d.ts +17 -0
  84. package/dist/components/gimi-sidebar/index.js +41 -0
  85. package/dist/components/gimi-sidebar/index.module.scss +136 -0
  86. package/dist/components/header/index.d.ts +5 -0
  87. package/dist/components/header/index.js +20 -0
  88. package/dist/components/header/index.module.scss +26 -0
  89. package/dist/components/iconfont-com/index.d.ts +11 -0
  90. package/dist/components/iconfont-com/index.js +29 -0
  91. package/dist/components/index.d.ts +1 -0
  92. package/dist/components/index.js +1 -0
  93. package/dist/components/knowledge-trace/KnowledgeIconComponent.d.ts +7 -0
  94. package/dist/components/knowledge-trace/KnowledgeIconComponent.js +101 -0
  95. package/dist/components/knowledge-trace/classList.d.ts +6 -0
  96. package/dist/components/knowledge-trace/classList.js +72 -0
  97. package/dist/components/knowledge-trace/documentList.d.ts +6 -0
  98. package/dist/components/knowledge-trace/documentList.js +75 -0
  99. package/dist/components/knowledge-trace/index.d.ts +18 -0
  100. package/dist/components/knowledge-trace/index.js +155 -0
  101. package/dist/components/knowledge-trace/index.module.scss +262 -0
  102. package/dist/components/knowledge-trace/interfaces.d.ts +166 -0
  103. package/dist/components/knowledge-trace/interfaces.js +1 -0
  104. package/dist/components/knowledge-trace/videoList.d.ts +6 -0
  105. package/dist/components/knowledge-trace/videoList.js +91 -0
  106. package/dist/components/lottie-img/index.d.ts +8 -0
  107. package/dist/components/lottie-img/index.js +99 -0
  108. package/dist/components/message-actions/CopyButton.d.ts +7 -0
  109. package/dist/components/message-actions/CopyButton.js +33 -0
  110. package/dist/components/message-actions/LikeButton.d.ts +7 -0
  111. package/dist/components/message-actions/LikeButton.js +34 -0
  112. package/dist/components/message-actions/RegenerateButton.d.ts +5 -0
  113. package/dist/components/message-actions/RegenerateButton.js +27 -0
  114. package/dist/components/message-actions/UnLikeButton.d.ts +7 -0
  115. package/dist/components/message-actions/UnLikeButton.js +34 -0
  116. package/dist/components/message-actions/VoicePlay.d.ts +10 -0
  117. package/dist/components/message-actions/VoicePlay.js +74 -0
  118. package/dist/components/message-list/index.d.ts +19 -0
  119. package/dist/components/message-list/index.js +167 -0
  120. package/dist/components/message-list/index.module.scss +304 -0
  121. package/dist/components/no-microphone-root/index.d.ts +6 -0
  122. package/dist/components/no-microphone-root/index.js +36 -0
  123. package/dist/components/no-microphone-root/index.module.scss +42 -0
  124. package/dist/components/preset-agent-content/index.d.ts +8 -0
  125. package/dist/components/preset-agent-content/index.js +24 -0
  126. package/dist/components/preset-agent-content/index.module.scss +48 -0
  127. package/dist/components/quoted-content/index.d.ts +0 -0
  128. package/dist/components/quoted-content/index.js +171 -0
  129. package/dist/components/quoted-content/index.module.scss +76 -0
  130. package/dist/components/reasoning-content/index.d.ts +6 -0
  131. package/dist/components/reasoning-content/index.js +116 -0
  132. package/dist/components/reasoning-content/index.module.scss +164 -0
  133. package/dist/components/reference-content/index.d.ts +28 -0
  134. package/dist/components/reference-content/index.js +125 -0
  135. package/dist/components/reference-content/index.module.scss +73 -0
  136. package/dist/components/templates/CommonChat.d.ts +5 -0
  137. package/dist/components/templates/CommonChat.js +218 -0
  138. package/dist/components/templates/GimiChatComponent.d.ts +4 -0
  139. package/dist/components/templates/GimiChatComponent.js +23 -0
  140. package/dist/components/templates/demo/demo.d.ts +2 -0
  141. package/dist/components/templates/demo/demo.js +110 -0
  142. package/dist/components/templates/index.module.scss +119 -0
  143. package/dist/components/upload-list/index.d.ts +15 -0
  144. package/dist/components/upload-list/index.js +90 -0
  145. package/dist/components/upload-list/index.module.scss +119 -0
  146. package/dist/components/voice-bars/index.d.ts +4 -0
  147. package/dist/components/voice-bars/index.js +174 -0
  148. package/dist/components/voice-check-dialog/index.d.ts +8 -0
  149. package/dist/components/voice-check-dialog/index.js +163 -0
  150. package/dist/components/voice-check-dialog/index.module.scss +9 -0
  151. package/dist/components/voice-recording/index.d.ts +9 -0
  152. package/dist/components/voice-recording/index.js +54 -0
  153. package/dist/components/voice-recording/index.module.scss +41 -0
  154. package/dist/components/work-flow-content/demo.d.ts +3 -0
  155. package/dist/components/work-flow-content/demo.js +11 -0
  156. package/dist/components/work-flow-content/index.d.ts +6 -0
  157. package/dist/components/work-flow-content/index.js +55 -0
  158. package/dist/components/work-flow-content/index.module.scss +23 -0
  159. package/dist/constants.d.ts +24 -0
  160. package/dist/constants.js +24 -0
  161. package/dist/hooks/useChatActions.d.ts +12 -0
  162. package/dist/hooks/useChatActions.js +207 -0
  163. package/dist/hooks/useChatHistory.d.ts +8 -0
  164. package/dist/hooks/useChatHistory.js +225 -0
  165. package/dist/hooks/useChatMessage.d.ts +49 -0
  166. package/dist/hooks/useChatMessage.js +87 -0
  167. package/dist/hooks/useChatRecommend.d.ts +8 -0
  168. package/dist/hooks/useChatRecommend.js +126 -0
  169. package/dist/hooks/useChatStream.d.ts +20 -0
  170. package/dist/hooks/useChatStream.js +244 -0
  171. package/dist/hooks/useChatUI.d.ts +32 -0
  172. package/dist/hooks/useChatUI.js +134 -0
  173. package/dist/hooks/useChatVoice.d.ts +11 -0
  174. package/dist/hooks/useChatVoice.js +379 -0
  175. package/dist/hooks/useCommonChatAPI.d.ts +27 -0
  176. package/dist/hooks/useCommonChatAPI.js +1276 -0
  177. package/dist/hooks/useFile.d.ts +13 -0
  178. package/dist/hooks/useFile.js +288 -0
  179. package/dist/hooks/useKnowledgeService.d.ts +17 -0
  180. package/dist/hooks/useKnowledgeService.js +210 -0
  181. package/dist/hooks/useLastEventId.d.ts +8 -0
  182. package/dist/hooks/useLastEventId.js +66 -0
  183. package/dist/hooks/useLongPoll.d.ts +3 -0
  184. package/dist/hooks/useLongPoll.js +111 -0
  185. package/dist/hooks/useScroll.d.ts +4 -0
  186. package/dist/hooks/useScroll.js +172 -0
  187. package/dist/index.d.ts +1 -0
  188. package/dist/index.js +1 -0
  189. package/dist/interfaces/chatMessage.d.ts +139 -0
  190. package/dist/interfaces/fileInterface.d.ts +10 -0
  191. package/dist/interfaces/fileInterface.js +11 -0
  192. package/dist/interfaces/knowledgeTrace.d.ts +177 -0
  193. package/dist/store/hooks.d.ts +4 -0
  194. package/dist/store/hooks.js +3 -0
  195. package/dist/store/index.d.ts +7 -0
  196. package/dist/store/index.js +7 -0
  197. package/dist/store/slices/gimiMenuSlice.d.ts +95 -0
  198. package/dist/store/slices/gimiMenuSlice.js +251 -0
  199. package/dist/utils/chatInputUtil.d.ts +19 -0
  200. package/dist/utils/chatInputUtil.js +45 -0
  201. package/dist/utils/tools.d.ts +50 -0
  202. package/dist/utils/tools.js +474 -0
  203. package/dist/utils/voice-stream.d.ts +119 -0
  204. package/dist/utils/voice-stream.js +1162 -0
  205. package/package.json +2 -3
  206. package/LICENSE +0 -21
@@ -0,0 +1,530 @@
1
+ {
2
+ "v": "5.7.4",
3
+ "fr": 30,
4
+ "ip": 0,
5
+ "op": 90,
6
+ "w": 512,
7
+ "h": 512,
8
+ "nm": "17",
9
+ "ddd": 0,
10
+ "assets": [],
11
+ "layers": [
12
+ {
13
+ "ddd": 0,
14
+ "ind": 1,
15
+ "ty": 4,
16
+ "nm": "Main_Line_02",
17
+ "sr": 1,
18
+ "ks": {
19
+ "o": { "a": 0, "k": 100, "ix": 11 },
20
+ "r": {
21
+ "a": 1,
22
+ "k": [
23
+ { "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] }, "t": 44, "s": [0] },
24
+ { "t": 133, "s": [720] }
25
+ ],
26
+ "ix": 10
27
+ },
28
+ "p": { "a": 0, "k": [256, 256, 0], "ix": 2, "l": 2 },
29
+ "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
30
+ "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
31
+ },
32
+ "ao": 0,
33
+ "shapes": [
34
+ {
35
+ "ty": "gr",
36
+ "it": [
37
+ {
38
+ "d": 1,
39
+ "ty": "el",
40
+ "s": { "a": 0, "k": [256, 256], "ix": 2 },
41
+ "p": { "a": 0, "k": [0, 0], "ix": 3 },
42
+ "nm": "Ellipse Path 1",
43
+ "mn": "ADBE Vector Shape - Ellipse",
44
+ "hd": false
45
+ },
46
+ {
47
+ "ty": "st",
48
+ "c": { "a": 0, "k": [0.25098039215686274, 0.5490196078431373, 1, 1], "ix": 3 },
49
+ "o": { "a": 0, "k": 100, "ix": 4 },
50
+ "w": { "a": 0, "k": 80, "ix": 5 },
51
+ "lc": 2,
52
+ "lj": 2,
53
+ "bm": 0,
54
+ "nm": "Stroke 1",
55
+ "mn": "ADBE Vector Graphic - Stroke",
56
+ "hd": false
57
+ },
58
+ {
59
+ "ty": "tr",
60
+ "p": { "a": 0, "k": [0, 0], "ix": 2 },
61
+ "a": { "a": 0, "k": [0, 0], "ix": 1 },
62
+ "s": { "a": 0, "k": [100, 100], "ix": 3 },
63
+ "r": { "a": 0, "k": 0, "ix": 6 },
64
+ "o": { "a": 0, "k": 100, "ix": 7 },
65
+ "sk": { "a": 0, "k": 0, "ix": 4 },
66
+ "sa": { "a": 0, "k": 0, "ix": 5 },
67
+ "nm": "Transform"
68
+ }
69
+ ],
70
+ "nm": "Ellipse 1",
71
+ "np": 2,
72
+ "cix": 2,
73
+ "bm": 0,
74
+ "ix": 1,
75
+ "mn": "ADBE Vector Group",
76
+ "hd": false
77
+ },
78
+ {
79
+ "ty": "tm",
80
+ "s": {
81
+ "a": 1,
82
+ "k": [
83
+ { "i": { "x": [0.21], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 44, "s": [0] },
84
+ { "t": 69, "s": [99.8] }
85
+ ],
86
+ "ix": 1
87
+ },
88
+ "e": {
89
+ "a": 1,
90
+ "k": [
91
+ { "i": { "x": [0.21], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 54, "s": [0.1] },
92
+ { "t": 79, "s": [99.9] }
93
+ ],
94
+ "ix": 2
95
+ },
96
+ "o": {
97
+ "a": 1,
98
+ "k": [
99
+ { "i": { "x": [0.21], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 44, "s": [0] },
100
+ { "t": 69, "s": [0.7] }
101
+ ],
102
+ "ix": 3
103
+ },
104
+ "m": 1,
105
+ "ix": 2,
106
+ "nm": "Trim Paths 1",
107
+ "mn": "ADBE Vector Filter - Trim",
108
+ "hd": false
109
+ }
110
+ ],
111
+ "ip": 44,
112
+ "op": 88,
113
+ "st": 44,
114
+ "bm": 0
115
+ },
116
+ {
117
+ "ddd": 0,
118
+ "ind": 2,
119
+ "ty": 4,
120
+ "nm": "Main_Line_01",
121
+ "sr": 1,
122
+ "ks": {
123
+ "o": { "a": 0, "k": 100, "ix": 11 },
124
+ "r": {
125
+ "a": 1,
126
+ "k": [
127
+ { "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] }, "t": 0, "s": [0] },
128
+ { "t": 89, "s": [720] }
129
+ ],
130
+ "ix": 10
131
+ },
132
+ "p": { "a": 0, "k": [256, 256, 0], "ix": 2, "l": 2 },
133
+ "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
134
+ "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
135
+ },
136
+ "ao": 0,
137
+ "shapes": [
138
+ {
139
+ "ty": "gr",
140
+ "it": [
141
+ {
142
+ "d": 1,
143
+ "ty": "el",
144
+ "s": { "a": 0, "k": [256, 256], "ix": 2 },
145
+ "p": { "a": 0, "k": [0, 0], "ix": 3 },
146
+ "nm": "Ellipse Path 1",
147
+ "mn": "ADBE Vector Shape - Ellipse",
148
+ "hd": false
149
+ },
150
+ {
151
+ "ty": "st",
152
+ "c": { "a": 0, "k": [0.25098039215686274, 0.5490196078431373, 1, 1], "ix": 3 },
153
+ "o": { "a": 0, "k": 100, "ix": 4 },
154
+ "w": { "a": 0, "k": 80, "ix": 5 },
155
+ "lc": 2,
156
+ "lj": 2,
157
+ "bm": 0,
158
+ "nm": "Stroke 1",
159
+ "mn": "ADBE Vector Graphic - Stroke",
160
+ "hd": false
161
+ },
162
+ {
163
+ "ty": "tr",
164
+ "p": { "a": 0, "k": [0, 0], "ix": 2 },
165
+ "a": { "a": 0, "k": [0, 0], "ix": 1 },
166
+ "s": { "a": 0, "k": [100, 100], "ix": 3 },
167
+ "r": { "a": 0, "k": 0, "ix": 6 },
168
+ "o": { "a": 0, "k": 100, "ix": 7 },
169
+ "sk": { "a": 0, "k": 0, "ix": 4 },
170
+ "sa": { "a": 0, "k": 0, "ix": 5 },
171
+ "nm": "Transform"
172
+ }
173
+ ],
174
+ "nm": "Ellipse 1",
175
+ "np": 2,
176
+ "cix": 2,
177
+ "bm": 0,
178
+ "ix": 1,
179
+ "mn": "ADBE Vector Group",
180
+ "hd": false
181
+ },
182
+ {
183
+ "ty": "tm",
184
+ "s": {
185
+ "a": 1,
186
+ "k": [
187
+ { "i": { "x": [0.21], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 0, "s": [0] },
188
+ { "t": 25, "s": [99.8] }
189
+ ],
190
+ "ix": 1
191
+ },
192
+ "e": {
193
+ "a": 1,
194
+ "k": [
195
+ { "i": { "x": [0.21], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 10, "s": [0.1] },
196
+ { "t": 35, "s": [99.9] }
197
+ ],
198
+ "ix": 2
199
+ },
200
+ "o": {
201
+ "a": 1,
202
+ "k": [
203
+ { "i": { "x": [0.21], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 0, "s": [0] },
204
+ { "t": 25, "s": [0.7] }
205
+ ],
206
+ "ix": 3
207
+ },
208
+ "m": 1,
209
+ "ix": 2,
210
+ "nm": "Trim Paths 1",
211
+ "mn": "ADBE Vector Filter - Trim",
212
+ "hd": false
213
+ }
214
+ ],
215
+ "ip": 0,
216
+ "op": 44,
217
+ "st": 0,
218
+ "bm": 0
219
+ },
220
+ {
221
+ "ddd": 0,
222
+ "ind": 3,
223
+ "ty": 4,
224
+ "nm": "Dot_01",
225
+ "parent": 2,
226
+ "sr": 1,
227
+ "ks": {
228
+ "o": { "a": 0, "k": 100, "ix": 11 },
229
+ "r": { "a": 0, "k": -45, "ix": 10 },
230
+ "p": { "a": 0, "k": [0, 0, 0], "ix": 2, "l": 2 },
231
+ "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
232
+ "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
233
+ },
234
+ "ao": 0,
235
+ "shapes": [
236
+ {
237
+ "ty": "gr",
238
+ "it": [
239
+ {
240
+ "d": 1,
241
+ "ty": "el",
242
+ "s": { "a": 0, "k": [256, 256], "ix": 2 },
243
+ "p": { "a": 0, "k": [0, 0], "ix": 3 },
244
+ "nm": "Ellipse Path 1",
245
+ "mn": "ADBE Vector Shape - Ellipse",
246
+ "hd": false
247
+ },
248
+ {
249
+ "ty": "st",
250
+ "c": { "a": 0, "k": [0.25098039215686274, 0.5490196078431373, 1, 1], "ix": 3 },
251
+ "o": { "a": 0, "k": 100, "ix": 4 },
252
+ "w": { "a": 0, "k": 70, "ix": 5 },
253
+ "lc": 2,
254
+ "lj": 2,
255
+ "bm": 0,
256
+ "nm": "Stroke 1",
257
+ "mn": "ADBE Vector Graphic - Stroke",
258
+ "hd": false
259
+ },
260
+ {
261
+ "ty": "tr",
262
+ "p": { "a": 0, "k": [0, 0], "ix": 2 },
263
+ "a": { "a": 0, "k": [0, 0], "ix": 1 },
264
+ "s": { "a": 0, "k": [100, 100], "ix": 3 },
265
+ "r": { "a": 0, "k": 0, "ix": 6 },
266
+ "o": { "a": 0, "k": 100, "ix": 7 },
267
+ "sk": { "a": 0, "k": 0, "ix": 4 },
268
+ "sa": { "a": 0, "k": 0, "ix": 5 },
269
+ "nm": "Transform"
270
+ }
271
+ ],
272
+ "nm": "Ellipse 1",
273
+ "np": 2,
274
+ "cix": 2,
275
+ "bm": 0,
276
+ "ix": 1,
277
+ "mn": "ADBE Vector Group",
278
+ "hd": false
279
+ },
280
+ {
281
+ "ty": "tm",
282
+ "s": { "a": 0, "k": 0, "ix": 1 },
283
+ "e": { "a": 0, "k": 0.1, "ix": 2 },
284
+ "o": { "a": 0, "k": 0, "ix": 3 },
285
+ "m": 1,
286
+ "ix": 2,
287
+ "nm": "Trim Paths 1",
288
+ "mn": "ADBE Vector Filter - Trim",
289
+ "hd": false
290
+ }
291
+ ],
292
+ "ip": 16,
293
+ "op": 62,
294
+ "st": 0,
295
+ "bm": 0
296
+ },
297
+ {
298
+ "ddd": 0,
299
+ "ind": 4,
300
+ "ty": 4,
301
+ "nm": "Dot_02",
302
+ "parent": 2,
303
+ "sr": 1,
304
+ "ks": {
305
+ "o": { "a": 0, "k": 100, "ix": 11 },
306
+ "r": { "a": 0, "k": -90, "ix": 10 },
307
+ "p": { "a": 0, "k": [0, 0, 0], "ix": 2, "l": 2 },
308
+ "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
309
+ "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
310
+ },
311
+ "ao": 0,
312
+ "shapes": [
313
+ {
314
+ "ty": "gr",
315
+ "it": [
316
+ {
317
+ "d": 1,
318
+ "ty": "el",
319
+ "s": { "a": 0, "k": [256, 256], "ix": 2 },
320
+ "p": { "a": 0, "k": [0, 0], "ix": 3 },
321
+ "nm": "Ellipse Path 1",
322
+ "mn": "ADBE Vector Shape - Ellipse",
323
+ "hd": false
324
+ },
325
+ {
326
+ "ty": "st",
327
+ "c": { "a": 0, "k": [0.25098039215686274, 0.5490196078431373, 1, 1], "ix": 3 },
328
+ "o": { "a": 0, "k": 100, "ix": 4 },
329
+ "w": { "a": 0, "k": 55, "ix": 5 },
330
+ "lc": 2,
331
+ "lj": 2,
332
+ "bm": 0,
333
+ "nm": "Stroke 1",
334
+ "mn": "ADBE Vector Graphic - Stroke",
335
+ "hd": false
336
+ },
337
+ {
338
+ "ty": "tr",
339
+ "p": { "a": 0, "k": [0, 0], "ix": 2 },
340
+ "a": { "a": 0, "k": [0, 0], "ix": 1 },
341
+ "s": { "a": 0, "k": [100, 100], "ix": 3 },
342
+ "r": { "a": 0, "k": 0, "ix": 6 },
343
+ "o": { "a": 0, "k": 100, "ix": 7 },
344
+ "sk": { "a": 0, "k": 0, "ix": 4 },
345
+ "sa": { "a": 0, "k": 0, "ix": 5 },
346
+ "nm": "Transform"
347
+ }
348
+ ],
349
+ "nm": "Ellipse 1",
350
+ "np": 2,
351
+ "cix": 2,
352
+ "bm": 0,
353
+ "ix": 1,
354
+ "mn": "ADBE Vector Group",
355
+ "hd": false
356
+ },
357
+ {
358
+ "ty": "tm",
359
+ "s": { "a": 0, "k": 0, "ix": 1 },
360
+ "e": { "a": 0, "k": 0.1, "ix": 2 },
361
+ "o": { "a": 0, "k": 0, "ix": 3 },
362
+ "m": 1,
363
+ "ix": 2,
364
+ "nm": "Trim Paths 1",
365
+ "mn": "ADBE Vector Filter - Trim",
366
+ "hd": false
367
+ }
368
+ ],
369
+ "ip": 16,
370
+ "op": 62,
371
+ "st": 0,
372
+ "bm": 0
373
+ },
374
+ {
375
+ "ddd": 0,
376
+ "ind": 5,
377
+ "ty": 4,
378
+ "nm": "Dot_03",
379
+ "parent": 2,
380
+ "sr": 1,
381
+ "ks": {
382
+ "o": { "a": 0, "k": 100, "ix": 11 },
383
+ "r": { "a": 0, "k": -130, "ix": 10 },
384
+ "p": { "a": 0, "k": [0, 0, 0], "ix": 2, "l": 2 },
385
+ "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
386
+ "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
387
+ },
388
+ "ao": 0,
389
+ "shapes": [
390
+ {
391
+ "ty": "gr",
392
+ "it": [
393
+ {
394
+ "d": 1,
395
+ "ty": "el",
396
+ "s": { "a": 0, "k": [256, 256], "ix": 2 },
397
+ "p": { "a": 0, "k": [0, 0], "ix": 3 },
398
+ "nm": "Ellipse Path 1",
399
+ "mn": "ADBE Vector Shape - Ellipse",
400
+ "hd": false
401
+ },
402
+ {
403
+ "ty": "st",
404
+ "c": { "a": 0, "k": [0.25098039215686274, 0.5490196078431373, 1, 1], "ix": 3 },
405
+ "o": { "a": 0, "k": 100, "ix": 4 },
406
+ "w": { "a": 0, "k": 40, "ix": 5 },
407
+ "lc": 2,
408
+ "lj": 2,
409
+ "bm": 0,
410
+ "nm": "Stroke 1",
411
+ "mn": "ADBE Vector Graphic - Stroke",
412
+ "hd": false
413
+ },
414
+ {
415
+ "ty": "tr",
416
+ "p": { "a": 0, "k": [0, 0], "ix": 2 },
417
+ "a": { "a": 0, "k": [0, 0], "ix": 1 },
418
+ "s": { "a": 0, "k": [100, 100], "ix": 3 },
419
+ "r": { "a": 0, "k": 0, "ix": 6 },
420
+ "o": { "a": 0, "k": 100, "ix": 7 },
421
+ "sk": { "a": 0, "k": 0, "ix": 4 },
422
+ "sa": { "a": 0, "k": 0, "ix": 5 },
423
+ "nm": "Transform"
424
+ }
425
+ ],
426
+ "nm": "Ellipse 1",
427
+ "np": 2,
428
+ "cix": 2,
429
+ "bm": 0,
430
+ "ix": 1,
431
+ "mn": "ADBE Vector Group",
432
+ "hd": false
433
+ },
434
+ {
435
+ "ty": "tm",
436
+ "s": { "a": 0, "k": 0, "ix": 1 },
437
+ "e": { "a": 0, "k": 0.1, "ix": 2 },
438
+ "o": { "a": 0, "k": 0, "ix": 3 },
439
+ "m": 1,
440
+ "ix": 2,
441
+ "nm": "Trim Paths 1",
442
+ "mn": "ADBE Vector Filter - Trim",
443
+ "hd": false
444
+ }
445
+ ],
446
+ "ip": 16,
447
+ "op": 62,
448
+ "st": 0,
449
+ "bm": 0
450
+ },
451
+ {
452
+ "ddd": 0,
453
+ "ind": 6,
454
+ "ty": 4,
455
+ "nm": "Dot_04",
456
+ "parent": 2,
457
+ "sr": 1,
458
+ "ks": {
459
+ "o": { "a": 0, "k": 100, "ix": 11 },
460
+ "r": { "a": 0, "k": -165, "ix": 10 },
461
+ "p": { "a": 0, "k": [0, 0, 0], "ix": 2, "l": 2 },
462
+ "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
463
+ "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
464
+ },
465
+ "ao": 0,
466
+ "shapes": [
467
+ {
468
+ "ty": "gr",
469
+ "it": [
470
+ {
471
+ "d": 1,
472
+ "ty": "el",
473
+ "s": { "a": 0, "k": [256, 256], "ix": 2 },
474
+ "p": { "a": 0, "k": [0, 0], "ix": 3 },
475
+ "nm": "Ellipse Path 1",
476
+ "mn": "ADBE Vector Shape - Ellipse",
477
+ "hd": false
478
+ },
479
+ {
480
+ "ty": "st",
481
+ "c": { "a": 0, "k": [0.25098039215686274, 0.5490196078431373, 1, 1], "ix": 3 },
482
+ "o": { "a": 0, "k": 100, "ix": 4 },
483
+ "w": { "a": 0, "k": 30, "ix": 5 },
484
+ "lc": 2,
485
+ "lj": 2,
486
+ "bm": 0,
487
+ "nm": "Stroke 1",
488
+ "mn": "ADBE Vector Graphic - Stroke",
489
+ "hd": false
490
+ },
491
+ {
492
+ "ty": "tr",
493
+ "p": { "a": 0, "k": [0, 0], "ix": 2 },
494
+ "a": { "a": 0, "k": [0, 0], "ix": 1 },
495
+ "s": { "a": 0, "k": [100, 100], "ix": 3 },
496
+ "r": { "a": 0, "k": 0, "ix": 6 },
497
+ "o": { "a": 0, "k": 100, "ix": 7 },
498
+ "sk": { "a": 0, "k": 0, "ix": 4 },
499
+ "sa": { "a": 0, "k": 0, "ix": 5 },
500
+ "nm": "Transform"
501
+ }
502
+ ],
503
+ "nm": "Ellipse 1",
504
+ "np": 2,
505
+ "cix": 2,
506
+ "bm": 0,
507
+ "ix": 1,
508
+ "mn": "ADBE Vector Group",
509
+ "hd": false
510
+ },
511
+ {
512
+ "ty": "tm",
513
+ "s": { "a": 0, "k": 0, "ix": 1 },
514
+ "e": { "a": 0, "k": 0.1, "ix": 2 },
515
+ "o": { "a": 0, "k": 0, "ix": 3 },
516
+ "m": 1,
517
+ "ix": 2,
518
+ "nm": "Trim Paths 1",
519
+ "mn": "ADBE Vector Filter - Trim",
520
+ "hd": false
521
+ }
522
+ ],
523
+ "ip": 16,
524
+ "op": 62,
525
+ "st": 0,
526
+ "bm": 0
527
+ }
528
+ ],
529
+ "markers": []
530
+ }
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ interface PaperType {
3
+ /** 机器人ID */
4
+ botId: string;
5
+ /** 会话ID */
6
+ conversationId: number;
7
+ /** 初始化字幕开关状态 */
8
+ enableCaptions: boolean;
9
+ }
10
+ interface AiExplainProps {
11
+ paper: PaperType;
12
+ setSpeech: (value: boolean) => void;
13
+ handleHangUp?: () => void;
14
+ }
15
+ declare const AiExplain: React.ForwardRefExoticComponent<AiExplainProps & React.RefAttributes<unknown>>;
16
+ export default AiExplain;