authscape 1.0.469 → 1.0.470

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
@@ -3616,7 +3616,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
3616
3616
  Object.defineProperty(exports, "__esModule", {
3617
3617
  value: true
3618
3618
  });
3619
- exports["default"] = AssignMapping;
3619
+ exports.AssignMapping = AssignMapping;
3620
3620
  var _react = _interopRequireWildcard(require("react"));
3621
3621
  var _system = require("@mui/system");
3622
3622
  var _Container = _interopRequireDefault(require("@mui/material/Container"));
@@ -3933,7 +3933,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
3933
3933
  Object.defineProperty(exports, "__esModule", {
3934
3934
  value: true
3935
3935
  });
3936
- exports["default"] = ConditionBasedTool;
3936
+ exports.ConditionBasedTool = ConditionBasedTool;
3937
3937
  var _react = _interopRequireWildcard(require("react"));
3938
3938
  var _Button = _interopRequireDefault(require("@mui/material/Button"));
3939
3939
  var _system = require("@mui/system");
@@ -4065,7 +4065,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
4065
4065
  Object.defineProperty(exports, "__esModule", {
4066
4066
  value: true
4067
4067
  });
4068
- exports["default"] = Datasources;
4068
+ exports.Datasources = Datasources;
4069
4069
  var _react = _interopRequireWildcard(require("react"));
4070
4070
  var _Button = _interopRequireDefault(require("@mui/material/Button"));
4071
4071
  var _system = require("@mui/system");
@@ -4381,7 +4381,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
4381
4381
  Object.defineProperty(exports, "__esModule", {
4382
4382
  value: true
4383
4383
  });
4384
- exports["default"] = FileMapping;
4384
+ exports.FileMapping = FileMapping;
4385
4385
  var _react = _interopRequireWildcard(require("react"));
4386
4386
  var _system = require("@mui/system");
4387
4387
  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); }
@@ -4394,6 +4394,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
4394
4394
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
4395
4395
  // import ManageMappingDocuments from './manageMappingDocuments';
4396
4396
  // import AssignMapping from './AssignMapping';
4397
+
4397
4398
  function FileMapping(_ref) {
4398
4399
  var currentUser = _ref.currentUser,
4399
4400
  hideDocumentManager = _ref.hideDocumentManager;
@@ -4428,7 +4429,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
4428
4429
  Object.defineProperty(exports, "__esModule", {
4429
4430
  value: true
4430
4431
  });
4431
- exports["default"] = ManageMappingDocuments;
4432
+ exports.ManageMappingDocuments = ManageMappingDocuments;
4432
4433
  var _react = _interopRequireWildcard(require("react"));
4433
4434
  var _Button = _interopRequireDefault(require("@mui/material/Button"));
4434
4435
  var _system = require("@mui/system");
@@ -5060,7 +5061,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5060
5061
  Object.defineProperty(exports, "__esModule", {
5061
5062
  value: true
5062
5063
  });
5063
- exports["default"] = MappedColumn;
5064
+ exports.MappedColumn = MappedColumn;
5064
5065
  var _react = _interopRequireWildcard(require("react"));
5065
5066
  var _Card = _interopRequireDefault(require("@mui/material/Card"));
5066
5067
  var _CardActions = _interopRequireDefault(require("@mui/material/CardActions"));
@@ -5079,6 +5080,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
5079
5080
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } // import NewMappingColumn from './newMappingColumn';
5080
5081
  // import MatchExistingMappedColumn from './matchExisting';
5081
5082
  // import { apiService } from 'authscape';
