bhd-components 0.10.20 → 0.10.21
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 +9 -6
- 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/footer/index.js +9 -6
- package/esm/AIMessageList/components/footer/index.js +9 -6
- package/package.json +1 -1
|
@@ -15657,15 +15657,18 @@ var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
15657
15657
|
});
|
|
15658
15658
|
}
|
|
15659
15659
|
var msgContent = "";
|
|
15660
|
+
var sendValue = recordRef.current.value;
|
|
15661
|
+
var referencesSourceValue = recordRef.current.referencesSource;
|
|
15662
|
+
var fileListValue = fileListRef.current ? fileListRef.current.getFileList() : [];
|
|
15660
15663
|
setSending(true);
|
|
15661
15664
|
setTextValue("");
|
|
15662
15665
|
fileListRef.current.clearFileList();
|
|
15663
15666
|
setReferencesSource(null);
|
|
15664
15667
|
var recordMsgObj = {};
|
|
15665
15668
|
var arg = [
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
+
sendValue,
|
|
15670
|
+
referencesSourceValue,
|
|
15671
|
+
fileListValue
|
|
15669
15672
|
];
|
|
15670
15673
|
if (recordObj) {
|
|
15671
15674
|
arg = [
|
|
@@ -15675,9 +15678,9 @@ var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
15675
15678
|
];
|
|
15676
15679
|
} else {
|
|
15677
15680
|
arg = [
|
|
15678
|
-
|
|
15679
|
-
|
|
15680
|
-
|
|
15681
|
+
sendValue,
|
|
15682
|
+
referencesSourceValue,
|
|
15683
|
+
fileListValue
|
|
15681
15684
|
];
|
|
15682
15685
|
}
|
|
15683
15686
|
beforeSendMsg.apply(void 0, _to_consumable_array(arg)).then(function(beforeInfo) {
|