bhd-components 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { z as zhCN, A as App, _ as _object_spread, a as AntdMessage, M as Modal$1, b as AntdNotification, C as ConfigProvider, c as _extends, d as _object_destructuring_empty, j as jsx, e as _object_spread_props, f as jsxs, t as transform, S as StyleProvider, g as _sliced_to_array, T as Tooltip, h as Table$2, I as Icon, E as ExclamationCircleFilled, i as _to_consumable_array, P as Pagination$1, k as Select, l as CaretDownOutlined, m as _inherits, n as _create_super, o as _create_class, p as _class_call_check, q as _define_property, r as _assert_this_initialized, s as _async_to_generator, L as LeftOutlined, R as RightOutlined, u as MinusOutlined, v as PlusOutlined, w as __generator, x as Input, y as SearchOutlined, B as CloseOutlined, X, D as I, H, F as Remarkable, G as Drawer, J as HighlightJS, Z as ZoomInOutlined } from './de88944c.esm.es5.development.js';
2
- export { K as Affix, N as Alert, O as Anchor, a as AntdMessage, A as App, Q as AutoComplete, U as Avatar, W as BackTop, Y as Badge, $ as Breadcrumb, a0 as Button, a1 as Calendar, a2 as Card, a3 as Carousel, a4 as Cascader, a5 as Checkbox, a6 as Col, a7 as Collapse, a8 as DatePicker, a9 as Descriptions, aa as Divider, G as Drawer, ab as Dropdown, ac as Empty, V as FloatButton, ad as Form, ae as Grid, af as Image, x as Input, ag as InputNumber, ah as Layout, ai as List, aj as Mentions, ak as Menu, M as Modal, al as Popconfirm, am as Popover, an as Progress, aM as QRCode, ao as Radio, ap as Rate, aq as Result, ar as Row, as as Segmented, k as Select, at as Skeleton, au as Slider, av as Space, aw as Spin, ax as Statistic, ay as Steps, az as Switch, aA as Tabs, aB as Tag, aD as TimePicker, aE as Timeline, T as Tooltip, aF as Tour, aG as Transfer, aH as Tree, aI as TreeSelect, aJ as Typography, aK as Upload, aL as Watermark, aO as en_US, b as notification, aC as theme, aN as version, z as zh_CN } from './de88944c.esm.es5.development.js';
1
+ import { z as zhCN, A as App, _ as _object_spread, a as AntdMessage, M as Modal$1, b as AntdNotification, C as ConfigProvider, c as _extends, d as _object_destructuring_empty, j as jsx, e as _object_spread_props, f as jsxs, t as transform, S as StyleProvider, g as _sliced_to_array, T as Tooltip, h as Table$2, I as Icon, E as ExclamationCircleFilled, i as _to_consumable_array, P as Pagination$1, k as Select, l as CaretDownOutlined, m as _inherits, n as _create_super, o as _create_class, p as _class_call_check, q as _define_property, r as _assert_this_initialized, s as _async_to_generator, L as LeftOutlined, R as RightOutlined, u as MinusOutlined, v as PlusOutlined, w as __generator, x as Input, y as SearchOutlined, B as CloseOutlined, X, D as I, H, F as Remarkable, G as Drawer, J as HighlightJS, Z as ZoomInOutlined, K as DatePicker, N as CalendarOutlined, O as dayjs, Q as Button } from './f8c2008a.esm.es5.development.js';
2
+ export { U as Affix, V as Alert, W as Anchor, a as AntdMessage, A as App, Y as AutoComplete, $ as Avatar, a1 as BackTop, a2 as Badge, a3 as Breadcrumb, Q as Button, a4 as Calendar, a5 as Card, a6 as Carousel, a7 as Cascader, a8 as Checkbox, a9 as Col, aa as Collapse, K as DatePicker, ab as Descriptions, ac as Divider, G as Drawer, ad as Dropdown, ae as Empty, a0 as FloatButton, af as Form, ag as Grid, ah as Image, x as Input, ai as InputNumber, aj as Layout, ak as List, al as Mentions, am as Menu, M as Modal, an as Popconfirm, ao as Popover, ap as Progress, aO as QRCode, aq as Radio, ar as Rate, as as Result, at as Row, au as Segmented, k as Select, av as Skeleton, aw as Slider, ax as Space, ay as Spin, az as Statistic, aA as Steps, aB as Switch, aC as Tabs, aD as Tag, aF as TimePicker, aG as Timeline, T as Tooltip, aH as Tour, aI as Transfer, aJ as Tree, aK as TreeSelect, aL as Typography, aM as Upload, aN as Watermark, aQ as en_US, b as notification, aE as theme, aP as version, z as zh_CN } from './f8c2008a.esm.es5.development.js';
3
3
  import * as React from 'react';
4
4
  import { useState, useRef, useEffect, useLayoutEffect, forwardRef, useImperativeHandle } from 'react';
5
5
  import { Fragment } from 'react/jsx-runtime';
@@ -162,7 +162,7 @@ var TextTootip = function(props) {
162
162
  };
163
163
  var TextTootip$1 = TextTootip;
164
164
 
165
- var modules_63b47c51$9 = {"Table":"index_module_Table__dfa8dab0","SmallTable":"index_module_SmallTable__dfa8dab0","columnTootipClassName":"index_module_columnTootipClassName__dfa8dab0"};
165
+ var modules_63b47c51$a = {"Table":"index_module_Table__dfa8dab0","SmallTable":"index_module_SmallTable__dfa8dab0","columnTootipClassName":"index_module_columnTootipClassName__dfa8dab0"};
166
166
 
167
167
  var widthPercentage = /^\d+%$/;
168
168
  var widthPx = /^\d+px$/;
@@ -289,7 +289,7 @@ var Table = function(props) {
289
289
  },
290
290
  title: text,
291
291
  trigger: "hover",
292
- overlayClassName: columnTootipClassName || modules_63b47c51$9.columnTootipClassName,
292
+ overlayClassName: columnTootipClassName || modules_63b47c51$a.columnTootipClassName,
293
293
  color: columnTootipColor || "#FFF",
294
294
  children: /*#__PURE__*/ jsx("span", {
295
295
  children: text
@@ -395,7 +395,7 @@ var Table = function(props) {
395
395
  }
396
396
  });
397
397
  return /*#__PURE__*/ jsx("div", {
398
- className: "".concat(modules_63b47c51$9.Table, " ").concat(kind === "simple" ? modules_63b47c51$9.SmallTable : ""),
398
+ className: "".concat(modules_63b47c51$a.Table, " ").concat(kind === "simple" ? modules_63b47c51$a.SmallTable : ""),
399
399
  ref: tableRef,
400
400
  children: /*#__PURE__*/ jsx(Table$2, _object_spread({}, config))
401
401
  });
@@ -560,7 +560,7 @@ var i18Conversion$1 = i18Conversion;
560
560
  };
561
561
  var BhdTableSimple$1 = BhdTableSimple;
562
562
 
563
- var modules_63b47c51$8 = {"customSuccess":"index_module_customSuccess__84cecc41","customWarning":"index_module_customWarning__84cecc41","customError":"index_module_customError__84cecc41"};
563
+ var modules_63b47c51$9 = {"customSuccess":"index_module_customSuccess__84cecc41","customWarning":"index_module_customWarning__84cecc41","customError":"index_module_customError__84cecc41"};
564
564
 
