bhd-components 0.9.28 → 0.9.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.es5.development.css +308 -0
- package/dist/index.esm.es5.development.js +284 -141
- package/dist/index.esm.es5.production.css +10 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/dist/vendor.esm.es5.development.js +4226 -960
- package/dist/vendor.esm.es5.production.js +114 -106
- package/es2017/bhdEditor/index.d.ts +2 -0
- package/es2017/bhdEditor/index.js +3 -0
- package/es2017/bhdModalCropper/index.d.ts +10 -0
- package/es2017/bhdModalCropper/index.js +144 -0
- package/es2017/bhdModalCropper/index.module.less +362 -0
- package/es2017/index.d.ts +1 -0
- package/es2017/index.js +1 -0
- package/esm/bhdEditor/index.d.ts +2 -0
- package/esm/bhdEditor/index.js +3 -0
- package/esm/bhdModalCropper/index.d.ts +10 -0
- package/esm/bhdModalCropper/index.js +151 -0
- package/esm/bhdModalCropper/index.module.less +362 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/package.json +6 -2
|
@@ -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$1, 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 } from './vendor.esm.es5.development.js';
|
|
2
|
-
export {
|
|
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$1, 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 } from './vendor.esm.es5.development.js';
|
|
2
|
+
export { V as Affix, W as Alert, Y as Anchor, a as AntdMessage, A as App, $ as AutoComplete, a0 as Avatar, a2 as BackTop, a3 as Badge, a4 as Breadcrumb, O as Button, a5 as Calendar, a6 as Card, a7 as Carousel, a8 as Cascader, a9 as Checkbox, aa as Col, ab as Collapse, N as DatePicker, ac as Descriptions, ad as Divider, J as Drawer, ae as Dropdown, af as Empty, a1 as FloatButton, ag as Form, ah as Grid, ai as Image, x as Input, aj as InputNumber, ak as Layout, al as List, am as Mentions, an as Menu, M as Modal, ao as Popconfirm, ap as Popover, aq as Progress, aN as QRCode, ar as Radio, as as Rate, at as Result, au as Row, av as Segmented, k as Select, aw as Skeleton, ax as Slider, ay as Space, B 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, U as Upload, aM as Watermark, aP as en_US, b as notification, aE as theme, aO 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 } 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$
|
|
165
|
+
var modules_63b47c51$b = {"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$
|
|
293
|
+
overlayClassName: columnTootipClassName || modules_63b47c51$b.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$
|
|
404
|
+
className: "".concat(modules_63b47c51$b.Table, " ").concat(kind === "simple" ? modules_63b47c51$b.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$
|
|
607
|
+
var modules_63b47c51$a = {"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$
|
|
612
|
+
var className = modules_63b47c51$a.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$
|
|
624
|
+
var className = modules_63b47c51$a.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$
|
|
636
|
+
var className = modules_63b47c51$a.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$
|
|
648
|
+
var className = modules_63b47c51$a.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$
|
|
716
|
+
var modules_63b47c51$9 = {"pagination":"index_module_pagination__db6ba815"};
|
|
717
717
|
|
|
718
718
|
var BhdPagination = function(props) {
|
|
719
|
-
var className = "".concat(modules_63b47c51$
|
|
719
|
+
var className = "".concat(modules_63b47c51$9.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$
|
|
1285
|
+
var modules_63b47c51$8 = {"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$
|
|
1339
|
+
className: "".concat(modules_63b47c51$8.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$
|
|
1349
|
+
var modules_63b47c51$7 = {"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$
|
|
1398
|
+
className: "".concat(modules_63b47c51$7.titleBar, " ").concat(wrapClassName),
|
|
1399
1399
|
ref: titleBarRef,
|
|
1400
1400
|
children: [
|
|
1401
1401
|
/*#__PURE__*/ jsxs("div", {
|
|
1402
|
-
className: "".concat(modules_63b47c51$
|
|
1402
|
+
className: "".concat(modules_63b47c51$7.left, " ").concat(leftClassName),
|
|
1403
1403
|
children: [
|
|
1404
1404
|
leftIcon && /*#__PURE__*/ jsx("div", {
|
|
1405
|
-
className: "".concat(modules_63b47c51$
|
|
1405
|
+
className: "".concat(modules_63b47c51$7.leftIcon, " ").concat(leftIconClassName),
|
|
1406
1406
|
children: leftIcon
|
|
1407
1407
|
}),
|
|
1408
1408
|
/*#__PURE__*/ jsxs("div", {
|
|
1409
|
-
className: modules_63b47c51$
|
|
1409
|
+
className: modules_63b47c51$7.leftContent,
|
|
1410
1410
|
children: [
|
|
1411
1411
|
/*#__PURE__*/ jsx("div", {
|
|
1412
|
-
className: "".concat(modules_63b47c51$
|
|
1412
|
+
className: "".concat(modules_63b47c51$7.leftTitle, " ").concat(leftTitleClassName),
|
|
1413
1413
|
children: title
|
|
1414
1414
|
}),
|
|
1415
1415
|
subTitle && /*#__PURE__*/ jsx("div", {
|
|
1416
|
-
className: "".concat(modules_63b47c51$
|
|
1416
|
+
className: "".concat(modules_63b47c51$7.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$
|
|
1424
|
+
className: "".concat(modules_63b47c51$7.right, " ").concat(rightClassName),
|
|
1425
1425
|
ref: rightContentRef,
|
|
1426
1426
|
children: renderRightContent()
|
|
1427
1427
|
})
|
|
@@ -1430,14 +1430,14 @@ var TitleBar = function(props) {
|
|
|
1430
1430
|
};
|
|
1431
1431
|
var TitleBar$1 = TitleBar;
|
|
1432
1432
|
|
|
1433
|
-
var modules_63b47c51$
|
|
1433
|
+
var modules_63b47c51$6 = {"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) {
|
|
1437
1437
|
return dom.currentStyle ? parseFloat(dom.currentStyle[key]) : parseFloat(document.defaultView.getComputedStyle(dom)[key]);
|
|
1438
1438
|
};
|
|
1439
1439
|
|
|
1440
|
-
var modules_63b47c51$
|
|
1440
|
+
var modules_63b47c51$5 = {"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"};
|
|
1441
1441
|
|
|
1442
1442
|
var initConFirmModal = function(obj) {
|
|
1443
1443
|
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;
|
|
@@ -1473,7 +1473,7 @@ var initConFirmModal = function(obj) {
|
|
|
1473
1473
|
})
|
|
1474
1474
|
]
|
|
1475
1475
|
}),
|
|
1476
|
-
className: "".concat(obj.className || "", " ").concat(modules_63b47c51$
|
|
1476
|
+
className: "".concat(obj.className || "", " ").concat(modules_63b47c51$5.confirm, " ").concat(cancelBtn ? "" : modules_63b47c51$5.noCancel)
|
|
1477
1477
|
});
|
|
1478
1478
|
};
|
|
1479
1479
|
var initSuccessModal = function(obj) {
|
|
@@ -1511,7 +1511,7 @@ var initSuccessModal = function(obj) {
|
|
|
1511
1511
|
})
|
|
1512
1512
|
]
|
|
1513
1513
|
}),
|
|
1514
|
-
className: "".concat(obj.className || "", " ").concat(modules_63b47c51$
|
|
1514
|
+
className: "".concat(obj.className || "", " ").concat(modules_63b47c51$5.success, " ").concat(cancelBtn ? "" : modules_63b47c51$5.noCancel)
|
|
1515
1515
|
});
|
|
1516
1516
|
};
|
|
1517
1517
|
var initCustomModal = function(obj) {
|
|
@@ -1537,7 +1537,7 @@ var initCustomModal = function(obj) {
|
|
|
1537
1537
|
})
|
|
1538
1538
|
]
|
|
1539
1539
|
}),
|
|
1540
|
-
className: "".concat(modules_63b47c51$
|
|
1540
|
+
className: "".concat(modules_63b47c51$5.custom, " ").concat(obj.className || "", " ").concat(cancelBtn ? "" : okBtn ? modules_63b47c51$5.haveComfirm : modules_63b47c51$5.noButton)
|
|
1541
1541
|
});
|
|
1542
1542
|
};
|
|
1543
1543
|
var initInfoModal = function(obj) {
|
|
@@ -1574,7 +1574,7 @@ var initInfoModal = function(obj) {
|
|
|
1574
1574
|
})
|
|
1575
1575
|
]
|
|
1576
1576
|
}),
|
|
1577
|
-
className: "".concat(obj.className || "", " ").concat(modules_63b47c51$
|
|
1577
|
+
className: "".concat(obj.className || "", " ").concat(modules_63b47c51$5.success, " ").concat(cancelBtn ? "" : modules_63b47c51$5.noCancel)
|
|
1578
1578
|
});
|
|
1579
1579
|
};
|
|
1580
1580
|
var initWarnModal = function(obj) {
|
|
@@ -1611,7 +1611,7 @@ var initWarnModal = function(obj) {
|
|
|
1611
1611
|
})
|
|
1612
1612
|
]
|
|
1613
1613
|
}),
|
|
1614
|
-
className: "".concat(obj.className || "", " ").concat(modules_63b47c51$
|
|
1614
|
+
className: "".concat(obj.className || "", " ").concat(modules_63b47c51$5.confirm, " ").concat(cancelBtn ? "" : modules_63b47c51$5.noCancel, " ")
|
|
1615
1615
|
});
|
|
1616
1616
|
};
|
|
1617
1617
|
var BhdTipModal = {
|
|
@@ -1725,7 +1725,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
|
|
|
1725
1725
|
_define_property(_assert_this_initialized(_this), "moveImg", function(ev) {
|
|
1726
1726
|
var _this_state = _this.state, imgLeft = _this_state.imgLeft, imgTop = _this_state.imgTop;
|
|
1727
1727
|
ev.preventDefault();
|
|
1728
|
-
var dom = document.getElementsByClassName("".concat(modules_63b47c51$
|
|
1728
|
+
var dom = document.getElementsByClassName("".concat(modules_63b47c51$6.viewImgBody_pic))[0];
|
|
1729
1729
|
if (!dom) return;
|
|
1730
1730
|
if (imgLeft == "auto") {
|
|
1731
1731
|
imgLeft = getStyle(dom, "left");
|
|
@@ -2028,24 +2028,24 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
|
|
|
2028
2028
|
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;
|
|
2029
2029
|
var _this_props = this.props, content = _this_props.content, download = _this_props.download;
|
|
2030
2030
|
return /*#__PURE__*/ jsxs("div", {
|
|
2031
|
-
className: modules_63b47c51$
|
|
2031
|
+
className: modules_63b47c51$6.viewImgBody,
|
|
2032
2032
|
children: [
|
|
2033
2033
|
/*#__PURE__*/ jsxs("div", {
|
|
2034
|
-
className: modules_63b47c51$
|
|
2034
|
+
className: modules_63b47c51$6.viewImgContent,
|
|
2035
2035
|
children: [
|
|
2036
2036
|
this.state.actionCloseFlag === 1 && /*#__PURE__*/ jsx("div", {
|
|
2037
|
-
className: "".concat(modules_63b47c51$
|
|
2037
|
+
className: "".concat(modules_63b47c51$6.viewImgAction, " ").concat(modules_63b47c51$6.actionTop),
|
|
2038
2038
|
children: /*#__PURE__*/ jsx("span", {
|
|
2039
2039
|
// id="actionClose"
|
|
2040
2040
|
// style={{right:`calc(-40px + (-12px * (1 / ${scaleValue / 100}) ))` ,transform: `scale(calc(1 / ${scaleValue / 100}),calc(1 / ${scaleValue / 100}))`,transformOrigin: `top left`}}
|
|
2041
|
-
className: modules_63b47c51$
|
|
2041
|
+
className: modules_63b47c51$6.viewImgActionClose,
|
|
2042
2042
|
title: "关闭",
|
|
2043
2043
|
onClick: this.close,
|
|
2044
2044
|
children: /*#__PURE__*/ jsx(CustomClose$1, {})
|
|
2045
2045
|
})
|
|
2046
2046
|
}),
|
|
2047
2047
|
/*#__PURE__*/ jsxs("div", {
|
|
2048
|
-
className: modules_63b47c51$
|
|
2048
|
+
className: modules_63b47c51$6.viewImgAction,
|
|
2049
2049
|
children: [
|
|
2050
2050
|
/*#__PURE__*/ jsx("span", {
|
|
2051
2051
|
title: "旋转",
|
|
@@ -2058,10 +2058,10 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
|
|
|
2058
2058
|
children: /*#__PURE__*/ jsx(CustomDownLoad$1, {})
|
|
2059
2059
|
}),
|
|
2060
2060
|
/*#__PURE__*/ jsxs("div", {
|
|
2061
|
-
className: modules_63b47c51$
|
|
2061
|
+
className: modules_63b47c51$6.viewImgBodyScale,
|
|
2062
2062
|
children: [
|
|
2063
2063
|
/*#__PURE__*/ jsx("span", {
|
|
2064
|
-
className: modules_63b47c51$
|
|
2064
|
+
className: modules_63b47c51$6.viewImgBodyScale_minu,
|
|
2065
2065
|
onClick: function() {
|
|
2066
2066
|
scaleValue = scaleValue - 10;
|
|
2067
2067
|
_this.scaleChange(scaleValue);
|
|
@@ -2069,7 +2069,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
|
|
|
2069
2069
|
children: /*#__PURE__*/ jsx(MinusOutlined, {})
|
|
2070
2070
|
}),
|
|
2071
2071
|
/*#__PURE__*/ jsxs("span", {
|
|
2072
|
-
className: modules_63b47c51$
|
|
2072
|
+
className: modules_63b47c51$6.viewImgBodyScale_value,
|
|
2073
2073
|
onClick: this.reset,
|
|
2074
2074
|
children: [
|
|
2075
2075
|
scaleValue,
|
|
@@ -2077,7 +2077,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
|
|
|
2077
2077
|
]
|
|
2078
2078
|
}),
|
|
2079
2079
|
/*#__PURE__*/ jsx("span", {
|
|
2080
|
-
className: modules_63b47c51$
|
|
2080
|
+
className: modules_63b47c51$6.viewImgBodyScale_add,
|
|
2081
2081
|
onClick: function() {
|
|
2082
2082
|
scaleValue = scaleValue + 10;
|
|
2083
2083
|
_this.scaleChange(scaleValue);
|
|
@@ -2089,11 +2089,11 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
|
|
|
2089
2089
|
]
|
|
2090
2090
|
}),
|
|
2091
2091
|
/*#__PURE__*/ jsxs("div", {
|
|
2092
|
-
className: modules_63b47c51$
|
|
2092
|
+
className: modules_63b47c51$6.viewImgBody,
|
|
2093
2093
|
children: [
|
|
2094
2094
|
loading ? /*#__PURE__*/ jsx("img", {
|
|
2095
2095
|
src: Loading,
|
|
2096
|
-
className: modules_63b47c51$
|
|
2096
|
+
className: modules_63b47c51$6.viewImgBody_load
|
|
2097
2097
|
}, "load") : imgError ? /*#__PURE__*/ jsx("div", {
|
|
2098
2098
|
style: {
|
|
2099
2099
|
color: "#FFFFFF"
|
|
@@ -2144,13 +2144,13 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
|
|
|
2144
2144
|
left: imgLeft == "auto" ? "auto" : imgLeft + "px",
|
|
2145
2145
|
top: imgTop == "auto" ? "auto" : imgTop + "px"
|
|
2146
2146
|
},
|
|
2147
|
-
className: modules_63b47c51$
|
|
2147
|
+
className: modules_63b47c51$6.viewImgBody_pic,
|
|
2148
2148
|
onLoad: this.imgLoad,
|
|
2149
2149
|
onError: this.imgErr
|
|
2150
2150
|
}, "img"),
|
|
2151
2151
|
this.state.actionCloseFlag === 0 && /*#__PURE__*/ jsx("span", {
|
|
2152
2152
|
id: "actionClose",
|
|
2153
|
-
className: modules_63b47c51$
|
|
2153
|
+
className: modules_63b47c51$6.viewImgActionClose,
|
|
2154
2154
|
title: "关闭",
|
|
2155
2155
|
onClick: this.close,
|
|
2156
2156
|
children: /*#__PURE__*/ jsx(CustomClose$1, {})
|
|
@@ -2160,12 +2160,12 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
|
|
|
2160
2160
|
multiSelect && /*#__PURE__*/ jsxs(Fragment, {
|
|
2161
2161
|
children: [
|
|
2162
2162
|
this.state.curIndex !== 0 && /*#__PURE__*/ jsx("div", {
|
|
2163
|
-
className: modules_63b47c51$
|
|
2163
|
+
className: modules_63b47c51$6.viewImgBody_pre,
|
|
2164
2164
|
onClick: this.preChange,
|
|
2165
2165
|
children: /*#__PURE__*/ jsx(LeftOutlined, {})
|
|
2166
2166
|
}),
|
|
2167
2167
|
this.state.curIndex < this.props.multiSelect.length - 1 && /*#__PURE__*/ jsx("div", {
|
|
2168
|
-
className: modules_63b47c51$
|
|
2168
|
+
className: modules_63b47c51$6.viewImgBody_next,
|
|
2169
2169
|
onClick: this.nextChange,
|
|
2170
2170
|
children: /*#__PURE__*/ jsx(RightOutlined, {})
|
|
2171
2171
|
})
|
|
@@ -2176,7 +2176,7 @@ var ViewImage = /*#__PURE__*/ function(_React_Component) {
|
|
|
2176
2176
|
]
|
|
2177
2177
|
}),
|
|
2178
2178
|
content && /*#__PURE__*/ jsx("div", {
|
|
2179
|
-
className: modules_63b47c51$
|
|
2179
|
+
className: modules_63b47c51$6.viewImgInfo,
|
|
2180
2180
|
children: content()
|
|
2181
2181
|
})
|
|
2182
2182
|
]
|
|
@@ -2211,7 +2211,7 @@ var AppViewImage = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
2211
2211
|
maskStyle: {
|
|
2212
2212
|
background: "rgba(0, 0, 0, 0.65)"
|
|
2213
2213
|
},
|
|
2214
|
-
wrapClassName: "".concat(modules_63b47c51$
|
|
2214
|
+
wrapClassName: "".concat(modules_63b47c51$6.AppViewImage, " ").concat(className || ""),
|
|
2215
2215
|
getContainer: getContainer,
|
|
2216
2216
|
children: visible && /*#__PURE__*/ jsx(ViewImage, _object_spread_props(_object_spread({}, props), {
|
|
2217
2217
|
ref: viewRef
|
|
@@ -2220,7 +2220,7 @@ var AppViewImage = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
2220
2220
|
});
|
|
2221
2221
|
var ViewImage$1 = AppViewImage;
|
|
2222
2222
|
|
|
2223
|
-
var modules_63b47c51$
|
|
2223
|
+
var modules_63b47c51$4 = {"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"};
|
|
2224
2224
|
|
|
2225
2225
|
var Search = Input$1.Search;
|
|
2226
2226
|
var RenderDrop = function(param) {
|
|
@@ -2368,12 +2368,12 @@ var BhdSelect = function(props) {
|
|
|
2368
2368
|
//如果需要搜索菜单
|
|
2369
2369
|
if (showSearch) {
|
|
2370
2370
|
return /*#__PURE__*/ jsxs("div", {
|
|
2371
|
-
className: "".concat(modules_63b47c51$
|
|
2371
|
+
className: "".concat(modules_63b47c51$4.bhdSelectDrop, " ").concat(optionClassName),
|
|
2372
2372
|
ref: bhdDropdownRef,
|
|
2373
2373
|
children: [
|
|
2374
2374
|
renderTitle(),
|
|
2375
2375
|
/*#__PURE__*/ jsx("div", {
|
|
2376
|
-
className: modules_63b47c51$
|
|
2376
|
+
className: modules_63b47c51$4.bhdSelectSearch,
|
|
2377
2377
|
style: {
|
|
2378
2378
|
backgroundColor: select_title ? "rgba(0,0,0,0.02)" : "rgba(0,0,0,0)"
|
|
2379
2379
|
},
|
|
@@ -2383,7 +2383,7 @@ var BhdSelect = function(props) {
|
|
|
2383
2383
|
var value = param.target.value;
|
|
2384
2384
|
setFilterValue(value);
|
|
2385
2385
|
},
|
|
2386
|
-
className: "".concat(modules_63b47c51$
|
|
2386
|
+
className: "".concat(modules_63b47c51$4.search, " ").concat(searchClassName || ""),
|
|
2387
2387
|
onKeyDown: function(e) {
|
|
2388
2388
|
e.stopPropagation();
|
|
2389
2389
|
},
|
|
@@ -2395,7 +2395,7 @@ var BhdSelect = function(props) {
|
|
|
2395
2395
|
});
|
|
2396
2396
|
} else {
|
|
2397
2397
|
return /*#__PURE__*/ jsx("div", {
|
|
2398
|
-
className: modules_63b47c51$
|
|
2398
|
+
className: modules_63b47c51$4.bhdSelectDrop,
|
|
2399
2399
|
ref: bhdDropdownRef,
|
|
2400
2400
|
children: dropdownRender ? dropdownRender(menu) : menu
|
|
2401
2401
|
});
|
|
@@ -2410,7 +2410,7 @@ var BhdSelect = function(props) {
|
|
|
2410
2410
|
return select_title;
|
|
2411
2411
|
} else {
|
|
2412
2412
|
return /*#__PURE__*/ jsx("div", {
|
|
2413
|
-
className: modules_63b47c51$
|
|
2413
|
+
className: modules_63b47c51$4.selectTitle,
|
|
2414
2414
|
children: select_title
|
|
2415
2415
|
});
|
|
2416
2416
|
}
|
|
@@ -2434,7 +2434,7 @@ var BhdSelect = function(props) {
|
|
|
2434
2434
|
var getConfig = function() {
|
|
2435
2435
|
var config = _object_spread_props(_object_spread({}, props), {
|
|
2436
2436
|
listHeight: optionHei,
|
|
2437
|
-
popupClassName: "".concat(modules_63b47c51$
|
|
2437
|
+
popupClassName: "".concat(modules_63b47c51$4.bhdSelect_option, " ").concat(popupClassName || "", " "),
|
|
2438
2438
|
suffixIcon: suffixIcon ? suffixIcon : renderSuffixIcon(),
|
|
2439
2439
|
popupMatchSelectWidth: selectWidth,
|
|
2440
2440
|
dropdownStyle: _object_spread_props(_object_spread({}, props.dropdownStyle), {
|
|
@@ -2456,7 +2456,7 @@ var BhdSelect = function(props) {
|
|
|
2456
2456
|
return config;
|
|
2457
2457
|
};
|
|
2458
2458
|
return /*#__PURE__*/ jsx("div", {
|
|
2459
|
-
className: "".concat(modules_63b47c51$
|
|
2459
|
+
className: "".concat(modules_63b47c51$4.BhdSelect, " ").concat(className),
|
|
2460
2460
|
ref: bhdSelectRef,
|
|
2461
2461
|
children: /*#__PURE__*/ jsx(Select, _object_spread_props(_object_spread({}, getConfig()), {
|
|
2462
2462
|
showSearch: false,
|
|
@@ -2511,7 +2511,7 @@ var BhdSelect = function(props) {
|
|
|
2511
2511
|
BhdSelect.Option = Select.Option;
|
|
2512
2512
|
var BhdSelect$1 = BhdSelect;
|
|
2513
2513
|
|
|
2514
|
-
var modules_63b47c51$
|
|
2514
|
+
var modules_63b47c51$3 = {"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"};
|
|
2515
2515
|
|
|
2516
2516
|
function BhdAppLayout(props) {
|
|
2517
2517
|
var _filterRef_current, _filterRef, _headRef_current, _headRef, _otherHeadRef_current, _otherHeadRef, _otherContentRef_current, _otherContentRef, _filterConfig, _filterConfig1, _footerConfig;
|
|
@@ -2550,11 +2550,11 @@ function BhdAppLayout(props) {
|
|
|
2550
2550
|
(_otherContentRef = otherContentRef) === null || _otherContentRef === void 0 ? void 0 : (_otherContentRef_current = _otherContentRef.current) === null || _otherContentRef_current === void 0 ? void 0 : _otherContentRef_current.offsetHeight
|
|
2551
2551
|
]);
|
|
2552
2552
|
return /*#__PURE__*/ jsxs("div", {
|
|
2553
|
-
className: "".concat(modules_63b47c51$
|
|
2553
|
+
className: "".concat(modules_63b47c51$3.bhd_app_layout, " ").concat(className || ""),
|
|
2554
2554
|
children: [
|
|
2555
2555
|
/*#__PURE__*/ jsx("header", {
|
|
2556
2556
|
ref: headRef,
|
|
2557
|
-
className: "".concat(modules_63b47c51$
|
|
2557
|
+
className: "".concat(modules_63b47c51$3.bhd_app_layout_header, " ").concat(headerClassName || ""),
|
|
2558
2558
|
children: headConfig && /*#__PURE__*/ jsx(TitleBar$1, _object_spread({}, headConfig))
|
|
2559
2559
|
}),
|
|
2560
2560
|
headContent && /*#__PURE__*/ jsx("div", {
|
|
@@ -2562,30 +2562,30 @@ function BhdAppLayout(props) {
|
|
|
2562
2562
|
children: headContent
|
|
2563
2563
|
}),
|
|
2564
2564
|
/*#__PURE__*/ jsxs("main", {
|
|
2565
|
-
className: modules_63b47c51$
|
|
2565
|
+
className: modules_63b47c51$3.bhd_app_layout_main,
|
|
2566
2566
|
children: [
|
|
2567
2567
|
((_filterConfig = filterConfig) === null || _filterConfig === void 0 ? void 0 : _filterConfig.filterArr) && filterConfig.filterArr.length ? /*#__PURE__*/ jsxs("div", {
|
|
2568
2568
|
ref: filterRef,
|
|
2569
|
-
className: modules_63b47c51$
|
|
2569
|
+
className: modules_63b47c51$3.bhd_app_layout_main_filter,
|
|
2570
2570
|
children: [
|
|
2571
2571
|
/*#__PURE__*/ jsxs("div", {
|
|
2572
|
-
className: modules_63b47c51$
|
|
2572
|
+
className: modules_63b47c51$3.bhd_app_layout_main_filter_title,
|
|
2573
2573
|
children: [
|
|
2574
2574
|
i18Conversion$1("已筛选"),
|
|
2575
2575
|
":"
|
|
2576
2576
|
]
|
|
2577
2577
|
}),
|
|
2578
2578
|
/*#__PURE__*/ jsx("ul", {
|
|
2579
|
-
className: modules_63b47c51$
|
|
2579
|
+
className: modules_63b47c51$3.bhd_app_layout_main_filter_ul,
|
|
2580
2580
|
children: filterConfig.filterArr.map(function(ele, index) {
|
|
2581
2581
|
return /*#__PURE__*/ jsxs("li", {
|
|
2582
2582
|
children: [
|
|
2583
2583
|
/*#__PURE__*/ jsx("span", {
|
|
2584
|
-
className: modules_63b47c51$
|
|
2584
|
+
className: modules_63b47c51$3.bhd_app_layout_main_filter_show_title,
|
|
2585
2585
|
children: ele.title
|
|
2586
2586
|
}),
|
|
2587
2587
|
/*#__PURE__*/ jsxs("span", {
|
|
2588
|
-
className: modules_63b47c51$
|
|
2588
|
+
className: modules_63b47c51$3.bhd_app_layout_main_filter_show_value,
|
|
2589
2589
|
children: [
|
|
2590
2590
|
"“",
|
|
2591
2591
|
ele.value,
|
|
@@ -2604,7 +2604,7 @@ function BhdAppLayout(props) {
|
|
|
2604
2604
|
}),
|
|
2605
2605
|
/*#__PURE__*/ jsx("div", {
|
|
2606
2606
|
onClick: (_filterConfig1 = filterConfig) === null || _filterConfig1 === void 0 ? void 0 : _filterConfig1.onClearAll,
|
|
2607
|
-
className: modules_63b47c51$
|
|
2607
|
+
className: modules_63b47c51$3.bhd_app_layout_main_filter_clear,
|
|
2608
2608
|
children: i18Conversion$1("清空条件")
|
|
2609
2609
|
})
|
|
2610
2610
|
]
|
|
@@ -2614,7 +2614,7 @@ function BhdAppLayout(props) {
|
|
|
2614
2614
|
children: otherContent
|
|
2615
2615
|
}),
|
|
2616
2616
|
/*#__PURE__*/ jsx("div", {
|
|
2617
|
-
className: "".concat(modules_63b47c51$
|
|
2617
|
+
className: "".concat(modules_63b47c51$3.bhd_app_layout_main_table, " ").concat(tableBoxClassName || ""),
|
|
2618
2618
|
children: scrollConfig ? tableConfig && /*#__PURE__*/ jsx(BhdTableSimple$1, _object_spread_props(_object_spread({}, tableConfig), {
|
|
2619
2619
|
pagination: false,
|
|
2620
2620
|
scroll: _object_spread({}, scrollConfig)
|
|
@@ -2623,7 +2623,7 @@ function BhdAppLayout(props) {
|
|
|
2623
2623
|
]
|
|
2624
2624
|
}),
|
|
2625
2625
|
footerConfig ? /*#__PURE__*/ jsxs("footer", {
|
|
2626
|
-
className: modules_63b47c51$
|
|
2626
|
+
className: modules_63b47c51$3.bhd_app_layout_footer,
|
|
2627
2627
|
children: [
|
|
2628
2628
|
/*#__PURE__*/ jsx("div", {
|
|
2629
2629
|
children: ((_footerConfig = footerConfig) === null || _footerConfig === void 0 ? void 0 : _footerConfig.leftDom) && footerConfig.leftDom
|
|
@@ -2635,7 +2635,7 @@ function BhdAppLayout(props) {
|
|
|
2635
2635
|
});
|
|
2636
2636
|
}
|
|
2637
2637
|
|
|
2638
|
-
var modules_63b47c51$
|
|
2638
|
+
var modules_63b47c51$2 = {"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"};
|
|
2639
2639
|
|
|
2640
2640
|
function BaseHOC(key) {
|
|
2641
2641
|
return function(props) {
|
|
@@ -3140,12 +3140,12 @@ var HistoryFun = function(props) {
|
|
|
3140
3140
|
});
|
|
3141
3141
|
};
|
|
3142
3142
|
return /*#__PURE__*/ jsx("div", {
|
|
3143
|
-
className: "".concat(modules_63b47c51$
|
|
3143
|
+
className: "".concat(modules_63b47c51$2.history_list, " ").concat(type == 2 ? modules_63b47c51$2.history_list_broadside : "", " "),
|
|
3144
3144
|
children: /*#__PURE__*/ jsxs("div", {
|
|
3145
|
-
className: modules_63b47c51$
|
|
3145
|
+
className: modules_63b47c51$2.search_layout,
|
|
3146
3146
|
children: [
|
|
3147
3147
|
/*#__PURE__*/ jsxs("div", {
|
|
3148
|
-
className: modules_63b47c51$
|
|
3148
|
+
className: modules_63b47c51$2.title,
|
|
3149
3149
|
children: [
|
|
3150
3150
|
/*#__PURE__*/ jsx("span", {
|
|
3151
3151
|
children: "历史记录"
|
|
@@ -3160,7 +3160,7 @@ var HistoryFun = function(props) {
|
|
|
3160
3160
|
]
|
|
3161
3161
|
}),
|
|
3162
3162
|
/*#__PURE__*/ jsxs("div", {
|
|
3163
|
-
className: modules_63b47c51$
|
|
3163
|
+
className: modules_63b47c51$2.search_top,
|
|
3164
3164
|
children: [
|
|
3165
3165
|
/*#__PURE__*/ jsx(SearchOutlined, {}),
|
|
3166
3166
|
/*#__PURE__*/ jsx(Input$1, {
|
|
@@ -3196,11 +3196,11 @@ var HistoryFun = function(props) {
|
|
|
3196
3196
|
spinning: loading,
|
|
3197
3197
|
tip: "加载中...",
|
|
3198
3198
|
children: /*#__PURE__*/ jsxs("div", {
|
|
3199
|
-
className: modules_63b47c51$
|
|
3199
|
+
className: modules_63b47c51$2.main_list,
|
|
3200
3200
|
id: "history_list",
|
|
3201
3201
|
children: [
|
|
3202
3202
|
!loading && showLoadingState == 1 && /*#__PURE__*/ jsxs("div", {
|
|
3203
|
-
className: modules_63b47c51$
|
|
3203
|
+
className: modules_63b47c51$2.no_data,
|
|
3204
3204
|
children: [
|
|
3205
3205
|
/*#__PURE__*/ jsx("img", {
|
|
3206
3206
|
src: "/new_yun/images/aiService/search_for_icon.png"
|
|
@@ -3211,7 +3211,7 @@ var HistoryFun = function(props) {
|
|
|
3211
3211
|
]
|
|
3212
3212
|
}),
|
|
3213
3213
|
!loading && showLoadingState == 2 && /*#__PURE__*/ jsxs("div", {
|
|
3214
|
-
className: modules_63b47c51$
|
|
3214
|
+
className: modules_63b47c51$2.no_data,
|
|
3215
3215
|
children: [
|
|
3216
3216
|
/*#__PURE__*/ jsx("img", {
|
|
3217
3217
|
src: "/new_yun/images/aiService/no_data.png"
|
|
@@ -3222,7 +3222,7 @@ var HistoryFun = function(props) {
|
|
|
3222
3222
|
]
|
|
3223
3223
|
}),
|
|
3224
3224
|
!loading && /*#__PURE__*/ jsx("div", {
|
|
3225
|
-
className: modules_63b47c51$
|
|
3225
|
+
className: modules_63b47c51$2.list_item,
|
|
3226
3226
|
children: totalData.map(function(item) {
|
|
3227
3227
|
var span = "";
|
|
3228
3228
|
var time = "";
|
|
@@ -3236,11 +3236,11 @@ var HistoryFun = function(props) {
|
|
|
3236
3236
|
//搜索内容是否有特殊字符
|
|
3237
3237
|
if (reg.test(keyWordProblem)) {
|
|
3238
3238
|
span = message.replaceAll(keyWordProblem, function(e) {
|
|
3239
|
-
return "<span class=".concat(modules_63b47c51$
|
|
3239
|
+
return "<span class=".concat(modules_63b47c51$2.sign, ">").concat(e, "</span>");
|
|
3240
3240
|
});
|
|
3241
3241
|
} else {
|
|
3242
3242
|
span = message.replaceAll(new RegExp(keyWordProblem, "ig"), function(i) {
|
|
3243
|
-
return "<span class=".concat(modules_63b47c51$
|
|
3243
|
+
return "<span class=".concat(modules_63b47c51$2.sign, ">").concat(i, "</span>");
|
|
3244
3244
|
});
|
|
3245
3245
|
}
|
|
3246
3246
|
time = formatDate(item.createdAt);
|
|
@@ -3248,7 +3248,7 @@ var HistoryFun = function(props) {
|
|
|
3248
3248
|
return /*#__PURE__*/ jsxs(Fragment, {
|
|
3249
3249
|
children: [
|
|
3250
3250
|
/*#__PURE__*/ jsxs("div", {
|
|
3251
|
-
className: "".concat(modules_63b47c51$
|
|
3251
|
+
className: "".concat(modules_63b47c51$2.list_summary, " ").concat(item.show ? modules_63b47c51$2.list_summary_active : ""),
|
|
3252
3252
|
id: item.roomId,
|
|
3253
3253
|
onClick: function() {
|
|
3254
3254
|
if (item.count == 1) {
|
|
@@ -3259,26 +3259,26 @@ var HistoryFun = function(props) {
|
|
|
3259
3259
|
},
|
|
3260
3260
|
children: [
|
|
3261
3261
|
/*#__PURE__*/ jsx("div", {
|
|
3262
|
-
className: modules_63b47c51$
|
|
3262
|
+
className: modules_63b47c51$2.head_img,
|
|
3263
3263
|
children: item.member == "AI" ? /*#__PURE__*/ jsx(CustomAiIcon$1, {}) : /*#__PURE__*/ jsx("img", {
|
|
3264
3264
|
src: item.headImg
|
|
3265
3265
|
})
|
|
3266
3266
|
}),
|
|
3267
3267
|
/*#__PURE__*/ jsxs("div", {
|
|
3268
|
-
className: modules_63b47c51$
|
|
3268
|
+
className: modules_63b47c51$2.list_desc,
|
|
3269
3269
|
children: [
|
|
3270
3270
|
/*#__PURE__*/ jsxs("p", {
|
|
3271
|
-
className: modules_63b47c51$
|
|
3271
|
+
className: modules_63b47c51$2.name,
|
|
3272
3272
|
children: [
|
|
3273
3273
|
item.member == "AI" ? "AI助手" : item.name,
|
|
3274
3274
|
item.count == 1 ? /*#__PURE__*/ jsx("span", {
|
|
3275
|
-
className: modules_63b47c51$
|
|
3275
|
+
className: modules_63b47c51$2.time,
|
|
3276
3276
|
children: time
|
|
3277
3277
|
}) : ""
|
|
3278
3278
|
]
|
|
3279
3279
|
}),
|
|
3280
3280
|
item.count == 1 ? /*#__PURE__*/ jsx("p", {
|
|
3281
|
-
className: modules_63b47c51$
|
|
3281
|
+
className: modules_63b47c51$2.decs,
|
|
3282
3282
|
style: {
|
|
3283
3283
|
width: "calc(100% - 36px)"
|
|
3284
3284
|
},
|
|
@@ -3286,19 +3286,19 @@ var HistoryFun = function(props) {
|
|
|
3286
3286
|
__html: span
|
|
3287
3287
|
}
|
|
3288
3288
|
}) : /*#__PURE__*/ jsx("p", {
|
|
3289
|
-
className: modules_63b47c51$
|
|
3289
|
+
className: modules_63b47c51$2.decs,
|
|
3290
3290
|
children: "".concat(item.count, "条相关聊天记录")
|
|
3291
3291
|
})
|
|
3292
3292
|
]
|
|
3293
3293
|
}),
|
|
3294
3294
|
item.count != 1 ? /*#__PURE__*/ jsx("div", {
|
|
3295
|
-
className: "".concat(modules_63b47c51$
|
|
3295
|
+
className: "".concat(modules_63b47c51$2.open, " ").concat(item.show ? modules_63b47c51$2.active : ""),
|
|
3296
3296
|
children: /*#__PURE__*/ jsx(CustomExpand$1, {})
|
|
3297
3297
|
}) : ""
|
|
3298
3298
|
]
|
|
3299
3299
|
}),
|
|
3300
3300
|
/*#__PURE__*/ jsxs("div", {
|
|
3301
|
-
className: modules_63b47c51$
|
|
3301
|
+
className: modules_63b47c51$2.list_detail,
|
|
3302
3302
|
children: [
|
|
3303
3303
|
item.show && item.detailsList && item.detailsList.map(function(list) {
|
|
3304
3304
|
// console.log(list,item,'dklfvmdflkvmdfklv')
|
|
@@ -3321,34 +3321,34 @@ var HistoryFun = function(props) {
|
|
|
3321
3321
|
//搜索内容是否有特殊字符
|
|
3322
3322
|
if (reg.test(keyWordProblem)) {
|
|
3323
3323
|
span = message.replaceAll(keyWordProblem, function(e) {
|
|
3324
|
-
return "<span class=".concat(modules_63b47c51$
|
|
3324
|
+
return "<span class=".concat(modules_63b47c51$2.sign, ">").concat(e, "</span>");
|
|
3325
3325
|
});
|
|
3326
3326
|
} else {
|
|
3327
3327
|
span = message.replaceAll(new RegExp(keyWordProblem, "ig"), function(i) {
|
|
3328
3328
|
// console.log(i,'skdcnsdjk')
|
|
3329
|
-
return "<span class=".concat(modules_63b47c51$
|
|
3329
|
+
return "<span class=".concat(modules_63b47c51$2.sign, ">").concat(i, "</span>");
|
|
3330
3330
|
});
|
|
3331
3331
|
}
|
|
3332
3332
|
return /*#__PURE__*/ jsxs("div", {
|
|
3333
|
-
className: modules_63b47c51$
|
|
3333
|
+
className: modules_63b47c51$2.list,
|
|
3334
3334
|
onClick: function() {
|
|
3335
3335
|
calculationData(item.roomId, list.id, list.receiver);
|
|
3336
3336
|
},
|
|
3337
3337
|
children: [
|
|
3338
3338
|
/*#__PURE__*/ jsxs("div", {
|
|
3339
|
-
className: modules_63b47c51$
|
|
3339
|
+
className: modules_63b47c51$2.name,
|
|
3340
3340
|
children: [
|
|
3341
3341
|
/*#__PURE__*/ jsx("p", {
|
|
3342
3342
|
children: name
|
|
3343
3343
|
}),
|
|
3344
3344
|
/*#__PURE__*/ jsx("span", {
|
|
3345
|
-
className: modules_63b47c51$
|
|
3345
|
+
className: modules_63b47c51$2.time,
|
|
3346
3346
|
children: time
|
|
3347
3347
|
})
|
|
3348
3348
|
]
|
|
3349
3349
|
}),
|
|
3350
3350
|
/*#__PURE__*/ jsx("div", {
|
|
3351
|
-
className: modules_63b47c51$
|
|
3351
|
+
className: modules_63b47c51$2.con,
|
|
3352
3352
|
dangerouslySetInnerHTML: {
|
|
3353
3353
|
__html: span
|
|
3354
3354
|
}
|
|
@@ -3357,7 +3357,7 @@ var HistoryFun = function(props) {
|
|
|
3357
3357
|
}, list.id);
|
|
3358
3358
|
}),
|
|
3359
3359
|
item.show && item.pageCount > 1 && item.pageCount > item.pageNum && /*#__PURE__*/ jsx("div", {
|
|
3360
|
-
className: "".concat(modules_63b47c51$
|
|
3360
|
+
className: "".concat(modules_63b47c51$2.list, " ").concat(modules_63b47c51$2.list_more),
|
|
3361
3361
|
onClick: function() {
|
|
3362
3362
|
loadMore(item.pageNum + 1, item.roomId);
|
|
3363
3363
|
},
|
|
@@ -3389,34 +3389,34 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3389
3389
|
};
|
|
3390
3390
|
return type == 2 || type == 4 ? //联系人展开
|
|
3391
3391
|
/*#__PURE__*/ jsxs("div", {
|
|
3392
|
-
className: "".concat(modules_63b47c51$
|
|
3392
|
+
className: "".concat(modules_63b47c51$2.teacher_layout_modal, " ").concat(type == 4 ? modules_63b47c51$2.teacher_layout_modal_newlabo : ""),
|
|
3393
3393
|
children: [
|
|
3394
3394
|
/*#__PURE__*/ jsx("div", {
|
|
3395
|
-
className: modules_63b47c51$
|
|
3395
|
+
className: modules_63b47c51$2.top,
|
|
3396
3396
|
children: /*#__PURE__*/ jsxs("div", {
|
|
3397
|
-
className: "".concat(modules_63b47c51$
|
|
3397
|
+
className: "".concat(modules_63b47c51$2.ai, " ").concat(contactsList.length > 0 && contactsList[0].roomId != undefined && roomId != "" && contactsList[0].roomId == roomId || contactsList.length == 0 ? modules_63b47c51$2.active : ""),
|
|
3398
3398
|
onClick: function() {
|
|
3399
3399
|
return switchChatRoom(contactsList[0].roomId, "");
|
|
3400
3400
|
},
|
|
3401
3401
|
children: [
|
|
3402
3402
|
/*#__PURE__*/ jsx(CustomAiIcon$1, {}),
|
|
3403
3403
|
/*#__PURE__*/ jsxs("div", {
|
|
3404
|
-
className: modules_63b47c51$
|
|
3404
|
+
className: modules_63b47c51$2.user_info,
|
|
3405
3405
|
children: [
|
|
3406
3406
|
/*#__PURE__*/ jsxs("p", {
|
|
3407
|
-
className: modules_63b47c51$
|
|
3407
|
+
className: modules_63b47c51$2.message,
|
|
3408
3408
|
children: [
|
|
3409
3409
|
userData.modules.some(function(ele) {
|
|
3410
3410
|
return ele.short == "AIservice";
|
|
3411
3411
|
}) ? "AI助手" : "智能问答",
|
|
3412
3412
|
/*#__PURE__*/ jsx("span", {
|
|
3413
|
-
className: modules_63b47c51$
|
|
3413
|
+
className: modules_63b47c51$2.time,
|
|
3414
3414
|
children: contactsList.length > 0 && contactsList[0].createdAt != undefined && formatDate(contactsList[0].createdAt)
|
|
3415
3415
|
})
|
|
3416
3416
|
]
|
|
3417
3417
|
}),
|
|
3418
3418
|
/*#__PURE__*/ jsx("p", {
|
|
3419
|
-
className: modules_63b47c51$
|
|
3419
|
+
className: modules_63b47c51$2.con,
|
|
3420
3420
|
children: contactsList.length > 0 && contactsList[0].lastMsg
|
|
3421
3421
|
})
|
|
3422
3422
|
]
|
|
@@ -3427,11 +3427,11 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3427
3427
|
userData.modules.some(function(item) {
|
|
3428
3428
|
return item.short == "TeacherAnswer";
|
|
3429
3429
|
}) && /*#__PURE__*/ jsx("div", {
|
|
3430
|
-
className: modules_63b47c51$
|
|
3430
|
+
className: modules_63b47c51$2.bottom,
|
|
3431
3431
|
children: contactsList.map(function(item, index) {
|
|
3432
3432
|
if (index != 0) {
|
|
3433
3433
|
return /*#__PURE__*/ jsxs("div", {
|
|
3434
|
-
className: "".concat(modules_63b47c51$
|
|
3434
|
+
className: "".concat(modules_63b47c51$2.ai, " ").concat(item.roomId != undefined && roomId != "" && item.roomId == roomId ? modules_63b47c51$2.active : ""),
|
|
3435
3435
|
onClick: function() {
|
|
3436
3436
|
switchChatRoom(item.roomId, "");
|
|
3437
3437
|
},
|
|
@@ -3440,29 +3440,29 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3440
3440
|
src: item.headImg
|
|
3441
3441
|
}),
|
|
3442
3442
|
/*#__PURE__*/ jsxs("div", {
|
|
3443
|
-
className: modules_63b47c51$
|
|
3443
|
+
className: modules_63b47c51$2.user_info,
|
|
3444
3444
|
children: [
|
|
3445
3445
|
/*#__PURE__*/ jsxs("p", {
|
|
3446
|
-
className: modules_63b47c51$
|
|
3446
|
+
className: modules_63b47c51$2.message,
|
|
3447
3447
|
children: [
|
|
3448
3448
|
item.name != undefined && getByteLen(item.name) >= 20 ? /*#__PURE__*/ jsx(Tooltip, {
|
|
3449
|
-
overlayClassName: "".concat(modules_63b47c51$
|
|
3449
|
+
overlayClassName: "".concat(modules_63b47c51$2.popover_main_content_name),
|
|
3450
3450
|
title: item.name,
|
|
3451
3451
|
placement: "top",
|
|
3452
3452
|
children: item.name
|
|
3453
3453
|
}) : item.name,
|
|
3454
3454
|
item.unreadCount != undefined && item.unreadCount > 0 && !(item.roomId != undefined && roomId != "" && item.roomId == roomId) && /*#__PURE__*/ jsx("span", {
|
|
3455
|
-
className: modules_63b47c51$
|
|
3455
|
+
className: modules_63b47c51$2.num,
|
|
3456
3456
|
children: item.unreadCount > 99 ? "99+" : item.unreadCount
|
|
3457
3457
|
}),
|
|
3458
3458
|
/*#__PURE__*/ jsx("span", {
|
|
3459
|
-
className: modules_63b47c51$
|
|
3459
|
+
className: modules_63b47c51$2.time,
|
|
3460
3460
|
children: formatDate(item.createdAt)
|
|
3461
3461
|
})
|
|
3462
3462
|
]
|
|
3463
3463
|
}),
|
|
3464
3464
|
/*#__PURE__*/ jsx("p", {
|
|
3465
|
-
className: modules_63b47c51$
|
|
3465
|
+
className: modules_63b47c51$2.con,
|
|
3466
3466
|
children: item.lastMsg
|
|
3467
3467
|
})
|
|
3468
3468
|
]
|
|
@@ -3476,16 +3476,16 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3476
3476
|
})
|
|
3477
3477
|
]
|
|
3478
3478
|
}) : /*#__PURE__*/ jsxs("div", {
|
|
3479
|
-
className: "".concat(modules_63b47c51$
|
|
3479
|
+
className: "".concat(modules_63b47c51$2.teacher_layout, " ").concat(type == 3 ? modules_63b47c51$2.teacher_layout_newlabo : ""),
|
|
3480
3480
|
style: {
|
|
3481
3481
|
left: type == 3 ? document.getElementById("box") && document.getElementById("box").offsetWidth + 10 + "px" : "auto"
|
|
3482
3482
|
},
|
|
3483
3483
|
children: [
|
|
3484
3484
|
/*#__PURE__*/ jsxs("div", {
|
|
3485
|
-
className: modules_63b47c51$
|
|
3485
|
+
className: modules_63b47c51$2.top,
|
|
3486
3486
|
children: [
|
|
3487
3487
|
/*#__PURE__*/ jsxs("div", {
|
|
3488
|
-
className: "".concat(modules_63b47c51$
|
|
3488
|
+
className: "".concat(modules_63b47c51$2.ai, " ").concat(modules_63b47c51$2.shrink),
|
|
3489
3489
|
onClick: function() {
|
|
3490
3490
|
onClose();
|
|
3491
3491
|
},
|
|
@@ -3500,7 +3500,7 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3500
3500
|
]
|
|
3501
3501
|
}),
|
|
3502
3502
|
/*#__PURE__*/ jsxs("div", {
|
|
3503
|
-
className: "".concat(modules_63b47c51$
|
|
3503
|
+
className: "".concat(modules_63b47c51$2.ai, " ").concat(contactsList.length > 0 && contactsList[0].roomId != undefined && roomId != "" && contactsList[0].roomId == roomId || contactsList.length == 0 ? modules_63b47c51$2.active : ""),
|
|
3504
3504
|
onClick: function() {
|
|
3505
3505
|
switchChatRoom(contactsList[0].roomId, "");
|
|
3506
3506
|
// roomsListTimer();
|
|
@@ -3519,11 +3519,11 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3519
3519
|
userData.modules.some(function(item) {
|
|
3520
3520
|
return item.short == "TeacherAnswer";
|
|
3521
3521
|
}) && /*#__PURE__*/ jsx("div", {
|
|
3522
|
-
className: modules_63b47c51$
|
|
3522
|
+
className: modules_63b47c51$2.bottom,
|
|
3523
3523
|
children: contactsList.map(function(item, index) {
|
|
3524
3524
|
if (index != 0) {
|
|
3525
3525
|
return /*#__PURE__*/ jsxs("div", {
|
|
3526
|
-
className: "".concat(modules_63b47c51$
|
|
3526
|
+
className: "".concat(modules_63b47c51$2.ai, " ").concat(item.roomId != undefined && roomId != "" && item.roomId == roomId ? modules_63b47c51$2.active : ""),
|
|
3527
3527
|
onClick: function() {
|
|
3528
3528
|
switchChatRoom(item.roomId, "");
|
|
3529
3529
|
},
|
|
@@ -3533,19 +3533,19 @@ var ContactsList = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3533
3533
|
}),
|
|
3534
3534
|
/*#__PURE__*/ jsx("p", {
|
|
3535
3535
|
children: item.name != undefined && getByteLen(item.name) >= 10 ? /*#__PURE__*/ jsx(Tooltip, {
|
|
3536
|
-
overlayClassName: modules_63b47c51$
|
|
3536
|
+
overlayClassName: modules_63b47c51$2.popover_main_content_name,
|
|
3537
3537
|
title: item.name,
|
|
3538
3538
|
placement: "top",
|
|
3539
3539
|
children: item.name
|
|
3540
3540
|
}) : item.name
|
|
3541
3541
|
}),
|
|
3542
3542
|
item.unreadCount != undefined && item.unreadCount > 0 && !(item.roomId != undefined && roomId != "" && item.roomId == roomId) && /*#__PURE__*/ jsx("span", {
|
|
3543
|
-
className: modules_63b47c51$
|
|
3543
|
+
className: modules_63b47c51$2.num,
|
|
3544
3544
|
children: item.unreadCount > 99 ? "99+" : item.unreadCount
|
|
3545
3545
|
}),
|
|
3546
3546
|
// 没有消息时,可点击删除
|
|
3547
3547
|
!item.unreadCount && /*#__PURE__*/ jsx("span", {
|
|
3548
|
-
className: modules_63b47c51$
|
|
3548
|
+
className: modules_63b47c51$2.delete,
|
|
3549
3549
|
onClick: function(e) {
|
|
3550
3550
|
e.stopPropagation();
|
|
3551
3551
|
deleteRoom(item.roomId);
|
|
@@ -3647,10 +3647,10 @@ var ScreenshotTool = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3647
3647
|
setIsFirst(false);
|
|
3648
3648
|
};
|
|
3649
3649
|
return /*#__PURE__*/ jsxs("div", {
|
|
3650
|
-
className: modules_63b47c51$
|
|
3650
|
+
className: modules_63b47c51$2.screenshot_Modal,
|
|
3651
3651
|
children: [
|
|
3652
3652
|
/*#__PURE__*/ jsx(X, {
|
|
3653
|
-
className: modules_63b47c51$
|
|
3653
|
+
className: modules_63b47c51$2.ReactCrop,
|
|
3654
3654
|
crop: crop,
|
|
3655
3655
|
onChange: function(_, percentCrop) {
|
|
3656
3656
|
if (percentCrop.height === 0 && percentCrop.width === 0) {
|
|
@@ -3676,7 +3676,7 @@ var ScreenshotTool = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3676
3676
|
})
|
|
3677
3677
|
}),
|
|
3678
3678
|
showBtn && /*#__PURE__*/ jsxs("div", {
|
|
3679
|
-
className: modules_63b47c51$
|
|
3679
|
+
className: modules_63b47c51$2.screenshot_Modal_btn,
|
|
3680
3680
|
style: {
|
|
3681
3681
|
top: btnPosition.top,
|
|
3682
3682
|
left: btnPosition.left
|
|
@@ -3863,12 +3863,12 @@ var TeacherList = function(props) {
|
|
|
3863
3863
|
});
|
|
3864
3864
|
};
|
|
3865
3865
|
return /*#__PURE__*/ jsx("div", {
|
|
3866
|
-
className: "".concat(modules_63b47c51$
|
|
3866
|
+
className: "".concat(modules_63b47c51$2.history_list, " ").concat(type == 2 ? modules_63b47c51$2.history_list_broadside : "", " ").concat(modules_63b47c51$2.teacher_list),
|
|
3867
3867
|
children: /*#__PURE__*/ jsxs("div", {
|
|
3868
|
-
className: modules_63b47c51$
|
|
3868
|
+
className: modules_63b47c51$2.search_layout,
|
|
3869
3869
|
children: [
|
|
3870
3870
|
/*#__PURE__*/ jsxs("div", {
|
|
3871
|
-
className: modules_63b47c51$
|
|
3871
|
+
className: modules_63b47c51$2.title,
|
|
3872
3872
|
children: [
|
|
3873
3873
|
/*#__PURE__*/ jsx("span", {
|
|
3874
3874
|
children: "召唤老师回答"
|
|
@@ -3883,7 +3883,7 @@ var TeacherList = function(props) {
|
|
|
3883
3883
|
]
|
|
3884
3884
|
}),
|
|
3885
3885
|
/*#__PURE__*/ jsxs("div", {
|
|
3886
|
-
className: modules_63b47c51$
|
|
3886
|
+
className: modules_63b47c51$2.search_top,
|
|
3887
3887
|
children: [
|
|
3888
3888
|
/*#__PURE__*/ jsx(SearchOutlined, {}),
|
|
3889
3889
|
/*#__PURE__*/ jsx(Input$1, {
|
|
@@ -3916,11 +3916,11 @@ var TeacherList = function(props) {
|
|
|
3916
3916
|
]
|
|
3917
3917
|
}),
|
|
3918
3918
|
/*#__PURE__*/ jsxs("div", {
|
|
3919
|
-
className: modules_63b47c51$
|
|
3919
|
+
className: modules_63b47c51$2.main_list,
|
|
3920
3920
|
id: "teacher_list",
|
|
3921
3921
|
children: [
|
|
3922
3922
|
showLoadingState == 2 && /*#__PURE__*/ jsxs("div", {
|
|
3923
|
-
className: modules_63b47c51$
|
|
3923
|
+
className: modules_63b47c51$2.no_data,
|
|
3924
3924
|
children: [
|
|
3925
3925
|
/*#__PURE__*/ jsx("img", {
|
|
3926
3926
|
src: "/new_yun/images/aiService/no_data_02.png"
|
|
@@ -3931,30 +3931,30 @@ var TeacherList = function(props) {
|
|
|
3931
3931
|
]
|
|
3932
3932
|
}),
|
|
3933
3933
|
/*#__PURE__*/ jsx("div", {
|
|
3934
|
-
className: modules_63b47c51$
|
|
3934
|
+
className: modules_63b47c51$2.list_item,
|
|
3935
3935
|
ref: sliderRef,
|
|
3936
3936
|
children: showTotalData.map(function(item) {
|
|
3937
3937
|
var span = item.name.replaceAll(new RegExp(keyWordProblem, "ig"), function(i) {
|
|
3938
|
-
return "<span class=".concat(modules_63b47c51$
|
|
3938
|
+
return "<span class=".concat(modules_63b47c51$2.sign, ">").concat(i, "</span>");
|
|
3939
3939
|
});
|
|
3940
3940
|
return /*#__PURE__*/ jsx(Fragment, {
|
|
3941
3941
|
children: /*#__PURE__*/ jsxs("div", {
|
|
3942
|
-
className: "".concat(modules_63b47c51$
|
|
3942
|
+
className: "".concat(modules_63b47c51$2.list_summary),
|
|
3943
3943
|
id: item.roomId,
|
|
3944
3944
|
onClick: function() {
|
|
3945
3945
|
enterTeacherChat(item);
|
|
3946
3946
|
},
|
|
3947
3947
|
children: [
|
|
3948
3948
|
/*#__PURE__*/ jsx("div", {
|
|
3949
|
-
className: modules_63b47c51$
|
|
3949
|
+
className: modules_63b47c51$2.head_img,
|
|
3950
3950
|
children: /*#__PURE__*/ jsx("img", {
|
|
3951
3951
|
src: item.headImg
|
|
3952
3952
|
})
|
|
3953
3953
|
}),
|
|
3954
3954
|
/*#__PURE__*/ jsx("div", {
|
|
3955
|
-
className: modules_63b47c51$
|
|
3955
|
+
className: modules_63b47c51$2.list_desc,
|
|
3956
3956
|
children: /*#__PURE__*/ jsx("p", {
|
|
3957
|
-
className: modules_63b47c51$
|
|
3957
|
+
className: modules_63b47c51$2.name,
|
|
3958
3958
|
style: {
|
|
3959
3959
|
width: "calc(100% - 36px)"
|
|
3960
3960
|
},
|
|
@@ -8082,7 +8082,7 @@ var ScreenShot = /*#__PURE__*/ function() {
|
|
|
8082
8082
|
return ScreenShot;
|
|
8083
8083
|
}();
|
|
8084
8084
|
|
|
8085
|
-
var styles = modules_63b47c51$
|
|
8085
|
+
var styles = modules_63b47c51$2;
|
|
8086
8086
|
var TextArea = Input.TextArea;
|
|
8087
8087
|
/*
|
|
8088
8088
|
自定义remarkable的text解析规则
|
|
@@ -12039,7 +12039,7 @@ window.appendDom = function(root, props) {
|
|
|
12039
12039
|
};
|
|
12040
12040
|
var CustomerService$1 = CustomerService;
|
|
12041
12041
|
|
|
12042
|
-
var modules_63b47c51 = {"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"};
|
|
12042
|
+
var modules_63b47c51$1 = {"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"};
|
|
12043
12043
|
|
|
12044
12044
|
var RangePicker = DatePicker.RangePicker;
|
|
12045
12045
|
var months = [
|
|
@@ -12234,22 +12234,22 @@ var BhdDatePicker = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
12234
12234
|
}
|
|
12235
12235
|
// 单选
|
|
12236
12236
|
if (kind === "single") {
|
|
12237
|
-
config.popupClassName = "\n ".concat(modules_63b47c51.bhdDatePickerPopup, " ").concat(modules_63b47c51.singlePicker, " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51.showExtraFooter : "");
|
|
12237
|
+
config.popupClassName = "\n ".concat(modules_63b47c51$1.bhdDatePickerPopup, " ").concat(modules_63b47c51$1.singlePicker, " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51$1.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51$1.showExtraFooter : "");
|
|
12238
12238
|
}
|
|
12239
12239
|
// 范围选择
|
|
12240
12240
|
if (kind === "range") {
|
|
12241
|
-
config.popupClassName = "".concat(modules_63b47c51.bhdDatePickerPopup, " ").concat(modules_63b47c51.rangePicker, " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51.showExtraFooter : "");
|
|
12241
|
+
config.popupClassName = "".concat(modules_63b47c51$1.bhdDatePickerPopup, " ").concat(modules_63b47c51$1.rangePicker, " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51$1.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51$1.showExtraFooter : "");
|
|
12242
12242
|
}
|
|
12243
12243
|
// 日常安排
|
|
12244
12244
|
if (kind === "extra") {
|
|
12245
12245
|
delete config.showTime; // 日程安排的时候,不允许展示时间面板
|
|
12246
12246
|
showTime = false; // 日程安排不选择时间
|
|
12247
|
-
config.popupClassName = "".concat(modules_63b47c51.bhdDatePickerPopup, " ").concat(modules_63b47c51.extraPicker, " ").concat(extraReadonly ? modules_63b47c51.readonly : "", " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51.showExtraFooter : "");
|
|
12247
|
+
config.popupClassName = "".concat(modules_63b47c51$1.bhdDatePickerPopup, " ").concat(modules_63b47c51$1.extraPicker, " ").concat(extraReadonly ? modules_63b47c51$1.readonly : "", " ").concat(popupClassName || "", " ").concat(showTime ? modules_63b47c51$1.showTime : "", " ").concat(renderExtraFooter ? modules_63b47c51$1.showExtraFooter : "");
|
|
12248
12248
|
if (extraReadonly) {
|
|
12249
12249
|
config.allowClear = false; // 日程安排查看时,不显示清除按钮
|
|
12250
12250
|
}
|
|
12251
12251
|
}
|
|
12252
|
-
config.popupClassName = "".concat(config.popupClassName, " ").concat(dropdownClassName, " ").concat(needConfirm ? "" : modules_63b47c51.noNeedConfirm, " ").concat(id);
|
|
12252
|
+
config.popupClassName = "".concat(config.popupClassName, " ").concat(dropdownClassName, " ").concat(needConfirm ? "" : modules_63b47c51$1.noNeedConfirm, " ").concat(id);
|
|
12253
12253
|
return config;
|
|
12254
12254
|
};
|
|
12255
12255
|
// 设置默认mode
|
|
@@ -12542,7 +12542,7 @@ var BhdDatePicker = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
12542
12542
|
}
|
|
12543
12543
|
};
|
|
12544
12544
|
return /*#__PURE__*/ jsxs("span", {
|
|
12545
|
-
className: "".concat(modules_63b47c51.bhdDatePicker),
|
|
12545
|
+
className: "".concat(modules_63b47c51$1.bhdDatePicker),
|
|
12546
12546
|
ref: bhdDatePickerRef,
|
|
12547
12547
|
children: [
|
|
12548
12548
|
(kind === "single" || kind === "extra") && /*#__PURE__*/ jsx(Fragment, {
|
|
@@ -12723,4 +12723,147 @@ var BhdDatePicker = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
12723
12723
|
});
|
|
12724
12724
|
var BhdDatePicker$1 = BhdDatePicker;
|
|
12725
12725
|
|
|
12726
|
-
|
|
12726
|
+
var modules_63b47c51 = {"BhdModalCropper":"index_module_BhdModalCropper__36cc44f0","cropperBox":"index_module_cropperBox__36cc44f0","cropperBtn":"index_module_cropperBtn__36cc44f0","icons":"index_module_icons__36cc44f0"};
|
|
12727
|
+
|
|
12728
|
+
var BhdModalCropper = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
12729
|
+
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 ? [
|
|
12730
|
+
"jpg",
|
|
12731
|
+
"png",
|
|
12732
|
+
"jpeg"
|
|
12733
|
+
] : _props_accept;
|
|
12734
|
+
useImperativeHandle(ref, function() {
|
|
12735
|
+
return {
|
|
12736
|
+
getCropper: function() {
|
|
12737
|
+
return cropperRef.current.cropper;
|
|
12738
|
+
},
|
|
12739
|
+
getSrc: function() {
|
|
12740
|
+
return cropperRef.current.cropper.getCroppedCanvas().toDataURL();
|
|
12741
|
+
}
|
|
12742
|
+
};
|
|
12743
|
+
});
|
|
12744
|
+
var _useState = _sliced_to_array(useState(props.imgSrc), 2), imgSrc = _useState[0], setImgSrc = _useState[1];
|
|
12745
|
+
var cropperRef = useRef(null);
|
|
12746
|
+
var enlarge = function() {
|
|
12747
|
+
console.dir(cropperRef.current);
|
|
12748
|
+
try {
|
|
12749
|
+
// 放大
|
|
12750
|
+
cropperRef.current.cropper.zoom(0.1);
|
|
12751
|
+
} catch (err) {
|
|
12752
|
+
console.log(err);
|
|
12753
|
+
}
|
|
12754
|
+
};
|
|
12755
|
+
var shrink = function() {
|
|
12756
|
+
try {
|
|
12757
|
+
// 缩小
|
|
12758
|
+
cropperRef.current.cropper.zoom(-0.1);
|
|
12759
|
+
} catch (err) {
|
|
12760
|
+
console.log(err);
|
|
12761
|
+
}
|
|
12762
|
+
};
|
|
12763
|
+
var customRequest = function(files) {
|
|
12764
|
+
var file = files.file;
|
|
12765
|
+
var flag = false;
|
|
12766
|
+
for(var i = 0; i < accept.length; i++){
|
|
12767
|
+
var reg = new RegExp("\\." + accept[i] + "$");
|
|
12768
|
+
if (reg.test(file.name)) {
|
|
12769
|
+
flag = true;
|
|
12770
|
+
break;
|
|
12771
|
+
}
|
|
12772
|
+
}
|
|
12773
|
+
if (file.size > uploadMaxSize || !flag) {
|
|
12774
|
+
var uploadMaxSizeStr = "";
|
|
12775
|
+
if (uploadMaxSize < 1024 * 1024) {
|
|
12776
|
+
uploadMaxSizeStr = "".concat(uploadMaxSize / 1024, "K");
|
|
12777
|
+
} else {
|
|
12778
|
+
uploadMaxSizeStr = "".concat(uploadMaxSize / 1024 / 1024, "M");
|
|
12779
|
+
}
|
|
12780
|
+
BhdTipModal$1.warning({
|
|
12781
|
+
title: "提示",
|
|
12782
|
+
content: "支持的图片格式为(".concat(accept.join("、"), "),大小限制为").concat(uploadMaxSizeStr)
|
|
12783
|
+
});
|
|
12784
|
+
return;
|
|
12785
|
+
}
|
|
12786
|
+
var reader = new FileReader();
|
|
12787
|
+
reader.onload = function customRequest(evt) {
|
|
12788
|
+
var replaceSrc = evt.target.result;
|
|
12789
|
+
setImgSrc(replaceSrc);
|
|
12790
|
+
};
|
|
12791
|
+
reader.readAsDataURL(file);
|
|
12792
|
+
};
|
|
12793
|
+
var getAcceptStr = function() {
|
|
12794
|
+
var str = "";
|
|
12795
|
+
accept.forEach(function(item, index) {
|
|
12796
|
+
str += ".".concat(item);
|
|
12797
|
+
if (index != accept.length - 1) {
|
|
12798
|
+
str += ",";
|
|
12799
|
+
}
|
|
12800
|
+
});
|
|
12801
|
+
return str;
|
|
12802
|
+
};
|
|
12803
|
+
return /*#__PURE__*/ jsx(Modal$1, _object_spread_props(_object_spread({}, props), {
|
|
12804
|
+
centered: centered,
|
|
12805
|
+
wrapClassName: "".concat(wrapClassName, " ").concat(modules_63b47c51.BhdModalCropper),
|
|
12806
|
+
width: width,
|
|
12807
|
+
children: open && /*#__PURE__*/ jsxs("div", {
|
|
12808
|
+
className: modules_63b47c51.cropperBox,
|
|
12809
|
+
children: [
|
|
12810
|
+
/*#__PURE__*/ jsx("div", {
|
|
12811
|
+
className: modules_63b47c51.cropperMain,
|
|
12812
|
+
children: /*#__PURE__*/ jsx(l, _object_spread_props(_object_spread({
|
|
12813
|
+
src: imgSrc,
|
|
12814
|
+
orginStyle: {
|
|
12815
|
+
width: 30,
|
|
12816
|
+
height: 20
|
|
12817
|
+
},
|
|
12818
|
+
background: false,
|
|
12819
|
+
aspectRatio: 80 / 80,
|
|
12820
|
+
guides: true,
|
|
12821
|
+
cropBoxMovable: false,
|
|
12822
|
+
cropBoxResizable: false,
|
|
12823
|
+
dragMode: "move",
|
|
12824
|
+
dragCrop: false,
|
|
12825
|
+
style: {
|
|
12826
|
+
width: "392px",
|
|
12827
|
+
height: "240px"
|
|
12828
|
+
}
|
|
12829
|
+
}, cropperProps), {
|
|
12830
|
+
ref: cropperRef
|
|
12831
|
+
}))
|
|
12832
|
+
}),
|
|
12833
|
+
/*#__PURE__*/ jsxs("div", {
|
|
12834
|
+
className: modules_63b47c51.cropperBtn,
|
|
12835
|
+
children: [
|
|
12836
|
+
/*#__PURE__*/ jsx(Upload, {
|
|
12837
|
+
fileList: [],
|
|
12838
|
+
accept: getAcceptStr(),
|
|
12839
|
+
customRequest: customRequest,
|
|
12840
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
12841
|
+
children: "重新上传"
|
|
12842
|
+
})
|
|
12843
|
+
}),
|
|
12844
|
+
/*#__PURE__*/ jsxs("div", {
|
|
12845
|
+
className: modules_63b47c51.icons,
|
|
12846
|
+
children: [
|
|
12847
|
+
/*#__PURE__*/ jsx("span", {
|
|
12848
|
+
onClick: function() {
|
|
12849
|
+
return enlarge();
|
|
12850
|
+
},
|
|
12851
|
+
children: /*#__PURE__*/ jsx(MinusOutlined, {})
|
|
12852
|
+
}),
|
|
12853
|
+
/*#__PURE__*/ jsx("span", {
|
|
12854
|
+
onClick: function() {
|
|
12855
|
+
return shrink();
|
|
12856
|
+
},
|
|
12857
|
+
children: /*#__PURE__*/ jsx(PlusOutlined, {})
|
|
12858
|
+
})
|
|
12859
|
+
]
|
|
12860
|
+
})
|
|
12861
|
+
]
|
|
12862
|
+
})
|
|
12863
|
+
]
|
|
12864
|
+
})
|
|
12865
|
+
}));
|
|
12866
|
+
});
|
|
12867
|
+
var BhdModalCropper$1 = BhdModalCropper;
|
|
12868
|
+
|
|
12869
|
+
export { BhdAppLayout, BhdDatePicker$1 as BhdDatePicker, Input as BhdEnterInput, BhdModalCropper$1 as BhdModalCropper, 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, message };
|