bhd-components 0.7.28 → 0.7.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.
@@ -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 './4461b1a8.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 './4461b1a8.esm.es5.development.js';
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 './4e438177.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 './4e438177.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":"index_module_service_ChatWindow_Drawer__d52c4a59","ChatWindow_Modal":"index_module_ChatWindow_Modal__d52c4a59","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__d52c4a59","header_wrap":"index_module_header_wrap__d52c4a59","top":"index_module_top__d52c4a59","user":"index_module_user__d52c4a59","count":"index_module_count__d52c4a59","operate":"index_module_operate__d52c4a59","line":"index_module_line__d52c4a59","popover_main":"index_module_popover_main__d52c4a59","popover":"index_module_popover__d52c4a59","header_wrap_newlabo":"index_module_header_wrap_newlabo__d52c4a59","Drawer_main":"index_module_Drawer_main__d52c4a59","loading":"index_module_loading__d52c4a59","message_con":"index_module_message_con__d52c4a59","left":"index_module_left__d52c4a59","head_sculpture":"index_module_head_sculpture__d52c4a59","main_content":"index_module_main_content__d52c4a59","right":"index_module_right__d52c4a59","main":"index_module_main__d52c4a59","main_content_flag":"index_module_main_content_flag__d52c4a59","operate_modal":"index_module_operate_modal__d52c4a59","operate_modal_bottom":"index_module_operate_modal_bottom__d52c4a59","active":"index_module_active__d52c4a59","stop_generate":"index_module_stop_generate__d52c4a59","icon":"index_module_icon__d52c4a59","find_teacher":"index_module_find_teacher__d52c4a59","stop_findTeacher":"index_module_stop_findTeacher__d52c4a59","content":"index_module_content__d52c4a59","content_child":"index_module_content_child__d52c4a59","find_teacher_con":"index_module_find_teacher_con__d52c4a59","sign":"index_module_sign__d52c4a59","ask_question":"index_module_ask_question__d52c4a59","association_problem":"index_module_association_problem__d52c4a59","association_problem_flag":"index_module_association_problem_flag__d52c4a59","related_issues_flag":"index_module_related_issues_flag__d52c4a59","img_con":"index_module_img_con__d52c4a59","mask_zoom":"index_module_mask_zoom__d52c4a59","img_con2":"index_module_img_con2__d52c4a59","copyCode":"index_module_copyCode__d52c4a59","time":"index_module_time__d52c4a59","citation_content":"index_module_citation_content__d52c4a59","text_exceed":"index_module_text_exceed__d52c4a59","popover_content":"index_module_popover_content__d52c4a59","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__d52c4a59","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__d52c4a59","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__d52c4a59","issues_list_teacherList":"index_module_issues_list_teacherList__d52c4a59","item":"index_module_item__d52c4a59","issues_list":"index_module_issues_list__d52c4a59","issues_list_flag":"index_module_issues_list_flag__d52c4a59","Drawer_buttom":"index_module_Drawer_buttom__d52c4a59","input_wrap":"index_module_input_wrap__d52c4a59","input":"index_module_input__d52c4a59","picture_layout":"index_module_picture_layout__d52c4a59","icon_close":"index_module_icon_close__d52c4a59","icon_zoom":"index_module_icon_zoom__d52c4a59","anticon":"index_module_anticon__d52c4a59","no_AI":"index_module_no_AI__d52c4a59","screenshot":"index_module_screenshot__d52c4a59","disabled":"index_module_disabled__d52c4a59","content_main":"index_module_content_main__d52c4a59","content_con":"index_module_content_con__d52c4a59","delete_quote":"index_module_delete_quote__d52c4a59","sending":"index_module_sending__d52c4a59","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__d52c4a59","main_list":"index_module_main_list__d52c4a59","chat_content":"index_module_chat_content__d52c4a59","popover_main_content":"index_module_popover_main_content__d52c4a59","popover_main_content_name":"index_module_popover_main_content_name__d52c4a59","teacher_layout":"index_module_teacher_layout__d52c4a59","bottom":"index_module_bottom__d52c4a59","delete":"index_module_delete__d52c4a59","num":"index_module_num__d52c4a59","shrink":"index_module_shrink__d52c4a59","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__d52c4a59","teacher_layout_modal":"index_module_teacher_layout_modal__d52c4a59","ai":"index_module_ai__d52c4a59","user_info":"index_module_user_info__d52c4a59","message":"index_module_message__d52c4a59","con":"index_module_con__d52c4a59","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__d52c4a59","history_list":"index_module_history_list__d52c4a59","search_layout":"index_module_search_layout__d52c4a59","mymove":"index_module_mymove__d52c4a59","title":"index_module_title__d52c4a59","search_top":"index_module_search_top__d52c4a59","list_item":"index_module_list_item__d52c4a59","list_summary":"index_module_list_summary__d52c4a59","head_img":"index_module_head_img__d52c4a59","list_desc":"index_module_list_desc__d52c4a59","name":"index_module_name__d52c4a59","decs":"index_module_decs__d52c4a59","open":"index_module_open__d52c4a59","list_summary_active":"index_module_list_summary_active__d52c4a59","list_detail":"index_module_list_detail__d52c4a59","list":"index_module_list__d52c4a59","list_more":"index_module_list_more__d52c4a59","no_data":"index_module_no_data__d52c4a59","history_list_broadside":"index_module_history_list_broadside__d52c4a59","teacher_list":"index_module_teacher_list__d52c4a59","screenshot_Modal":"index_module_screenshot_Modal__d52c4a59","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__d52c4a59"};
2380
+ var modules_63b47c51 = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__91befa7f","ChatWindow_Modal":"index_module_ChatWindow_Modal__91befa7f","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__91befa7f","header_wrap":"index_module_header_wrap__91befa7f","top":"index_module_top__91befa7f","user":"index_module_user__91befa7f","count":"index_module_count__91befa7f","operate":"index_module_operate__91befa7f","line":"index_module_line__91befa7f","popover_main":"index_module_popover_main__91befa7f","popover":"index_module_popover__91befa7f","header_wrap_newlabo":"index_module_header_wrap_newlabo__91befa7f","Drawer_main":"index_module_Drawer_main__91befa7f","loading":"index_module_loading__91befa7f","message_con":"index_module_message_con__91befa7f","left":"index_module_left__91befa7f","head_sculpture":"index_module_head_sculpture__91befa7f","main_content":"index_module_main_content__91befa7f","right":"index_module_right__91befa7f","main":"index_module_main__91befa7f","main_content_flag":"index_module_main_content_flag__91befa7f","operate_modal":"index_module_operate_modal__91befa7f","operate_modal_bottom":"index_module_operate_modal_bottom__91befa7f","active":"index_module_active__91befa7f","stop_generate":"index_module_stop_generate__91befa7f","icon":"index_module_icon__91befa7f","find_teacher":"index_module_find_teacher__91befa7f","stop_findTeacher":"index_module_stop_findTeacher__91befa7f","content":"index_module_content__91befa7f","content_child":"index_module_content_child__91befa7f","find_teacher_con":"index_module_find_teacher_con__91befa7f","sign":"index_module_sign__91befa7f","ask_question":"index_module_ask_question__91befa7f","association_problem":"index_module_association_problem__91befa7f","association_problem_flag":"index_module_association_problem_flag__91befa7f","related_issues_flag":"index_module_related_issues_flag__91befa7f","img_con":"index_module_img_con__91befa7f","mask_zoom":"index_module_mask_zoom__91befa7f","img_con2":"index_module_img_con2__91befa7f","copyCode":"index_module_copyCode__91befa7f","time":"index_module_time__91befa7f","citation_content":"index_module_citation_content__91befa7f","text_exceed":"index_module_text_exceed__91befa7f","popover_content":"index_module_popover_content__91befa7f","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__91befa7f","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__91befa7f","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__91befa7f","issues_list_teacherList":"index_module_issues_list_teacherList__91befa7f","item":"index_module_item__91befa7f","issues_list":"index_module_issues_list__91befa7f","issues_list_flag":"index_module_issues_list_flag__91befa7f","Drawer_buttom":"index_module_Drawer_buttom__91befa7f","input_wrap":"index_module_input_wrap__91befa7f","input":"index_module_input__91befa7f","picture_layout":"index_module_picture_layout__91befa7f","icon_close":"index_module_icon_close__91befa7f","icon_zoom":"index_module_icon_zoom__91befa7f","anticon":"index_module_anticon__91befa7f","no_AI":"index_module_no_AI__91befa7f","screenshot":"index_module_screenshot__91befa7f","disabled":"index_module_disabled__91befa7f","content_main":"index_module_content_main__91befa7f","content_con":"index_module_content_con__91befa7f","delete_quote":"index_module_delete_quote__91befa7f","sending":"index_module_sending__91befa7f","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__91befa7f","main_list":"index_module_main_list__91befa7f","chat_content":"index_module_chat_content__91befa7f","popover_main_content":"index_module_popover_main_content__91befa7f","popover_main_content_name":"index_module_popover_main_content_name__91befa7f","teacher_layout":"index_module_teacher_layout__91befa7f","bottom":"index_module_bottom__91befa7f","delete":"index_module_delete__91befa7f","num":"index_module_num__91befa7f","shrink":"index_module_shrink__91befa7f","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__91befa7f","teacher_layout_modal":"index_module_teacher_layout_modal__91befa7f","ai":"index_module_ai__91befa7f","user_info":"index_module_user_info__91befa7f","message":"index_module_message__91befa7f","con":"index_module_con__91befa7f","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__91befa7f","history_list":"index_module_history_list__91befa7f","search_layout":"index_module_search_layout__91befa7f","mymove":"index_module_mymove__91befa7f","title":"index_module_title__91befa7f","search_top":"index_module_search_top__91befa7f","list_item":"index_module_list_item__91befa7f","list_summary":"index_module_list_summary__91befa7f","head_img":"index_module_head_img__91befa7f","list_desc":"index_module_list_desc__91befa7f","name":"index_module_name__91befa7f","decs":"index_module_decs__91befa7f","open":"index_module_open__91befa7f","list_summary_active":"index_module_list_summary_active__91befa7f","list_detail":"index_module_list_detail__91befa7f","list":"index_module_list__91befa7f","list_more":"index_module_list_more__91befa7f","no_data":"index_module_no_data__91befa7f","history_list_broadside":"index_module_history_list_broadside__91befa7f","teacher_list":"index_module_teacher_list__91befa7f","screenshot_Modal":"index_module_screenshot_Modal__91befa7f","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__91befa7f"};
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 (dayDiff === 0 || dayDiff === 1) {
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", {}),