@touchvue/chat 1.0.0-beta.47 → 1.0.0-beta.48
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/es/package.json.css +1 -1
- package/es/package.json.mjs +1 -1
- package/es/packages/components/touchchat/component/FileContent.vue2.mjs +6 -1
- package/es/packages/components/touchchat/component/FileContent.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/PDFFile.vue2.mjs +7 -1
- package/es/packages/components/touchchat/component/PDFFile.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/VideoFile.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/VideoFile.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/VideoFile.vue2.mjs +33 -0
- package/es/packages/components/touchchat/component/VideoFile.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs +39 -1
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/Chat/types.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/Chat/useChat.mjs +7 -4
- package/es/packages/components/touchchat/src/AiChat/Chat/useChat.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/Chat/useSSE.mjs +38 -86
- package/es/packages/components/touchchat/src/AiChat/Chat/useSSE.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs +2 -0
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs +16 -3
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs +6 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/index.vue2.mjs +10 -1
- package/es/packages/components/touchchat/src/index.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/utils/a2aService.mjs +18 -12
- package/es/packages/components/touchchat/utils/a2aService.mjs.map +1 -1
- package/lib/package.json.css +1 -1
- package/lib/package.json.js +1 -1
- package/lib/packages/components/touchchat/component/FileContent.vue2.js +6 -1
- package/lib/packages/components/touchchat/component/FileContent.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/PDFFile.vue2.js +7 -1
- package/lib/packages/components/touchchat/component/PDFFile.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/VideoFile.vue.js +11 -0
- package/lib/packages/components/touchchat/component/VideoFile.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/VideoFile.vue2.js +37 -0
- package/lib/packages/components/touchchat/component/VideoFile.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js +39 -1
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/Chat/types.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/Chat/useChat.js +7 -4
- package/lib/packages/components/touchchat/src/AiChat/Chat/useChat.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/Chat/useSSE.js +38 -86
- package/lib/packages/components/touchchat/src/AiChat/Chat/useSSE.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js +2 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js +15 -2
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js +6 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/index.vue2.js +10 -1
- package/lib/packages/components/touchchat/src/index.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/utils/a2aService.js +18 -12
- package/lib/packages/components/touchchat/utils/a2aService.js.map +1 -1
- package/package.json +1 -1
- package/theme/components/index.css +26 -0
- package/theme/font/iconfont.woff +0 -0
- package/theme/font/iconfont.woff2 +0 -0
- package/theme/index.css +26 -0
- package/theme/skin/default.css +26 -0
package/package.json
CHANGED
|
@@ -290,6 +290,22 @@
|
|
|
290
290
|
opacity: 0;
|
|
291
291
|
overflow: hidden;
|
|
292
292
|
}
|
|
293
|
+
.touchchat-ai-may-like {
|
|
294
|
+
margin-top: 0.5em;
|
|
295
|
+
display: flex;
|
|
296
|
+
flex-direction: column;
|
|
297
|
+
gap: 0.4em;
|
|
298
|
+
}
|
|
299
|
+
.touchchat-ai-may-like .touchchat-ai-may-like-item {
|
|
300
|
+
display: inline-block;
|
|
301
|
+
cursor: pointer;
|
|
302
|
+
background-color: #ededed;
|
|
303
|
+
padding: 0.5em 0.8em;
|
|
304
|
+
border-radius: 0.8em;
|
|
305
|
+
}
|
|
306
|
+
.touchchat-ai-may-like .touchchat-ai-may-like-item:hover {
|
|
307
|
+
background-color: #d6d6d6;
|
|
308
|
+
}
|
|
293
309
|
@keyframes loading {
|
|
294
310
|
0% {
|
|
295
311
|
transform: rotate(0deg);
|
|
@@ -889,6 +905,8 @@ table.touchchat-table tr:hover {
|
|
|
889
905
|
--user-read-content: '\ea42';
|
|
890
906
|
--user-is-read-content: '\e63c';
|
|
891
907
|
--quote-close-fill-content: '\e724';
|
|
908
|
+
--ai-may-like-item-icon-content: '\e72c';
|
|
909
|
+
--ai-may-like-item-icon-color: #000;
|
|
892
910
|
}
|
|
893
911
|
.touchchat-action-item {
|
|
894
912
|
position: relative;
|
|
@@ -947,6 +965,14 @@ table.touchchat-table tr:hover {
|
|
|
947
965
|
.touchchat-action-item.value-close-fill {
|
|
948
966
|
--action-icon-content: var(--quote-close-fill-content);
|
|
949
967
|
}
|
|
968
|
+
.touchchat-action-item.value-right-arrow {
|
|
969
|
+
--action-icon-content: var(--ai-may-like-item-icon-content);
|
|
970
|
+
color: var(--ai-may-like-item-icon-color);
|
|
971
|
+
}
|
|
972
|
+
.touchchat-action-item.value-right-arrow:hover {
|
|
973
|
+
background-color: transparent;
|
|
974
|
+
color: var(--ai-may-like-item-icon-color);
|
|
975
|
+
}
|
|
950
976
|
.touchchat-action-item.value-good.is-on {
|
|
951
977
|
--action-icon-content: var(--action-good-on-content);
|
|
952
978
|
color: var(--action-good-on-color);
|
package/theme/font/iconfont.woff
CHANGED
|
Binary file
|
|
Binary file
|
package/theme/index.css
CHANGED
|
@@ -293,6 +293,22 @@
|
|
|
293
293
|
opacity: 0;
|
|
294
294
|
overflow: hidden;
|
|
295
295
|
}
|
|
296
|
+
.touchchat-ai-may-like {
|
|
297
|
+
margin-top: 0.5em;
|
|
298
|
+
display: flex;
|
|
299
|
+
flex-direction: column;
|
|
300
|
+
gap: 0.4em;
|
|
301
|
+
}
|
|
302
|
+
.touchchat-ai-may-like .touchchat-ai-may-like-item {
|
|
303
|
+
display: inline-block;
|
|
304
|
+
cursor: pointer;
|
|
305
|
+
background-color: #ededed;
|
|
306
|
+
padding: 0.5em 0.8em;
|
|
307
|
+
border-radius: 0.8em;
|
|
308
|
+
}
|
|
309
|
+
.touchchat-ai-may-like .touchchat-ai-may-like-item:hover {
|
|
310
|
+
background-color: #d6d6d6;
|
|
311
|
+
}
|
|
296
312
|
@keyframes loading {
|
|
297
313
|
0% {
|
|
298
314
|
transform: rotate(0deg);
|
|
@@ -892,6 +908,8 @@ table.touchchat-table tr:hover {
|
|
|
892
908
|
--user-read-content: '\ea42';
|
|
893
909
|
--user-is-read-content: '\e63c';
|
|
894
910
|
--quote-close-fill-content: '\e724';
|
|
911
|
+
--ai-may-like-item-icon-content: '\e72c';
|
|
912
|
+
--ai-may-like-item-icon-color: #000;
|
|
895
913
|
}
|
|
896
914
|
.touchchat-action-item {
|
|
897
915
|
position: relative;
|
|
@@ -950,6 +968,14 @@ table.touchchat-table tr:hover {
|
|
|
950
968
|
.touchchat-action-item.value-close-fill {
|
|
951
969
|
--action-icon-content: var(--quote-close-fill-content);
|
|
952
970
|
}
|
|
971
|
+
.touchchat-action-item.value-right-arrow {
|
|
972
|
+
--action-icon-content: var(--ai-may-like-item-icon-content);
|
|
973
|
+
color: var(--ai-may-like-item-icon-color);
|
|
974
|
+
}
|
|
975
|
+
.touchchat-action-item.value-right-arrow:hover {
|
|
976
|
+
background-color: transparent;
|
|
977
|
+
color: var(--ai-may-like-item-icon-color);
|
|
978
|
+
}
|
|
953
979
|
.touchchat-action-item.value-good.is-on {
|
|
954
980
|
--action-icon-content: var(--action-good-on-content);
|
|
955
981
|
color: var(--action-good-on-color);
|
package/theme/skin/default.css
CHANGED
|
@@ -293,6 +293,22 @@
|
|
|
293
293
|
opacity: 0;
|
|
294
294
|
overflow: hidden;
|
|
295
295
|
}
|
|
296
|
+
.touchchat-ai-may-like {
|
|
297
|
+
margin-top: 0.5em;
|
|
298
|
+
display: flex;
|
|
299
|
+
flex-direction: column;
|
|
300
|
+
gap: 0.4em;
|
|
301
|
+
}
|
|
302
|
+
.touchchat-ai-may-like .touchchat-ai-may-like-item {
|
|
303
|
+
display: inline-block;
|
|
304
|
+
cursor: pointer;
|
|
305
|
+
background-color: #ededed;
|
|
306
|
+
padding: 0.5em 0.8em;
|
|
307
|
+
border-radius: 0.8em;
|
|
308
|
+
}
|
|
309
|
+
.touchchat-ai-may-like .touchchat-ai-may-like-item:hover {
|
|
310
|
+
background-color: #d6d6d6;
|
|
311
|
+
}
|
|
296
312
|
@keyframes loading {
|
|
297
313
|
0% {
|
|
298
314
|
transform: rotate(0deg);
|
|
@@ -892,6 +908,8 @@ table.touchchat-table tr:hover {
|
|
|
892
908
|
--user-read-content: '\ea42';
|
|
893
909
|
--user-is-read-content: '\e63c';
|
|
894
910
|
--quote-close-fill-content: '\e724';
|
|
911
|
+
--ai-may-like-item-icon-content: '\e72c';
|
|
912
|
+
--ai-may-like-item-icon-color: #000;
|
|
895
913
|
}
|
|
896
914
|
.touchchat-action-item {
|
|
897
915
|
position: relative;
|
|
@@ -950,6 +968,14 @@ table.touchchat-table tr:hover {
|
|
|
950
968
|
.touchchat-action-item.value-close-fill {
|
|
951
969
|
--action-icon-content: var(--quote-close-fill-content);
|
|
952
970
|
}
|
|
971
|
+
.touchchat-action-item.value-right-arrow {
|
|
972
|
+
--action-icon-content: var(--ai-may-like-item-icon-content);
|
|
973
|
+
color: var(--ai-may-like-item-icon-color);
|
|
974
|
+
}
|
|
975
|
+
.touchchat-action-item.value-right-arrow:hover {
|
|
976
|
+
background-color: transparent;
|
|
977
|
+
color: var(--ai-may-like-item-icon-color);
|
|
978
|
+
}
|
|
953
979
|
.touchchat-action-item.value-good.is-on {
|
|
954
980
|
--action-icon-content: var(--action-good-on-content);
|
|
955
981
|
color: var(--action-good-on-color);
|