bhd-components 0.11.23 → 0.11.24

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.
@@ -15312,6 +15312,7 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
15312
15312
  });
15313
15313
  }
15314
15314
  }
15315
+ var actionNode = renderAction("node", item);
15315
15316
  // 是否显示时间
15316
15317
  var itemNode = /*#__PURE__*/ jsx("div", {
15317
15318
  className: "".concat(getCls("msgItem"), " ").concat(item.location === "left" ? getCls("msgItem-left") : getCls("msgItem-right"), " ").concat(isLast ? getCls("msgItem-last") : ""),
@@ -15339,7 +15340,7 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
15339
15340
  }),
15340
15341
  item.location === "left" && renderAction("floatBottom", item),
15341
15342
  renderReference(item),
15342
- renderItemBottom && renderItemBottom(item)
15343
+ renderItemBottom && renderItemBottom(item, actionNode)
15343
15344
  ]
15344
15345
  })
15345
15346
  });
@@ -15530,6 +15531,26 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
15530
15531
  var index = recordRef.current.dataSource.findIndex(function(ite) {
15531
15532
  return ite.id == item.id;
15532
15533
  });
15534
+ if (location === "node") {
15535
+ if (item.id !== "helloMsg" && item.id !== "inputing") {
15536
+ return /*#__PURE__*/ jsxs("div", {
15537
+ className: "".concat(getCls("msgItem-action")),
15538
+ children: [
15539
+ /*#__PURE__*/ jsx("div", {
15540
+ className: "".concat(getCls("msgItem-action-left")),
15541
+ children: leftNodes
15542
+ }),
15543
+ /*#__PURE__*/ jsxs("div", {
15544
+ className: "".concat(getCls("msgItem-action-right")),
15545
+ children: [
15546
+ RefreshNode,
15547
+ rightNodes
15548
+ ]
15549
+ })
15550
+ ]
15551
+ });
15552
+ }
15553
+ }
15533
15554
  if (location === "bottom") {
15534
15555
  if (item.location === "left" && item.id !== "helloMsg" && item.id !== "inputing") {
15535
15556
  if (index === recordRef.current.dataSource.length - 1) {