@agilemotion/oui-react-js 1.8.53 → 1.8.54

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.
@@ -87,6 +87,7 @@ const TableCellContent = /*#__PURE__*/_react.default.memo(/*#__PURE__*/_react.de
87
87
  e.attributes.style.minWidth = e.attributes.style.minWidth ? e.attributes.style.minWidth : 0;
88
88
  e.attributes.style.width = e.attributes.style.width ? e.attributes.style.width : 'calc(100% - 8px)';
89
89
  e.attributes.containerStyle.minWidth = e.attributes.containerStyle.minWidth ? e.attributes.containerStyle.minWidth : 0;
90
+ e.rowId = props.row.id;
90
91
  setEditor(e);
91
92
  // This forces the editable grid to validate its initial value
92
93
  let value = _Utils.default.readNestedProperty(props.row, props.dataBinding);
@@ -115,7 +115,7 @@ const DocumentUpload = props => {
115
115
  const accessToken = sessionStorage.getItem("accessToken");
116
116
  const idToken = sessionStorage.getItem("idToken");
117
117
  let data = new FormData();
118
- metadata.correlationId = props.viewId + "." + props.config.id + "-" + file.name;
118
+ metadata.correlationId = props.viewId + "." + props.config.id + (props.config.rowId ? "." + props.config.rowId : "") + "-" + file.name;
119
119
  data.append("metadata", JSON.stringify(metadata));
120
120
  data.append("file", file);
121
121
  let fetchConfig = {
@@ -84,7 +84,7 @@ const DocumentUpload = exports.DocumentUpload = /*#__PURE__*/_react.default.memo
84
84
  const accessToken = sessionStorage.getItem("accessToken");
85
85
  const idToken = sessionStorage.getItem("idToken");
86
86
  let data = new FormData();
87
- metadata.correlationId = props.viewId + "." + props.config.id;
87
+ metadata.correlationId = props.viewId + "." + props.config.id + (props.config.rowId ? "." + props.config.rowId : "");
88
88
  data.append("metadata", JSON.stringify(metadata));
89
89
  data.append("file", file);
90
90
  let fetchConfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agilemotion/oui-react-js",
3
- "version": "1.8.53",
3
+ "version": "1.8.54",
4
4
  "description": "AgileMotion React UI Component Library - A comprehensive collection of dashboard components, forms, media controls, and more",
5
5
  "license": "ISC",
6
6
  "author": "",