5083
+
5082
5084
  function MappedColumn(_ref) {
5083
5085
  var companyId = _ref.companyId,
5084
5086
  documentId = _ref.documentId,
@@ -5179,7 +5181,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5179
5181
  Object.defineProperty(exports, "__esModule", {
5180
5182
  value: true
5181
5183
  });
5182
- exports["default"] = MatchExistingMappedColumn;
5184
+ exports.MatchExistingMappedColumn = MatchExistingMappedColumn;
5183
5185
  var _react = _interopRequireWildcard(require("react"));
5184
5186
  var _Button = _interopRequireDefault(require("@mui/material/Button"));
5185
5187
  var _system = require("@mui/system");
@@ -5335,7 +5337,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5335
5337
  Object.defineProperty(exports, "__esModule", {
5336
5338
  value: true
5337
5339
  });
5338
- exports["default"] = NewMappingColumn;
5340
+ exports.NewMappingColumn = NewMappingColumn;
5339
5341
  var _react = _interopRequireWildcard(require("react"));
5340
5342
  var _Card = _interopRequireDefault(require("@mui/material/Card"));
5341
5343
  var _CardContent = _interopRequireDefault(require("@mui/material/CardContent"));
@@ -5582,7 +5584,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5582
5584
  Object.defineProperty(exports, "__esModule", {
5583
5585
  value: true
5584
5586
  });
5585
- exports["default"] = UploadMappedFile;
5587
+ exports.UploadMappedFile = UploadMappedFile;
5586
5588
  var _react = _interopRequireWildcard(require("react"));
5587
5589
  var _Button = _interopRequireDefault(require("@mui/material/Button"));
5588
5590
  var _system = require("@mui/system");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.469",
3
+ "version": "1.0.470",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -15,7 +15,7 @@ import CloseIcon from '@mui/icons-material/Close';
15
15
  import IconButton from '@mui/material/IconButton';
16
16
  import ArrowRightAltRoundedIcon from '@mui/icons-material/ArrowRightAltRounded';
17
17
 
18
- export default function AssignMapping({currentUser, documentComponentId, onCancel = null, onPublished = null}) {
18
+ export function AssignMapping({currentUser, documentComponentId, onCancel = null, onPublished = null}) {
19
19
 
20
20
  const [documentId, setDocumentId] = useState(documentComponentId);
21
21
 
@@ -10,7 +10,7 @@ import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
10
10
  import { QueryBuilder } from 'react-querybuilder';
11
11
 
12
12
 
13
- export default function ConditionBasedTool({toColumnOptions, documentId, onConditionApplied}) {
13
+ export function ConditionBasedTool({toColumnOptions, documentId, onConditionApplied}) {
14
14
 
15
15
  const [currentQuery, setCurrentQuery] = useState(null);
16
16
 
@@ -17,7 +17,7 @@ import RadioGroup from '@mui/material/RadioGroup';
17
17
  import FormControlLabel from '@mui/material/FormControlLabel';
18
18
  import FormLabel from '@mui/material/FormLabel';
19
19
 
20
- export default function Datasources({disableTraining = false}) {
20
+ export function Datasources({disableTraining = false}) {
21
21
 
22
22
  const documentColumns = [
23
23
  { field: 'name', headerName: 'Name', width: 150, editable: false },
@@ -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 default function FileMapping({currentUser, hideDocumentManager}) {
6
+ export function FileMapping({currentUser, hideDocumentManager}) {
7
7
 
8
8
  const [documentComponentId, setDocumentComponentId] = useState(null);
9
9
 
@@ -19,7 +19,7 @@ import PublishRoundedIcon from '@mui/icons-material/PublishRounded';
19
19
  import Grid from '@mui/material/Grid';
20
20
  import DownloadRoundedIcon from '@mui/icons-material/DownloadRounded';
21
21
 
22
- export default function ManageMappingDocuments({hideDocumentManager = false, companyId = null, locationId = null, userId = null, onManageField = null, onArchive = null}) {
22
+ export function ManageMappingDocuments({hideDocumentManager = false, companyId = null, locationId = null, userId = null, onManageField = null, onArchive = null}) {
23
23
 
24
24
  const [document, setDocument] = useState(null);
25
25
  const [addColumnDialog, setAddColumnDialog] = useState(false);
@@ -12,7 +12,7 @@ import Stack from '@mui/material/Stack';
12
12
  // import MatchExistingMappedColumn from './matchExisting';
13
13
  // import { apiService } from 'authscape';
14
14
 
15
- export default function MappedColumn({companyId, documentId, documentType, documentMappingId, name, toName, isMapped, toOptions, onResponse}) {
15
+ export function MappedColumn({companyId, documentId, documentType, documentMappingId, name, toName, isMapped, toOptions, onResponse}) {
16
16
 
17
17
  const notMatchedColor = "#ffe5e5";
18
18
  const matchedColor = "#fff";
@@ -14,7 +14,7 @@ import MenuItem from '@mui/material/MenuItem';
14
14
  import FormControl from '@mui/material/FormControl';
15
15
  import Select from '@mui/material/Select';
16
16
 
17
- export default function MatchExistingMappedColumn({companyId, documentId, documentMappingId, fromName, toOptions, onResponse}) {
17
+ export function MatchExistingMappedColumn({companyId, documentId, documentMappingId, fromName, toOptions, onResponse}) {
18
18
 
19
19
  const [createNewOpen, setCreateNewOpen] = useState(false);
20
20
 
@@ -22,7 +22,7 @@ import CheckBoxRoundedIcon from '@mui/icons-material/CheckBoxRounded';
22
22
  import InsertPhotoRoundedIcon from '@mui/icons-material/InsertPhotoRounded';
23
23
  // import { apiService } from 'authscape';
24
24
 
25
- export default function NewMappingColumn({name, companyId, documentType, documentId, documentMappingId, onResponse}) {
25
+ export function NewMappingColumn({name, companyId, documentType, documentId, documentMappingId, onResponse}) {
26
26
 
27
27
  const newColumnNameRef = useRef(null);
28
28
  const newColumnDescriptionRef = useRef(null);
@@ -6,7 +6,7 @@ import PublishRoundedIcon from '@mui/icons-material/PublishRounded';
6
6
  import Menu from '@mui/material/Menu';
7
7
  import MenuItem from '@mui/material/MenuItem';
8
8
 
9
- export default function UploadMappedFile({loadedUser, url = null, companyId = null, locationId = null, userId = null}) {
9
+ export function UploadMappedFile({loadedUser, url = null, companyId = null, locationId = null, userId = null}) {
10
10
 
11
11
  const [documentComponentOptions, setDocumentComponentOptions] = useState(null);
12
12