565
565
  var CustomCloseSvg = function() {
566
566
  return /*#__PURE__*/ jsx("svg", {
@@ -1122,7 +1122,7 @@ var CustomWenhaoRound$1 = CustomWenhaoRound;
1122
1122
  var _message, _message1, _message2, _message3, _message4, _message5, _message6, _message7, _message8;
1123
1123
  var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
1124
1124
  customSuccess: function(config) {
1125
- var className = modules_63b47c51$8.customSuccess;
1125
+ var className = modules_63b47c51$9.customSuccess;
1126
1126
  if (typeof config === "string") {
1127
1127
  return message.success({
1128
1128
  content: config,
@@ -1134,7 +1134,7 @@ var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
1134
1134
  }));
1135
1135
  },
1136
1136
  customWarning: function(config) {
1137
- var className = modules_63b47c51$8.customWarning;
1137
+ var className = modules_63b47c51$9.customWarning;
1138
1138
  if (typeof config === "string") {
1139
1139
  return message.warning({
1140
1140
  content: config,
@@ -1146,7 +1146,7 @@ var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
1146
1146
  }));
1147
1147
  },
1148
1148
  customError: function(config) {
1149
- var className = modules_63b47c51$8.customError;
1149
+ var className = modules_63b47c51$9.customError;
1150
1150
  if (typeof config === "string") {
1151
1151
  return message.error({
1152
1152
  content: config,
@@ -1216,17 +1216,17 @@ var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
1216
1216
  });
1217
1217
  var BhdMessage$1 = BhdMessage;
1218
1218
 
1219
- var modules_63b47c51$7 = {"pagination":"index_module_pagination__ea803a71"};
1219
+ var modules_63b47c51$8 = {"pagination":"index_module_pagination__ea803a71"};
1220
1220
 
1221
1221
  var BhdPagination = function(props) {
1222
- var className = "".concat(modules_63b47c51$7.pagination, " ").concat(props.className || "");
1222
+ var className = "".concat(modules_63b47c51$8.pagination, " ").concat(props.className || "");
1223
1223
  return /*#__PURE__*/ jsx(Pagination$1, _object_spread_props(_object_spread({}, props), {
1224
1224
  className: className
1225
1225
  }));
1226
1226
  };
1227
1227
  var Pagination = BhdPagination;
1228
1228
 
1229
- var modules_63b47c51$6 = {"BhdTableSelect":"index_module_BhdTableSelect__1274ed5e"};
1229
+ var modules_63b47c51$7 = {"BhdTableSelect":"index_module_BhdTableSelect__1274ed5e"};
1230
1230
 
1231
1231
  var BhdTableSelect = function(props) {
1232
1232
  var _props_className = props.// initOption=[],
@@ -1280,7 +1280,7 @@ var BhdTableSelect = function(props) {
1280
1280
  suffixIcon: suffixIcon ? suffixIcon : /*#__PURE__*/ jsx(CaretDownOutlined, {})
1281
1281
  });
1282
1282
  return /*#__PURE__*/ jsx("div", {
1283
- className: "".concat(modules_63b47c51$6.BhdTableSelect, " ").concat(className),
1283
+ className: "".concat(modules_63b47c51$7.BhdTableSelect, " ").concat(className),
1284
1284
  ref: tableSelectRef,
1285
1285
  children: /*#__PURE__*/ jsx(Select, _object_spread_props(_object_spread({}, config), {
1286
1286
  children: children
@@ -1290,7 +1290,7 @@ var BhdTableSelect = function(props) {
1290
1290
  BhdTableSelect.Option = Select.Option;
1291
1291
  var BhdTableSelect$1 = BhdTableSelect;
1292
1292
 
1293
- var modules_63b47c51$5 = {"titleBar":"index_module_titleBar__241d4397","left":"index_module_left__241d4397","leftIcon":"index_module_leftIcon__241d4397","leftContent":"index_module_leftContent__241d4397","leftTitle":"index_module_leftTitle__241d4397","leftSubTitle":"index_module_leftSubTitle__241d4397","right":"index_module_right__241d4397"};
1293
+ var modules_63b47c51$6 = {"titleBar":"index_module_titleBar__241d4397","left":"index_module_left__241d4397","leftIcon":"index_module_leftIcon__241d4397","leftContent":"index_module_leftContent__241d4397","leftTitle":"index_module_leftTitle__241d4397","leftSubTitle":"index_module_leftSubTitle__241d4397","right":"index_module_right__241d4397"};
1294
1294
 
1295
1295
  var TitleBar = function(props) {
1296
1296
  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;
@@ -1339,25 +1339,25 @@ var TitleBar = function(props) {
1339
1339
  screenWidth
1340
1340
  ]);
1341
1341
  return /*#__PURE__*/ jsxs("div", {
1342
- className: "".concat(modules_63b47c51$5.titleBar, " ").concat(wrapClassName),
1342
+ className: "".concat(modules_63b47c51$6.titleBar, " ").concat(wrapClassName),
1343
1343
  ref: titleBarRef,
1344
1344
  children: [
1345
1345
  /*#__PURE__*/ jsxs("div", {
1346
- className: "".concat(modules_63b47c51$5.left, " ").concat(leftClassName),
1346
+ className: "".concat(modules_63b47c51$6.left, " ").concat(leftClassName),
1347
1347
  children: [
1348
1348
  leftIcon && /*#__PURE__*/ jsx("div", {
1349
- className: "".concat(modules_63b47c51$5.leftIcon, " ").concat(leftIconClassName),
1349
+ className: "".concat(modules_63b47c51$6.leftIcon, " ").concat(leftIconClassName),
1350
1350
  children: leftIcon
1351
1351
  }),
1352
1352
  /*#__PURE__*/ jsxs("div", {
1353
- className: modules_63b47c51$5.leftContent,
1353
+ className: modules_63b47c51$6.leftContent,
1354
1354
  children: [
1355
1355
  /*#__PURE__*/ jsx("div", {
1356
- className: "".concat(modules_63b47c51$5.leftTitle, " ").concat(leftTitleClassName),
1356
+ className: "".concat(modules_63b47c51$6.leftTitle, " ").concat(leftTitleClassName),
1357
1357
  children: title
1358
1358
  }),
1359
1359
  subTitle && /*#__PURE__*/ jsx("div", {
1360
- className: "".concat(modules_63b47c51$5.leftSubTitle, " ").concat(leftSubTitleClassName),
1360
+ className: "".concat(modules_63b47c51$6.leftSubTitle, " ").concat(leftSubTitleClassName),
1361
1361
  children: subTitle
1362
1362
  })
1363
1363
  ]
@@ -1365,7 +1365,7 @@ var TitleBar = function(props) {
1365
1365
  ]
1366
1366
  }),
1367
1367
  rightContent && /*#__PURE__*/ jsx("div", {
1368
- className: "".concat(modules_63b47c51$5.right, " ").concat(rightClassName),
1368
+ className: "".concat(modules_63b47c51$6.right, " ").concat(rightClassName),
1369
1369
  ref: rightContentRef,
1370
1370
  children: renderRightContent()
1371
1371
  })
@@ -1374,14 +1374,14 @@ var TitleBar = function(props) {
1374
1374
  };
1375
1375
  var TitleBar$1 = TitleBar;
1376
1376
 
1377
- var modules_63b47c51$4 = {"AppViewImage":"index_module_AppViewImage__e4b9963d","viewImgBody":"index_module_viewImgBody__e4b9963d","viewImgContent":"index_module_viewImgContent__e4b9963d","viewImgAction":"index_module_viewImgAction__e4b9963d","viewImgBody_load":"index_module_viewImgBody_load__e4b9963d","viewImgBody_pic":"index_module_viewImgBody_pic__e4b9963d","viewImgBody_pre":"index_module_viewImgBody_pre__e4b9963d","viewImgBody_next":"index_module_viewImgBody_next__e4b9963d","viewImgBodyScale":"index_module_viewImgBodyScale__e4b9963d","viewImgBodyScale_minu":"index_module_viewImgBodyScale_minu__e4b9963d","viewImgBodyScale_add":"index_module_viewImgBodyScale_add__e4b9963d","viewImgBodyScale_value":"index_module_viewImgBodyScale_value__e4b9963d","viewImgInfo":"index_module_viewImgInfo__e4b9963d"};
1377
+ var modules_63b47c51$5 = {"AppViewImage":"index_module_AppViewImage__e4b9963d","viewImgBody":"index_module_viewImgBody__e4b9963d","viewImgContent":"index_module_viewImgContent__e4b9963d","viewImgAction":"index_module_viewImgAction__e4b9963d","viewImgBody_load":"index_module_viewImgBody_load__e4b9963d","viewImgBody_pic":"index_module_viewImgBody_pic__e4b9963d","viewImgBody_pre":"index_module_viewImgBody_pre__e4b9963d","viewImgBody_next":"index_module_viewImgBody_next__e4b9963d","viewImgBodyScale":"index_module_viewImgBodyScale__e4b9963d","viewImgBodyScale_minu":"index_module_viewImgBodyScale_minu__e4b9963d","viewImgBodyScale_add":"index_module_viewImgBodyScale_add__e4b9963d","viewImgBodyScale_value":"index_module_viewImgBodyScale_value__e4b9963d","viewImgInfo":"index_module_viewImgInfo__e4b9963d"};
1378
1378
 
1379
1379
  //获取css样式
1380
1380
  var getStyle = function getStyle(dom, key) {
1381
1381
  return dom.currentStyle ? parseFloat(dom.currentStyle[key]) : parseFloat(document.defaultView.getComputedStyle(dom)[key]);
1382
1382
  };
1383
1383
 
1384
- var modules_63b47c51$3 = {"confirm":"index_module_confirm__fecd33f4","success":"index_module_success__fecd33f4","custom":"index_module_custom__fecd33f4","noCancel":"index_module_noCancel__fecd33f4","noButton":"index_module_noButton__fecd33f4","haveComfirm":"index_module_haveComfirm__fecd33f4"};
1384
+ var modules_63b47c51$4 = {"confirm":"index_module_confirm__fecd33f4","success":"index_module_success__fecd33f4","custom":"index_module_custom__fecd33f4","noCancel":"index_module_noCancel__fecd33f4","noButton":"index_module_noButton__fecd33f4","haveComfirm":"index_module_haveComfirm__fecd33f4"};
1385
1385
 
1386
1386
  var initConFirmModal = function(obj) {
1387
1387
  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;
@@ -1417,7 +1417,7 @@ var initConFirmModal = function(obj) {
1417
1417
  })
1418
1418
  ]
1419
1419
  }),
1420
- className: "".concat(obj.className || "", " ").concat(modules_63b47c51$3.confirm, " ").concat(cancelBtn ? "" : modules_63b47c51$3.noCancel)
1420
+ className: "".concat(obj.className || "", " ").concat(modules_63b47c51$4.confirm, " ").concat(cancelBtn ? "" : modules_63b47c51$4.noCancel)
1421
1421
  });
1422
1422
  };
1423
1423
  var initSuccessModal = function(obj) {
@@ -1455,7 +1455,7 @@ var initSuccessModal = function(obj) {
1455
1455
  })
1456
1456
  ]
1457
1457
  }),
1458
- className: "".concat(obj.className || "", " ").concat(modules_63b47c51$3.success, " ").concat(cancelBtn ? "" : modules_63b47c51$3.noCancel)
1458
+ className: "".concat(obj.className || "", " ").concat(modules_63b47c51$4.success, " ").concat(cancelBtn ? "" : modules_63b47c51$4.noCancel)
1459
1459
  });
1460
1460
  };
1461
1461
  var initCustomModal = function(obj) {
@@ -1481,7 +1481,7 @@ var initCustomModal = function(obj) {
1481
1481
  })
1482
1482
  ]
1483
1483
  }),
1484
- className: "".concat(modules_63b47c51$3.custom, " ").concat(obj.className || "", " ").concat(cancelBtn ? "" : okBtn ? modules_63b47c51$3.haveComfirm : modules_63b47c51$3.noButton)
1484
+ className: "".concat(modules_63b47c51$4.custom, " ").concat(obj.className || "", " ").concat(cancelBtn ? "" : okBtn ? modules_63b47c51$4.haveComfirm : modules_63b47c51$4.noButton)
1485
1485
  });
1486
1486
  };
1487
1487
  var initInfoModal = function(obj) {
@@ -1518,7 +1518,7 @@ var initInfoModal = function(obj) {
1518
1518
  })
1519
1519
  ]
1520
1520
  }),
1521
- className: "".concat(obj.className || "", " ").concat(modules_63b47c51$3.success, " ").concat(cancelBtn ? "" : modules_63b47c51$3.noCancel)
1521
+ className: "".concat(obj.className || "", " ").concat(modules_63b47c51$4.success, " ").concat(cancelBtn ? "" : modules_63b47c51$4.noCancel)
1522
1522
  });
1523
1523
  };
1524
1524
  var initWarnModal = function(obj) {
@@ -1555,7 +1555,7 @@ var initWarnModal = function(obj) {
1555
1555
  })
1556
1556
  ]
1557
1557
  }),
1558
- className: "".concat(obj.className || "", " ").concat(modules_63b47c51$3.confirm, " ").concat(cancelBtn ? "" : modules_63b47c51$3.noCancel, " ")
1558
+ className: "".concat(obj.className || "", " ").concat(modules_63b47c51$4.confirm, " ").concat(cancelBtn ? "" : modules_63b47c51$4.noCancel, " ")
1559
1559
  });
1560
1560
  };
