bhd-components 0.10.5 → 0.10.7

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.
Files changed (45) hide show
  1. package/dist/index.esm.es5.development.css +1244 -1202
  2. package/dist/index.esm.es5.development.js +490 -256
  3. package/dist/index.esm.es5.production.css +2 -2
  4. package/dist/index.esm.es5.production.js +1 -1
  5. package/dist/vendor.esm.es5.development.js +2 -2
  6. package/dist/vendor.esm.es5.production.js +2 -2
  7. package/es2017/AIMessageList/components/copyIcon/index.js +23 -8
  8. package/es2017/AIMessageList/components/copyIcon/index.module.less +2 -2
  9. package/es2017/AIMessageList/components/fileList/index.js +16 -3
  10. package/es2017/AIMessageList/components/footer/index.js +61 -42
  11. package/es2017/AIMessageList/components/header/index.js +4 -4
  12. package/es2017/AIMessageList/components/referencesIcon/index.js +19 -8
  13. package/es2017/AIMessageList/components/referencesIcon/index.module.less +1 -1
  14. package/es2017/AIMessageList/components/refreshBtn/index.d.ts +4 -0
  15. package/es2017/AIMessageList/components/refreshBtn/index.js +29 -0
  16. package/es2017/AIMessageList/components/refreshBtn/index.module.less +12 -0
  17. package/es2017/AIMessageList/components/remarkBtn/index.d.ts +4 -0
  18. package/es2017/AIMessageList/components/remarkBtn/index.js +51 -0
  19. package/es2017/AIMessageList/components/remarkBtn/index.module.less +13 -0
  20. package/es2017/AIMessageList/components/virtuosoList/index.js +109 -19
  21. package/es2017/AIMessageList/components/virtuosoList/index.module.less +10 -1
  22. package/es2017/AIMessageList/type.d.ts +45 -11
  23. package/es2017/customerService/historyFun.js +7 -1
  24. package/es2017/customerService/index.module.less +1 -0
  25. package/es2017/customerService/index2.module.less +1 -0
  26. package/esm/AIMessageList/components/copyIcon/index.js +23 -8
  27. package/esm/AIMessageList/components/copyIcon/index.module.less +2 -2
  28. package/esm/AIMessageList/components/fileList/index.js +12 -3
  29. package/esm/AIMessageList/components/footer/index.js +65 -44
  30. package/esm/AIMessageList/components/header/index.js +4 -4
  31. package/esm/AIMessageList/components/referencesIcon/index.js +19 -8
  32. package/esm/AIMessageList/components/referencesIcon/index.module.less +1 -1
  33. package/esm/AIMessageList/components/refreshBtn/index.d.ts +4 -0
  34. package/esm/AIMessageList/components/refreshBtn/index.js +31 -0
  35. package/esm/AIMessageList/components/refreshBtn/index.module.less +12 -0
  36. package/esm/AIMessageList/components/remarkBtn/index.d.ts +4 -0
  37. package/esm/AIMessageList/components/remarkBtn/index.js +51 -0
  38. package/esm/AIMessageList/components/remarkBtn/index.module.less +13 -0
  39. package/esm/AIMessageList/components/virtuosoList/index.js +111 -19
  40. package/esm/AIMessageList/components/virtuosoList/index.module.less +10 -1
  41. package/esm/AIMessageList/type.d.ts +45 -11
  42. package/esm/customerService/historyFun.js +7 -1
  43. package/esm/customerService/index.module.less +1 -0
  44. package/esm/customerService/index2.module.less +1 -0
  45. package/package.json +1 -1
@@ -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 _to_consumable_array, P as Pagination$1, I as Icon, 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, u as MinusOutlined, v as PlusOutlined, L as LeftOutlined, R as RightOutlined, w as __generator, x as Input, y as SearchOutlined, B as Spin, D as CloseOutlined, X, E as I, H, F as html2canvas$1, G as Remarkable, J as Drawer, K as HighlightJS, Z as ZoomInOutlined, N as DatePicker, O as Button, Q as l, U as Upload, V as cn, W as Popover, Y as DoubleRightOutlined, $ as CloseCircleFilled, a0 as fetchEventSource, a1 as Divider } from './vendor.esm.es5.development.js';
2
- export { a2 as Affix, a3 as Alert, a4 as Anchor, a as AntdMessage, A as App, a5 as AutoComplete, a6 as Avatar, a8 as BackTop, a9 as Badge, aa as Breadcrumb, O as Button, ab as Calendar, ac as Card, ad as Carousel, ae as Cascader, af as Checkbox, ag as Col, ah as Collapse, N as DatePicker, ai as Descriptions, a1 as Divider, J as Drawer, aj as Dropdown, ak as Empty, a7 as FloatButton, al as Form, am as Grid, an as Image, x as Input, ao as InputNumber, ap as Layout, aq as List, ar as Mentions, as as Menu, M as Modal, at as Popconfirm, W as Popover, au as Progress, aR as QRCode, av as Radio, aw as Rate, ax as Result, ay as Row, az as Segmented, k as Select, aA as Skeleton, aB as Slider, aC as Space, B as Spin, aD as Statistic, aE as Steps, aF as Switch, aG as Tabs, aH as Tag, aJ as TimePicker, aK as Timeline, T as Tooltip, aL as Tour, aM as Transfer, aN as Tree, aO as TreeSelect, aP as Typography, U as Upload, aQ as Watermark, aT as en_US, b as notification, aI as theme, aS as version, z as zh_CN } from './vendor.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 _to_consumable_array, P as Pagination$1, I as Icon, 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, u as MinusOutlined, v as PlusOutlined, L as LeftOutlined, R as RightOutlined, w as __generator, x as Input, y as SearchOutlined, B as Spin, D as CloseOutlined, X, E as I, H, F as html2canvas$1, G as Remarkable, J as Drawer, K as HighlightJS, Z as ZoomInOutlined, N as DatePicker, O as Button, Q as l, U as Upload, V as cn, W as Popover, Y as DoubleRightOutlined, $ as CloseCircleFilled, a0 as Divider, a1 as fetchEventSource } from './vendor.esm.es5.development.js';
2
+ export { a2 as Affix, a3 as Alert, a4 as Anchor, a as AntdMessage, A as App, a5 as AutoComplete, a6 as Avatar, a8 as BackTop, a9 as Badge, aa as Breadcrumb, O as Button, ab as Calendar, ac as Card, ad as Carousel, ae as Cascader, af as Checkbox, ag as Col, ah as Collapse, N as DatePicker, ai as Descriptions, a0 as Divider, J as Drawer, aj as Dropdown, ak as Empty, a7 as FloatButton, al as Form, am as Grid, an as Image, x as Input, ao as InputNumber, ap as Layout, aq as List, ar as Mentions, as as Menu, M as Modal, at as Popconfirm, W as Popover, au as Progress, aR as QRCode, av as Radio, aw as Rate, ax as Result, ay as Row, az as Segmented, k as Select, aA as Skeleton, aB as Slider, aC as Space, B as Spin, aD as Statistic, aE as Steps, aF as Switch, aG as Tabs, aH as Tag, aJ as TimePicker, aK as Timeline, T as Tooltip, aL as Tour, aM as Transfer, aN as Tree, aO as TreeSelect, aP as Typography, U as Upload, aQ as Watermark, aT as en_US, b as notification, aI as theme, aS as version, z as zh_CN } from './vendor.esm.es5.development.js';
3
3
  import * as React from 'react';
4
4
  import React__default, { useState, useRef, useEffect, useLayoutEffect, forwardRef, useImperativeHandle, useCallback, useMemo } from 'react';
5
5
  import { Fragment } from 'react/jsx-runtime';
@@ -162,7 +162,7 @@ var TextTootip = function(props) {
162
162
  };
163
163
  var TextTootip$1 = TextTootip;
164
164
 
165
- var modules_63b47c51$m = {"Table":"index_module_Table__fa669d28","SmallTable":"index_module_SmallTable__fa669d28","columnTootipClassName":"index_module_columnTootipClassName__fa669d28"};
165
+ var modules_63b47c51$o = {"Table":"index_module_Table__fa669d28","SmallTable":"index_module_SmallTable__fa669d28","columnTootipClassName":"index_module_columnTootipClassName__fa669d28"};
166
166
 
167
167
  var widthPercentage = /^\d+%$/;
168
168
  var widthPx = /^\d+px$/;
@@ -290,7 +290,7 @@ var Table = function(props) {
290
290
  },
291
291
  title: text,
292
292
  trigger: "hover",
293
- overlayClassName: columnTootipClassName || modules_63b47c51$m.columnTootipClassName,
293
+ overlayClassName: columnTootipClassName || modules_63b47c51$o.columnTootipClassName,
294
294
  color: columnTootipColor || "#FFF",
295
295
  children: /*#__PURE__*/ jsx("span", {
296
296
  children: text
@@ -401,7 +401,7 @@ var Table = function(props) {
401
401
  }
402
402
  });
403
403
  return /*#__PURE__*/ jsx("div", {
404
- className: "".concat(modules_63b47c51$m.Table, " ").concat(kind === "simple" ? modules_63b47c51$m.SmallTable : ""),
404
+ className: "".concat(modules_63b47c51$o.Table, " ").concat(kind === "simple" ? modules_63b47c51$o.SmallTable : ""),
405
405
  ref: tableRef,
406
406
  children: /*#__PURE__*/ jsx(Table$2, _object_spread({}, config))
407
407
  });
@@ -604,12 +604,12 @@ var i18Conversion$1 = i18Conversion;
604
604
  };
605
605
  var BhdTableSimple$1 = BhdTableSimple;
606
606
 
607
- var modules_63b47c51$l = {"customSuccess":"index_module_customSuccess__70ac51ed","customWarning":"index_module_customWarning__70ac51ed","customError":"index_module_customError__70ac51ed","customInfo":"index_module_customInfo__70ac51ed"};
607
+ var modules_63b47c51$n = {"customSuccess":"index_module_customSuccess__70ac51ed","customWarning":"index_module_customWarning__70ac51ed","customError":"index_module_customError__70ac51ed","customInfo":"index_module_customInfo__70ac51ed"};
608
608
 
609
609
  var _message, _message1, _message2, _message3, _message4, _message5, _message6, _message7, _message8;
610
610
  var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
611
611
  customSuccess: function(config) {
612
- var className = modules_63b47c51$l.customSuccess;
612
+ var className = modules_63b47c51$n.customSuccess;
613
613
  if (typeof config === "string") {
614
614
  return message$1.success({
615
615
  content: config,
@@ -621,7 +621,7 @@ var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
621
621
  }));
622
622
  },
623
623
  customWarning: function(config) {
624
- var className = modules_63b47c51$l.customWarning;
624
+ var className = modules_63b47c51$n.customWarning;
625
625
  if (typeof config === "string") {
626
626
  return message$1.warning({
627
627
  content: config,
@@ -633,7 +633,7 @@ var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
633
633
  }));
634
634
  },
635
635
  customError: function(config) {
636
- var className = modules_63b47c51$l.customError;
636
+ var className = modules_63b47c51$n.customError;
637
637
  if (typeof config === "string") {
638
638
  return message$1.error({
639
639
  content: config,
@@ -645,7 +645,7 @@ var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
645
645
  }));
646
646
  },
647
647
  customInfo: function(config) {
648
- var className = modules_63b47c51$l.customInfo;
648
+ var className = modules_63b47c51$n.customInfo;
649
649
  if (typeof config === "string") {
650
650
  return message$1.info({
651
651
  content: config,
@@ -713,10 +713,10 @@ var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
713
713
  });
714
714
  var message = BhdMessage;
715
715
 
716
- var modules_63b47c51$k = {"pagination":"index_module_pagination__db6ba815"};
716
+ var modules_63b47c51$m = {"pagination":"index_module_pagination__db6ba815"};
717
717
 
718
718
  var BhdPagination = function(props) {
719
- var className = "".concat(modules_63b47c51$k.pagination, " ").concat(props.className || "");
719
+ var className = "".concat(modules_63b47c51$m.pagination, " ").concat(props.className || "");
720
720
  return /*#__PURE__*/ jsx(Pagination$1, _object_spread_props(_object_spread({}, props), {
721
721
  className: className
722
722
  }));
@@ -1282,7 +1282,7 @@ var CustomWenhaoRound = function(props) {
1282
1282
  };
1283
1283
  var CustomWenhaoRound$1 = CustomWenhaoRound;
1284
1284
 
1285
- var modules_63b47c51$j = {"BhdTableSelect":"index_module_BhdTableSelect__67bd66da"};
1285
+ var modules_63b47c51$l = {"BhdTableSelect":"index_module_BhdTableSelect__67bd66da"};
1286
1286
 
1287
1287
  var BhdTableSelect = function(props) {
1288
1288
  var _props_className = props.// initOption=[],
@@ -1336,7 +1336,7 @@ var BhdTableSelect = function(props) {
1336
1336
  suffixIcon: suffixIcon ? suffixIcon : /*#__PURE__*/ jsx(CaretDownOutlined, {})
1337
1337
  });
1338
1338
  return /*#__PURE__*/ jsx("div", {
1339
- className: "".concat(modules_63b47c51$j.BhdTableSelect, " ").concat(className),
1339
+ className: "".concat(modules_63b47c51$l.BhdTableSelect, " ").concat(className),
1340
1340
  ref: tableSelectRef,
1341
1341
  children: /*#__PURE__*/ jsx(Select, _object_spread_props(_object_spread({}, config), {
1342
1342
  children: children
@@ -1346,7 +1346,7 @@ var BhdTableSelect = function(props) {
1346
1346
  BhdTableSelect.Option = Select.Option;
1347
1347
  var BhdTableSelect$1 = BhdTableSelect;
1348
1348
 
1349
- var modules_63b47c51$i = {"titleBar":"index_module_titleBar__e61b506c","left":"index_module_left__e61b506c","leftIcon":"index_module_leftIcon__e61b506c","leftContent":"index_module_leftContent__e61b506c","leftTitle":"index_module_leftTitle__e61b506c","leftSubTitle":"index_module_leftSubTitle__e61b506c","right":"index_module_right__e61b506c"};
1349
+ var modules_63b47c51$k = {"titleBar":"index_module_titleBar__e61b506c","left":"index_module_left__e61b506c","leftIcon":"index_module_leftIcon__e61b506c","leftContent":"index_module_leftContent__e61b506c","leftTitle":"index_module_leftTitle__e61b506c","leftSubTitle":"index_module_leftSubTitle__e61b506c","right":"index_module_right__e61b506c"};
1350
1350
 
1351
1351
  var TitleBar = function(props) {
1352
1352
  var title = props.title, leftIcon = props.leftIcon, subTitle = props.subTitle, rightContent = props.rightContent, _props_wrapClassName = props.wrapClassName, wrapClassName = _props_wrapClassName === void 0 ? "" : _props_wrapClassName, _props_rightMaxWidth = props.rightMaxWidth, rightMaxWidth = _props_rightMaxWidth === void 0 ? 45 : _props_rightMaxWidth, _props_leftIconClassName = props.leftIconClassName, leftIconClassName = _props_leftIconClassName === void 0 ? "" : _props_leftIconClassName, _props_leftTitleClassName = props.leftTitleClassName, leftTitleClassName = _props_leftTitleClassName === void 0 ? "" : _props_leftTitleClassName, _props_leftSubTitleClassName = props.leftSubTitleClassName, leftSubTitleClassName = _props_leftSubTitleClassName === void 0 ? "" : _props_leftSubTitleClassName, _props_rightClassName = props.rightClassName, rightClassName = _props_rightClassName === void 0 ? "" : _props_rightClassName, _props_leftClassName = props.leftClassName, leftClassName = _props_leftClassName === void 0 ? "" : _props_leftClassName;
@@ -1395,25 +1395,25 @@ var TitleBar = function(props) {
1395
1395
  screenWidth
1396
1396
  ]);
1397
1397
  return /*#__PURE__*/ jsxs("div", {
1398
- className: "".concat(modules_63b47c51$i.titleBar, " ").concat(wrapClassName),
1398
+ className: "".concat(modules_63b47c51$k.titleBar, " ").concat(wrapClassName),
1399
1399
  ref: titleBarRef,
1400
1400
  children: [
1401
1401
  /*#__PURE__*/ jsxs("div", {
1402
- className: "".concat(modules_63b47c51$i.left, " ").concat(leftClassName),
1402
+ className: "".concat(modules_63b47c51$k.left, " ").concat(leftClassName),
1403
1403
  children: [
1404
1404
  leftIcon && /*#__PURE__*/ jsx("div", {
1405
- className: "".concat(modules_63b47c51$i.leftIcon, " ").concat(leftIconClassName),
1405
+ className: "".concat(modules_63b47c51$k.leftIcon, " ").concat(leftIconClassName),
1406
1406
  children: leftIcon
1407
1407
  }),
1408
1408
  /*#__PURE__*/ jsxs("div", {
1409
- className: modules_63b47c51$i.leftContent,
1409
+ className: modules_63b47c51$k.leftContent,
1410
1410
  children: [
1411
1411
  /*#__PURE__*/ jsx("div", {
1412
- className: "".concat(modules_63b47c51$i.leftTitle, " ").concat(leftTitleClassName),
1412
+ className: "".concat(modules_63b47c51$k.leftTitle, " ").concat(leftTitleClassName),
1413
1413
  children: title
1414
1414
  }),
1415
1415
  subTitle && /*#__PURE__*/ jsx("div", {
1416
- className: "".concat(modules_63b47c51$i.leftSubTitle, " ").concat(leftSubTitleClassName),
1416
+ className: "".concat(modules_63b47c51$k.leftSubTitle, " ").concat(leftSubTitleClassName),
1417
1417
  children: subTitle
1418
1418
  })
1419
1419
  ]
@@ -1421,7 +1421,7 @@ var TitleBar = function(props) {
1421
1421
  ]
1422
1422
  }),
1423
1423
  rightContent && /*#__PURE__*/ jsx("div", {
1424
- className: "".concat(modules_63b47c51$i.right, " ").concat(rightClassName),
1424
+ className: "".concat(modules_63b47c51$k.right, " ").concat(rightClassName),
1425
1425
  ref: rightContentRef,
1426
1426
  children: renderRightContent()
1427
1427
  })
@@ -1430,7 +1430,7 @@ var TitleBar = function(props) {
1430
1430
  };
1431
1431
  var TitleBar$1 = TitleBar;
1432
1432
 
1433
- var modules_63b47c51$h = {"AppViewImage":"index_module_AppViewImage__efd7e21c","viewImgBody":"index_module_viewImgBody__efd7e21c","viewImgContent":"index_module_viewImgContent__efd7e21c","viewImgAction":"index_module_viewImgAction__efd7e21c","actionTop":"index_module_actionTop__efd7e21c","viewImgBody_load":"index_module_viewImgBody_load__efd7e21c","viewImgBody_pic":"index_module_viewImgBody_pic__efd7e21c","viewImgActionClose":"index_module_viewImgActionClose__efd7e21c","viewImgBody_pre":"index_module_viewImgBody_pre__efd7e21c","viewImgBody_next":"index_module_viewImgBody_next__efd7e21c","viewImgBodyScale":"index_module_viewImgBodyScale__efd7e21c","viewImgBodyScale_minu":"index_module_viewImgBodyScale_minu__efd7e21c","viewImgBodyScale_add":"index_module_viewImgBodyScale_add__efd7e21c","viewImgBodyScale_value":"index_module_viewImgBodyScale_value__efd7e21c","viewImgInfo":"index_module_viewImgInfo__efd7e21c"};
1433
+ var modules_63b47c51$j = {"AppViewImage":"index_module_AppViewImage__efd7e21c","viewImgBody":"index_module_viewImgBody__efd7e21c","viewImgContent":"index_module_viewImgContent__efd7e21c","viewImgAction":"index_module_viewImgAction__efd7e21c","actionTop":"index_module_actionTop__efd7e21c","viewImgBody_load":"index_module_viewImgBody_load__efd7e21c","viewImgBody_pic":"index_module_viewImgBody_pic__efd7e21c","viewImgActionClose":"index_module_viewImgActionClose__efd7e21c","viewImgBody_pre":"index_module_viewImgBody_pre__efd7e21c","viewImgBody_next":"index_module_viewImgBody_next__efd7e21c","viewImgBodyScale":"index_module_viewImgBodyScale__efd7e21c","viewImgBodyScale_minu":"index_module_viewImgBodyScale_minu__efd7e21c","viewImgBodyScale_add":"index_module_viewImgBodyScale_add__efd7e21c","viewImgBodyScale_value":"index_module_viewImgBodyScale_value__efd7e21c","viewImgInfo":"index_module_viewImgInfo__efd7e21c"};
1434
1434
 
1435
1435
  //获取css样式
1436
1436
  var getStyle = function getStyle(dom, key) {
@@ -1480,7 +1480,7 @@ var copyText$1 = function(text) {
1480
1480
  return true;
1481
1481
  };
1482
1482
 
1483
- var modules_63b47c51$g = {"confirm":"index_module_confirm__4ee7d3e7","success":"index_module_success__4ee7d3e7","custom":"index_module_custom__4ee7d3e7","noCancel":"index_module_noCancel__4ee7d3e7","noButton":"index_module_noButton__4ee7d3e7","haveComfirm":"index_module_haveComfirm__4ee7d3e7"};
1483
+ var modules_63b47c51$i = {"confirm":"index_module_confirm__4ee7d3e7","success":"index_module_success__4ee7d3e7","custom":"index_module_custom__4ee7d3e7","noCancel":"index_module_noCancel__4ee7d3e7","noButton":"index_module_noButton__4ee7d3e7","haveComfirm":"index_module_haveComfirm__4ee7d3e7"};
1484
1484
 
1485
1485
  var initConFirmModal = function(obj) {
1486
1486
  var title = obj.title, content = obj.content, _obj_cancelBtn = obj.cancelBtn, cancelBtn = _obj_cancelBtn === void 0 ? true : _obj_cancelBtn, _obj_okText = obj.okText, okText = _obj_okText === void 0 ? "确定" : _obj_okText, _obj_keyboard = obj.keyboard, keyboard = _obj_keyboard === void 0 ? false : _obj_keyboard, _obj_cancelText = obj.cancelText, cancelText = _obj_cancelText === void 0 ? "取消" : _obj_cancelText, _obj_autoFocusButton = obj.autoFocusButton, autoFocusButton = _obj_autoFocusButton === void 0 ? null : _obj_autoFocusButton;
@@ -1516,7 +1516,7 @@ var initConFirmModal = function(obj) {
1516
1516
  })
1517
1517
  ]
1518
1518
  }),
1519
- className: "".concat(obj.className || "", " ").concat(modules_63b47c51$g.confirm, " ").concat(cancelBtn ? "" : modules_63b47c51$g.noCancel)
1519
+ className: "".concat(obj.className || "", " ").concat(modules_63b47c51$i.confirm, " ").concat(cancelBtn ? "" : modules_63b47c51$i.noCancel)
1520
1520
  });
1521
1521
  };
1522
1522
  var initSuccessModal = function(obj) {
@@ -1554,7 +1554,7 @@ var initSuccessModal = function(obj) {
1554
1554
  })
1555
1555
  ]
1556
1556
  }),
1557
- className: "".concat(obj.className || "", " ").concat(modules_63b47c51$g.success, " ").concat(cancelBtn ? "" : modules_63b47c51$g.noCancel)
1557
+ className: "".concat(obj.className || "", " ").concat(modules_63b47c51$i.success, " ").concat(cancelBtn ? "" : modules_63b47c51$i.noCancel)
1558
1558
  });
1559
1559
  };
1560
1560
  var initCustomModal = function(obj) {
@@ -1580,7 +1580,7 @@ var initCustomModal = function(obj) {
1580
1580
  })
1581
1581
  ]
1582
1582
  }),
1583
- className: "".concat(modules_63b47c51$g.custom, " ").concat(obj.className || "", " ").concat(cancelBtn ? "" : okBtn ? modules_63b47c51$g.haveComfirm : modules_63b47c51$g.noButton)
1583
+ className: "".concat(modules_63b47c51$i.custom, " ").concat(obj.className || "", " ").concat(cancelBtn ? "" : okBtn ? modules_63b47c51$i.haveComfirm : modules_63b47c51$i.noButton)
1584
1584
  });
