authscape 1.0.476 → 1.0.478
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
|
@@ -4416,6 +4416,8 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
4416
4416
|
function FileMapping(_ref) {
|
|
4417
4417
|
var currentUser = _ref.currentUser,
|
|
4418
4418
|
hideDocumentManager = _ref.hideDocumentManager,
|
|
4419
|
+
_ref$hideStatus = _ref.hideStatus,
|
|
4420
|
+
hideStatus = _ref$hideStatus === void 0 ? false : _ref$hideStatus,
|
|
4419
4421
|
_ref$onPublished = _ref.onPublished,
|
|
4420
4422
|
_onPublished = _ref$onPublished === void 0 ? null : _ref$onPublished,
|
|
4421
4423
|
_ref$onCanceled = _ref.onCanceled,
|
|
@@ -6599,7 +6601,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6599
6601
|
Object.defineProperty(exports, "__esModule", {
|
|
6600
6602
|
value: true
|
|
6601
6603
|
});
|
|
6602
|
-
exports
|
|
6604
|
+
exports.SpreadsheetViewer = void 0;
|
|
6603
6605
|
var _material = require("@mui/material");
|
|
6604
6606
|
var _react = _interopRequireWildcard(require("react"));
|
|
6605
6607
|
var _reactgrid = require("@silevis/reactgrid");
|
|
@@ -7430,8 +7432,7 @@ var SpreadsheetViewer = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref)
|
|
|
7430
7432
|
autoFocus: true
|
|
7431
7433
|
}, "Apply"))));
|
|
7432
7434
|
});
|
|
7433
|
-
|
|
7434
|
-
exports["default"] = _default;
|
|
7435
|
+
exports.SpreadsheetViewer = SpreadsheetViewer;
|
|
7435
7436
|
"use strict";
|
|
7436
7437
|
|
|
7437
7438
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { Box } from '@mui/system';
|
|
|
3
3
|
// import ManageMappingDocuments from './manageMappingDocuments';
|
|
4
4
|
// import AssignMapping from './AssignMapping';
|
|
5
5
|
|
|
6
|
-
export function FileMapping({currentUser, hideDocumentManager, onPublished = null, onCanceled = null, onArchived = null}) {
|
|
6
|
+
export function FileMapping({currentUser, hideDocumentManager, hideStatus = false, onPublished = null, onCanceled = null, onArchived = null}) {
|
|
7
7
|
|
|
8
8
|
const [documentComponentId, setDocumentComponentId] = useState(null);
|
|
9
9
|
|
|
@@ -28,7 +28,7 @@ import {DndContext} from '@dnd-kit/core';
|
|
|
28
28
|
import {SortableContext} from '@dnd-kit/sortable';
|
|
29
29
|
// import { SortableColumn } from './Mapping/sortableColumn';
|
|
30
30
|
|
|
31
|
-
const SpreadsheetViewer = forwardRef(({loadedUser, currentUser, documentId, url, sx, hideToolbar = false, onFocusLocationChanged = null, advanceQuery = null, onChange = null, hubUrl = null}, ref) => {
|
|
31
|
+
export const SpreadsheetViewer = forwardRef(({loadedUser, currentUser, documentId, url, sx, hideToolbar = false, onFocusLocationChanged = null, advanceQuery = null, onChange = null, hubUrl = null}, ref) => {
|
|
32
32
|
|
|
33
33
|
const [data, setData] = useState(null);
|
|
34
34
|
const [rows, setRows] = useState(null);
|
|
@@ -851,5 +851,3 @@ const SpreadsheetViewer = forwardRef(({loadedUser, currentUser, documentId, url,
|
|
|
851
851
|
</Box>
|
|
852
852
|
);
|
|
853
853
|
});
|
|
854
|
-
|
|
855
|
-
export default SpreadsheetViewer
|