bhd-components 0.7.28 → 0.7.30
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/{27cf2e80.esm.es5.production.js → 381883fc.esm.es5.production.js} +1 -1
- package/dist/{4461b1a8.esm.es5.development.js → a38afcaf.esm.es5.development.js} +1 -1
- package/dist/index.esm.es5.development.css +1013 -997
- package/dist/index.esm.es5.development.js +8 -6
- package/dist/index.esm.es5.production.css +1 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/es2017/customerService/function.js +3 -1
- package/es2017/customerService/index.js +2 -2
- package/es2017/customerService/index.module.less +7 -0
- package/es2017/customerService/index2.module.less +7 -0
- package/esm/customerService/function.js +3 -1
- package/esm/customerService/index.js +2 -2
- package/esm/customerService/index.module.less +7 -0
- package/esm/customerService/index2.module.less +7 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as zhCN, C as ConfigProvider, _ as _extends, a as _object_destructuring_empty, j as jsx, b as _object_spread_props, S as StyleProvider, t as transform, c as _object_spread, d as _sliced_to_array, T as Tooltip, e as Table$2, I as Icon, f as jsxs, m as message, E as ExclamationCircleFilled, P as Pagination, g as Select, h as CaretDownOutlined, M as Modal, i as _inherits, k as _create_super, l as _create_class, n as _class_call_check, o as _define_property, p as _assert_this_initialized, q as _async_to_generator, L as LeftOutlined, R as RightOutlined, r as MinusOutlined, s as PlusOutlined, u as __generator, v as Input, w as SearchOutlined, x as CloseOutlined, X, y as I, H, A as Remarkable, D as Drawer, B as HighlightJS, Z as ZoomInOutlined, F as _to_consumable_array } from './
|
|
2
|
-
export { G as Affix, J as Alert, K as Anchor, aF as App, N as AutoComplete, O as Avatar, U as BackTop, V as Badge, W as Breadcrumb, Y as Button, $ as Calendar, a0 as Card, a1 as Carousel, a2 as Cascader, a3 as Checkbox, a4 as Col, a5 as Collapse, a6 as DatePicker, a7 as Descriptions, a8 as Divider, D as Drawer, a9 as Dropdown, aa as Empty, Q as FloatButton, ab as Form, ac as Grid, ad as Image, v as Input, ae as InputNumber, af as Layout, ag as List, ah as Mentions, ai as Menu, M as Modal, ak as Popconfirm, al as Popover, am as Progress, aM as QRCode, an as Radio, ao as Rate, ap as Result, aq as Row, ar as Segmented, g as Select, as as Skeleton, at as Slider, au as Space, av as Spin, aw as Statistic, ax as Steps, ay as Switch, az as Tabs, aA as Tag, aC as TimePicker, aD as Timeline, T as Tooltip, aE as Tour, aG as Transfer, aH as Tree, aI as TreeSelect, aJ as Typography, aK as Upload, aL as Watermark, aO as en_US, aj as notification, aB as theme, aN as version, z as zh_CN } from './
|
|
1
|
+
import { z as zhCN, C as ConfigProvider, _ as _extends, a as _object_destructuring_empty, j as jsx, b as _object_spread_props, S as StyleProvider, t as transform, c as _object_spread, d as _sliced_to_array, T as Tooltip, e as Table$2, I as Icon, f as jsxs, m as message, E as ExclamationCircleFilled, P as Pagination, g as Select, h as CaretDownOutlined, M as Modal, i as _inherits, k as _create_super, l as _create_class, n as _class_call_check, o as _define_property, p as _assert_this_initialized, q as _async_to_generator, L as LeftOutlined, R as RightOutlined, r as MinusOutlined, s as PlusOutlined, u as __generator, v as Input, w as SearchOutlined, x as CloseOutlined, X, y as I, H, A as Remarkable, D as Drawer, B as HighlightJS, Z as ZoomInOutlined, F as _to_consumable_array } from './a38afcaf.esm.es5.development.js';
|
|
2
|
+
export { G as Affix, J as Alert, K as Anchor, aF as App, N as AutoComplete, O as Avatar, U as BackTop, V as Badge, W as Breadcrumb, Y as Button, $ as Calendar, a0 as Card, a1 as Carousel, a2 as Cascader, a3 as Checkbox, a4 as Col, a5 as Collapse, a6 as DatePicker, a7 as Descriptions, a8 as Divider, D as Drawer, a9 as Dropdown, aa as Empty, Q as FloatButton, ab as Form, ac as Grid, ad as Image, v as Input, ae as InputNumber, af as Layout, ag as List, ah as Mentions, ai as Menu, M as Modal, ak as Popconfirm, al as Popover, am as Progress, aM as QRCode, an as Radio, ao as Rate, ap as Result, aq as Row, ar as Segmented, g as Select, as as Skeleton, at as Slider, au as Space, av as Spin, aw as Statistic, ax as Steps, ay as Switch, az as Tabs, aA as Tag, aC as TimePicker, aD as Timeline, T as Tooltip, aE as Tour, aG as Transfer, aH as Tree, aI as TreeSelect, aJ as Typography, aK as Upload, aL as Watermark, aO as en_US, aj as notification, aB as theme, aN as version, z as zh_CN } from './a38afcaf.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';
|
|
@@ -2377,7 +2377,7 @@ function BhdAppLayout(props) {
|
|
|
2377
2377
|
});
|
|
2378
2378
|
}
|
|
2379
2379
|
|
|
2380
|
-
var modules_63b47c51 = {"service_ChatWindow_Drawer":"
|
|
2380
|
+
var modules_63b47c51 = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__1cdd11a9","ChatWindow_Modal":"index_module_ChatWindow_Modal__1cdd11a9","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__1cdd11a9","header_wrap":"index_module_header_wrap__1cdd11a9","top":"index_module_top__1cdd11a9","user":"index_module_user__1cdd11a9","count":"index_module_count__1cdd11a9","operate":"index_module_operate__1cdd11a9","line":"index_module_line__1cdd11a9","popover_main":"index_module_popover_main__1cdd11a9","popover":"index_module_popover__1cdd11a9","header_wrap_newlabo":"index_module_header_wrap_newlabo__1cdd11a9","Drawer_main":"index_module_Drawer_main__1cdd11a9","loading":"index_module_loading__1cdd11a9","message_con":"index_module_message_con__1cdd11a9","left":"index_module_left__1cdd11a9","head_sculpture":"index_module_head_sculpture__1cdd11a9","main_content":"index_module_main_content__1cdd11a9","right":"index_module_right__1cdd11a9","main":"index_module_main__1cdd11a9","main_content_flag":"index_module_main_content_flag__1cdd11a9","operate_modal":"index_module_operate_modal__1cdd11a9","operate_modal_bottom":"index_module_operate_modal_bottom__1cdd11a9","active":"index_module_active__1cdd11a9","stop_generate":"index_module_stop_generate__1cdd11a9","icon":"index_module_icon__1cdd11a9","find_teacher":"index_module_find_teacher__1cdd11a9","stop_findTeacher":"index_module_stop_findTeacher__1cdd11a9","content":"index_module_content__1cdd11a9","content_child":"index_module_content_child__1cdd11a9","find_teacher_con":"index_module_find_teacher_con__1cdd11a9","sign":"index_module_sign__1cdd11a9","ask_question":"index_module_ask_question__1cdd11a9","association_problem":"index_module_association_problem__1cdd11a9","association_problem_flag":"index_module_association_problem_flag__1cdd11a9","related_issues_flag":"index_module_related_issues_flag__1cdd11a9","img_con":"index_module_img_con__1cdd11a9","mask_zoom":"index_module_mask_zoom__1cdd11a9","img_con2":"index_module_img_con2__1cdd11a9","copyCode":"index_module_copyCode__1cdd11a9","time":"index_module_time__1cdd11a9","citation_content":"index_module_citation_content__1cdd11a9","text_exceed":"index_module_text_exceed__1cdd11a9","popover_content":"index_module_popover_content__1cdd11a9","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__1cdd11a9","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__1cdd11a9","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__1cdd11a9","issues_list_teacherList":"index_module_issues_list_teacherList__1cdd11a9","item":"index_module_item__1cdd11a9","issues_list":"index_module_issues_list__1cdd11a9","issues_list_flag":"index_module_issues_list_flag__1cdd11a9","Drawer_buttom":"index_module_Drawer_buttom__1cdd11a9","input_wrap":"index_module_input_wrap__1cdd11a9","input":"index_module_input__1cdd11a9","picture_layout":"index_module_picture_layout__1cdd11a9","icon_close":"index_module_icon_close__1cdd11a9","icon_zoom":"index_module_icon_zoom__1cdd11a9","anticon":"index_module_anticon__1cdd11a9","no_AI":"index_module_no_AI__1cdd11a9","screenshot":"index_module_screenshot__1cdd11a9","disabled":"index_module_disabled__1cdd11a9","content_main":"index_module_content_main__1cdd11a9","content_con":"index_module_content_con__1cdd11a9","delete_quote":"index_module_delete_quote__1cdd11a9","sending":"index_module_sending__1cdd11a9","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__1cdd11a9","main_list":"index_module_main_list__1cdd11a9","chat_content":"index_module_chat_content__1cdd11a9","popover_main_content":"index_module_popover_main_content__1cdd11a9","popover_main_content_name":"index_module_popover_main_content_name__1cdd11a9","teacher_layout":"index_module_teacher_layout__1cdd11a9","bottom":"index_module_bottom__1cdd11a9","delete":"index_module_delete__1cdd11a9","num":"index_module_num__1cdd11a9","shrink":"index_module_shrink__1cdd11a9","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__1cdd11a9","teacher_layout_modal":"index_module_teacher_layout_modal__1cdd11a9","ai":"index_module_ai__1cdd11a9","user_info":"index_module_user_info__1cdd11a9","message":"index_module_message__1cdd11a9","con":"index_module_con__1cdd11a9","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__1cdd11a9","history_list":"index_module_history_list__1cdd11a9","search_layout":"index_module_search_layout__1cdd11a9","mymove":"index_module_mymove__1cdd11a9","title":"index_module_title__1cdd11a9","search_top":"index_module_search_top__1cdd11a9","list_item":"index_module_list_item__1cdd11a9","list_summary":"index_module_list_summary__1cdd11a9","head_img":"index_module_head_img__1cdd11a9","list_desc":"index_module_list_desc__1cdd11a9","name":"index_module_name__1cdd11a9","decs":"index_module_decs__1cdd11a9","open":"index_module_open__1cdd11a9","list_summary_active":"index_module_list_summary_active__1cdd11a9","list_detail":"index_module_list_detail__1cdd11a9","list":"index_module_list__1cdd11a9","list_more":"index_module_list_more__1cdd11a9","no_data":"index_module_no_data__1cdd11a9","history_list_broadside":"index_module_history_list_broadside__1cdd11a9","teacher_list":"index_module_teacher_list__1cdd11a9","screenshot_Modal":"index_module_screenshot_Modal__1cdd11a9","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__1cdd11a9"};
|
|
2381
2381
|
|
|
2382
2382
|
//消息已读
|
|
2383
2383
|
var readMessage = function(roomId, urllocation, userData, http) {
|
|
@@ -2503,9 +2503,11 @@ var delegate = function(element, eventType, selector, callback) {
|
|
|
2503
2503
|
var formatDate = function(dateStr) {
|
|
2504
2504
|
var today = new Date();
|
|
2505
2505
|
var date = new Date(dateStr);
|
|
2506
|
+
var isSameDay = today.getFullYear() === date.getFullYear() && today.getMonth() === date.getMonth() && today.getDate() === date.getDate();
|
|
2506
2507
|
var dayDiff = Math.ceil((today - date) / (1000 * 60 * 60 * 24)); // 计算天数差
|
|
2508
|
+
// 判断当前的日期 是否于传入的日期为同一天 同一天则显示时间 不是同一天则判断是否超过一周
|
|
2507
2509
|
// console.log(dayDiff,'dayDiffdayDiff',today,'___',date);
|
|
2508
|
-
if (
|
|
2510
|
+
if (isSameDay) {
|
|
2509
2511
|
// 今天
|
|
2510
2512
|
return date.toLocaleTimeString("zh-CN", {
|
|
2511
2513
|
hour12: false
|
|
@@ -6304,11 +6306,11 @@ var CustomerService = function(props) {
|
|
|
6304
6306
|
children: [
|
|
6305
6307
|
/*#__PURE__*/ jsxs("p", {
|
|
6306
6308
|
onClick: function() {
|
|
6307
|
-
sendScreenshotData("
|
|
6309
|
+
sendScreenshotData("讲解图片里的知识点");
|
|
6308
6310
|
},
|
|
6309
6311
|
children: [
|
|
6310
6312
|
/*#__PURE__*/ jsx(CustomKnowledgeContent$1, {}),
|
|
6311
|
-
"
|
|
6313
|
+
"讲解图片里的知识点"
|
|
6312
6314
|
]
|
|
6313
6315
|
}),
|
|
6314
6316
|
/*#__PURE__*/ jsx("br", {}),
|