yt-chat-components 1.8.8 → 1.8.9
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/build/asset-manifest.json +20 -0
- package/build/index.html +1 -0
- package/build/static/css/main.08f749d2.css +2 -0
- package/build/static/css/main.08f749d2.css.map +1 -0
- package/build/static/js/main.490b7931.js +3 -0
- package/build/static/js/main.490b7931.js.LICENSE.txt +185 -0
- package/build/static/js/main.490b7931.js.map +1 -0
- package/build/static/media/ai_call_working.a63afffab31dc8264d05.gif +0 -0
- package/build/static/media/aiavatar.74bafa995cce4c01b804.png +0 -0
- package/build/static/media/history-list-empty.1eb65b1550aef4e8c8a4.png +0 -0
- package/build/static/media/icon_history_headerbg.50747e81d01257f55346.png +0 -0
- package/build/static/media/moreAi.285e66289f838072060c.png +0 -0
- package/build/static/media/moreBg.9fc998472925cecd89f2.png +0 -0
- package/build/static/media/phone.19bc6f0d2e9eae4863ae.png +0 -0
- package/package.json +1 -1
- package/src/YtChatView/chatWidget/chatWindow/index.tsx +3 -3
- package/src/YtChatView/previewDialogV2/index.jsx +3 -3
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -187,7 +187,7 @@ const ChatWindow = forwardRef<ChatWindowRef, ChatWindowProps>(({
|
|
|
187
187
|
const isStream = true;//是否流式输出(手动开关)
|
|
188
188
|
const [recordState, setRecordState] = useState(false); // 录音状态。true为正在录音,false为停止录音
|
|
189
189
|
const [tagList, setTagList] = useState([]); // 问题标签列表
|
|
190
|
-
const {isTitleSideIcon, logoWidth, agentUrl, stopMessageUrl, sendMessageUrl, speakUrl, callUrl, smartBoyUrl, wonderBoyUrl,
|
|
190
|
+
const {isTitleSideIcon, logoWidth, agentUrl, stopMessageUrl, sendMessageUrl, speakUrl, callUrl, smartBoyUrl, wonderBoyUrl, isHideTabSelector} = baseConfig;
|
|
191
191
|
const [inputContainerHeight, setInputContainerHeight] = useState('120px')
|
|
192
192
|
let content_id: string = null
|
|
193
193
|
let content_ns: string = null
|
|
@@ -1041,7 +1041,7 @@ const ChatWindow = forwardRef<ChatWindowRef, ChatWindowProps>(({
|
|
|
1041
1041
|
<div style={{width: '36px', height: '1px', border: '1px dashed rgb(192, 194, 197)'}}></div>
|
|
1042
1042
|
</div>
|
|
1043
1043
|
}
|
|
1044
|
-
|
|
1044
|
+
<TabSelector
|
|
1045
1045
|
isMobile={isMobile}
|
|
1046
1046
|
isSimple={isMobile}
|
|
1047
1047
|
isShowByPages={true}
|
|
@@ -1060,8 +1060,8 @@ const ChatWindow = forwardRef<ChatWindowRef, ChatWindowProps>(({
|
|
|
1060
1060
|
}}
|
|
1061
1061
|
dataList={questions}
|
|
1062
1062
|
customUrl={wonderBoyUrl}
|
|
1063
|
+
isHideTabSelector={isHideTabSelector}
|
|
1063
1064
|
/>
|
|
1064
|
-
}
|
|
1065
1065
|
</div>,
|
|
1066
1066
|
isSend: false,
|
|
1067
1067
|
error: false,
|
|
@@ -478,7 +478,7 @@ export class ToolDialogV2 extends React.Component {
|
|
|
478
478
|
cnxwBottomUrl,
|
|
479
479
|
isShowVoiceButton,
|
|
480
480
|
footerStyle,
|
|
481
|
-
|
|
481
|
+
isHideTabSelector,
|
|
482
482
|
} = this.props;
|
|
483
483
|
const { currentFlow = {} } = this.state;
|
|
484
484
|
return (
|
|
@@ -564,7 +564,7 @@ export class ToolDialogV2 extends React.Component {
|
|
|
564
564
|
getHistoryList={this.getHistoryList}
|
|
565
565
|
setDropDownList={(list) => this.setState({ dropDownList: list })}
|
|
566
566
|
dropDownList={this.state.dropDownList}
|
|
567
|
-
baseConfig={{ isTitleSideIcon, logoWidth, agentUrl, ...assetMap,
|
|
567
|
+
baseConfig={{ isTitleSideIcon, logoWidth, agentUrl, ...assetMap, isHideTabSelector }}
|
|
568
568
|
isShowUploadButton={isShowUploadButton}
|
|
569
569
|
isShowVoiceButton={isShowVoiceButton}
|
|
570
570
|
dropManUrl={currentFlow.character}
|
|
@@ -610,7 +610,7 @@ export class ToolDialogV2 extends React.Component {
|
|
|
610
610
|
<span>热点问题</span>
|
|
611
611
|
</div>
|
|
612
612
|
{
|
|
613
|
-
|
|
613
|
+
isHideTabSelector && <TabSelector
|
|
614
614
|
isSimple={true}
|
|
615
615
|
keyShowSize={2}
|
|
616
616
|
isShowByPages={false}
|