@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.modern.js
CHANGED
|
@@ -1115,24 +1115,6 @@ var formatUpdateUserPayload = function formatUpdateUserPayload(payload, inputCha
|
|
|
1115
1115
|
});
|
|
1116
1116
|
}
|
|
1117
1117
|
}
|
|
1118
|
-
if (payload.uploadedFiles && payload.uploadedFiles.length > 0) {
|
|
1119
|
-
res.fields.files = payload.uploadedFiles.filter(function (_file) {
|
|
1120
|
-
return !_file.isExistingFile;
|
|
1121
|
-
}).map(function (_file) {
|
|
1122
|
-
return {
|
|
1123
|
-
file_type: _file.file_type,
|
|
1124
|
-
file_path: _file.file_path,
|
|
1125
|
-
user_file_name: _file.user_file_name,
|
|
1126
|
-
upload: _file.upload
|
|
1127
|
-
};
|
|
1128
|
-
});
|
|
1129
|
-
}
|
|
1130
|
-
if (payload.filesForDelete.length > 0) {
|
|
1131
|
-
res.fields.filesToDelete = payload.filesForDelete;
|
|
1132
|
-
}
|
|
1133
|
-
if (payload.profilePicDelete.length > 0) {
|
|
1134
|
-
res.fields.profilePicDelete = payload.profilePicDelete;
|
|
1135
|
-
}
|
|
1136
1118
|
}
|
|
1137
1119
|
return res;
|
|
1138
1120
|
};
|
|
@@ -5362,10 +5344,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5362
5344
|
_value = args._value,
|
|
5363
5345
|
_isError = args._isError,
|
|
5364
5346
|
_errorMsg = args._errorMsg;
|
|
5365
|
-
console.log(
|
|
5366
|
-
_name: _name,
|
|
5367
|
-
_value: _value
|
|
5368
|
-
});
|
|
5347
|
+
console.log(_name, _value);
|
|
5369
5348
|
setEmployeeInfoInput(_extends({}, employeeInfoInput, (_extends8 = {}, _extends8[_name] = _value, _extends8)));
|
|
5370
5349
|
updateError(_name, _isError, _errorMsg);
|
|
5371
5350
|
if (Object.hasOwnProperty.call(inputChangeLog, _name)) {
|
|
@@ -5623,6 +5602,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5623
5602
|
userId: isProfile ? id : editUserId
|
|
5624
5603
|
})).then(function (res) {
|
|
5625
5604
|
var _res$user_tags, _res$custom_attribute;
|
|
5605
|
+
console.log('response is', res);
|
|
5626
5606
|
var profilePic = [];
|
|
5627
5607
|
if (res && res.profile_pic) {
|
|
5628
5608
|
profilePic = [{
|
|
@@ -5827,24 +5807,6 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5827
5807
|
return _extends({}, prevState, expenseApprovers);
|
|
5828
5808
|
});
|
|
5829
5809
|
}
|
|
5830
|
-
var _uploadedDocs2 = [];
|
|
5831
|
-
res.files.forEach(function (_file) {
|
|
5832
|
-
_uploadedDocs2.push({
|
|
5833
|
-
user_file_name: _file.user_file_name,
|
|
5834
|
-
id: _file.id,
|
|
5835
|
-
isExistingFile: true,
|
|
5836
|
-
file_type: _file.file_type
|
|
5837
|
-
});
|
|
5838
|
-
});
|
|
5839
|
-
if (res && res.profile_pic) {
|
|
5840
|
-
_uploadedDocs2.push({
|
|
5841
|
-
user_file_name: res.profile_pic.user_file_name,
|
|
5842
|
-
id: res.profile_pic.id,
|
|
5843
|
-
isExistingFile: true,
|
|
5844
|
-
file_type: res.profile_pic.file_type
|
|
5845
|
-
});
|
|
5846
|
-
}
|
|
5847
|
-
setUploadedFiles(_uploadedDocs2);
|
|
5848
5810
|
}
|
|
5849
5811
|
})["catch"](function () {})["finally"](function () {
|
|
5850
5812
|
dispatch(stopLoader());
|
|
@@ -5936,6 +5898,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5936
5898
|
IUIToastMessageService$4.warningNotify(checkAnyError);
|
|
5937
5899
|
return Promise.resolve();
|
|
5938
5900
|
}
|
|
5901
|
+
console.log(employeeInfoInput, 'data');
|
|
5939
5902
|
var payload = {
|
|
5940
5903
|
personalInfoInput: personalInfoInput,
|
|
5941
5904
|
employeeInfoInput: employeeInfoInput,
|
|
@@ -6103,115 +6066,116 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6103
6066
|
var _ret = _loop();
|
|
6104
6067
|
if (_ret === "break") break;
|
|
6105
6068
|
}
|
|
6106
|
-
return Promise.resolve();
|
|
6107
6069
|
}
|
|
6108
|
-
if (
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
setFilesForDelete([]);
|
|
6119
|
-
setProfilePicDelete([]);
|
|
6120
|
-
})["catch"](function (err) {
|
|
6121
|
-
if (typeof err === 'object') {
|
|
6122
|
-
if (err.country_code) {
|
|
6123
|
-
err.contact_number = err.country_code;
|
|
6124
|
-
}
|
|
6125
|
-
if (err.contact_country_code) {
|
|
6126
|
-
err.contact_number = err.contact_country_code;
|
|
6127
|
-
}
|
|
6128
|
-
if (err.passport) {
|
|
6129
|
-
err.passport_photo = _extends({}, err.passport);
|
|
6130
|
-
delete err.passport;
|
|
6070
|
+
if (!_isError) {
|
|
6071
|
+
if (isEditMode && editUserId || isProfile) {
|
|
6072
|
+
dispatch(showLoader());
|
|
6073
|
+
dispatch(updateUser(payload, isProfile ? id : editUserId, inputChangeLog)).then(function (res) {
|
|
6074
|
+
if (isProfile) {
|
|
6075
|
+
var _config$routes, _config$routes$profil, _config$routes$profil2;
|
|
6076
|
+
(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);
|
|
6077
|
+
} else {
|
|
6078
|
+
var _config$routes2, _config$routes2$users, _config$routes2$users2;
|
|
6079
|
+
(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);
|
|
6131
6080
|
}
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6081
|
+
setFilesForDelete([]);
|
|
6082
|
+
setProfilePicDelete([]);
|
|
6083
|
+
})["catch"](function (err) {
|
|
6084
|
+
if (typeof err === 'object') {
|
|
6085
|
+
if (err.country_code) {
|
|
6086
|
+
err.contact_number = err.country_code;
|
|
6087
|
+
}
|
|
6088
|
+
if (err.contact_country_code) {
|
|
6089
|
+
err.contact_number = err.contact_country_code;
|
|
6090
|
+
}
|
|
6091
|
+
if (err.passport) {
|
|
6092
|
+
err.passport_photo = _extends({}, err.passport);
|
|
6093
|
+
delete err.passport;
|
|
6094
|
+
}
|
|
6095
|
+
setErrorArray(Object.keys(err));
|
|
6096
|
+
setErrorMsgs(err);
|
|
6097
|
+
var _loop2 = function _loop2() {
|
|
6098
|
+
if (Object.hasOwnProperty.call(err, _key4)) {
|
|
6099
|
+
if (err[_key4]) {
|
|
6100
|
+
if (_key4 in passportInfoInput || _key4 in travelPreferenceInfo || _key4 in secureTravelInputInfo) {
|
|
6101
|
+
setAdditionalInfoFlag('open');
|
|
6102
|
+
}
|
|
6103
|
+
var el = document.getElementById(_key4 === 'country_code' || _key4 === 'contact_country_code' ? 'contact_number' : _key4);
|
|
6104
|
+
if (el) {
|
|
6105
|
+
setTimeout(function () {
|
|
6106
|
+
el.scrollIntoView({
|
|
6107
|
+
behavior: 'smooth',
|
|
6108
|
+
block: 'center'
|
|
6109
|
+
});
|
|
6110
|
+
}, 500);
|
|
6111
|
+
return "break";
|
|
6112
|
+
}
|
|
6149
6113
|
}
|
|
6150
6114
|
}
|
|
6115
|
+
};
|
|
6116
|
+
for (var _key4 in err) {
|
|
6117
|
+
var _ret2 = _loop2();
|
|
6118
|
+
if (_ret2 === "break") break;
|
|
6151
6119
|
}
|
|
6152
|
-
}
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
}
|
|
6157
|
-
} else if (typeof err === 'string') {
|
|
6158
|
-
IUIToastMessageService$4.warningNotify(err);
|
|
6159
|
-
} else {
|
|
6160
|
-
IUIToastMessageService$4.warningNotify('Opps, Something went wrong.');
|
|
6161
|
-
}
|
|
6162
|
-
})["finally"](function () {
|
|
6163
|
-
dispatch(stopLoader());
|
|
6164
|
-
});
|
|
6165
|
-
} else {
|
|
6166
|
-
dispatch(showLoader());
|
|
6167
|
-
dispatch(createUser(payload)).then(function (res) {
|
|
6168
|
-
var _config$routes3, _config$routes3$users, _config$routes3$users2;
|
|
6169
|
-
(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);
|
|
6170
|
-
})["catch"](function (err) {
|
|
6171
|
-
if (typeof err === 'object') {
|
|
6172
|
-
if (err.country_code) {
|
|
6173
|
-
err.contact_number = err.country_code;
|
|
6174
|
-
}
|
|
6175
|
-
if (err.contact_country_code) {
|
|
6176
|
-
err.contact_number = err.contact_country_code;
|
|
6177
|
-
}
|
|
6178
|
-
if (err.passport) {
|
|
6179
|
-
err.passport_photo = _extends({}, err.passport);
|
|
6180
|
-
delete err.passport;
|
|
6120
|
+
} else if (typeof err === 'string') {
|
|
6121
|
+
IUIToastMessageService$4.warningNotify(err);
|
|
6122
|
+
} else {
|
|
6123
|
+
IUIToastMessageService$4.warningNotify('Opps, Something went wrong.');
|
|
6181
6124
|
}
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6125
|
+
})["finally"](function () {
|
|
6126
|
+
dispatch(stopLoader());
|
|
6127
|
+
});
|
|
6128
|
+
} else {
|
|
6129
|
+
dispatch(showLoader());
|
|
6130
|
+
dispatch(createUser(payload)).then(function (res) {
|
|
6131
|
+
var _config$routes3, _config$routes3$users, _config$routes3$users2;
|
|
6132
|
+
(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);
|
|
6133
|
+
})["catch"](function (err) {
|
|
6134
|
+
if (typeof err === 'object') {
|
|
6135
|
+
if (err.country_code) {
|
|
6136
|
+
err.contact_number = err.country_code;
|
|
6137
|
+
}
|
|
6138
|
+
if (err.contact_country_code) {
|
|
6139
|
+
err.contact_number = err.contact_country_code;
|
|
6140
|
+
}
|
|
6141
|
+
if (err.passport) {
|
|
6142
|
+
err.passport_photo = _extends({}, err.passport);
|
|
6143
|
+
delete err.passport;
|
|
6144
|
+
}
|
|
6145
|
+
setErrorArray(Object.keys(err));
|
|
6146
|
+
setErrorMsgs(err);
|
|
6147
|
+
var _loop3 = function _loop3() {
|
|
6148
|
+
if (Object.hasOwnProperty.call(err, _key5)) {
|
|
6149
|
+
if (err[_key5]) {
|
|
6150
|
+
if (_key5 in passportInfoInput || _key5 in travelPreferenceInfo || _key5 in secureTravelInputInfo) {
|
|
6151
|
+
setAdditionalInfoFlag('open');
|
|
6152
|
+
}
|
|
6153
|
+
var el = document.getElementById(_key5 === 'country_code' || _key5 === 'contact_country_code' ? 'contact_number' : _key5);
|
|
6154
|
+
if (el) {
|
|
6155
|
+
setTimeout(function () {
|
|
6156
|
+
el.scrollIntoView({
|
|
6157
|
+
behavior: 'smooth',
|
|
6158
|
+
block: 'center'
|
|
6159
|
+
});
|
|
6160
|
+
}, 500);
|
|
6161
|
+
return "break";
|
|
6162
|
+
}
|
|
6199
6163
|
}
|
|
6200
6164
|
}
|
|
6165
|
+
};
|
|
6166
|
+
for (var _key5 in err) {
|
|
6167
|
+
var _ret3 = _loop3();
|
|
6168
|
+
if (_ret3 === "break") break;
|
|
6201
6169
|
}
|
|
6202
|
-
}
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6170
|
+
} else if (typeof err === 'string') {
|
|
6171
|
+
IUIToastMessageService$4.warningNotify(err);
|
|
6172
|
+
} else {
|
|
6173
|
+
IUIToastMessageService$4.warningNotify('Opps, Something went wrong.');
|
|
6206
6174
|
}
|
|
6207
|
-
}
|
|
6208
|
-
|
|
6209
|
-
}
|
|
6210
|
-
|
|
6211
|
-
}
|
|
6212
|
-
})["finally"](function () {
|
|
6213
|
-
dispatch(stopLoader());
|
|
6214
|
-
});
|
|
6175
|
+
})["finally"](function () {
|
|
6176
|
+
dispatch(stopLoader());
|
|
6177
|
+
});
|
|
6178
|
+
}
|
|
6215
6179
|
}
|
|
6216
6180
|
return Promise.resolve();
|
|
6217
6181
|
} catch (e) {
|
|
@@ -6251,15 +6215,10 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6251
6215
|
dispatch(verifyUserInfo(verifyUserId)).then(function (res) {
|
|
6252
6216
|
setPersonalInfoInput(function (prevState) {
|
|
6253
6217
|
return _extends({}, prevState, {
|
|
6254
|
-
first_name: res.
|
|
6255
|
-
last_name: res.
|
|
6218
|
+
first_name: res.first_name,
|
|
6219
|
+
last_name: res.last_name,
|
|
6256
6220
|
email: res.email,
|
|
6257
6221
|
contact_number: res.phone,
|
|
6258
|
-
dob: function () {
|
|
6259
|
-
var dt = new Date(res.dob);
|
|
6260
|
-
var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
|
6261
|
-
return dt.getDate() + " " + months[dt.getMonth()] + " " + dt.getFullYear();
|
|
6262
|
-
}(),
|
|
6263
6222
|
gender: function () {
|
|
6264
6223
|
if (res.gender === 'male') return 'Male';else if (res.gender === 'female') return 'Female';else if (res.gender === 'others') return 'Others';else return '';
|
|
6265
6224
|
}()
|
|
@@ -6422,6 +6381,9 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6422
6381
|
if (!p.visibility) {
|
|
6423
6382
|
return null;
|
|
6424
6383
|
}
|
|
6384
|
+
if (p.name === 'profile_pic' && config.env.isExpenseProduct) {
|
|
6385
|
+
return null;
|
|
6386
|
+
}
|
|
6425
6387
|
return /*#__PURE__*/React.createElement(IUIGrid, {
|
|
6426
6388
|
item: true,
|
|
6427
6389
|
sm: 12,
|
|
@@ -8547,6 +8509,7 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
8547
8509
|
endIcon: null,
|
|
8548
8510
|
outlinedBtn: false,
|
|
8549
8511
|
className: "threedotMenuBtn",
|
|
8512
|
+
MoreHorizIcon: true,
|
|
8550
8513
|
placement: "bottom-end"
|
|
8551
8514
|
}));
|
|
8552
8515
|
},
|
|
@@ -8609,17 +8572,17 @@ var SingupRequests = function SingupRequests(props) {
|
|
|
8609
8572
|
return dt.getDate() + " " + months[dt.getMonth()] + " " + dt.getFullYear();
|
|
8610
8573
|
};
|
|
8611
8574
|
var columns = [{
|
|
8612
|
-
id: '
|
|
8575
|
+
id: 'first_name',
|
|
8613
8576
|
label: 'Name',
|
|
8614
8577
|
minWidth: 250,
|
|
8615
8578
|
sortable: true,
|
|
8616
8579
|
cell: function cell(row) {
|
|
8617
8580
|
var _row$profile_pic2;
|
|
8618
8581
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IUIProfileBox, {
|
|
8619
|
-
firstName: row.
|
|
8620
|
-
lastName: row.
|
|
8582
|
+
firstName: row.first_name,
|
|
8583
|
+
lastName: row.last_name,
|
|
8621
8584
|
isLetterAvatar: row.profile_pic && row.profile_pic.presigned_url ? false : true,
|
|
8622
|
-
primaryText: row.
|
|
8585
|
+
primaryText: row.first_name + ' ' + row.last_name,
|
|
8623
8586
|
secondaryText: row.email,
|
|
8624
8587
|
letterAvatarTextColor: "black",
|
|
8625
8588
|
letterAvatarBackgroundColor: "#d3d3d3",
|
|
@@ -8628,7 +8591,7 @@ var SingupRequests = function SingupRequests(props) {
|
|
|
8628
8591
|
}));
|
|
8629
8592
|
}
|
|
8630
8593
|
}, {
|
|
8631
|
-
id: '
|
|
8594
|
+
id: 'created_at',
|
|
8632
8595
|
label: 'Requested on',
|
|
8633
8596
|
minWidth: 100,
|
|
8634
8597
|
sortable: true,
|
|
@@ -8638,7 +8601,7 @@ var SingupRequests = function SingupRequests(props) {
|
|
|
8638
8601
|
width: 100
|
|
8639
8602
|
}, /*#__PURE__*/React.createElement(IUITypography, {
|
|
8640
8603
|
className: clsx(styles$5.rowText, styles$5.textTransform)
|
|
8641
|
-
}, formatDate(row.
|
|
8604
|
+
}, formatDate(row.created_at)));
|
|
8642
8605
|
}
|
|
8643
8606
|
}, {
|
|
8644
8607
|
id: 'actions',
|
|
@@ -8911,7 +8874,7 @@ var UserList = function UserList(_ref2) {
|
|
|
8911
8874
|
var _React$useState11 = React.useState('asc'),
|
|
8912
8875
|
signup_order = _React$useState11[0],
|
|
8913
8876
|
setSignUpOrder = _React$useState11[1];
|
|
8914
|
-
var _React$useState12 = React.useState('
|
|
8877
|
+
var _React$useState12 = React.useState('first_name'),
|
|
8915
8878
|
signup_orderBy = _React$useState12[0],
|
|
8916
8879
|
setSignUpOrderBy = _React$useState12[1];
|
|
8917
8880
|
var _useState22 = useState(''),
|
|
@@ -8945,31 +8908,14 @@ var UserList = function UserList(_ref2) {
|
|
|
8945
8908
|
var _SelectedUsersNotApprover = [].concat(selectedUsersNotApprover);
|
|
8946
8909
|
var _SelectedUsersApprover = [].concat(selectedUsersApprover);
|
|
8947
8910
|
var _selected = Object.values(selected).flat();
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
var tempArray1 = [];
|
|
8951
|
-
var tempArray2 = [];
|
|
8952
|
-
_SelectedUsersNotApprover.map(function (item) {
|
|
8953
|
-
if (temp1[item.id] !== item) {
|
|
8954
|
-
temp1[item.id] = item;
|
|
8955
|
-
}
|
|
8911
|
+
_SelectedUsersNotApprover = _SelectedUsersNotApprover.filter(function (item) {
|
|
8912
|
+
return _selected.includes(item.id.toString());
|
|
8956
8913
|
});
|
|
8957
|
-
_SelectedUsersApprover.
|
|
8958
|
-
|
|
8959
|
-
temp2[item.id] = item;
|
|
8960
|
-
}
|
|
8914
|
+
_SelectedUsersApprover = _SelectedUsersApprover.filter(function (item) {
|
|
8915
|
+
return _selected.includes(item.id.toString());
|
|
8961
8916
|
});
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
if (_selected[i] == temp1[_selected[i]].id) {
|
|
8965
|
-
tempArray1.push(temp1[_selected[i]]);
|
|
8966
|
-
}
|
|
8967
|
-
} else if (temp2[_selected[i]].id != undefined) {
|
|
8968
|
-
if (_selected[i] == temp2[_selected[i]].id) tempArray2.push(temp2[_selected[i]]);
|
|
8969
|
-
}
|
|
8970
|
-
}
|
|
8971
|
-
setSelectedUsersNotApprover(tempArray1);
|
|
8972
|
-
setSelectedUsersApprover(tempArray2);
|
|
8917
|
+
setSelectedUsersNotApprover(_SelectedUsersNotApprover);
|
|
8918
|
+
setSelectedUsersApprover(_SelectedUsersApprover);
|
|
8973
8919
|
setIsBulkDeactivateModalOpen(true);
|
|
8974
8920
|
} else {
|
|
8975
8921
|
setOpenDeActivateModalFlag(true);
|
|
@@ -9727,10 +9673,7 @@ var UserList = function UserList(_ref2) {
|
|
|
9727
9673
|
}));
|
|
9728
9674
|
})), selectedUsersNotApprover !== null && selectedUsersNotApprover !== void 0 && selectedUsersNotApprover.length ? /*#__PURE__*/React.createElement(IUIBox, null, /*#__PURE__*/React.createElement("hr", {
|
|
9729
9675
|
style: {
|
|
9730
|
-
borderColor: '#E5E9ED'
|
|
9731
|
-
borderLeft: 'none',
|
|
9732
|
-
borderTop: 'none',
|
|
9733
|
-
borderRight: 'none'
|
|
9676
|
+
borderColor: '#E5E9ED'
|
|
9734
9677
|
}
|
|
9735
9678
|
}), /*#__PURE__*/React.createElement(IUIBox, {
|
|
9736
9679
|
className: "iui__my-15"
|