@itilite/iui-user-management 0.4.11 → 0.4.13
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/dist/index.js +7 -46
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -46
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -11,7 +11,7 @@ import thunk from 'redux-thunk';
|
|
|
11
11
|
import { composeWithDevTools } from 'redux-devtools-extension';
|
|
12
12
|
import { useHistory } from 'react-router-dom';
|
|
13
13
|
import { withStyles, makeStyles } from '@material-ui/core/styles';
|
|
14
|
-
import
|
|
14
|
+
import '@material-ui/core/Tooltip';
|
|
15
15
|
import Switch from '@material-ui/core/Switch';
|
|
16
16
|
import MoreHorizIcon from '@material-ui/icons/MoreHoriz';
|
|
17
17
|
import Button from '@material-ui/core/Button';
|
|
@@ -7602,10 +7602,6 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
7602
7602
|
selected = props.selected,
|
|
7603
7603
|
_props$handleSingleCh = props.handleSingleCheckBoxClick,
|
|
7604
7604
|
handleSingleCheckBoxClick = _props$handleSingleCh === void 0 ? function () {} : _props$handleSingleCh,
|
|
7605
|
-
_props$onResetPasswor = props.onResetPasswordHandler,
|
|
7606
|
-
onResetPasswordHandler = _props$onResetPasswor === void 0 ? function () {} : _props$onResetPasswor,
|
|
7607
|
-
_props$toggleInviteMo = props.toggleInviteModal,
|
|
7608
|
-
toggleInviteModal = _props$toggleInviteMo === void 0 ? function () {} : _props$toggleInviteMo,
|
|
7609
7605
|
orderBy = props.orderBy,
|
|
7610
7606
|
order = props.order,
|
|
7611
7607
|
_props$onRequestSort = props.onRequestSort,
|
|
@@ -7657,28 +7653,8 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
7657
7653
|
profilePath: row === null || row === void 0 ? void 0 : (_row$profile_pic = row.profile_pic) === null || _row$profile_pic === void 0 ? void 0 : _row$profile_pic.presigned_url
|
|
7658
7654
|
}));
|
|
7659
7655
|
}
|
|
7660
|
-
},
|
|
7661
|
-
|
|
7662
|
-
label: '',
|
|
7663
|
-
minWidth: 60,
|
|
7664
|
-
sortable: true,
|
|
7665
|
-
cell: function cell(row) {
|
|
7666
|
-
return /*#__PURE__*/React.createElement(IUIBox, {
|
|
7667
|
-
component: "div",
|
|
7668
|
-
width: 60
|
|
7669
|
-
}, row && row.has_visited === 0 ? /*#__PURE__*/React.createElement(Tooltip, {
|
|
7670
|
-
title: "This user hasn't logged on to the platform yet",
|
|
7671
|
-
arrow: true,
|
|
7672
|
-
classes: {
|
|
7673
|
-
arrow: classes.arrow,
|
|
7674
|
-
tooltip: classes.tooltip
|
|
7675
|
-
},
|
|
7676
|
-
placement: "top-start"
|
|
7677
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
7678
|
-
className: clsx(styles$5.tooltipText)
|
|
7679
|
-
}, "Invited")) : null);
|
|
7680
|
-
}
|
|
7681
|
-
}, {
|
|
7656
|
+
},
|
|
7657
|
+
{
|
|
7682
7658
|
id: 'emp_info__department__name',
|
|
7683
7659
|
label: 'Department',
|
|
7684
7660
|
minWidth: 80,
|
|
@@ -7773,21 +7749,7 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
7773
7749
|
}
|
|
7774
7750
|
});
|
|
7775
7751
|
}
|
|
7776
|
-
|
|
7777
|
-
options.push({
|
|
7778
|
-
label: 'Reset password',
|
|
7779
|
-
handler: function handler() {
|
|
7780
|
-
return onResetPasswordHandler(row.email);
|
|
7781
|
-
}
|
|
7782
|
-
});
|
|
7783
|
-
} else {
|
|
7784
|
-
options.push({
|
|
7785
|
-
label: 'Resend invite',
|
|
7786
|
-
handler: function handler() {
|
|
7787
|
-
return toggleInviteModal(row.id);
|
|
7788
|
-
}
|
|
7789
|
-
});
|
|
7790
|
-
}
|
|
7752
|
+
|
|
7791
7753
|
return /*#__PURE__*/React.createElement("div", {
|
|
7792
7754
|
style: {
|
|
7793
7755
|
marginLeft: '50px'
|
|
@@ -8080,10 +8042,9 @@ var UserList = function UserList(_ref) {
|
|
|
8080
8042
|
}, {
|
|
8081
8043
|
label: 'Bulk action history',
|
|
8082
8044
|
handler: handleBulkActionHistoryClick
|
|
8083
|
-
}
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
}];
|
|
8045
|
+
}
|
|
8046
|
+
];
|
|
8047
|
+
|
|
8087
8048
|
useEffect(function () {
|
|
8088
8049
|
var roleCanAccess = ['travel_itilite_admin', 'travel_admin', 'expense_itilite_admin', 'expense_admin'];
|
|
8089
8050
|
dispatch(showDataFetchingStatus());
|