@touchvue/chat 1.0.0-beta.5 → 1.0.0-beta.50
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 +25 -25
- package/es/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
- package/es/index.mjs.map +1 -1
- package/es/node_modules/.pnpm/@touchvue_a2ui@1.0.0-beta.46/node_modules/@touchvue/a2ui/dist/index.mjs +4816 -0
- package/es/node_modules/.pnpm/@touchvue_a2ui@1.0.0-beta.46/node_modules/@touchvue/a2ui/dist/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs +1380 -0
- package/es/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs.map +1 -0
- package/es/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.mjs +7824 -0
- package/es/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.mjs.map +1 -0
- package/es/package.json.css +1 -1
- package/es/package.json.mjs +2 -2
- package/es/packages/components/index.mjs +1 -1
- package/es/packages/components/resolver.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue2.mjs +219 -159
- package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/face.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/AiRobot/face.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/face.vue2.mjs +27 -13
- package/es/packages/components/touchchat/component/AiRobot/face.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/letter.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/AiRobot/letter.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/letter.vue2.mjs +182 -41
- package/es/packages/components/touchchat/component/AiRobot/letter.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.mjs +15 -10
- package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/start.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/AiRobot/start.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/start.vue2.mjs +18 -11
- package/es/packages/components/touchchat/component/AiRobot/start.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/CardView.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/CardView.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/CardView.vue2.mjs +66 -42
- package/es/packages/components/touchchat/component/CardView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/FileContent.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/FileContent.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/FileContent.vue2.mjs +206 -0
- package/es/packages/components/touchchat/component/FileContent.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/FileView.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/FileView.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/FileView.vue2.mjs +17 -4
- package/es/packages/components/touchchat/component/FileView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/HelloChat.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/HelloChat.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs +26 -14
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/ImageFile.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/ImageFile.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ImageFile.vue2.mjs +162 -0
- package/es/packages/components/touchchat/component/ImageFile.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ImageView.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/ImageView.vue.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.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/LinkView.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs +19 -5
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/MarkLayer.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/MarkLayer.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/MarkLayer.vue2.mjs +56 -0
- package/es/packages/components/touchchat/component/MarkLayer.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ModuleSelect.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/ModuleSelect.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ModuleSelect.vue2.mjs +121 -0
- package/es/packages/components/touchchat/component/ModuleSelect.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/PDFFile.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/PDFFile.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/PDFFile.vue2.mjs +211 -0
- package/es/packages/components/touchchat/component/PDFFile.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/QuoteContent.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/QuoteContent.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/QuoteContent.vue2.mjs +40 -0
- package/es/packages/components/touchchat/component/QuoteContent.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/RealtimeVoice.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/RealtimeVoice.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/RealtimeVoice.vue2.mjs +160 -0
- package/es/packages/components/touchchat/component/RealtimeVoice.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/Screenshot.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/Screenshot.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/Screenshot.vue2.mjs +208 -0
- package/es/packages/components/touchchat/component/Screenshot.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ThoughtChain.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/ThoughtChain.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ThoughtChain.vue2.mjs +69 -0
- package/es/packages/components/touchchat/component/ThoughtChain.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/UploadView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/UploadView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/UploadView.vue2.mjs +186 -0
- package/es/packages/components/touchchat/component/UploadView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/UploadView_api.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/UploadView_api.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/UploadView_api.vue2.mjs +166 -0
- package/es/packages/components/touchchat/component/UploadView_api.vue2.mjs.map +1 -0
- 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/component/VoiceView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/VoiceView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/VoiceView.vue2.mjs +165 -0
- package/es/packages/components/touchchat/component/VoiceView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/doc.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/doc.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/docx.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/docx.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/gif.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/gif.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/html.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/html.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/jpg.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/jpg.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/mp3.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/mp3.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/mp4.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/mp4.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/music.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/music.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/pdf.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/pdf.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/png.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/png.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/ppt.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/ppt.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/pptx.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/pptx.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/txt.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/txt.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/xls.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/xls.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/xlsx.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/xlsx.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/svg/reset.svg.mjs +4 -0
- package/es/packages/components/touchchat/img/svg/reset.svg.mjs.map +1 -0
- package/es/packages/components/touchchat/index.mjs +5 -5
- package/es/packages/components/touchchat/index.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/AgentsView.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/AgentsView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AgentsView.vue2.mjs +59 -0
- package/es/packages/components/touchchat/src/AiChat/AgentsView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs +322 -139
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/Chat/TouchChat.mjs +18 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/TouchChat.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/scriptMatcher.mjs +145 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/scriptMatcher.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/types.mjs +19 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/types.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useChat.mjs +693 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useChat.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useCopy.mjs +55 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useCopy.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useMessageRender.mjs +155 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useMessageRender.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useSSE.mjs +345 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useSSE.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useScroll.mjs +74 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/useScroll.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs +472 -44
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs +180 -98
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs +29 -12
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs +175 -62
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue2.mjs +14 -8
- package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs +1034 -0
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs +276 -1004
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs +346 -122
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs +143 -64
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/index.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/index.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/index.vue2.mjs +252 -143
- package/es/packages/components/touchchat/src/index.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/types/a2a.mjs +11 -0
- package/es/packages/components/touchchat/src/types/a2a.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/a2aService.mjs +316 -0
- package/es/packages/components/touchchat/utils/a2aService.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/fetchStream.mjs +8 -2
- package/es/packages/components/touchchat/utils/fetchStream.mjs.map +1 -1
- package/es/packages/components/touchchat/utils/markdown.mjs +31 -13
- package/es/packages/components/touchchat/utils/markdown.mjs.map +1 -1
- package/es/packages/utils/config.mjs.map +1 -1
- package/es/packages/utils/types.mjs.map +1 -1
- package/global.d.ts +2 -2
- package/lib/_virtual/_plugin-vue_export-helper.js +14 -0
- package/lib/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/lib/index.js.map +1 -1
- package/lib/node_modules/.pnpm/@touchvue_a2ui@1.0.0-beta.46/node_modules/@touchvue/a2ui/dist/index.js +4819 -0
- package/lib/node_modules/.pnpm/@touchvue_a2ui@1.0.0-beta.46/node_modules/@touchvue/a2ui/dist/index.js.map +1 -0
- package/lib/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.js +1384 -0
- package/lib/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.js.map +1 -0
- package/lib/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.js +7828 -0
- package/lib/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.js.map +1 -0
- package/lib/package.json.css +1 -1
- package/lib/package.json.js +2 -2
- package/lib/packages/components/index.js +2 -2
- package/lib/packages/components/resolver.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue.js +3 -2
- package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue2.js +219 -159
- package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/face.vue.js +3 -2
- package/lib/packages/components/touchchat/component/AiRobot/face.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/face.vue2.js +26 -12
- package/lib/packages/components/touchchat/component/AiRobot/face.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue.js +3 -2
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue2.js +181 -40
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.js +3 -2
- package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.js +15 -10
- package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/start.vue.js +3 -2
- package/lib/packages/components/touchchat/component/AiRobot/start.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/start.vue2.js +17 -10
- package/lib/packages/components/touchchat/component/AiRobot/start.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/CardView.vue.js +3 -2
- package/lib/packages/components/touchchat/component/CardView.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/CardView.vue2.js +66 -42
- package/lib/packages/components/touchchat/component/CardView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/FileContent.vue.js +11 -0
- package/lib/packages/components/touchchat/component/FileContent.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/FileContent.vue2.js +210 -0
- package/lib/packages/components/touchchat/component/FileContent.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/FileView.vue.js +3 -2
- package/lib/packages/components/touchchat/component/FileView.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/FileView.vue2.js +16 -3
- package/lib/packages/components/touchchat/component/FileView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/HelloChat.vue.js +3 -2
- package/lib/packages/components/touchchat/component/HelloChat.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js +26 -14
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/ImageFile.vue.js +11 -0
- package/lib/packages/components/touchchat/component/ImageFile.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/ImageFile.vue2.js +166 -0
- package/lib/packages/components/touchchat/component/ImageFile.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/ImageView.vue.js +3 -2
- package/lib/packages/components/touchchat/component/ImageView.vue.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.vue.js +3 -2
- package/lib/packages/components/touchchat/component/LinkView.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/LinkView.vue2.js +18 -4
- package/lib/packages/components/touchchat/component/LinkView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/MarkLayer.vue.js +11 -0
- package/lib/packages/components/touchchat/component/MarkLayer.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/MarkLayer.vue2.js +60 -0
- package/lib/packages/components/touchchat/component/MarkLayer.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/ModuleSelect.vue.js +11 -0
- package/lib/packages/components/touchchat/component/ModuleSelect.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/ModuleSelect.vue2.js +125 -0
- package/lib/packages/components/touchchat/component/ModuleSelect.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/PDFFile.vue.js +11 -0
- package/lib/packages/components/touchchat/component/PDFFile.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/PDFFile.vue2.js +215 -0
- package/lib/packages/components/touchchat/component/PDFFile.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/QuoteContent.vue.js +11 -0
- package/lib/packages/components/touchchat/component/QuoteContent.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/QuoteContent.vue2.js +44 -0
- package/lib/packages/components/touchchat/component/QuoteContent.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/RealtimeVoice.vue.js +11 -0
- package/lib/packages/components/touchchat/component/RealtimeVoice.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/RealtimeVoice.vue2.js +164 -0
- package/lib/packages/components/touchchat/component/RealtimeVoice.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/Screenshot.vue.js +11 -0
- package/lib/packages/components/touchchat/component/Screenshot.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/Screenshot.vue2.js +212 -0
- package/lib/packages/components/touchchat/component/Screenshot.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/ThoughtChain.vue.js +11 -0
- package/lib/packages/components/touchchat/component/ThoughtChain.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/ThoughtChain.vue2.js +73 -0
- package/lib/packages/components/touchchat/component/ThoughtChain.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/UploadView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/UploadView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/UploadView.vue2.js +190 -0
- package/lib/packages/components/touchchat/component/UploadView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/UploadView_api.vue.js +11 -0
- package/lib/packages/components/touchchat/component/UploadView_api.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/UploadView_api.vue2.js +170 -0
- package/lib/packages/components/touchchat/component/UploadView_api.vue2.js.map +1 -0
- 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/component/VoiceView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/VoiceView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/VoiceView.vue2.js +169 -0
- package/lib/packages/components/touchchat/component/VoiceView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/doc.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/doc.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/docx.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/docx.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/gif.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/gif.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/html.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/html.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/jpg.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/jpg.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/mp3.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/mp3.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/mp4.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/mp4.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/music.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/music.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/pdf.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/pdf.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/png.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/png.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/ppt.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/ppt.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/pptx.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/pptx.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/txt.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/txt.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/xls.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/xls.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/xlsx.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/xlsx.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/svg/reset.svg.js +8 -0
- package/lib/packages/components/touchchat/img/svg/reset.svg.js.map +1 -0
- package/lib/packages/components/touchchat/index.js +6 -6
- package/lib/packages/components/touchchat/index.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue2.js +63 -0
- package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js +321 -138
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/Chat/TouchChat.js +21 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/TouchChat.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/scriptMatcher.js +147 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/scriptMatcher.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/types.js +22 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/types.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useChat.js +695 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useChat.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useCopy.js +57 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useCopy.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useMessageRender.js +157 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useMessageRender.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useSSE.js +347 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useSSE.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useScroll.js +76 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/useScroll.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js +471 -43
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js +179 -97
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js +28 -11
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js +174 -61
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue2.js +14 -8
- package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js +1038 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js +275 -1003
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js +345 -121
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js +142 -63
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/index.vue.js +3 -2
- package/lib/packages/components/touchchat/src/index.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/index.vue2.js +251 -142
- package/lib/packages/components/touchchat/src/index.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/types/a2a.js +13 -0
- package/lib/packages/components/touchchat/src/types/a2a.js.map +1 -0
- package/lib/packages/components/touchchat/utils/a2aService.js +319 -0
- package/lib/packages/components/touchchat/utils/a2aService.js.map +1 -0
- package/lib/packages/components/touchchat/utils/fetchStream.js +8 -2
- package/lib/packages/components/touchchat/utils/fetchStream.js.map +1 -1
- package/lib/packages/components/touchchat/utils/markdown.js +31 -13
- package/lib/packages/components/touchchat/utils/markdown.js.map +1 -1
- package/lib/packages/utils/config.js.map +1 -1
- package/lib/packages/utils/types.js.map +1 -1
- package/package.json +83 -83
- package/theme/components/index.css +969 -43
- package/theme/font/iconfont.woff +0 -0
- package/theme/font/iconfont.woff2 +0 -0
- package/theme/index.css +969 -43
- package/theme/skin/default.css +969 -43
- package/types/global.d.ts +2 -2
- package/es/packages/components/touchchat/src/AiChat/Scene.vue.mjs +0 -6
- package/es/packages/components/touchchat/src/AiChat/Scene.vue.mjs.map +0 -1
- package/es/packages/components/touchchat/src/AiChat/Scene.vue2.mjs +0 -42
- package/es/packages/components/touchchat/src/AiChat/Scene.vue2.mjs.map +0 -1
- package/lib/packages/components/touchchat/src/AiChat/Scene.vue.js +0 -10
- package/lib/packages/components/touchchat/src/AiChat/Scene.vue.js.map +0 -1
- package/lib/packages/components/touchchat/src/AiChat/Scene.vue2.js +0 -46
- package/lib/packages/components/touchchat/src/AiChat/Scene.vue2.js.map +0 -1
package/theme/index.css
CHANGED
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
border: var(--ai-think-toggle-active-border);
|
|
223
223
|
}
|
|
224
224
|
.touchchat-ai-think-toggle.is-expand:before {
|
|
225
|
-
|
|
225
|
+
transform: rotate(180);
|
|
226
226
|
}
|
|
227
227
|
.touchchat-ai-think-toggle-icon:before {
|
|
228
228
|
font-family: var(--ai-think-toggle-family);
|
|
@@ -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);
|
|
@@ -306,7 +322,8 @@
|
|
|
306
322
|
padding: 0.5em 1em;
|
|
307
323
|
}
|
|
308
324
|
.touchchat {
|
|
309
|
-
--edit-margin:
|
|
325
|
+
--edit-margin: 0;
|
|
326
|
+
--edit-padding: 0.75em;
|
|
310
327
|
--edit-gap: 1em;
|
|
311
328
|
--edit-border: 1px solid #ddd;
|
|
312
329
|
--edit-radius: 0.5em;
|
|
@@ -315,23 +332,21 @@
|
|
|
315
332
|
--edit-input-bg: none;
|
|
316
333
|
--edit-input-lh: 1.5em;
|
|
317
334
|
--edit-input-padding: 1em;
|
|
318
|
-
--edit-submit-padding: 0
|
|
335
|
+
--edit-submit-padding: 0;
|
|
319
336
|
--edit-submit-gap: 0.5em;
|
|
320
|
-
--edit-
|
|
321
|
-
--edit-
|
|
322
|
-
--edit-
|
|
323
|
-
--edit-
|
|
324
|
-
--edit-
|
|
325
|
-
--edit-
|
|
326
|
-
--edit-
|
|
327
|
-
--edit-
|
|
328
|
-
--edit-
|
|
329
|
-
--edit-
|
|
330
|
-
--edit-
|
|
331
|
-
--edit-
|
|
332
|
-
--edit-
|
|
333
|
-
--edit-attach-active-color: var(--edit-attach-color);
|
|
334
|
-
--edit-attach-active-border: var(--edit-attach-border);
|
|
337
|
+
--edit-button-width: 2.5em;
|
|
338
|
+
--edit-button-height: 2.5em;
|
|
339
|
+
--edit-button-bg: #fff;
|
|
340
|
+
--edit-button-border: 1px solid #ddd;
|
|
341
|
+
--edit-button-radius: 0.25em;
|
|
342
|
+
--edit-button-color: inherit;
|
|
343
|
+
--edit-button-size: 1em;
|
|
344
|
+
--edit-button-hover-bg: rgba(0, 0, 0, 0.1);
|
|
345
|
+
--edit-button-hover-color: var(--edit-button-color);
|
|
346
|
+
--edit-button-hover-border: #0062d6;
|
|
347
|
+
--edit-button-active-bg: rgba(0, 0, 0, 0.3);
|
|
348
|
+
--edit-button-active-color: var(--edit-button-color);
|
|
349
|
+
--edit-button-active-border: var(--edit-button-border);
|
|
335
350
|
--edit-think-height: 2.5em;
|
|
336
351
|
--edit-think-padding: 0 1em;
|
|
337
352
|
--edit-think-bg: #fff;
|
|
@@ -342,7 +357,7 @@
|
|
|
342
357
|
--edit-think-size: 1em;
|
|
343
358
|
--edit-think-icon-size: var(--edit-think-size);
|
|
344
359
|
--edit-think-family: 'touchchat-icon';
|
|
345
|
-
--edit-think-content: '\
|
|
360
|
+
--edit-think-content: '\e73e';
|
|
346
361
|
--edit-think-hover-bg: rgba(0, 0, 0, 0.1);
|
|
347
362
|
--edit-think-hover-color: var(--edit-think-color);
|
|
348
363
|
--edit-think-hover-border: var(--edit-think-border);
|
|
@@ -358,6 +373,16 @@
|
|
|
358
373
|
--edit-think-on-active-bg: var(--edit-think-active-bg);
|
|
359
374
|
--edit-think-on-active-color: var(--edit-think-on-color);
|
|
360
375
|
--edit-think-on-active-border: var(--edit-think-on-border);
|
|
376
|
+
--edit-attach-family: 'touchchat-icon';
|
|
377
|
+
--edit-attach-content: '\e73a';
|
|
378
|
+
--edit-delete-family: 'touchchat-icon';
|
|
379
|
+
--edit-delete-content: '\e73d';
|
|
380
|
+
--edit-screenshot-family: 'touchchat-icon';
|
|
381
|
+
--edit-screenshot-content: '\e73c';
|
|
382
|
+
--edit-voice-family: 'touchchat-icon';
|
|
383
|
+
--edit-voice-content: '\e73b';
|
|
384
|
+
--edit-record-family: 'touchchat-icon';
|
|
385
|
+
--edit-record-content: '\ea42';
|
|
361
386
|
--edit-send-width: 2.5em;
|
|
362
387
|
--edit-send-height: 2.5em;
|
|
363
388
|
--edit-send-bg: var(--color-primary);
|
|
@@ -375,38 +400,76 @@
|
|
|
375
400
|
--edit-send-active-border: var(--edit-send-border);
|
|
376
401
|
--edit-stop-width: 2.5em;
|
|
377
402
|
--edit-stop-height: 2.5em;
|
|
378
|
-
--edit-stop-bg:
|
|
403
|
+
--edit-stop-bg: #333333;
|
|
379
404
|
--edit-stop-border: 0 none;
|
|
380
405
|
--edit-stop-radius: 0.25em;
|
|
381
406
|
--edit-stop-color: #fff;
|
|
382
407
|
--edit-stop-size: 1em;
|
|
383
408
|
--edit-stop-family: 'touchchat-icon';
|
|
384
|
-
--edit-stop-content: '\
|
|
385
|
-
--edit-stop-hover-bg: #
|
|
409
|
+
--edit-stop-content: '\e70c';
|
|
410
|
+
--edit-stop-hover-bg: #4d4d4d;
|
|
386
411
|
--edit-stop-hover-color: var(--edit-stop-color);
|
|
387
412
|
--edit-stop-hover-border: var(--edit-stop-border);
|
|
388
|
-
--edit-stop-active-bg: #
|
|
413
|
+
--edit-stop-active-bg: #1a1a1a;
|
|
389
414
|
--edit-stop-active-color: var(--edit-stop-color);
|
|
390
415
|
--edit-stop-active-border: var(--edit-stop-border);
|
|
391
416
|
}
|
|
392
417
|
.touchchat-edit {
|
|
393
418
|
margin: var(--edit-margin);
|
|
419
|
+
padding: var(--edit-padding);
|
|
394
420
|
display: flex;
|
|
395
421
|
flex-direction: column;
|
|
396
422
|
gap: var(--edit-gap);
|
|
397
423
|
border: var(--edit-border);
|
|
398
424
|
border-radius: var(--edit-radius);
|
|
399
|
-
overflow:
|
|
425
|
+
overflow: visible;
|
|
400
426
|
}
|
|
401
427
|
.touchchat-edit:has(textarea:focus) {
|
|
402
428
|
border: var(--edit-focus-border);
|
|
403
429
|
}
|
|
430
|
+
.touchchat-edit-mark {
|
|
431
|
+
position: absolute;
|
|
432
|
+
top: 0;
|
|
433
|
+
left: 0;
|
|
434
|
+
width: 100%;
|
|
435
|
+
height: 100%;
|
|
436
|
+
z-index: 1;
|
|
437
|
+
border-radius: 0.5em;
|
|
438
|
+
background: rgba(255, 255, 255, 0.7);
|
|
439
|
+
backdrop-filter: blur(0.625em);
|
|
440
|
+
display: flex;
|
|
441
|
+
justify-content: center;
|
|
442
|
+
align-items: center;
|
|
443
|
+
}
|
|
444
|
+
.touchchat-edit-mark > div {
|
|
445
|
+
width: 50%;
|
|
446
|
+
height: 100%;
|
|
447
|
+
display: flex;
|
|
448
|
+
flex-direction: column;
|
|
449
|
+
justify-content: center;
|
|
450
|
+
align-items: center;
|
|
451
|
+
}
|
|
452
|
+
.touchchat-edit-mark p {
|
|
453
|
+
font-family: 'PingFang SC';
|
|
454
|
+
font-size: 0.875em;
|
|
455
|
+
font-style: normal;
|
|
456
|
+
line-height: 1.375em;
|
|
457
|
+
text-align: center;
|
|
458
|
+
}
|
|
459
|
+
.touchchat-edit-mark .touchchat-edit-title {
|
|
460
|
+
color: var(--text-icon-text-icon, #1d2129);
|
|
461
|
+
font-weight: 600;
|
|
462
|
+
margin: 0.5em 0;
|
|
463
|
+
}
|
|
464
|
+
.touchchat-edit-mark .touchchat-edit-text {
|
|
465
|
+
color: var(--text-icon-text-icon, #86909c);
|
|
466
|
+
font-weight: 400;
|
|
467
|
+
}
|
|
404
468
|
.touchchat-edit-input {
|
|
405
469
|
border: 0 none;
|
|
406
470
|
background: var(--edit-input-bg);
|
|
407
471
|
}
|
|
408
472
|
.touchchat-edit-input textarea {
|
|
409
|
-
padding: var(--edit-input-padding);
|
|
410
473
|
resize: none;
|
|
411
474
|
vertical-align: top;
|
|
412
475
|
font-family: inherit;
|
|
@@ -430,28 +493,29 @@
|
|
|
430
493
|
display: inline-flex;
|
|
431
494
|
gap: var(--edit-submit-gap);
|
|
432
495
|
}
|
|
433
|
-
.touchchat-edit-
|
|
434
|
-
border: var(--edit-
|
|
435
|
-
width: var(--edit-
|
|
436
|
-
height: var(--edit-
|
|
437
|
-
background: var(--edit-
|
|
496
|
+
.touchchat-edit-button {
|
|
497
|
+
border: var(--edit-button-border);
|
|
498
|
+
width: var(--edit-button-width);
|
|
499
|
+
height: var(--edit-button-height);
|
|
500
|
+
background: var(--edit-button-bg);
|
|
438
501
|
display: inline-flex;
|
|
439
502
|
align-items: center;
|
|
440
503
|
justify-content: center;
|
|
441
|
-
border-radius: var(--edit-
|
|
442
|
-
color: var(--edit-
|
|
504
|
+
border-radius: var(--edit-button-radius);
|
|
505
|
+
color: var(--edit-button-color);
|
|
506
|
+
position: relative;
|
|
443
507
|
}
|
|
444
|
-
.touchchat-edit-
|
|
445
|
-
background: var(--edit-
|
|
446
|
-
color: var(--edit-
|
|
447
|
-
border: var(--edit-
|
|
508
|
+
.touchchat-edit-button:hover {
|
|
509
|
+
background: var(--edit-button-hover-bg);
|
|
510
|
+
color: var(--edit-button-hover-color);
|
|
511
|
+
border: var(--edit-button-hover-border);
|
|
448
512
|
}
|
|
449
|
-
.touchchat-edit-
|
|
450
|
-
background: var(--edit-
|
|
451
|
-
color: var(--edit-
|
|
452
|
-
border: var(--edit-
|
|
513
|
+
.touchchat-edit-button:active {
|
|
514
|
+
background: var(--edit-button-active-bg);
|
|
515
|
+
color: var(--edit-button-active-color);
|
|
516
|
+
border: var(--edit-button-active-border);
|
|
453
517
|
}
|
|
454
|
-
.touchchat-edit-
|
|
518
|
+
.touchchat-edit-button.is-dis {
|
|
455
519
|
opacity: 0.4;
|
|
456
520
|
pointer-events: none;
|
|
457
521
|
}
|
|
@@ -460,6 +524,126 @@
|
|
|
460
524
|
font-family: var(--edit-attach-family);
|
|
461
525
|
content: var(--edit-attach-content);
|
|
462
526
|
}
|
|
527
|
+
.touchchat-edit-tooltip {
|
|
528
|
+
display: none;
|
|
529
|
+
position: absolute;
|
|
530
|
+
bottom: 100%;
|
|
531
|
+
left: 50%;
|
|
532
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
533
|
+
color: white;
|
|
534
|
+
padding: 0.5em 1em;
|
|
535
|
+
border-radius: 0.25em;
|
|
536
|
+
margin-bottom: 0.5em;
|
|
537
|
+
white-space: nowrap;
|
|
538
|
+
line-height: 1.5em;
|
|
539
|
+
transform: translateX(-50%);
|
|
540
|
+
}
|
|
541
|
+
.touchchat-edit-tooltip::before {
|
|
542
|
+
content: '';
|
|
543
|
+
position: absolute;
|
|
544
|
+
left: 50%;
|
|
545
|
+
transform: translateX(-50%);
|
|
546
|
+
top: 100%;
|
|
547
|
+
border-width: 0.375em;
|
|
548
|
+
border-style: solid;
|
|
549
|
+
border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
|
|
550
|
+
}
|
|
551
|
+
.touchchat-edit-tooltip.align-left {
|
|
552
|
+
left: 0;
|
|
553
|
+
transform: translateX(0);
|
|
554
|
+
text-align: left;
|
|
555
|
+
}
|
|
556
|
+
.touchchat-edit-tooltip.align-left::before {
|
|
557
|
+
left: 0.875em;
|
|
558
|
+
transform: translateX(0);
|
|
559
|
+
}
|
|
560
|
+
.touchchat-edit-button:hover .touchchat-edit-tooltip {
|
|
561
|
+
display: block;
|
|
562
|
+
}
|
|
563
|
+
@keyframes lightUp {
|
|
564
|
+
0% {
|
|
565
|
+
stroke-opacity: 0.2;
|
|
566
|
+
}
|
|
567
|
+
20% {
|
|
568
|
+
stroke-opacity: 1;
|
|
569
|
+
}
|
|
570
|
+
100% {
|
|
571
|
+
stroke-opacity: 0.2;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
/* 为每根竖线添加动画,设置不同的延迟时间 */
|
|
575
|
+
.touchchat-voice-bar-1 {
|
|
576
|
+
animation: lightUp 2s infinite;
|
|
577
|
+
}
|
|
578
|
+
.touchchat-voice-bar-2 {
|
|
579
|
+
animation: lightUp 2s infinite;
|
|
580
|
+
animation-delay: 0.4s;
|
|
581
|
+
}
|
|
582
|
+
.touchchat-voice-bar-3 {
|
|
583
|
+
animation: lightUp 2s infinite;
|
|
584
|
+
animation-delay: 0.8s;
|
|
585
|
+
}
|
|
586
|
+
.touchchat-voice-bar-4 {
|
|
587
|
+
animation: lightUp 2s infinite;
|
|
588
|
+
animation-delay: 1.2s;
|
|
589
|
+
}
|
|
590
|
+
.touchchat-voice-bar-5 {
|
|
591
|
+
animation: lightUp 2s infinite;
|
|
592
|
+
animation-delay: 1.6s;
|
|
593
|
+
}
|
|
594
|
+
/* 语音波形起伏动画:每个波形高度随机变化,模拟实时声音波动 */
|
|
595
|
+
@keyframes wavePulse {
|
|
596
|
+
0%,
|
|
597
|
+
100% {
|
|
598
|
+
height: 8px;
|
|
599
|
+
y: -4px;
|
|
600
|
+
}
|
|
601
|
+
25% {
|
|
602
|
+
height: 4px;
|
|
603
|
+
y: -2px;
|
|
604
|
+
}
|
|
605
|
+
50% {
|
|
606
|
+
height: 12px;
|
|
607
|
+
y: -6px;
|
|
608
|
+
}
|
|
609
|
+
75% {
|
|
610
|
+
height: 6px;
|
|
611
|
+
y: -3px;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
/* 按钮呼吸阴影:增强交互感,暗示“可点击”状态 */
|
|
615
|
+
@keyframes shadowBreath {
|
|
616
|
+
0%,
|
|
617
|
+
100% {
|
|
618
|
+
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
|
|
619
|
+
}
|
|
620
|
+
50% {
|
|
621
|
+
filter: drop-shadow(0 3px 4px rgba(64, 158, 255, 0.3));
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
/* 为不同波形添加动画延迟,避免同步起伏,更真实 */
|
|
625
|
+
.touchchat-edit-rlvoice-wave-1 {
|
|
626
|
+
animation: wavePulse 1.2s ease-in-out infinite;
|
|
627
|
+
}
|
|
628
|
+
.touchchat-edit-rlvoice-wave-2 {
|
|
629
|
+
animation: wavePulse 1.5s ease-in-out infinite 0.2s;
|
|
630
|
+
}
|
|
631
|
+
.touchchat-edit-rlvoice-wave-3 {
|
|
632
|
+
animation: wavePulse 1.1s ease-in-out infinite 0.4s;
|
|
633
|
+
}
|
|
634
|
+
.touchchat-edit-rlvoice-wave-4 {
|
|
635
|
+
animation: wavePulse 1.3s ease-in-out infinite 0.1s;
|
|
636
|
+
}
|
|
637
|
+
.touchchat-edit-rlvoice-wave-5 {
|
|
638
|
+
animation: wavePulse 1.4s ease-in-out infinite 0.3s;
|
|
639
|
+
}
|
|
640
|
+
.touchchat-edit-rlvoice-wave-6 {
|
|
641
|
+
animation: wavePulse 1.2s ease-in-out infinite 0.5s;
|
|
642
|
+
}
|
|
643
|
+
/* 麦克风主体添加呼吸阴影 */
|
|
644
|
+
.touchchat-edit-rlvoice-mic-body {
|
|
645
|
+
animation: shadowBreath 2s ease-in-out infinite;
|
|
646
|
+
}
|
|
463
647
|
.touchchat-edit-think {
|
|
464
648
|
border: var(--edit-think-border);
|
|
465
649
|
height: var(--edit-think-height);
|
|
@@ -506,6 +690,29 @@
|
|
|
506
690
|
font-family: var(--edit-think-family);
|
|
507
691
|
content: var(--edit-think-content);
|
|
508
692
|
}
|
|
693
|
+
.touchchat-edit-delete-icon:before {
|
|
694
|
+
font-size: var(--edit-delete-icon-size);
|
|
695
|
+
font-family: var(--edit-delete-family);
|
|
696
|
+
content: var(--edit-delete-content);
|
|
697
|
+
}
|
|
698
|
+
.touchchat-edit-screenshot {
|
|
699
|
+
position: relative;
|
|
700
|
+
}
|
|
701
|
+
.touchchat-edit-screenshot-icon:before {
|
|
702
|
+
font-size: var(--edit-screenshot-icon-size);
|
|
703
|
+
font-family: var(--edit-screenshot-family);
|
|
704
|
+
content: var(--edit-screenshot-content);
|
|
705
|
+
}
|
|
706
|
+
.touchchat-edit-voice-icon:before {
|
|
707
|
+
font-size: var(--edit-voice-icon-size);
|
|
708
|
+
font-family: var(--edit-voice-family);
|
|
709
|
+
content: var(--edit-voice-content);
|
|
710
|
+
}
|
|
711
|
+
.touchchat-edit-record-icon:before {
|
|
712
|
+
font-size: var(--edit-record-icon-size);
|
|
713
|
+
font-family: var(--edit-record-family);
|
|
714
|
+
content: var(--edit-record-content);
|
|
715
|
+
}
|
|
509
716
|
.touchchat-edit-think-text {
|
|
510
717
|
font-size: var(--edit-think-size);
|
|
511
718
|
}
|
|
@@ -521,6 +728,10 @@
|
|
|
521
728
|
justify-content: center;
|
|
522
729
|
border-radius: var(--edit-send-radius);
|
|
523
730
|
}
|
|
731
|
+
.touchchat-edit-send[disabled] {
|
|
732
|
+
opacity: 0.5;
|
|
733
|
+
pointer-events: none;
|
|
734
|
+
}
|
|
524
735
|
.touchchat-edit-send:hover {
|
|
525
736
|
background: var(--edit-send-hover-bg);
|
|
526
737
|
color: var(--edit-send-hover-color);
|
|
@@ -584,6 +795,122 @@
|
|
|
584
795
|
flex-direction: column;
|
|
585
796
|
gap: 1em;
|
|
586
797
|
}
|
|
798
|
+
.touchchat-dialog-content .touchchat-list-box {
|
|
799
|
+
display: flex;
|
|
800
|
+
}
|
|
801
|
+
.touchchat-dialog-content .touchchat-list-box .touchchat-list-check {
|
|
802
|
+
padding: 0 1em;
|
|
803
|
+
}
|
|
804
|
+
.touchchat-dialog-content .touchchat-list-box .touchchat-list-check input[type='checkbox'] {
|
|
805
|
+
appearance: none;
|
|
806
|
+
-webkit-appearance: none;
|
|
807
|
+
width: 16px;
|
|
808
|
+
height: 16px;
|
|
809
|
+
border: 1px solid #ccc;
|
|
810
|
+
border-radius: 3px;
|
|
811
|
+
cursor: pointer;
|
|
812
|
+
position: relative;
|
|
813
|
+
}
|
|
814
|
+
.touchchat-dialog-content .touchchat-list-box .touchchat-list-check input[type='checkbox']:checked {
|
|
815
|
+
background-color: #409eff;
|
|
816
|
+
border-color: #409eff;
|
|
817
|
+
}
|
|
818
|
+
.touchchat-dialog-content .touchchat-list-box .touchchat-list-check input[type='checkbox']:checked::after {
|
|
819
|
+
content: '';
|
|
820
|
+
position: absolute;
|
|
821
|
+
top: 50%;
|
|
822
|
+
left: 50%;
|
|
823
|
+
width: 4px;
|
|
824
|
+
height: 7px;
|
|
825
|
+
border: solid #fff;
|
|
826
|
+
/* 加粗线条 */
|
|
827
|
+
border-width: 0 2.5px 2.5px 0;
|
|
828
|
+
transform: translate(-50%, -65%) rotate(45deg);
|
|
829
|
+
}
|
|
830
|
+
.touchchat-dialog-content .touchchat-list-box .touchchat-list-content {
|
|
831
|
+
flex: 1;
|
|
832
|
+
}
|
|
833
|
+
.touchchat-dialog-content .touchchat-list-box .touchchat-list-content.status-select {
|
|
834
|
+
background-color: #eee;
|
|
835
|
+
}
|
|
836
|
+
.touchchat-dialog-content .touchchat-list-box .touchchat-list-content.select-mode * {
|
|
837
|
+
pointer-events: none;
|
|
838
|
+
}
|
|
839
|
+
.touchchat-dialog-withDraw {
|
|
840
|
+
text-align: center;
|
|
841
|
+
color: #868686;
|
|
842
|
+
}
|
|
843
|
+
table.touchchat-table {
|
|
844
|
+
width: 100%;
|
|
845
|
+
border-collapse: separate;
|
|
846
|
+
margin: 1em 0;
|
|
847
|
+
font-size: 0.9em;
|
|
848
|
+
}
|
|
849
|
+
table.touchchat-table th,
|
|
850
|
+
table.touchchat-table td {
|
|
851
|
+
padding: 0.75em 1em;
|
|
852
|
+
border: 1px solid #ddd;
|
|
853
|
+
text-align: left;
|
|
854
|
+
vertical-align: top;
|
|
855
|
+
}
|
|
856
|
+
table.touchchat-table th {
|
|
857
|
+
background-color: #f5f5f5;
|
|
858
|
+
font-weight: bold;
|
|
859
|
+
}
|
|
860
|
+
table.touchchat-table tr:nth-child(even) {
|
|
861
|
+
background-color: #f9f9f9;
|
|
862
|
+
}
|
|
863
|
+
table.touchchat-table tr:hover {
|
|
864
|
+
background-color: #f1f1f1;
|
|
865
|
+
}
|
|
866
|
+
.delete-dialog-overlay {
|
|
867
|
+
position: fixed;
|
|
868
|
+
top: 0;
|
|
869
|
+
left: 0;
|
|
870
|
+
right: 0;
|
|
871
|
+
bottom: 0;
|
|
872
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
873
|
+
display: flex;
|
|
874
|
+
justify-content: center;
|
|
875
|
+
align-items: center;
|
|
876
|
+
z-index: 1000;
|
|
877
|
+
}
|
|
878
|
+
.delete-dialog {
|
|
879
|
+
background-color: white;
|
|
880
|
+
border-radius: 0.5em;
|
|
881
|
+
padding: 1.25em;
|
|
882
|
+
width: 18.75em;
|
|
883
|
+
}
|
|
884
|
+
.delete-dialog-title {
|
|
885
|
+
font-size: 1.125em;
|
|
886
|
+
font-weight: bold;
|
|
887
|
+
margin-bottom: 0.9375em;
|
|
888
|
+
}
|
|
889
|
+
.delete-dialog-content {
|
|
890
|
+
font-size: 0.875em;
|
|
891
|
+
color: #666;
|
|
892
|
+
margin-bottom: 1.25em;
|
|
893
|
+
}
|
|
894
|
+
.delete-dialog-actions {
|
|
895
|
+
display: flex;
|
|
896
|
+
justify-content: flex-end;
|
|
897
|
+
gap: 0.625em;
|
|
898
|
+
}
|
|
899
|
+
.delete-dialog-cancel {
|
|
900
|
+
padding: 0.5em 1em;
|
|
901
|
+
background-color: #f0f0f0;
|
|
902
|
+
border: none;
|
|
903
|
+
border-radius: 0.25em;
|
|
904
|
+
cursor: pointer;
|
|
905
|
+
}
|
|
906
|
+
.delete-dialog-confirm {
|
|
907
|
+
padding: 0.5em 1em;
|
|
908
|
+
background-color: #ff4d4f;
|
|
909
|
+
color: white;
|
|
910
|
+
border: none;
|
|
911
|
+
border-radius: 0.25em;
|
|
912
|
+
cursor: pointer;
|
|
913
|
+
}
|
|
587
914
|
.touchchat {
|
|
588
915
|
--action-item-width: 1.5em;
|
|
589
916
|
--action-item-height: 1.5em;
|
|
@@ -605,16 +932,25 @@
|
|
|
605
932
|
--action-refresh-content: '\e606';
|
|
606
933
|
--action-good-content: '\e60a';
|
|
607
934
|
--action-bad-content: '\e601';
|
|
935
|
+
--action-quote-content: '\e616';
|
|
936
|
+
--action-share-content: '\e615';
|
|
937
|
+
--action-enter-content: '\e673';
|
|
608
938
|
--action-good-on-content: '\e60e';
|
|
609
939
|
--action-bad-on-content: '\e60d';
|
|
610
940
|
--action-good-on-color: red;
|
|
611
941
|
--action-bad-on-color: red;
|
|
942
|
+
--user-read-on-color: #3bb346;
|
|
612
943
|
--action-tip-padding: 0.5em 1em;
|
|
613
944
|
--action-tip-bg: rgba(0, 0, 0, 0.9);
|
|
614
945
|
--action-tip-color: #fff;
|
|
615
946
|
--action-tip-lh: 1.3em;
|
|
616
947
|
--action-tip-radius: 0.25em;
|
|
617
948
|
--action-tip-arrow-size: 0.4em;
|
|
949
|
+
--user-read-content: '\ea42';
|
|
950
|
+
--user-is-read-content: '\e63c';
|
|
951
|
+
--quote-close-fill-content: '\e724';
|
|
952
|
+
--ai-may-like-item-icon-content: '\e72c';
|
|
953
|
+
--ai-may-like-item-icon-color: #000;
|
|
618
954
|
}
|
|
619
955
|
.touchchat-action-item {
|
|
620
956
|
position: relative;
|
|
@@ -652,6 +988,35 @@
|
|
|
652
988
|
.touchchat-action-item.value-refresh {
|
|
653
989
|
--action-icon-content: var(--action-refresh-content);
|
|
654
990
|
}
|
|
991
|
+
.touchchat-action-item.value-quote {
|
|
992
|
+
--action-icon-content: var(--action-quote-content);
|
|
993
|
+
}
|
|
994
|
+
.touchchat-action-item.value-enter {
|
|
995
|
+
--action-icon-content: var(--action-enter-content);
|
|
996
|
+
}
|
|
997
|
+
.touchchat-action-item.value-share {
|
|
998
|
+
--action-icon-content: var(--action-share-content);
|
|
999
|
+
}
|
|
1000
|
+
.touchchat-action-item.value-read {
|
|
1001
|
+
--action-icon-content: var(--user-read-content);
|
|
1002
|
+
--action-item-height: 1em;
|
|
1003
|
+
}
|
|
1004
|
+
.touchchat-action-item.value-read.is-read {
|
|
1005
|
+
--action-icon-content: var(--user-is-read-content);
|
|
1006
|
+
color: var(--user-read-on-color);
|
|
1007
|
+
--action-item-height: 1em;
|
|
1008
|
+
}
|
|
1009
|
+
.touchchat-action-item.value-close-fill {
|
|
1010
|
+
--action-icon-content: var(--quote-close-fill-content);
|
|
1011
|
+
}
|
|
1012
|
+
.touchchat-action-item.value-right-arrow {
|
|
1013
|
+
--action-icon-content: var(--ai-may-like-item-icon-content);
|
|
1014
|
+
color: var(--ai-may-like-item-icon-color);
|
|
1015
|
+
}
|
|
1016
|
+
.touchchat-action-item.value-right-arrow:hover {
|
|
1017
|
+
background-color: transparent;
|
|
1018
|
+
color: var(--ai-may-like-item-icon-color);
|
|
1019
|
+
}
|
|
655
1020
|
.touchchat-action-item.value-good.is-on {
|
|
656
1021
|
--action-icon-content: var(--action-good-on-content);
|
|
657
1022
|
color: var(--action-good-on-color);
|
|
@@ -712,6 +1077,7 @@
|
|
|
712
1077
|
--tooltip-radius: 0.25em;
|
|
713
1078
|
--tooltip-lh: 1.3em;
|
|
714
1079
|
--tooltip-arrow-size: 0.4em;
|
|
1080
|
+
--main-padding: 1em;
|
|
715
1081
|
--side-width: 18em;
|
|
716
1082
|
--side-bg: #f7f8fa;
|
|
717
1083
|
--side-padding: 1em;
|
|
@@ -886,7 +1252,9 @@
|
|
|
886
1252
|
.touchchat {
|
|
887
1253
|
display: flex;
|
|
888
1254
|
flex-direction: column;
|
|
1255
|
+
width: 100%;
|
|
889
1256
|
height: 100%;
|
|
1257
|
+
position: relative;
|
|
890
1258
|
}
|
|
891
1259
|
.touchchat-header {
|
|
892
1260
|
padding: var(--header-padding);
|
|
@@ -903,6 +1271,8 @@
|
|
|
903
1271
|
flex: 1;
|
|
904
1272
|
display: flex;
|
|
905
1273
|
min-height: 0;
|
|
1274
|
+
width: 100%;
|
|
1275
|
+
height: 100%;
|
|
906
1276
|
}
|
|
907
1277
|
.touchchat-side {
|
|
908
1278
|
box-sizing: border-box;
|
|
@@ -965,7 +1335,6 @@
|
|
|
965
1335
|
font-size: var(--add-icon-size);
|
|
966
1336
|
font-family: var(--add-icon-family);
|
|
967
1337
|
content: var(--add-icon-content);
|
|
968
|
-
vertical-align: top;
|
|
969
1338
|
}
|
|
970
1339
|
.touchchat-add-text {
|
|
971
1340
|
font-size: var(--add-size);
|
|
@@ -1052,7 +1421,12 @@
|
|
|
1052
1421
|
flex: 1;
|
|
1053
1422
|
display: flex;
|
|
1054
1423
|
flex-direction: column;
|
|
1424
|
+
width: calc(100% - var(--side-width));
|
|
1055
1425
|
height: 100%;
|
|
1426
|
+
box-sizing: border-box;
|
|
1427
|
+
position: relative;
|
|
1428
|
+
padding: var(--main-padding);
|
|
1429
|
+
background-color: #ffffff;
|
|
1056
1430
|
}
|
|
1057
1431
|
.touchchat-history {
|
|
1058
1432
|
flex: 1;
|
|
@@ -1170,7 +1544,7 @@
|
|
|
1170
1544
|
content: '';
|
|
1171
1545
|
position: absolute;
|
|
1172
1546
|
top: 100%;
|
|
1173
|
-
left:
|
|
1547
|
+
left: 0.75em;
|
|
1174
1548
|
margin-left: calc(-1 * var(--tooltip-arrow-size));
|
|
1175
1549
|
border-width: var(--tooltip-arrow-size);
|
|
1176
1550
|
border-style: solid;
|
|
@@ -1357,12 +1731,19 @@
|
|
|
1357
1731
|
.touchchat-user-avatar {
|
|
1358
1732
|
order: 2;
|
|
1359
1733
|
}
|
|
1734
|
+
.file-user-avatar {
|
|
1735
|
+
padding-top: 4em;
|
|
1736
|
+
}
|
|
1360
1737
|
.touchchat-user-avatar-pic {
|
|
1361
1738
|
width: var(--user-avatar-pic-width);
|
|
1362
1739
|
height: var(--user-avatar-pic-height);
|
|
1363
1740
|
border-radius: var(--user-avatar-pic-radius);
|
|
1364
1741
|
order: 2;
|
|
1365
1742
|
}
|
|
1743
|
+
.touch-user-wrapper {
|
|
1744
|
+
display: flex;
|
|
1745
|
+
align-items: flex-end;
|
|
1746
|
+
}
|
|
1366
1747
|
.touchchat-user-bubble {
|
|
1367
1748
|
flex: 1;
|
|
1368
1749
|
background: var(--user-bubble-bg);
|
|
@@ -1389,6 +1770,9 @@
|
|
|
1389
1770
|
font-weight: var(--user-bubble-text-weight);
|
|
1390
1771
|
font-family: var(--user-bubble-text-family);
|
|
1391
1772
|
}
|
|
1773
|
+
.touchchat-action-item.value-read.no-hover:hover {
|
|
1774
|
+
background: transparent;
|
|
1775
|
+
}
|
|
1392
1776
|
.touchchat-user-edit {
|
|
1393
1777
|
border: var(--user-edit-border);
|
|
1394
1778
|
overflow: hidden;
|
|
@@ -1463,6 +1847,78 @@
|
|
|
1463
1847
|
.touchchat-user-send-text {
|
|
1464
1848
|
font-size: var(--user-send-size);
|
|
1465
1849
|
}
|
|
1850
|
+
.step-container {
|
|
1851
|
+
font-family: Arial, sans-serif;
|
|
1852
|
+
}
|
|
1853
|
+
.step-item {
|
|
1854
|
+
display: flex;
|
|
1855
|
+
margin-bottom: 1.25em;
|
|
1856
|
+
align-items: flex-start;
|
|
1857
|
+
position: relative;
|
|
1858
|
+
/* 为连接线定位做准备 */
|
|
1859
|
+
}
|
|
1860
|
+
.step-marker {
|
|
1861
|
+
width: 1.5em;
|
|
1862
|
+
height: 1.5em;
|
|
1863
|
+
border-radius: 50%;
|
|
1864
|
+
display: flex;
|
|
1865
|
+
align-items: center;
|
|
1866
|
+
justify-content: center;
|
|
1867
|
+
color: #fff;
|
|
1868
|
+
font-weight: bold;
|
|
1869
|
+
margin-right: 1em;
|
|
1870
|
+
flex-shrink: 0;
|
|
1871
|
+
}
|
|
1872
|
+
.completed .step-marker {
|
|
1873
|
+
background: var(--Brand-Brand-, #0077fa);
|
|
1874
|
+
}
|
|
1875
|
+
.ongoing .step-marker {
|
|
1876
|
+
background: var(--Brand-Brand-, #0077fa);
|
|
1877
|
+
}
|
|
1878
|
+
.ongoing .step-content h3 {
|
|
1879
|
+
color: var(--Brand-Brand-, #0077fa);
|
|
1880
|
+
}
|
|
1881
|
+
.check-icon {
|
|
1882
|
+
font-size: 1.125em;
|
|
1883
|
+
}
|
|
1884
|
+
.step-content {
|
|
1885
|
+
flex: 1;
|
|
1886
|
+
margin-bottom: 1em;
|
|
1887
|
+
}
|
|
1888
|
+
.step-content h3 {
|
|
1889
|
+
margin-top: 0;
|
|
1890
|
+
font-size: 1.125em;
|
|
1891
|
+
font-weight: 600;
|
|
1892
|
+
margin-bottom: 0.5em;
|
|
1893
|
+
}
|
|
1894
|
+
.step-content p {
|
|
1895
|
+
margin: 0.25em 0;
|
|
1896
|
+
line-height: 1.5;
|
|
1897
|
+
color: #333;
|
|
1898
|
+
}
|
|
1899
|
+
/* 修改连接线样式 */
|
|
1900
|
+
.step-connector {
|
|
1901
|
+
position: absolute;
|
|
1902
|
+
left: 0.75em;
|
|
1903
|
+
top: 2em;
|
|
1904
|
+
height: calc(100% - 1.25em);
|
|
1905
|
+
width: 2px;
|
|
1906
|
+
background: var(--Brand-Brand-, #0077fa);
|
|
1907
|
+
border-radius: 2px;
|
|
1908
|
+
}
|
|
1909
|
+
/* 最后一个 step-item 不显示连接线 */
|
|
1910
|
+
.step-item:last-child .step-connector {
|
|
1911
|
+
display: none;
|
|
1912
|
+
}
|
|
1913
|
+
.step-item:last-child,
|
|
1914
|
+
.step-item:last-child .step-content {
|
|
1915
|
+
margin-bottom: 0;
|
|
1916
|
+
}
|
|
1917
|
+
.touchchat-agents {
|
|
1918
|
+
display: flex;
|
|
1919
|
+
flex-direction: column;
|
|
1920
|
+
gap: var(--history-group-gap);
|
|
1921
|
+
}
|
|
1466
1922
|
.card-container {
|
|
1467
1923
|
padding-top: 0.75em;
|
|
1468
1924
|
}
|
|
@@ -1742,6 +2198,476 @@
|
|
|
1742
2198
|
-moz-box-orient: vertical;
|
|
1743
2199
|
line-clamp: 2;
|
|
1744
2200
|
}
|
|
2201
|
+
.file-content {
|
|
2202
|
+
--file-content-pd: 0.75em;
|
|
2203
|
+
--file-content-gap: 0.75em;
|
|
2204
|
+
width: 100%;
|
|
2205
|
+
position: relative;
|
|
2206
|
+
box-sizing: border-box;
|
|
2207
|
+
overflow: visible;
|
|
2208
|
+
}
|
|
2209
|
+
.file-content-scroll {
|
|
2210
|
+
display: flex;
|
|
2211
|
+
overflow-x: auto;
|
|
2212
|
+
align-items: flex-start;
|
|
2213
|
+
gap: var(--file-content-gap);
|
|
2214
|
+
padding: 0.5em 0;
|
|
2215
|
+
-webkit-overflow-scrolling: touch;
|
|
2216
|
+
-ms-overflow-style: none;
|
|
2217
|
+
/* IE 和 Edge */
|
|
2218
|
+
scrollbar-width: none;
|
|
2219
|
+
/* Firefox */
|
|
2220
|
+
}
|
|
2221
|
+
.file-content-scroll::-webkit-scrollbar {
|
|
2222
|
+
display: none;
|
|
2223
|
+
}
|
|
2224
|
+
.file-content-right-tip,
|
|
2225
|
+
.file-content-left-tip {
|
|
2226
|
+
position: absolute;
|
|
2227
|
+
top: 0;
|
|
2228
|
+
width: 3.25em;
|
|
2229
|
+
height: 100%;
|
|
2230
|
+
display: flex;
|
|
2231
|
+
align-items: center;
|
|
2232
|
+
gap: 0.625em;
|
|
2233
|
+
}
|
|
2234
|
+
.file-content-right-tip {
|
|
2235
|
+
right: 0;
|
|
2236
|
+
justify-content: flex-end;
|
|
2237
|
+
background: linear-gradient(270deg, #fff 55.88%, rgba(255, 255, 255, 0.7) 80.15%, rgba(255, 255, 255, 0) 100%);
|
|
2238
|
+
}
|
|
2239
|
+
.file-content-left-tip {
|
|
2240
|
+
left: 0;
|
|
2241
|
+
justify-content: flex-start;
|
|
2242
|
+
background: linear-gradient(270deg, rgba(255, 255, 255, 0) 55.88%, rgba(255, 255, 255, 0.7) 80.15%, #fff 100%);
|
|
2243
|
+
}
|
|
2244
|
+
.file-content-left-tip .file-content-svg {
|
|
2245
|
+
transform: rotate(180deg);
|
|
2246
|
+
}
|
|
2247
|
+
.file-content-svg {
|
|
2248
|
+
display: flex;
|
|
2249
|
+
width: 1em;
|
|
2250
|
+
height: 1em;
|
|
2251
|
+
padding: 0.25em;
|
|
2252
|
+
justify-content: center;
|
|
2253
|
+
align-items: center;
|
|
2254
|
+
flex-shrink: 0;
|
|
2255
|
+
border-radius: 0.375em;
|
|
2256
|
+
border: 1px solid var(--Border-Border-, #d8dce4);
|
|
2257
|
+
background: var(--Neutral-colors-White, #fff);
|
|
2258
|
+
}
|
|
2259
|
+
.quote-content {
|
|
2260
|
+
display: flex;
|
|
2261
|
+
align-items: center;
|
|
2262
|
+
gap: 0.75em;
|
|
2263
|
+
}
|
|
2264
|
+
.quote-content-text {
|
|
2265
|
+
border-radius: 0.5em;
|
|
2266
|
+
background: #eaecf0b3;
|
|
2267
|
+
font-size: 1em;
|
|
2268
|
+
padding: 0.625em 0.5em 0.6875em 0.875em;
|
|
2269
|
+
color: #434c59;
|
|
2270
|
+
}
|
|
2271
|
+
.image-file {
|
|
2272
|
+
--image-file-pd: 0.75em;
|
|
2273
|
+
}
|
|
2274
|
+
.image-file-content {
|
|
2275
|
+
position: relative;
|
|
2276
|
+
width: 3.5em;
|
|
2277
|
+
height: 3.5em;
|
|
2278
|
+
cursor: pointer;
|
|
2279
|
+
}
|
|
2280
|
+
.image-file-content img {
|
|
2281
|
+
width: 100%;
|
|
2282
|
+
height: 100%;
|
|
2283
|
+
flex-shrink: 0;
|
|
2284
|
+
aspect-ratio: 1/1;
|
|
2285
|
+
border-radius: 0.5em;
|
|
2286
|
+
}
|
|
2287
|
+
.image-file-content .image-file-colse {
|
|
2288
|
+
position: absolute;
|
|
2289
|
+
right: -0.4375em;
|
|
2290
|
+
top: -0.4375em;
|
|
2291
|
+
width: 0.9375em;
|
|
2292
|
+
height: 0.9375em;
|
|
2293
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
2294
|
+
justify-content: center;
|
|
2295
|
+
align-items: center;
|
|
2296
|
+
border-radius: 50%;
|
|
2297
|
+
display: none;
|
|
2298
|
+
}
|
|
2299
|
+
.image-file-content .img-file-loading {
|
|
2300
|
+
position: absolute;
|
|
2301
|
+
top: 0;
|
|
2302
|
+
left: 0;
|
|
2303
|
+
width: 100%;
|
|
2304
|
+
height: 100%;
|
|
2305
|
+
flex-shrink: 0;
|
|
2306
|
+
aspect-ratio: 1/1;
|
|
2307
|
+
border-radius: 0.5em;
|
|
2308
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
2309
|
+
display: flex;
|
|
2310
|
+
flex-direction: column;
|
|
2311
|
+
justify-content: center;
|
|
2312
|
+
align-items: center;
|
|
2313
|
+
}
|
|
2314
|
+
.image-file-content .img-file-loading .img-file-title,
|
|
2315
|
+
.image-file-content .img-file-loading .img-file-error {
|
|
2316
|
+
color: var(--text-icon-text-icon, #fff);
|
|
2317
|
+
text-align: center;
|
|
2318
|
+
font-family: 'PingFang SC';
|
|
2319
|
+
font-size: 0.75em;
|
|
2320
|
+
font-style: normal;
|
|
2321
|
+
font-weight: 400;
|
|
2322
|
+
line-height: 1.25em;
|
|
2323
|
+
}
|
|
2324
|
+
.image-file-content .img-file-loading .img-file-error {
|
|
2325
|
+
margin-top: 0.375em;
|
|
2326
|
+
color: var(--Danger-Danger-, #f93920);
|
|
2327
|
+
}
|
|
2328
|
+
.image-file-content .img-file-loading svg {
|
|
2329
|
+
animation: 0.5s loading steps(32) infinite;
|
|
2330
|
+
}
|
|
2331
|
+
.image-file-content .img-error-loading svg {
|
|
2332
|
+
animation: null;
|
|
2333
|
+
}
|
|
2334
|
+
.image-file-content .img-error-loading:hover {
|
|
2335
|
+
opacity: 0.8;
|
|
2336
|
+
}
|
|
2337
|
+
.image-file-content:hover .image-file-colse {
|
|
2338
|
+
display: flex;
|
|
2339
|
+
}
|
|
2340
|
+
.image-preview-modal {
|
|
2341
|
+
position: fixed;
|
|
2342
|
+
top: 0;
|
|
2343
|
+
left: 0;
|
|
2344
|
+
right: 0;
|
|
2345
|
+
bottom: 0;
|
|
2346
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
2347
|
+
display: flex;
|
|
2348
|
+
justify-content: center;
|
|
2349
|
+
align-items: center;
|
|
2350
|
+
z-index: 1000;
|
|
2351
|
+
}
|
|
2352
|
+
.image-preview-content {
|
|
2353
|
+
max-width: 90%;
|
|
2354
|
+
max-height: 90%;
|
|
2355
|
+
display: flex;
|
|
2356
|
+
justify-content: center;
|
|
2357
|
+
align-items: center;
|
|
2358
|
+
}
|
|
2359
|
+
.image-preview-content img {
|
|
2360
|
+
max-width: 100%;
|
|
2361
|
+
max-height: 100%;
|
|
2362
|
+
}
|
|
2363
|
+
@keyframes loading {
|
|
2364
|
+
0% {
|
|
2365
|
+
transform: rotate(0deg);
|
|
2366
|
+
}
|
|
2367
|
+
100% {
|
|
2368
|
+
transform: rotate(360deg);
|
|
2369
|
+
}
|
|
2370
|
+
}
|
|
2371
|
+
.pdf-file {
|
|
2372
|
+
--danger-color: #fc4253;
|
|
2373
|
+
--success-color: #1d77ff;
|
|
2374
|
+
--text-icon: #1d2129;
|
|
2375
|
+
--text-icon-info: #86909c;
|
|
2376
|
+
display: flex;
|
|
2377
|
+
align-items: center;
|
|
2378
|
+
gap: 0.5em;
|
|
2379
|
+
flex-shrink: 0;
|
|
2380
|
+
padding: 0.75em;
|
|
2381
|
+
border-radius: 0.5em;
|
|
2382
|
+
border: 1px solid var(--Border-Border-, #eaecf0);
|
|
2383
|
+
background: var(--Fill-Fill--, #f7f8fa);
|
|
2384
|
+
position: relative;
|
|
2385
|
+
overflow: visible;
|
|
2386
|
+
}
|
|
2387
|
+
.pdf-file:hover .pdf-file-colse {
|
|
2388
|
+
display: flex;
|
|
2389
|
+
}
|
|
2390
|
+
.pdf-file-img {
|
|
2391
|
+
width: 1.625em;
|
|
2392
|
+
height: 1.625em;
|
|
2393
|
+
flex-shrink: 0;
|
|
2394
|
+
}
|
|
2395
|
+
.pdf-file-reset {
|
|
2396
|
+
cursor: pointer;
|
|
2397
|
+
}
|
|
2398
|
+
.pdf-file-reset:hover {
|
|
2399
|
+
opacity: 0.5;
|
|
2400
|
+
}
|
|
2401
|
+
.pdf-file-center {
|
|
2402
|
+
width: 11em;
|
|
2403
|
+
display: flex;
|
|
2404
|
+
flex-direction: column;
|
|
2405
|
+
justify-content: center;
|
|
2406
|
+
align-items: flex-start;
|
|
2407
|
+
flex: 1 0 0;
|
|
2408
|
+
overflow: visible;
|
|
2409
|
+
position: relative;
|
|
2410
|
+
}
|
|
2411
|
+
.pdf-file-center p {
|
|
2412
|
+
font-family: 'PingFang SC';
|
|
2413
|
+
font-size: 0.75em;
|
|
2414
|
+
font-style: normal;
|
|
2415
|
+
font-weight: 400;
|
|
2416
|
+
line-height: 1.25em;
|
|
2417
|
+
}
|
|
2418
|
+
.pdf-file-title {
|
|
2419
|
+
width: 100%;
|
|
2420
|
+
overflow: hidden;
|
|
2421
|
+
text-overflow: ellipsis;
|
|
2422
|
+
white-space: nowrap;
|
|
2423
|
+
color: var(--text-icon, #1d2129);
|
|
2424
|
+
}
|
|
2425
|
+
.pdf-file-info {
|
|
2426
|
+
color: var(--text-icon-info, #86909c);
|
|
2427
|
+
}
|
|
2428
|
+
.pdf-file-progress {
|
|
2429
|
+
border-radius: 6.1875em;
|
|
2430
|
+
width: 100%;
|
|
2431
|
+
height: 0.1875em;
|
|
2432
|
+
position: absolute;
|
|
2433
|
+
bottom: 0;
|
|
2434
|
+
left: 2.875em;
|
|
2435
|
+
}
|
|
2436
|
+
.pdf-file-colse {
|
|
2437
|
+
position: absolute;
|
|
2438
|
+
cursor: pointer;
|
|
2439
|
+
right: -0.4375em;
|
|
2440
|
+
top: -0.4375em;
|
|
2441
|
+
width: 0.9375em;
|
|
2442
|
+
height: 0.9375em;
|
|
2443
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
2444
|
+
justify-content: center;
|
|
2445
|
+
align-items: center;
|
|
2446
|
+
border-radius: 50%;
|
|
2447
|
+
display: none;
|
|
2448
|
+
}
|
|
2449
|
+
.pdf-file-tooltip {
|
|
2450
|
+
position: absolute;
|
|
2451
|
+
top: -4em;
|
|
2452
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
2453
|
+
color: white;
|
|
2454
|
+
padding: 0.25em 0.5em;
|
|
2455
|
+
border-radius: 0.25em;
|
|
2456
|
+
font-size: 0.75em;
|
|
2457
|
+
z-index: 1000;
|
|
2458
|
+
max-width: 18.75em;
|
|
2459
|
+
word-break: break-all;
|
|
2460
|
+
white-space: normal;
|
|
2461
|
+
}
|
|
2462
|
+
.pdf-file-tooltip::after {
|
|
2463
|
+
content: '';
|
|
2464
|
+
position: absolute;
|
|
2465
|
+
top: 100%;
|
|
2466
|
+
left: 50%;
|
|
2467
|
+
margin-left: -0.3125em;
|
|
2468
|
+
border-width: 0.3125em;
|
|
2469
|
+
border-style: solid;
|
|
2470
|
+
border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
|
|
2471
|
+
}
|
|
2472
|
+
.pdf-error {
|
|
2473
|
+
background: linear-gradient(0deg, rgba(252, 66, 83, 0.05) 0%, rgba(252, 66, 83, 0.05) 100%), #fff;
|
|
2474
|
+
}
|
|
2475
|
+
.pdf-error .pdf-file-title {
|
|
2476
|
+
color: var(--danger-color, #fc4253);
|
|
2477
|
+
}
|
|
2478
|
+
.pdf-error .pdf-file-progress {
|
|
2479
|
+
background: var(--danger-color, #fc4253);
|
|
2480
|
+
}
|
|
2481
|
+
.pdf-success .pdf-file-title {
|
|
2482
|
+
color: var(--text-icon, #1d2129);
|
|
2483
|
+
}
|
|
2484
|
+
.pdf-success .pdf-file-progress {
|
|
2485
|
+
background: var(--success-color, #1d77ff);
|
|
2486
|
+
}
|
|
2487
|
+
.pdf-success .pdf-file-reset {
|
|
2488
|
+
opacity: 0;
|
|
2489
|
+
}
|
|
2490
|
+
.screenshot-mask {
|
|
2491
|
+
position: fixed;
|
|
2492
|
+
top: 0;
|
|
2493
|
+
left: 0;
|
|
2494
|
+
width: 100%;
|
|
2495
|
+
height: 100%;
|
|
2496
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
2497
|
+
z-index: 9999;
|
|
2498
|
+
}
|
|
2499
|
+
.selection-area {
|
|
2500
|
+
position: absolute;
|
|
2501
|
+
border: 0.25em dashed #0077fa;
|
|
2502
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
2503
|
+
box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
|
|
2504
|
+
}
|
|
2505
|
+
.screenshot-actions {
|
|
2506
|
+
position: fixed;
|
|
2507
|
+
bottom: 1.25em;
|
|
2508
|
+
left: 50%;
|
|
2509
|
+
transform: translateX(-50%);
|
|
2510
|
+
display: flex;
|
|
2511
|
+
gap: 1.25em;
|
|
2512
|
+
}
|
|
2513
|
+
.screenshot-actions button {
|
|
2514
|
+
padding: 0.5em 1em;
|
|
2515
|
+
cursor: pointer;
|
|
2516
|
+
}
|
|
2517
|
+
.dialog-overlay {
|
|
2518
|
+
position: fixed;
|
|
2519
|
+
top: 0;
|
|
2520
|
+
left: 0;
|
|
2521
|
+
width: 100%;
|
|
2522
|
+
height: 100%;
|
|
2523
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
2524
|
+
display: flex;
|
|
2525
|
+
justify-content: center;
|
|
2526
|
+
align-items: center;
|
|
2527
|
+
z-index: 2;
|
|
2528
|
+
}
|
|
2529
|
+
.dialog {
|
|
2530
|
+
background-color: white;
|
|
2531
|
+
width: 30%;
|
|
2532
|
+
border-radius: 0.25em;
|
|
2533
|
+
overflow: hidden;
|
|
2534
|
+
}
|
|
2535
|
+
.dialog-header {
|
|
2536
|
+
padding: 0.9375em;
|
|
2537
|
+
background-color: #f5f7fa;
|
|
2538
|
+
border-bottom: 1px solid #ebeef5;
|
|
2539
|
+
}
|
|
2540
|
+
.dialog-header h3 {
|
|
2541
|
+
margin: 0;
|
|
2542
|
+
font-size: 1.125em;
|
|
2543
|
+
color: #303133;
|
|
2544
|
+
}
|
|
2545
|
+
.dialog-body {
|
|
2546
|
+
padding: 1.25em 0.9375em;
|
|
2547
|
+
border-bottom: 1px solid #ebeef5;
|
|
2548
|
+
}
|
|
2549
|
+
.dialog-body p {
|
|
2550
|
+
margin: 0;
|
|
2551
|
+
color: #606266;
|
|
2552
|
+
}
|
|
2553
|
+
.dialog-footer {
|
|
2554
|
+
padding: 0.9375em;
|
|
2555
|
+
text-align: right;
|
|
2556
|
+
}
|
|
2557
|
+
.hang-up-button {
|
|
2558
|
+
padding: 0.5em 1em;
|
|
2559
|
+
font-size: 0.875em;
|
|
2560
|
+
cursor: pointer;
|
|
2561
|
+
background-color: #f56c6c;
|
|
2562
|
+
color: white;
|
|
2563
|
+
border: none;
|
|
2564
|
+
border-radius: 0.25em;
|
|
2565
|
+
}
|
|
2566
|
+
.hang-up-button:hover {
|
|
2567
|
+
background-color: #f78989;
|
|
2568
|
+
}
|
|
2569
|
+
.transcription-result {
|
|
2570
|
+
margin-top: 1.25em;
|
|
2571
|
+
padding: 0.9375em;
|
|
2572
|
+
border: 1px solid #ebeef5;
|
|
2573
|
+
border-radius: 0.25em;
|
|
2574
|
+
}
|
|
2575
|
+
.transcription-result h4 {
|
|
2576
|
+
margin-top: 0;
|
|
2577
|
+
color: #303133;
|
|
2578
|
+
}
|
|
2579
|
+
.transcription-result p {
|
|
2580
|
+
color: #606266;
|
|
2581
|
+
}
|
|
2582
|
+
.touchchat-custom-select {
|
|
2583
|
+
position: relative;
|
|
2584
|
+
display: inline-block;
|
|
2585
|
+
min-width: 8.125em;
|
|
2586
|
+
font-size: 0.875em;
|
|
2587
|
+
outline: none;
|
|
2588
|
+
}
|
|
2589
|
+
.touchchat-custom-select .touchchat-select-trigger {
|
|
2590
|
+
display: flex;
|
|
2591
|
+
align-items: center;
|
|
2592
|
+
justify-content: space-between;
|
|
2593
|
+
background: linear-gradient(to bottom, #ffffff, #f7f7f7);
|
|
2594
|
+
border: 1px solid #e0e0e0;
|
|
2595
|
+
border-radius: 0.5em;
|
|
2596
|
+
padding: 0.625em 0.875em;
|
|
2597
|
+
cursor: pointer;
|
|
2598
|
+
transition: all 0.3s ease;
|
|
2599
|
+
box-shadow: 0 1px 0.125em rgba(0, 0, 0, 0.05);
|
|
2600
|
+
}
|
|
2601
|
+
.touchchat-custom-select .touchchat-select-trigger:hover {
|
|
2602
|
+
background: linear-gradient(to bottom, #ffffff, #fafafa);
|
|
2603
|
+
border-color: #d0d0d0;
|
|
2604
|
+
box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.08);
|
|
2605
|
+
}
|
|
2606
|
+
.touchchat-custom-select .touchchat-select-trigger.is-focused {
|
|
2607
|
+
border-color: #409eff;
|
|
2608
|
+
box-shadow: 0 0 0 0.1875em rgba(64, 158, 255, 0.15);
|
|
2609
|
+
}
|
|
2610
|
+
.touchchat-custom-select .touchchat-select-text {
|
|
2611
|
+
color: #444;
|
|
2612
|
+
font-weight: 500;
|
|
2613
|
+
flex-grow: 1;
|
|
2614
|
+
}
|
|
2615
|
+
.touchchat-custom-select .touchchat-select-icon {
|
|
2616
|
+
width: 0;
|
|
2617
|
+
height: 0;
|
|
2618
|
+
border-left: 0.375em solid transparent;
|
|
2619
|
+
border-right: 0.375em solid transparent;
|
|
2620
|
+
border-top: 0.375em solid #666;
|
|
2621
|
+
margin-left: 0.5em;
|
|
2622
|
+
transition: transform 0.3s ease;
|
|
2623
|
+
}
|
|
2624
|
+
.touchchat-custom-select .touchchat-select-icon.is-open {
|
|
2625
|
+
transform: rotate(180deg);
|
|
2626
|
+
}
|
|
2627
|
+
.touchchat-custom-select .touchchat-select-dropdown {
|
|
2628
|
+
position: absolute;
|
|
2629
|
+
left: 0;
|
|
2630
|
+
right: 0;
|
|
2631
|
+
background: white;
|
|
2632
|
+
border: 1px solid #e0e0e0;
|
|
2633
|
+
border-radius: 0.5em;
|
|
2634
|
+
box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.1);
|
|
2635
|
+
z-index: 100;
|
|
2636
|
+
margin-top: 0.25em;
|
|
2637
|
+
max-height: 12.5em;
|
|
2638
|
+
overflow-y: auto;
|
|
2639
|
+
}
|
|
2640
|
+
.touchchat-custom-select .touchchat-select-dropdown.is-upward {
|
|
2641
|
+
top: auto;
|
|
2642
|
+
bottom: 100%;
|
|
2643
|
+
margin-top: 0;
|
|
2644
|
+
margin-bottom: 0.25em;
|
|
2645
|
+
}
|
|
2646
|
+
.touchchat-custom-select .touchchat-select-dropdown:not(.is-upward) {
|
|
2647
|
+
top: 100%;
|
|
2648
|
+
}
|
|
2649
|
+
.touchchat-custom-select .touchchat-select-option {
|
|
2650
|
+
padding: 0.625em 0.875em;
|
|
2651
|
+
cursor: pointer;
|
|
2652
|
+
transition: background-color 0.2s ease;
|
|
2653
|
+
color: #444;
|
|
2654
|
+
}
|
|
2655
|
+
.touchchat-custom-select .touchchat-select-option:hover {
|
|
2656
|
+
background-color: #f5f7fa;
|
|
2657
|
+
}
|
|
2658
|
+
.touchchat-custom-select .touchchat-select-option.is-selected {
|
|
2659
|
+
background-color: #e6f7ff;
|
|
2660
|
+
color: #1890ff;
|
|
2661
|
+
font-weight: 500;
|
|
2662
|
+
}
|
|
2663
|
+
.touchchat-custom-select .touchchat-select-option:first-child {
|
|
2664
|
+
border-top-left-radius: 0.5em;
|
|
2665
|
+
border-top-right-radius: 0.5em;
|
|
2666
|
+
}
|
|
2667
|
+
.touchchat-custom-select .touchchat-select-option:last-child {
|
|
2668
|
+
border-bottom-left-radius: 0.5em;
|
|
2669
|
+
border-bottom-right-radius: 0.5em;
|
|
2670
|
+
}
|
|
1745
2671
|
:root {
|
|
1746
2672
|
--color-primary: #0077fa;
|
|
1747
2673
|
--color-primary-plain: #f0f7ff;
|