@myun/gimi-chat 0.9.29 → 0.9.31
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/dist/assets/lottie/loading-gray.json +1 -0
- package/dist/components/ai-loading/index.module.css +1 -1
- package/dist/components/answer-item/index.module.css +7 -2
- package/dist/components/ask-card/index.module.css +0 -1
- package/dist/components/chat-input/index.js +2 -1
- package/dist/components/chat-input/index.module.css +30 -8
- package/dist/components/chat-voice/VoiceCommunication.js +1 -1
- package/dist/components/chat-voice/VoiceRecord.js +1 -1
- package/dist/components/knowledge-trace/KnowledgeIconComponent.js +1 -1
- package/dist/components/knowledge-trace/index.module.css +0 -1
- package/dist/components/lottie-img/index.js +1 -1
- package/dist/components/message-list/index.js +1 -1
- package/dist/components/message-list/index.module.css +5 -0
- package/dist/components/preset-agent-content/index.module.css +5 -0
- package/dist/components/quoted-content/index.js +1 -1
- package/dist/components/quoted-content/index.module.css +6 -3
- package/dist/components/reasoning-content/index.js +1 -1
- package/dist/components/search-course-list/index.module.css +5 -0
- package/dist/components/shadow-loading/index.module.css +1 -1
- package/dist/i18n/locales/zh-CN.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/styles/semi-theme.css +80 -0
- package/dist/umd/index.min.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"nm":"Loading_15","ddd":0,"h":500,"w":500,"meta":{"g":"@lottiefiles/toolkit-js 0.33.2"},"layers":[{"ty":4,"nm":"10","sr":1,"st":45,"op":195,"ip":45,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[0],"t":45},{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[100],"t":75},{"s":[0],"t":105}],"ix":11,"x":"var $bm_rt;\n$bm_rt = loopOut();"}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","ix":1,"cix":2,"it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[7.176,-5.26],[0,0],[5.26,7.176],[0,0],[-7.175,5.26],[0,0],[-5.261,-7.176],[0,0]],"o":[[0,0],[-7.176,5.26],[0,0],[-5.26,-7.176],[0,0],[7.175,-5.26],[0,0],[5.26,7.176]],"v":[[23.643,32.254],[23.643,32.254],[1.032,28.771],[-27.126,-9.643],[-23.643,-32.254],[-23.642,-32.254],[-1.031,-28.771],[27.126,9.643]]},"ix":2}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill 1","c":{"a":0,"k":[0.5451,0.5451,0.5451],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[177.424,150.822],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":1},{"ty":4,"nm":"9","sr":1,"st":40,"op":190,"ip":40,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[0],"t":40},{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[100],"t":70},{"s":[0],"t":100}],"ix":11,"x":"var $bm_rt;\n$bm_rt = loopOut();"}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","ix":1,"cix":2,"it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[2.81,-8.442],[0,0],[8.442,2.811],[0,0],[-2.81,8.442],[-8.442,-2.81],[0,0]],"o":[[0,0],[-2.81,8.442],[0,0],[-8.442,-2.811],[2.81,-8.442],[0,0],[8.442,2.81]],"v":[[37.944,12.631],[37.944,12.631],[17.485,22.87],[-27.705,7.827],[-37.944,-12.632],[-17.485,-22.871],[27.705,-7.827]]},"ix":2}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill 1","c":{"a":0,"k":[0.5451,0.5451,0.5451],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[133.377,211.158],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":2},{"ty":4,"nm":"8","sr":1,"st":35,"op":185,"ip":35,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[0],"t":35},{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[100],"t":65},{"s":[0],"t":95}],"ix":11,"x":"var $bm_rt;\n$bm_rt = loopOut();"}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","ix":1,"cix":2,"it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[-2.81,-8.442],[0,0],[8.442,-2.811],[0,0],[2.81,8.442],[-8.441,2.811],[0,0]],"o":[[0,0],[2.81,8.442],[0,0],[-8.442,2.81],[-2.81,-8.442],[0,0],[8.441,-2.811]],"v":[[37.944,-12.631],[37.944,-12.631],[27.705,7.828],[-17.485,22.871],[-37.944,12.632],[-27.705,-7.827],[17.486,-22.87]]},"ix":2}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill 1","c":{"a":0,"k":[0.5451,0.5451,0.5451],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[133.377,288.842],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":3},{"ty":4,"nm":"7","sr":1,"st":30,"op":180,"ip":30,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[0],"t":30},{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[100],"t":60},{"s":[0],"t":90}],"ix":11,"x":"var $bm_rt;\n$bm_rt = loopOut();"}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","ix":1,"cix":2,"it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[-7.176,-5.26],[0,0],[5.26,-7.176],[0,0],[7.175,5.26],[0,0],[-5.26,7.176],[0,0]],"o":[[0,0],[7.176,5.26],[0,0],[-5.261,7.176],[0,0],[-7.175,-5.26],[0,0],[5.26,-7.176]],"v":[[23.643,-32.254],[23.643,-32.254],[27.126,-9.643],[-1.031,28.771],[-23.642,32.254],[-23.643,32.254],[-27.126,9.643],[1.032,-28.771]]},"ix":2}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill 1","c":{"a":0,"k":[0.5451,0.5451,0.5451],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[177.424,349.178],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":4},{"ty":4,"nm":"6","sr":1,"st":25,"op":175,"ip":25,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[0],"t":25},{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[100],"t":55},{"s":[0],"t":85}],"ix":11,"x":"var $bm_rt;\n$bm_rt = loopOut();"}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","ix":1,"cix":2,"it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[-8.897,0],[0,0],[0,-8.897],[0,0],[8.897,0],[0,8.898],[0,0]],"o":[[0,0],[8.897,0],[0,0],[0,8.898],[-8.897,0],[0,0],[0,-8.897]],"v":[[0,-39.991],[0,-39.991],[16.177,-23.814],[16.177,23.814],[0,39.991],[-16.177,23.814],[-16.177,-23.814]]},"ix":2}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill 1","c":{"a":0,"k":[0.5451,0.5451,0.5451],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[250,372.888],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":5},{"ty":4,"nm":"5","sr":1,"st":20,"op":170,"ip":20,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[0],"t":20},{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[100],"t":50},{"s":[0],"t":80}],"ix":11,"x":"var $bm_rt;\n$bm_rt = loopOut();"}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","ix":1,"cix":2,"it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[-7.176,5.26],[0,0],[-5.26,-7.176],[0,0],[7.175,-5.26],[0,0],[5.261,7.175],[0,0]],"o":[[0,0],[7.176,-5.26],[0,0],[5.26,7.176],[0,0],[-7.175,5.26],[0,0],[-5.26,-7.176]],"v":[[-23.643,-32.254],[-23.643,-32.254],[-1.032,-28.771],[27.126,9.643],[23.643,32.254],[23.642,32.254],[1.031,28.771],[-27.126,-9.643]]},"ix":2}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill 1","c":{"a":0,"k":[0.5451,0.5451,0.5451],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[322.576,349.178],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":6},{"ty":4,"nm":"4","sr":1,"st":15,"op":165,"ip":15,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[0],"t":15},{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[100],"t":45},{"s":[0],"t":75}],"ix":11,"x":"var $bm_rt;\n$bm_rt = loopOut();"}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","ix":1,"cix":2,"it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[-2.81,8.442],[0,0],[-8.441,-2.811],[0,0],[2.81,-8.442],[8.442,2.81],[0,0]],"o":[[0,0],[2.81,-8.442],[0,0],[8.442,2.811],[-2.81,8.442],[0,0],[-8.442,-2.81]],"v":[[-37.944,-12.631],[-37.944,-12.631],[-17.486,-22.87],[27.705,-7.827],[37.944,12.632],[17.485,22.871],[-27.705,7.827]]},"ix":2}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill 1","c":{"a":0,"k":[0.5451,0.5451,0.5451],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[366.623,288.842],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":7},{"ty":4,"nm":"3","sr":1,"st":10,"op":160,"ip":10,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[0],"t":10},{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[100],"t":40},{"s":[0],"t":70}],"ix":11,"x":"var $bm_rt;\n$bm_rt = loopOut();"}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","ix":1,"cix":2,"it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[2.81,8.442],[0,0],[-8.442,2.811],[0,0],[-2.81,-8.442],[8.442,-2.811],[0,0]],"o":[[0,0],[-2.81,-8.442],[0,0],[8.442,-2.81],[2.81,8.442],[0,0],[-8.441,2.811]],"v":[[-37.944,12.631],[-37.944,12.631],[-27.705,-7.828],[17.485,-22.871],[37.944,-12.632],[27.705,7.827],[-17.486,22.87]]},"ix":2}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill 1","c":{"a":0,"k":[0.5451,0.5451,0.5451],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[366.623,211.158],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":8},{"ty":4,"nm":"2","sr":1,"st":5,"op":155,"ip":5,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[0],"t":5},{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[100],"t":35},{"s":[0],"t":65}],"ix":11,"x":"var $bm_rt;\n$bm_rt = loopOut();"}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","ix":1,"cix":2,"it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[7.176,5.26],[0,0],[-5.26,7.176],[0,0],[-7.175,-5.26],[0,0],[5.26,-7.176],[0,0]],"o":[[0,0],[-7.176,-5.26],[0,0],[5.261,-7.176],[0,0],[7.175,5.26],[0,0],[-5.26,7.176]],"v":[[-23.643,32.254],[-23.643,32.254],[-27.126,9.643],[1.031,-28.771],[23.642,-32.254],[23.643,-32.254],[27.126,-9.643],[-1.032,28.771]]},"ix":2}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill 1","c":{"a":0,"k":[0.5451,0.5451,0.5451],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[322.576,150.822],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":9},{"ty":4,"nm":"1","sr":1,"st":0,"op":150,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[0],"t":0},{"o":{"x":0.5,"y":0},"i":{"x":0.5,"y":1},"s":[100],"t":30},{"s":[0],"t":60}],"ix":11,"x":"var $bm_rt;\n$bm_rt = loopOut();"}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","ix":1,"cix":2,"it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[8.897,0],[0,0],[0,8.897],[0,0],[-8.897,0],[0,-8.898],[0,0]],"o":[[0,0],[-8.897,0],[0,0],[0,-8.898],[8.897,0],[0,0],[0,8.897]],"v":[[0,39.991],[0,39.991],[-16.177,23.814],[-16.177,-23.814],[0,-39.991],[16.177,-23.814],[16.177,23.814]]},"ix":2}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill 1","c":{"a":0,"k":[0.5451,0.5451,0.5451],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[250,127.112],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":10}],"v":"5.12.1","fr":75,"op":150,"ip":0,"assets":[]}
|
|
@@ -239,12 +239,12 @@
|
|
|
239
239
|
font-family: PingFangSC, PingFang SC;
|
|
240
240
|
font-weight: 400;
|
|
241
241
|
font-size: 14px;
|
|
242
|
-
color:
|
|
242
|
+
color: var(--theme-neutral, #4C5A70);
|
|
243
243
|
line-height: 18px;
|
|
244
244
|
text-align: left;
|
|
245
245
|
font-style: normal;
|
|
246
246
|
border-radius: 8px;
|
|
247
|
-
border: 1px solid
|
|
247
|
+
border: 1px solid var(--theme-lightNeutral, #E9EBF2);
|
|
248
248
|
cursor: pointer;
|
|
249
249
|
display: inline;
|
|
250
250
|
white-space: nowrap;
|
|
@@ -267,4 +267,9 @@
|
|
|
267
267
|
|
|
268
268
|
:global(.markdown_container) {
|
|
269
269
|
max-width: 800px;
|
|
270
|
+
}
|
|
271
|
+
@media (min-width: 1920px) {
|
|
272
|
+
:global(.markdown_container) {
|
|
273
|
+
max-width: 1000px;
|
|
274
|
+
}
|
|
270
275
|
}
|
|
@@ -578,7 +578,7 @@ var ChatInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
578
578
|
}
|
|
579
579
|
}, /*#__PURE__*/React.createElement(LottieImg, {
|
|
580
580
|
name: "aiLoading",
|
|
581
|
-
size: [
|
|
581
|
+
size: [30, 40]
|
|
582
582
|
}), /*#__PURE__*/React.createElement("span", {
|
|
583
583
|
style: {
|
|
584
584
|
flex: 1
|
|
@@ -613,6 +613,7 @@ var ChatInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
613
613
|
return /*#__PURE__*/React.createElement("div", {
|
|
614
614
|
className: styles.inputWrap,
|
|
615
615
|
ref: inputWrapRef,
|
|
616
|
+
id: "myun_gimi_design_chat_input",
|
|
616
617
|
style: {
|
|
617
618
|
position: 'relative'
|
|
618
619
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
width: calc(100% - 32px);
|
|
6
6
|
max-width: 800px;
|
|
7
7
|
margin: 0px 16px 10px 16px;
|
|
8
|
-
box-shadow:
|
|
8
|
+
box-shadow: 0 2px 32px 0 rgba(0, 0, 0, 0.1);
|
|
9
9
|
border-radius: 20px;
|
|
10
10
|
}
|
|
11
11
|
@media (min-width: 1920px) {
|
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
justify-content: center;
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
}
|
|
26
|
+
.deepthink :hover {
|
|
27
|
+
background-color: var(--theme-subtleNeutral, #F5F7FA);
|
|
28
|
+
}
|
|
26
29
|
.deepthink span {
|
|
27
30
|
margin-left: 4px;
|
|
28
31
|
font-family: PingFangSC, PingFang SC;
|
|
@@ -45,6 +48,8 @@
|
|
|
45
48
|
align-items: center;
|
|
46
49
|
justify-content: center;
|
|
47
50
|
cursor: pointer;
|
|
51
|
+
border-radius: 50%;
|
|
52
|
+
margin-left: -8px;
|
|
48
53
|
}
|
|
49
54
|
.uploadIcon:hover {
|
|
50
55
|
border-radius: 50%;
|
|
@@ -58,13 +63,15 @@
|
|
|
58
63
|
|
|
59
64
|
.chatInput {
|
|
60
65
|
width: 100%;
|
|
61
|
-
padding: 16px;
|
|
66
|
+
padding: 11px 16px;
|
|
67
|
+
min-height: 150px;
|
|
62
68
|
max-width: 800px;
|
|
63
69
|
max-height: 400px;
|
|
64
70
|
overflow-y: auto;
|
|
65
71
|
scrollbar-width: thin;
|
|
66
72
|
scrollbar-color: #d1d1d1 transparent;
|
|
67
73
|
border-radius: 20px;
|
|
74
|
+
border-color: var(--theme-lightNeutral, #E9EBF2);
|
|
68
75
|
}
|
|
69
76
|
@media (min-width: 1920px) {
|
|
70
77
|
.chatInput {
|
|
@@ -131,24 +138,35 @@
|
|
|
131
138
|
:global .semi-aiChatInput-footer-action-send-disabled {
|
|
132
139
|
background-color: rgba(46, 50, 56, 0.1294117647);
|
|
133
140
|
}
|
|
141
|
+
:global .semi-aiChatInput-editor-content .tiptap {
|
|
142
|
+
font-size: 16px;
|
|
143
|
+
color: var(--theme-mediumNeutral, #9AA7B7);
|
|
144
|
+
}
|
|
145
|
+
:global .semi-aiChatInput-editor-content .tiptap .input-slot {
|
|
146
|
+
background-color: var(--theme-subtleNeutral, #F5F7FA);
|
|
147
|
+
}
|
|
148
|
+
:global .semi-aiChatInput-editor-content .tiptap .input-slot .input-slot-placeholder {
|
|
149
|
+
color: var(--theme-dustyNeutral, #717F94);
|
|
150
|
+
}
|
|
134
151
|
|
|
135
152
|
.agentContainer {
|
|
136
153
|
display: flex;
|
|
137
154
|
align-items: center;
|
|
138
155
|
justify-content: flex-start;
|
|
156
|
+
gap: 4px;
|
|
139
157
|
}
|
|
140
158
|
|
|
141
159
|
.agentItem {
|
|
142
160
|
display: flex;
|
|
143
161
|
align-items: center;
|
|
144
|
-
padding:
|
|
162
|
+
padding: 3px 8px;
|
|
145
163
|
cursor: pointer;
|
|
146
|
-
font-size:
|
|
164
|
+
font-size: 14px;
|
|
147
165
|
color: var(--theme-deepNeutral, #2E394C);
|
|
148
|
-
border-radius:
|
|
166
|
+
border-radius: 10px;
|
|
149
167
|
}
|
|
150
168
|
.agentItem:hover {
|
|
151
|
-
background-color: var(--theme-
|
|
169
|
+
background-color: var(--theme-subtleNeutral, #F5F7FA);
|
|
152
170
|
}
|
|
153
171
|
.agentItem.active {
|
|
154
172
|
background-color: var(--theme-subtleNeutral, #F5F7FA);
|
|
@@ -167,8 +185,12 @@
|
|
|
167
185
|
}
|
|
168
186
|
|
|
169
187
|
.agentPopover {
|
|
170
|
-
padding:
|
|
188
|
+
padding: 10px;
|
|
189
|
+
display: flex;
|
|
190
|
+
flex-direction: column;
|
|
191
|
+
gap: 6px;
|
|
171
192
|
}
|
|
172
193
|
.agentPopover .agentItem {
|
|
173
|
-
padding:
|
|
194
|
+
padding: 3px 8px;
|
|
195
|
+
border-radius: 10px;
|
|
174
196
|
}
|
|
@@ -61,7 +61,7 @@ var VoiceCommunication = function VoiceCommunication(props) {
|
|
|
61
61
|
onClick: handleClick
|
|
62
62
|
}, /*#__PURE__*/React.createElement(IconFontCom, {
|
|
63
63
|
type: "icon-shurukuang-dadianhua",
|
|
64
|
-
size:
|
|
64
|
+
size: 30,
|
|
65
65
|
color: "var(--theme-deepNeutral, #2E394C)"
|
|
66
66
|
})));
|
|
67
67
|
};
|
|
@@ -7,7 +7,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
7
7
|
import { Lottie } from '@douyinfe/semi-ui';
|
|
8
8
|
import * as live from "../../assets/lottie/living.json";
|
|
9
9
|
import * as aiBg from "../../assets/lottie/ai-bg.json";
|
|
10
|
-
import * as aiLoading from "../../assets/lottie/
|
|
10
|
+
import * as aiLoading from "../../assets/lottie/loading-gray.json";
|
|
11
11
|
import * as aiOutputNormal from "../../assets/lottie/ai-output-normal.json";
|
|
12
12
|
import * as aiOutputStrengthen from "../../assets/lottie/ai-output-strengthen.json";
|
|
13
13
|
import * as aiOutputLoading from "../../assets/lottie/ai-output-loading.json";
|
|
@@ -318,7 +318,7 @@ var QuotedContent = function QuotedContent(_ref) {
|
|
|
318
318
|
visible: showmodel ? false : undefined
|
|
319
319
|
}, /*#__PURE__*/React.createElement(IconFontCom, {
|
|
320
320
|
type: "icon-shurukuang-kechengyinyong",
|
|
321
|
-
size:
|
|
321
|
+
size: 30,
|
|
322
322
|
className: styles.quoteIcon
|
|
323
323
|
}))));
|
|
324
324
|
};
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
:global .semi-input-clearbtn:hover {
|
|
30
30
|
border-color: var(--theme-primary, #4086FF);
|
|
31
31
|
}
|
|
32
|
+
:global .semi-aiChatInput-footer-action button span {
|
|
33
|
+
font-size: 18px;
|
|
34
|
+
}
|
|
32
35
|
|
|
33
36
|
.content {
|
|
34
37
|
padding-top: 10px;
|
|
@@ -54,11 +57,11 @@
|
|
|
54
57
|
color: var(--theme-neutral, #4C5A70);
|
|
55
58
|
}
|
|
56
59
|
.newtab .tabItem:hover {
|
|
57
|
-
background-color: var(--theme-
|
|
60
|
+
background-color: var(--theme-paleNeutral, #F2F3F7);
|
|
58
61
|
color: var(--theme-deepNeutral, #2E394C);
|
|
59
62
|
}
|
|
60
63
|
.newtab .active {
|
|
61
|
-
background-color: var(--theme-
|
|
64
|
+
background-color: var(--theme-paleNeutral, #F2F3F7);
|
|
62
65
|
color: var(--theme-deepNeutral, #2E394C);
|
|
63
66
|
font-weight: 600;
|
|
64
67
|
}
|
|
@@ -96,7 +99,7 @@
|
|
|
96
99
|
padding: 8px;
|
|
97
100
|
}
|
|
98
101
|
.listItem:hover {
|
|
99
|
-
background-color: #
|
|
102
|
+
background-color: var(--theme-subtleNeutral, #F5F7FA);
|
|
100
103
|
color: var(--theme-primary, #4086ff);
|
|
101
104
|
}
|
|
102
105
|
.listItem .img {
|
|
@@ -161,7 +161,7 @@ var ReasoningContent = function ReasoningContent(_ref) {
|
|
|
161
161
|
className: styles.answerLoading
|
|
162
162
|
}, /*#__PURE__*/React.createElement(LottieImg, {
|
|
163
163
|
name: "aiLoading",
|
|
164
|
-
size: [
|
|
164
|
+
size: [30, 40]
|
|
165
165
|
}))) : null);
|
|
166
166
|
};
|
|
167
167
|
export default ReasoningContent;
|
|
@@ -18,7 +18,7 @@ var zhCN = {
|
|
|
18
18
|
'chatInput.uploadFile': '支持Word、Excel、图片\n最多10个文件(单个不超过10M)',
|
|
19
19
|
'chatInput.newConversation': '新对话',
|
|
20
20
|
'chatInput.deepThinkTip': '系统智能切换思考模式',
|
|
21
|
-
'chatInput.deepThinkModeAuto': '
|
|
21
|
+
'chatInput.deepThinkModeAuto': '深度思考',
|
|
22
22
|
'chatInput.fetchingVoice': '正在获取语音内容...',
|
|
23
23
|
'chatInput.voiceCallUnsupported': '当前流程不支持语音通话',
|
|
24
24
|
'chatInput.micPermissionRequired': '需要麦克风访问权限',
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/**
|
|
3
|
+
* Semi UI 主题色跟随 --theme-primary 自动切换
|
|
4
|
+
*
|
|
5
|
+
* 主题变量 (--theme-primary 及其色阶 --theme-primary-dusty/medium/soft/light/pale/bg)
|
|
6
|
+
* 由 host 项目定义,本包不定义,只消费。
|
|
7
|
+
*
|
|
8
|
+
* host 用法示例:
|
|
9
|
+
* :root {
|
|
10
|
+
* --theme-primary: #4086FF;
|
|
11
|
+
* }
|
|
12
|
+
* body.theme-warm { --theme-primary: #FF8A3D; }
|
|
13
|
+
*
|
|
14
|
+
* 切换 --theme-primary 后,Semi 所有引用 --semi-color-primary* 的组件会自动变色。
|
|
15
|
+
*
|
|
16
|
+
* 实现说明:
|
|
17
|
+
* Semi 内部颜色基于 --semi-blue-0~8 (r,g,b 三元组) + --semi-color-primary* 语义变量。
|
|
18
|
+
* 由于 rgba(var(--semi-blue-N), a) 要求三元组格式,无法用 color-mix() 表达式派生。
|
|
19
|
+
* 因此这里只覆盖 --semi-color-primary* 语义变量 (用 color-mix 派生),
|
|
20
|
+
* --theme-primary 一变,所有引用语义变量的组件自动跟随。
|
|
21
|
+
*
|
|
22
|
+
* 对于 Semi 内部少数直接引用 --semi-blue-N 的地方 (FocusRing / 部分 Tag / Progress 等),
|
|
23
|
+
* 下方仍按 Sutton 色阶覆盖了 blue-0~8 的静态值 (默认主题下的"基线")。
|
|
24
|
+
* 如需在切换主题时也同步这些组件,host 在切换 --theme-primary 时
|
|
25
|
+
* 同时覆盖 --semi-blue-5/6/7 三元组即可 (见文件末尾的示例)。
|
|
26
|
+
*/
|
|
27
|
+
:root {
|
|
28
|
+
/* ===== Semi 语义变量 (跟随 host 的 --theme-primary 自动派生) ===== */
|
|
29
|
+
--semi-color-primary: var(--theme-primary, #4086FF);
|
|
30
|
+
--semi-color-primary-hover: color-mix(in srgb, var(--theme-primary, #4086FF), white 15%);
|
|
31
|
+
--semi-color-primary-active: color-mix(in srgb, var(--theme-primary, #4086FF), black 18%);
|
|
32
|
+
--semi-color-primary-disabled: color-mix(in srgb, var(--theme-primary, #4086FF), white 60%);
|
|
33
|
+
--semi-color-primary-focus: color-mix(in srgb, var(--theme-primary, #4086FF), white 0%);
|
|
34
|
+
--semi-color-primary-default: var(--theme-primary, #4086FF);
|
|
35
|
+
/* light 系列 (Tag/Progress/Slider 背景等) */
|
|
36
|
+
--semi-color-primary-light-default: color-mix(in srgb, var(--theme-primary, #4086FF), white 88%);
|
|
37
|
+
--semi-color-primary-light-hover: color-mix(in srgb, var(--theme-primary, #4086FF), white 80%);
|
|
38
|
+
--semi-color-primary-light-active: color-mix(in srgb, var(--theme-primary, #4086FF), white 70%);
|
|
39
|
+
/* ===== Semi blue 色阶 (默认主题下的静态基线,覆盖 Semi 默认 #0064FA 系列) ===== */
|
|
40
|
+
/* 这些是 r,g,b 三元组,Semi 内部 rgba(var(--semi-blue-N), a) 会引用。 */
|
|
41
|
+
/* host 切换主题时需同步覆盖 blue-5/6/7,见文件末尾示例。 */
|
|
42
|
+
--semi-blue-0: 240, 248, 255;
|
|
43
|
+
--semi-blue-1: 240, 248, 255;
|
|
44
|
+
--semi-blue-2: 227, 241, 255;
|
|
45
|
+
--semi-blue-3: 196, 224, 255;
|
|
46
|
+
--semi-blue-4: 145, 193, 255;
|
|
47
|
+
--semi-blue-5: 64, 134, 255;
|
|
48
|
+
--semi-blue-6: 105, 165, 255;
|
|
49
|
+
--semi-blue-7: 58, 118, 217;
|
|
50
|
+
--semi-blue-8: 38, 82, 163;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* 同时在 body / .semi-always 上覆盖,确保 Semi light/dark 主题切换时也生效 */
|
|
54
|
+
.semi-always,
|
|
55
|
+
body {
|
|
56
|
+
--semi-color-primary: var(--theme-primary, #4086FF);
|
|
57
|
+
--semi-color-primary-hover: color-mix(in srgb, var(--theme-primary, #4086FF), white 15%);
|
|
58
|
+
--semi-color-primary-active: color-mix(in srgb, var(--theme-primary, #4086FF), black 18%);
|
|
59
|
+
--semi-color-primary-disabled: color-mix(in srgb, var(--theme-primary, #4086FF), white 60%);
|
|
60
|
+
--semi-color-primary-light-default: color-mix(in srgb, var(--theme-primary, #4086FF), white 88%);
|
|
61
|
+
--semi-color-primary-light-hover: color-mix(in srgb, var(--theme-primary, #4086FF), white 80%);
|
|
62
|
+
--semi-color-primary-light-active: color-mix(in srgb, var(--theme-primary, #4086FF), white 70%);
|
|
63
|
+
--semi-blue-5: 64, 134, 255;
|
|
64
|
+
--semi-blue-6: 105, 165, 255;
|
|
65
|
+
--semi-blue-7: 58, 118, 217;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Host 切换主题示例 (复制到自己项目):
|
|
70
|
+
*
|
|
71
|
+
* :root {
|
|
72
|
+
* --theme-primary: #4086FF;
|
|
73
|
+
* }
|
|
74
|
+
* body.theme-warm {
|
|
75
|
+
* --theme-primary: #FF8A3D;
|
|
76
|
+
* --semi-blue-5: 255, 138, 61;
|
|
77
|
+
* --semi-blue-6: 255, 166, 102;
|
|
78
|
+
* --semi-blue-7: 217, 105, 30;
|
|
79
|
+
* }
|
|
80
|
+
*/
|