1585
1585
  };
1586
1586
  var initInfoModal = function(obj) {
@@ -1617,7 +1617,7 @@ var initInfoModal = function(obj) {
1617
1617
  })
1618
1618
  ]
1619
1619
  }),
1620
- className: "".concat(obj.className || "", " ").concat(modules_63b47c51$g.success, " ").concat(cancelBtn ? "" : modules_63b47c51$g.noCancel)
1620
+ className: "".concat(obj.className || "", " ").concat(modules_63b47c51$i.success, " ").concat(cancelBtn ? "" : modules_63b47c51$i.noCancel)
1621
1621
  });
1622
1622
  };
1623
1623
  var initWarnModal = function(obj) {
@@ -1654,7 +1654,7 @@ var initWarnModal = function(obj) {
1654
1654
  })
1655
1655
  ]
1656
1656
  }),
1657
- className: "".concat(obj.className || "", " ").concat(modules_63b47c51$g.confirm, " ").concat(cancelBtn ? "" : modules_63b47c51$g.noCancel, " ")
1657
+ className: "".concat(obj.className || "", " ").concat(modules_63b47c51$i.confirm, " ").concat(cancelBtn ? "" : modules_63b47c51$i.noCancel, " ")
1658
1658
  });
1659
1659
  };
1660
1660
  var BhdTipModal = {
@@ -1768,7 +1768,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
1768
1768
  _define_property(_assert_this_initialized(_this), "moveImg", function(ev) {
1769
1769
  var _this_state = _this.state, imgLeft = _this_state.imgLeft, imgTop = _this_state.imgTop;
1770
1770
  ev.preventDefault();
1771
- var dom = document.getElementsByClassName("".concat(modules_63b47c51$h.viewImgBody_pic))[0];
1771
+ var dom = document.getElementsByClassName("".concat(modules_63b47c51$j.viewImgBody_pic))[0];
1772
1772
  if (!dom) return;
1773
1773
  if (imgLeft == "auto") {
1774
1774
  imgLeft = getStyle(dom, "left");
@@ -2071,24 +2071,24 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2071
2071
  var _this_state = this.state, scaleValue = _this_state.scaleValue, imgSrc = _this_state.imgSrc, imgLeft = _this_state.imgLeft, imgTop = _this_state.imgTop, rotateValue = _this_state.rotateValue, loading = _this_state.loading, multiSelect = _this_state.multiSelect, imgError = _this_state.imgError;
2072
2072
  var _this_props = this.props, content = _this_props.content, download = _this_props.download;
2073
2073
  return /*#__PURE__*/ jsxs("div", {
2074
- className: modules_63b47c51$h.viewImgBody,
2074
+ className: modules_63b47c51$j.viewImgBody,
2075
2075
  children: [
2076
2076
  /*#__PURE__*/ jsxs("div", {
2077
- className: modules_63b47c51$h.viewImgContent,
2077
+ className: modules_63b47c51$j.viewImgContent,
2078
2078
  children: [
2079
2079
  this.state.actionCloseFlag === 1 && /*#__PURE__*/ jsx("div", {
2080
- className: "".concat(modules_63b47c51$h.viewImgAction, " ").concat(modules_63b47c51$h.actionTop),
2080
+ className: "".concat(modules_63b47c51$j.viewImgAction, " ").concat(modules_63b47c51$j.actionTop),
2081
2081
  children: /*#__PURE__*/ jsx("span", {
2082
2082
  // id="actionClose"
2083
2083
  // style={{right:`calc(-40px + (-12px * (1 / ${scaleValue / 100}) ))` ,transform: `scale(calc(1 / ${scaleValue / 100}),calc(1 / ${scaleValue / 100}))`,transformOrigin: `top left`}}
2084
- className: modules_63b47c51$h.viewImgActionClose,
2084
+ className: modules_63b47c51$j.viewImgActionClose,
2085
2085
  title: "关闭",
2086
2086
  onClick: this.close,
2087
2087
  children: /*#__PURE__*/ jsx(CustomClose$1, {})
2088
2088
  })
2089
2089
  }),
2090
2090
  /*#__PURE__*/ jsxs("div", {
2091
- className: modules_63b47c51$h.viewImgAction,
2091
+ className: modules_63b47c51$j.viewImgAction,
2092
2092
  children: [
2093
2093
  /*#__PURE__*/ jsx("span", {
2094
2094
  title: "旋转",
@@ -2101,10 +2101,10 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2101
2101
  children: /*#__PURE__*/ jsx(CustomDownLoad$1, {})
2102
2102
  }),
2103
2103
  /*#__PURE__*/ jsxs("div", {
2104
- className: modules_63b47c51$h.viewImgBodyScale,
2104
+ className: modules_63b47c51$j.viewImgBodyScale,
2105
2105
  children: [
2106
2106
  /*#__PURE__*/ jsx("span", {
2107
- className: modules_63b47c51$h.viewImgBodyScale_minu,
2107
+ className: modules_63b47c51$j.viewImgBodyScale_minu,
2108
2108
  onClick: function() {
2109
2109
  scaleValue = scaleValue - 10;
2110
2110
  _this.scaleChange(scaleValue);
@@ -2112,7 +2112,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2112
2112
  children: /*#__PURE__*/ jsx(MinusOutlined, {})
2113
2113
  }),
2114
2114
  /*#__PURE__*/ jsxs("span", {
2115
- className: modules_63b47c51$h.viewImgBodyScale_value,
2115
+ className: modules_63b47c51$j.viewImgBodyScale_value,
2116
2116
  onClick: this.reset,
2117
2117
  children: [
2118
2118
  scaleValue,
@@ -2120,7 +2120,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2120
2120
  ]
2121
2121
  }),
2122
2122
  /*#__PURE__*/ jsx("span", {
2123
- className: modules_63b47c51$h.viewImgBodyScale_add,
2123
+ className: modules_63b47c51$j.viewImgBodyScale_add,
2124
2124
  onClick: function() {
2125
2125
  scaleValue = scaleValue + 10;
2126
2126
  _this.scaleChange(scaleValue);
@@ -2132,11 +2132,11 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2132
2132
  ]
2133
2133
  }),
2134
2134
  /*#__PURE__*/ jsxs("div", {
2135
- className: modules_63b47c51$h.viewImgBody,
2135
+ className: modules_63b47c51$j.viewImgBody,
2136
2136
  children: [
2137
2137
  loading ? /*#__PURE__*/ jsx("img", {
2138
2138
  src: Loading,
2139
- className: modules_63b47c51$h.viewImgBody_load
2139
+ className: modules_63b47c51$j.viewImgBody_load
2140
2140
  }, "load") : imgError ? /*#__PURE__*/ jsx("div", {
2141
2141
  style: {
2142
2142
  color: "#FFFFFF"
@@ -2187,13 +2187,13 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2187
2187
  left: imgLeft == "auto" ? "auto" : imgLeft + "px",
2188
2188
  top: imgTop == "auto" ? "auto" : imgTop + "px"
2189
2189
  },
2190
- className: modules_63b47c51$h.viewImgBody_pic,
2190
+ className: modules_63b47c51$j.viewImgBody_pic,
2191
2191
  onLoad: this.imgLoad,
2192
2192
  onError: this.imgErr
2193
2193
  }, "img"),
2194
2194
  this.state.actionCloseFlag === 0 && /*#__PURE__*/ jsx("span", {
2195
2195
  id: "actionClose",
2196
- className: modules_63b47c51$h.viewImgActionClose,
2196
+ className: modules_63b47c51$j.viewImgActionClose,
2197
2197
  title: "关闭",
2198
2198
  onClick: this.close,
2199
2199
  children: /*#__PURE__*/ jsx(CustomClose$1, {})
@@ -2203,12 +2203,12 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2203
2203
  multiSelect && /*#__PURE__*/ jsxs(Fragment, {
2204
2204
  children: [
2205
2205
  this.state.curIndex !== 0 && /*#__PURE__*/ jsx("div", {
2206
- className: modules_63b47c51$h.viewImgBody_pre,
2206
+ className: modules_63b47c51$j.viewImgBody_pre,
2207
2207
  onClick: this.preChange,
2208
2208
  children: /*#__PURE__*/ jsx(LeftOutlined, {})
2209
2209
  }),
2210
2210
  this.state.curIndex < this.props.multiSelect.length - 1 && /*#__PURE__*/ jsx("div", {
2211
- className: modules_63b47c51$h.viewImgBody_next,
2211
+ className: modules_63b47c51$j.viewImgBody_next,
2212
2212
  onClick: this.nextChange,
2213
2213
  children: /*#__PURE__*/ jsx(RightOutlined, {})
2214
2214
  })
@@ -2219,7 +2219,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2219
2219
  ]
2220
2220
  }),
2221
2221
  content && /*#__PURE__*/ jsx("div", {
2222
- className: modules_63b47c51$h.viewImgInfo,
2222
+ className: modules_63b47c51$j.viewImgInfo,
2223
2223
  children: content()
2224
2224
  })
2225
2225
  ]
@@ -2254,7 +2254,7 @@ var AppViewImage = /*#__PURE__*/ forwardRef(function(props, ref) {
2254
2254
  maskStyle: {
2255
2255
  background: "rgba(0, 0, 0, 0.65)"
2256
2256
  },
2257
- wrapClassName: "".concat(modules_63b47c51$h.AppViewImage, " ").concat(className || ""),
2257
+ wrapClassName: "".concat(modules_63b47c51$j.AppViewImage, " ").concat(className || ""),
2258
2258
  getContainer: getContainer,
2259
2259
  children: visible && /*#__PURE__*/ jsx(ViewImage, _object_spread_props(_object_spread({}, props), {
2260
2260
  ref: viewRef
@@ -2263,7 +2263,7 @@ var AppViewImage = /*#__PURE__*/ forwardRef(function(props, ref) {
2263
2263
  });
2264
2264
  var ViewImage$1 = AppViewImage;
2265
2265
 
2266
- var modules_63b47c51$f = {"BhdSelect":"index_module_BhdSelect__0483925f","bhdSelect_option":"index_module_bhdSelect_option__0483925f","bhdSelectDrop":"index_module_bhdSelectDrop__0483925f","selectTitle":"index_module_selectTitle__0483925f","bhdSelectSearch":"index_module_bhdSelectSearch__0483925f","search":"index_module_search__0483925f"};
2266
+ var modules_63b47c51$h = {"BhdSelect":"index_module_BhdSelect__0483925f","bhdSelect_option":"index_module_bhdSelect_option__0483925f","bhdSelectDrop":"index_module_bhdSelectDrop__0483925f","selectTitle":"index_module_selectTitle__0483925f","bhdSelectSearch":"index_module_bhdSelectSearch__0483925f","search":"index_module_search__0483925f"};
2267
2267
 
2268
2268
  var Search = Input.Search;
2269
2269
  var RenderDrop = function(param) {
@@ -2411,12 +2411,12 @@ var BhdSelect = function(props) {
2411
2411
  //如果需要搜索菜单
2412
2412
  if (showSearch) {
2413
2413
  return /*#__PURE__*/ jsxs("div", {
2414
- className: "".concat(modules_63b47c51$f.bhdSelectDrop, " ").concat(optionClassName),
2414
+ className: "".concat(modules_63b47c51$h.bhdSelectDrop, " ").concat(optionClassName),
2415
2415
  ref: bhdDropdownRef,
2416
2416
  children: [
2417
2417
  renderTitle(),
2418
2418
  /*#__PURE__*/ jsx("div", {
2419
- className: modules_63b47c51$f.bhdSelectSearch,
2419
+ className: modules_63b47c51$h.bhdSelectSearch,
2420
2420
  style: {
2421
2421
  backgroundColor: select_title ? "rgba(0,0,0,0.02)" : "rgba(0,0,0,0)"
2422
2422
  },
@@ -2426,7 +2426,7 @@ var BhdSelect = function(props) {
2426
2426
  var value = param.target.value;
2427
2427
  setFilterValue(value);
2428
2428
  },
2429
- className: "".concat(modules_63b47c51$f.search, " ").concat(searchClassName || ""),
2429
+ className: "".concat(modules_63b47c51$h.search, " ").concat(searchClassName || ""),
2430
2430
  onKeyDown: function(e) {
2431
2431
  e.stopPropagation();
2432
2432
  },
@@ -2438,7 +2438,7 @@ var BhdSelect = function(props) {
2438
2438
  });
2439
2439
  } else {
2440
2440
  return /*#__PURE__*/ jsx("div", {
2441
- className: modules_63b47c51$f.bhdSelectDrop,
2441
+ className: modules_63b47c51$h.bhdSelectDrop,
2442
2442
  ref: bhdDropdownRef,
2443
2443
  children: dropdownRender ? dropdownRender(menu) : menu
2444
2444
  });
@@ -2453,7 +2453,7 @@ var BhdSelect = function(props) {
2453
2453
  return select_title;
2454
2454
  } else {
2455
2455
  return /*#__PURE__*/ jsx("div", {
2456
- className: modules_63b47c51$f.selectTitle,
2456
+ className: modules_63b47c51$h.selectTitle,
2457
2457
  children: select_title
2458
2458
  });
2459
2459
  }
@@ -2477,7 +2477,7 @@ var BhdSelect = function(props) {
2477
2477
  var getConfig = function() {
2478
2478
  var config = _object_spread_props(_object_spread({}, props), {
2479
2479
  listHeight: optionHei,
2480
- popupClassName: "".concat(modules_63b47c51$f.bhdSelect_option, " ").concat(popupClassName || "", " "),
2480
+ popupClassName: "".concat(modules_63b47c51$h.bhdSelect_option, " ").concat(popupClassName || "", " "),
2481
2481
  suffixIcon: suffixIcon ? suffixIcon : renderSuffixIcon(),
2482
2482
  popupMatchSelectWidth: selectWidth,
2483
2483
  dropdownStyle: _object_spread_props(_object_spread({}, props.dropdownStyle), {
@@ -2499,7 +2499,7 @@ var BhdSelect = function(props) {
2499
2499
  return config;
2500
2500
  };
2501
2501
  return /*#__PURE__*/ jsx("div", {
2502
- className: "".concat(modules_63b47c51$f.BhdSelect, " ").concat(className),
2502
+ className: "".concat(modules_63b47c51$h.BhdSelect, " ").concat(className),
2503
2503
  ref: bhdSelectRef,
2504
2504
  children: /*#__PURE__*/ jsx(Select, _object_spread_props(_object_spread({}, getConfig()), {
2505
2505
  showSearch: false,
@@ -2554,7 +2554,7 @@ var BhdSelect = function(props) {
2554
2554
  BhdSelect.Option = Select.Option;
2555
2555
  var BhdSelect$1 = BhdSelect;
2556
2556
 
2557
- var modules_63b47c51$e = {"bhd_app_layout":"index_module_bhd_app_layout__6a2d2320","bhd_app_layout_header":"index_module_bhd_app_layout_header__6a2d2320","bhd_app_layout_main":"index_module_bhd_app_layout_main__6a2d2320","bhd_app_layout_main_filter":"index_module_bhd_app_layout_main_filter__6a2d2320","bhd_app_layout_main_filter_title":"index_module_bhd_app_layout_main_filter_title__6a2d2320","bhd_app_layout_main_filter_ul":"index_module_bhd_app_layout_main_filter_ul__6a2d2320","bhd_app_layout_main_filter_show_value":"index_module_bhd_app_layout_main_filter_show_value__6a2d2320","bhd_app_layout_main_filter_clear":"index_module_bhd_app_layout_main_filter_clear__6a2d2320","bhd_app_layout_main_table":"index_module_bhd_app_layout_main_table__6a2d2320","bhd_app_layout_footer":"index_module_bhd_app_layout_footer__6a2d2320"};
2557
+ var modules_63b47c51$g = {"bhd_app_layout":"index_module_bhd_app_layout__6a2d2320","bhd_app_layout_header":"index_module_bhd_app_layout_header__6a2d2320","bhd_app_layout_main":"index_module_bhd_app_layout_main__6a2d2320","bhd_app_layout_main_filter":"index_module_bhd_app_layout_main_filter__6a2d2320","bhd_app_layout_main_filter_title":"index_module_bhd_app_layout_main_filter_title__6a2d2320","bhd_app_layout_main_filter_ul":"index_module_bhd_app_layout_main_filter_ul__6a2d2320","bhd_app_layout_main_filter_show_value":"index_module_bhd_app_layout_main_filter_show_value__6a2d2320","bhd_app_layout_main_filter_clear":"index_module_bhd_app_layout_main_filter_clear__6a2d2320","bhd_app_layout_main_table":"index_module_bhd_app_layout_main_table__6a2d2320","bhd_app_layout_footer":"index_module_bhd_app_layout_footer__6a2d2320"};
2558
2558
 
2559
2559
  function BhdAppLayout(props) {
2560
2560
  var _filterRef_current, _filterRef, _headRef_current, _headRef, _otherHeadRef_current, _otherHeadRef, _otherContentRef_current, _otherContentRef, _filterConfig, _filterConfig1, _footerConfig;
@@ -2593,11 +2593,11 @@ function BhdAppLayout(props) {
2593
2593
  (_otherContentRef = otherContentRef) === null || _otherContentRef === void 0 ? void 0 : (_otherContentRef_current = _otherContentRef.current) === null || _otherContentRef_current === void 0 ? void 0 : _otherContentRef_current.offsetHeight
2594
2594
  ]);
2595
2595
  return /*#__PURE__*/ jsxs("div", {
2596
- className: "".concat(modules_63b47c51$e.bhd_app_layout, " ").concat(className || ""),
2596
+ className: "".concat(modules_63b47c51$g.bhd_app_layout, " ").concat(className || ""),
2597
2597
  children: [
2598
2598
  /*#__PURE__*/ jsx("header", {
2599
2599
  ref: headRef,
2600
- className: "".concat(modules_63b47c51$e.bhd_app_layout_header, " ").concat(headerClassName || ""),
2600
+ className: "".concat(modules_63b47c51$g.bhd_app_layout_header, " ").concat(headerClassName || ""),
2601
2601
  children: headConfig && /*#__PURE__*/ jsx(TitleBar$1, _object_spread({}, headConfig))
2602
2602
  }),
2603
2603
  headContent && /*#__PURE__*/ jsx("div", {
@@ -2605,30 +2605,30 @@ function BhdAppLayout(props) {
2605
2605
  children: headContent
2606
2606
  }),
2607
2607
  /*#__PURE__*/ jsxs("main", {
2608
- className: modules_63b47c51$e.bhd_app_layout_main,
2608
+ className: modules_63b47c51$g.bhd_app_layout_main,
2609
2609
  children: [
2610
2610
  ((_filterConfig = filterConfig) === null || _filterConfig === void 0 ? void 0 : _filterConfig.filterArr) && filterConfig.filterArr.length ? /*#__PURE__*/ jsxs("div", {
2611
2611
  ref: filterRef,
2612
- className: modules_63b47c51$e.bhd_app_layout_main_filter,
2612
+ className: modules_63b47c51$g.bhd_app_layout_main_filter,
2613
2613
  children: [
2614
2614
  /*#__PURE__*/ jsxs("div", {
2615
- className: modules_63b47c51$e.bhd_app_layout_main_filter_title,
2615
+ className: modules_63b47c51$g.bhd_app_layout_main_filter_title,
2616
2616
  children: [
2617
2617
  i18Conversion$1("已筛选"),
2618
2618
  ":"
2619
2619
  ]
2620
2620
  }),
2621
2621
  /*#__PURE__*/ jsx("ul", {
2622
- className: modules_63b47c51$e.bhd_app_layout_main_filter_ul,
2622
+ className: modules_63b47c51$g.bhd_app_layout_main_filter_ul,
2623
2623
  children: filterConfig.filterArr.map(function(ele, index) {
2624
2624
  return /*#__PURE__*/ jsxs("li", {
2625
2625
  children: [
2626
2626
  /*#__PURE__*/ jsx("span", {
2627
- className: modules_63b47c51$e.bhd_app_layout_main_filter_show_title,
2627
+ className: modules_63b47c51$g.bhd_app_layout_main_filter_show_title,
2628
2628
  children: ele.title
2629
2629
  }),
2630
2630
  /*#__PURE__*/ jsxs("span", {
2631
- className: modules_63b47c51$e.bhd_app_layout_main_filter_show_value,
2631
+ className: modules_63b47c51$g.bhd_app_layout_main_filter_show_value,
2632
2632
  children: [
2633
2633
  "“",
2634
2634
  ele.value,
@@ -2647,7 +2647,7 @@ function BhdAppLayout(props) {
2647
2647
  }),
2648
2648
  /*#__PURE__*/ jsx("div", {
2649
2649
  onClick: (_filterConfig1 = filterConfig) === null || _filterConfig1 === void 0 ? void 0 : _filterConfig1.onClearAll,
2650
- className: modules_63b47c51$e.bhd_app_layout_main_filter_clear,
2650
+ className: modules_63b47c51$g.bhd_app_layout_main_filter_clear,
2651
2651
  children: i18Conversion$1("清空条件")
2652
2652
  })
2653
2653
  ]
@@ -2657,7 +2657,7 @@ function BhdAppLayout(props) {
2657
2657
  children: otherContent
2658
2658
  }),
2659
2659
  /*#__PURE__*/ jsx("div", {
2660
- className: "".concat(modules_63b47c51$e.bhd_app_layout_main_table, " ").concat(tableBoxClassName || ""),
2660
+ className: "".concat(modules_63b47c51$g.bhd_app_layout_main_table, " ").concat(tableBoxClassName || ""),
2661
2661
  children: scrollConfig ? tableConfig && /*#__PURE__*/ jsx(BhdTableSimple$1, _object_spread_props(_object_spread({}, tableConfig), {
2662
2662
  pagination: false,
2663
2663
  scroll: _object_spread({}, scrollConfig)
@@ -2666,7 +2666,7 @@ function BhdAppLayout(props) {
2666
2666
  ]
2667
2667
  }),
2668
2668
  footerConfig ? /*#__PURE__*/ jsxs("footer", {
2669
- className: modules_63b47c51$e.bhd_app_layout_footer,
2669
+ className: modules_63b47c51$g.bhd_app_layout_footer,
2670
2670
  children: [
2671
2671
  /*#__PURE__*/ jsx("div", {
2672
2672
  children: ((_footerConfig = footerConfig) === null || _footerConfig === void 0 ? void 0 : _footerConfig.leftDom) && footerConfig.leftDom
@@ -2678,7 +2678,7 @@ function BhdAppLayout(props) {
2678
2678
  });
2679
2679
  }
2680
2680
 
2681
- var modules_63b47c51$d = {"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"};
2681
+ var modules_63b47c51$f = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__00686be6","ChatWindow_Modal":"index_module_ChatWindow_Modal__00686be6","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__00686be6","header_wrap":"index_module_header_wrap__00686be6","top":"index_module_top__00686be6","user":"index_module_user__00686be6","count":"index_module_count__00686be6","operate":"index_module_operate__00686be6","line":"index_module_line__00686be6","popover_main":"index_module_popover_main__00686be6","popover":"index_module_popover__00686be6","header_wrap_newlabo":"index_module_header_wrap_newlabo__00686be6","Drawer_main":"index_module_Drawer_main__00686be6","loading":"index_module_loading__00686be6","message_con":"index_module_message_con__00686be6","left":"index_module_left__00686be6","head_sculpture":"index_module_head_sculpture__00686be6","main_content":"index_module_main_content__00686be6","right":"index_module_right__00686be6","main":"index_module_main__00686be6","main_content_flag":"index_module_main_content_flag__00686be6","operate_modal":"index_module_operate_modal__00686be6","operate_modal_bottom":"index_module_operate_modal_bottom__00686be6","active":"index_module_active__00686be6","stop_generate":"index_module_stop_generate__00686be6","icon":"index_module_icon__00686be6","find_teacher":"index_module_find_teacher__00686be6","stop_findTeacher":"index_module_stop_findTeacher__00686be6","content":"index_module_content__00686be6","content_child":"index_module_content_child__00686be6","find_teacher_con":"index_module_find_teacher_con__00686be6","sign":"index_module_sign__00686be6","ask_question":"index_module_ask_question__00686be6","bottom":"index_module_bottom__00686be6","association_problem":"index_module_association_problem__00686be6","association_problem_flag":"index_module_association_problem_flag__00686be6","related_issues_flag":"index_module_related_issues_flag__00686be6","img_con":"index_module_img_con__00686be6","mask_zoom":"index_module_mask_zoom__00686be6","img_con2":"index_module_img_con2__00686be6","copyCode":"index_module_copyCode__00686be6","time":"index_module_time__00686be6","citation_content":"index_module_citation_content__00686be6","text_exceed":"index_module_text_exceed__00686be6","popover_content":"index_module_popover_content__00686be6","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__00686be6","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__00686be6","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__00686be6","issues_list_teacherList":"index_module_issues_list_teacherList__00686be6","item":"index_module_item__00686be6","issues_list":"index_module_issues_list__00686be6","issues_list_flag":"index_module_issues_list_flag__00686be6","Drawer_buttom":"index_module_Drawer_buttom__00686be6","input_wrap":"index_module_input_wrap__00686be6","input":"index_module_input__00686be6","picture_layout":"index_module_picture_layout__00686be6","icon_close":"index_module_icon_close__00686be6","icon_zoom":"index_module_icon_zoom__00686be6","anticon":"index_module_anticon__00686be6","no_AI":"index_module_no_AI__00686be6","screenshot":"index_module_screenshot__00686be6","disabled":"index_module_disabled__00686be6","content_main":"index_module_content_main__00686be6","content_con":"index_module_content_con__00686be6","delete_quote":"index_module_delete_quote__00686be6","sending":"index_module_sending__00686be6","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__00686be6","main_list":"index_module_main_list__00686be6","chat_content":"index_module_chat_content__00686be6","popover_main_content":"index_module_popover_main_content__00686be6","popover_main_content_name":"index_module_popover_main_content_name__00686be6","teacher_layout":"index_module_teacher_layout__00686be6","delete":"index_module_delete__00686be6","num":"index_module_num__00686be6","shrink":"index_module_shrink__00686be6","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__00686be6","teacher_layout_modal":"index_module_teacher_layout_modal__00686be6","ai":"index_module_ai__00686be6","user_info":"index_module_user_info__00686be6","message":"index_module_message__00686be6","con":"index_module_con__00686be6","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__00686be6","history_list":"index_module_history_list__00686be6","search_layout":"index_module_search_layout__00686be6","mymove":"index_module_mymove__00686be6","title":"index_module_title__00686be6","search_top":"index_module_search_top__00686be6","list_item":"index_module_list_item__00686be6","list_summary":"index_module_list_summary__00686be6","head_img":"index_module_head_img__00686be6","list_desc":"index_module_list_desc__00686be6","name":"index_module_name__00686be6","decs":"index_module_decs__00686be6","open":"index_module_open__00686be6","list_summary_active":"index_module_list_summary_active__00686be6","list_detail":"index_module_list_detail__00686be6","list":"index_module_list__00686be6","list_more":"index_module_list_more__00686be6","no_data":"index_module_no_data__00686be6","history_list_broadside":"index_module_history_list_broadside__00686be6","teacher_list":"index_module_teacher_list__00686be6","screenshot_Modal":"index_module_screenshot_Modal__00686be6","ReactCrop":"index_module_ReactCrop__00686be6","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__00686be6"};
2682
2682
 
2683
2683
  function BaseHOC(key) {
2684
2684
  return function(props) {
@@ -3183,12 +3183,12 @@ var HistoryFun = function(props) {
3183
3183
  });
3184
3184
  };
3185
3185
  return /*#__PURE__*/ jsx("div", {
3186
- className: "".concat(modules_63b47c51$d.history_list, " ").concat(type == 2 ? modules_63b47c51$d.history_list_broadside : "", " "),
3186
+ className: "".concat(modules_63b47c51$f.history_list, " ").concat(type == 2 ? modules_63b47c51$f.history_list_broadside : "", " "),
3187
3187
  children: /*#__PURE__*/ jsxs("div", {
3188
- className: modules_63b47c51$d.search_layout,
3188
+ className: modules_63b47c51$f.search_layout,
3189
3189
  children: [
3190
3190
  /*#__PURE__*/ jsxs("div", {
3191
- className: modules_63b47c51$d.title,
3191
+ className: modules_63b47c51$f.title,
3192
3192
  children: [
3193
3193
  /*#__PURE__*/ jsx("span", {
3194
3194
  children: "历史记录"
@@ -3203,7 +3203,7 @@ var HistoryFun = function(props) {
3203
3203
  ]
3204
3204
  }),
3205
3205
  /*#__PURE__*/ jsxs("div", {
3206
- className: modules_63b47c51$d.search_top,
3206
+ className: modules_63b47c51$f.search_top,
3207
3207
  children: [
3208
3208
  /*#__PURE__*/ jsx(SearchOutlined, {}),
3209
3209
  /*#__PURE__*/ jsx(Input, {
@@ -3239,11 +3239,11 @@ var HistoryFun = function(props) {
3239
3239
  spinning: loading,
3240
3240
  tip: "加载中...",
3241
3241
  children: /*#__PURE__*/ jsxs("div", {
3242
- className: modules_63b47c51$d.main_list,
3242
+ className: modules_63b47c51$f.main_list,
3243
3243
  id: "history_list",
3244
3244
  children: [
3245
3245
  !loading && showLoadingState == 1 && /*#__PURE__*/ jsxs("div", {
3246
- className: modules_63b47c51$d.no_data,
3246
+ className: modules_63b47c51$f.no_data,
3247
3247
  children: [
3248
3248
  /*#__PURE__*/ jsx("img", {
3249
3249
  src: "/new_yun/images/aiService/search_for_icon.png"
@@ -3254,7 +3254,7 @@ var HistoryFun = function(props) {
3254
3254
  ]
3255
3255
  }),
3256
3256
  !loading && showLoadingState == 2 && /*#__PURE__*/ jsxs("div", {
3257
- className: modules_63b47c51$d.no_data,
3257
+ className: modules_63b47c51$f.no_data,
3258
3258
  children: [
3259
3259
  /*#__PURE__*/ jsx("img", {
3260
3260
  src: "/new_yun/images/aiService/no_data.png"
@@ -3265,7 +3265,7 @@ var HistoryFun = function(props) {
3265
3265
  ]
3266
3266
  }),
3267
3267
  !loading && /*#__PURE__*/ jsx("div", {
3268
- className: modules_63b47c51$d.list_item,
3268
+ className: modules_63b47c51$f.list_item,
3269
3269
  children: totalData.map(function(item) {
3270
3270
  var span = "";
3271
3271
  var time = "";
@@ -3279,11 +3279,11 @@ var HistoryFun = function(props) {
3279
3279
  //搜索内容是否有特殊字符
3280
3280
  if (reg.test(keyWordProblem)) {
3281
3281
  span = message.replaceAll(keyWordProblem, function(e) {
3282
- return "<span class=".concat(modules_63b47c51$d.sign, ">").concat(e, "</span>");
3282
+ return "<span class=".concat(modules_63b47c51$f.sign, ">").concat(e, "</span>");
3283
3283
  });
3284
3284
  } else {
3285
3285
  span = message.replaceAll(new RegExp(keyWordProblem, "ig"), function(i) {
3286
- return "<span class=".concat(modules_63b47c51$d.sign, ">").concat(i, "</span>");
3286
+ return "<span class=".concat(modules_63b47c51$f.sign, ">").concat(i, "</span>");
3287
3287
  });
3288
3288
  }
3289
3289
  time = formatDate(item.createdAt);
@@ -3291,7 +3291,7 @@ var HistoryFun = function(props) {
3291
3291
  return /*#__PURE__*/ jsxs(Fragment, {
3292
3292
  children: [
3293
3293
  /*#__PURE__*/ jsxs("div", {
3294
- className: "".concat(modules_63b47c51$d.list_summary, " ").concat(item.show ? modules_63b47c51$d.list_summary_active : ""),
3294
+ className: "".concat(modules_63b47c51$f.list_summary, " ").concat(item.show ? modules_63b47c51$f.list_summary_active : ""),
3295
3295
  id: item.roomId,
3296
3296
  onClick: function() {
3297
3297
  if (item.count == 1) {
@@ -3302,26 +3302,26 @@ var HistoryFun = function(props) {
3302
3302
  },
3303
3303
  children: [
3304
3304
  /*#__PURE__*/ jsx("div", {
3305
- className: modules_63b47c51$d.head_img,
3305
+ className: modules_63b47c51$f.head_img,
3306
3306
  children: item.member == "AI" ? /*#__PURE__*/ jsx(CustomAiIcon$1, {}) : /*#__PURE__*/ jsx("img", {
3307
3307
  src: item.headImg
3308
3308
  })
3309
3309
  }),
3310
3310
  /*#__PURE__*/ jsxs("div", {
3311
- className: modules_63b47c51$d.list_desc,
3311
+ className: modules_63b47c51$f.list_desc,
3312
3312
  children: [
3313
3313
  /*#__PURE__*/ jsxs("p", {
3314
- className: modules_63b47c51$d.name,
3314
+ className: modules_63b47c51$f.name,
3315
3315
  children: [
3316
3316
  item.member == "AI" ? "AI助手" : item.name,
3317
3317
  item.count == 1 ? /*#__PURE__*/ jsx("span", {
3318
- className: modules_63b47c51$d.time,
3318
+ className: modules_63b47c51$f.time,
3319
3319
  children: time
3320
3320
  }) : ""
3321
3321
  ]
3322
3322
  }),
3323
3323
  item.count == 1 ? /*#__PURE__*/ jsx("p", {
3324
- className: modules_63b47c51$d.decs,
3324
+ className: modules_63b47c51$f.decs,
3325
3325
  style: {
3326
3326
  width: "calc(100% - 36px)"
3327
3327
  },
@@ -3329,19 +3329,19 @@ var HistoryFun = function(props) {
3329
3329
  __html: span
3330
3330
  }
3331
3331
  }) : /*#__PURE__*/ jsx("p", {
3332
- className: modules_63b47c51$d.decs,
3332
+ className: modules_63b47c51$f.decs,
3333
3333
  children: "".concat(item.count, "条相关聊天记录")
3334
3334
  })
3335
3335
  ]
3336
3336
  }),
3337
3337
  item.count != 1 ? /*#__PURE__*/ jsx("div", {
3338
- className: "".concat(modules_63b47c51$d.open, " ").concat(item.show ? modules_63b47c51$d.active : ""),
3338
+ className: "".concat(modules_63b47c51$f.open, " ").concat(item.show ? modules_63b47c51$f.active : ""),
3339
3339
  children: /*#__PURE__*/ jsx(CustomExpand$1, {})
3340
3340
  }) : ""
3341
3341
  ]
3342
3342
  }),
3343
3343
  /*#__PURE__*/ jsxs("div", {
3344
- className: modules_63b47c51$d.list_detail,
3344
+ className: modules_63b47c51$f.list_detail,
3345
3345
  children: [
3346
3346
  item.show && item.detailsList && item.detailsList.map(function(list) {
3347
3347
  // console.log(list,item,'dklfvmdflkvmdfklv')
@@ -3364,34 +3364,40 @@ var HistoryFun = function(props) {
3364
3364
  //搜索内容是否有特殊字符
3365
3365
  if (reg.test(keyWordProblem)) {
3366
3366
  span = message.replaceAll(keyWordProblem, function(e) {
3367
- return "<span class=".concat(modules_63b47c51$d.sign, ">").concat(e, "</span>");
3367
+ return "<span class=".concat(modules_63b47c51$f.sign, ">").concat(e, "</span>");
3368
3368
  });
3369
3369
  } else {
3370
3370
  span = message.replaceAll(new RegExp(keyWordProblem, "ig"), function(i) {
3371
3371
  // console.log(i,'skdcnsdjk')
3372
- return "<span class=".concat(modules_63b47c51$d.sign, ">").concat(i, "</span>");
3372
+ return "<span class=".concat(modules_63b47c51$f.sign, ">").concat(i, "</span>");
3373
3373
  });
3374
3374
  }
3375
3375
  return /*#__PURE__*/ jsxs("div", {
3376
- className: modules_63b47c51$d.list,
3376
+ className: modules_63b47c51$f.list,
3377
3377
  onClick: function() {
3378
- calculationData(item.roomId, list.id, list.receiver);
3378
+ calculationData(item.roomId, list.id, props.userData.mid == list.sender ? list.receiver : list.sender);
3379
+ console.log("答应一下111111", {
3380
+ roomId: item.roomId,
3381
+ id: list.id,
3382
+ sender: list.sender
3383
+ });
3384
+ // calculationData(item.roomId, list.id, list.sender);
3379
3385
  },
3380
3386
  children: [
3381
3387
  /*#__PURE__*/ jsxs("div", {
3382
- className: modules_63b47c51$d.name,
3388
+ className: modules_63b47c51$f.name,
3383
3389
  children: [
3384
3390
  /*#__PURE__*/ jsx("p", {
3385
3391
  children: name
3386
3392
  }),
3387
3393
  /*#__PURE__*/ jsx("span", {
3388
- className: modules_63b47c51$d.time,
3394
+ className: modules_63b47c51$f.time,
3389
3395
  children: time
3390
3396
  })
3391
3397
  ]
3392
3398
  }),
3393
3399
  /*#__PURE__*/ jsx("div", {
3394
- className: modules_63b47c51$d.con,
3400
+ className: modules_63b47c51$f.con,
3395
3401
  dangerouslySetInnerHTML: {
3396
3402
  __html: span
3397
3403
  }
@@ -3400,7 +3406,7 @@ var HistoryFun = function(props) {
3400
3406
  }, list.id);
3401
3407
  }),
3402
3408
  item.show && item.pageCount > 1 && item.pageCount > item.pageNum && /*#__PURE__*/ jsx("div", {
3403
- className: "".concat(modules_63b47c51$d.list, " ").concat(modules_63b47c51$d.list_more),
3409
+ className: "".concat(modules_63b47c51$f.list, " ").concat(modules_63b47c51$f.list_more),
3404
3410
  onClick: function() {
3405
3411
  loadMore(item.pageNum + 1, item.roomId);
3406
3412
  },
@@ -3432,34 +3438,34 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3432
3438
  };
3433
3439
  return type == 2 || type == 4 ? //联系人展开
3434
3440
  /*#__PURE__*/ jsxs("div", {
3435
- className: "".concat(modules_63b47c51$d.teacher_layout_modal, " ").concat(type == 4 ? modules_63b47c51$d.teacher_layout_modal_newlabo : ""),
3441
+ className: "".concat(modules_63b47c51$f.teacher_layout_modal, " ").concat(type == 4 ? modules_63b47c51$f.teacher_layout_modal_newlabo : ""),
3436
3442
  children: [
3437
3443
  /*#__PURE__*/ jsx("div", {
3438
- className: modules_63b47c51$d.top,
3444
+ className: modules_63b47c51$f.top,
3439
3445
  children: /*#__PURE__*/ jsxs("div", {
3440
- className: "".concat(modules_63b47c51$d.ai, " ").concat(contactsList.length > 0 && contactsList[0].roomId != undefined && roomId != "" && contactsList[0].roomId == roomId || contactsList.length == 0 ? modules_63b47c51$d.active : ""),
3446
+ className: "".concat(modules_63b47c51$f.ai, " ").concat(contactsList.length > 0 && contactsList[0].roomId != undefined && roomId != "" && contactsList[0].roomId == roomId || contactsList.length == 0 ? modules_63b47c51$f.active : ""),
3441
3447
  onClick: function() {
3442
3448
  return switchChatRoom(contactsList[0].roomId, "");
3443
3449
  },
3444
3450
  children: [
3445
3451
  /*#__PURE__*/ jsx(CustomAiIcon$1, {}),
3446
3452
  /*#__PURE__*/ jsxs("div", {
3447
- className: modules_63b47c51$d.user_info,
3453
+ className: modules_63b47c51$f.user_info,
3448
3454
  children: [
3449
3455
  /*#__PURE__*/ jsxs("p", {
3450
- className: modules_63b47c51$d.message,
3456
+ className: modules_63b47c51$f.message,
3451
3457
  children: [
3452
3458
  userData.modules.some(function(ele) {
3453
3459
  return ele.short == "AIservice";
3454
3460
  }) ? "AI助手" : "智能问答",
3455
3461
  /*#__PURE__*/ jsx("span", {
3456
- className: modules_63b47c51$d.time,
3462
+ className: modules_63b47c51$f.time,
3457
3463
  children: contactsList.length > 0 && contactsList[0].createdAt != undefined && formatDate(contactsList[0].createdAt)
3458
3464
  })
3459
3465
  ]
3460
3466
  }),
3461
3467
  /*#__PURE__*/ jsx("p", {
3462
- className: modules_63b47c51$d.con,
3468
+ className: modules_63b47c51$f.con,
3463
3469
  children: contactsList.length > 0 && contactsList[0].lastMsg
3464
3470
  })
3465
3471
  ]
@@ -3470,11 +3476,11 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3470
3476
  userData.modules.some(function(item) {
3471
3477
  return item.short == "TeacherAnswer";
3472
3478
  }) && /*#__PURE__*/ jsx("div", {
3473
- className: modules_63b47c51$d.bottom,
3479
+ className: modules_63b47c51$f.bottom,
3474
3480
  children: contactsList.map(function(item, index) {
3475
3481
  if (index != 0) {
3476
3482
  return /*#__PURE__*/ jsxs("div", {
3477
- className: "".concat(modules_63b47c51$d.ai, " ").concat(item.roomId != undefined && roomId != "" && item.roomId == roomId ? modules_63b47c51$d.active : ""),
3483
+ className: "".concat(modules_63b47c51$f.ai, " ").concat(item.roomId != undefined && roomId != "" && item.roomId == roomId ? modules_63b47c51$f.active : ""),
3478
3484
  onClick: function() {
3479
3485
  switchChatRoom(item.roomId, "");
3480
3486
  },
@@ -3483,29 +3489,29 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3483
3489
  src: item.headImg
3484
3490
  }),
3485
3491
  /*#__PURE__*/ jsxs("div", {
3486
- className: modules_63b47c51$d.user_info,
3492
+ className: modules_63b47c51$f.user_info,
3487
3493
  children: [
3488
3494
  /*#__PURE__*/ jsxs("p", {
3489
- className: modules_63b47c51$d.message,
3495
+ className: modules_63b47c51$f.message,
3490
3496
  children: [
3491
3497
  item.name != undefined && getByteLen(item.name) >= 20 ? /*#__PURE__*/ jsx(Tooltip, {
3492
- overlayClassName: "".concat(modules_63b47c51$d.popover_main_content_name),
3498
+ overlayClassName: "".concat(modules_63b47c51$f.popover_main_content_name),
3493
3499
  title: item.name,
3494
3500
  placement: "top",
3495
3501
  children: item.name
3496
3502
  }) : item.name,
3497
3503
  item.unreadCount != undefined && item.unreadCount > 0 && !(item.roomId != undefined && roomId != "" && item.roomId == roomId) && /*#__PURE__*/ jsx("span", {
3498
- className: modules_63b47c51$d.num,
3504
+ className: modules_63b47c51$f.num,
3499
3505
  children: item.unreadCount > 99 ? "99+" : item.unreadCount
3500
3506
  }),
3501
3507
  /*#__PURE__*/ jsx("span", {
3502
- className: modules_63b47c51$d.time,
3508
+ className: modules_63b47c51$f.time,
3503
3509
  children: formatDate(item.createdAt)
3504
3510
  })
3505
3511
  ]
3506
3512
  }),
3507
3513
  /*#__PURE__*/ jsx("p", {
3508
- className: modules_63b47c51$d.con,
3514
+ className: modules_63b47c51$f.con,
3509
3515
  children: item.lastMsg
3510
3516
  })
3511
3517
  ]
@@ -3519,16 +3525,16 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3519
3525
  })
3520
3526
  ]
3521
3527
  }) : /*#__PURE__*/ jsxs("div", {
3522
- className: "".concat(modules_63b47c51$d.teacher_layout, " ").concat(type == 3 ? modules_63b47c51$d.teacher_layout_newlabo : ""),
3528
+ className: "".concat(modules_63b47c51$f.teacher_layout, " ").concat(type == 3 ? modules_63b47c51$f.teacher_layout_newlabo : ""),
3523
3529
  style: {
3524
3530
  left: type == 3 ? document.getElementById("box") && document.getElementById("box").offsetWidth + 10 + "px" : "auto"
3525
3531
  },
3526
3532
  children: [
3527
3533
  /*#__PURE__*/ jsxs("div", {
3528
- className: modules_63b47c51$d.top,
3534
+ className: modules_63b47c51$f.top,
3529
3535
  children: [
3530
3536
  /*#__PURE__*/ jsxs("div", {
3531
- className: "".concat(modules_63b47c51$d.ai, " ").concat(modules_63b47c51$d.shrink),
3537
+ className: "".concat(modules_63b47c51$f.ai, " ").concat(modules_63b47c51$f.shrink),
3532
3538
  onClick: function() {
3533
3539
  onClose();
3534
3540
  },
@@ -3543,7 +3549,7 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3543
3549
  ]
3544
3550
  }),
3545
3551
  /*#__PURE__*/ jsxs("div", {
3546
- className: "".concat(modules_63b47c51$d.ai, " ").concat(contactsList.length > 0 && contactsList[0].roomId != undefined && roomId != "" && contactsList[0].roomId == roomId || contactsList.length == 0 ? modules_63b47c51$d.active : ""),
3552
+ className: "".concat(modules_63b47c51$f.ai, " ").concat(contactsList.length > 0 && contactsList[0].roomId != undefined && roomId != "" && contactsList[0].roomId == roomId || contactsList.length == 0 ? modules_63b47c51$f.active : ""),
3547
3553
  onClick: function() {
3548
3554
  switchChatRoom(contactsList[0].roomId, "");
3549
3555
  // roomsListTimer();
@@ -3562,11 +3568,11 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3562
3568
  userData.modules.some(function(item) {
3563
3569
  return item.short == "TeacherAnswer";
3564
3570
  }) && /*#__PURE__*/ jsx("div", {
3565
- className: modules_63b47c51$d.bottom,
3571
+ className: modules_63b47c51$f.bottom,
3566
3572
  children: contactsList.map(function(item, index) {
3567
3573
  if (index != 0) {
3568
3574
  return /*#__PURE__*/ jsxs("div", {
3569
- className: "".concat(modules_63b47c51$d.ai, " ").concat(item.roomId != undefined && roomId != "" && item.roomId == roomId ? modules_63b47c51$d.active : ""),
3575
+ className: "".concat(modules_63b47c51$f.ai, " ").concat(item.roomId != undefined && roomId != "" && item.roomId == roomId ? modules_63b47c51$f.active : ""),
3570
3576
  onClick: function() {
3571
3577
  switchChatRoom(item.roomId, "");
3572
3578
  },
@@ -3576,19 +3582,19 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3576
3582
  }),
3577
3583
  /*#__PURE__*/ jsx("p", {
3578
3584
  children: item.name != undefined && getByteLen(item.name) >= 10 ? /*#__PURE__*/ jsx(Tooltip, {
3579
- overlayClassName: modules_63b47c51$d.popover_main_content_name,
3585
+ overlayClassName: modules_63b47c51$f.popover_main_content_name,
3580
3586
  title: item.name,
3581
3587
  placement: "top",
3582
3588
  children: item.name
3583
3589
  }) : item.name
3584
3590
  }),
3585
3591
  item.unreadCount != undefined && item.unreadCount > 0 && !(item.roomId != undefined && roomId != "" && item.roomId == roomId) && /*#__PURE__*/ jsx("span", {
3586
- className: modules_63b47c51$d.num,
3592
+ className: modules_63b47c51$f.num,
3587
3593
  children: item.unreadCount > 99 ? "99+" : item.unreadCount
3588
3594
  }),
3589
3595
  // 没有消息时,可点击删除
3590
3596
  !item.unreadCount && /*#__PURE__*/ jsx("span", {
3591
- className: modules_63b47c51$d.delete,
3597
+ className: modules_63b47c51$f.delete,
3592
3598
  onClick: function(e) {
3593
3599
  e.stopPropagation();
3594
3600
  deleteRoom(item.roomId);
@@ -3690,10 +3696,10 @@ var ScreenshotTool = /*#__PURE__*/ forwardRef(function(props, ref) {
3690
3696
  setIsFirst(false);
3691
3697
  };
3692
3698
  return /*#__PURE__*/ jsxs("div", {
3693
- className: modules_63b47c51$d.screenshot_Modal,
3699
+ className: modules_63b47c51$f.screenshot_Modal,
3694
3700
  children: [
3695
3701
  /*#__PURE__*/ jsx(X, {
3696
- className: modules_63b47c51$d.ReactCrop,
3702
+ className: modules_63b47c51$f.ReactCrop,
3697
3703
  crop: crop,
3698
3704
  onChange: function(_, percentCrop) {
3699
3705
  if (percentCrop.height === 0 && percentCrop.width === 0) {
@@ -3719,7 +3725,7 @@ var ScreenshotTool = /*#__PURE__*/ forwardRef(function(props, ref) {
3719
3725
  })
3720
3726
  }),
3721
3727
  showBtn && /*#__PURE__*/ jsxs("div", {
3722
- className: modules_63b47c51$d.screenshot_Modal_btn,
3728
+ className: modules_63b47c51$f.screenshot_Modal_btn,
3723
3729
  style: {
3724
3730
  top: btnPosition.top,
3725
3731
  left: btnPosition.left
@@ -3906,12 +3912,12 @@ var TeacherList = function(props) {
3906
3912
  });
3907
3913
  };
3908
3914
  return /*#__PURE__*/ jsx("div", {
3909
- className: "".concat(modules_63b47c51$d.history_list, " ").concat(type == 2 ? modules_63b47c51$d.history_list_broadside : "", " ").concat(modules_63b47c51$d.teacher_list),
3915
+ className: "".concat(modules_63b47c51$f.history_list, " ").concat(type == 2 ? modules_63b47c51$f.history_list_broadside : "", " ").concat(modules_63b47c51$f.teacher_list),
3910
3916
  children: /*#__PURE__*/ jsxs("div", {
3911
- className: modules_63b47c51$d.search_layout,
3917
+ className: modules_63b47c51$f.search_layout,
3912
3918
  children: [
3913
3919
  /*#__PURE__*/ jsxs("div", {
3914
- className: modules_63b47c51$d.title,
3920
+ className: modules_63b47c51$f.title,
3915
3921
  children: [
3916
3922
  /*#__PURE__*/ jsx("span", {
3917
3923
  children: "召唤老师回答"
@@ -3926,7 +3932,7 @@ var TeacherList = function(props) {
3926
3932
  ]
3927
3933
  }),
3928
3934
  /*#__PURE__*/ jsxs("div", {
3929
- className: modules_63b47c51$d.search_top,
3935
+ className: modules_63b47c51$f.search_top,
3930
3936
  children: [
3931
3937
  /*#__PURE__*/ jsx(SearchOutlined, {}),
3932
3938
  /*#__PURE__*/ jsx(Input, {
@@ -3959,11 +3965,11 @@ var TeacherList = function(props) {
3959
3965
  ]
3960
3966
  }),
3961
3967
  /*#__PURE__*/ jsxs("div", {
3962
- className: modules_63b47c51$d.main_list,
3968
+ className: modules_63b47c51$f.main_list,
3963
3969
  id: "teacher_list",
3964
3970
  children: [
3965
3971
  showLoadingState == 2 && /*#__PURE__*/ jsxs("div", {
3966
- className: modules_63b47c51$d.no_data,
3972
+ className: modules_63b47c51$f.no_data,
3967
3973
  children: [
3968
3974
  /*#__PURE__*/ jsx("img", {
3969
3975
  src: "/new_yun/images/aiService/no_data_02.png"
@@ -3974,30 +3980,30 @@ var TeacherList = function(props) {
3974
3980
  ]
3975
3981
  }),
3976
3982
  /*#__PURE__*/ jsx("div", {
3977
- className: modules_63b47c51$d.list_item,
3983
+ className: modules_63b47c51$f.list_item,
3978
3984
  ref: sliderRef,
3979
3985
  children: showTotalData.map(function(item) {
3980
3986
  var span = item.name.replaceAll(new RegExp(keyWordProblem, "ig"), function(i) {
3981
- return "<span class=".concat(modules_63b47c51$d.sign, ">").concat(i, "</span>");
3987
+ return "<span class=".concat(modules_63b47c51$f.sign, ">").concat(i, "</span>");
3982
3988
  });
3983
3989
  return /*#__PURE__*/ jsx(Fragment, {
3984
3990
  children: /*#__PURE__*/ jsxs("div", {
3985
- className: "".concat(modules_63b47c51$d.list_summary),
3991
+ className: "".concat(modules_63b47c51$f.list_summary),
3986
3992
  id: item.roomId,
3987
3993
  onClick: function() {
3988
3994
  enterTeacherChat(item);
3989
3995
  },
3990
3996
  children: [
3991
3997
  /*#__PURE__*/ jsx("div", {
3992
- className: modules_63b47c51$d.head_img,
3998
+ className: modules_63b47c51$f.head_img,
3993
3999
  children: /*#__PURE__*/ jsx("img", {
3994
4000
  src: item.headImg
3995
4001
  })
3996
4002
  }),
3997
4003
  /*#__PURE__*/ jsx("div", {
3998
- className: modules_63b47c51$d.list_desc,
4004
+ className: modules_63b47c51$f.list_desc,
3999
4005
  children: /*#__PURE__*/ jsx("p", {
4000
- className: modules_63b47c51$d.name,
4006
+ className: modules_63b47c51$f.name,
4001
4007
  style: {
4002
4008
  width: "calc(100% - 36px)"
4003
4009
  },
@@ -8126,7 +8132,7 @@ var ScreenShot = /*#__PURE__*/ function() {
8126
8132
  return ScreenShot;
8127
8133
  }();
8128
8134
 
8129
- var styles = modules_63b47c51$d;
8135
+ var styles = modules_63b47c51$f;
8130
8136
  var TextArea$1 = BhdEnterInput.TextArea;
8131
8137
  /*
8132
8138
  自定义remarkable的text解析规则
@@ -12084,7 +12090,7 @@ window.appendDom = function(root, props) {
12084
12090
  };
12085
12091
  var CustomerService$1 = CustomerService;
12086
12092
 
12087
- var modules_63b47c51$c = {"bhdDatePicker":"index_module_bhdDatePicker__484452d2","bhdDatePickerPopup":"index_module_bhdDatePickerPopup__484452d2","singlePicker":"index_module_singlePicker__484452d2","rangePicker":"index_module_rangePicker__484452d2","extraPicker":"index_module_extraPicker__484452d2","showTime":"index_module_showTime__484452d2","showExtraFooter":"index_module_showExtraFooter__484452d2","noNeedConfirm":"index_module_noNeedConfirm__484452d2","readonly":"index_module_readonly__484452d2"};
12093
+ var modules_63b47c51$e = {"bhdDatePicker":"index_module_bhdDatePicker__484452d2","bhdDatePickerPopup":"index_module_bhdDatePickerPopup__484452d2","singlePicker":"index_module_singlePicker__484452d2","rangePicker":"index_module_rangePicker__484452d2","extraPicker":"index_module_extraPicker__484452d2","showTime":"index_module_showTime__484452d2","showExtraFooter":"index_module_showExtraFooter__484452d2","noNeedConfirm":"index_module_noNeedConfirm__484452d2","readonly":"index_module_readonly__484452d2"};
12088
12094
 
12089
12095
  var RangePicker = DatePicker.RangePicker;
12090
12096
  var months = [
@@ -12279,22 +12285,22 @@ var BhdDatePicker = /*#__PURE__*/ forwardRef(function(props, ref) {
12279
12285
  }
12280
12286
  // 单选
12281
12287
  if (kind === "single") {
12282
- config.popupClassName = "\n ".concat(modules_63b47c51$c.bhdDatePickerPopup, " ").concat(modules_63b47c51$c.singlePicker, " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51$c.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51$c.showExtraFooter : "");
12288
+ config.popupClassName = "\n ".concat(modules_63b47c51$e.bhdDatePickerPopup, " ").concat(modules_63b47c51$e.singlePicker, " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51$e.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51$e.showExtraFooter : "");
12283
12289
  }
12284
12290
  // 范围选择
12285
12291
  if (kind === "range") {
12286
- config.popupClassName = "".concat(modules_63b47c51$c.bhdDatePickerPopup, " ").concat(modules_63b47c51$c.rangePicker, " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51$c.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51$c.showExtraFooter : "");
12292
+ config.popupClassName = "".concat(modules_63b47c51$e.bhdDatePickerPopup, " ").concat(modules_63b47c51$e.rangePicker, " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51$e.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51$e.showExtraFooter : "");
12287
12293
  }
12288
12294
  // 日常安排
12289
12295
  if (kind === "extra") {
12290
12296
  delete config.showTime; // 日程安排的时候,不允许展示时间面板
12291
12297
  showTime = false; // 日程安排不选择时间
12292
- config.popupClassName = "".concat(modules_63b47c51$c.bhdDatePickerPopup, " ").concat(modules_63b47c51$c.extraPicker, " ").concat(extraReadonly ? modules_63b47c51$c.readonly : "", " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51$c.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51$c.showExtraFooter : "");
12298
+ config.popupClassName = "".concat(modules_63b47c51$e.bhdDatePickerPopup, " ").concat(modules_63b47c51$e.extraPicker, " ").concat(extraReadonly ? modules_63b47c51$e.readonly : "", " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51$e.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51$e.showExtraFooter : "");
12293
12299
  if (extraReadonly) {
12294
12300
  config.allowClear = false; // 日程安排查看时,不显示清除按钮
12295
12301
  }
12296
12302
  }
12297
- config.popupClassName = "".concat(config.popupClassName, " ").concat(dropdownClassName, " ").concat(needConfirm ? "" : modules_63b47c51$c.noNeedConfirm, " ").concat(id);
12303
+ config.popupClassName = "".concat(config.popupClassName, " ").concat(dropdownClassName, " ").concat(needConfirm ? "" : modules_63b47c51$e.noNeedConfirm, " ").concat(id);
12298
12304
  return config;
12299
12305
  };
12300
12306
  // 设置默认mode
@@ -12587,7 +12593,7 @@ var BhdDatePicker = /*#__PURE__*/ forwardRef(function(props, ref) {
12587
12593
  }
12588
12594
  };
12589
12595
  return /*#__PURE__*/ jsxs("span", {
12590
- className: "".concat(modules_63b47c51$c.bhdDatePicker),
12596
+ className: "".concat(modules_63b47c51$e.bhdDatePicker),
12591
12597
  ref: bhdDatePickerRef,
12592
12598
  children: [
12593
12599
  (kind === "single" || kind === "extra") && /*#__PURE__*/ jsx(Fragment, {
@@ -12768,7 +12774,7 @@ var BhdDatePicker = /*#__PURE__*/ forwardRef(function(props, ref) {
12768
12774
  });
12769
12775
  var BhdDatePicker$1 = BhdDatePicker;
12770
12776
 
12771
- var modules_63b47c51$b = {"BhdModalCropper":"index_module_BhdModalCropper__36cc44f0","cropperBox":"index_module_cropperBox__36cc44f0","cropperBtn":"index_module_cropperBtn__36cc44f0","icons":"index_module_icons__36cc44f0"};
12777
+ var modules_63b47c51$d = {"BhdModalCropper":"index_module_BhdModalCropper__36cc44f0","cropperBox":"index_module_cropperBox__36cc44f0","cropperBtn":"index_module_cropperBtn__36cc44f0","icons":"index_module_icons__36cc44f0"};
12772
12778
 
12773
12779
  var BhdModalCropper = /*#__PURE__*/ forwardRef(function(props, ref) {
12774
12780
  var _props_centered = props.centered, centered = _props_centered === void 0 ? true : _props_centered, _props_wrapClassName = props.wrapClassName, wrapClassName = _props_wrapClassName === void 0 ? "" : _props_wrapClassName, _props_width = props.width, width = _props_width === void 0 ? 456 : _props_width, _props_cropperProps = props.cropperProps, cropperProps = _props_cropperProps === void 0 ? {} : _props_cropperProps, _props_uploadMaxSize = props.uploadMaxSize, uploadMaxSize = _props_uploadMaxSize === void 0 ? 500 * 1024 : _props_uploadMaxSize, _props_accept = props.accept, accept = _props_accept === void 0 ? [
@@ -12847,13 +12853,13 @@ var BhdModalCropper = /*#__PURE__*/ forwardRef(function(props, ref) {
12847
12853
  };
12848
12854
  return /*#__PURE__*/ jsx(Modal$1, _object_spread_props(_object_spread({}, props), {
12849
12855
  centered: centered,
12850
- wrapClassName: "".concat(wrapClassName, " ").concat(modules_63b47c51$b.BhdModalCropper),
12856
+ wrapClassName: "".concat(wrapClassName, " ").concat(modules_63b47c51$d.BhdModalCropper),
12851
12857
  width: width,
12852
12858
  children: open && /*#__PURE__*/ jsxs("div", {
12853
- className: modules_63b47c51$b.cropperBox,
12859
+ className: modules_63b47c51$d.cropperBox,
12854
12860
  children: [
12855
12861
  /*#__PURE__*/ jsx("div", {
12856
- className: modules_63b47c51$b.cropperMain,
12862
+ className: modules_63b47c51$d.cropperMain,
12857
12863
  children: /*#__PURE__*/ jsx(l, _object_spread_props(_object_spread({
12858
12864
  src: imgSrc,
12859
12865
  orginStyle: {
@@ -12876,7 +12882,7 @@ var BhdModalCropper = /*#__PURE__*/ forwardRef(function(props, ref) {
12876
12882
  }))
12877
12883
  }),
12878
12884
  /*#__PURE__*/ jsxs("div", {
12879
- className: modules_63b47c51$b.cropperBtn,
12885
+ className: modules_63b47c51$d.cropperBtn,
12880
12886
  children: [
12881
12887
  /*#__PURE__*/ jsx(Upload, {
12882
12888
  fileList: [],
@@ -12887,7 +12893,7 @@ var BhdModalCropper = /*#__PURE__*/ forwardRef(function(props, ref) {
12887
12893
  })
12888
12894
  }),
12889
12895
  /*#__PURE__*/ jsxs("div", {
12890
- className: modules_63b47c51$b.icons,
12896
+ className: modules_63b47c51$d.icons,
12891
12897
  children: [
12892
12898
  /*#__PURE__*/ jsx("span", {
12893
12899
  onClick: function() {
@@ -12911,9 +12917,9 @@ var BhdModalCropper = /*#__PURE__*/ forwardRef(function(props, ref) {
12911
12917
  });
12912
12918
  var BhdModalCropper$1 = BhdModalCropper;
12913
12919
 
12914
- var modules_63b47c51$a = {"root":"index_module_root__b60b60e0","rootHeader":"index_module_rootHeader__b60b60e0","rootContent":"index_module_rootContent__b60b60e0","rootFooter":"index_module_rootFooter__b60b60e0"};
12920
+ var modules_63b47c51$c = {"root":"index_module_root__b60b60e0","rootHeader":"index_module_rootHeader__b60b60e0","rootContent":"index_module_rootContent__b60b60e0","rootFooter":"index_module_rootFooter__b60b60e0"};
12915
12921
 
12916
- var modules_63b47c51$9 = {"header":"index_module_header__3cf37c84","headerLeft":"index_module_headerLeft__3cf37c84","headerIcon":"index_module_headerIcon__3cf37c84","headerTitle":"index_module_headerTitle__3cf37c84","headerRight":"index_module_headerRight__3cf37c84"};
12922
+ var modules_63b47c51$b = {"header":"index_module_header__3cf37c84","headerLeft":"index_module_headerLeft__3cf37c84","headerIcon":"index_module_headerIcon__3cf37c84","headerTitle":"index_module_headerTitle__3cf37c84","headerRight":"index_module_headerRight__3cf37c84"};
12917
12923
 
12918
12924
  var defaultProps$1 = {
12919
12925
  icon: /*#__PURE__*/ jsx("i", {
@@ -12943,11 +12949,11 @@ var defaultProps$1 = {
12943
12949
  gradientUnits: "userSpaceOnUse",
12944
12950
  children: [
12945
12951
  /*#__PURE__*/ jsx("stop", {
12946
- "stop-color": "#F87AFD"
12952
+ stopColor: "#F87AFD"
12947
12953
  }),
12948
12954
  /*#__PURE__*/ jsx("stop", {
12949
12955
  offset: "1",
12950
- "stop-color": "#41DAF8"
12956
+ stopColor: "#41DAF8"
12951
12957
  })
12952
12958
  ]
12953
12959
  }),
@@ -12960,11 +12966,11 @@ var defaultProps$1 = {
12960
12966
  gradientUnits: "userSpaceOnUse",
12961
12967
  children: [
12962
12968
  /*#__PURE__*/ jsx("stop", {
12963
- "stop-color": "#F87AFD"
12969
+ stopColor: "#F87AFD"
12964
12970
  }),
12965
12971
  /*#__PURE__*/ jsx("stop", {
12966
12972
  offset: "1",
12967
- "stop-color": "#41DAF8"
12973
+ stopColor: "#41DAF8"
12968
12974
  })
12969
12975
  ]
12970
12976
  })
@@ -12982,7 +12988,7 @@ var Header$1 = function(props) {
12982
12988
  var headerConfig = props.headerConfig, prefix = props.prefix;
12983
12989
  var _headerConfig_icon = headerConfig.icon, icon = _headerConfig_icon === void 0 ? defaultProps$1.icon : _headerConfig_icon, title = headerConfig.title, _headerConfig_className = headerConfig.className, className = _headerConfig_className === void 0 ? defaultProps$1.className : _headerConfig_className, _headerConfig_renderRightHead = headerConfig.renderRightHead, renderRightHead = _headerConfig_renderRightHead === void 0 ? defaultProps$1.renderRightHead : _headerConfig_renderRightHead;
12984
12990
  var getCls = function(clsName) {
12985
- return modules_63b47c51$9[clsName] + " " + prefix + "-" + clsName;
12991
+ return modules_63b47c51$b[clsName] + " " + prefix + "-" + clsName;
12986
12992
  };
12987
12993
  return /*#__PURE__*/ jsxs("div", {
12988
12994
  className: "".concat(getCls("header"), " ").concat(className),
@@ -13009,32 +13015,47 @@ var Header$1 = function(props) {
13009
13015
  };
13010
13016
  var Header$2 = Header$1;
13011
13017
 
13012
- var modules_63b47c51$8 = {"content":"index_module_content__fcd2c97c","contentList":"index_module_contentList__fcd2c97c"};
13018
+ var modules_63b47c51$a = {"content":"index_module_content__fcd2c97c","contentList":"index_module_contentList__fcd2c97c"};
13013
13019
 
13014
- var modules_63b47c51$7 = {"virtuosoList-wrapper":"index_module_virtuosoListWrapper__4d756f02","loadingIcon":"index_module_loadingIcon__4d756f02","msg-date":"index_module_msgDate__4d756f02","msgItem":"index_module_msgItem__4d756f02","msgItem-box":"index_module_msgItemBox__4d756f02","msgItem-content":"index_module_msgItemContent__4d756f02","msgItem-text":"index_module_msgItemText__4d756f02","copyCode":"index_module_copyCode__4d756f02","copyCodeFun":"index_module_copyCodeFun__4d756f02","copyCodeText":"index_module_copyCodeText__4d756f02","icon":"index_module_icon__4d756f02","copy":"index_module_copy__4d756f02","copy_success":"index_module_copy_success__4d756f02","copy_success_flag":"index_module_copy_success_flag__4d756f02","msgItem-action":"index_module_msgItemAction__4d756f02","msgItem-action-right":"index_module_msgItemActionRight__4d756f02","msgItem-action-operate":"index_module_msgItemActionOperate__4d756f02","msgItem-action-popover":"index_module_msgItemActionPopover__4d756f02","msgItem-action-popover-floatTop":"index_module_msgItemActionPopoverFloatTop__4d756f02","msgItem-action-popover-floatBottom":"index_module_msgItemActionPopoverFloatBottom__4d756f02","msgItem-references-text":"index_module_msgItemReferencesText__4d756f02","msgItem-left":"index_module_msgItemLeft__4d756f02","msgItem-right":"index_module_msgItemRight__4d756f02"};
13020
+ var modules_63b47c51$9 = {"virtuosoList-wrapper":"index_module_virtuosoListWrapper__de249725","loadingIcon":"index_module_loadingIcon__de249725","msg-date":"index_module_msgDate__de249725","msgItem":"index_module_msgItem__de249725","msgItem-box":"index_module_msgItemBox__de249725","msgItem-content":"index_module_msgItemContent__de249725","msgItem-text":"index_module_msgItemText__de249725","copyCode":"index_module_copyCode__de249725","copyCodeFun":"index_module_copyCodeFun__de249725","copyCodeText":"index_module_copyCodeText__de249725","icon":"index_module_icon__de249725","copy":"index_module_copy__de249725","copy_success":"index_module_copy_success__de249725","copy_success_flag":"index_module_copy_success_flag__de249725","msgItem-action":"index_module_msgItemAction__de249725","msgItem-action-left":"index_module_msgItemActionLeft__de249725","msgItem-action-right":"index_module_msgItemActionRight__de249725","msgItem-action-operate":"index_module_msgItemActionOperate__de249725","msgItem-action-popover":"index_module_msgItemActionPopover__de249725","msgItem-action-popover-floatTop":"index_module_msgItemActionPopoverFloatTop__de249725","msgItem-action-popover-floatBottom":"index_module_msgItemActionPopoverFloatBottom__de249725","msgItem-references-text":"index_module_msgItemReferencesText__de249725","msgItem-left":"index_module_msgItemLeft__de249725","msgItem-right":"index_module_msgItemRight__de249725"};
13015
13021
 
13016
13022
  var loading2 = "data:image/gif;base64,R0lGODlhgACAAKIEAN3d3bu7u////5mZmf///wAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NENGQTg4RUY0MTQwMTFFOEEzQjg5QjE4RTZFRjE2NTUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NENGQTg4RjA0MTQwMTFFOEEzQjg5QjE4RTZFRjE2NTUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0Q0ZBODhFRDQxNDAxMUU4QTNCODlCMThFNkVGMTY1NSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0Q0ZBODhFRTQxNDAxMUU4QTNCODlCMThFNkVGMTY1NSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAUIAAQALAAAAACAAIAAAAP/SLrc/jDKSau9OOvNu/+gJoxCaJ5oRpJp67rr+s50F7N1rk/3uP/ARa8ULOaGxuQMqWwSAFDAh9kZWAdOTTTqoW6u1+xlu7X1quCwmELmcryZtHotabtF56/cSp/Y7xhwFntzfRB/Ung3enuGbH+KMRqEWI5+kCp5GJSWj3aZi5uEnZ6fF4ISlJWkdZgWqBGcrJeuFLAPqrOlZKeaFLK6tG2vvqmjwbtlFbcNwMitpjzFEM7PEYiJEswKudbJgBDbBNXeh4jSobHk5Q/n6DjGjXQB9AEh7trw6vIfYB/19UDgC7EuTpoOABN+qAXiGBp+GRJK7MCwH0SDBSlI3Mhh/1gKORxUFcKwkeMGZS38MRKJsOREdtREjtTg0iRMbjJncqj5slxOnR54KvT2k48LoQCRFV01A2lAUkt/OKXXKWqQqY6KNkGaVeYanl0zJqkZ9uK8nobMOkoKFejNt3Djyp1Lt67du3jz6t3Lty/fpd18AnbIYHDgZ4arJT6sa7Ezx4QbQwa5YDJlpZZV4sxsFDNnpuM4C86MyzJM0n5Tq17NurXr17Bjy55Nu/YMzZZwV72clncfxmKAO2HZWyyQnGWN19Ba3GsQq8mJ64CemzkN6qywn9Au+edH60TBe+Ae3vt483PFi3I+ya3Fzhilx1ceUzfBgyvpl9a/H7+JyNDrATiIgAHad55v7ak1oIHzMRgSgQWClqCE+TlYmXubIbjSbxBeaGGG/tUlXGEKeljiTcp1COKHo524Inz1uViehg6o+CKMb+ln440UsqOjjDzKxd+OQeY4JJA89ugZjTGySCKS1RF5Y4RORslkkxjWKCWHUJpY5ZNX7tbllA1m2VyIF2zp5ZdZjDiBmkkuiWaaY65pZnB12qnkL3kaAaeeD83ZFptahvmmoNnduQ+idOKo2p+2kRnphIROKqmljTKKKZaObhqPop6aGOqoniYAACH5BAUIAAQALAoAAgBXADAAAAP/SLrc/jA+QIG8OOs9K+VgKEqeN54oV1Zp63brK7/rN99nbeE8qPejgDCQ+qEESEFrOEQZR8kkisnM1U7R6InaHD1DWWmQK/ReRWGxiNz1nUFp9Zot+m7iyhSb6I7B4y57IXYZeC+CKm8ahoeIGoQSeHmNZIl+i4Aze3wZkBCSOI4Yng+MoXSdipGZPKIkqhGmragXpAyys7QRtgqgQAquMCUYuD2btbANvr/AuhCXsawQA9QDgc7CxNIP1dVL2EfbDd3kepUy4uPk5WNcM+kM6/LtbehZGPLzc2U8Whn5+pgJBBhQ4C+C6wwyQ8hOIRCG3RwehEhNYg+KFS3ywKjxEyLDjg8JggyZb+TEhiZJWkupIQEAIfkEBQgABAAsHwACAFcAMAAAA/9Iutz+K8gAq7046zbn/mCodZ1oniLpoWxbqZIrzwRM0fhp53y496KBcMD6nQBIQGs4RBlFySSKydTBjlGpido0PUFZbZAr9F6hYeSJ3AV9NWnxmJw6g+NLts++iSvzdG58cHgubEQfbxd+M4eII4OLjI16G4oVk5SVGZcPfn80h5aRmIU5opyknqanmxedDZk8qK+qsayztC+2C59AC7oQsAqyQI61KpK4xq7CJBjFvwTBDyXKYS4C2gIY1CjRIdvb3YEyyyDi6RfNLOca6fDkVTjYIvD3GfM5USb3+NLS/P0D2EPgQII4DMZDyEOhOoYJHY6DSEPiRIozLGrDWNEUIseICj/mCClypMCSBReiTLnRRAIAIfkEBQgABAAsPAACAEIAQgAAA/9INDz6MMpJq52t3c17zZknjhaokWhqMmk7ro4rb/Bsf+utR7Ub/IHdo5cCAoWLXNF43BFJzKbuKYpKb9SO9WrLcrZBofcCRiZN0K15XCmvlVo3kj2Rz+EbcPiNjlvNQ3gWdnwgflGAgX1kaokKdAp6jo+CdY2TkJKTlCGMf5uKMYOXLgCmADuEKKenOqSrrKw3ryKxtq5MKba7qVweu7ygG8DBwhXExcYSyLfKFMyxzhPQstIR1K3W19io2hDc3svQ4dPI5M/E58fN6uum7fDx8vP09fb3+Pn6+gL9/v8AAwI0JrCgwX+gDio0uGmhw4GTHkoU0HCiw4QWDxLMKFACQQIAIfkEBQgABAAsTgAKADAAVwAAA+xIurzzo8lJK4XQ6n1x5uDmfWEpjaSpoqlaspG7srIL1+aNh3C8c7qfKCi0EIsdFHKoXFaOTkYvmhxRJ9NrA3rlqgLggJG2C4efzZp5XcWo1+y2zwSvjx+yup2q3zv7fkiAcHyDZlGGh3+JYIWMjoZaiVoKg5QLgJcMgZqVZ52goaKjpKWmp6ipqioAra6vsLGwNbK1tq8ut7q2rLu+uCa/wgC9w7u5xre0ybKrzs/Q0dLT1NUyAtgCpdncotzf2p3g3+Lj5JTm4+jp4Frs7e7v3fHy2PT16/XhV/r7/Pj52JVLF4qgt3Oj5lFIAAAh+QQFCAAEACxOAB8AMABXAAAD6Ui63P5uyAGrvW1OzDvRoCdGYDiOZXqKqbpirftWsTyTtXbTub7jPcovE5QMgb0jMahEtpqPHBRSm/JM1qswy+16v+CweEwum8/cgHrNbrvbs7d8zl7R7/MTfg8f8f8BeoB7doN0cYZvaIuMjY6PkJGSkwoAlgBml5pjmp2YYJ6doKGiXaShpqeeXKqrrK2br7CWsrOps59ZuLkQAr4CL7gVv7/BsL3ExcanyMnAN8wPzsrQpdLTzzuxw9hi2L7e3WHf2V/fY+fj4urT4evm717k7s7o8V3p7PX6+2D5/u3oESPTzx64KQkAACH5BAUIAAQALDwAPABCAEIAAAP5SLrc/lCNSau9Nuodsf8VJ3Jg+Y3oY65Z6kps/L6xPLu1ec/5uf/AoHBILBqPyKRyyWw6n9CodEoIWAPU13WbHW2/2K4G/BVHyGCzA01WM9htdxVels/pV/sdH3bz83Z/VnqCRgCHADd/RIiIinhDjY07dJGSh0BslpeJmXURAqECHJyYQVwaoqKkpU+qqhulpkyvq7GtTbWhrLhLuqO8l7m6I7K0xCLGvsjJvUi/KLKdz8zNnErQ0cpH2drX1LUv20Xd3sLc1eaS6OHi40LlKe9B8fLfRPXqjuTpLuf87XZMYvdKj4N8dhDKUeiGoRqHDwsafABrYoMEACH5BAUIAAQALB8ATgBXADAAAAP/SLrc/jDKN+qYOOvNif1dKI7NZ15kqkqnub6w17pxHc6trWt4vv+Q3glIdAhpxeQRlCwuLU3lExUFTjWCrOAX6AZGT4xWq/N6wcfJeFwzm0lC9TrbdndVOMmcHLOf8UgQe3QTAIYAGH53K0wRg1uFh4aJilGPkBGSkhOKi0WPGJqHlH5Jl6GiiJydn4MZqaqrpUCgr6karD+1qKK4lTu7vJobuTWnGrDExTDBwpvKs8zNkb3Q0SvT1MMcyynZ2s/cvyrfEskd3SLl5rch6RzHHefo71iuIvP01x33+O0i40L0C5FPnxtva1IUNOiJBBuF/0a8qeJsFMUoCy/+yKhREwfHjjU+goQhcuSLaiaJhEupIAEAIfkEBQgABAAsCgBOAFcAMAAAA/9IutwuULhJq704t8i1/+DHjVJoniE5omxLqaQrt7A632Bt4zymx73g5LcSGhfEznGZjCyPTcgT2pxSiSeAFiAceAeZZHar7X2/Ph2KTMadz5dai711v71pJYtev93RcU4ufGUXAYcBGH94VgSEXIaIh4qLVo+QFZKSF4uMS48YmoiUf0+XoaKJnJ2fhBmpqqulRqCvqRqsQrWooriVQbu8mh65OKcasMTFM8HCm8qzzM2RvdDRg64fyR/Le9natyDdY3wh29y/3uXm4eLpJscg5+jvINPI7e7X9usm8/pv1vRjV81EPX5tUPwD6ElgIYX5DAJqRG0YRSsLLwrJqLESB8eOOD6CnCFypIyCJo0845EAACH5BAUIAAQALAIAPABCAEIAAAP1SCTc/vCpSau9mMbNXf7g1Y1caIJkKp2spb5CK0+wOt/1eO/5tv/AoHBILBqPyKRyyWw6n9CodEo9Aa6AqgzL1Zq44Kw3EwaPL+XwmZIurwlt9zquPtPN9jv2rd/n+3yAgXc7AYYBRnqFh4ZFdD+MjERtQZGHjnhAlpeYV0ObjSADowNSoIiipKNQp6gZqqpPpyGwpE6ttLWlTbO5tbygJ7q7S72+sEzGx7FKuMK6xcEsw83Ky7ZJ1terSNrbxEbeqb9H4uPI4eYf1OmbO+xF0jfwRPIz9PWRQPj5oT/8byYADEhgYECDbxCuUXiGYUN0BDEwSwAAIfkEBQgABAAsAgAfADAAVwAAA+dIuiwuLMpJa3vO6k2x5+DmjWEpjaipoqlasq3LwbGs0aR945gu8g/fDggRdohF4wSprACbFhw0CpsOe9ZfJsvter/gsHhMLpvPIYB6zW6727a3fM520e9zFX4PN/H/AHqAe3aDdHGGb2iLjI2Oj5CRkpNoAZYBZpeaY5qdmGCenV+hnl2koVmnqFaqpVOtoq+wl6mzlqy2n7KzXLYyA8ADFrwuwcEVrTbGxhSnPsvHzbE60NHSt0LVwGLawmHd3mDd3OPf2uTVY+Xi5+bt7Onu8fDQ6PX2y/jM8vf0+frb1M3Td2afhgQAIfkECQgABAAsAgAKADAAVwAAA+tIutz+S0gBq71tTsy70ponVuA2nkxpoqe6sqJLwa1Lj/KN23onzz1MLigcEi3GI4mnhCSbjic0Ip0SqtOfNcqEAL6AHpYABuuw5fSty0i7YeyFe84qVeZ0VMiCz0/7flCAb3+DZVuGh1aJZoWMiI+Qg1tygJSVeJdthJqbX52goaKjpKWmp6ipOgGsra6vsK8wsbS1rii2ubUnur2yI77BAbzCvbjFtrPIsarNzs/Q0dLT1M8D1wOj2Nug297Zl9/elOLfVuXiUOjpTevmSu7j8PHY6vTX7ffg8/RT91v9AK7ThC7UO1HcrCQAADs=";
13017
13023
  var loading2Gif = loading2;
13018
13024
 
13019
- var modules_63b47c51$6 = {"msgItem-action-copy":"index_module_msgItemActionCopy__163df76c","msgItem-action-copy-success":"index_module_msgItemActionCopySuccess__163df76c"};
13025
+ var modules_63b47c51$8 = {"msgItem-action-copy":"index_module_msgItemActionCopy__4640e67c","msgItem-action-copy-success":"index_module_msgItemActionCopySuccess__4640e67c"};
13020
13026
 
13021
13027
  var copyIconSvg = /*#__PURE__*/ jsx("i", {
13022
- children: /*#__PURE__*/ jsx("svg", {
13023
- xmlns: "http://www.w3.org/2000/svg",
13028
+ children: /*#__PURE__*/ jsxs("svg", {
13024
13029
  width: "1em",
13025
13030
  height: "1em",
13026
- viewBox: "0 0 20 20",
13031
+ viewBox: "0 0 14 14",
13032
+ shapeRendering: "geometricPrecision",
13027
13033
  fill: "currentColor",
13028
- children: /*#__PURE__*/ jsx("path", {
13029
- d: "M7.97375 3H15.7106C16.0526 3 16.3806 3.13585 16.6224 3.37768C16.8642 3.6195 17.0001 3.94748 17.0001 4.28947V12.0263C17.0001 12.3683 16.8642 12.6963 16.6224 12.9381C16.3806 13.1799 16.0526 13.3158 15.7106 13.3158H7.97375C7.63176 13.3158 7.30377 13.1799 7.06195 12.9381C6.82013 12.6963 6.68427 12.3683 6.68427 12.0263V4.28947C6.68427 3.94748 6.82013 3.6195 7.06195 3.37768C7.30377 3.13585 7.63176 3 7.97375 3ZM7.97375 4.10526C7.92489 4.10526 7.87804 4.12467 7.84349 4.15922C7.80894 4.19376 7.78954 4.24062 7.78954 4.28947V12.0263C7.78954 12.0505 7.7943 12.0745 7.80356 12.0968C7.81281 12.1192 7.82638 12.1395 7.84349 12.1566C7.86059 12.1737 7.8809 12.1872 7.90325 12.1965C7.9256 12.2058 7.94955 12.2105 7.97375 12.2105H15.7106C15.7594 12.2105 15.8063 12.1911 15.8408 12.1566C15.8754 12.122 15.8948 12.0752 15.8948 12.0263V4.28947C15.8948 4.24062 15.8754 4.19376 15.8408 4.15922C15.8063 4.12467 15.7594 4.10526 15.7106 4.10526H7.97375ZM12.2106 14.4211C12.2106 14.2745 12.2688 14.1339 12.3724 14.0303C12.4761 13.9266 12.6167 13.8684 12.7632 13.8684C12.9098 13.8684 13.0504 13.9266 13.154 14.0303C13.2576 14.1339 13.3159 14.2745 13.3159 14.4211V15.7105C13.3159 16.0525 13.18 16.3805 12.9382 16.6223C12.6963 16.8641 12.3684 17 12.0264 17H4.28953C3.94755 17 3.61956 16.8641 3.37774 16.6223C3.13592 16.3805 3.00006 16.0525 3.00006 15.7105V7.97368C3.00006 7.63169 3.13592 7.30371 3.37774 7.06189C3.61956 6.82007 3.94755 6.68421 4.28953 6.68421H5.57901C5.72558 6.68421 5.86614 6.74243 5.96978 6.84607C6.07342 6.94971 6.13164 7.09028 6.13164 7.23684C6.13164 7.38341 6.07342 7.52397 5.96978 7.62761C5.86614 7.73125 5.72558 7.78947 5.57901 7.78947H4.28953C4.24068 7.78947 4.19382 7.80888 4.15928 7.84343C4.12473 7.87797 4.10532 7.92483 4.10532 7.97368V15.7105C4.10532 15.7594 4.12473 15.8062 4.15928 15.8408C4.19382 15.8753 4.24068 15.8947 4.28953 15.8947H12.0264C12.0752 15.8947 12.1221 15.8753 12.1566 15.8408C12.1912 15.8062 12.2106 15.7594 12.2106 15.7105V14.4211Z"
13030
- })
13034
+ xmlns: "http://www.w3.org/2000/svg",
13035
+ children: [
13036
+ /*#__PURE__*/ jsx("g", {
13037
+ clipPath: "url(#clip0_518_8403)",
13038
+ children: /*#__PURE__*/ jsx("path", {
13039
+ d: "M6.16666 1.66666H13.1667C13.4761 1.66666 13.7728 1.78957 13.9916 2.00837C14.2104 2.22716 14.3333 2.5239 14.3333 2.83332V9.83332C14.3333 10.1427 14.2104 10.4395 13.9916 10.6583C13.7728 10.8771 13.4761 11 13.1667 11H6.16666C5.85724 11 5.5605 10.8771 5.34171 10.6583C5.12291 10.4395 5 10.1427 5 9.83332V2.83332C5 2.5239 5.12291 2.22716 5.34171 2.00837C5.5605 1.78957 5.85724 1.66666 6.16666 1.66666ZM6.16666 2.66666C6.12246 2.66666 6.08007 2.68422 6.04881 2.71547C6.01756 2.74673 6 2.78912 6 2.83332V9.83332C6 9.85521 6.00431 9.87688 6.01268 9.8971C6.02106 9.91732 6.03334 9.9357 6.04881 9.95117C6.06429 9.96665 6.08266 9.97893 6.10288 9.9873C6.1231 9.99568 6.14478 9.99999 6.16666 9.99999H13.1667C13.2109 9.99999 13.2533 9.98243 13.2845 9.95117C13.3158 9.91992 13.3333 9.87753 13.3333 9.83332V2.83332C13.3333 2.78912 13.3158 2.74673 13.2845 2.71547C13.2533 2.68422 13.2109 2.66666 13.1667 2.66666H6.16666ZM10 12C10 11.8674 10.0527 11.7402 10.1464 11.6464C10.2402 11.5527 10.3674 11.5 10.5 11.5C10.6326 11.5 10.7598 11.5527 10.8536 11.6464C10.9473 11.7402 11 11.8674 11 12V13.1667C11 13.4761 10.8771 13.7728 10.6583 13.9916C10.4395 14.2104 10.1427 14.3333 9.83333 14.3333H2.83333C2.52391 14.3333 2.22717 14.2104 2.00837 13.9916C1.78958 13.7728 1.66666 13.4761 1.66666 13.1667V6.16666C1.66666 5.85724 1.78958 5.56049 2.00837 5.3417C2.22717 5.12291 2.52391 4.99999 2.83333 4.99999H4C4.13261 4.99999 4.25978 5.05267 4.35355 5.14644C4.44732 5.2402 4.5 5.36738 4.5 5.49999C4.5 5.6326 4.44732 5.75978 4.35355 5.85354C4.25978 5.94731 4.13261 5.99999 4 5.99999H2.83333C2.78913 5.99999 2.74674 6.01755 2.71548 6.04881C2.68422 6.08006 2.66666 6.12245 2.66666 6.16666V13.1667C2.66666 13.2109 2.68422 13.2533 2.71548 13.2845C2.74674 13.3158 2.78913 13.3333 2.83333 13.3333H9.83333C9.87753 13.3333 9.91993 13.3158 9.95118 13.2845C9.98244 13.2533 10 13.2109 10 13.1667V12Z"
13040
+ })
13041
+ }),
13042
+ /*#__PURE__*/ jsx("defs", {
13043
+ children: /*#__PURE__*/ jsx("clipPath", {
13044
+ id: "clip0_518_8403",
13045
+ children: /*#__PURE__*/ jsx("rect", {
13046
+ width: "16",
13047
+ height: "16"
13048
+ })
13049
+ })
13050
+ })
13051
+ ]
13031
13052
  })
13032
13053
  });
13033
13054
  var copySuccessSvg = /*#__PURE__*/ jsx("i", {
13034
13055
  children: /*#__PURE__*/ jsx("svg", {
13035
13056
  width: "1em",
13036
13057
  height: "1em",
13037
- "shape-rendering": "geometricPrecision",
13058
+ shapeRendering: "geometricPrecision",
13038
13059
  fill: "currentColor",
13039
13060
  viewBox: "0 0 12 7",
13040
13061
  xmlns: "http://www.w3.org/2000/svg",
@@ -13053,7 +13074,7 @@ var CopyIcon = function(props) {
13053
13074
  };
13054
13075
  }, []);
13055
13076
  var getCls = function(clsName) {
13056
- return modules_63b47c51$6[clsName] + " " + prefix + "-" + clsName;
13077
+ return modules_63b47c51$8[clsName] + " " + prefix + "-" + clsName;
13057
13078
  };
13058
13079
  var copyTextClick = function() {
13059
13080
  if (copySuccess) return;
@@ -13075,24 +13096,34 @@ var CopyIcon = function(props) {
13075
13096
  };
13076
13097
  var CopyIcon$1 = CopyIcon;
13077
13098
 
13078
- var modules_63b47c51$5 = {"msgItem-action-references":"index_module_msgItemActionReferences__13842348"};
13099
+ var modules_63b47c51$7 = {"msgItem-action-references":"index_module_msgItemActionReferences__01544392"};
13079
13100
 
13080
13101
  var referencesIcon = /*#__PURE__*/ jsx("i", {
13081
- children: /*#__PURE__*/ jsx("svg", {
13082
- xmlns: "http://www.w3.org/2000/svg",
13102
+ children: /*#__PURE__*/ jsxs("svg", {
13083
13103
  width: "1em",
13084
13104
  height: "1em",
13085
- viewBox: "0 0 20 20",
13105
+ shapeRendering: "geometricPrecision",
13086
13106
  fill: "currentColor",
13087
- children: /*#__PURE__*/ jsx("path", {
13088
- d: "M8.28467 5.03809C8.4743 4.91639 8.61455 4.90994 8.76123 5.10059C8.92876 5.31834 9.04161 5.46433 9.09912 5.53906C9.18641 5.65254 9.15264 5.80277 9.06201 5.87988C7.69541 6.75725 6.13959 8.64084 6.02295 9.32031C5.90632 9.99981 6.57509 9.82255 7.66846 10.3311C8.76173 10.8396 9.66644 12.6996 8.15674 14.165C6.64677 15.6306 3.66696 13.9994 4.10107 10.667C4.38007 8.52662 5.77465 6.65005 8.28467 5.03809ZM14.8931 5.03809C15.0828 4.91629 15.2239 4.90989 15.3706 5.10059C15.5383 5.31849 15.6511 5.46448 15.7085 5.53906C15.7958 5.65256 15.7611 5.80278 15.6704 5.87988C14.3038 6.75727 12.748 8.64086 12.6313 9.32031C12.5147 9.99975 13.1836 9.82261 14.2769 10.3311C15.3702 10.8395 16.2751 12.6995 14.7651 14.165C13.2552 15.6306 10.2754 13.9994 10.7095 10.667C10.9885 8.52661 12.3831 6.65005 14.8931 5.03809Z"
13089
- })
13107
+ viewBox: "0 0 14 14",
13108
+ xmlns: "http://www.w3.org/2000/svg",
13109
+ children: [
13110
+ /*#__PURE__*/ jsx("path", {
13111
+ "fill-rule": "evenodd",
13112
+ "clip-rule": "evenodd",
13113
+ d: "M6.28443 3.03861C3.77423 4.65069 2.37971 6.52702 2.10085 8.66759C1.66674 12 4.6468 13.6311 6.15677 12.1655C7.66673 10.7 6.7616 8.83982 5.66823 8.33136C4.57487 7.82286 3.90623 7.99996 4.02287 7.32046C4.1395 6.64099 5.69503 4.75706 7.06163 3.87969C7.1523 3.80259 7.1868 3.65299 7.0995 3.53949C7.04207 3.46486 6.92943 3.31847 6.7616 3.10033C6.61483 2.90957 6.47423 2.91671 6.28443 3.03861Z"
13114
+ }),
13115
+ /*#__PURE__*/ jsx("path", {
13116
+ "fill-rule": "evenodd",
13117
+ "clip-rule": "evenodd",
13118
+ d: "M12.893 3.03861C10.3828 4.65069 8.98827 6.52702 8.7094 8.66759C8.2753 12 11.2554 13.6311 12.7653 12.1655C14.2753 10.7 13.3702 8.83982 12.2768 8.33136C11.1834 7.82286 10.5148 7.99996 10.6314 7.32046C10.7481 6.64099 12.3036 4.75706 13.6702 3.87969C13.7609 3.80259 13.7954 3.65299 13.708 3.53949C13.6506 3.46486 13.538 3.31847 13.3702 3.10033C13.2234 2.90957 13.0828 2.91671 12.893 3.03861Z"
13119
+ })
13120
+ ]
13090
13121
  })
13091
13122
  });
13092
13123
  var ReferencesIcon = function(props) {
13093
13124
  var prefix = props.prefix, apiRef = props.apiRef, item = props.item;
13094
13125
  var getCls = function(clsName) {
13095
- return modules_63b47c51$5[clsName] + " " + prefix + "-" + clsName;
13126
+ return modules_63b47c51$7[clsName] + " " + prefix + "-" + clsName;
13096
13127
  };
13097
13128
  var clickFn = function() {
13098
13129
  console.log("apiRef", apiRef);
@@ -13100,7 +13131,8 @@ var ReferencesIcon = function(props) {
13100
13131
  console.log("itemitem", item);
13101
13132
  apiRef.footerApi.setReferences({
13102
13133
  type: "text",
13103
- value: item.content
13134
+ value: item.content,
13135
+ source: item
13104
13136
  });
13105
13137
  }
13106
13138
  };
@@ -13114,12 +13146,94 @@ var ReferencesIcon = function(props) {
13114
13146
  };
13115
13147
  var ReferencesIcon$1 = ReferencesIcon;
13116
13148
 
13149
+ var modules_63b47c51$6 = {"upVoteBtn":"index_module_upVoteBtn__2e714550","downVoteBtn":"index_module_downVoteBtn__2e714550","active":"index_module_active__2e714550"};
13150
+
13151
+ var upvoteBtnSvg = /*#__PURE__*/ jsx("svg", {
13152
+ width: "1em",
13153
+ height: "1em",
13154
+ viewBox: "0 0 16 16",
13155
+ shapeRendering: "geometricPrecision",
13156
+ fill: "currentColor",
13157
+ xmlns: "http://www.w3.org/2000/svg",
13158
+ children: /*#__PURE__*/ jsx("path", {
13159
+ d: "M14.9948 7.82355C14.999 7.88679 14.9948 7.95002 14.978 8.01326L13.7172 13.4046C13.7003 13.4699 13.6709 13.527 13.633 13.58C13.4983 13.8411 13.292 14.0716 13.0205 14.2409C12.7321 14.4184 12.4122 14.5 12.0944 14.5V14.4959L4.00144 14.4918C3.97408 14.4959 3.94461 14.498 3.91514 14.498C3.88568 14.498 3.85621 14.4959 3.82885 14.4918H1.67564C1.64617 14.4959 1.6146 14.5 1.58303 14.5C1.26099 14.5 1 14.2471 1 13.935L1.00631 7.1504C1.00631 6.8383 1.26731 6.58536 1.58934 6.58536C1.6125 6.58536 1.63775 6.5874 1.66091 6.58944L3.59522 6.58536V6.57516C5.37587 6.45073 6.78609 5.03711 6.8366 3.29303C6.83239 3.24408 6.82818 3.19512 6.82818 3.14412C6.82818 2.23639 7.58802 1.5 8.52465 1.5C9.32868 1.5 10.0022 2.04464 10.1769 2.77287L10.1853 2.77083C10.2801 3.18696 10.3327 3.61941 10.3327 4.06206C10.3327 4.74745 10.2127 5.40428 9.99169 6.0142L13.2457 6.01828C13.2752 6.01828 13.3046 6.02032 13.3341 6.02644C13.8898 6.04684 14.4244 6.32426 14.7401 6.8179C14.9422 7.13204 15.0222 7.4829 14.9948 7.82355ZM2.16816 13.3618H3.33422L3.33843 7.71544L2.17448 7.71748L2.16816 13.3618ZM13.7572 7.40946C13.6456 7.23403 13.4478 7.14224 13.2478 7.15244V7.1504H13.2457L9.13294 7.14632C8.8109 7.14632 8.54991 6.89338 8.54991 6.58128C8.54991 6.49153 8.57306 6.40585 8.61095 6.33038L8.60463 6.3263C8.83827 5.90609 9.00665 5.44712 9.10347 4.96367H9.10979C9.10979 4.96367 9.18766 4.6577 9.18556 4.0743C9.18556 3.61125 9.09716 3.18696 9.09716 3.18696H9.09295C9.09295 3.1788 9.09505 3.17064 9.09505 3.16248C9.09505 2.87078 8.85089 2.63416 8.54991 2.63416C8.24892 2.63416 8.00477 2.87078 8.00477 3.16248C8.00477 3.17472 8.00687 3.18696 8.00687 3.1992H7.99845C7.99845 3.1992 8.00687 3.63981 7.91636 4.09878C7.87848 4.29256 7.82375 4.47411 7.77324 4.6169C7.77324 4.6169 7.77113 4.6169 7.77113 4.61486C7.28072 6.06928 6.0473 7.19528 4.50449 7.57673L4.49817 13.3638L12.0965 13.3658C12.1217 13.3658 12.147 13.3679 12.1723 13.372C12.248 13.3618 12.3238 13.3373 12.3912 13.2944C12.488 13.2353 12.5595 13.1496 12.6016 13.0517H12.6037L13.8161 7.86231L13.8119 7.86027C13.8624 7.71544 13.8477 7.55021 13.7572 7.40946Z"
13160
+ })
13161
+ });
13162
+ var downvoteBtnSvg = /*#__PURE__*/ jsx("svg", {
13163
+ width: "1em",
13164
+ height: "1em",
13165
+ shapeRendering: "geometricPrecision",
13166
+ fill: "currentColor",
13167
+ viewBox: "0 0 16 16",
13168
+ xmlns: "http://www.w3.org/2000/svg",
13169
+ children: /*#__PURE__*/ jsx("path", {
13170
+ d: "M1.0052 8.17645C1.00099 8.11321 1.0052 8.04998 1.02204 7.98674L2.28281 2.5954C2.29965 2.53013 2.32912 2.47301 2.36701 2.41998C2.50171 2.15887 2.70798 1.92837 2.9795 1.75906C3.26786 1.58159 3.58779 1.5 3.90561 1.5V1.50408L11.9986 1.50816C12.0259 1.50408 12.0554 1.50204 12.0849 1.50204C12.1143 1.50204 12.1438 1.50408 12.1712 1.50816H14.3244C14.3538 1.50408 14.3854 1.5 14.417 1.5C14.739 1.5 15 1.75294 15 2.06504L14.9937 8.8496C14.9937 9.1617 14.7327 9.41464 14.4107 9.41464C14.3875 9.41464 14.3622 9.4126 14.3391 9.41056L12.4048 9.41464V9.42484C10.6241 9.54927 9.21391 10.9629 9.1634 12.707C9.16761 12.7559 9.17182 12.8049 9.17182 12.8559C9.17182 13.7636 8.41198 14.5 7.47535 14.5C6.67132 14.5 5.99778 13.9554 5.82308 13.2271L5.81466 13.2292C5.71995 12.813 5.66733 12.3806 5.66733 11.9379C5.66733 11.2526 5.7873 10.5957 6.00831 9.9858L2.75429 9.98172C2.72482 9.98172 2.69535 9.97968 2.66589 9.97356C2.11022 9.95316 1.5756 9.67574 1.25988 9.1821C1.05782 8.86796 0.977839 8.5171 1.0052 8.17645ZM13.8318 2.63824H12.6658L12.6616 8.28456L13.8255 8.28252L13.8318 2.63824ZM2.24282 8.59054C2.35438 8.76597 2.55223 8.85776 2.75218 8.84756V8.8496H2.75429L6.86706 8.85368C7.1891 8.85368 7.45009 9.10662 7.45009 9.41872C7.45009 9.50847 7.42694 9.59415 7.38905 9.66962L7.39537 9.6737C7.16173 10.0939 6.99335 10.5529 6.89653 11.0363H6.89021C6.89021 11.0363 6.81234 11.3423 6.81444 11.9257C6.81444 12.3887 6.90284 12.813 6.90284 12.813H6.90705C6.90705 12.8212 6.90495 12.8294 6.90495 12.8375C6.90495 13.1292 7.14911 13.3658 7.45009 13.3658C7.75108 13.3658 7.99523 13.1292 7.99523 12.8375C7.99523 12.8253 7.99313 12.813 7.99313 12.8008H8.00155C8.00155 12.8008 7.99313 12.3602 8.08364 11.9012C8.12152 11.7074 8.17625 11.5259 8.22676 11.3831C8.22676 11.3831 8.22887 11.3831 8.22887 11.3851C8.71928 9.93072 9.9527 8.80472 11.4955 8.42327L11.5018 2.6362L3.90351 2.63416C3.87825 2.63416 3.85299 2.63212 3.82773 2.62804C3.75196 2.63824 3.67619 2.66272 3.60884 2.70555C3.51201 2.76471 3.44045 2.85038 3.39836 2.9483H3.39625L2.18389 8.13769L2.1881 8.13973C2.13758 8.28456 2.15232 8.44979 2.24282 8.59054Z"
13171
+ })
13172
+ });
13173
+ var UpVoteBtn = function(props) {
13174
+ var prefix = props.prefix, isActive = props.isActive, clickFn = props.clickFn;
13175
+ var getCls = function(clsName) {
13176
+ return modules_63b47c51$6[clsName] + " " + prefix + "-" + clsName;
13177
+ };
13178
+ return /*#__PURE__*/ jsx("i", {
13179
+ onClick: function() {
13180
+ clickFn();
13181
+ },
13182
+ className: "".concat(getCls("upVoteBtn"), " ").concat(isActive ? getCls("active") : ""),
13183
+ children: upvoteBtnSvg
13184
+ });
13185
+ };
13186
+ var DownVoteBtn = function(props) {
13187
+ var prefix = props.prefix, isActive = props.isActive, clickFn = props.clickFn;
13188
+ var getCls = function(clsName) {
13189
+ return modules_63b47c51$6[clsName] + " " + prefix + "-" + clsName;
13190
+ };
13191
+ return /*#__PURE__*/ jsx("i", {
13192
+ onClick: function() {
13193
+ clickFn();
13194
+ },
13195
+ className: "".concat(getCls("downVoteBtn"), " ").concat(isActive ? getCls("active") : ""),
13196
+ children: downvoteBtnSvg
13197
+ });
13198
+ };
13199
+
13200
+ var modules_63b47c51$5 = {"refreshBtn":"index_module_refreshBtn__e1c5f38f","active":"index_module_active__e1c5f38f"};
13201
+
13202
+ var refreshSvg = /*#__PURE__*/ jsx("svg", {
13203
+ viewBox: "0 0 14 14",
13204
+ version: "1.1",
13205
+ xmlns: "http://www.w3.org/2000/svg",
13206
+ "p-id": "8340",
13207
+ width: "1em",
13208
+ height: "1em",
13209
+ fill: "currentColor",
13210
+ shapeRendering: "geometricPrecision",
13211
+ "aria-hidden": "true",
13212
+ children: /*#__PURE__*/ jsx("path", {
13213
+ d: "M8 3.80001C7.27938 3.80001 6.60141 3.97512 6.00464 4.2846C5.71048 4.43715 5.34834 4.32235 5.19579 4.02818C5.04324 3.73401 5.15804 3.37187 5.4522 3.21932C6.21563 2.82342 7.0826 2.60001 8 2.60001C11.0603 2.60001 13.5412 5.08088 13.5412 8.14118C13.5412 8.40936 13.5221 8.67343 13.4851 8.93202C13.4737 9.01141 13.4607 9.09026 13.446 9.16853L13.7175 9.02364C14.0098 8.86759 14.3733 8.97808 14.5293 9.27041C14.6854 9.56274 14.5749 9.92622 14.2825 10.0823L12.6718 10.9421C12.3819 11.0968 12.0215 10.9896 11.8633 10.7016L11.0035 9.13588C10.844 8.84542 10.9501 8.48065 11.2406 8.32115C11.5311 8.16164 11.8958 8.2678 12.0553 8.55825L12.2672 8.94405C12.2784 8.88383 12.2885 8.82318 12.2972 8.76211C12.3261 8.55962 12.3412 8.35233 12.3412 8.14118C12.3412 5.74362 10.3976 3.80001 8 3.80001ZM3.32824 5.34029C3.61811 5.18556 3.97853 5.29278 4.13669 5.58079L4.99651 7.14649C5.15601 7.43694 5.04986 7.80171 4.7594 7.96122C4.46895 8.12072 4.10418 8.01457 3.94467 7.72411L3.73281 7.33832C3.72156 7.39853 3.71155 7.45919 3.70282 7.52026C3.67386 7.72275 3.65883 7.93003 3.65883 8.14118C3.65883 10.5387 5.60244 12.4824 8 12.4824C8.72063 12.4824 9.39859 12.3072 9.99536 11.9978C10.2895 11.8452 10.6517 11.96 10.8042 12.2542C10.9568 12.5484 10.842 12.9105 10.5478 13.063C9.78437 13.4589 8.9174 13.6824 8 13.6824C4.93969 13.6824 2.45883 11.2015 2.45883 8.14118C2.45883 7.87301 2.47792 7.60894 2.51491 7.35034C2.52627 7.27095 2.5393 7.19211 2.55399 7.11384L2.28254 7.25873C1.99021 7.41477 1.62673 7.30429 1.47069 7.01196C1.31465 6.71963 1.42513 6.35615 1.71746 6.20011L3.32824 5.34029Z"
13214
+ })
13215
+ });
13216
+ var RefreshBtn = function(props) {
13217
+ var prefix = props.prefix, clickFn = props.clickFn;
13218
+ var getCls = function(clsName) {
13219
+ return modules_63b47c51$5[clsName] + " " + prefix + "-" + clsName;
13220
+ };
13221
+ return /*#__PURE__*/ jsx("i", {
13222
+ className: "".concat(getCls("refreshBtn")),
13223
+ onClick: function() {
13224
+ return clickFn();
13225
+ },
13226
+ children: refreshSvg
13227
+ });
13228
+ };
13229
+ var RefreshBtn$1 = RefreshBtn;
13230
+
13117
13231
  var Header = function(param) {
13118
13232
  var context = param.context;
13119
13233
  var prefix = context.prefix, loading = context.loading;
13120
13234
  if (!loading) return null;
13121
13235
  var getCls = function(clsName) {
13122
- return modules_63b47c51$7[clsName] + " " + prefix + "-" + clsName;
13236
+ return modules_63b47c51$9[clsName] + " " + prefix + "-" + clsName;
13123
13237
  };
13124
13238
  return /*#__PURE__*/ jsx("div", {
13125
13239
  className: "".concat(getCls("loadingIcon")),
@@ -13147,7 +13261,7 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13147
13261
  var getList = contentConfig.getList, coverRenderText = contentConfig.coverRenderText, _contentConfig_msgAction = contentConfig.msgAction, msgAction = _contentConfig_msgAction === void 0 ? [
13148
13262
  "copy",
13149
13263
  "references"
13150
- ] : _contentConfig_msgAction, coverRenderReferences = contentConfig.coverRenderReferences, _contentConfig_onRecordMessage = contentConfig.onRecordMessage, onRecordMessage = _contentConfig_onRecordMessage === void 0 ? function() {} : _contentConfig_onRecordMessage;
13264
+ ] : _contentConfig_msgAction, coverRenderReferences = contentConfig.coverRenderReferences, _contentConfig_onRecordMessage = contentConfig.onRecordMessage, onRecordMessage = _contentConfig_onRecordMessage === void 0 ? function() {} : _contentConfig_onRecordMessage, _contentConfig_onVoteChange = contentConfig.onVoteChange, onVoteChange = _contentConfig_onVoteChange === void 0 ? function() {} : _contentConfig_onVoteChange, _contentConfig_onRefresh = contentConfig.onRefresh, onRefresh = _contentConfig_onRefresh === void 0 ? function() {} : _contentConfig_onRefresh;
13151
13265
  var loadMoreProps = contentConfig.loadMore || true;
13152
13266
  var virtuosoRef = useRef(null);
13153
13267
  var _useState = _sliced_to_array(useState(false), 2), loading = _useState[0], setLoading = _useState[1]; // 是否加载中
@@ -13169,6 +13283,7 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13169
13283
  maxPage: Math.ceil(total / pageSize)
13170
13284
  });
13171
13285
  var timeRenderCache = useRef(new Map()).current;
13286
+ useRef(new Map()).current;
13172
13287
  useImperativeHandle(ref, function() {
13173
13288
  return {
13174
13289
  addMsg: function(msg) {
@@ -13201,12 +13316,35 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13201
13316
  },
13202
13317
  recordMsg: function(msg) {
13203
13318
  onRecordMessage(msg);
13319
+ },
13320
+ getDataSource: function() {
13321
+ return recordRef.current.dataSource;
13322
+ },
13323
+ upateDataSource: function(id, obj) {
13324
+ setDataSource(function(list) {
13325
+ return list.map(function(item) {
13326
+ if (item.id === id) {
13327
+ return _object_spread({}, item, obj);
13328
+ }
13329
+ return item;
13330
+ });
13331
+ });
13332
+ },
13333
+ changeDataSource: function(data) {
13334
+ setDataSource(data);
13335
+ },
13336
+ scrollToBottom: function scrollToBottom() {
13337
+ if (!virtuosoRef.current) return;
13338
+ virtuosoRef.current.scrollToIndex({
13339
+ index: "LAST",
13340
+ behavior: "auto"
13341
+ });
13204
13342
  }
13205
13343
  };
13206
13344
  });
13207
13345
  useEffect(function() {
13208
13346
  getData(page, pageSize);
13209
- var removeFn = delegate$1(wrapperRef.current, "click", ".".concat(modules_63b47c51$7.copyCode), function(event, target) {
13347
+ var removeFn = delegate$1(wrapperRef.current, "click", ".".concat(modules_63b47c51$9.copyCode), function(event, target) {
13210
13348
  findCopyContent(event);
13211
13349
  });
13212
13350
  return function() {
@@ -13217,18 +13355,18 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13217
13355
  }, []);
13218
13356
  useEffect(function() {
13219
13357
  if (!virtuosoRef.current) return;
13220
- virtuosoRef.current.scrollToIndex({
13221
- index: "LAST",
13222
- behavior: "auto"
13223
- });
13224
- clearTimeout(timerRef.current.scrollTimer);
13225
- timerRef.current.scrollTimer = setTimeout(function() {
13226
- virtuosoRef.current.scrollToIndex({
13227
- index: "LAST",
13228
- behavior: "auto",
13229
- align: "end"
13230
- });
13231
- }, 500);
13358
+ // virtuosoRef.current.scrollToIndex({
13359
+ // index: "LAST", // 或者使用 dataSource.length - 1
13360
+ // behavior: "auto", // 可以是 "smooth" 实现平滑滚动
13361
+ // });
13362
+ // clearTimeout(timerRef.current.scrollTimer);
13363
+ // timerRef.current.scrollTimer = setTimeout(() => {
13364
+ // virtuosoRef.current.scrollToIndex({
13365
+ // index: "LAST", // 或者使用 dataSource.length - 1
13366
+ // behavior: "auto", // 可以是 "smooth" 实现平滑滚动
13367
+ // align: "end",
13368
+ // });
13369
+ // }, 500);
13232
13370
  }, [
13233
13371
  dataSource
13234
13372
  ]);
@@ -13263,7 +13401,7 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13263
13401
  }, 500);
13264
13402
  };
13265
13403
  var getCls = function(clsName) {
13266
- return modules_63b47c51$7[clsName] + " " + prefix + "-" + clsName;
13404
+ return modules_63b47c51$9[clsName] + " " + prefix + "-" + clsName;
13267
13405
  };
13268
13406
  var loadMore = useCallback(function() {
13269
13407
  if (!loadMoreProps) return;
@@ -13275,8 +13413,20 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13275
13413
  ]);
13276
13414
  var itemContent = function(index, item) {
13277
13415
  var timeNode = renderTime(item);
13416
+ item.id + "-" + item.content;
13417
+ var contentNode = null;
13418
+ // if (htmlRenderCache.has(cahceKey)) {
13419
+ // contentNode = htmlRenderCache.get(cahceKey);
13420
+ // } else {
13421
+ // const html = markToHtml(item.content, item.id);
13422
+ // contentNode = <div dangerouslySetInnerHTML={{ __html: html }}></div>;
13423
+ // if (coverRenderText) {
13424
+ // contentNode = coverRenderText(item, html);
13425
+ // }
13426
+ // htmlRenderCache.set(cahceKey, contentNode);
13427
+ // }
13278
13428
  var html = markToHtml(item.content, item.id);
13279
- var contentNode = /*#__PURE__*/ jsx("div", {
13429
+ contentNode = /*#__PURE__*/ jsx("div", {
13280
13430
  dangerouslySetInnerHTML: {
13281
13431
  __html: html
13282
13432
  }
@@ -13342,8 +13492,8 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13342
13492
  var dom = document.querySelector('[data-id="'.concat(item.id, '"]'));
13343
13493
  var container = wrapperRef.current;
13344
13494
  if (!dom) return;
13345
- var topDom = dom.querySelector("." + modules_63b47c51$7["msgItem-action-popover-floatTop"]);
13346
- var bottomDom = dom.querySelector("." + modules_63b47c51$7["msgItem-action-popover-floatBottom"]);
13495
+ var topDom = dom.querySelector("." + modules_63b47c51$9["msgItem-action-popover-floatTop"]);
13496
+ var bottomDom = dom.querySelector("." + modules_63b47c51$9["msgItem-action-popover-floatBottom"]);
13347
13497
  if (!topDom || !bottomDom) return;
13348
13498
  console.log("itemitem", dom, container);
13349
13499
  var con_obj = container.getBoundingClientRect(); // 外层盒子
@@ -13376,8 +13526,8 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13376
13526
  var onMouseLeave = function(item) {
13377
13527
  var dom = document.querySelector('[data-id="'.concat(item.id, '"]'));
13378
13528
  if (!dom) return;
13379
- var topDom = dom.querySelector("." + modules_63b47c51$7["msgItem-action-popover-floatTop"]);
13380
- var bottomDom = dom.querySelector("." + modules_63b47c51$7["msgItem-action-popover-floatBottom"]);
13529
+ var topDom = dom.querySelector("." + modules_63b47c51$9["msgItem-action-popover-floatTop"]);
13530
+ var bottomDom = dom.querySelector("." + modules_63b47c51$9["msgItem-action-popover-floatBottom"]);
13381
13531
  if (!topDom || !bottomDom) return;
13382
13532
  bottomDom.style.cssText = "";
13383
13533
  topDom.style.cssText = "";
@@ -13392,11 +13542,53 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13392
13542
  apiRef: apiRef,
13393
13543
  item: item
13394
13544
  });
13545
+ var UpVoteNode = /*#__PURE__*/ jsx(UpVoteBtn, {
13546
+ prefix: prefix,
13547
+ isActive: item.vote === "up",
13548
+ clickFn: function() {
13549
+ setDataSource(function(data) {
13550
+ return data.map(function(ite) {
13551
+ if (item.id === ite.id) {
13552
+ ite.vote = item.vote === "up" ? "" : "up";
13553
+ }
13554
+ return ite;
13555
+ });
13556
+ });
13557
+ onVoteChange(item.vote === "up" ? "" : "up", item);
13558
+ }
13559
+ });
13560
+ var DownVoteNode = /*#__PURE__*/ jsx(DownVoteBtn, {
13561
+ prefix: prefix,
13562
+ isActive: item.vote === "down",
13563
+ clickFn: function() {
13564
+ setDataSource(function(data) {
13565
+ return data.map(function(ite) {
13566
+ if (item.id === ite.id) {
13567
+ ite.vote = ite.vote === "down" ? "" : "down";
13568
+ }
13569
+ return ite;
13570
+ });
13571
+ });
13572
+ onVoteChange(item.vote === "down" ? "" : "down", item);
13573
+ }
13574
+ });
13575
+ var RefreshNode = /*#__PURE__*/ jsx(RefreshBtn$1, {
13576
+ prefix: prefix,
13577
+ clickFn: function() {
13578
+ return onRefresh(item);
13579
+ }
13580
+ });
13581
+ if (item.location === "right") {
13582
+ UpVoteNode = null;
13583
+ DownVoteNode = null;
13584
+ }
13395
13585
  var leftNodes = null;
13396
13586
  var rightNodes = /*#__PURE__*/ jsxs(Fragment, {
13397
13587
  children: [
13398
13588
  copyNode,
13399
- referencesNode
13589
+ referencesNode,
13590
+ UpVoteNode,
13591
+ DownVoteNode
13400
13592
  ]
13401
13593
  });
13402
13594
  if (msgAction instanceof Array) {
@@ -13408,12 +13600,21 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13408
13600
  if (!msgAction.includes("references")) {
13409
13601
  referencesNode = null;
13410
13602
  }
13603
+ if (!msgAction.includes("upVite")) {
13604
+ UpVoteNode = null;
13605
+ }
13606
+ if (!msgAction.includes("downVote")) {
13607
+ DownVoteNode = null;
13608
+ }
13609
+ if (!msgAction.includes("refresh")) {
13610
+ RefreshNode = null;
13611
+ }
13411
13612
  } else if (typeof msgAction === "object") {
13412
13613
  if (msgAction.renderLeft) {
13413
- leftNodes = msgAction.renderLeft(copyNode, referencesNode);
13614
+ leftNodes = msgAction.renderLeft(copyNode, referencesNode, UpVoteNode, DownVoteNode, RefreshNode);
13414
13615
  }
13415
13616
  if (msgAction.renderRight) {
13416
- rightNodes = msgAction.renderRight(copyNode, referencesNode);
13617
+ rightNodes = msgAction.renderRight(copyNode, referencesNode, UpVoteNode, DownVoteNode, RefreshNode);
13417
13618
  }
13418
13619
  }
13419
13620
  var index = recordRef.current.dataSource.findIndex(function(ite) {
@@ -13429,9 +13630,12 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13429
13630
  className: "".concat(getCls("msgItem-action-left")),
13430
13631
  children: leftNodes
13431
13632
  }),
13432
- /*#__PURE__*/ jsx("div", {
13633
+ /*#__PURE__*/ jsxs("div", {
13433
13634
  className: "".concat(getCls("msgItem-action-right")),
13434
- children: rightNodes
13635
+ children: [
13636
+ RefreshNode,
13637
+ rightNodes
13638
+ ]
13435
13639
  })
13436
13640
  ]
13437
13641
  });
@@ -13466,7 +13670,7 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13466
13670
  var position = 0;
13467
13671
  html = html.replace(new RegExp("<pre", "ig"), function() {
13468
13672
  position++;
13469
- return "<p class='".concat(getCls("copyCode"), " ").concat(modules_63b47c51$7.copyCodeFun, "' data-id=").concat(id, " data-position=").concat(position, ">\n <span class='").concat(getCls("icon"), " ").concat(getCls("copy"), '\'>\n <svg\n width="1em"\n height="1em"\n viewBox="0 0 14 14"\n shape-rendering="geometricPrecision"\n fill="currentColor"\n xmlns="http://www.w3.org/2000/svg"\n >\n <g clip-path="url(#clip0_518_8403)">\n <path\n d="M6.16666 1.66666H13.1667C13.4761 1.66666 13.7728 1.78957 13.9916 2.00837C14.2104 2.22716 14.3333 2.5239 14.3333 2.83332V9.83332C14.3333 10.1427 14.2104 10.4395 13.9916 10.6583C13.7728 10.8771 13.4761 11 13.1667 11H6.16666C5.85724 11 5.5605 10.8771 5.34171 10.6583C5.12291 10.4395 5 10.1427 5 9.83332V2.83332C5 2.5239 5.12291 2.22716 5.34171 2.00837C5.5605 1.78957 5.85724 1.66666 6.16666 1.66666ZM6.16666 2.66666C6.12246 2.66666 6.08007 2.68422 6.04881 2.71547C6.01756 2.74673 6 2.78912 6 2.83332V9.83332C6 9.85521 6.00431 9.87688 6.01268 9.8971C6.02106 9.91732 6.03334 9.9357 6.04881 9.95117C6.06429 9.96665 6.08266 9.97893 6.10288 9.9873C6.1231 9.99568 6.14478 9.99999 6.16666 9.99999H13.1667C13.2109 9.99999 13.2533 9.98243 13.2845 9.95117C13.3158 9.91992 13.3333 9.87753 13.3333 9.83332V2.83332C13.3333 2.78912 13.3158 2.74673 13.2845 2.71547C13.2533 2.68422 13.2109 2.66666 13.1667 2.66666H6.16666ZM10 12C10 11.8674 10.0527 11.7402 10.1464 11.6464C10.2402 11.5527 10.3674 11.5 10.5 11.5C10.6326 11.5 10.7598 11.5527 10.8536 11.6464C10.9473 11.7402 11 11.8674 11 12V13.1667C11 13.4761 10.8771 13.7728 10.6583 13.9916C10.4395 14.2104 10.1427 14.3333 9.83333 14.3333H2.83333C2.52391 14.3333 2.22717 14.2104 2.00837 13.9916C1.78958 13.7728 1.66666 13.4761 1.66666 13.1667V6.16666C1.66666 5.85724 1.78958 5.56049 2.00837 5.3417C2.22717 5.12291 2.52391 4.99999 2.83333 4.99999H4C4.13261 4.99999 4.25978 5.05267 4.35355 5.14644C4.44732 5.2402 4.5 5.36738 4.5 5.49999C4.5 5.6326 4.44732 5.75978 4.35355 5.85354C4.25978 5.94731 4.13261 5.99999 4 5.99999H2.83333C2.78913 5.99999 2.74674 6.01755 2.71548 6.04881C2.68422 6.08006 2.66666 6.12245 2.66666 6.16666V13.1667C2.66666 13.2109 2.68422 13.2533 2.71548 13.2845C2.74674 13.3158 2.78913 13.3333 2.83333 13.3333H9.83333C9.87753 13.3333 9.91993 13.3158 9.95118 13.2845C9.98244 13.2533 10 13.2109 10 13.1667V12Z"\n />\n </g>\n <defs>\n <clipPath id="clip0_518_8403">\n <rect width="16" height="16" />\n </clipPath>\n </defs>\n </svg>\n </span>\n <span class=\'').concat(getCls("icon"), " ").concat(getCls("copy_success_flag"), '\'>\n <svg\n width="1em"\n height="1em"\n shape-rendering="geometricPrecision"\n fill="currentColor"\n viewBox="0 0 12 7"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path d="M11.2242 0.375687C11.4586 0.610002 11.4586 0.989901 11.2242 1.22422L4.82424 7.62422C4.58992 7.85853 4.21003 7.85853 3.97571 7.62422L0.775712 4.42422C0.541397 4.1899 0.541397 3.81 0.775712 3.57569C1.01003 3.34137 1.38993 3.34137 1.62424 3.57569L4.39998 6.35142L10.3757 0.375687C10.61 0.141373 10.9899 0.141373 11.2242 0.375687Z" />\n </svg>\n </span><span class="').concat(getCls("copyCodeText"), '">复制代码</span></p><pre');
13673
+ return "<p class='".concat(getCls("copyCode"), " ").concat(modules_63b47c51$9.copyCodeFun, "' data-id=").concat(id, " data-position=").concat(position, ">\n <span class='").concat(getCls("icon"), " ").concat(getCls("copy"), '\'>\n <svg\n width="1em"\n height="1em"\n viewBox="0 0 14 14"\n shape-rendering="geometricPrecision"\n fill="currentColor"\n xmlns="http://www.w3.org/2000/svg"\n >\n <g clip-path="url(#clip0_518_8403)">\n <path\n d="M6.16666 1.66666H13.1667C13.4761 1.66666 13.7728 1.78957 13.9916 2.00837C14.2104 2.22716 14.3333 2.5239 14.3333 2.83332V9.83332C14.3333 10.1427 14.2104 10.4395 13.9916 10.6583C13.7728 10.8771 13.4761 11 13.1667 11H6.16666C5.85724 11 5.5605 10.8771 5.34171 10.6583C5.12291 10.4395 5 10.1427 5 9.83332V2.83332C5 2.5239 5.12291 2.22716 5.34171 2.00837C5.5605 1.78957 5.85724 1.66666 6.16666 1.66666ZM6.16666 2.66666C6.12246 2.66666 6.08007 2.68422 6.04881 2.71547C6.01756 2.74673 6 2.78912 6 2.83332V9.83332C6 9.85521 6.00431 9.87688 6.01268 9.8971C6.02106 9.91732 6.03334 9.9357 6.04881 9.95117C6.06429 9.96665 6.08266 9.97893 6.10288 9.9873C6.1231 9.99568 6.14478 9.99999 6.16666 9.99999H13.1667C13.2109 9.99999 13.2533 9.98243 13.2845 9.95117C13.3158 9.91992 13.3333 9.87753 13.3333 9.83332V2.83332C13.3333 2.78912 13.3158 2.74673 13.2845 2.71547C13.2533 2.68422 13.2109 2.66666 13.1667 2.66666H6.16666ZM10 12C10 11.8674 10.0527 11.7402 10.1464 11.6464C10.2402 11.5527 10.3674 11.5 10.5 11.5C10.6326 11.5 10.7598 11.5527 10.8536 11.6464C10.9473 11.7402 11 11.8674 11 12V13.1667C11 13.4761 10.8771 13.7728 10.6583 13.9916C10.4395 14.2104 10.1427 14.3333 9.83333 14.3333H2.83333C2.52391 14.3333 2.22717 14.2104 2.00837 13.9916C1.78958 13.7728 1.66666 13.4761 1.66666 13.1667V6.16666C1.66666 5.85724 1.78958 5.56049 2.00837 5.3417C2.22717 5.12291 2.52391 4.99999 2.83333 4.99999H4C4.13261 4.99999 4.25978 5.05267 4.35355 5.14644C4.44732 5.2402 4.5 5.36738 4.5 5.49999C4.5 5.6326 4.44732 5.75978 4.35355 5.85354C4.25978 5.94731 4.13261 5.99999 4 5.99999H2.83333C2.78913 5.99999 2.74674 6.01755 2.71548 6.04881C2.68422 6.08006 2.66666 6.12245 2.66666 6.16666V13.1667C2.66666 13.2109 2.68422 13.2533 2.71548 13.2845C2.74674 13.3158 2.78913 13.3333 2.83333 13.3333H9.83333C9.87753 13.3333 9.91993 13.3158 9.95118 13.2845C9.98244 13.2533 10 13.2109 10 13.1667V12Z"\n />\n </g>\n <defs>\n <clipPath id="clip0_518_8403">\n <rect width="16" height="16" />\n </clipPath>\n </defs>\n </svg>\n </span>\n <span class=\'').concat(getCls("icon"), " ").concat(getCls("copy_success_flag"), '\'>\n <svg\n width="1em"\n height="1em"\n shape-rendering="geometricPrecision"\n fill="currentColor"\n viewBox="0 0 12 7"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path d="M11.2242 0.375687C11.4586 0.610002 11.4586 0.989901 11.2242 1.22422L4.82424 7.62422C4.58992 7.85853 4.21003 7.85853 3.97571 7.62422L0.775712 4.42422C0.541397 4.1899 0.541397 3.81 0.775712 3.57569C1.01003 3.34137 1.38993 3.34137 1.62424 3.57569L4.39998 6.35142L10.3757 0.375687C10.61 0.141373 10.9899 0.141373 11.2242 0.375687Z" />\n </svg>\n </span><span class="').concat(getCls("copyCodeText"), '">复制代码</span></p><pre');
13470
13674
  });
13471
13675
  return html;
13472
13676
  };
@@ -13513,7 +13717,7 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13513
13717
  return result;
13514
13718
  };
13515
13719
  var findCopyContent = function(e) {
13516
- var source = findParent$1(e.target, modules_63b47c51$7.copyCode);
13720
+ var source = findParent$1(e.target, modules_63b47c51$9.copyCode);
13517
13721
  if (!source) return;
13518
13722
  var id = source.getAttribute("data-id");
13519
13723
  var position = source.getAttribute("data-position");
@@ -13539,7 +13743,7 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13539
13743
  }
13540
13744
  });
13541
13745
  resetStyles();
13542
- source.classList.add(modules_63b47c51$7.copy_success);
13746
+ source.classList.add(modules_63b47c51$9.copy_success);
13543
13747
  source.children[2].innerText = "复制成功";
13544
13748
  copyText$1(codeConment);
13545
13749
  setTimeout(function() {
@@ -13550,13 +13754,13 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
13550
13754
  };
13551
13755
  //初始化样式
13552
13756
  var resetStyles = function() {
13553
- var dom_list = document.getElementsByClassName(modules_63b47c51$7.copy_success);
13757
+ var dom_list = document.getElementsByClassName(modules_63b47c51$9.copy_success);
13554
13758
  for(var i = 0; i < dom_list.length; i++){
13555
- dom_list[i].classList.remove(modules_63b47c51$7.copy_success);
13759
+ dom_list[i].classList.remove(modules_63b47c51$9.copy_success);
13556
13760
  }
13557
- var dom_list2 = document.getElementsByClassName(modules_63b47c51$7.copyCodeFun);
13761
+ var dom_list2 = document.getElementsByClassName(modules_63b47c51$9.copyCodeFun);
13558
13762
  for(var i = 0; i < dom_list2.length; i++){
13559
- var p = dom_list2[i].getElementsByClassName(modules_63b47c51$7.copyCodeText);
13763
+ var p = dom_list2[i].getElementsByClassName(modules_63b47c51$9.copyCodeText);
13560
13764
  p[0].innerText = "复制代码";
13561
13765
  }
13562
13766
  };
@@ -13598,7 +13802,7 @@ var Content = /*#__PURE__*/ forwardRef(function(props, ref) {
13598
13802
  return _object_spread({}, listRef.current);
13599
13803
  });
13600
13804
  var getCls = function(clsName) {
13601
- return modules_63b47c51$8[clsName] + " " + prefix + "-" + clsName;
13805
+ return modules_63b47c51$a[clsName] + " " + prefix + "-" + clsName;
13602
13806
  };
13603
13807
  return /*#__PURE__*/ jsx("div", {
13604
13808
  className: "".concat(getCls("content"), " ").concat(className),
@@ -14730,12 +14934,16 @@ var FileList = /*#__PURE__*/ forwardRef(function(props, ref) {
14730
14934
  return recordObj.current.fileList;
14731
14935
  },
14732
14936
  vaildFile: vaildFile,
14733
- fileToCustomFile: fileToCustomFile
14937
+ fileToCustomFile: fileToCustomFile,
14938
+ clearFileList: clearFileList
14734
14939
  };
14735
14940
  });
14736
14941
  var getCls = function(clsName) {
14737
14942
  return modules_63b47c51$1[clsName] + " " + prefix + "-" + clsName;
14738
14943
  };
14944
+ var clearFileList = function() {
14945
+ setFileList([]);
14946
+ };
14739
14947
  var vaildFile = function(file, fileId) {
14740
14948
  if (fileUpload.maxCount > 0 && recordObj.current.fileList.length > fileUpload.maxCount) {
14741
14949
  errorCallback({
@@ -14874,9 +15082,14 @@ var FileList = /*#__PURE__*/ forwardRef(function(props, ref) {
14874
15082
  };
14875
15083
  // 删除文件
14876
15084
  var deleteFile = function(fileId) {
15085
+ var fileObj = null;
14877
15086
  setFileList(function(fileList) {
14878
15087
  return fileList.filter(function(item) {
14879
- return item.fileId !== fileId;
15088
+ if (item.fileId === fileId) {
15089
+ fileObj = item;
15090
+ return true;
15091
+ }
15092
+ return false;
14880
15093
  });
14881
15094
  });
14882
15095
  // 删除文件时如果删除的是最后一条 则page-1
@@ -14888,7 +15101,7 @@ var FileList = /*#__PURE__*/ forwardRef(function(props, ref) {
14888
15101
  if (list.length === 0 && page > 1) {
14889
15102
  changePage(page - 1);
14890
15103
  }
14891
- fileUpload.deleteFileAjax && fileUpload.deleteFileAjax(fileId);
15104
+ fileUpload.deleteFileAjax && fileUpload.deleteFileAjax(fileId, fileObj);
14892
15105
  };
14893
15106
  // 更新文件状态
14894
15107
  var updateFile = function(fileId, status) {
@@ -15082,7 +15295,7 @@ var defaultFileUploadProps = {
15082
15295
  };
15083
15296
  var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
15084
15297
  var footerConfig = props.footerConfig, prefix = props.prefix, errorCallback = props.errorCallback, apiRef = props.apiRef;
15085
- var _footerConfig_placeholder = footerConfig.placeholder, placeholder = _footerConfig_placeholder === void 0 ? defaultProps.placeholder : _footerConfig_placeholder, _footerConfig_className = footerConfig.className, className = _footerConfig_className === void 0 ? defaultProps.className : _footerConfig_className, _footerConfig_maxLength = footerConfig.maxLength, maxLength = _footerConfig_maxLength === void 0 ? defaultProps.maxLength : _footerConfig_maxLength, renderAction = footerConfig.renderAction, fileUpload = footerConfig.fileUpload, sendMsgAjaxParams = footerConfig.sendMsgAjaxParams;
15298
+ var _footerConfig_placeholder = footerConfig.placeholder, placeholder = _footerConfig_placeholder === void 0 ? defaultProps.placeholder : _footerConfig_placeholder, _footerConfig_className = footerConfig.className, className = _footerConfig_className === void 0 ? defaultProps.className : _footerConfig_className, _footerConfig_maxLength = footerConfig.maxLength, maxLength = _footerConfig_maxLength === void 0 ? defaultProps.maxLength : _footerConfig_maxLength, renderAction = footerConfig.renderAction, fileUpload = footerConfig.fileUpload, sendMsgAjaxParams = footerConfig.sendMsgAjaxParams, _footerConfig_onClickStop = footerConfig.onClickStop, onClickStop = _footerConfig_onClickStop === void 0 ? function() {} : _footerConfig_onClickStop;
15086
15299
  if (fileUpload) {
15087
15300
  fileUpload = _object_spread({}, defaultFileUploadProps, fileUpload);
15088
15301
  }
@@ -15170,7 +15383,10 @@ var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
15170
15383
  prefix: prefix,
15171
15384
  canSendMsg: canSendMsg,
15172
15385
  sending: sending,
15173
- stopMessage: stopMessage,
15386
+ stopMessage: function() {
15387
+ onClickStop();
15388
+ stopMessage();
15389
+ },
15174
15390
  clickFn: function() {
15175
15391
  if (textValue.trim().length === 0) return;
15176
15392
  sendMsg(textValue);
@@ -15244,7 +15460,9 @@ var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
15244
15460
  sendMsgAjax();
15245
15461
  };
15246
15462
  var sendMsgAjax = function() {
15247
- var url = sendMsgAjaxParams.url, _sendMsgAjaxParams_method = sendMsgAjaxParams.method, method = _sendMsgAjaxParams_method === void 0 ? "POST" : _sendMsgAjaxParams_method, _sendMsgAjaxParams_headers = sendMsgAjaxParams.headers, headers = _sendMsgAjaxParams_headers === void 0 ? {} : _sendMsgAjaxParams_headers, _sendMsgAjaxParams_params = sendMsgAjaxParams.params, params = _sendMsgAjaxParams_params === void 0 ? function() {
15463
+ var url = sendMsgAjaxParams.url, _sendMsgAjaxParams_method = sendMsgAjaxParams.method, method = _sendMsgAjaxParams_method === void 0 ? "POST" : _sendMsgAjaxParams_method, _sendMsgAjaxParams_headers = sendMsgAjaxParams.headers, headers = _sendMsgAjaxParams_headers === void 0 ? function() {
15464
+ return {};
15465
+ } : _sendMsgAjaxParams_headers, _sendMsgAjaxParams_params = sendMsgAjaxParams.params, params = _sendMsgAjaxParams_params === void 0 ? function() {
15248
15466
  return "";
15249
15467
  } : _sendMsgAjaxParams_params, _sendMsgAjaxParams_onOpen = sendMsgAjaxParams.onOpen, onOpen = _sendMsgAjaxParams_onOpen === void 0 ? function() {} : _sendMsgAjaxParams_onOpen, _sendMsgAjaxParams_onMessage = sendMsgAjaxParams.onMessage, onMessage = _sendMsgAjaxParams_onMessage === void 0 ? function(ev) {
15250
15468
  return ev;
@@ -15267,6 +15485,7 @@ var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
15267
15485
  var msgContent = "";
15268
15486
  setSending(true);
15269
15487
  setTextValue("");
15488
+ fileListRef.current.clearFileList();
15270
15489
  setReferencesSource(null);
15271
15490
  var recordMsgObj = {};
15272
15491
  var arg = [
@@ -15275,54 +15494,69 @@ var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
15275
15494
  fileListRef.current ? fileListRef.current.getFileList() : []
15276
15495
  ];
15277
15496
  beforeSendMsg.apply(void 0, _to_consumable_array(arg)).then(function(beforeInfo) {
15278
- fetchEventSource(url, _object_spread({
15279
- method: method,
15280
- headers: _object_spread({
15281
- "Content-Type": "application/json",
15282
- Accept: "text/event-stream,application/json"
15283
- }, headers),
15284
- body: params.apply(void 0, _to_consumable_array(arg).concat([
15285
- beforeInfo
15286
- ])),
15287
- openWhenHidden: true,
15288
- signal: ctrl.current.signal,
15289
- onopen: function(res) {
15290
- onOpen(res);
15291
- if (res.status === 200) ;
15292
- return null;
15293
- },
15294
- onmessage: function(ev) {
15295
- var data = onMessage(ev);
15296
- msgContent += data.content;
15297
- delete data.content;
15298
- recordMsgObj = _object_spread({
15299
- createTime: createTime,
15300
- content: msgContent,
15301
- location: "left",
15302
- reference: null,
15303
- source: null
15304
- }, data);
15305
- updateMsgRef.current = setTimeout(function() {
15306
- apiRef.contentApi.updateMsg(msgId, recordMsgObj);
15307
- msgId = data.id;
15308
- }, 100);
15309
- },
15310
- onclose: function() {
15497
+ var callback = function() {
15498
+ var isClose = false;
15499
+ var closeCallback = function() {
15500
+ if (isClose) return;
15501
+ isClose = true;
15311
15502
  onClose();
15312
15503
  setSending(false);
15313
15504
  if (recordMsgObj.id) {
15314
15505
  apiRef.contentApi.recordMsg(recordMsgObj);
15315
15506
  }
15316
15507
  console.log("onclose: ", recordMsgObj);
15317
- },
15318
- onerror: function(err) {
15319
- onError(err);
15320
- if (recordMsgObj.id) {
15321
- apiRef.contentApi.recordMsg(recordMsgObj);
15508
+ };
15509
+ fetchEventSource(url, _object_spread({
15510
+ method: method,
15511
+ headers: _object_spread({
15512
+ "Content-Type": "application/json",
15513
+ Accept: "text/event-stream,application/json"
15514
+ }, headers()),
15515
+ body: params.apply(void 0, _to_consumable_array(arg).concat([
15516
+ beforeInfo
15517
+ ])),
15518
+ openWhenHidden: true,
15519
+ signal: ctrl.current.signal,
15520
+ onopen: function(res) {
15521
+ var retryFetch = function() {
15522
+ callback();
15523
+ };
15524
+ onOpen(res, {
15525
+ retryFetch: retryFetch,
15526
+ stopMessage: stopMessage
15527
+ });
15528
+ return null;
15529
+ },
15530
+ onmessage: function(ev) {
15531
+ var data = onMessage(ev, closeCallback);
15532
+ msgContent += data.content;
15533
+ delete data.content;
15534
+ recordMsgObj = _object_spread({
15535
+ createTime: createTime,
15536
+ content: msgContent,
15537
+ location: "left",
15538
+ reference: null,
15539
+ source: null
15540
+ }, data);
15541
+ apiRef.contentApi.updateMsg(msgId, recordMsgObj);
15542
+ msgId = data.id;
15543
+ updateMsgRef.current = setTimeout(function() {
15544
+ apiRef.contentApi.scrollToBottom();
15545
+ }, 100);
15546
+ },
15547
+ onclose: function() {
15548
+ closeCallback();
15549
+ },
15550
+ onerror: function(err) {
15551
+ onError(err);
15552
+ if (recordMsgObj.id) {
15553
+ apiRef.contentApi.recordMsg(recordMsgObj);
15554
+ }
15555
+ console.log("onerror: ", err);
15322
15556
  }
15323
- console.log("onerror: ", err);
15324
- }
15325
- }, coverProps));
15557
+ }, coverProps));
15558
+ };
15559
+ callback();
15326
15560
  }).catch(function() {
15327
15561
  stopMessage();
15328
15562
  });
@@ -15404,7 +15638,7 @@ var AIMessageList = /*#__PURE__*/ forwardRef(function(props, ref) {
15404
15638
  return apiRef.current;
15405
15639
  });
15406
15640
  var getCls = function(clsName) {
15407
- return modules_63b47c51$a[clsName] + " " + prefix + "-" + clsName;
15641
+ return modules_63b47c51$c[clsName] + " " + prefix + "-" + clsName;
15408
15642
  };
15409
15643
  return /*#__PURE__*/ jsxs("div", {
15410
15644
  className: "".concat(getCls("root"), " ").concat(className),