@touchvue/chat 1.0.0-beta.51 → 1.0.0-beta.53
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/README.md +70 -70
- package/es/node_modules/.pnpm/{dompurify@3.4.3 → dompurify@3.3.0}/node_modules/dompurify/dist/purify.es.mjs +143 -299
- package/es/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs.map +1 -0
- package/es/package.json.css +1 -1
- package/es/package.json.mjs +1 -1
- package/es/packages/components/resolver.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/letter.vue.mjs +1 -1
- package/es/packages/components/touchchat/component/AiRobot/letter.vue2.mjs +9 -9
- package/es/packages/components/touchchat/component/AiRobot/letter.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/FileContent.vue2.mjs +3 -3
- package/es/packages/components/touchchat/component/FileContent.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/FileView.vue2.mjs +45 -15
- package/es/packages/components/touchchat/component/FileView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/ImageFile.vue2.mjs +6 -6
- package/es/packages/components/touchchat/component/ImageFile.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/ImageView.vue2.mjs +1 -1
- package/es/packages/components/touchchat/component/ImageView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs +4 -4
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/MarkLayer.vue2.mjs +1 -1
- package/es/packages/components/touchchat/component/MarkLayer.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/ModuleSelect.vue2.mjs +2 -2
- package/es/packages/components/touchchat/component/ModuleSelect.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/PDFFile.vue2.mjs +10 -10
- package/es/packages/components/touchchat/component/PDFFile.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/QuoteContent.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/RealtimeVoice.vue2.mjs +1 -1
- package/es/packages/components/touchchat/component/RealtimeVoice.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/UploadView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/VideoFile.vue.mjs +1 -1
- package/es/packages/components/touchchat/component/VideoFile.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/AgentsView.vue2.mjs +1 -1
- package/es/packages/components/touchchat/src/AiChat/AgentsView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs +30 -30
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/Chat/scriptMatcher.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 +6 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useChat.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/Chat/useCopy.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/Chat/useMessageRender.mjs +1 -1
- package/es/packages/components/touchchat/src/AiChat/Chat/useMessageRender.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/Chat/useSSE.mjs +93 -4
- package/es/packages/components/touchchat/src/AiChat/Chat/useSSE.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs +5 -5
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs +3 -3
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs +11 -11
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue2.mjs +3 -3
- package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs +16 -16
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/index.vue2.mjs +4 -1
- package/es/packages/components/touchchat/src/index.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/utils/a2aService.mjs.map +1 -1
- package/es/packages/components/touchchat/utils/fetchStream.mjs.map +1 -1
- package/es/packages/components/touchchat/utils/markdown.mjs +1 -1
- package/lib/node_modules/.pnpm/{dompurify@3.4.3 → dompurify@3.3.0}/node_modules/dompurify/dist/purify.es.js +143 -299
- package/lib/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.js.map +1 -0
- package/lib/package.json.css +1 -1
- package/lib/package.json.js +1 -1
- package/lib/packages/components/resolver.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue.js +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue2.js +9 -9
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/FileContent.vue2.js +3 -3
- package/lib/packages/components/touchchat/component/FileContent.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/FileView.vue2.js +44 -14
- package/lib/packages/components/touchchat/component/FileView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/ImageFile.vue2.js +6 -6
- package/lib/packages/components/touchchat/component/ImageFile.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/ImageView.vue2.js +1 -1
- package/lib/packages/components/touchchat/component/ImageView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/LinkView.vue2.js +4 -4
- package/lib/packages/components/touchchat/component/LinkView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/MarkLayer.vue2.js +1 -1
- package/lib/packages/components/touchchat/component/MarkLayer.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/ModuleSelect.vue2.js +2 -2
- package/lib/packages/components/touchchat/component/ModuleSelect.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/PDFFile.vue2.js +10 -10
- package/lib/packages/components/touchchat/component/PDFFile.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/QuoteContent.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/RealtimeVoice.vue2.js +1 -1
- package/lib/packages/components/touchchat/component/RealtimeVoice.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/UploadView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/VideoFile.vue.js +1 -1
- package/lib/packages/components/touchchat/component/VideoFile.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue2.js +1 -1
- package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js +30 -30
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/Chat/scriptMatcher.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 +6 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useChat.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/Chat/useCopy.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/Chat/useMessageRender.js +1 -1
- package/lib/packages/components/touchchat/src/AiChat/Chat/useMessageRender.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/Chat/useSSE.js +93 -4
- package/lib/packages/components/touchchat/src/AiChat/Chat/useSSE.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js +5 -5
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js +3 -3
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js +11 -11
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue2.js +3 -3
- package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js +16 -16
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/index.vue2.js +4 -1
- package/lib/packages/components/touchchat/src/index.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/utils/a2aService.js.map +1 -1
- package/lib/packages/components/touchchat/utils/fetchStream.js.map +1 -1
- package/lib/packages/components/touchchat/utils/markdown.js +1 -1
- package/package.json +83 -83
- package/theme/components/index.css +76 -10
- package/theme/font/iconfont.woff +0 -0
- package/theme/font/iconfont.woff2 +0 -0
- package/theme/index.css +76 -10
- package/theme/skin/default.css +76 -10
- package/es/node_modules/.pnpm/dompurify@3.4.3/node_modules/dompurify/dist/purify.es.mjs.map +0 -1
- package/es/packages/components/touchchat/img/file.png.mjs +0 -4
- package/es/packages/components/touchchat/img/file.png.mjs.map +0 -1
- package/lib/node_modules/.pnpm/dompurify@3.4.3/node_modules/dompurify/dist/purify.es.js.map +0 -1
- package/lib/packages/components/touchchat/img/file.png.js +0 -8
- package/lib/packages/components/touchchat/img/file.png.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@touchvue/chat",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
4
|
-
"description": "TouchVue Chat Component Library",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"module": "es/index.mjs",
|
|
7
|
-
"types": "types/index.d.ts",
|
|
8
|
-
"style": "theme/index.css",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./es/index.d.ts",
|
|
12
|
-
"import": "./es/index.mjs",
|
|
13
|
-
"require": "./lib/index.js"
|
|
14
|
-
},
|
|
15
|
-
"./global": {
|
|
16
|
-
"types": "./global.d.ts"
|
|
17
|
-
},
|
|
18
|
-
"./es": {
|
|
19
|
-
"types": "./es/index.d.ts",
|
|
20
|
-
"import": "./es/index.mjs"
|
|
21
|
-
},
|
|
22
|
-
"./lib": {
|
|
23
|
-
"types": "./lib/index.d.ts",
|
|
24
|
-
"require": "./lib/index.js"
|
|
25
|
-
},
|
|
26
|
-
"./es/*.mjs": {
|
|
27
|
-
"types": "./es/*.d.ts",
|
|
28
|
-
"import": "./es/*.mjs"
|
|
29
|
-
},
|
|
30
|
-
"./es/*": {
|
|
31
|
-
"types": [
|
|
32
|
-
"./es/*.d.ts",
|
|
33
|
-
"./es/*/index.d.ts"
|
|
34
|
-
],
|
|
35
|
-
"import": "./es/*.mjs"
|
|
36
|
-
},
|
|
37
|
-
"./lib/*.js": {
|
|
38
|
-
"types": "./lib/*.d.ts",
|
|
39
|
-
"require": "./lib/*.js"
|
|
40
|
-
},
|
|
41
|
-
"./lib/*": {
|
|
42
|
-
"types": [
|
|
43
|
-
"./lib/*.d.ts",
|
|
44
|
-
"./lib/*/index.d.ts"
|
|
45
|
-
],
|
|
46
|
-
"require": "./lib/*.js"
|
|
47
|
-
},
|
|
48
|
-
"./resolver": {
|
|
49
|
-
"types": "./es/resolver/index.d.ts",
|
|
50
|
-
"import": "./es/resolver/index.mjs",
|
|
51
|
-
"require": "./lib/resolver/index.js"
|
|
52
|
-
},
|
|
53
|
-
"./*": "./*"
|
|
54
|
-
},
|
|
55
|
-
"files": [
|
|
56
|
-
"lib",
|
|
57
|
-
"es",
|
|
58
|
-
"theme",
|
|
59
|
-
"types",
|
|
60
|
-
"global.d.ts",
|
|
61
|
-
"README.md"
|
|
62
|
-
],
|
|
63
|
-
"sideEffects": [
|
|
64
|
-
"*.css",
|
|
65
|
-
"*.less",
|
|
66
|
-
"theme/**/*"
|
|
67
|
-
],
|
|
68
|
-
"keywords": [
|
|
69
|
-
"vue",
|
|
70
|
-
"vue3",
|
|
71
|
-
"component",
|
|
72
|
-
"ui",
|
|
73
|
-
"library"
|
|
74
|
-
],
|
|
75
|
-
"author": "",
|
|
76
|
-
"license": "ISC",
|
|
77
|
-
"peerDependencies": {
|
|
78
|
-
"vue": "^3.3.0"
|
|
79
|
-
},
|
|
80
|
-
"publishConfig": {
|
|
81
|
-
"access": "public"
|
|
82
|
-
}
|
|
83
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@touchvue/chat",
|
|
3
|
+
"version": "1.0.0-beta.53",
|
|
4
|
+
"description": "TouchVue Chat Component Library",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "es/index.mjs",
|
|
7
|
+
"types": "types/index.d.ts",
|
|
8
|
+
"style": "theme/index.css",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./es/index.d.ts",
|
|
12
|
+
"import": "./es/index.mjs",
|
|
13
|
+
"require": "./lib/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./global": {
|
|
16
|
+
"types": "./global.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./es": {
|
|
19
|
+
"types": "./es/index.d.ts",
|
|
20
|
+
"import": "./es/index.mjs"
|
|
21
|
+
},
|
|
22
|
+
"./lib": {
|
|
23
|
+
"types": "./lib/index.d.ts",
|
|
24
|
+
"require": "./lib/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./es/*.mjs": {
|
|
27
|
+
"types": "./es/*.d.ts",
|
|
28
|
+
"import": "./es/*.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./es/*": {
|
|
31
|
+
"types": [
|
|
32
|
+
"./es/*.d.ts",
|
|
33
|
+
"./es/*/index.d.ts"
|
|
34
|
+
],
|
|
35
|
+
"import": "./es/*.mjs"
|
|
36
|
+
},
|
|
37
|
+
"./lib/*.js": {
|
|
38
|
+
"types": "./lib/*.d.ts",
|
|
39
|
+
"require": "./lib/*.js"
|
|
40
|
+
},
|
|
41
|
+
"./lib/*": {
|
|
42
|
+
"types": [
|
|
43
|
+
"./lib/*.d.ts",
|
|
44
|
+
"./lib/*/index.d.ts"
|
|
45
|
+
],
|
|
46
|
+
"require": "./lib/*.js"
|
|
47
|
+
},
|
|
48
|
+
"./resolver": {
|
|
49
|
+
"types": "./es/resolver/index.d.ts",
|
|
50
|
+
"import": "./es/resolver/index.mjs",
|
|
51
|
+
"require": "./lib/resolver/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./*": "./*"
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"lib",
|
|
57
|
+
"es",
|
|
58
|
+
"theme",
|
|
59
|
+
"types",
|
|
60
|
+
"global.d.ts",
|
|
61
|
+
"README.md"
|
|
62
|
+
],
|
|
63
|
+
"sideEffects": [
|
|
64
|
+
"*.css",
|
|
65
|
+
"*.less",
|
|
66
|
+
"theme/**/*"
|
|
67
|
+
],
|
|
68
|
+
"keywords": [
|
|
69
|
+
"vue",
|
|
70
|
+
"vue3",
|
|
71
|
+
"component",
|
|
72
|
+
"ui",
|
|
73
|
+
"library"
|
|
74
|
+
],
|
|
75
|
+
"author": "",
|
|
76
|
+
"license": "ISC",
|
|
77
|
+
"peerDependencies": {
|
|
78
|
+
"vue": "^3.3.0"
|
|
79
|
+
},
|
|
80
|
+
"publishConfig": {
|
|
81
|
+
"access": "public"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -1981,7 +1981,7 @@ table.touchchat-table tr:hover {
|
|
|
1981
1981
|
top: 0;
|
|
1982
1982
|
right: 0;
|
|
1983
1983
|
}
|
|
1984
|
-
.file
|
|
1984
|
+
.touchchat-file {
|
|
1985
1985
|
margin: 0.5em 0;
|
|
1986
1986
|
display: flex;
|
|
1987
1987
|
width: 15em;
|
|
@@ -1994,37 +1994,103 @@ table.touchchat-table tr:hover {
|
|
|
1994
1994
|
cursor: pointer;
|
|
1995
1995
|
transition: all 0.2s ease;
|
|
1996
1996
|
}
|
|
1997
|
-
.file
|
|
1997
|
+
.touchchat-file:hover {
|
|
1998
1998
|
border-color: #0077ff;
|
|
1999
1999
|
background-color: #f0f7ff;
|
|
2000
2000
|
}
|
|
2001
|
-
.file-icon {
|
|
2002
|
-
width:
|
|
2003
|
-
height:
|
|
2001
|
+
.touchchat-file-icon {
|
|
2002
|
+
width: 2.5em;
|
|
2003
|
+
height: 2.5em;
|
|
2004
2004
|
flex-shrink: 0;
|
|
2005
|
+
background-size: 100% 100%;
|
|
2006
|
+
}
|
|
2007
|
+
.touchchat-file-icon.type-doc {
|
|
2008
|
+
background-image: url(./aiChat/img/file/doc.png);
|
|
2009
|
+
}
|
|
2010
|
+
.touchchat-file-icon.type-jpg {
|
|
2011
|
+
background-image: url(./aiChat/img/file/jpg.png);
|
|
2012
|
+
}
|
|
2013
|
+
.touchchat-file-icon.type-pdf {
|
|
2014
|
+
background-image: url(./aiChat/img/file/pdf.png);
|
|
2015
|
+
}
|
|
2016
|
+
.touchchat-file-icon.type-txt {
|
|
2017
|
+
background-image: url(./aiChat/img/file/txt.png);
|
|
2018
|
+
}
|
|
2019
|
+
.touchchat-file-icon.type-docx {
|
|
2020
|
+
background-image: url(./aiChat/img/file/docx.png);
|
|
2021
|
+
}
|
|
2022
|
+
.touchchat-file-icon.type-mp3 {
|
|
2023
|
+
background-image: url(./aiChat/img/file/mp3.png);
|
|
2024
|
+
}
|
|
2025
|
+
.touchchat-file-icon.type-png {
|
|
2026
|
+
background-image: url(./aiChat/img/file/png.png);
|
|
2027
|
+
}
|
|
2028
|
+
.touchchat-file-icon.type-gif {
|
|
2029
|
+
background-image: url(./aiChat/img/file/gif.png);
|
|
2030
|
+
}
|
|
2031
|
+
.touchchat-file-icon.type-mp4 {
|
|
2032
|
+
background-image: url(./aiChat/img/file/mp4.png);
|
|
2033
|
+
}
|
|
2034
|
+
.touchchat-file-icon.type-ppt {
|
|
2035
|
+
background-image: url(./aiChat/img/file/ppt.png);
|
|
2036
|
+
}
|
|
2037
|
+
.touchchat-file-icon.type-xls {
|
|
2038
|
+
background-image: url(./aiChat/img/file/xls.png);
|
|
2005
2039
|
}
|
|
2006
|
-
.file-
|
|
2040
|
+
.touchchat-file-icon.type-html {
|
|
2041
|
+
background-image: url(./aiChat/img/file/html.png);
|
|
2042
|
+
}
|
|
2043
|
+
.touchchat-file-icon.type-pptx {
|
|
2044
|
+
background-image: url(./aiChat/img/file/pptx.png);
|
|
2045
|
+
}
|
|
2046
|
+
.touchchat-file-icon.type-xlsx {
|
|
2047
|
+
background-image: url(./aiChat/img/file/xlsx.png);
|
|
2048
|
+
}
|
|
2049
|
+
.touchchat-file-icon.type-unknown {
|
|
2050
|
+
background-image: url(./aiChat/img/file/unknown.png);
|
|
2051
|
+
}
|
|
2052
|
+
.touchchat-file-info {
|
|
2007
2053
|
flex: 1;
|
|
2008
2054
|
min-width: 0;
|
|
2009
2055
|
}
|
|
2010
|
-
.file-name {
|
|
2056
|
+
.touchchat-file-name {
|
|
2011
2057
|
font-size: 0.875em;
|
|
2012
2058
|
color: #1d2129;
|
|
2013
2059
|
white-space: nowrap;
|
|
2014
2060
|
overflow: hidden;
|
|
2015
2061
|
text-overflow: ellipsis;
|
|
2016
2062
|
}
|
|
2017
|
-
.file-size {
|
|
2063
|
+
.touchchat-file-size {
|
|
2018
2064
|
font-size: 0.75em;
|
|
2019
2065
|
color: #86909c;
|
|
2020
2066
|
}
|
|
2021
|
-
.file-action {
|
|
2067
|
+
.touchchat-file-action {
|
|
2022
2068
|
color: #4e5969;
|
|
2023
2069
|
transition: color 0.2s ease;
|
|
2024
2070
|
}
|
|
2025
|
-
.file-view:hover .file-action {
|
|
2071
|
+
.touchchat-file-view:hover .touchchat-file-action {
|
|
2026
2072
|
color: #0077ff;
|
|
2027
2073
|
}
|
|
2074
|
+
.touchchat-file-download-icon {
|
|
2075
|
+
width: 2em;
|
|
2076
|
+
height: 2em;
|
|
2077
|
+
align-items: center;
|
|
2078
|
+
border-radius: 50%;
|
|
2079
|
+
display: inline-flex;
|
|
2080
|
+
justify-content: center;
|
|
2081
|
+
color: #000;
|
|
2082
|
+
font-family: 'touchchat-icon';
|
|
2083
|
+
}
|
|
2084
|
+
.touchchat-file-download-icon:before {
|
|
2085
|
+
content: '\e66c';
|
|
2086
|
+
font-size: 0.8em;
|
|
2087
|
+
}
|
|
2088
|
+
.touchchat-file-download-icon:hover {
|
|
2089
|
+
background: rgba(0, 0, 0, 0.1);
|
|
2090
|
+
}
|
|
2091
|
+
.touchchat-file-download-icon:active {
|
|
2092
|
+
background: rgba(0, 0, 0, 0.3);
|
|
2093
|
+
}
|
|
2028
2094
|
.hello-chat {
|
|
2029
2095
|
display: flex;
|
|
2030
2096
|
flex-direction: column;
|
package/theme/font/iconfont.woff
CHANGED
|
Binary file
|
|
Binary file
|
package/theme/index.css
CHANGED
|
@@ -1984,7 +1984,7 @@ table.touchchat-table tr:hover {
|
|
|
1984
1984
|
top: 0;
|
|
1985
1985
|
right: 0;
|
|
1986
1986
|
}
|
|
1987
|
-
.file
|
|
1987
|
+
.touchchat-file {
|
|
1988
1988
|
margin: 0.5em 0;
|
|
1989
1989
|
display: flex;
|
|
1990
1990
|
width: 15em;
|
|
@@ -1997,37 +1997,103 @@ table.touchchat-table tr:hover {
|
|
|
1997
1997
|
cursor: pointer;
|
|
1998
1998
|
transition: all 0.2s ease;
|
|
1999
1999
|
}
|
|
2000
|
-
.file
|
|
2000
|
+
.touchchat-file:hover {
|
|
2001
2001
|
border-color: #0077ff;
|
|
2002
2002
|
background-color: #f0f7ff;
|
|
2003
2003
|
}
|
|
2004
|
-
.file-icon {
|
|
2005
|
-
width:
|
|
2006
|
-
height:
|
|
2004
|
+
.touchchat-file-icon {
|
|
2005
|
+
width: 2.5em;
|
|
2006
|
+
height: 2.5em;
|
|
2007
2007
|
flex-shrink: 0;
|
|
2008
|
+
background-size: 100% 100%;
|
|
2009
|
+
}
|
|
2010
|
+
.touchchat-file-icon.type-doc {
|
|
2011
|
+
background-image: url(./components/aiChat/img/file/doc.png);
|
|
2012
|
+
}
|
|
2013
|
+
.touchchat-file-icon.type-jpg {
|
|
2014
|
+
background-image: url(./components/aiChat/img/file/jpg.png);
|
|
2015
|
+
}
|
|
2016
|
+
.touchchat-file-icon.type-pdf {
|
|
2017
|
+
background-image: url(./components/aiChat/img/file/pdf.png);
|
|
2018
|
+
}
|
|
2019
|
+
.touchchat-file-icon.type-txt {
|
|
2020
|
+
background-image: url(./components/aiChat/img/file/txt.png);
|
|
2021
|
+
}
|
|
2022
|
+
.touchchat-file-icon.type-docx {
|
|
2023
|
+
background-image: url(./components/aiChat/img/file/docx.png);
|
|
2024
|
+
}
|
|
2025
|
+
.touchchat-file-icon.type-mp3 {
|
|
2026
|
+
background-image: url(./components/aiChat/img/file/mp3.png);
|
|
2027
|
+
}
|
|
2028
|
+
.touchchat-file-icon.type-png {
|
|
2029
|
+
background-image: url(./components/aiChat/img/file/png.png);
|
|
2030
|
+
}
|
|
2031
|
+
.touchchat-file-icon.type-gif {
|
|
2032
|
+
background-image: url(./components/aiChat/img/file/gif.png);
|
|
2033
|
+
}
|
|
2034
|
+
.touchchat-file-icon.type-mp4 {
|
|
2035
|
+
background-image: url(./components/aiChat/img/file/mp4.png);
|
|
2036
|
+
}
|
|
2037
|
+
.touchchat-file-icon.type-ppt {
|
|
2038
|
+
background-image: url(./components/aiChat/img/file/ppt.png);
|
|
2039
|
+
}
|
|
2040
|
+
.touchchat-file-icon.type-xls {
|
|
2041
|
+
background-image: url(./components/aiChat/img/file/xls.png);
|
|
2008
2042
|
}
|
|
2009
|
-
.file-
|
|
2043
|
+
.touchchat-file-icon.type-html {
|
|
2044
|
+
background-image: url(./components/aiChat/img/file/html.png);
|
|
2045
|
+
}
|
|
2046
|
+
.touchchat-file-icon.type-pptx {
|
|
2047
|
+
background-image: url(./components/aiChat/img/file/pptx.png);
|
|
2048
|
+
}
|
|
2049
|
+
.touchchat-file-icon.type-xlsx {
|
|
2050
|
+
background-image: url(./components/aiChat/img/file/xlsx.png);
|
|
2051
|
+
}
|
|
2052
|
+
.touchchat-file-icon.type-unknown {
|
|
2053
|
+
background-image: url(./components/aiChat/img/file/unknown.png);
|
|
2054
|
+
}
|
|
2055
|
+
.touchchat-file-info {
|
|
2010
2056
|
flex: 1;
|
|
2011
2057
|
min-width: 0;
|
|
2012
2058
|
}
|
|
2013
|
-
.file-name {
|
|
2059
|
+
.touchchat-file-name {
|
|
2014
2060
|
font-size: 0.875em;
|
|
2015
2061
|
color: #1d2129;
|
|
2016
2062
|
white-space: nowrap;
|
|
2017
2063
|
overflow: hidden;
|
|
2018
2064
|
text-overflow: ellipsis;
|
|
2019
2065
|
}
|
|
2020
|
-
.file-size {
|
|
2066
|
+
.touchchat-file-size {
|
|
2021
2067
|
font-size: 0.75em;
|
|
2022
2068
|
color: #86909c;
|
|
2023
2069
|
}
|
|
2024
|
-
.file-action {
|
|
2070
|
+
.touchchat-file-action {
|
|
2025
2071
|
color: #4e5969;
|
|
2026
2072
|
transition: color 0.2s ease;
|
|
2027
2073
|
}
|
|
2028
|
-
.file-view:hover .file-action {
|
|
2074
|
+
.touchchat-file-view:hover .touchchat-file-action {
|
|
2029
2075
|
color: #0077ff;
|
|
2030
2076
|
}
|
|
2077
|
+
.touchchat-file-download-icon {
|
|
2078
|
+
width: 2em;
|
|
2079
|
+
height: 2em;
|
|
2080
|
+
align-items: center;
|
|
2081
|
+
border-radius: 50%;
|
|
2082
|
+
display: inline-flex;
|
|
2083
|
+
justify-content: center;
|
|
2084
|
+
color: #000;
|
|
2085
|
+
font-family: 'touchchat-icon';
|
|
2086
|
+
}
|
|
2087
|
+
.touchchat-file-download-icon:before {
|
|
2088
|
+
content: '\e66c';
|
|
2089
|
+
font-size: 0.8em;
|
|
2090
|
+
}
|
|
2091
|
+
.touchchat-file-download-icon:hover {
|
|
2092
|
+
background: rgba(0, 0, 0, 0.1);
|
|
2093
|
+
}
|
|
2094
|
+
.touchchat-file-download-icon:active {
|
|
2095
|
+
background: rgba(0, 0, 0, 0.3);
|
|
2096
|
+
}
|
|
2031
2097
|
.hello-chat {
|
|
2032
2098
|
display: flex;
|
|
2033
2099
|
flex-direction: column;
|
package/theme/skin/default.css
CHANGED
|
@@ -1984,7 +1984,7 @@ table.touchchat-table tr:hover {
|
|
|
1984
1984
|
top: 0;
|
|
1985
1985
|
right: 0;
|
|
1986
1986
|
}
|
|
1987
|
-
.file
|
|
1987
|
+
.touchchat-file {
|
|
1988
1988
|
margin: 0.5em 0;
|
|
1989
1989
|
display: flex;
|
|
1990
1990
|
width: 15em;
|
|
@@ -1997,37 +1997,103 @@ table.touchchat-table tr:hover {
|
|
|
1997
1997
|
cursor: pointer;
|
|
1998
1998
|
transition: all 0.2s ease;
|
|
1999
1999
|
}
|
|
2000
|
-
.file
|
|
2000
|
+
.touchchat-file:hover {
|
|
2001
2001
|
border-color: #0077ff;
|
|
2002
2002
|
background-color: #f0f7ff;
|
|
2003
2003
|
}
|
|
2004
|
-
.file-icon {
|
|
2005
|
-
width:
|
|
2006
|
-
height:
|
|
2004
|
+
.touchchat-file-icon {
|
|
2005
|
+
width: 2.5em;
|
|
2006
|
+
height: 2.5em;
|
|
2007
2007
|
flex-shrink: 0;
|
|
2008
|
+
background-size: 100% 100%;
|
|
2009
|
+
}
|
|
2010
|
+
.touchchat-file-icon.type-doc {
|
|
2011
|
+
background-image: url(../components/aiChat/img/file/doc.png);
|
|
2012
|
+
}
|
|
2013
|
+
.touchchat-file-icon.type-jpg {
|
|
2014
|
+
background-image: url(../components/aiChat/img/file/jpg.png);
|
|
2015
|
+
}
|
|
2016
|
+
.touchchat-file-icon.type-pdf {
|
|
2017
|
+
background-image: url(../components/aiChat/img/file/pdf.png);
|
|
2018
|
+
}
|
|
2019
|
+
.touchchat-file-icon.type-txt {
|
|
2020
|
+
background-image: url(../components/aiChat/img/file/txt.png);
|
|
2021
|
+
}
|
|
2022
|
+
.touchchat-file-icon.type-docx {
|
|
2023
|
+
background-image: url(../components/aiChat/img/file/docx.png);
|
|
2024
|
+
}
|
|
2025
|
+
.touchchat-file-icon.type-mp3 {
|
|
2026
|
+
background-image: url(../components/aiChat/img/file/mp3.png);
|
|
2027
|
+
}
|
|
2028
|
+
.touchchat-file-icon.type-png {
|
|
2029
|
+
background-image: url(../components/aiChat/img/file/png.png);
|
|
2030
|
+
}
|
|
2031
|
+
.touchchat-file-icon.type-gif {
|
|
2032
|
+
background-image: url(../components/aiChat/img/file/gif.png);
|
|
2033
|
+
}
|
|
2034
|
+
.touchchat-file-icon.type-mp4 {
|
|
2035
|
+
background-image: url(../components/aiChat/img/file/mp4.png);
|
|
2036
|
+
}
|
|
2037
|
+
.touchchat-file-icon.type-ppt {
|
|
2038
|
+
background-image: url(../components/aiChat/img/file/ppt.png);
|
|
2039
|
+
}
|
|
2040
|
+
.touchchat-file-icon.type-xls {
|
|
2041
|
+
background-image: url(../components/aiChat/img/file/xls.png);
|
|
2008
2042
|
}
|
|
2009
|
-
.file-
|
|
2043
|
+
.touchchat-file-icon.type-html {
|
|
2044
|
+
background-image: url(../components/aiChat/img/file/html.png);
|
|
2045
|
+
}
|
|
2046
|
+
.touchchat-file-icon.type-pptx {
|
|
2047
|
+
background-image: url(../components/aiChat/img/file/pptx.png);
|
|
2048
|
+
}
|
|
2049
|
+
.touchchat-file-icon.type-xlsx {
|
|
2050
|
+
background-image: url(../components/aiChat/img/file/xlsx.png);
|
|
2051
|
+
}
|
|
2052
|
+
.touchchat-file-icon.type-unknown {
|
|
2053
|
+
background-image: url(../components/aiChat/img/file/unknown.png);
|
|
2054
|
+
}
|
|
2055
|
+
.touchchat-file-info {
|
|
2010
2056
|
flex: 1;
|
|
2011
2057
|
min-width: 0;
|
|
2012
2058
|
}
|
|
2013
|
-
.file-name {
|
|
2059
|
+
.touchchat-file-name {
|
|
2014
2060
|
font-size: 0.875em;
|
|
2015
2061
|
color: #1d2129;
|
|
2016
2062
|
white-space: nowrap;
|
|
2017
2063
|
overflow: hidden;
|
|
2018
2064
|
text-overflow: ellipsis;
|
|
2019
2065
|
}
|
|
2020
|
-
.file-size {
|
|
2066
|
+
.touchchat-file-size {
|
|
2021
2067
|
font-size: 0.75em;
|
|
2022
2068
|
color: #86909c;
|
|
2023
2069
|
}
|
|
2024
|
-
.file-action {
|
|
2070
|
+
.touchchat-file-action {
|
|
2025
2071
|
color: #4e5969;
|
|
2026
2072
|
transition: color 0.2s ease;
|
|
2027
2073
|
}
|
|
2028
|
-
.file-view:hover .file-action {
|
|
2074
|
+
.touchchat-file-view:hover .touchchat-file-action {
|
|
2029
2075
|
color: #0077ff;
|
|
2030
2076
|
}
|
|
2077
|
+
.touchchat-file-download-icon {
|
|
2078
|
+
width: 2em;
|
|
2079
|
+
height: 2em;
|
|
2080
|
+
align-items: center;
|
|
2081
|
+
border-radius: 50%;
|
|
2082
|
+
display: inline-flex;
|
|
2083
|
+
justify-content: center;
|
|
2084
|
+
color: #000;
|
|
2085
|
+
font-family: 'touchchat-icon';
|
|
2086
|
+
}
|
|
2087
|
+
.touchchat-file-download-icon:before {
|
|
2088
|
+
content: '\e66c';
|
|
2089
|
+
font-size: 0.8em;
|
|
2090
|
+
}
|
|
2091
|
+
.touchchat-file-download-icon:hover {
|
|
2092
|
+
background: rgba(0, 0, 0, 0.1);
|
|
2093
|
+
}
|
|
2094
|
+
.touchchat-file-download-icon:active {
|
|
2095
|
+
background: rgba(0, 0, 0, 0.3);
|
|
2096
|
+
}
|
|
2031
2097
|
.hello-chat {
|
|
2032
2098
|
display: flex;
|
|
2033
2099
|
flex-direction: column;
|