bhd-components 0.7.40 → 0.7.42

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.
@@ -1,5 +1,5 @@
1
- import { z as zhCN, A as App, _ as _object_spread, a as AntdMessage, M as Modal$1, b as AntdNotification, C as ConfigProvider, c as _extends, d as _object_destructuring_empty, j as jsx, e as _object_spread_props, f as jsxs, t as transform, S as StyleProvider, g as _sliced_to_array, T as Tooltip, h as Table$2, I as Icon, E as ExclamationCircleFilled, i as _to_consumable_array, P as Pagination$1, k as Select, l as CaretDownOutlined, m as _inherits, n as _create_super, o as _create_class, p as _class_call_check, q as _define_property, r as _assert_this_initialized, s as _async_to_generator, L as LeftOutlined, R as RightOutlined, u as MinusOutlined, v as PlusOutlined, w as __generator, x as Input, y as SearchOutlined, B as CloseOutlined, X, D as I, H, F as Remarkable, G as Drawer, J as HighlightJS, Z as ZoomInOutlined } from './47cd911e.esm.es5.development.js';
2
- export { K as Affix, N as Alert, O as Anchor, a as AntdMessage, A as App, Q as AutoComplete, U as Avatar, W as BackTop, Y as Badge, $ as Breadcrumb, a0 as Button, a1 as Calendar, a2 as Card, a3 as Carousel, a4 as Cascader, a5 as Checkbox, a6 as Col, a7 as Collapse, a8 as DatePicker, a9 as Descriptions, aa as Divider, G as Drawer, ab as Dropdown, ac as Empty, V as FloatButton, ad as Form, ae as Grid, af as Image, x as Input, ag as InputNumber, ah as Layout, ai as List, aj as Mentions, ak as Menu, M as Modal, al as Popconfirm, am as Popover, an as Progress, aM as QRCode, ao as Radio, ap as Rate, aq as Result, ar as Row, as as Segmented, k as Select, at as Skeleton, au as Slider, av as Space, aw as Spin, ax as Statistic, ay as Steps, az as Switch, aA as Tabs, aB as Tag, aD as TimePicker, aE as Timeline, T as Tooltip, aF as Tour, aG as Transfer, aH as Tree, aI as TreeSelect, aJ as Typography, aK as Upload, aL as Watermark, aO as en_US, b as notification, aC as theme, aN as version, z as zh_CN } from './47cd911e.esm.es5.development.js';
1
+ import { z as zhCN, A as App, _ as _object_spread, a as AntdMessage, M as Modal$1, b as AntdNotification, C as ConfigProvider, c as _extends, d as _object_destructuring_empty, j as jsx, e as _object_spread_props, f as jsxs, t as transform, S as StyleProvider, g as _sliced_to_array, T as Tooltip, h as Table$2, I as Icon, E as ExclamationCircleFilled, i as _to_consumable_array, P as Pagination$1, k as Select, l as CaretDownOutlined, m as _inherits, n as _create_super, o as _create_class, p as _class_call_check, q as _define_property, r as _assert_this_initialized, s as _async_to_generator, L as LeftOutlined, R as RightOutlined, u as MinusOutlined, v as PlusOutlined, w as __generator, x as Input, y as SearchOutlined, B as CloseOutlined, X, D as I, H, F as Remarkable, G as Drawer, J as HighlightJS, Z as ZoomInOutlined } from './c6e292ae.esm.es5.development.js';
2
+ export { K as Affix, N as Alert, O as Anchor, a as AntdMessage, A as App, Q as AutoComplete, U as Avatar, W as BackTop, Y as Badge, $ as Breadcrumb, a0 as Button, a1 as Calendar, a2 as Card, a3 as Carousel, a4 as Cascader, a5 as Checkbox, a6 as Col, a7 as Collapse, a8 as DatePicker, a9 as Descriptions, aa as Divider, G as Drawer, ab as Dropdown, ac as Empty, V as FloatButton, ad as Form, ae as Grid, af as Image, x as Input, ag as InputNumber, ah as Layout, ai as List, aj as Mentions, ak as Menu, M as Modal, al as Popconfirm, am as Popover, an as Progress, aM as QRCode, ao as Radio, ap as Rate, aq as Result, ar as Row, as as Segmented, k as Select, at as Skeleton, au as Slider, av as Space, aw as Spin, ax as Statistic, ay as Steps, az as Switch, aA as Tabs, aB as Tag, aD as TimePicker, aE as Timeline, T as Tooltip, aF as Tour, aG as Transfer, aH as Tree, aI as TreeSelect, aJ as Typography, aK as Upload, aL as Watermark, aO as en_US, b as notification, aC as theme, aN as version, z as zh_CN } from './c6e292ae.esm.es5.development.js';
3
3
  import * as React from 'react';
