bhd-components 0.9.20 → 0.9.21
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/index.esm.es5.development.css +1133 -1109
- package/dist/index.esm.es5.development.js +7 -7
- package/dist/index.esm.es5.production.css +1 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/dist/vendor.esm.es5.development.js +1 -1
- package/dist/vendor.esm.es5.production.js +1 -1
- package/es2017/customerService/index.js +8 -3
- package/es2017/customerService/index.module.less +54 -38
- package/es2017/customerService/index2.module.less +51 -35
- package/esm/customerService/index.js +8 -3
- package/esm/customerService/index.module.less +54 -38
- package/esm/customerService/index2.module.less +51 -35
- package/package.json +1 -1
|
@@ -2621,7 +2621,7 @@ function BhdAppLayout(props) {
|
|
|
2621
2621
|
});
|
|
2622
2622
|
}
|
|
2623
2623
|
|
|
2624
|
-
var modules_63b47c51$1 = {"service_ChatWindow_Drawer":"
|
|
2624
|
+
var modules_63b47c51$1 = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__15161658","ChatWindow_Modal":"index_module_ChatWindow_Modal__15161658","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__15161658","header_wrap":"index_module_header_wrap__15161658","top":"index_module_top__15161658","user":"index_module_user__15161658","count":"index_module_count__15161658","operate":"index_module_operate__15161658","line":"index_module_line__15161658","popover_main":"index_module_popover_main__15161658","popover":"index_module_popover__15161658","header_wrap_newlabo":"index_module_header_wrap_newlabo__15161658","Drawer_main":"index_module_Drawer_main__15161658","loading":"index_module_loading__15161658","message_con":"index_module_message_con__15161658","left":"index_module_left__15161658","head_sculpture":"index_module_head_sculpture__15161658","main_content":"index_module_main_content__15161658","right":"index_module_right__15161658","main":"index_module_main__15161658","main_content_flag":"index_module_main_content_flag__15161658","operate_modal":"index_module_operate_modal__15161658","operate_modal_bottom":"index_module_operate_modal_bottom__15161658","active":"index_module_active__15161658","stop_generate":"index_module_stop_generate__15161658","icon":"index_module_icon__15161658","find_teacher":"index_module_find_teacher__15161658","stop_findTeacher":"index_module_stop_findTeacher__15161658","content":"index_module_content__15161658","content_child":"index_module_content_child__15161658","find_teacher_con":"index_module_find_teacher_con__15161658","sign":"index_module_sign__15161658","ask_question":"index_module_ask_question__15161658","bottom":"index_module_bottom__15161658","association_problem":"index_module_association_problem__15161658","association_problem_flag":"index_module_association_problem_flag__15161658","related_issues_flag":"index_module_related_issues_flag__15161658","img_con":"index_module_img_con__15161658","mask_zoom":"index_module_mask_zoom__15161658","img_con2":"index_module_img_con2__15161658","copyCode":"index_module_copyCode__15161658","time":"index_module_time__15161658","citation_content":"index_module_citation_content__15161658","text_exceed":"index_module_text_exceed__15161658","popover_content":"index_module_popover_content__15161658","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__15161658","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__15161658","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__15161658","issues_list_teacherList":"index_module_issues_list_teacherList__15161658","item":"index_module_item__15161658","issues_list":"index_module_issues_list__15161658","issues_list_flag":"index_module_issues_list_flag__15161658","Drawer_buttom":"index_module_Drawer_buttom__15161658","input_wrap":"index_module_input_wrap__15161658","input":"index_module_input__15161658","picture_layout":"index_module_picture_layout__15161658","icon_close":"index_module_icon_close__15161658","icon_zoom":"index_module_icon_zoom__15161658","anticon":"index_module_anticon__15161658","no_AI":"index_module_no_AI__15161658","screenshot":"index_module_screenshot__15161658","disabled":"index_module_disabled__15161658","content_main":"index_module_content_main__15161658","content_con":"index_module_content_con__15161658","delete_quote":"index_module_delete_quote__15161658","sending":"index_module_sending__15161658","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__15161658","main_list":"index_module_main_list__15161658","chat_content":"index_module_chat_content__15161658","popover_main_content":"index_module_popover_main_content__15161658","popover_main_content_name":"index_module_popover_main_content_name__15161658","teacher_layout":"index_module_teacher_layout__15161658","delete":"index_module_delete__15161658","num":"index_module_num__15161658","shrink":"index_module_shrink__15161658","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__15161658","teacher_layout_modal":"index_module_teacher_layout_modal__15161658","ai":"index_module_ai__15161658","user_info":"index_module_user_info__15161658","message":"index_module_message__15161658","con":"index_module_con__15161658","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__15161658","history_list":"index_module_history_list__15161658","search_layout":"index_module_search_layout__15161658","mymove":"index_module_mymove__15161658","title":"index_module_title__15161658","search_top":"index_module_search_top__15161658","list_item":"index_module_list_item__15161658","list_summary":"index_module_list_summary__15161658","head_img":"index_module_head_img__15161658","list_desc":"index_module_list_desc__15161658","name":"index_module_name__15161658","decs":"index_module_decs__15161658","open":"index_module_open__15161658","list_summary_active":"index_module_list_summary_active__15161658","list_detail":"index_module_list_detail__15161658","list":"index_module_list__15161658","list_more":"index_module_list_more__15161658","no_data":"index_module_no_data__15161658","history_list_broadside":"index_module_history_list_broadside__15161658","teacher_list":"index_module_teacher_list__15161658","screenshot_Modal":"index_module_screenshot_Modal__15161658","ReactCrop":"index_module_ReactCrop__15161658","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__15161658"};
|
|
2625
2625
|
|
|
2626
2626
|
//消息已读
|
|
2627
2627
|
var readMessage = function(roomId, urllocation, userData, http) {
|
|
@@ -10994,16 +10994,13 @@ var CustomerService = function(props) {
|
|
|
10994
10994
|
//渲染底部按钮
|
|
10995
10995
|
var renderBottomAnt = function() {
|
|
10996
10996
|
var placeholder = "";
|
|
10997
|
-
var disabled = false;
|
|
10998
10997
|
if (!finished) {
|
|
10999
10998
|
placeholder = "答案生成中,请稍后再发送...";
|
|
11000
10999
|
}
|
|
11001
11000
|
if (screenshotBese64) {
|
|
11002
11001
|
placeholder = "在发送之前,请输入需要对这个图片做的操作...";
|
|
11003
|
-
disabled = true;
|
|
11004
11002
|
} else {
|
|
11005
11003
|
placeholder = "请输入问题,按Enter发送,Shift+Enter换行";
|
|
11006
|
-
disabled = true;
|
|
11007
11004
|
}
|
|
11008
11005
|
return /*#__PURE__*/ jsxs(Fragment, {
|
|
11009
11006
|
children: [
|
|
@@ -11100,6 +11097,9 @@ var CustomerService = function(props) {
|
|
|
11100
11097
|
// console.log('发送内容22222',props)
|
|
11101
11098
|
// console.log(roomList,roomId,'发送内容22222wewewewewewewe');
|
|
11102
11099
|
if (!e.shiftKey && !e.altKey && !e.ctrlKey && keyWord.trim() != "") {
|
|
11100
|
+
if (!finished) {
|
|
11101
|
+
return;
|
|
11102
|
+
}
|
|
11103
11103
|
e.stopPropagation();
|
|
11104
11104
|
e.preventDefault();
|
|
11105
11105
|
clearTimeout(timer.current);
|
|
@@ -11127,7 +11127,7 @@ var CustomerService = function(props) {
|
|
|
11127
11127
|
onFocus: function() {
|
|
11128
11128
|
onEvent(serverName + serverUrl(), "click_智能问答_输入框", "提交");
|
|
11129
11129
|
},
|
|
11130
|
-
disabled
|
|
11130
|
+
// disabled={!disabled || !finished}
|
|
11131
11131
|
maxLength: 1000,
|
|
11132
11132
|
id: "con_textarea"
|
|
11133
11133
|
}),
|
|
@@ -11188,9 +11188,9 @@ var CustomerService = function(props) {
|
|
|
11188
11188
|
/*#__PURE__*/ jsx("p", {
|
|
11189
11189
|
className: "".concat(styles.sending),
|
|
11190
11190
|
children: /*#__PURE__*/ jsx("i", {
|
|
11191
|
-
className: "".concat(!
|
|
11191
|
+
className: "".concat(!finished || keyWord.trim() == "" ? styles.disabled : ""),
|
|
11192
11192
|
onClick: function() {
|
|
11193
|
-
if (
|
|
11193
|
+
if (!finished || keyWord.trim() == "") return;
|
|
11194
11194
|
setCitationContent({});
|
|
11195
11195
|
setButtomHei(45);
|
|
11196
11196
|
if (keyWord.trim() != "") {
|