authscape 1.0.512 → 1.0.516

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/index.js CHANGED
@@ -7141,6 +7141,8 @@ var SpreadsheetViewer = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref)
7141
7141
  var cellItem = dataRow.cells.find(function (s) {
7142
7142
  return s.columnId == fieldName;
7143
7143
  });
7144
+ alert(fieldName);
7145
+ alert(JSON.stringify(cellItem));
7144
7146
  var rowBuilder = {};
7145
7147
  for (var index = 0; index < dataRow.cells.length; index++) {
7146
7148
  var element = dataRow.cells[index];
@@ -7327,7 +7329,9 @@ var SpreadsheetViewer = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref)
7327
7329
  } catch (exp) {
7328
7330
  console.error(exp);
7329
7331
  }
7330
- _onFocusLocationChanged(location.rowId, location.columnId);
7332
+ if (_onFocusLocationChanged != null) {
7333
+ _onFocusLocationChanged(location.rowId, location.columnId);
7334
+ }
7331
7335
  },
7332
7336
  onCellsChanged: handleChanges,
7333
7337
  enableRowSelection: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.512",
3
+ "version": "1.0.516",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -508,7 +508,8 @@ export const SpreadsheetViewer = forwardRef(({loadedUser, currentUser, documentI
508
508
  let dataRow = prevDetails.find((d) => d.rowId === dataRowId);
509
509
  let cellItem = dataRow.cells.find(s => s.columnId == fieldName);
510
510
 
511
-
511
+ alert(fieldName);
512
+ alert(JSON.stringify(cellItem));
512
513
 
513
514
  let rowBuilder = {};
514
515
  for (let index = 0; index < dataRow.cells.length; index++) {
@@ -713,7 +714,10 @@ export const SpreadsheetViewer = forwardRef(({loadedUser, currentUser, documentI
713
714
  console.error(exp);
714
715
  }
715
716
 
716
- onFocusLocationChanged(location.rowId, location.columnId);
717
+ if (onFocusLocationChanged != null)
718
+ {
719
+ onFocusLocationChanged(location.rowId, location.columnId);
720
+ }
717
721
  }}
718
722
  onCellsChanged={handleChanges}
719
723
  enableRowSelection={true}