authscape-usermanagement 1.0.3 → 1.0.5

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
@@ -699,7 +699,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
699
699
  Object.defineProperty(exports, "__esModule", {
700
700
  value: true
701
701
  });
702
- exports["default"] = UserManagement;
702
+ exports.UserManagement = UserManagement;
703
703
  var _react = _interopRequireWildcard(require("react"));
704
704
  var _system = require("@mui/system");
705
705
  var _material = require("@mui/material");
@@ -901,7 +901,7 @@ function UserManagement(_ref) {
901
901
  sx: {
902
902
  height: 200
903
903
  }
904
- }, /*#__PURE__*/_react["default"].createElement(FileUploader, {
904
+ }, /*#__PURE__*/_react["default"].createElement(_authscape.FileUploader, {
905
905
  url: "/UserManagement/UploadUsers",
906
906
  onUploadCompleted: function onUploadCompleted(results) {
907
907
  if (_onUploadCompleted != null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape-usermanagement",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -10,7 +10,8 @@
10
10
  "author": "zuechb",
11
11
  "license": "ISC",
12
12
  "peerDependencies": {
13
- "react-dom": "^18.2.0"
13
+ "react-dom": "^18.2.0",
14
+ "authscape": "^1.0.573"
14
15
  },
15
16
  "devDependencies": {
16
17
  "@babel/cli": "^7.21.5",
@@ -9,9 +9,9 @@ import DialogActions from '@mui/material/DialogActions';
9
9
  import DialogContent from '@mui/material/DialogContent';
10
10
  import DialogContentText from '@mui/material/DialogContentText';
11
11
  import DialogTitle from '@mui/material/DialogTitle';
12
- import { EditableDatagrid } from 'authscape';
12
+ import { EditableDatagrid, FileUploader } from 'authscape';
13
13
 
14
- export default function UserManagement({customFields = null, onUploadCompleted = null}) {
14
+ export function UserManagement({customFields = null, onUploadCompleted = null}) {
15
15
 
16
16
  const [showUserDetails, setShowUserDetails] = useState(null);
17
17