authscape 1.0.476 → 1.0.480
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); }
|
|
@@ -8375,6 +8376,7 @@ var _Autocomplete = _interopRequireWildcard(require("@mui/material/Autocomplete"
|
|
|
8375
8376
|
var _material = require("@mui/material");
|
|
8376
8377
|
var _InsertDriveFileRounded = _interopRequireDefault(require("@mui/icons-material/InsertDriveFileRounded"));
|
|
8377
8378
|
var _ArrowBackIosRounded = _interopRequireDefault(require("@mui/icons-material/ArrowBackIosRounded"));
|
|
8379
|
+
var _router = require("next/router");
|
|
8378
8380
|
var _excluded = ["children", "value", "index"];
|
|
8379
8381
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
8380
8382
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -8446,6 +8448,7 @@ var TicketDetail = function TicketDetail(_ref) {
|
|
|
8446
8448
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
8447
8449
|
selectedCreatedBy = _useState22[0],
|
|
8448
8450
|
setSelectedCreatedBy = _useState22[1];
|
|
8451
|
+
var router = (0, _router.useRouter)();
|
|
8449
8452
|
(0, _react.useEffect)(function () {
|
|
8450
8453
|
var fetchData = /*#__PURE__*/function () {
|
|
8451
8454
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
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
|
|
@@ -15,6 +15,7 @@ import Autocomplete, { createFilterOptions } from '@mui/material/Autocomplete';
|
|
|
15
15
|
import { Button, Card, CardActions, CardContent, CardMedia, Stack } from "@mui/material";
|
|
16
16
|
import InsertDriveFileRoundedIcon from '@mui/icons-material/InsertDriveFileRounded';
|
|
17
17
|
import ArrowBackIosRoundedIcon from '@mui/icons-material/ArrowBackIosRounded';
|
|
18
|
+
import { useRouter } from 'next/router';
|
|
18
19
|
|
|
19
20
|
export const TicketDetail = ({ticketId, setIsLoading, currentUser, GoBackToViewTickets = null, customTabName = null, customTabElement = null}) => {
|
|
20
21
|
|
|
@@ -32,6 +33,7 @@ export const TicketDetail = ({ticketId, setIsLoading, currentUser, GoBackToViewT
|
|
|
32
33
|
const [createdByList, setCreatedByList] = useState([]);
|
|
33
34
|
const [selectedCreatedBy, setSelectedCreatedBy] = useState(null);
|
|
34
35
|
|
|
36
|
+
const router = useRouter();
|
|
35
37
|
|
|
36
38
|
useEffect(() => {
|
|
37
39
|
|