1561
1561
  var BhdTipModal = {
@@ -1643,7 +1643,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
1643
1643
  _define_property(_assert_this_initialized(_this), "moveImg", function(ev) {
1644
1644
  var _this_state = _this.state, imgLeft = _this_state.imgLeft, imgTop = _this_state.imgTop;
1645
1645
  ev.preventDefault();
1646
- var dom = document.getElementsByClassName("".concat(modules_63b47c51$4.viewImgBody_pic))[0];
1646
+ var dom = document.getElementsByClassName("".concat(modules_63b47c51$5.viewImgBody_pic))[0];
1647
1647
  if (!dom) return;
1648
1648
  if (imgLeft == "auto") {
1649
1649
  imgLeft = getStyle(dom, "left");
@@ -1930,13 +1930,13 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
1930
1930
  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;
1931
1931
  var _this_props = this.props, content = _this_props.content, download = _this_props.download;
1932
1932
  return /*#__PURE__*/ jsxs("div", {
1933
- className: modules_63b47c51$4.viewImgBody,
1933
+ className: modules_63b47c51$5.viewImgBody,
1934
1934
  children: [
1935
1935
  /*#__PURE__*/ jsxs("div", {
1936
- className: modules_63b47c51$4.viewImgContent,
1936
+ className: modules_63b47c51$5.viewImgContent,
1937
1937
  children: [
1938
1938
  /*#__PURE__*/ jsxs("div", {
1939
- className: modules_63b47c51$4.viewImgAction,
1939
+ className: modules_63b47c51$5.viewImgAction,
1940
1940
  children: [
1941
1941
  /*#__PURE__*/ jsx("span", {
1942
1942
  title: "旋转",
@@ -1956,11 +1956,11 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
1956
1956
  ]
1957
1957
  }),
1958
1958
  /*#__PURE__*/ jsxs("div", {
1959
- className: modules_63b47c51$4.viewImgBody,
1959
+ className: modules_63b47c51$5.viewImgBody,
1960
1960
  children: [
1961
1961
  loading ? /*#__PURE__*/ jsx("img", {
1962
1962
  src: Loading,
1963
- className: modules_63b47c51$4.viewImgBody_load
1963
+ className: modules_63b47c51$5.viewImgBody_load
1964
1964
  }, "load") : imgError ? /*#__PURE__*/ jsx("div", {
1965
1965
  style: {
1966
1966
  color: "#FFFFFF"
@@ -1976,19 +1976,19 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
1976
1976
  left: imgLeft == "auto" ? "auto" : imgLeft + "px",
1977
1977
  top: imgTop == "auto" ? "auto" : imgTop + "px"
1978
1978
  },
1979
- className: modules_63b47c51$4.viewImgBody_pic,
1979
+ className: modules_63b47c51$5.viewImgBody_pic,
1980
1980
  onLoad: this.imgLoad,
1981
1981
  onError: this.imgErr
1982
1982
  }, "img"),
1983
1983
  multiSelect && /*#__PURE__*/ jsxs(Fragment, {
1984
1984
  children: [
1985
1985
  this.state.curIndex !== 0 && /*#__PURE__*/ jsx("div", {
1986
- className: modules_63b47c51$4.viewImgBody_pre,
1986
+ className: modules_63b47c51$5.viewImgBody_pre,
1987
1987
  onClick: this.preChange,
1988
1988
  children: /*#__PURE__*/ jsx(LeftOutlined, {})
1989
1989
  }),
1990
1990
  this.state.curIndex < this.props.multiSelect.length - 1 && /*#__PURE__*/ jsx("div", {
1991
- className: modules_63b47c51$4.viewImgBody_next,
1991
+ className: modules_63b47c51$5.viewImgBody_next,
1992
1992
  onClick: this.nextChange,
1993
1993
  children: /*#__PURE__*/ jsx(RightOutlined, {})
1994
1994
  })
@@ -1997,10 +1997,10 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
1997
1997
  ]
1998
1998
  }),
1999
1999
  /*#__PURE__*/ jsxs("div", {
2000
- className: modules_63b47c51$4.viewImgBodyScale,
2000
+ className: modules_63b47c51$5.viewImgBodyScale,
2001
2001
  children: [
2002
2002
  /*#__PURE__*/ jsx("span", {
2003
- className: modules_63b47c51$4.viewImgBodyScale_minu,
2003
+ className: modules_63b47c51$5.viewImgBodyScale_minu,
2004
2004
  onClick: function() {
2005
2005
  scaleValue = scaleValue - 10;
2006
2006
  _this.scaleChange(scaleValue);
@@ -2008,7 +2008,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2008
2008
  children: /*#__PURE__*/ jsx(MinusOutlined, {})
2009
2009
  }),
2010
2010
  /*#__PURE__*/ jsxs("span", {
2011
- className: modules_63b47c51$4.viewImgBodyScale_value,
2011
+ className: modules_63b47c51$5.viewImgBodyScale_value,
2012
2012
  onClick: this.reset,
2013
2013
  children: [
2014
2014
  scaleValue,
@@ -2016,7 +2016,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2016
2016
  ]
2017
2017
  }),
2018
2018
  /*#__PURE__*/ jsx("span", {
2019
- className: modules_63b47c51$4.viewImgBodyScale_add,
2019
+ className: modules_63b47c51$5.viewImgBodyScale_add,
2020
2020
  onClick: function() {
2021
2021
  scaleValue = scaleValue + 10;
2022
2022
  _this.scaleChange(scaleValue);
@@ -2028,7 +2028,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
2028
2028
  ]
2029
2029
  }),
2030
2030
  content && /*#__PURE__*/ jsx("div", {
2031
- className: modules_63b47c51$4.viewImgInfo,
2031
+ className: modules_63b47c51$5.viewImgInfo,
2032
2032
  children: content()
2033
2033
  })
2034
2034
  ]
@@ -2061,7 +2061,7 @@ var AppViewImage = /*#__PURE__*/ forwardRef(function(props, ref) {
2061
2061
  maskStyle: {
2062
2062
  background: "rgba(0, 0, 0, 0.65)"
2063
2063
  },
2064
- wrapClassName: "".concat(modules_63b47c51$4.AppViewImage, " ").concat(className || ""),
2064
+ wrapClassName: "".concat(modules_63b47c51$5.AppViewImage, " ").concat(className || ""),
2065
2065
  children: visible && /*#__PURE__*/ jsx(ViewImage, _object_spread_props(_object_spread({}, props), {
2066
2066
  ref: viewRef
2067
2067
  }))
@@ -2069,7 +2069,7 @@ var AppViewImage = /*#__PURE__*/ forwardRef(function(props, ref) {
2069
2069
  });
2070
2070
  var ViewImage$1 = AppViewImage;
2071
2071
 
2072
- var modules_63b47c51$2 = {"BhdSelect":"index_module_BhdSelect__0982ff78","bhdSelect_option":"index_module_bhdSelect_option__0982ff78","bhdSelectDrop":"index_module_bhdSelectDrop__0982ff78","selectTitle":"index_module_selectTitle__0982ff78","bhdSelectSearch":"index_module_bhdSelectSearch__0982ff78","search":"index_module_search__0982ff78"};
2072
+ var modules_63b47c51$3 = {"BhdSelect":"index_module_BhdSelect__0982ff78","bhdSelect_option":"index_module_bhdSelect_option__0982ff78","bhdSelectDrop":"index_module_bhdSelectDrop__0982ff78","selectTitle":"index_module_selectTitle__0982ff78","bhdSelectSearch":"index_module_bhdSelectSearch__0982ff78","search":"index_module_search__0982ff78"};
2073
2073
 
2074
2074
  var Search = Input.Search;
2075
2075
  var RenderDrop = function(param) {
@@ -2209,12 +2209,12 @@ var BhdSelect = function(props) {
2209
2209
  //如果需要搜索菜单
2210
2210
  if (showSearch) {
2211
2211
  return /*#__PURE__*/ jsxs("div", {
2212
- className: "".concat(modules_63b47c51$2.bhdSelectDrop, " ").concat(optionClassName),
2212
+ className: "".concat(modules_63b47c51$3.bhdSelectDrop, " ").concat(optionClassName),
2213
2213
  ref: bhdDropdownRef,
2214
2214
  children: [
2215
2215
  renderTitle(),
2216
2216
  /*#__PURE__*/ jsx("div", {
2217
- className: modules_63b47c51$2.bhdSelectSearch,
2217
+ className: modules_63b47c51$3.bhdSelectSearch,
2218
2218
  style: {
2219
2219
  backgroundColor: select_title ? "rgba(0,0,0,0.02)" : "rgba(0,0,0,0)"
2220
2220
  },
@@ -2224,7 +2224,7 @@ var BhdSelect = function(props) {
2224
2224
  var value = param.target.value;
2225
2225
  setFilterValue(value);
2226
2226
  },
2227
- className: "".concat(modules_63b47c51$2.search, " ").concat(searchClassName || ""),
2227
+ className: "".concat(modules_63b47c51$3.search, " ").concat(searchClassName || ""),
2228
2228
  onKeyDown: function(e) {
2229
2229
  e.stopPropagation();
2230
2230
  },
@@ -2236,7 +2236,7 @@ var BhdSelect = function(props) {
2236
2236
  });
2237
2237
  } else {
2238
2238
  return /*#__PURE__*/ jsx("div", {
2239
- className: modules_63b47c51$2.bhdSelectDrop,
2239
+ className: modules_63b47c51$3.bhdSelectDrop,
2240
2240
  ref: bhdDropdownRef,
2241
2241
  children: dropdownRender ? dropdownRender(menu) : menu
2242
2242
  });
@@ -2251,7 +2251,7 @@ var BhdSelect = function(props) {
2251
2251
  return select_title;
2252
2252
  } else {
2253
2253
  return /*#__PURE__*/ jsx("div", {
2254
- className: modules_63b47c51$2.selectTitle,
2254
+ className: modules_63b47c51$3.selectTitle,
2255
2255
  children: select_title
2256
2256
  });
2257
2257
  }
@@ -2275,7 +2275,7 @@ var BhdSelect = function(props) {
2275
2275
  var getConfig = function() {
2276
2276
  var config = _object_spread_props(_object_spread({}, props), {
2277
2277
  listHeight: optionHei,
2278
- popupClassName: "".concat(modules_63b47c51$2.bhdSelect_option, " ").concat(popupClassName || "", " "),
2278
+ popupClassName: "".concat(modules_63b47c51$3.bhdSelect_option, " ").concat(popupClassName || "", " "),
2279
2279
  suffixIcon: suffixIcon ? suffixIcon : renderSuffixIcon(),
2280
2280
  popupMatchSelectWidth: selectWidth,
2281
2281
  dropdownStyle: _object_spread_props(_object_spread({}, props.dropdownStyle), {
@@ -2297,7 +2297,7 @@ var BhdSelect = function(props) {
2297
2297
  return config;
2298
2298
  };
2299
2299
  return /*#__PURE__*/ jsx("div", {
2300
- className: "".concat(modules_63b47c51$2.BhdSelect, " ").concat(className),
2300
+ className: "".concat(modules_63b47c51$3.BhdSelect, " ").concat(className),
2301
2301
  ref: bhdSelectRef,
2302
2302
  children: /*#__PURE__*/ jsx(Select, _object_spread_props(_object_spread({}, getConfig()), {
2303
2303
  showSearch: false,
@@ -2352,7 +2352,7 @@ var BhdSelect = function(props) {
2352
2352
  BhdSelect.Option = Select.Option;
2353
2353
  var BhdSelect$1 = BhdSelect;
2354
2354
 
2355
- var modules_63b47c51$1 = {"bhd_app_layout":"index_module_bhd_app_layout__577bc6d2","bhd_app_layout_header":"index_module_bhd_app_layout_header__577bc6d2","bhd_app_layout_main":"index_module_bhd_app_layout_main__577bc6d2","bhd_app_layout_main_filter":"index_module_bhd_app_layout_main_filter__577bc6d2","bhd_app_layout_main_filter_title":"index_module_bhd_app_layout_main_filter_title__577bc6d2","bhd_app_layout_main_filter_ul":"index_module_bhd_app_layout_main_filter_ul__577bc6d2","bhd_app_layout_main_filter_show_value":"index_module_bhd_app_layout_main_filter_show_value__577bc6d2","bhd_app_layout_main_filter_clear":"index_module_bhd_app_layout_main_filter_clear__577bc6d2","bhd_app_layout_main_table":"index_module_bhd_app_layout_main_table__577bc6d2","bhd_app_layout_footer":"index_module_bhd_app_layout_footer__577bc6d2"};
2355
+ var modules_63b47c51$2 = {"bhd_app_layout":"index_module_bhd_app_layout__577bc6d2","bhd_app_layout_header":"index_module_bhd_app_layout_header__577bc6d2","bhd_app_layout_main":"index_module_bhd_app_layout_main__577bc6d2","bhd_app_layout_main_filter":"index_module_bhd_app_layout_main_filter__577bc6d2","bhd_app_layout_main_filter_title":"index_module_bhd_app_layout_main_filter_title__577bc6d2","bhd_app_layout_main_filter_ul":"index_module_bhd_app_layout_main_filter_ul__577bc6d2","bhd_app_layout_main_filter_show_value":"index_module_bhd_app_layout_main_filter_show_value__577bc6d2","bhd_app_layout_main_filter_clear":"index_module_bhd_app_layout_main_filter_clear__577bc6d2","bhd_app_layout_main_table":"index_module_bhd_app_layout_main_table__577bc6d2","bhd_app_layout_footer":"index_module_bhd_app_layout_footer__577bc6d2"};
2356
2356
 
2357
2357
  function BhdAppLayout(props) {
2358
2358
  var _filterRef_current, _headRef_current, _otherHeadRef_current, _otherContentRef_current;
@@ -2388,11 +2388,11 @@ function BhdAppLayout(props) {
2388
2388
  otherContentRef === null || otherContentRef === void 0 ? void 0 : (_otherContentRef_current = otherContentRef.current) === null || _otherContentRef_current === void 0 ? void 0 : _otherContentRef_current.offsetHeight
2389
2389
  ]);
2390
2390
  return /*#__PURE__*/ jsxs("div", {
2391
- className: "".concat(modules_63b47c51$1.bhd_app_layout, " ").concat(modules_63b47c51$1.className, " ").concat(className || ""),
2391
+ className: "".concat(modules_63b47c51$2.bhd_app_layout, " ").concat(modules_63b47c51$2.className, " ").concat(className || ""),
2392
2392
  children: [
2393
2393
  /*#__PURE__*/ jsx("header", {
2394
2394
  ref: headRef,
2395
- className: "".concat(modules_63b47c51$1.bhd_app_layout_header, " ").concat(headerClassName || ""),
2395
+ className: "".concat(modules_63b47c51$2.bhd_app_layout_header, " ").concat(headerClassName || ""),
2396
2396
  children: headConfig && /*#__PURE__*/ jsx(TitleBar$1, _object_spread({}, headConfig))
2397
2397
  }),
2398
2398
  headContent && /*#__PURE__*/ jsx("div", {
@@ -2400,30 +2400,30 @@ function BhdAppLayout(props) {
2400
2400
  children: headContent
2401
2401
  }),
2402
2402
  /*#__PURE__*/ jsxs("main", {
2403
- className: modules_63b47c51$1.bhd_app_layout_main,
2403
+ className: modules_63b47c51$2.bhd_app_layout_main,
2404
2404
  children: [
2405
2405
  (filterConfig === null || filterConfig === void 0 ? void 0 : filterConfig.filterArr) && filterConfig.filterArr.length ? /*#__PURE__*/ jsxs("div", {
2406
2406
  ref: filterRef,
2407
- className: modules_63b47c51$1.bhd_app_layout_main_filter,
2407
+ className: modules_63b47c51$2.bhd_app_layout_main_filter,
2408
2408
  children: [
2409
2409
  /*#__PURE__*/ jsxs("div", {
2410
- className: modules_63b47c51$1.bhd_app_layout_main_filter_title,
2410
+ className: modules_63b47c51$2.bhd_app_layout_main_filter_title,
2411
2411
  children: [
2412
2412
  i18Conversion$1("已筛选"),
2413
2413
  ":"
2414
2414
  ]
2415
2415
  }),
2416
2416
  /*#__PURE__*/ jsx("ul", {
2417
- className: modules_63b47c51$1.bhd_app_layout_main_filter_ul,
2417
+ className: modules_63b47c51$2.bhd_app_layout_main_filter_ul,
2418
2418
  children: filterConfig.filterArr.map(function(ele, index) {
2419
2419
  return /*#__PURE__*/ jsxs("li", {
2420
2420
  children: [
2421
2421
  /*#__PURE__*/ jsx("span", {
2422
- className: modules_63b47c51$1.bhd_app_layout_main_filter_show_title,
2422
+ className: modules_63b47c51$2.bhd_app_layout_main_filter_show_title,
2423
2423
  children: ele.title
2424
2424
  }),
2425
2425
  /*#__PURE__*/ jsxs("span", {
2426
- className: modules_63b47c51$1.bhd_app_layout_main_filter_show_value,
2426
+ className: modules_63b47c51$2.bhd_app_layout_main_filter_show_value,
2427
2427
  children: [
2428
2428
  "“",
2429
2429
  ele.value,
@@ -2442,7 +2442,7 @@ function BhdAppLayout(props) {
2442
2442
  }),
2443
2443
  /*#__PURE__*/ jsx("div", {
2444
2444
  onClick: filterConfig === null || filterConfig === void 0 ? void 0 : filterConfig.onClearAll,
2445
- className: modules_63b47c51$1.bhd_app_layout_main_filter_clear,
2445
+ className: modules_63b47c51$2.bhd_app_layout_main_filter_clear,
2446
2446
  children: i18Conversion$1("清空条件")
2447
2447
  })
2448
2448
  ]
@@ -2452,7 +2452,7 @@ function BhdAppLayout(props) {
2452
2452
  children: otherContent
2453
2453
  }),
2454
2454
  /*#__PURE__*/ jsx("div", {
2455
- className: "".concat(modules_63b47c51$1.bhd_app_layout_main_table, " ").concat(tableBoxClassName || ""),
2455
+ className: "".concat(modules_63b47c51$2.bhd_app_layout_main_table, " ").concat(tableBoxClassName || ""),
2456
2456
  children: scrollConfig ? tableConfig && /*#__PURE__*/ jsx(BhdTableSimple$1, _object_spread_props(_object_spread({}, tableConfig), {
2457
2457
  pagination: false,
2458
2458
  scroll: _object_spread({}, scrollConfig)
@@ -2461,7 +2461,7 @@ function BhdAppLayout(props) {
2461
2461
  ]
2462
2462
  }),
2463
2463
  footerConfig ? /*#__PURE__*/ jsxs("footer", {
2464
- className: modules_63b47c51$1.bhd_app_layout_footer,
2464
+ className: modules_63b47c51$2.bhd_app_layout_footer,
2465
2465
  children: [
2466
2466
  /*#__PURE__*/ jsx("div", {
2467
2467
  children: (footerConfig === null || footerConfig === void 0 ? void 0 : footerConfig.leftDom) && footerConfig.leftDom
@@ -2473,7 +2473,7 @@ function BhdAppLayout(props) {
2473
2473
  });
2474
2474
  }
2475
2475
 
2476
- var modules_63b47c51 = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__bf3246f1","ChatWindow_Modal":"index_module_ChatWindow_Modal__bf3246f1","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__bf3246f1","header_wrap":"index_module_header_wrap__bf3246f1","top":"index_module_top__bf3246f1","user":"index_module_user__bf3246f1","count":"index_module_count__bf3246f1","operate":"index_module_operate__bf3246f1","line":"index_module_line__bf3246f1","popover_main":"index_module_popover_main__bf3246f1","popover":"index_module_popover__bf3246f1","header_wrap_newlabo":"index_module_header_wrap_newlabo__bf3246f1","Drawer_main":"index_module_Drawer_main__bf3246f1","loading":"index_module_loading__bf3246f1","message_con":"index_module_message_con__bf3246f1","left":"index_module_left__bf3246f1","head_sculpture":"index_module_head_sculpture__bf3246f1","main_content":"index_module_main_content__bf3246f1","right":"index_module_right__bf3246f1","main":"index_module_main__bf3246f1","main_content_flag":"index_module_main_content_flag__bf3246f1","operate_modal":"index_module_operate_modal__bf3246f1","operate_modal_bottom":"index_module_operate_modal_bottom__bf3246f1","active":"index_module_active__bf3246f1","stop_generate":"index_module_stop_generate__bf3246f1","icon":"index_module_icon__bf3246f1","find_teacher":"index_module_find_teacher__bf3246f1","stop_findTeacher":"index_module_stop_findTeacher__bf3246f1","content":"index_module_content__bf3246f1","content_child":"index_module_content_child__bf3246f1","find_teacher_con":"index_module_find_teacher_con__bf3246f1","sign":"index_module_sign__bf3246f1","ask_question":"index_module_ask_question__bf3246f1","association_problem":"index_module_association_problem__bf3246f1","association_problem_flag":"index_module_association_problem_flag__bf3246f1","related_issues_flag":"index_module_related_issues_flag__bf3246f1","img_con":"index_module_img_con__bf3246f1","mask_zoom":"index_module_mask_zoom__bf3246f1","img_con2":"index_module_img_con2__bf3246f1","copyCode":"index_module_copyCode__bf3246f1","time":"index_module_time__bf3246f1","citation_content":"index_module_citation_content__bf3246f1","text_exceed":"index_module_text_exceed__bf3246f1","popover_content":"index_module_popover_content__bf3246f1","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__bf3246f1","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__bf3246f1","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__bf3246f1","issues_list_teacherList":"index_module_issues_list_teacherList__bf3246f1","item":"index_module_item__bf3246f1","issues_list":"index_module_issues_list__bf3246f1","issues_list_flag":"index_module_issues_list_flag__bf3246f1","Drawer_buttom":"index_module_Drawer_buttom__bf3246f1","input_wrap":"index_module_input_wrap__bf3246f1","input":"index_module_input__bf3246f1","picture_layout":"index_module_picture_layout__bf3246f1","icon_close":"index_module_icon_close__bf3246f1","icon_zoom":"index_module_icon_zoom__bf3246f1","anticon":"index_module_anticon__bf3246f1","no_AI":"index_module_no_AI__bf3246f1","screenshot":"index_module_screenshot__bf3246f1","disabled":"index_module_disabled__bf3246f1","content_main":"index_module_content_main__bf3246f1","content_con":"index_module_content_con__bf3246f1","delete_quote":"index_module_delete_quote__bf3246f1","sending":"index_module_sending__bf3246f1","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__bf3246f1","main_list":"index_module_main_list__bf3246f1","chat_content":"index_module_chat_content__bf3246f1","popover_main_content":"index_module_popover_main_content__bf3246f1","popover_main_content_name":"index_module_popover_main_content_name__bf3246f1","teacher_layout":"index_module_teacher_layout__bf3246f1","bottom":"index_module_bottom__bf3246f1","delete":"index_module_delete__bf3246f1","num":"index_module_num__bf3246f1","shrink":"index_module_shrink__bf3246f1","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__bf3246f1","teacher_layout_modal":"index_module_teacher_layout_modal__bf3246f1","ai":"index_module_ai__bf3246f1","user_info":"index_module_user_info__bf3246f1","message":"index_module_message__bf3246f1","con":"index_module_con__bf3246f1","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__bf3246f1","history_list":"index_module_history_list__bf3246f1","search_layout":"index_module_search_layout__bf3246f1","mymove":"index_module_mymove__bf3246f1","title":"index_module_title__bf3246f1","search_top":"index_module_search_top__bf3246f1","list_item":"index_module_list_item__bf3246f1","list_summary":"index_module_list_summary__bf3246f1","head_img":"index_module_head_img__bf3246f1","list_desc":"index_module_list_desc__bf3246f1","name":"index_module_name__bf3246f1","decs":"index_module_decs__bf3246f1","open":"index_module_open__bf3246f1","list_summary_active":"index_module_list_summary_active__bf3246f1","list_detail":"index_module_list_detail__bf3246f1","list":"index_module_list__bf3246f1","list_more":"index_module_list_more__bf3246f1","no_data":"index_module_no_data__bf3246f1","history_list_broadside":"index_module_history_list_broadside__bf3246f1","teacher_list":"index_module_teacher_list__bf3246f1","screenshot_Modal":"index_module_screenshot_Modal__bf3246f1","ReactCrop":"index_module_ReactCrop__bf3246f1","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__bf3246f1"};
2476
+ var modules_63b47c51$1 = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__ed48671c","ChatWindow_Modal":"index_module_ChatWindow_Modal__ed48671c","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__ed48671c","header_wrap":"index_module_header_wrap__ed48671c","top":"index_module_top__ed48671c","user":"index_module_user__ed48671c","count":"index_module_count__ed48671c","operate":"index_module_operate__ed48671c","line":"index_module_line__ed48671c","popover_main":"index_module_popover_main__ed48671c","popover":"index_module_popover__ed48671c","header_wrap_newlabo":"index_module_header_wrap_newlabo__ed48671c","Drawer_main":"index_module_Drawer_main__ed48671c","loading":"index_module_loading__ed48671c","message_con":"index_module_message_con__ed48671c","left":"index_module_left__ed48671c","head_sculpture":"index_module_head_sculpture__ed48671c","main_content":"index_module_main_content__ed48671c","right":"index_module_right__ed48671c","main":"index_module_main__ed48671c","main_content_flag":"index_module_main_content_flag__ed48671c","operate_modal":"index_module_operate_modal__ed48671c","operate_modal_bottom":"index_module_operate_modal_bottom__ed48671c","active":"index_module_active__ed48671c","stop_generate":"index_module_stop_generate__ed48671c","icon":"index_module_icon__ed48671c","find_teacher":"index_module_find_teacher__ed48671c","stop_findTeacher":"index_module_stop_findTeacher__ed48671c","content":"index_module_content__ed48671c","content_child":"index_module_content_child__ed48671c","find_teacher_con":"index_module_find_teacher_con__ed48671c","sign":"index_module_sign__ed48671c","ask_question":"index_module_ask_question__ed48671c","association_problem":"index_module_association_problem__ed48671c","association_problem_flag":"index_module_association_problem_flag__ed48671c","related_issues_flag":"index_module_related_issues_flag__ed48671c","img_con":"index_module_img_con__ed48671c","mask_zoom":"index_module_mask_zoom__ed48671c","img_con2":"index_module_img_con2__ed48671c","copyCode":"index_module_copyCode__ed48671c","time":"index_module_time__ed48671c","citation_content":"index_module_citation_content__ed48671c","text_exceed":"index_module_text_exceed__ed48671c","popover_content":"index_module_popover_content__ed48671c","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__ed48671c","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__ed48671c","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__ed48671c","issues_list_teacherList":"index_module_issues_list_teacherList__ed48671c","item":"index_module_item__ed48671c","issues_list":"index_module_issues_list__ed48671c","issues_list_flag":"index_module_issues_list_flag__ed48671c","Drawer_buttom":"index_module_Drawer_buttom__ed48671c","input_wrap":"index_module_input_wrap__ed48671c","input":"index_module_input__ed48671c","picture_layout":"index_module_picture_layout__ed48671c","icon_close":"index_module_icon_close__ed48671c","icon_zoom":"index_module_icon_zoom__ed48671c","anticon":"index_module_anticon__ed48671c","no_AI":"index_module_no_AI__ed48671c","screenshot":"index_module_screenshot__ed48671c","disabled":"index_module_disabled__ed48671c","content_main":"index_module_content_main__ed48671c","content_con":"index_module_content_con__ed48671c","delete_quote":"index_module_delete_quote__ed48671c","sending":"index_module_sending__ed48671c","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__ed48671c","main_list":"index_module_main_list__ed48671c","chat_content":"index_module_chat_content__ed48671c","popover_main_content":"index_module_popover_main_content__ed48671c","popover_main_content_name":"index_module_popover_main_content_name__ed48671c","teacher_layout":"index_module_teacher_layout__ed48671c","bottom":"index_module_bottom__ed48671c","delete":"index_module_delete__ed48671c","num":"index_module_num__ed48671c","shrink":"index_module_shrink__ed48671c","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__ed48671c","teacher_layout_modal":"index_module_teacher_layout_modal__ed48671c","ai":"index_module_ai__ed48671c","user_info":"index_module_user_info__ed48671c","message":"index_module_message__ed48671c","con":"index_module_con__ed48671c","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__ed48671c","history_list":"index_module_history_list__ed48671c","search_layout":"index_module_search_layout__ed48671c","mymove":"index_module_mymove__ed48671c","title":"index_module_title__ed48671c","search_top":"index_module_search_top__ed48671c","list_item":"index_module_list_item__ed48671c","list_summary":"index_module_list_summary__ed48671c","head_img":"index_module_head_img__ed48671c","list_desc":"index_module_list_desc__ed48671c","name":"index_module_name__ed48671c","decs":"index_module_decs__ed48671c","open":"index_module_open__ed48671c","list_summary_active":"index_module_list_summary_active__ed48671c","list_detail":"index_module_list_detail__ed48671c","list":"index_module_list__ed48671c","list_more":"index_module_list_more__ed48671c","no_data":"index_module_no_data__ed48671c","history_list_broadside":"index_module_history_list_broadside__ed48671c","teacher_list":"index_module_teacher_list__ed48671c","screenshot_Modal":"index_module_screenshot_Modal__ed48671c","ReactCrop":"index_module_ReactCrop__ed48671c","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__ed48671c"};
2477
2477
 
2478
2478
  //消息已读
2479
2479
  var readMessage = function(roomId, urllocation, userData, http) {
@@ -2879,12 +2879,12 @@ var HistoryFun = function(props) {
2879
2879
  });
2880
2880
  };
2881
2881
  return /*#__PURE__*/ jsx("div", {
2882
- className: "".concat(modules_63b47c51.history_list, " ").concat(type == 2 ? modules_63b47c51.history_list_broadside : "", " "),
2882
+ className: "".concat(modules_63b47c51$1.history_list, " ").concat(type == 2 ? modules_63b47c51$1.history_list_broadside : "", " "),
2883
2883
  children: /*#__PURE__*/ jsxs("div", {
2884
- className: modules_63b47c51.search_layout,
2884
+ className: modules_63b47c51$1.search_layout,
2885
2885
  children: [
2886
2886
  /*#__PURE__*/ jsxs("div", {
2887
- className: modules_63b47c51.title,
2887
+ className: modules_63b47c51$1.title,
2888
2888
  children: [
2889
2889
  /*#__PURE__*/ jsx("span", {
2890
2890
  children: "历史记录"
@@ -2899,7 +2899,7 @@ var HistoryFun = function(props) {
2899
2899
  ]
2900
2900
  }),
2901
2901
  /*#__PURE__*/ jsxs("div", {
2902
- className: modules_63b47c51.search_top,
2902
+ className: modules_63b47c51$1.search_top,
2903
2903
  children: [
2904
2904
  /*#__PURE__*/ jsx(SearchOutlined, {}),
2905
2905
  /*#__PURE__*/ jsx(Input, {
@@ -2932,11 +2932,11 @@ var HistoryFun = function(props) {
2932
2932
  ]
2933
2933
  }),
2934
2934
  /*#__PURE__*/ jsxs("div", {
2935
- className: modules_63b47c51.main_list,
2935
+ className: modules_63b47c51$1.main_list,
2936
2936
  id: "history_list",
2937
2937
  children: [
2938
2938
  showLoadingState == 1 && /*#__PURE__*/ jsxs("div", {
2939
- className: modules_63b47c51.no_data,
2939
+ className: modules_63b47c51$1.no_data,
2940
2940
  children: [
2941
2941
  /*#__PURE__*/ jsx("img", {
2942
2942
  src: "/new_yun/images/aiService/search_for_icon.png"
@@ -2947,7 +2947,7 @@ var HistoryFun = function(props) {
2947
2947
  ]
2948
2948
  }),
2949
2949
  showLoadingState == 2 && /*#__PURE__*/ jsxs("div", {
2950
- className: modules_63b47c51.no_data,
2950
+ className: modules_63b47c51$1.no_data,
2951
2951
  children: [
2952
2952
  /*#__PURE__*/ jsx("img", {
2953
2953
  src: "/new_yun/images/aiService/no_data.png"
@@ -2958,7 +2958,7 @@ var HistoryFun = function(props) {
2958
2958
  ]
2959
2959
  }),
2960
2960
  /*#__PURE__*/ jsx("div", {
2961
- className: modules_63b47c51.list_item,
2961
+ className: modules_63b47c51$1.list_item,
2962
2962
  children: totalData.map(function(item) {
2963
2963
  var span = "";
2964
2964
  var time = "";
@@ -2972,11 +2972,11 @@ var HistoryFun = function(props) {
2972
2972
  //搜索内容是否有特殊字符
2973
2973
  if (reg.test(keyWordProblem)) {
2974
2974
  span = message.replaceAll(keyWordProblem, function(e) {
2975
- return "<span class=".concat(modules_63b47c51.sign, ">").concat(e, "</span>");
2975
+ return "<span class=".concat(modules_63b47c51$1.sign, ">").concat(e, "</span>");
2976
2976
  });
2977
2977
  } else {
2978
2978
  span = message.replaceAll(new RegExp(keyWordProblem, "ig"), function(i) {
2979
- return "<span class=".concat(modules_63b47c51.sign, ">").concat(i, "</span>");
2979
+ return "<span class=".concat(modules_63b47c51$1.sign, ">").concat(i, "</span>");
2980
2980
  });
2981
2981
  }
2982
2982
  time = formatDate(item.createdAt);
@@ -2984,7 +2984,7 @@ var HistoryFun = function(props) {
2984
2984
  return /*#__PURE__*/ jsxs(Fragment, {
2985
2985
  children: [
2986
2986
  /*#__PURE__*/ jsxs("div", {
2987
- className: "".concat(modules_63b47c51.list_summary, " ").concat(item.show ? modules_63b47c51.list_summary_active : ""),
2987
+ className: "".concat(modules_63b47c51$1.list_summary, " ").concat(item.show ? modules_63b47c51$1.list_summary_active : ""),
2988
2988
  id: item.roomId,
2989
2989
  onClick: function() {
2990
2990
  if (item.count == 1) {
@@ -2995,26 +2995,26 @@ var HistoryFun = function(props) {
2995
2995
  },
2996
2996
  children: [
2997
2997
  /*#__PURE__*/ jsx("div", {
2998
- className: modules_63b47c51.head_img,
2998
+ className: modules_63b47c51$1.head_img,
2999
2999
  children: item.member == "AI" ? /*#__PURE__*/ jsx(CustomAiIcon$1, {}) : /*#__PURE__*/ jsx("img", {
3000
3000
  src: item.headImg
3001
3001
  })
3002
3002
  }),
3003
3003
  /*#__PURE__*/ jsxs("div", {
3004
- className: modules_63b47c51.list_desc,
3004
+ className: modules_63b47c51$1.list_desc,
3005
3005
  children: [
3006
3006
  /*#__PURE__*/ jsxs("p", {
3007
- className: modules_63b47c51.name,
3007
+ className: modules_63b47c51$1.name,
3008
3008
  children: [
3009
3009
  item.member == "AI" ? "AI助手" : item.name,
3010
3010
  item.count == 1 ? /*#__PURE__*/ jsx("span", {
3011
- className: modules_63b47c51.time,
3011
+ className: modules_63b47c51$1.time,
3012
3012
  children: time
3013
3013
  }) : ""
3014
3014
  ]
3015
3015
  }),
3016
3016
  item.count == 1 ? /*#__PURE__*/ jsx("p", {
3017
- className: modules_63b47c51.decs,
3017
+ className: modules_63b47c51$1.decs,
3018
3018
  style: {
3019
3019
  width: "calc(100% - 36px)"
3020
3020
  },
@@ -3022,19 +3022,19 @@ var HistoryFun = function(props) {
3022
3022
  __html: span
3023
3023
  }
3024
3024
  }) : /*#__PURE__*/ jsx("p", {
3025
- className: modules_63b47c51.decs,
3025
+ className: modules_63b47c51$1.decs,
3026
3026
  children: "".concat(item.count, "条相关聊天记录")
3027
3027
  })
3028
3028
  ]
3029
3029
  }),
3030
3030
  item.count != 1 ? /*#__PURE__*/ jsx("div", {
3031
- className: "".concat(modules_63b47c51.open, " ").concat(item.show ? modules_63b47c51.active : ""),
3031
+ className: "".concat(modules_63b47c51$1.open, " ").concat(item.show ? modules_63b47c51$1.active : ""),
3032
3032
  children: /*#__PURE__*/ jsx(CustomExpand$1, {})
3033
3033
  }) : ""
3034
3034
  ]
3035
3035
  }),
3036
3036
  /*#__PURE__*/ jsxs("div", {
3037
- className: modules_63b47c51.list_detail,
3037
+ className: modules_63b47c51$1.list_detail,
3038
3038
  children: [
3039
3039
  item.show && item.detailsList && item.detailsList.map(function(list) {
3040
3040
  // console.log(list,item,'dklfvmdflkvmdfklv')
@@ -3057,34 +3057,34 @@ var HistoryFun = function(props) {
3057
3057
  //搜索内容是否有特殊字符
3058
3058
  if (reg.test(keyWordProblem)) {
3059
3059
  span = message.replaceAll(keyWordProblem, function(e) {
3060
- return "<span class=".concat(modules_63b47c51.sign, ">").concat(e, "</span>");
3060
+ return "<span class=".concat(modules_63b47c51$1.sign, ">").concat(e, "</span>");
3061
3061
  });
3062
3062
  } else {
3063
3063
  span = message.replaceAll(new RegExp(keyWordProblem, "ig"), function(i) {
3064
3064
  // console.log(i,'skdcnsdjk')
3065
- return "<span class=".concat(modules_63b47c51.sign, ">").concat(i, "</span>");
3065
+ return "<span class=".concat(modules_63b47c51$1.sign, ">").concat(i, "</span>");
3066
3066
  });
3067
3067
  }
3068
3068
  return /*#__PURE__*/ jsxs("div", {
3069
- className: modules_63b47c51.list,
3069
+ className: modules_63b47c51$1.list,
3070
3070
  onClick: function() {
3071
3071
  calculationData(item.roomId, list.id, list.receiver);
3072
3072
  },
3073
3073
  children: [
3074
3074
  /*#__PURE__*/ jsxs("div", {
3075
- className: modules_63b47c51.name,
3075
+ className: modules_63b47c51$1.name,
3076
3076
  children: [
3077
3077
  /*#__PURE__*/ jsx("p", {
3078
3078
  children: name
3079
3079
  }),
3080
3080
  /*#__PURE__*/ jsx("span", {
3081
- className: modules_63b47c51.time,
3081
+ className: modules_63b47c51$1.time,
3082
3082
  children: time
3083
3083
  })
3084
3084
  ]
3085
3085
  }),
3086
3086
  /*#__PURE__*/ jsx("div", {
3087
- className: modules_63b47c51.con,
3087
+ className: modules_63b47c51$1.con,
3088
3088
  dangerouslySetInnerHTML: {
3089
3089
  __html: span
3090
3090
  }
@@ -3093,7 +3093,7 @@ var HistoryFun = function(props) {
3093
3093
  }, list.id);
3094
3094
  }),
3095
3095
  item.show && item.pageCount > 1 && item.pageCount > item.pageNum && /*#__PURE__*/ jsx("div", {
3096
- className: "".concat(modules_63b47c51.list, " ").concat(modules_63b47c51.list_more),
3096
+ className: "".concat(modules_63b47c51$1.list, " ").concat(modules_63b47c51$1.list_more),
3097
3097
  onClick: function() {
3098
3098
  loadMore(item.pageNum + 1, item.roomId);
3099
3099
  },
@@ -3124,34 +3124,34 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3124
3124
  };
3125
3125
  return type == 2 || type == 4 ? //联系人展开
3126
3126
  /*#__PURE__*/ jsxs("div", {
3127
- className: "".concat(modules_63b47c51.teacher_layout_modal, " ").concat(type == 4 ? modules_63b47c51.teacher_layout_modal_newlabo : ""),
3127
+ className: "".concat(modules_63b47c51$1.teacher_layout_modal, " ").concat(type == 4 ? modules_63b47c51$1.teacher_layout_modal_newlabo : ""),
3128
3128
  children: [
3129
3129
  /*#__PURE__*/ jsx("div", {
3130
- className: modules_63b47c51.top,
3130
+ className: modules_63b47c51$1.top,
3131
3131
  children: /*#__PURE__*/ jsxs("div", {
3132
- className: "".concat(modules_63b47c51.ai, " ").concat(contactsList.length > 0 && contactsList[0].roomId != undefined && roomId != "" && contactsList[0].roomId == roomId || contactsList.length == 0 ? modules_63b47c51.active : ""),
3132
+ className: "".concat(modules_63b47c51$1.ai, " ").concat(contactsList.length > 0 && contactsList[0].roomId != undefined && roomId != "" && contactsList[0].roomId == roomId || contactsList.length == 0 ? modules_63b47c51$1.active : ""),
3133
3133
  onClick: function() {
3134
3134
  return switchChatRoom(contactsList[0].roomId, "");
3135
3135
  },
3136
3136
  children: [
3137
3137
  /*#__PURE__*/ jsx(CustomAiIcon$1, {}),
3138
3138
  /*#__PURE__*/ jsxs("div", {
3139
- className: modules_63b47c51.user_info,
3139
+ className: modules_63b47c51$1.user_info,
3140
3140
  children: [
3141
3141
  /*#__PURE__*/ jsxs("p", {
3142
- className: modules_63b47c51.message,
3142
+ className: modules_63b47c51$1.message,
3143
3143
  children: [
3144
3144
  userData.modules.some(function(ele) {
3145
3145
  return ele.short == "AIservice";
3146
3146
  }) ? "AI助手" : "智能问答",
3147
3147
  /*#__PURE__*/ jsx("span", {
3148
- className: modules_63b47c51.time,
3148
+ className: modules_63b47c51$1.time,
3149
3149
  children: contactsList.length > 0 && contactsList[0].createdAt != undefined && formatDate(contactsList[0].createdAt)
3150
3150
  })
3151
3151
  ]
3152
3152
  }),
3153
3153
  /*#__PURE__*/ jsx("p", {
3154
- className: modules_63b47c51.con,
3154
+ className: modules_63b47c51$1.con,
3155
3155
  children: contactsList.length > 0 && contactsList[0].lastMsg
3156
3156
  })
3157
3157
  ]
@@ -3162,11 +3162,11 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3162
3162
  userData.modules.some(function(item) {
3163
3163
  return item.short == "TeacherAnswer";
3164
3164
  }) && /*#__PURE__*/ jsx("div", {
3165
- className: modules_63b47c51.bottom,
3165
+ className: modules_63b47c51$1.bottom,
3166
3166
  children: contactsList.map(function(item, index) {
3167
3167
  if (index != 0) {
3168
3168
  return /*#__PURE__*/ jsxs("div", {
3169
- className: "".concat(modules_63b47c51.ai, " ").concat(item.roomId != undefined && roomId != "" && item.roomId == roomId ? modules_63b47c51.active : ""),
3169
+ className: "".concat(modules_63b47c51$1.ai, " ").concat(item.roomId != undefined && roomId != "" && item.roomId == roomId ? modules_63b47c51$1.active : ""),
3170
3170
  onClick: function() {
3171
3171
  switchChatRoom(item.roomId, "");
3172
3172
  },
@@ -3175,29 +3175,29 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3175
3175
  src: item.headImg
3176
3176
  }),
3177
3177
  /*#__PURE__*/ jsxs("div", {
3178
- className: modules_63b47c51.user_info,
3178
+ className: modules_63b47c51$1.user_info,
3179
3179
  children: [
3180
3180
  /*#__PURE__*/ jsxs("p", {
3181
- className: modules_63b47c51.message,
3181
+ className: modules_63b47c51$1.message,
3182
3182
  children: [
3183
3183
  item.name != undefined && getByteLen(item.name) >= 20 ? /*#__PURE__*/ jsx(Tooltip, {
3184
- overlayClassName: "".concat(modules_63b47c51.popover_main_content_name),
3184
+ overlayClassName: "".concat(modules_63b47c51$1.popover_main_content_name),
3185
3185
  title: item.name,
3186
3186
  placement: "top",
3187
3187
  children: item.name
3188
3188
  }) : item.name,
3189
3189
  item.unreadCount != undefined && item.unreadCount > 0 && !(item.roomId != undefined && roomId != "" && item.roomId == roomId) && /*#__PURE__*/ jsx("span", {
3190
- className: modules_63b47c51.num,
3190
+ className: modules_63b47c51$1.num,
3191
3191
  children: item.unreadCount > 99 ? "99+" : item.unreadCount
3192
3192
  }),
3193
3193
  /*#__PURE__*/ jsx("span", {
3194
- className: modules_63b47c51.time,
3194
+ className: modules_63b47c51$1.time,
3195
3195
  children: formatDate(item.createdAt)
3196
3196
  })
3197
3197
  ]
3198
3198
  }),
3199
3199
  /*#__PURE__*/ jsx("p", {
3200
- className: modules_63b47c51.con,
3200
+ className: modules_63b47c51$1.con,
3201
3201
  children: item.lastMsg
3202
3202
  })
3203
3203
  ]
@@ -3211,16 +3211,16 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3211
3211
  })
3212
3212
  ]
3213
3213
  }) : /*#__PURE__*/ jsxs("div", {
3214
- className: "".concat(modules_63b47c51.teacher_layout, " ").concat(type == 3 ? modules_63b47c51.teacher_layout_newlabo : ""),
3214
+ className: "".concat(modules_63b47c51$1.teacher_layout, " ").concat(type == 3 ? modules_63b47c51$1.teacher_layout_newlabo : ""),
3215
3215
  style: {
3216
3216
  left: type == 3 ? document.getElementById("box") && document.getElementById("box").offsetWidth + 10 + "px" : "auto"
3217
3217
  },
3218
3218
  children: [
3219
3219
  /*#__PURE__*/ jsxs("div", {
3220
- className: modules_63b47c51.top,
3220
+ className: modules_63b47c51$1.top,
3221
3221
  children: [
3222
3222
  /*#__PURE__*/ jsxs("div", {
3223
- className: "".concat(modules_63b47c51.ai, " ").concat(modules_63b47c51.shrink),
3223
+ className: "".concat(modules_63b47c51$1.ai, " ").concat(modules_63b47c51$1.shrink),
3224
3224
  onClick: function() {
3225
3225
  onClose();
3226
3226
  },
@@ -3235,7 +3235,7 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3235
3235
  ]
3236
3236
  }),
3237
3237
  /*#__PURE__*/ jsxs("div", {
3238
- className: "".concat(modules_63b47c51.ai, " ").concat(contactsList.length > 0 && contactsList[0].roomId != undefined && roomId != "" && contactsList[0].roomId == roomId || contactsList.length == 0 ? modules_63b47c51.active : ""),
3238
+ className: "".concat(modules_63b47c51$1.ai, " ").concat(contactsList.length > 0 && contactsList[0].roomId != undefined && roomId != "" && contactsList[0].roomId == roomId || contactsList.length == 0 ? modules_63b47c51$1.active : ""),
3239
3239
  onClick: function() {
3240
3240
  switchChatRoom(contactsList[0].roomId, "");
3241
3241
  // roomsListTimer();
@@ -3254,11 +3254,11 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3254
3254
  userData.modules.some(function(item) {
3255
3255
  return item.short == "TeacherAnswer";
3256
3256
  }) && /*#__PURE__*/ jsx("div", {
3257
- className: modules_63b47c51.bottom,
3257
+ className: modules_63b47c51$1.bottom,
3258
3258
  children: contactsList.map(function(item, index) {
3259
3259
  if (index != 0) {
3260
3260
  return /*#__PURE__*/ jsxs("div", {
3261
- className: "".concat(modules_63b47c51.ai, " ").concat(item.roomId != undefined && roomId != "" && item.roomId == roomId ? modules_63b47c51.active : ""),
3261
+ className: "".concat(modules_63b47c51$1.ai, " ").concat(item.roomId != undefined && roomId != "" && item.roomId == roomId ? modules_63b47c51$1.active : ""),
3262
3262
  onClick: function() {
3263
3263
  switchChatRoom(item.roomId, "");
3264
3264
  },
@@ -3268,19 +3268,19 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
3268
3268
  }),
3269
3269
  /*#__PURE__*/ jsx("p", {
3270
3270
  children: item.name != undefined && getByteLen(item.name) >= 10 ? /*#__PURE__*/ jsx(Tooltip, {
3271
- overlayClassName: modules_63b47c51.popover_main_content_name,
3271
+ overlayClassName: modules_63b47c51$1.popover_main_content_name,
3272
3272
  title: item.name,
3273
3273
  placement: "top",
3274
3274
  children: item.name
3275
3275
  }) : item.name
3276
3276
  }),
3277
3277
  item.unreadCount != undefined && item.unreadCount > 0 && !(item.roomId != undefined && roomId != "" && item.roomId == roomId) && /*#__PURE__*/ jsx("span", {
3278
- className: modules_63b47c51.num,
3278
+ className: modules_63b47c51$1.num,
3279
3279
  children: item.unreadCount > 99 ? "99+" : item.unreadCount
3280
3280
  }),
3281
3281
  // 没有消息时,可点击删除
3282
3282
  !item.unreadCount && /*#__PURE__*/ jsx("span", {
3283
- className: modules_63b47c51.delete,
3283
+ className: modules_63b47c51$1.delete,
3284
3284
  onClick: function(e) {
3285
3285
  e.stopPropagation();
3286
3286
  deleteRoom(item.roomId);
@@ -3304,13 +3304,11 @@ var ScreenshotTool = /*#__PURE__*/ forwardRef(function(props, ref) {
3304
3304
  var _useState = _sliced_to_array(useState(), 2), crop = _useState[0], setCrop = _useState[1];
3305
3305
  var _useState1 = _sliced_to_array(useState(), 2), completedCrop = _useState1[0], setCompletedCrop = _useState1[1];
3306
3306
  var _useState2 = _sliced_to_array(useState(16 / 9), 2), aspect = _useState2[0]; _useState2[1];
3307
- var _useState3 = _sliced_to_array(useState(window.devicePixelRatio), 2), devicePixelRatio = _useState3[0]; _useState3[1];
3308
- var _useState4 = _sliced_to_array(useState(true), 2), isFirst = _useState4[0], setIsFirst = _useState4[1];
3309
- var _useState5 = _sliced_to_array(useState({
3307
+ var _useState3 = _sliced_to_array(useState({
3310
3308
  top: 0,
3311
3309
  left: 0
3312
- }), 2), btnPosition = _useState5[0], setBtnPosition = _useState5[1];
3313
- var _useState6 = _sliced_to_array(useState(false), 2), showBtn = _useState6[0], setShowBtn = _useState6[1];
3310
+ }), 2), btnPosition = _useState3[0], setBtnPosition = _useState3[1];
3311
+ var _useState4 = _sliced_to_array(useState(false), 2), showBtn = _useState4[0], setShowBtn = _useState4[1];
3314
3312
  function centerAspectCrop(mediaWidth, mediaHeight, aspect) {
3315
3313
  return I(H({
3316
3314
  unit: "%",
@@ -3338,10 +3336,10 @@ var ScreenshotTool = /*#__PURE__*/ forwardRef(function(props, ref) {
3338
3336
  image.src = imgBese64; // 将'your_image_url'替换为你自己的图片URL
3339
3337
  // 等待图片加载完成后再进行操作
3340
3338
  image.onload = function() {
3341
- var x = parseInt((completedCrop.x * devicePixelRatio).toString()); // 起始点x坐标
3342
- var y = parseInt((completedCrop.y * devicePixelRatio).toString()); // 起始点y坐标
3343
- var width = parseInt((completedCrop.width * devicePixelRatio).toString()); // 需要裁剪的区域宽度
3344
- var height = parseInt((completedCrop.height * devicePixelRatio).toString()); // 需要裁剪的区域高度
3339
+ var x = completedCrop.x; // 起始点x坐标
3340
+ var y = completedCrop.y; // 起始点y坐标
3341
+ var width = completedCrop.width; // 需要裁剪的区域宽度
3342
+ var height = completedCrop.height; // 需要裁剪的区域高度
3345
3343
  // 设置canvas大小与裁剪区域相同
3346
3344
  canvas.width = width;
3347
3345
  canvas.height = height;
@@ -3362,7 +3360,7 @@ var ScreenshotTool = /*#__PURE__*/ forwardRef(function(props, ref) {
3362
3360
  var y = e.y;
3363
3361
  var h = e.height;
3364
3362
  var w = e.width;
3365
- var top = y + h + (isFirst ? 21 : 8);
3363
+ var top = y + h + 8;
3366
3364
  var left = x + w - 88;
3367
3365
  if (top + 42 > window.innerHeight) {
3368
3366
  top = top - 50;
@@ -3372,13 +3370,12 @@ var ScreenshotTool = /*#__PURE__*/ forwardRef(function(props, ref) {
3372
3370
  left: left
3373
3371
  });
3374
3372
  setShowBtn(true);
3375
- setIsFirst(false);
3376
3373
  };
3377
3374
  return /*#__PURE__*/ jsxs("div", {
3378
- className: modules_63b47c51.screenshot_Modal,
3375
+ className: modules_63b47c51$1.screenshot_Modal,
3379
3376
  children: [
3380
3377
  /*#__PURE__*/ jsx(X, {
3381
- className: modules_63b47c51.ReactCrop,
3378
+ className: modules_63b47c51$1.ReactCrop,
3382
3379
  crop: crop,
3383
3380
  onChange: function(_, percentCrop) {
3384
3381
  if (percentCrop.height === 0 && percentCrop.width === 0) {
@@ -3406,7 +3403,7 @@ var ScreenshotTool = /*#__PURE__*/ forwardRef(function(props, ref) {
3406
3403
  })
3407
3404
  }),
3408
3405
  showBtn && /*#__PURE__*/ jsxs("div", {
3409
- className: modules_63b47c51.screenshot_Modal_btn,
3406
+ className: modules_63b47c51$1.screenshot_Modal_btn,
3410
3407
  style: {
3411
3408
  top: btnPosition.top,
3412
3409
  left: btnPosition.left
@@ -3593,12 +3590,12 @@ var TeacherList = function(props) {
3593
3590
  });
3594
3591
  };
3595
3592
  return /*#__PURE__*/ jsx("div", {
3596
- className: "".concat(modules_63b47c51.history_list, " ").concat(type == 2 ? modules_63b47c51.history_list_broadside : "", " ").concat(modules_63b47c51.teacher_list),
3593
+ className: "".concat(modules_63b47c51$1.history_list, " ").concat(type == 2 ? modules_63b47c51$1.history_list_broadside : "", " ").concat(modules_63b47c51$1.teacher_list),
3597
3594
  children: /*#__PURE__*/ jsxs("div", {
3598
- className: modules_63b47c51.search_layout,
3595
+ className: modules_63b47c51$1.search_layout,
3599
3596
  children: [
3600
3597
  /*#__PURE__*/ jsxs("div", {
3601
- className: modules_63b47c51.title,
3598
+ className: modules_63b47c51$1.title,
3602
3599
  children: [
3603
3600
  /*#__PURE__*/ jsx("span", {
3604
3601
  children: "召唤老师回答"
@@ -3613,7 +3610,7 @@ var TeacherList = function(props) {
3613
3610
  ]
3614
3611
  }),
3615
3612
  /*#__PURE__*/ jsxs("div", {
3616
- className: modules_63b47c51.search_top,
3613
+ className: modules_63b47c51$1.search_top,
3617
3614
  children: [
3618
3615
  /*#__PURE__*/ jsx(SearchOutlined, {}),
3619
3616
  /*#__PURE__*/ jsx(Input, {
@@ -3646,11 +3643,11 @@ var TeacherList = function(props) {
3646
3643
  ]
3647
3644
  }),
3648
3645
  /*#__PURE__*/ jsxs("div", {
3649
- className: modules_63b47c51.main_list,
3646
+ className: modules_63b47c51$1.main_list,
3650
3647
  id: "teacher_list",
3651
3648
  children: [
3652
3649
  showLoadingState == 2 && /*#__PURE__*/ jsxs("div", {
3653
- className: modules_63b47c51.no_data,
3650
+ className: modules_63b47c51$1.no_data,
3654
3651
  children: [
3655
3652
  /*#__PURE__*/ jsx("img", {
3656
3653
  src: "/new_yun/images/aiService/no_data_02.png"
@@ -3661,30 +3658,30 @@ var TeacherList = function(props) {
3661
3658
  ]
3662
3659
  }),
3663
3660
  /*#__PURE__*/ jsx("div", {
3664
- className: modules_63b47c51.list_item,
3661
+ className: modules_63b47c51$1.list_item,
3665
3662
  ref: sliderRef,
3666
3663
  children: showTotalData.map(function(item) {
3667
3664
  var span = item.name.replaceAll(new RegExp(keyWordProblem, "ig"), function(i) {
3668
- return "<span class=".concat(modules_63b47c51.sign, ">").concat(i, "</span>");
3665
+ return "<span class=".concat(modules_63b47c51$1.sign, ">").concat(i, "</span>");
3669
3666
  });
3670
3667
  return /*#__PURE__*/ jsx(Fragment, {
3671
3668
  children: /*#__PURE__*/ jsxs("div", {
3672
- className: "".concat(modules_63b47c51.list_summary),
3669
+ className: "".concat(modules_63b47c51$1.list_summary),
3673
3670
  id: item.roomId,
3674
3671
  onClick: function() {
3675
3672
  enterTeacherChat(item);
3676
3673
  },
3677
3674
  children: [
3678
3675
  /*#__PURE__*/ jsx("div", {
3679
- className: modules_63b47c51.head_img,
3676
+ className: modules_63b47c51$1.head_img,
3680
3677
  children: /*#__PURE__*/ jsx("img", {
3681
3678
  src: item.headImg
3682
3679
  })
3683
3680
  }),
3684
3681
  /*#__PURE__*/ jsx("div", {
3685
- className: modules_63b47c51.list_desc,
3682
+ className: modules_63b47c51$1.list_desc,
3686
3683
  children: /*#__PURE__*/ jsx("p", {
3687
- className: modules_63b47c51.name,
3684
+ className: modules_63b47c51$1.name,
3688
3685
  style: {
3689
3686
  width: "calc(100% - 36px)"
3690
3687
  },
@@ -3727,10 +3724,10 @@ var parseDate = function(dateStr) {
3727
3724
  var img = "data:image/png;base64,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";
3728
3725
  var knowledge_icon = img;
3729
3726
 
3730
- var styles = modules_63b47c51;
3727
+ var styles = modules_63b47c51$1;
3731
3728
  var TextArea = Input.TextArea;
3732
3729
  var CustomerService = function(props) {
3733
- var userData = props.userData, http = props.http, urllocation = props.urllocation, onCancel = props.onCancel, serverName = props.serverName, fetchEventSource = props.fetchEventSource, initShowType = props.initShowType, onEvent = props.onEvent, stepIds = props.stepIds, stepId = props.stepId; props.screenshotAreaId; var config = props.config;
3730
+ var userData = props.userData, http = props.http, urllocation = props.urllocation, onCancel = props.onCancel, serverName = props.serverName, fetchEventSource = props.fetchEventSource, initShowType = props.initShowType, onEvent = props.onEvent, stepIds = props.stepIds, stepId = props.stepId, screenshotAreaId = props.screenshotAreaId, config = props.config;
3734
3731
  // const { bese64String, startRecord, stopRecord } = useMediaRecorder(); //语音转文字
3735
3732
  // const [voiceRecordingStatus, setVoiceRecordingStatus] = useState(3); //语音录制状态 3,语音识别完成 2,录制中, 1,录制结束
3736
3733
  var _useState = _sliced_to_array(useState([]), 2), copyTextOBJ = _useState[0], setCopyTextObj = _useState[1]; //复制的消息id
@@ -3807,118 +3804,33 @@ var CustomerService = function(props) {
3807
3804
  initShowType
3808
3805
  ]);
3809
3806
  useEffect(function() {
3810
- function handlerHtml2canvas() {
3811
- console.log("kkkkkkkkkkk");
3807
+ //|| showScreenshot
3808
+ if (showType == 5 || showScreenshot) {
3812
3809
  try {
3813
3810
  newShowType.current = true;
3814
3811
  setImgBese64("");
3815
- var plugin = new screenShotPlugin({
3816
- clickCutFullScreen: true,
3817
- enableWebRtc: true,
3818
- loadCrossImg: true,
3819
- canvasWidth: window.innerWidth,
3820
- canvasHeight: window.innerHeight,
3821
- level: -1,
3822
- hiddenToolIco: true,
3823
- screenShotDom: document.body,
3824
- cropBoxInfo: {
3825
- x: 0,
3826
- y: 0,
3827
- w: window.innerWidth,
3828
- h: window.innerHeight
3829
- },
3830
- wrcReplyTime: 20,
3831
- wrcWindowMode: true,
3832
- hiddenScrollBar: {
3833
- state: true
3834
- },
3835
- completeCallback: function(param) {
3836
- var base64 = param.base64;
3837
- // console.log(
3838
- // "截图组件加载完毕调用此方法来完成框选区域的截图",
3839
- // base64
3840
- // );
3841
- setImgBese64(base64);
3842
- },
3843
- triggerCallback: function() {
3844
- // 截图组件加载完毕调用此方法来完成框选区域的截图
3845
- plugin.completeScreenshot();
3846
- },
3847
- cancelCallback: function(err) {
3848
- if (err.code === -1) {
3849
- console.log(err);
3850
- newShowType.current = false;
3851
- if (saveShowType != -1) {
3852
- setShowType(saveShowType);
3853
- } else {
3854
- setShowType(1);
3855
- }
3856
- setShowScreenshot(false);
3857
- onCancel();
3858
- }
3812
+ // let dom = document.getElementById(screenshotAreaId);
3813
+ html2canvas(screenshotAreaId, {
3814
+ useCORS: true,
3815
+ // allowTaint: true, // 污染处理
3816
+ scale: 1,
3817
+ // logging:true,
3818
+ ignoreElements: function(element) {
3819
+ if (element.compareDocumentPosition(screenshotAreaId) === 2) return true;
3820
+ return false;
3859
3821
  }
3822
+ }).then(function(canvas) {
3823
+ // document.body.appendChild(canvas);
3824
+ console.log(canvas, 99999);
3825
+ // var base64URL = canvas.toDataURL('image/jpeg')
3826
+ var base64URL = canvas.toDataURL("image/jpg", 1.0);
3827
+ console.log(base64URL);
3828
+ setImgBese64(base64URL);
3860
3829
  });
3861
- // modernScreenshot
3862
- // .domToPng(document.querySelector("body"))
3863
- // .then((dataUrl:any) => {
3864
- // console.log(dataUrl);
3865
- // setImgBese64(dataUrl);
3866
- // });
3867
- // domtoimage
3868
- // .toPng(document.body)
3869
- // .then(function (dataUrl:any) {
3870
- // setImgBese64(dataUrl);
3871
- // })
3872
- // .catch(function (error:any) {
3873
- // console.error("oops, something went wrong!", error);
3874
- // });
3875
- // //排除
3876
- // new screenShotPlugin({
3877
- // enableWebRtc: true,
3878
- // canvasWidth:window.innerWidth,
3879
- // canvasHeight:window.innerHeight,
3880
- // level:9999999,
3881
- // completeCallback: function (info:any) {
3882
- // console.log(info);
3883
- // setImgBese64(info.base64);
3884
- // },
3885
- // closeCallback: function () {
3886
- // },
3887
- // });
3888
- // html2canvas(document.body,{//__docusaurus
3889
- // useCORS: true, // 支持跨域图片截图
3890
- // allowTaint: true, // 污染处理
3891
- // scale: 1 ,// 图片比例
3892
- // logging:false,
3893
- // // foreignObjectRendering:true,
3894
- // ignoreElements:(element: { compareDocumentPosition: (arg0: string) => number; })=>{
3895
- // if(element.compareDocumentPosition(screenshotAreaId)===2)return true
3896
- // return false
3897
- // },
3898
- // windowWidth:window.innerWidth,
3899
- // windowHeight:window.innerHeight
3900
- // })
3901
- // .then(function (canvas:any) {
3902
- // // document.body.appendChild(canvas);
3903
- // // console.log(canvas,99999);
3904
- // // var base64URL = canvas.toDataURL('image/jpeg')
3905
- // let base64URL = canvas.toDataURL("image/jpg", 1.0)
3906
- // // console.log(base64URL);
3907
- // setImgBese64(base64URL);
3908
- // // svgNodesToRemove.forEach(item=>{
3909
- // // item.remove()
3910
- // // })
3911
- // });
3912
3830
  } catch (error) {
3913
3831
  console.log(error);
3914
3832
  }
3915
3833
  }
3916
- //|| showScreenshot
3917
- if (showType == 5 || showScreenshot) {
3918
- console.log("bbbbbbbbbbbbbb");
3919
- handlerHtml2canvas();
3920
- // window.addEventListener('resize',handlerHtml2canvas)
3921
- }
3922
3834
  if (showType != 1 && !firstLoad && pageCount > 0) {
3923
3835
  setFirstLoad(true);
3924
3836
  scrollToBottom();
@@ -3978,7 +3890,7 @@ var CustomerService = function(props) {
3978
3890
  if (content) {
3979
3891
  content.removeEventListener("scroll", handleScroll);
3980
3892
  }
3981
- window.removeEventListener("resize", handlerHtml2canvas);
3893
+ // window.removeEventListener('resize',handlerHtml2canvas)
3982
3894
  };
3983
3895
  }, [
3984
3896
  historyMessageList,
@@ -7231,9 +7143,6 @@ var CustomerService = function(props) {
7231
7143
  }),
7232
7144
  (showType == 4 || showType == 5) && /*#__PURE__*/ jsxs("div", {
7233
7145
  className: "".concat(styles.ChatWindow_Drawer),
7234
- style: {
7235
- display: "".concat(!showScreenshot ? "none" : "flex")
7236
- },
7237
7146
  id: "",
7238
7147
  children: [
7239
7148
  /*#__PURE__*/ jsx("div", {
@@ -7375,4 +7284,364 @@ window.appendDom = function(root, props) {
7375
7284
  };
7376
7285
  var CustomerService$1 = CustomerService;
7377
7286
 
7378
- export { BhdAppLayout, BhdSelect$1 as BhdSelect, BhdTableSelect$1 as BhdTableSelect, BhdTableSimple$1 as BhdTableSimple, BhdTipModal$1 as BhdTipModal, CustomerService$1 as CustomerService, Pagination, Provider$1 as Provider, Table$1 as Table, TextTootip$1 as TextTootip, TitleBar$1 as TitleBar, ViewImage$1 as ViewImage, BhdMessage$1 as message };
7287
+ var modules_63b47c51 = {"bhdDatePicker":"index_module_bhdDatePicker__006220df","pickerLabel":"index_module_pickerLabel__006220df","bhdDatePickerPopup":"index_module_bhdDatePickerPopup__006220df","singlePicker":"index_module_singlePicker__006220df","rangePicker":"index_module_rangePicker__006220df","extraPicker":"index_module_extraPicker__006220df","readonly":"index_module_readonly__006220df"};
7288
+
7289
+ var RangePicker = DatePicker.RangePicker;
7290
+ var BhdDatePicker = function(props) {
7291
+ var _props_kind = props.kind, kind = _props_kind === void 0 ? "single" : _props_kind, _props_value = props.value, value = _props_value === void 0 ? props.kind === "range" ? [] : "" : _props_value, extraItems = props.extraItems, _props_extraReadonly = props.extraReadonly, extraReadonly = _props_extraReadonly === void 0 ? false : _props_extraReadonly, picker = props.picker, _props_useType = props.useType, useType = _props_useType === void 0 ? "" : _props_useType, _props_label = props.label, label = _props_label === void 0 ? "" : _props_label, className = props.className, popupClassName = props.popupClassName, showTime = props.showTime, _props_showNow = props.showNow, showNow = _props_showNow === void 0 ? true : _props_showNow, onClick = props.onClick, onBlur = props.onBlur, onChange = props.onChange, onOk = props.onOk, _props_presets = props.presets, presets = _props_presets === void 0 ? [] : _props_presets;
7292
+ var bhdDatePickerRef = useRef(null);
7293
+ var _useState = _sliced_to_array(useState(false), 2), open = _useState[0], setOpen = _useState[1];
7294
+ var _useState1 = _sliced_to_array(useState(value), 2), selectedDate = _useState1[0], setSelectedDate = _useState1[1];
7295
+ var _useState2 = _sliced_to_array(useState(null), 2), selectedDateString = _useState2[0], setSelectedDateString = _useState2[1];
7296
+ var selectedDateRef = useRef(value);
7297
+ var selectedDateStringRef = useRef(null);
7298
+ var _useState3 = _sliced_to_array(useState(value), 2), selectedRangeDate = _useState3[0], setSelectedRangeDate = _useState3[1];
7299
+ var _useState4 = _sliced_to_array(useState([]), 2), selectedRangeDateString = _useState4[0], setSelectedRangeDateString = _useState4[1];
7300
+ var getConfig = function() {
7301
+ var config = _object_spread({}, props);
7302
+ delete config.cellRender;
7303
+ delete config.className;
7304
+ delete config.prevIcon;
7305
+ delete config.nextIcon;
7306
+ delete config.superPrevIcon;
7307
+ delete config.superNextIcon;
7308
+ delete config.open;
7309
+ delete config.onOpenChange;
7310
+ delete config.renderExtraFooter;
7311
+ delete config.useType;
7312
+ delete config.showNow;
7313
+ delete config.onClick;
7314
+ delete config.onBlur;
7315
+ delete config.onOk;
7316
+ delete config.onChange;
7317
+ delete config.presets;
7318
+ if (kind === "single" || kind === "extra") {
7319
+ delete config.value;
7320
+ }
7321
+ if (kind === "extra" && picker !== "date") {
7322
+ delete config.extraItems;
7323
+ }
7324
+ if (kind === "extra") {
7325
+ delete config.disabledDate;
7326
+ }
7327
+ return config;
7328
+ };
7329
+ //单元格渲染
7330
+ var cellRender = function(current, info) {
7331
+ if (info.type !== "date") {
7332
+ return info.originNode;
7333
+ }
7334
+ if (typeof current === "number" || typeof current === "string") {
7335
+ return /*#__PURE__*/ jsx("div", {
7336
+ className: "bhd-picker-cell-inner",
7337
+ children: current
7338
+ });
7339
+ }
7340
+ var extraItem = null;
7341
+ if (kind === "extra") {
7342
+ extraItem = extraItems === null || extraItems === void 0 ? void 0 : extraItems.find(function(item) {
7343
+ return item.date.format("YYYYMMDD") === current.format("YYYYMMDD");
7344
+ });
7345
+ }
7346
+ return /*#__PURE__*/ jsx(Fragment, {
7347
+ children: /*#__PURE__*/ jsxs("div", {
7348
+ className: "bhd-picker-cell-inner",
7349
+ children: [
7350
+ current.format("DD"),
7351
+ kind === "extra" && extraItem && /*#__PURE__*/ jsx("div", {
7352
+ className: "extraText ".concat(extraItem.status),
7353
+ children: extraItem.text
7354
+ })
7355
+ ]
7356
+ })
7357
+ });
7358
+ };
7359
+ //日期禁用
7360
+ var disabledDate = function(current) {
7361
+ if (extraReadonly) {
7362
+ return true;
7363
+ }
7364
+ // 不能选择的是没有日程安排的
7365
+ var extraItem = null;
7366
+ if (kind === "extra") {
7367
+ extraItem = extraItems === null || extraItems === void 0 ? void 0 : extraItems.find(function(item) {
7368
+ return item.date.format("YYYYMMDD") === current.format("YYYYMMDD");
7369
+ });
7370
+ }
7371
+ return !extraItem || current && extraItem.status === "noselectable";
7372
+ };
7373
+ // 渲染底部扩展内容
7374
+ var renderExtraFooter = function(mode) {
7375
+ return !showTime ? /*#__PURE__*/ jsxs("ul", {
7376
+ className: "bhd-picker-ranges",
7377
+ children: [
7378
+ renderPresets(),
7379
+ showNow && (kind === "single" || kind === "extra" && extraItems.filter(function(item) {
7380
+ return item.status !== "noselectable" && item.date.format("YYYY-MM-DD") === dayjs().format("YYYY-MM-DD");
7381
+ }).length > 0) && mode === "date" && /*#__PURE__*/ jsx("li", {
7382
+ className: "bhd-picker-now",
7383
+ children: /*#__PURE__*/ jsx("a", {
7384
+ className: "bhd-picker-now-btn",
7385
+ onClick: todayClick,
7386
+ children: showTime ? "此刻" : "今天"
7387
+ })
7388
+ }),
7389
+ /*#__PURE__*/ jsx("li", {
7390
+ className: "bhd-picker-ok",
7391
+ children: /*#__PURE__*/ jsx(Button, {
7392
+ type: "primary",
7393
+ disabled: kind === "range" ? !((selectedRangeDate === null || selectedRangeDate === void 0 ? void 0 : selectedRangeDate[0]) && (selectedRangeDate === null || selectedRangeDate === void 0 ? void 0 : selectedRangeDate[1])) : !(selectedDate && selectedDateString),
7394
+ onClick: okClick,
7395
+ children: "确定"
7396
+ })
7397
+ })
7398
+ ]
7399
+ }) : /*#__PURE__*/ jsx("ul", {
7400
+ className: "bhd-picker-ranges",
7401
+ children: renderPresets()
7402
+ });
7403
+ };
7404
+ // 渲染预设
7405
+ var renderPresets = function() {
7406
+ return /*#__PURE__*/ jsx("li", {
7407
+ className: "bhd-picker-presets",
7408
+ children: presets.map(function(item) {
7409
+ return /*#__PURE__*/ jsx("a", {
7410
+ className: "bhd-picker-preset-btn",
7411
+ onClick: function() {
7412
+ presetClick(item.value);
7413
+ },
7414
+ children: item.label
7415
+ });
7416
+ })
7417
+ });
7418
+ };
7419
+ // 日期选择确认
7420
+ var okClick = function() {
7421
+ if (kind === "range") {
7422
+ if (selectedRangeDate && selectedRangeDateString) {
7423
+ onChange && onChange(selectedRangeDate, selectedRangeDateString);
7424
+ setOpen(false);
7425
+ }
7426
+ } else {
7427
+ if (selectedDate && selectedDateString) {
7428
+ onChange && onChange(selectedDate, selectedDateString);
7429
+ setOpen(false);
7430
+ }
7431
+ }
7432
+ };
7433
+ var todayClick = function() {
7434
+ var today = dayjs();
7435
+ var todayString = today.format(showTime ? "YYYY-MM-DD hh:mm:ss" : "YYYY-MM-DD");
7436
+ setSelectedDate(today);
7437
+ setSelectedDateString(todayString);
7438
+ onChange && onChange(today, todayString);
7439
+ setOpen(false);
7440
+ };
7441
+ //预设点击
7442
+ var presetClick = function(value) {
7443
+ var todayString = value.format(showTime ? "YYYY-MM-DD hh:mm:ss" : "YYYY-MM-DD");
7444
+ setSelectedDate(value);
7445
+ setSelectedDateString(todayString);
7446
+ onChange && onChange(value, todayString);
7447
+ setOpen(false);
7448
+ };
7449
+ return /*#__PURE__*/ jsxs("div", {
7450
+ className: "".concat(modules_63b47c51.bhdDatePicker),
7451
+ ref: bhdDatePickerRef,
7452
+ children: [
7453
+ kind === "single" && /*#__PURE__*/ jsxs(Fragment, {
7454
+ children: [
7455
+ useType === "table" && /*#__PURE__*/ jsxs("span", {
7456
+ className: modules_63b47c51.pickerLabel,
7457
+ onClick: function() {
7458
+ setOpen(true);
7459
+ },
7460
+ children: [
7461
+ label,
7462
+ /*#__PURE__*/ jsx(CalendarOutlined, {})
7463
+ ]
7464
+ }),
7465
+ /*#__PURE__*/ jsx(DatePicker, _object_spread_props(_object_spread({}, getConfig()), {
7466
+ className: "".concat(className, " ").concat(useType === "table" ? "hide" : ""),
7467
+ popupClassName: "".concat(modules_63b47c51.bhdDatePickerPopup, " ").concat(modules_63b47c51.singlePicker, " ").concat(popupClassName || ""),
7468
+ cellRender: cellRender,
7469
+ prevIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7470
+ style: {
7471
+ transform: "rotate(90deg)"
7472
+ }
7473
+ }),
7474
+ nextIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7475
+ style: {
7476
+ transform: "rotate(-90deg)"
7477
+ }
7478
+ }),
7479
+ superPrevIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7480
+ style: {
7481
+ transform: "rotate(90deg)"
7482
+ }
7483
+ }),
7484
+ superNextIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7485
+ style: {
7486
+ transform: "rotate(-90deg)"
7487
+ }
7488
+ }),
7489
+ open: open,
7490
+ showNow: showTime ? showNow : false,
7491
+ value: selectedDate,
7492
+ onChange: function(date, dateString) {
7493
+ setSelectedDate(function(prevState) {
7494
+ selectedDateRef.current = date;
7495
+ return selectedDateRef.current;
7496
+ });
7497
+ setSelectedDateString(function(prevState) {
7498
+ selectedDateStringRef.current = dateString;
7499
+ return selectedDateStringRef.current;
7500
+ });
7501
+ console.log({
7502
+ selectedDate: selectedDateRef.current,
7503
+ selectedDateString: selectedDateStringRef.current
7504
+ });
7505
+ },
7506
+ onOk: function() {
7507
+ if (showTime) {
7508
+ setTimeout(function() {
7509
+ console.log({
7510
+ selectedDate: selectedDateRef.current,
7511
+ selectedDateString: selectedDateStringRef.current
7512
+ });
7513
+ onChange && onChange(selectedDateRef.current, selectedDateStringRef.current);
7514
+ setOpen(false);
7515
+ }, 0);
7516
+ }
7517
+ onOk && onOk();
7518
+ },
7519
+ onClick: function() {
7520
+ setOpen(true);
7521
+ onClick && onClick();
7522
+ },
7523
+ onBlur: function() {
7524
+ okClick();
7525
+ setOpen(false);
7526
+ onBlur && onBlur();
7527
+ },
7528
+ renderExtraFooter: renderExtraFooter
7529
+ }))
7530
+ ]
7531
+ }),
7532
+ kind === "range" && /*#__PURE__*/ jsxs(Fragment, {
7533
+ children: [
7534
+ useType === "table" && /*#__PURE__*/ jsxs("span", {
7535
+ className: modules_63b47c51.pickerLabel,
7536
+ onClick: function() {
7537
+ setOpen(true);
7538
+ },
7539
+ children: [
7540
+ label,
7541
+ /*#__PURE__*/ jsx(CalendarOutlined, {})
7542
+ ]
7543
+ }),
7544
+ /*#__PURE__*/ jsx(RangePicker, _object_spread_props(_object_spread({}, getConfig()), {
7545
+ className: "".concat(className, " ").concat(useType === "table" ? "hide" : ""),
7546
+ popupClassName: "".concat(modules_63b47c51.bhdDatePickerPopup, " ").concat(modules_63b47c51.rangePicker, " ").concat(popupClassName || ""),
7547
+ cellRender: cellRender,
7548
+ prevIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7549
+ style: {
7550
+ transform: "rotate(90deg)"
7551
+ }
7552
+ }),
7553
+ nextIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7554
+ style: {
7555
+ transform: "rotate(-90deg)"
7556
+ }
7557
+ }),
7558
+ superPrevIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7559
+ style: {
7560
+ transform: "rotate(90deg)"
7561
+ }
7562
+ }),
7563
+ superNextIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7564
+ style: {
7565
+ transform: "rotate(-90deg)"
7566
+ }
7567
+ }),
7568
+ open: open,
7569
+ showNow: false,
7570
+ value: selectedRangeDate,
7571
+ onClick: function() {
7572
+ setOpen(true);
7573
+ onClick && onClick();
7574
+ },
7575
+ onCalendarChange: function(dates, dateStrings, info) {
7576
+ setSelectedRangeDate(dates);
7577
+ setSelectedRangeDateString(dateStrings);
7578
+ },
7579
+ onBlur: function() {
7580
+ if ((selectedRangeDate === null || selectedRangeDate === void 0 ? void 0 : selectedRangeDate[0]) && (selectedRangeDate === null || selectedRangeDate === void 0 ? void 0 : selectedRangeDate[1])) {
7581
+ okClick();
7582
+ setOpen(false);
7583
+ } else if (!(selectedRangeDate === null || selectedRangeDate === void 0 ? void 0 : selectedRangeDate[0]) && !(selectedRangeDate === null || selectedRangeDate === void 0 ? void 0 : selectedRangeDate[1])) {
7584
+ setOpen(false);
7585
+ }
7586
+ onBlur && onBlur();
7587
+ },
7588
+ renderExtraFooter: renderExtraFooter
7589
+ }))
7590
+ ]
7591
+ }),
7592
+ kind === "extra" && /*#__PURE__*/ jsx(DatePicker, _object_spread_props(_object_spread({}, getConfig()), {
7593
+ className: "".concat(className, " ").concat(useType === "table" ? "hide" : ""),
7594
+ popupClassName: "".concat(modules_63b47c51.bhdDatePickerPopup, " ").concat(modules_63b47c51.extraPicker, " ").concat(extraReadonly ? modules_63b47c51.readonly : "", " ").concat(popupClassName || ""),
7595
+ cellRender: cellRender,
7596
+ prevIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7597
+ style: {
7598
+ transform: "rotate(90deg)"
7599
+ }
7600
+ }),
7601
+ nextIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7602
+ style: {
7603
+ transform: "rotate(-90deg)"
7604
+ }
7605
+ }),
7606
+ superPrevIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7607
+ style: {
7608
+ transform: "rotate(90deg)"
7609
+ }
7610
+ }),
7611
+ superNextIcon: /*#__PURE__*/ jsx(CustomArrow$1, {
7612
+ style: {
7613
+ transform: "rotate(-90deg)"
7614
+ }
7615
+ }),
7616
+ disabledDate: disabledDate,
7617
+ allowClear: !extraReadonly,
7618
+ open: open,
7619
+ showNow: false,
7620
+ value: selectedDate,
7621
+ onChange: function(date, dateString) {
7622
+ setSelectedDate(date);
7623
+ setSelectedDateString(dateString);
7624
+ },
7625
+ onClick: function() {
7626
+ setOpen(true);
7627
+ onClick && onClick();
7628
+ },
7629
+ onBlur: function() {
7630
+ if (!extraReadonly) {
7631
+ okClick();
7632
+ }
7633
+ setOpen(false);
7634
+ onBlur && onBlur();
7635
+ },
7636
+ panelRender: function(panelNode) {
7637
+ console.log(panelNode);
7638
+ return panelNode;
7639
+ },
7640
+ renderExtraFooter: extraReadonly ? null : renderExtraFooter
7641
+ }))
7642
+ ]
7643
+ });
7644
+ };
7645
+ var BhdDatePicker$1 = BhdDatePicker;
7646
+
7647
+ export { BhdAppLayout, BhdDatePicker$1 as BhdDatePicker, BhdSelect$1 as BhdSelect, BhdTableSelect$1 as BhdTableSelect, BhdTableSimple$1 as BhdTableSimple, BhdTipModal$1 as BhdTipModal, CustomerService$1 as CustomerService, Pagination, Provider$1 as Provider, Table$1 as Table, TextTootip$1 as TextTootip, TitleBar$1 as TitleBar, ViewImage$1 as ViewImage, BhdMessage$1 as message };