4
4
  import { useState, useRef, useEffect, useLayoutEffect, forwardRef, useImperativeHandle } from 'react';
5
5
  import { Fragment } from 'react/jsx-runtime';
@@ -2473,7 +2473,7 @@ function BhdAppLayout(props) {
2473
2473
  });
2474
2474
  }
2475
2475
 
2476
- var modules_63b47c51 = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__1cdd11a9","ChatWindow_Modal":"index_module_ChatWindow_Modal__1cdd11a9","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__1cdd11a9","header_wrap":"index_module_header_wrap__1cdd11a9","top":"index_module_top__1cdd11a9","user":"index_module_user__1cdd11a9","count":"index_module_count__1cdd11a9","operate":"index_module_operate__1cdd11a9","line":"index_module_line__1cdd11a9","popover_main":"index_module_popover_main__1cdd11a9","popover":"index_module_popover__1cdd11a9","header_wrap_newlabo":"index_module_header_wrap_newlabo__1cdd11a9","Drawer_main":"index_module_Drawer_main__1cdd11a9","loading":"index_module_loading__1cdd11a9","message_con":"index_module_message_con__1cdd11a9","left":"index_module_left__1cdd11a9","head_sculpture":"index_module_head_sculpture__1cdd11a9","main_content":"index_module_main_content__1cdd11a9","right":"index_module_right__1cdd11a9","main":"index_module_main__1cdd11a9","main_content_flag":"index_module_main_content_flag__1cdd11a9","operate_modal":"index_module_operate_modal__1cdd11a9","operate_modal_bottom":"index_module_operate_modal_bottom__1cdd11a9","active":"index_module_active__1cdd11a9","stop_generate":"index_module_stop_generate__1cdd11a9","icon":"index_module_icon__1cdd11a9","find_teacher":"index_module_find_teacher__1cdd11a9","stop_findTeacher":"index_module_stop_findTeacher__1cdd11a9","content":"index_module_content__1cdd11a9","content_child":"index_module_content_child__1cdd11a9","find_teacher_con":"index_module_find_teacher_con__1cdd11a9","sign":"index_module_sign__1cdd11a9","ask_question":"index_module_ask_question__1cdd11a9","association_problem":"index_module_association_problem__1cdd11a9","association_problem_flag":"index_module_association_problem_flag__1cdd11a9","related_issues_flag":"index_module_related_issues_flag__1cdd11a9","img_con":"index_module_img_con__1cdd11a9","mask_zoom":"index_module_mask_zoom__1cdd11a9","img_con2":"index_module_img_con2__1cdd11a9","copyCode":"index_module_copyCode__1cdd11a9","time":"index_module_time__1cdd11a9","citation_content":"index_module_citation_content__1cdd11a9","text_exceed":"index_module_text_exceed__1cdd11a9","popover_content":"index_module_popover_content__1cdd11a9","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__1cdd11a9","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__1cdd11a9","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__1cdd11a9","issues_list_teacherList":"index_module_issues_list_teacherList__1cdd11a9","item":"index_module_item__1cdd11a9","issues_list":"index_module_issues_list__1cdd11a9","issues_list_flag":"index_module_issues_list_flag__1cdd11a9","Drawer_buttom":"index_module_Drawer_buttom__1cdd11a9","input_wrap":"index_module_input_wrap__1cdd11a9","input":"index_module_input__1cdd11a9","picture_layout":"index_module_picture_layout__1cdd11a9","icon_close":"index_module_icon_close__1cdd11a9","icon_zoom":"index_module_icon_zoom__1cdd11a9","anticon":"index_module_anticon__1cdd11a9","no_AI":"index_module_no_AI__1cdd11a9","screenshot":"index_module_screenshot__1cdd11a9","disabled":"index_module_disabled__1cdd11a9","content_main":"index_module_content_main__1cdd11a9","content_con":"index_module_content_con__1cdd11a9","delete_quote":"index_module_delete_quote__1cdd11a9","sending":"index_module_sending__1cdd11a9","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__1cdd11a9","main_list":"index_module_main_list__1cdd11a9","chat_content":"index_module_chat_content__1cdd11a9","popover_main_content":"index_module_popover_main_content__1cdd11a9","popover_main_content_name":"index_module_popover_main_content_name__1cdd11a9","teacher_layout":"index_module_teacher_layout__1cdd11a9","bottom":"index_module_bottom__1cdd11a9","delete":"index_module_delete__1cdd11a9","num":"index_module_num__1cdd11a9","shrink":"index_module_shrink__1cdd11a9","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__1cdd11a9","teacher_layout_modal":"index_module_teacher_layout_modal__1cdd11a9","ai":"index_module_ai__1cdd11a9","user_info":"index_module_user_info__1cdd11a9","message":"index_module_message__1cdd11a9","con":"index_module_con__1cdd11a9","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__1cdd11a9","history_list":"index_module_history_list__1cdd11a9","search_layout":"index_module_search_layout__1cdd11a9","mymove":"index_module_mymove__1cdd11a9","title":"index_module_title__1cdd11a9","search_top":"index_module_search_top__1cdd11a9","list_item":"index_module_list_item__1cdd11a9","list_summary":"index_module_list_summary__1cdd11a9","head_img":"index_module_head_img__1cdd11a9","list_desc":"index_module_list_desc__1cdd11a9","name":"index_module_name__1cdd11a9","decs":"index_module_decs__1cdd11a9","open":"index_module_open__1cdd11a9","list_summary_active":"index_module_list_summary_active__1cdd11a9","list_detail":"index_module_list_detail__1cdd11a9","list":"index_module_list__1cdd11a9","list_more":"index_module_list_more__1cdd11a9","no_data":"index_module_no_data__1cdd11a9","history_list_broadside":"index_module_history_list_broadside__1cdd11a9","teacher_list":"index_module_teacher_list__1cdd11a9","screenshot_Modal":"index_module_screenshot_Modal__1cdd11a9","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__1cdd11a9"};
2476
+ var modules_63b47c51 = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__bf3246f1","ChatWindow_Modal":"index_module_ChatWindow_Modal__bf3246f1","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__bf3246f1","header_wrap":"index_module_header_wrap__bf3246f1","top":"index_module_top__bf3246f1","user":"index_module_user__bf3246f1","count":"index_module_count__bf3246f1","operate":"index_module_operate__bf3246f1","line":"index_module_line__bf3246f1","popover_main":"index_module_popover_main__bf3246f1","popover":"index_module_popover__bf3246f1","header_wrap_newlabo":"index_module_header_wrap_newlabo__bf3246f1","Drawer_main":"index_module_Drawer_main__bf3246f1","loading":"index_module_loading__bf3246f1","message_con":"index_module_message_con__bf3246f1","left":"index_module_left__bf3246f1","head_sculpture":"index_module_head_sculpture__bf3246f1","main_content":"index_module_main_content__bf3246f1","right":"index_module_right__bf3246f1","main":"index_module_main__bf3246f1","main_content_flag":"index_module_main_content_flag__bf3246f1","operate_modal":"index_module_operate_modal__bf3246f1","operate_modal_bottom":"index_module_operate_modal_bottom__bf3246f1","active":"index_module_active__bf3246f1","stop_generate":"index_module_stop_generate__bf3246f1","icon":"index_module_icon__bf3246f1","find_teacher":"index_module_find_teacher__bf3246f1","stop_findTeacher":"index_module_stop_findTeacher__bf3246f1","content":"index_module_content__bf3246f1","content_child":"index_module_content_child__bf3246f1","find_teacher_con":"index_module_find_teacher_con__bf3246f1","sign":"index_module_sign__bf3246f1","ask_question":"index_module_ask_question__bf3246f1","association_problem":"index_module_association_problem__bf3246f1","association_problem_flag":"index_module_association_problem_flag__bf3246f1","related_issues_flag":"index_module_related_issues_flag__bf3246f1","img_con":"index_module_img_con__bf3246f1","mask_zoom":"index_module_mask_zoom__bf3246f1","img_con2":"index_module_img_con2__bf3246f1","copyCode":"index_module_copyCode__bf3246f1","time":"index_module_time__bf3246f1","citation_content":"index_module_citation_content__bf3246f1","text_exceed":"index_module_text_exceed__bf3246f1","popover_content":"index_module_popover_content__bf3246f1","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__bf3246f1","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__bf3246f1","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__bf3246f1","issues_list_teacherList":"index_module_issues_list_teacherList__bf3246f1","item":"index_module_item__bf3246f1","issues_list":"index_module_issues_list__bf3246f1","issues_list_flag":"index_module_issues_list_flag__bf3246f1","Drawer_buttom":"index_module_Drawer_buttom__bf3246f1","input_wrap":"index_module_input_wrap__bf3246f1","input":"index_module_input__bf3246f1","picture_layout":"index_module_picture_layout__bf3246f1","icon_close":"index_module_icon_close__bf3246f1","icon_zoom":"index_module_icon_zoom__bf3246f1","anticon":"index_module_anticon__bf3246f1","no_AI":"index_module_no_AI__bf3246f1","screenshot":"index_module_screenshot__bf3246f1","disabled":"index_module_disabled__bf3246f1","content_main":"index_module_content_main__bf3246f1","content_con":"index_module_content_con__bf3246f1","delete_quote":"index_module_delete_quote__bf3246f1","sending":"index_module_sending__bf3246f1","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__bf3246f1","main_list":"index_module_main_list__bf3246f1","chat_content":"index_module_chat_content__bf3246f1","popover_main_content":"index_module_popover_main_content__bf3246f1","popover_main_content_name":"index_module_popover_main_content_name__bf3246f1","teacher_layout":"index_module_teacher_layout__bf3246f1","bottom":"index_module_bottom__bf3246f1","delete":"index_module_delete__bf3246f1","num":"index_module_num__bf3246f1","shrink":"index_module_shrink__bf3246f1","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__bf3246f1","teacher_layout_modal":"index_module_teacher_layout_modal__bf3246f1","ai":"index_module_ai__bf3246f1","user_info":"index_module_user_info__bf3246f1","message":"index_module_message__bf3246f1","con":"index_module_con__bf3246f1","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__bf3246f1","history_list":"index_module_history_list__bf3246f1","search_layout":"index_module_search_layout__bf3246f1","mymove":"index_module_mymove__bf3246f1","title":"index_module_title__bf3246f1","search_top":"index_module_search_top__bf3246f1","list_item":"index_module_list_item__bf3246f1","list_summary":"index_module_list_summary__bf3246f1","head_img":"index_module_head_img__bf3246f1","list_desc":"index_module_list_desc__bf3246f1","name":"index_module_name__bf3246f1","decs":"index_module_decs__bf3246f1","open":"index_module_open__bf3246f1","list_summary_active":"index_module_list_summary_active__bf3246f1","list_detail":"index_module_list_detail__bf3246f1","list":"index_module_list__bf3246f1","list_more":"index_module_list_more__bf3246f1","no_data":"index_module_no_data__bf3246f1","history_list_broadside":"index_module_history_list_broadside__bf3246f1","teacher_list":"index_module_teacher_list__bf3246f1","screenshot_Modal":"index_module_screenshot_Modal__bf3246f1","ReactCrop":"index_module_ReactCrop__bf3246f1","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__bf3246f1"};
2477
2477
 
