@itilite/iui-user-management 0.4.220 → 0.4.221
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 -4
- package/dist/index.js +123 -180
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +123 -180
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -1118,24 +1118,6 @@ var formatUpdateUserPayload = function formatUpdateUserPayload(payload, inputCha
|
|
|
1118
1118
|
});
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
|
-
if (payload.uploadedFiles && payload.uploadedFiles.length > 0) {
|
|
1122
|
-
res.fields.files = payload.uploadedFiles.filter(function (_file) {
|
|
1123
|
-
return !_file.isExistingFile;
|
|
1124
|
-
}).map(function (_file) {
|
|
1125
|
-
return {
|
|
1126
|
-
file_type: _file.file_type,
|
|
1127
|
-
file_path: _file.file_path,
|
|
1128
|
-
user_file_name: _file.user_file_name,
|
|
1129
|
-
upload: _file.upload
|
|
1130
|
-
};
|
|
1131
|
-
});
|
|
1132
|
-
}
|
|
1133
|
-
if (payload.filesForDelete.length > 0) {
|
|
1134
|
-
res.fields.filesToDelete = payload.filesForDelete;
|
|
1135
|
-
}
|
|
1136
|
-
if (payload.profilePicDelete.length > 0) {
|
|
1137
|
-
res.fields.profilePicDelete = payload.profilePicDelete;
|
|
1138
|
-
}
|
|
1139
1121
|
}
|
|
1140
1122
|
return res;
|
|
1141
1123
|
};
|
|
@@ -5365,10 +5347,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5365
5347
|
_value = args._value,
|
|
5366
5348
|
_isError = args._isError,
|
|
5367
5349
|
_errorMsg = args._errorMsg;
|
|
5368
|
-
console.log(
|
|
5369
|
-
_name: _name,
|
|
5370
|
-
_value: _value
|
|
5371
|
-
});
|
|
5350
|
+
console.log(_name, _value);
|
|
5372
5351
|
setEmployeeInfoInput(_extends({}, employeeInfoInput, (_extends8 = {}, _extends8[_name] = _value, _extends8)));
|
|
5373
5352
|
updateError(_name, _isError, _errorMsg);
|
|
5374
5353
|
if (Object.hasOwnProperty.call(inputChangeLog, _name)) {
|
|
@@ -5626,6 +5605,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5626
5605
|
userId: isProfile ? id : editUserId
|
|
5627
5606
|
})).then(function (res) {
|
|
5628
5607
|
var _res$user_tags, _res$custom_attribute;
|
|
5608
|
+
console.log('response is', res);
|
|
5629
5609
|
var profilePic = [];
|
|
5630
5610
|
if (res && res.profile_pic) {
|
|
5631
5611
|
profilePic = [{
|
|
@@ -5830,24 +5810,6 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5830
5810
|
return _extends({}, prevState, expenseApprovers);
|
|
5831
5811
|
});
|
|
5832
5812
|
}
|
|
5833
|
-
var _uploadedDocs2 = [];
|
|
5834
|
-
res.files.forEach(function (_file) {
|
|
5835
|
-
_uploadedDocs2.push({
|
|
5836
|
-
user_file_name: _file.user_file_name,
|
|
5837
|
-
id: _file.id,
|
|
5838
|
-
isExistingFile: true,
|
|
5839
|
-
file_type: _file.file_type
|
|
5840
|
-
});
|
|
5841
|
-
});
|
|
5842
|
-
if (res && res.profile_pic) {
|
|
5843
|
-
_uploadedDocs2.push({
|
|
5844
|
-
user_file_name: res.profile_pic.user_file_name,
|
|
5845
|
-
id: res.profile_pic.id,
|
|
5846
|
-
isExistingFile: true,
|
|
5847
|
-
file_type: res.profile_pic.file_type
|
|
5848
|
-
});
|
|
5849
|
-
}
|
|
5850
|
-
setUploadedFiles(_uploadedDocs2);
|
|
5851
5813
|
}
|
|
5852
5814
|
})["catch"](function () {})["finally"](function () {
|
|
5853
5815
|
dispatch(stopLoader());
|
|
@@ -5939,6 +5901,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5939
5901
|
IUIToastMessageService$4.warningNotify(checkAnyError);
|
|
5940
5902
|
return Promise.resolve();
|
|
5941
5903
|
}
|
|
5904
|
+
console.log(employeeInfoInput, 'data');
|
|
5942
5905
|
var payload = {
|
|
5943
5906
|
personalInfoInput: personalInfoInput,
|
|
5944
5907
|
employeeInfoInput: employeeInfoInput,
|
|
@@ -6106,115 +6069,116 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6106
6069
|
var _ret = _loop();
|
|
6107
6070
|
if (_ret === "break") break;
|
|
6108
6071
|
}
|
|
6109
|
-
return Promise.resolve();
|
|
6110
6072
|
}
|
|
6111
|
-
if (
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
setFilesForDelete([]);
|
|
6122
|
-
setProfilePicDelete([]);
|
|
6123
|
-
})["catch"](function (err) {
|
|
6124
|
-
if (typeof err === 'object') {
|
|
6125
|
-
if (err.country_code) {
|
|
6126
|
-
err.contact_number = err.country_code;
|
|
6127
|
-
}
|
|
6128
|
-
if (err.contact_country_code) {
|
|
6129
|
-
err.contact_number = err.contact_country_code;
|
|
6130
|
-
}
|
|
6131
|
-
if (err.passport) {
|
|
6132
|
-
err.passport_photo = _extends({}, err.passport);
|
|
6133
|
-
delete err.passport;
|
|
6073
|
+
if (!_isError) {
|
|
6074
|
+
if (isEditMode && editUserId || isProfile) {
|
|
6075
|
+
dispatch(showLoader());
|
|
6076
|
+
dispatch(updateUser(payload, isProfile ? id : editUserId, inputChangeLog)).then(function (res) {
|
|
6077
|
+
if (isProfile) {
|
|
6078
|
+
var _config$routes, _config$routes$profil, _config$routes$profil2;
|
|
6079
|
+
(config === null || config === void 0 ? void 0 : (_config$routes = config.routes) === null || _config$routes === void 0 ? void 0 : (_config$routes$profil = _config$routes.profile) === null || _config$routes$profil === void 0 ? void 0 : (_config$routes$profil2 = _config$routes$profil.redirectUrl) === null || _config$routes$profil2 === void 0 ? void 0 : _config$routes$profil2.submit) && history.push(config.routes.profile.redirectUrl.submit);
|
|
6080
|
+
} else {
|
|
6081
|
+
var _config$routes2, _config$routes2$users, _config$routes2$users2;
|
|
6082
|
+
(config === null || config === void 0 ? void 0 : (_config$routes2 = config.routes) === null || _config$routes2 === void 0 ? void 0 : (_config$routes2$users = _config$routes2.users) === null || _config$routes2$users === void 0 ? void 0 : (_config$routes2$users2 = _config$routes2$users.list) === null || _config$routes2$users2 === void 0 ? void 0 : _config$routes2$users2.path) && history.push(config.routes.users.list.path);
|
|
6134
6083
|
}
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6084
|
+
setFilesForDelete([]);
|
|
6085
|
+
setProfilePicDelete([]);
|
|
6086
|
+
})["catch"](function (err) {
|
|
6087
|
+
if (typeof err === 'object') {
|
|
6088
|
+
if (err.country_code) {
|
|
6089
|
+
err.contact_number = err.country_code;
|
|
6090
|
+
}
|
|
6091
|
+
if (err.contact_country_code) {
|
|
6092
|
+
err.contact_number = err.contact_country_code;
|
|
6093
|
+
}
|
|
6094
|
+
if (err.passport) {
|
|
6095
|
+
err.passport_photo = _extends({}, err.passport);
|
|
6096
|
+
delete err.passport;
|
|
6097
|
+
}
|
|
6098
|
+
setErrorArray(Object.keys(err));
|
|
6099
|
+
setErrorMsgs(err);
|
|
6100
|
+
var _loop2 = function _loop2() {
|
|
6101
|
+
if (Object.hasOwnProperty.call(err, _key4)) {
|
|
6102
|
+
if (err[_key4]) {
|
|
6103
|
+
if (_key4 in passportInfoInput || _key4 in travelPreferenceInfo || _key4 in secureTravelInputInfo) {
|
|
6104
|
+
setAdditionalInfoFlag('open');
|
|
6105
|
+
}
|
|
6106
|
+
var el = document.getElementById(_key4 === 'country_code' || _key4 === 'contact_country_code' ? 'contact_number' : _key4);
|
|
6107
|
+
if (el) {
|
|
6108
|
+
setTimeout(function () {
|
|
6109
|
+
el.scrollIntoView({
|
|
6110
|
+
behavior: 'smooth',
|
|
6111
|
+
block: 'center'
|
|
6112
|
+
});
|
|
6113
|
+
}, 500);
|
|
6114
|
+
return "break";
|
|
6115
|
+
}
|
|
6152
6116
|
}
|
|
6153
6117
|
}
|
|
6118
|
+
};
|
|
6119
|
+
for (var _key4 in err) {
|
|
6120
|
+
var _ret2 = _loop2();
|
|
6121
|
+
if (_ret2 === "break") break;
|
|
6154
6122
|
}
|
|
6155
|
-
}
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
}
|
|
6160
|
-
} else if (typeof err === 'string') {
|
|
6161
|
-
IUIToastMessageService$4.warningNotify(err);
|
|
6162
|
-
} else {
|
|
6163
|
-
IUIToastMessageService$4.warningNotify('Opps, Something went wrong.');
|
|
6164
|
-
}
|
|
6165
|
-
})["finally"](function () {
|
|
6166
|
-
dispatch(stopLoader());
|
|
6167
|
-
});
|
|
6168
|
-
} else {
|
|
6169
|
-
dispatch(showLoader());
|
|
6170
|
-
dispatch(createUser(payload)).then(function (res) {
|
|
6171
|
-
var _config$routes3, _config$routes3$users, _config$routes3$users2;
|
|
6172
|
-
(config === null || config === void 0 ? void 0 : (_config$routes3 = config.routes) === null || _config$routes3 === void 0 ? void 0 : (_config$routes3$users = _config$routes3.users) === null || _config$routes3$users === void 0 ? void 0 : (_config$routes3$users2 = _config$routes3$users.list) === null || _config$routes3$users2 === void 0 ? void 0 : _config$routes3$users2.path) && history.push(config.routes.users.list.path);
|
|
6173
|
-
})["catch"](function (err) {
|
|
6174
|
-
if (typeof err === 'object') {
|
|
6175
|
-
if (err.country_code) {
|
|
6176
|
-
err.contact_number = err.country_code;
|
|
6177
|
-
}
|
|
6178
|
-
if (err.contact_country_code) {
|
|
6179
|
-
err.contact_number = err.contact_country_code;
|
|
6180
|
-
}
|
|
6181
|
-
if (err.passport) {
|
|
6182
|
-
err.passport_photo = _extends({}, err.passport);
|
|
6183
|
-
delete err.passport;
|
|
6123
|
+
} else if (typeof err === 'string') {
|
|
6124
|
+
IUIToastMessageService$4.warningNotify(err);
|
|
6125
|
+
} else {
|
|
6126
|
+
IUIToastMessageService$4.warningNotify('Opps, Something went wrong.');
|
|
6184
6127
|
}
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6128
|
+
})["finally"](function () {
|
|
6129
|
+
dispatch(stopLoader());
|
|
6130
|
+
});
|
|
6131
|
+
} else {
|
|
6132
|
+
dispatch(showLoader());
|
|
6133
|
+
dispatch(createUser(payload)).then(function (res) {
|
|
6134
|
+
var _config$routes3, _config$routes3$users, _config$routes3$users2;
|
|
6135
|
+
(config === null || config === void 0 ? void 0 : (_config$routes3 = config.routes) === null || _config$routes3 === void 0 ? void 0 : (_config$routes3$users = _config$routes3.users) === null || _config$routes3$users === void 0 ? void 0 : (_config$routes3$users2 = _config$routes3$users.list) === null || _config$routes3$users2 === void 0 ? void 0 : _config$routes3$users2.path) && history.push(config.routes.users.list.path);
|
|
6136
|
+
})["catch"](function (err) {
|
|
6137
|
+
if (typeof err === 'object') {
|
|
6138
|
+
if (err.country_code) {
|
|
6139
|
+
err.contact_number = err.country_code;
|
|
6140
|
+
}
|
|
6141
|
+
if (err.contact_country_code) {
|
|
6142
|
+
err.contact_number = err.contact_country_code;
|
|
6143
|
+
}
|
|
6144
|
+
if (err.passport) {
|
|
6145
|
+
err.passport_photo = _extends({}, err.passport);
|
|
6146
|
+
delete err.passport;
|
|
6147
|
+
}
|
|
6148
|
+
setErrorArray(Object.keys(err));
|
|
6149
|
+
setErrorMsgs(err);
|
|
6150
|
+
var _loop3 = function _loop3() {
|
|
6151
|
+
if (Object.hasOwnProperty.call(err, _key5)) {
|
|
6152
|
+
if (err[_key5]) {
|
|
6153
|
+
if (_key5 in passportInfoInput || _key5 in travelPreferenceInfo || _key5 in secureTravelInputInfo) {
|
|
6154
|
+
setAdditionalInfoFlag('open');
|
|
6155
|
+
}
|
|
6156
|
+
var el = document.getElementById(_key5 === 'country_code' || _key5 === 'contact_country_code' ? 'contact_number' : _key5);
|
|
6157
|
+
if (el) {
|
|
6158
|
+
setTimeout(function () {
|
|
6159
|
+
el.scrollIntoView({
|
|
6160
|
+
behavior: 'smooth',
|
|
6161
|
+
block: 'center'
|
|
6162
|
+
});
|
|
6163
|
+
}, 500);
|
|
6164
|
+
return "break";
|
|
6165
|
+
}
|
|
6202
6166
|
}
|
|
6203
6167
|
}
|
|
6168
|
+
};
|
|
6169
|
+
for (var _key5 in err) {
|
|
6170
|
+
var _ret3 = _loop3();
|
|
6171
|
+
if (_ret3 === "break") break;
|
|
6204
6172
|
}
|
|
6205
|
-
}
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6173
|
+
} else if (typeof err === 'string') {
|
|
6174
|
+
IUIToastMessageService$4.warningNotify(err);
|
|
6175
|
+
} else {
|
|
6176
|
+
IUIToastMessageService$4.warningNotify('Opps, Something went wrong.');
|
|
6209
6177
|
}
|
|
6210
|
-
}
|
|
6211
|
-
|
|
6212
|
-
}
|
|
6213
|
-
|
|
6214
|
-
}
|
|
6215
|
-
})["finally"](function () {
|
|
6216
|
-
dispatch(stopLoader());
|
|
6217
|
-
});
|
|
6178
|
+
})["finally"](function () {
|
|
6179
|
+
dispatch(stopLoader());
|
|
6180
|
+
});
|
|
6181
|
+
}
|
|
6218
6182
|
}
|
|
6219
6183
|
return Promise.resolve();
|
|
6220
6184
|
} catch (e) {
|
|
@@ -6254,15 +6218,10 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6254
6218
|
dispatch(verifyUserInfo(verifyUserId)).then(function (res) {
|
|
6255
6219
|
setPersonalInfoInput(function (prevState) {
|
|
6256
6220
|
return _extends({}, prevState, {
|
|
6257
|
-
first_name: res.
|
|
6258
|
-
last_name: res.
|
|
6221
|
+
first_name: res.first_name,
|
|
6222
|
+
last_name: res.last_name,
|
|
6259
6223
|
email: res.email,
|
|
6260
6224
|
contact_number: res.phone,
|
|
6261
|
-
dob: function () {
|
|
6262
|
-
var dt = new Date(res.dob);
|
|
6263
|
-
var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
|
6264
|
-
return dt.getDate() + " " + months[dt.getMonth()] + " " + dt.getFullYear();
|
|
6265
|
-
}(),
|
|
6266
6225
|
gender: function () {
|
|
6267
6226
|
if (res.gender === 'male') return 'Male';else if (res.gender === 'female') return 'Female';else if (res.gender === 'others') return 'Others';else return '';
|
|
6268
6227
|
}()
|
|
@@ -6425,6 +6384,9 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6425
6384
|
if (!p.visibility) {
|
|
6426
6385
|
return null;
|
|
6427
6386
|
}
|
|
6387
|
+
if (p.name === 'profile_pic' && config.env.isExpenseProduct) {
|
|
6388
|
+
return null;
|
|
6389
|
+
}
|
|
6428
6390
|
return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
6429
6391
|
item: true,
|
|
6430
6392
|
sm: 12,
|
|
@@ -8550,6 +8512,7 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
8550
8512
|
endIcon: null,
|
|
8551
8513
|
outlinedBtn: false,
|
|
8552
8514
|
className: "threedotMenuBtn",
|
|
8515
|
+
MoreHorizIcon: true,
|
|
8553
8516
|
placement: "bottom-end"
|
|
8554
8517
|
}));
|
|
8555
8518
|
},
|
|
@@ -8612,17 +8575,17 @@ var SingupRequests = function SingupRequests(props) {
|
|
|
8612
8575
|
return dt.getDate() + " " + months[dt.getMonth()] + " " + dt.getFullYear();
|
|
8613
8576
|
};
|
|
8614
8577
|
var columns = [{
|
|
8615
|
-
id: '
|
|
8578
|
+
id: 'first_name',
|
|
8616
8579
|
label: 'Name',
|
|
8617
8580
|
minWidth: 250,
|
|
8618
8581
|
sortable: true,
|
|
8619
8582
|
cell: function cell(row) {
|
|
8620
8583
|
var _row$profile_pic2;
|
|
8621
8584
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(iuistyles.IUIProfileBox, {
|
|
8622
|
-
firstName: row.
|
|
8623
|
-
lastName: row.
|
|
8585
|
+
firstName: row.first_name,
|
|
8586
|
+
lastName: row.last_name,
|
|
8624
8587
|
isLetterAvatar: row.profile_pic && row.profile_pic.presigned_url ? false : true,
|
|
8625
|
-
primaryText: row.
|
|
8588
|
+
primaryText: row.first_name + ' ' + row.last_name,
|
|
8626
8589
|
secondaryText: row.email,
|
|
8627
8590
|
letterAvatarTextColor: "black",
|
|
8628
8591
|
letterAvatarBackgroundColor: "#d3d3d3",
|
|
@@ -8631,7 +8594,7 @@ var SingupRequests = function SingupRequests(props) {
|
|
|
8631
8594
|
}));
|
|
8632
8595
|
}
|
|
8633
8596
|
}, {
|
|
8634
|
-
id: '
|
|
8597
|
+
id: 'created_at',
|
|
8635
8598
|
label: 'Requested on',
|
|
8636
8599
|
minWidth: 100,
|
|
8637
8600
|
sortable: true,
|
|
@@ -8641,7 +8604,7 @@ var SingupRequests = function SingupRequests(props) {
|
|
|
8641
8604
|
width: 100
|
|
8642
8605
|
}, /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
|
|
8643
8606
|
className: clsx(styles$5.rowText, styles$5.textTransform)
|
|
8644
|
-
}, formatDate(row.
|
|
8607
|
+
}, formatDate(row.created_at)));
|
|
8645
8608
|
}
|
|
8646
8609
|
}, {
|
|
8647
8610
|
id: 'actions',
|
|
@@ -8914,7 +8877,7 @@ var UserList = function UserList(_ref2) {
|
|
|
8914
8877
|
var _React$useState11 = React__default.useState('asc'),
|
|
8915
8878
|
signup_order = _React$useState11[0],
|
|
8916
8879
|
setSignUpOrder = _React$useState11[1];
|
|
8917
|
-
var _React$useState12 = React__default.useState('
|
|
8880
|
+
var _React$useState12 = React__default.useState('first_name'),
|
|
8918
8881
|
signup_orderBy = _React$useState12[0],
|
|
8919
8882
|
setSignUpOrderBy = _React$useState12[1];
|
|
8920
8883
|
var _useState22 = React.useState(''),
|
|
@@ -8948,31 +8911,14 @@ var UserList = function UserList(_ref2) {
|
|
|
8948
8911
|
var _SelectedUsersNotApprover = [].concat(selectedUsersNotApprover);
|
|
8949
8912
|
var _SelectedUsersApprover = [].concat(selectedUsersApprover);
|
|
8950
8913
|
var _selected = Object.values(selected).flat();
|
|
8951
|
-
|
|
8952
|
-
|
|
8953
|
-
var tempArray1 = [];
|
|
8954
|
-
var tempArray2 = [];
|
|
8955
|
-
_SelectedUsersNotApprover.map(function (item) {
|
|
8956
|
-
if (temp1[item.id] !== item) {
|
|
8957
|
-
temp1[item.id] = item;
|
|
8958
|
-
}
|
|
8914
|
+
_SelectedUsersNotApprover = _SelectedUsersNotApprover.filter(function (item) {
|
|
8915
|
+
return _selected.includes(item.id.toString());
|
|
8959
8916
|
});
|
|
8960
|
-
_SelectedUsersApprover.
|
|
8961
|
-
|
|
8962
|
-
temp2[item.id] = item;
|
|
8963
|
-
}
|
|
8917
|
+
_SelectedUsersApprover = _SelectedUsersApprover.filter(function (item) {
|
|
8918
|
+
return _selected.includes(item.id.toString());
|
|
8964
8919
|
});
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
if (_selected[i] == temp1[_selected[i]].id) {
|
|
8968
|
-
tempArray1.push(temp1[_selected[i]]);
|
|
8969
|
-
}
|
|
8970
|
-
} else if (temp2[_selected[i]].id != undefined) {
|
|
8971
|
-
if (_selected[i] == temp2[_selected[i]].id) tempArray2.push(temp2[_selected[i]]);
|
|
8972
|
-
}
|
|
8973
|
-
}
|
|
8974
|
-
setSelectedUsersNotApprover(tempArray1);
|
|
8975
|
-
setSelectedUsersApprover(tempArray2);
|
|
8920
|
+
setSelectedUsersNotApprover(_SelectedUsersNotApprover);
|
|
8921
|
+
setSelectedUsersApprover(_SelectedUsersApprover);
|
|
8976
8922
|
setIsBulkDeactivateModalOpen(true);
|
|
8977
8923
|
} else {
|
|
8978
8924
|
setOpenDeActivateModalFlag(true);
|
|
@@ -9730,10 +9676,7 @@ var UserList = function UserList(_ref2) {
|
|
|
9730
9676
|
}));
|
|
9731
9677
|
})), selectedUsersNotApprover !== null && selectedUsersNotApprover !== void 0 && selectedUsersNotApprover.length ? /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, null, /*#__PURE__*/React__default.createElement("hr", {
|
|
9732
9678
|
style: {
|
|
9733
|
-
borderColor: '#E5E9ED'
|
|
9734
|
-
borderLeft: 'none',
|
|
9735
|
-
borderTop: 'none',
|
|
9736
|
-
borderRight: 'none'
|
|
9679
|
+
borderColor: '#E5E9ED'
|
|
9737
9680
|
}
|
|
9738
9681
|
}), /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
9739
9682
|
className: "iui__my-15"
|