yt-chat-components 1.0.2 → 1.0.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yt-chat-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"main": "build/static/js/bundle.min.js",
|
|
5
5
|
"module": "build/static/js/bundle.min.js",
|
|
6
6
|
"types": "build/static/js/index.d.ts",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"axios": "^1.4.0",
|
|
22
22
|
"lodash": "^4.17.21",
|
|
23
23
|
"lucide-react": "^0.256.0",
|
|
24
|
+
"react-draggable": "^4.4.6",
|
|
24
25
|
"react": "^17.0.0 || ^18.0.0",
|
|
25
26
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
26
27
|
"react-markdown": "^8.0.7",
|
|
@@ -2439,6 +2439,11 @@ input::-ms-input-placeholder { /* Microsoft Edge */
|
|
|
2439
2439
|
flex-wrap: wrap;
|
|
2440
2440
|
gap: 8px;
|
|
2441
2441
|
}
|
|
2442
|
+
.w_tagListClass::-webkit-scrollbar {
|
|
2443
|
+
height: 0px;
|
|
2444
|
+
display: none;
|
|
2445
|
+
background: transparent;
|
|
2446
|
+
}
|
|
2442
2447
|
.w_tagListClass .w_tagItemBox {
|
|
2443
2448
|
padding: 8px 12px;
|
|
2444
2449
|
display: flex;
|
|
@@ -382,8 +382,8 @@ export class MobileChatPage extends React.Component {
|
|
|
382
382
|
|
|
383
383
|
setWindowTitle = (title) => {
|
|
384
384
|
if (!isEmpty(title)){
|
|
385
|
-
document.title =
|
|
386
|
-
window.document.title =
|
|
385
|
+
document.title = 'AI校园智多星';
|
|
386
|
+
window.document.title = 'AI校园智多星';
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
|
|
@@ -611,7 +611,7 @@ export class MobileChatPage extends React.Component {
|
|
|
611
611
|
{
|
|
612
612
|
this.state.currentTabKey === 'agent' &&
|
|
613
613
|
<div className="p_historyList" style={{overflowY: 'auto', height: 'calc(100% - 90px)'}}>
|
|
614
|
-
{
|
|
614
|
+
{flows?.map((item) => (
|
|
615
615
|
<div
|
|
616
616
|
key={item.id}
|
|
617
617
|
className="p_historyItem"
|
|
@@ -676,7 +676,7 @@ export class MobileChatPage extends React.Component {
|
|
|
676
676
|
this.state.currentTabKey === 'history' &&
|
|
677
677
|
(this.state.historyList.length > 0 ? (
|
|
678
678
|
<div className="p_historyList" style={{overflowY: 'auto', height: 'calc(100% - 70px)'}}>
|
|
679
|
-
{
|
|
679
|
+
{this.state.historyList?.map((item) => (
|
|
680
680
|
<div
|
|
681
681
|
key={item.session_id}
|
|
682
682
|
className="p_historyItem"
|