2478
2478
  //消息已读
2479
2479
  var readMessage = function(roomId, urllocation, userData, http) {
@@ -3395,6 +3395,9 @@ var ScreenshotTool = /*#__PURE__*/ forwardRef(function(props, ref) {
3395
3395
  minWidth: 100,
3396
3396
  children: /*#__PURE__*/ jsx("img", {
3397
3397
  alt: "Crop me",
3398
+ style: {
3399
+ display: "none"
3400
+ },
3398
3401
  src: imgBese64,
3399
3402
  onLoad: onImageLoad
3400
3403
  })
@@ -3724,7 +3727,7 @@ var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAA
3724
3727
  var styles = modules_63b47c51;
3725
3728
  var TextArea = Input.TextArea;
3726
3729
  var CustomerService = function(props) {
3727
- var userData = props.userData, http = props.http, urllocation = props.urllocation, onCancel = props.onCancel, serverName = props.serverName, fetchEventSource = props.fetchEventSource, initShowType = props.initShowType, onEvent = props.onEvent, stepIds = props.stepIds, stepId = props.stepId, screenshotAreaId = props.screenshotAreaId, config = props.config;
3730
+ var userData = props.userData, http = props.http, urllocation = props.urllocation, onCancel = props.onCancel, serverName = props.serverName, fetchEventSource = props.fetchEventSource, initShowType = props.initShowType, onEvent = props.onEvent, stepIds = props.stepIds, stepId = props.stepId; props.screenshotAreaId; var config = props.config;
3728
3731
  // const { bese64String, startRecord, stopRecord } = useMediaRecorder(); //语音转文字
3729
3732
  // const [voiceRecordingStatus, setVoiceRecordingStatus] = useState(3); //语音录制状态 3,语音识别完成 2,录制中, 1,录制结束
3730
3733
  var _useState = _sliced_to_array(useState([]), 2), copyTextOBJ = _useState[0], setCopyTextObj = _useState[1]; //复制的消息id
@@ -3801,33 +3804,105 @@ var CustomerService = function(props) {
3801
3804
  initShowType
3802
3805
  ]);
3803
3806
  useEffect(function() {
3804
- //|| showScreenshot
3805
- if (showType == 5 || showScreenshot) {
3807
+ function handlerHtml2canvas() {
3808
+ console.log("kkkkkkkkkkk");
3806
3809
  try {
3807
3810
  newShowType.current = true;
3808
3811
  setImgBese64("");
3809
- // let dom = document.getElementById(screenshotAreaId);
3810
- html2canvas(screenshotAreaId, {
3811
- useCORS: true,
3812
- // allowTaint: true, // 污染处理
3813
- scale: 1,
3814
- // logging:true,
3815
- ignoreElements: function(element) {
3816
- if (element.compareDocumentPosition(screenshotAreaId) === 2) return true;
3817
- return false;
3812
+ var plugin = new screenShotPlugin({
3813
+ clickCutFullScreen: true,
3814
+ enableWebRtc: true,
3815
+ loadCrossImg: true,
3816
+ canvasWidth: window.innerWidth,
3817
+ canvasHeight: window.innerHeight,
3818
+ level: -1,
3819
+ hiddenToolIco: true,
3820
+ screenShotDom: document.body,
3821
+ cropBoxInfo: {
3822
+ x: 0,
3823
+ y: 0,
3824
+ w: window.innerWidth,
3825
+ h: window.innerHeight
3826
+ },
3827
+ wrcReplyTime: 500,
3828
+ wrcWindowMode: false,
3829
+ hiddenScrollBar: {
3830
+ state: false
3831
+ },
3832
+ completeCallback: function(param) {
3833
+ var base64 = param.base64;
3834
+ // console.log(
3835
+ // "截图组件加载完毕调用此方法来完成框选区域的截图",
3836
+ // base64
3837
+ // );
3838
+ setImgBese64(base64);
3839
+ },
3840
+ triggerCallback: function() {
3841
+ // 截图组件加载完毕调用此方法来完成框选区域的截图
3842
+ plugin.completeScreenshot();
3818
3843
  }
3819
- }).then(function(canvas) {
3820
- // document.body.appendChild(canvas);
3821
- console.log(canvas, 99999);
3822
- // var base64URL = canvas.toDataURL('image/jpeg')
3823
- var base64URL = canvas.toDataURL("image/jpg", 1.0);
3824
- console.log(base64URL);
3825
- setImgBese64(base64URL);
3826
3844
  });
3845
+ // modernScreenshot
3846
+ // .domToPng(document.querySelector("body"))
3847
+ // .then((dataUrl:any) => {
3848
+ // console.log(dataUrl);
3849
+ // setImgBese64(dataUrl);
3850
+ // });
3851
+ // domtoimage
3852
+ // .toPng(document.body)
3853
+ // .then(function (dataUrl:any) {
3854
+ // setImgBese64(dataUrl);
3855
+ // })
3856
+ // .catch(function (error:any) {
3857
+ // console.error("oops, something went wrong!", error);
3858
+ // });
3859
+ // //排除
3860
+ // new screenShotPlugin({
3861
+ // enableWebRtc: true,
3862
+ // canvasWidth:window.innerWidth,
3863
+ // canvasHeight:window.innerHeight,
3864
+ // level:9999999,
3865
+ // completeCallback: function (info:any) {
3866
+ // console.log(info);
3867
+ // setImgBese64(info.base64);
3868
+ // },
3869
+ // closeCallback: function () {
3870
+ // },
3871
+ // });
3872
+ // html2canvas(document.body,{//__docusaurus
3873
+ // useCORS: true, // 支持跨域图片截图
3874
+ // allowTaint: true, // 污染处理
3875
+ // scale: 1 ,// 图片比例
3876
+ // logging:false,
3877
+ // // foreignObjectRendering:true,
3878
+ // ignoreElements:(element: { compareDocumentPosition: (arg0: string) => number; })=>{
3879
+ // if(element.compareDocumentPosition(screenshotAreaId)===2)return true
3880
+ // return false
3881
+ // },
3882
+ // windowWidth:window.innerWidth,
3883
+ // windowHeight:window.innerHeight
3884
+ // })
3885
+ // .then(function (canvas:any) {
3886
+ // // document.body.appendChild(canvas);
3887
+ // // console.log(canvas,99999);
3888
+ // // var base64URL = canvas.toDataURL('image/jpeg')
3889
+ // let base64URL = canvas.toDataURL("image/jpg", 1.0)
3890
+ // // console.log(base64URL);
3891
+ // setImgBese64(base64URL);
3892
+ // // svgNodesToRemove.forEach(item=>{
3893
+ // // item.remove()
3894
+ // // })
3895
+ // });
3827
3896
  } catch (error) {
3828
3897
  console.log(error);
3829
3898
  }
3830
3899
  }
3900
+ //|| showScreenshot
3901
+ if (showType == 5 || showScreenshot) {
3902
+ console.log("bbbbbbbbbbbbbb");
3903
+ handlerHtml2canvas();
3904
+ // window.addEventListener('resize',handlerHtml2canvas)
3905
+ }
3831
3906
  if (showType != 1 && !firstLoad && pageCount > 0) {
3832
3907
  setFirstLoad(true);
3833
3908
  scrollToBottom();
@@ -3887,6 +3962,7 @@ var CustomerService = function(props) {
3887
3962
  if (content) {
3888
3963
  content.removeEventListener("scroll", handleScroll);
3889
3964
  }
3965
+ window.removeEventListener("resize", handlerHtml2canvas);
3890
3966
  };
3891
3967
  }, [
3892
3968
  historyMessageList,
@@ -5413,11 +5489,18 @@ var CustomerService = function(props) {
5413
5489
  /*#__PURE__*/ jsxs("div", {
5414
5490
  className: styles.operate,
5415
5491
  children: [
5416
- /*#__PURE__*/ jsx("i", {
5492
+ /*#__PURE__*/ jsxs("i", {
5493
+ className: styles.popover_main,
5417
5494
  onClick: function() {
5418
5495
  setShowHistory(true);
5419
5496
  },
5420
- children: /*#__PURE__*/ jsx(CustomRecord$1, {})
5497
+ children: [
5498
+ /*#__PURE__*/ jsx(CustomRecord$1, {}),
5499
+ /*#__PURE__*/ jsx("span", {
5500
+ className: styles.popover,
5501
+ children: "历史记录"
5502
+ })
5503
+ ]
5421
5504
  }),
5422
5505
  /*#__PURE__*/ jsx("span", {
5423
5506
  className: styles.line
@@ -5437,20 +5520,14 @@ var CustomerService = function(props) {
5437
5520
  })
5438
5521
  ]
5439
5522
  }),
5440
- /*#__PURE__*/ jsxs("i", {
5523
+ /*#__PURE__*/ jsx("i", {
5441
5524
  className: styles.popover_main,
5442
5525
  onClick: function() {
5443
5526
  onEvent(serverName + serverUrl(), "click_智能问答_退出全屏", "提交");
5444
5527
  setShowType(3);
5445
5528
  setFirstLoad(false); //重启滚动条在最上方
5446
5529
  },
5447
- children: [
5448
- /*#__PURE__*/ jsx(CloseOutlined, {}),
5449
- /*#__PURE__*/ jsx("span", {
5450
- className: styles.popover,
5451
- children: "退出全屏"
5452
- })
5453
- ]
5530
+ children: /*#__PURE__*/ jsx(CloseOutlined, {})
5454
5531
  })
5455
5532
  ]
5456
5533
  })