bhd-components 0.10.17 → 0.10.19

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.
@@ -23,8 +23,6 @@ var References = function(props) {
23
23
  /*#__PURE__*/ _jsx("div", {
24
24
  className: "".concat(getCls("footerReferences_right")),
25
25
  children: /*#__PURE__*/ _jsx(CloseCircleFilled, {
26
- onPointerEnterCapture: undefined,
27
- onPointerLeaveCapture: undefined,
28
26
  onClick: function() {
29
27
  return deleteReferences();
30
28
  }
@@ -57,8 +55,6 @@ var References = function(props) {
57
55
  /*#__PURE__*/ _jsx("div", {
58
56
  className: "".concat(getCls("footerReferences_right")),
59
57
  children: /*#__PURE__*/ _jsx(CloseCircleFilled, {
60
- onPointerEnterCapture: undefined,
61
- onPointerLeaveCapture: undefined,
62
58
  onClick: function() {
63
59
  return deleteReferences();
64
60
  }
@@ -186,7 +186,6 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
186
186
  }
187
187
  var list = [];
188
188
  if (msg.location === "right" && msg.fileList && msg.fileList.length > 0) {
189
- console.log("fileList", msg, msg.fileList);
190
189
  msg.fileList.map(function(item) {
191
190
  list.push({
192
191
  type: "file",
@@ -221,7 +220,6 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
221
220
  setLoading(true);
222
221
  return getList(page, pageSize).then(function(listObj) {
223
222
  setLoading(false);
224
- console.log("listObjlistObj", listObj);
225
223
  setDataSource(function(data) {
226
224
  return _to_consumable_array(data).concat(_to_consumable_array(listObj.dataSource));
227
225
  });
@@ -361,7 +359,6 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
361
359
  var topDom = dom.querySelector("." + styles["msgItem-action-popover-floatTop"]);
362
360
  var bottomDom = dom.querySelector("." + styles["msgItem-action-popover-floatBottom"]);
363
361
  if (!topDom || !bottomDom) return;
364
- console.log("itemitem", dom, container);
365
362
  var con_obj = container.getBoundingClientRect(); // 外层盒子
366
363
  var dom_obj = dom.getBoundingClientRect(); // 鼠标滑过元素
367
364
  var y = dom_obj.y - con_obj.y;
@@ -377,7 +374,6 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
377
374
  topDom.style.cssText = "display:flex";
378
375
  }
379
376
  } else {
380
- console.log("yyyy", y, dom_obj, con_obj, y + dom_obj.height < con_obj.height);
381
377
  // 元素top不在可视区域内
382
378
  if (y + dom_obj.height < con_obj.height) {
383
379
  // 底部在可视区域内
@@ -110,7 +110,7 @@ export interface sendMsgAjaxParams {
110
110
  beforeInfo: any
111
111
  ) => string;
112
112
  onOpen?: (res: Response, onOpenProps: onOpenProps) => void;
113
- onMessage?: (ev: EventSourceMessage,closeCallback:()=>void) => { id: string; content: string };
113
+ onMessage?: (ev: EventSourceMessage,closeCallback:()=>void,bodyParams:string,msgId:string) => { id: string; content: string };
114
114
  onClose?: () => void;
115
115
  onError?: (err: any) => void;
116
116
  coverProps?: object;
@@ -203,6 +203,7 @@ export interface fileListProps {
203
203
  fileUpload: fileUploadProps;
204
204
  errorCallback: (error: errorMessageProps) => void;
205
205
  changeFileCanSending: (flag: boolean) => void;
206
+ onChange:(obj:{page:number,pageSize:number,fileList:fileCustomProps[]})=>void
206
207
  }
207
208
 
208
209
  // file 自定义对象
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.10.17",
3
+ "version": "0.10.19",
4
4
  "description": "组件功能描述",
5
5
  "config": {
6
6
  "commitizen": {