authscape 1.0.466 → 1.0.468
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
|
@@ -5630,7 +5630,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5630
5630
|
Object.defineProperty(exports, "__esModule", {
|
|
5631
5631
|
value: true
|
|
5632
5632
|
});
|
|
5633
|
-
exports
|
|
5633
|
+
exports.Comments = Comments;
|
|
5634
5634
|
var _react = _interopRequireWildcard(require("react"));
|
|
5635
5635
|
var _material = require("@mui/material");
|
|
5636
5636
|
var _InputBase = _interopRequireDefault(require("@mui/material/InputBase"));
|
|
@@ -5884,7 +5884,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5884
5884
|
Object.defineProperty(exports, "__esModule", {
|
|
5885
5885
|
value: true
|
|
5886
5886
|
});
|
|
5887
|
-
exports
|
|
5887
|
+
exports.TicketDetail = void 0;
|
|
5888
5888
|
var _react = _interopRequireWildcard(require("react"));
|
|
5889
5889
|
var _system = require("@mui/system");
|
|
5890
5890
|
var _Grid = _interopRequireDefault(require("@mui/material/Grid"));
|
|
@@ -6392,15 +6392,14 @@ var TicketDetail = function TicketDetail(_ref) {
|
|
|
6392
6392
|
index: 3
|
|
6393
6393
|
}, customTabElement(customTabPayload))));
|
|
6394
6394
|
};
|
|
6395
|
-
|
|
6396
|
-
exports["default"] = _default;
|
|
6395
|
+
exports.TicketDetail = TicketDetail;
|
|
6397
6396
|
"use strict";
|
|
6398
6397
|
|
|
6399
6398
|
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); }
|
|
6400
6399
|
Object.defineProperty(exports, "__esModule", {
|
|
6401
6400
|
value: true
|
|
6402
6401
|
});
|
|
6403
|
-
exports
|
|
6402
|
+
exports.Tickets = Tickets;
|
|
6404
6403
|
var _react = _interopRequireWildcard(require("react"));
|
|
6405
6404
|
var _Button = _interopRequireDefault(require("@mui/material/Button"));
|
|
6406
6405
|
var _system = require("@mui/system");
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ import { Button, Card, CardActions, CardContent, CardMedia, Stack } from "@mui/m
|
|
|
16
16
|
import InsertDriveFileRoundedIcon from '@mui/icons-material/InsertDriveFileRounded';
|
|
17
17
|
import ArrowBackIosRoundedIcon from '@mui/icons-material/ArrowBackIosRounded';
|
|
18
18
|
|
|
19
|
-
const TicketDetail = ({ticketId, setIsLoading, currentUser, GoBackToViewTickets = null, customTabName = null, customTabElement = null}) => {
|
|
19
|
+
export const TicketDetail = ({ticketId, setIsLoading, currentUser, GoBackToViewTickets = null, customTabName = null, customTabElement = null}) => {
|
|
20
20
|
|
|
21
21
|
const [value, setValue] = useState(0);
|
|
22
22
|
const [status, setStatus] = useState(null);
|
|
@@ -376,6 +376,4 @@ const TicketDetail = ({ticketId, setIsLoading, currentUser, GoBackToViewTickets
|
|
|
376
376
|
|
|
377
377
|
</div>
|
|
378
378
|
)
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
export default TicketDetail;
|
|
379
|
+
}
|
|
@@ -21,7 +21,7 @@ import Grid from '@mui/material/Grid';
|
|
|
21
21
|
// import TicketDetail from './TicketDetail';
|
|
22
22
|
import { useRouter } from 'next/router';
|
|
23
23
|
|
|
24
|
-
export
|
|
24
|
+
export function Tickets({loadedUser, setIsLoading, currentUser, customTabName = null, customTabElement = null }) {
|
|
25
25
|
|
|
26
26
|
const [tickets, setTickets] = useState([]);
|
|
27
27
|
|
|
@@ -14,7 +14,7 @@ import SendRoundedIcon from '@mui/icons-material/SendRounded';
|
|
|
14
14
|
import scrollIntoView from 'scroll-into-view-if-needed'
|
|
15
15
|
import Stack from '@mui/material/Stack';
|
|
16
16
|
|
|
17
|
-
export
|
|
17
|
+
export function Comments({ticketId, isNote, isDisabled, currentUser}) {
|
|
18
18
|
|
|
19
19
|
const [comments, setComments] = useState([]);
|
|
20
20
|
const [message, setMessage] = useState("");
|