@itilite/iui-user-management 0.4.208 → 0.4.210
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.css +0 -14
- package/dist/index.js +36 -49
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +36 -49
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -6736,7 +6736,7 @@ var fetchBulkactionHistory = function fetchBulkactionHistory(url) {
|
|
|
6736
6736
|
};
|
|
6737
6737
|
};
|
|
6738
6738
|
|
|
6739
|
-
var styles$5 = {"UUIUserManagementList":"_3WNHx","scrollOverlayMenu":"_2_WEg","overlaysearch":"_1Pbhb","pageHeader":"_1WLpc","buttonWrapper":"_2egTG","headingWrapper":"_1He01","headingSignUpWrapper":"_Q8vqd","heading":"_1uPaO","headingLarge":"_2FsLd","headingMedium":"_nGXA9","headingSmall":"_2rpwF","description":"_25vb9","headerText":"_1Ny9J","letterImage":"_2hr3R","tablewrapper":"_1-RPw","rowText":"_1LXyO","textTransform":"_3kFQS","lightColor":"_3Ghgw","avatarClassName":"_2qO_X","tooltipText":"_151u_","
|
|
6739
|
+
var styles$5 = {"UUIUserManagementList":"_3WNHx","scrollOverlayMenu":"_2_WEg","overlaysearch":"_1Pbhb","pageHeader":"_1WLpc","buttonWrapper":"_2egTG","headingWrapper":"_1He01","headingSignUpWrapper":"_Q8vqd","heading":"_1uPaO","headingLarge":"_2FsLd","headingMedium":"_nGXA9","headingSmall":"_2rpwF","description":"_25vb9","headerText":"_1Ny9J","letterImage":"_2hr3R","tablewrapper":"_1-RPw","rowText":"_1LXyO","textTransform":"_3kFQS","lightColor":"_3Ghgw","avatarClassName":"_2qO_X","tooltipText":"_151u_","tooltip":"_-LQNH","importModalBodyContainer":"_25xUk","dividerColor":"_2HZv9","w100":"_3vGmU","downloadTemplateContainer":"_3-Xu_","downloadTemplateDescContainer":"_tLw43","labelContainer":"_7TYUZ","downlTempHeader":"__CZpe","downlTempDescription":"_19jEe","downloadTemplateButton":"_1qXtq","fileUploaderContainer":"_1YVz2","colGap":"_3vnY5","deActivateModalContainer":"_28H9H","backdrop":"_1ky1x","errorText":"_26_if","user_list_page_tabs":"_xWE7K","TabLabelCount":"_13pXn"};
|
|
6740
6740
|
|
|
6741
6741
|
var BulkUploadModal = function BulkUploadModal(props) {
|
|
6742
6742
|
var isOpenImportUsersModal = props.isOpenImportUsersModal,
|
|
@@ -8222,9 +8222,9 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
8222
8222
|
cell: function cell(row) {
|
|
8223
8223
|
return /*#__PURE__*/React.createElement(IUIBox, {
|
|
8224
8224
|
component: "div",
|
|
8225
|
-
width:
|
|
8225
|
+
width: 60
|
|
8226
8226
|
}, row && row.has_visited === 0 ? /*#__PURE__*/React.createElement(Tooltip, {
|
|
8227
|
-
title: "This user hasn't logged
|
|
8227
|
+
title: "This user hasn't logged on to the platform yet",
|
|
8228
8228
|
arrow: true,
|
|
8229
8229
|
classes: {
|
|
8230
8230
|
arrow: classes.arrow,
|
|
@@ -8232,7 +8232,7 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
8232
8232
|
},
|
|
8233
8233
|
placement: "top-start"
|
|
8234
8234
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8235
|
-
className: clsx(styles$5.
|
|
8235
|
+
className: clsx(styles$5.tooltipText)
|
|
8236
8236
|
}, "Invited")) : null);
|
|
8237
8237
|
}
|
|
8238
8238
|
}, {
|
|
@@ -8333,7 +8333,7 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
8333
8333
|
options.push({
|
|
8334
8334
|
label: 'Resend invite',
|
|
8335
8335
|
handler: function handler() {
|
|
8336
|
-
return toggleInviteModal(row.id, 'single'
|
|
8336
|
+
return toggleInviteModal(row.id, 'single');
|
|
8337
8337
|
}
|
|
8338
8338
|
});
|
|
8339
8339
|
}
|
|
@@ -8618,12 +8618,6 @@ var UserList = function UserList(_ref2) {
|
|
|
8618
8618
|
var _React$useState5 = React.useState(false),
|
|
8619
8619
|
overlayMenu = _React$useState5[0],
|
|
8620
8620
|
setOverlayMenu = _React$useState5[1];
|
|
8621
|
-
var _useState13 = useState(''),
|
|
8622
|
-
userFirstName = _useState13[0],
|
|
8623
|
-
setUserFirstName = _useState13[1];
|
|
8624
|
-
var _useState14 = useState(''),
|
|
8625
|
-
userLastName = _useState14[0],
|
|
8626
|
-
setUserLastName = _useState14[1];
|
|
8627
8621
|
useScrollPosition(function (_ref3) {
|
|
8628
8622
|
var prevPos = _ref3.prevPos,
|
|
8629
8623
|
currPos = _ref3.currPos;
|
|
@@ -8647,34 +8641,37 @@ var UserList = function UserList(_ref2) {
|
|
|
8647
8641
|
var _React$useState6 = React.useState(1),
|
|
8648
8642
|
signup_page = _React$useState6[0],
|
|
8649
8643
|
setSignUpPage = _React$useState6[1];
|
|
8650
|
-
var
|
|
8651
|
-
signup_rowsPerPage =
|
|
8652
|
-
setSignUpRowsPerPage =
|
|
8644
|
+
var _useState13 = useState(5),
|
|
8645
|
+
signup_rowsPerPage = _useState13[0],
|
|
8646
|
+
setSignUpRowsPerPage = _useState13[1];
|
|
8653
8647
|
var _React$useState7 = React.useState('asc'),
|
|
8654
8648
|
signup_order = _React$useState7[0],
|
|
8655
8649
|
setSignUpOrder = _React$useState7[1];
|
|
8656
8650
|
var _React$useState8 = React.useState('fname'),
|
|
8657
8651
|
signup_orderBy = _React$useState8[0],
|
|
8658
8652
|
setSignUpOrderBy = _React$useState8[1];
|
|
8659
|
-
var
|
|
8660
|
-
signup_searchValue =
|
|
8661
|
-
set_signup_SearchValue =
|
|
8653
|
+
var _useState14 = useState(''),
|
|
8654
|
+
signup_searchValue = _useState14[0],
|
|
8655
|
+
set_signup_SearchValue = _useState14[1];
|
|
8656
|
+
var _useState15 = useState(false),
|
|
8657
|
+
isSignUpSortingChange = _useState15[0],
|
|
8658
|
+
setSignUpSortingChange = _useState15[1];
|
|
8659
|
+
var _useState16 = useState(false),
|
|
8660
|
+
isSignUpSearchingChange = _useState16[0],
|
|
8661
|
+
setSignUpSearchingChange = _useState16[1];
|
|
8662
8662
|
var _useState17 = useState(false),
|
|
8663
|
-
|
|
8664
|
-
|
|
8663
|
+
isSignUpSortingChangeTemp = _useState17[0],
|
|
8664
|
+
setSignUpSortingChangeTemp = _useState17[1];
|
|
8665
8665
|
var _useState18 = useState(false),
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
var _useState19 = useState(false),
|
|
8669
|
-
isSignUpSortingChangeTemp = _useState19[0],
|
|
8670
|
-
setSignUpSortingChangeTemp = _useState19[1];
|
|
8671
|
-
var _useState20 = useState(false),
|
|
8672
|
-
isSignUpSearchingChangeTemp = _useState20[0],
|
|
8673
|
-
setSignUpSearchingChangeTemp = _useState20[1];
|
|
8666
|
+
isSignUpSearchingChangeTemp = _useState18[0],
|
|
8667
|
+
setSignUpSearchingChangeTemp = _useState18[1];
|
|
8674
8668
|
var _useSelector3 = useSelector(function (state) {
|
|
8675
8669
|
return state.userList;
|
|
8676
8670
|
}),
|
|
8677
8671
|
signupRequestListInfo = _useSelector3.signupRequestListInfo;
|
|
8672
|
+
var redirectToNotifications = function redirectToNotifications() {
|
|
8673
|
+
history.push(config.routes.notification.path);
|
|
8674
|
+
};
|
|
8678
8675
|
var openDeactivateModal = function openDeactivateModal() {
|
|
8679
8676
|
if (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined) {
|
|
8680
8677
|
IUIToastMessageService$7.warningNotify('Select at least one user to deactivate.');
|
|
@@ -8823,19 +8820,13 @@ var UserList = function UserList(_ref2) {
|
|
|
8823
8820
|
email: email
|
|
8824
8821
|
}));
|
|
8825
8822
|
};
|
|
8826
|
-
var toggleInviteModal = function toggleInviteModal(ids, type
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8831
|
-
}
|
|
8823
|
+
var toggleInviteModal = function toggleInviteModal(ids, type) {
|
|
8824
|
+
console.log(type);
|
|
8825
|
+
if (!type && (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined)) {
|
|
8826
|
+
IUIToastMessageService$7.warningNotify('Select at least one user to invite.');
|
|
8827
|
+
return false;
|
|
8832
8828
|
}
|
|
8833
8829
|
setUserIds(ids);
|
|
8834
|
-
setUserFirstName(firstName);
|
|
8835
|
-
setUserLastName(lastName);
|
|
8836
|
-
setToggleInviteModal(!showInviteModal);
|
|
8837
|
-
};
|
|
8838
|
-
var toggleInviteModalClose = function toggleInviteModalClose() {
|
|
8839
8830
|
setToggleInviteModal(!showInviteModal);
|
|
8840
8831
|
};
|
|
8841
8832
|
var onResendInviteHandler = function onResendInviteHandler() {
|
|
@@ -9159,7 +9150,11 @@ var UserList = function UserList(_ref2) {
|
|
|
9159
9150
|
}, /*#__PURE__*/React.createElement(IUITypography, {
|
|
9160
9151
|
variant: "body2",
|
|
9161
9152
|
className: clsx(styles$5.description)
|
|
9162
|
-
}, "Verify and add users to allow them to start using ITILITE. Set up preferences for receiving sign up request updates in
|
|
9153
|
+
}, "Verify and add users to allow them to start using ITILITE. Set up preferences for receiving sign up request updates in", ' ', /*#__PURE__*/React.createElement(IUITypography, {
|
|
9154
|
+
variant: "span",
|
|
9155
|
+
onClick: config.routes.notification && redirectToNotifications,
|
|
9156
|
+
className: clsx(config.routes.notification && 'iui__cursor-pointer iui__border--bottom_solid_black500-1')
|
|
9157
|
+
}, "Notifications"), ".")), /*#__PURE__*/React.createElement(SingupRequests, {
|
|
9163
9158
|
data: signupRequestListInfo,
|
|
9164
9159
|
handleChangeRowsPerPage: function handleChangeRowsPerPage(event) {
|
|
9165
9160
|
setSignUpRowsPerPage(+event.target.value);
|
|
@@ -9218,9 +9213,7 @@ var UserList = function UserList(_ref2) {
|
|
|
9218
9213
|
className: styles$5.description
|
|
9219
9214
|
}, "The", ' ', Object.values(selected).flat().length === 1 ? ' user ' : ' users ', "won\u2019t be able to access itilite platform"))), /*#__PURE__*/React.createElement(IUIModal, {
|
|
9220
9215
|
isOpen: showInviteModal,
|
|
9221
|
-
closeHandler:
|
|
9222
|
-
return toggleInviteModalClose();
|
|
9223
|
-
},
|
|
9216
|
+
closeHandler: toggleInviteModal,
|
|
9224
9217
|
cancelLabel: "Cancel",
|
|
9225
9218
|
headerText: "Resend Invites?",
|
|
9226
9219
|
submitLabel: "Send",
|
|
@@ -9252,13 +9245,7 @@ var UserList = function UserList(_ref2) {
|
|
|
9252
9245
|
fontSize: '14px',
|
|
9253
9246
|
color: '#374151'
|
|
9254
9247
|
}
|
|
9255
|
-
}, "This invitation will be sent to
|
|
9256
|
-
style: {
|
|
9257
|
-
fontSize: '14px',
|
|
9258
|
-
color: '#374151',
|
|
9259
|
-
fontWeight: 'bold'
|
|
9260
|
-
}
|
|
9261
|
-
}, userFirstName != null ? userFirstName + " " + userLastName : 'selected users'), ", who have not logged into the platform."))), /*#__PURE__*/React.createElement(BulkUploadModal, {
|
|
9248
|
+
}, "This invitation will be sent to users who have not logged into the platform."))), /*#__PURE__*/React.createElement(BulkUploadModal, {
|
|
9262
9249
|
isOpenImportUsersModal: isOpenImportUsersModal,
|
|
9263
9250
|
closeImportUsersModal: closeImportUsersModal,
|
|
9264
9251
|
closeImportModal: closeImportModal
|