bhd-components 0.10.16 → 0.10.17
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.js +8 -3
- package/dist/index.esm.es5.production.js +1 -1
- package/dist/vendor.esm.es5.development.js +1 -1
- package/dist/vendor.esm.es5.production.js +1 -1
- package/es2017/AIMessageList/components/virtuosoList/index.js +8 -3
- package/esm/AIMessageList/components/virtuosoList/index.js +8 -3
- package/package.json +1 -1
|
@@ -14597,9 +14597,14 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
14597
14597
|
topDom.style.cssText = "";
|
|
14598
14598
|
};
|
|
14599
14599
|
var renderAction = function(location, item) {
|
|
14600
|
-
if (item.id === "inputing" || item.id === "helloMsg" || item.id === recordRef.current.sendingId || item.hideAction)
|
|
14601
|
-
|
|
14602
|
-
|
|
14600
|
+
if (item.id === "inputing" || item.id === "helloMsg" || item.id === recordRef.current.sendingId || item.hideAction) {
|
|
14601
|
+
if (location === "floatBottom") {
|
|
14602
|
+
return /*#__PURE__*/ jsx("div", {
|
|
14603
|
+
className: "".concat(getCls("msgItem-action-empty"))
|
|
14604
|
+
});
|
|
14605
|
+
}
|
|
14606
|
+
return null;
|
|
14607
|
+
}
|
|
14603
14608
|
var copyNode = /*#__PURE__*/ jsx(CopyIcon$1, {
|
|
14604
14609
|
prefix: prefix,
|
|
14605
14610
|
content: item.content
|