@agilemotion/oui-react-js 1.8.53 → 1.8.55

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);
@@ -76,7 +76,7 @@ const useStyles = (0, _styles.makeStyles)(theme => ({
76
76
  borderTop: '1px solid #e1e1e1'
77
77
  },
78
78
  paletteButton: {
79
- width: '270px',
79
+ width: '256px',
80
80
  height: '40px',
81
81
  backgroundColor: '#e1e1e1',
82
82
  margin: '4px',
@@ -88,7 +88,7 @@ const useStyles = (0, _styles.makeStyles)(theme => ({
88
88
  '&:hover': {
89
89
  backgroundColor: 'yellowgreen'
90
90
  },
91
- width: '270px',
91
+ width: '256px',
92
92
  height: '40px',
93
93
  backgroundColor: 'yellowgreen',
94
94
  margin: '4px',
@@ -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 = {
@@ -36,7 +36,6 @@ const SigPropsLookupField = props => {
36
36
  const [open, setOpen] = _react.default.useState(false);
37
37
  const formHandle = _react.default.useRef({});
38
38
  _react.default.useEffect(() => {
39
- console.log("NEW PROPS VAL : ", props.value);
40
39
  setValue(props.value);
41
40
  formHandle.current.api.model = {
42
41
  signatory: props.value
@@ -80,10 +79,10 @@ const SigPropsLookupField = props => {
80
79
  })), !props.signatorySearchForm && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("table", {
81
80
  className: "w-100"
82
81
  }, /*#__PURE__*/_react.default.createElement("tbody", null, /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", {
83
- width: "200px"
82
+ width: "180px"
84
83
  }, /*#__PURE__*/_react.default.createElement(_TextField.default, {
85
84
  style: {
86
- width: '200px'
85
+ width: '180px'
87
86
  },
88
87
  InputProps: {
89
88
  readOnly: true
@@ -226,7 +225,7 @@ const SignatureInputProps = /*#__PURE__*/_react.default.memo(/*#__PURE__*/_react
226
225
  return /*#__PURE__*/_react.default.createElement("div", {
227
226
  className: "row",
228
227
  style: {
229
- width: "250px"
228
+ width: "246px"
230
229
  }
231
230
  }, /*#__PURE__*/_react.default.createElement("div", {
232
231
  className: "col-*-*",
@@ -58,7 +58,7 @@ const useStyles = (0, _styles.makeStyles)(theme => ({
58
58
  borderTop: '1px solid #e1e1e1'
59
59
  },
60
60
  paletteButton: {
61
- width: '270px',
61
+ width: '252px',
62
62
  height: '40px',
63
63
  backgroundColor: '#e1e1e1',
64
64
  margin: '4px',
@@ -71,7 +71,7 @@ const useStyles = (0, _styles.makeStyles)(theme => ({
71
71
  '&:hover': {
72
72
  backgroundColor: 'yellowgreen'
73
73
  },
74
- width: '270px',
74
+ width: '252px',
75
75
  height: '40px',
76
76
  backgroundColor: 'yellowgreen',
77
77
  margin: '4px',
@@ -460,7 +460,8 @@ const SignatureTemplateDesigner = /*#__PURE__*/_react.default.memo(/*#__PURE__*/
460
460
  className: `${classes.palette} col-*-*`,
461
461
  style: {
462
462
  maxHeight: 'calc(70vh - 80px)',
463
- overflow: 'auto',
463
+ overflowX: 'hidden',
464
+ overflowY: 'auto',
464
465
  width: '280px'
465
466
  }
466
467
  }, /*#__PURE__*/_react.default.createElement(_Button.default, {
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.55",
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": "",