@itilite/iui-user-management 1.3.8 → 1.3.9
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 +187 -147
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +187 -147
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -5006,6 +5006,14 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5006
5006
|
},
|
|
5007
5007
|
designation: '',
|
|
5008
5008
|
base_location: '',
|
|
5009
|
+
manager_id: {
|
|
5010
|
+
value: '',
|
|
5011
|
+
label: 'Select Manager'
|
|
5012
|
+
},
|
|
5013
|
+
skip_manager_id: {
|
|
5014
|
+
value: '',
|
|
5015
|
+
label: 'Select Manager'
|
|
5016
|
+
},
|
|
5009
5017
|
currency: {
|
|
5010
5018
|
value: defaultCurrency,
|
|
5011
5019
|
label: defaultCurrency
|
|
@@ -5018,7 +5026,9 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5018
5026
|
entity: 0,
|
|
5019
5027
|
business_unit: 0,
|
|
5020
5028
|
department: 0,
|
|
5021
|
-
currency: 0
|
|
5029
|
+
currency: 0,
|
|
5030
|
+
manager_id: 0,
|
|
5031
|
+
skip_manager_id: 0
|
|
5022
5032
|
}),
|
|
5023
5033
|
cacheForAsyncDropdown = _useState4[0],
|
|
5024
5034
|
clearCacheForAsyncDropdown = _useState4[1];
|
|
@@ -5362,10 +5372,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5362
5372
|
_value = args._value,
|
|
5363
5373
|
_isError = args._isError,
|
|
5364
5374
|
_errorMsg = args._errorMsg;
|
|
5365
|
-
console.log(
|
|
5366
|
-
_name: _name,
|
|
5367
|
-
_value: _value
|
|
5368
|
-
});
|
|
5375
|
+
console.log(_name, _value);
|
|
5369
5376
|
setEmployeeInfoInput(_extends({}, employeeInfoInput, (_extends8 = {}, _extends8[_name] = _value, _extends8)));
|
|
5370
5377
|
updateError(_name, _isError, _errorMsg);
|
|
5371
5378
|
if (Object.hasOwnProperty.call(inputChangeLog, _name)) {
|
|
@@ -5653,6 +5660,20 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5653
5660
|
value: '',
|
|
5654
5661
|
label: 'Select employee level'
|
|
5655
5662
|
},
|
|
5663
|
+
manager_id: res.employee_info.manager ? {
|
|
5664
|
+
value: res.employee_info.manager,
|
|
5665
|
+
label: res.employee_info.manager
|
|
5666
|
+
} : {
|
|
5667
|
+
value: '',
|
|
5668
|
+
label: 'Select Manager'
|
|
5669
|
+
},
|
|
5670
|
+
skip_manager_id: res.employee_info.skip_manager ? {
|
|
5671
|
+
value: res.employee_info.skip_manager,
|
|
5672
|
+
label: res.employee_info.skip_manager
|
|
5673
|
+
} : {
|
|
5674
|
+
value: '',
|
|
5675
|
+
label: 'Select Manager'
|
|
5676
|
+
},
|
|
5656
5677
|
employee_id: res.employee_info.employee_id || '',
|
|
5657
5678
|
entity: res.employee_info.entity ? {
|
|
5658
5679
|
value: res.employee_info.entity.id,
|
|
@@ -5936,6 +5957,13 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5936
5957
|
IUIToastMessageService$4.warningNotify(checkAnyError);
|
|
5937
5958
|
return Promise.resolve();
|
|
5938
5959
|
}
|
|
5960
|
+
console.log(employeeInfoInput, "data");
|
|
5961
|
+
if (employeeInfoInput.manager_id.value !== '') {
|
|
5962
|
+
employeeInfoInput.manager_id = employeeInfoInput.manager.value;
|
|
5963
|
+
}
|
|
5964
|
+
if (employeeInfoInput.skip_manager_id.value !== '') {
|
|
5965
|
+
employeeInfoInput.skip_manager_id = employeeInfoInput.skip_manager.value;
|
|
5966
|
+
}
|
|
5939
5967
|
var payload = {
|
|
5940
5968
|
personalInfoInput: personalInfoInput,
|
|
5941
5969
|
employeeInfoInput: employeeInfoInput,
|
|
@@ -6103,115 +6131,116 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6103
6131
|
var _ret = _loop();
|
|
6104
6132
|
if (_ret === "break") break;
|
|
6105
6133
|
}
|
|
6106
|
-
return Promise.resolve();
|
|
6107
6134
|
}
|
|
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;
|
|
6135
|
+
if (!_isError) {
|
|
6136
|
+
if (isEditMode && editUserId || isProfile) {
|
|
6137
|
+
dispatch(showLoader());
|
|
6138
|
+
dispatch(updateUser(payload, isProfile ? id : editUserId, inputChangeLog)).then(function (res) {
|
|
6139
|
+
if (isProfile) {
|
|
6140
|
+
var _config$routes, _config$routes$profil, _config$routes$profil2;
|
|
6141
|
+
(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);
|
|
6142
|
+
} else {
|
|
6143
|
+
var _config$routes2, _config$routes2$users, _config$routes2$users2;
|
|
6144
|
+
(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
6145
|
}
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6146
|
+
setFilesForDelete([]);
|
|
6147
|
+
setProfilePicDelete([]);
|
|
6148
|
+
})["catch"](function (err) {
|
|
6149
|
+
if (typeof err === 'object') {
|
|
6150
|
+
if (err.country_code) {
|
|
6151
|
+
err.contact_number = err.country_code;
|
|
6152
|
+
}
|
|
6153
|
+
if (err.contact_country_code) {
|
|
6154
|
+
err.contact_number = err.contact_country_code;
|
|
6155
|
+
}
|
|
6156
|
+
if (err.passport) {
|
|
6157
|
+
err.passport_photo = _extends({}, err.passport);
|
|
6158
|
+
delete err.passport;
|
|
6159
|
+
}
|
|
6160
|
+
setErrorArray(Object.keys(err));
|
|
6161
|
+
setErrorMsgs(err);
|
|
6162
|
+
var _loop2 = function _loop2() {
|
|
6163
|
+
if (Object.hasOwnProperty.call(err, _key4)) {
|
|
6164
|
+
if (err[_key4]) {
|
|
6165
|
+
if (_key4 in passportInfoInput || _key4 in travelPreferenceInfo || _key4 in secureTravelInputInfo) {
|
|
6166
|
+
setAdditionalInfoFlag('open');
|
|
6167
|
+
}
|
|
6168
|
+
var el = document.getElementById(_key4 === 'country_code' || _key4 === 'contact_country_code' ? 'contact_number' : _key4);
|
|
6169
|
+
if (el) {
|
|
6170
|
+
setTimeout(function () {
|
|
6171
|
+
el.scrollIntoView({
|
|
6172
|
+
behavior: 'smooth',
|
|
6173
|
+
block: 'center'
|
|
6174
|
+
});
|
|
6175
|
+
}, 500);
|
|
6176
|
+
return "break";
|
|
6177
|
+
}
|
|
6149
6178
|
}
|
|
6150
6179
|
}
|
|
6180
|
+
};
|
|
6181
|
+
for (var _key4 in err) {
|
|
6182
|
+
var _ret2 = _loop2();
|
|
6183
|
+
if (_ret2 === "break") break;
|
|
6151
6184
|
}
|
|
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;
|
|
6185
|
+
} else if (typeof err === 'string') {
|
|
6186
|
+
IUIToastMessageService$4.warningNotify(err);
|
|
6187
|
+
} else {
|
|
6188
|
+
IUIToastMessageService$4.warningNotify('Opps, Something went wrong.');
|
|
6181
6189
|
}
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6190
|
+
})["finally"](function () {
|
|
6191
|
+
dispatch(stopLoader());
|
|
6192
|
+
});
|
|
6193
|
+
} else {
|
|
6194
|
+
dispatch(showLoader());
|
|
6195
|
+
dispatch(createUser(payload)).then(function (res) {
|
|
6196
|
+
var _config$routes3, _config$routes3$users, _config$routes3$users2;
|
|
6197
|
+
(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);
|
|
6198
|
+
})["catch"](function (err) {
|
|
6199
|
+
if (typeof err === 'object') {
|
|
6200
|
+
if (err.country_code) {
|
|
6201
|
+
err.contact_number = err.country_code;
|
|
6202
|
+
}
|
|
6203
|
+
if (err.contact_country_code) {
|
|
6204
|
+
err.contact_number = err.contact_country_code;
|
|
6205
|
+
}
|
|
6206
|
+
if (err.passport) {
|
|
6207
|
+
err.passport_photo = _extends({}, err.passport);
|
|
6208
|
+
delete err.passport;
|
|
6209
|
+
}
|
|
6210
|
+
setErrorArray(Object.keys(err));
|
|
6211
|
+
setErrorMsgs(err);
|
|
6212
|
+
var _loop3 = function _loop3() {
|
|
6213
|
+
if (Object.hasOwnProperty.call(err, _key5)) {
|
|
6214
|
+
if (err[_key5]) {
|
|
6215
|
+
if (_key5 in passportInfoInput || _key5 in travelPreferenceInfo || _key5 in secureTravelInputInfo) {
|
|
6216
|
+
setAdditionalInfoFlag('open');
|
|
6217
|
+
}
|
|
6218
|
+
var el = document.getElementById(_key5 === 'country_code' || _key5 === 'contact_country_code' ? 'contact_number' : _key5);
|
|
6219
|
+
if (el) {
|
|
6220
|
+
setTimeout(function () {
|
|
6221
|
+
el.scrollIntoView({
|
|
6222
|
+
behavior: 'smooth',
|
|
6223
|
+
block: 'center'
|
|
6224
|
+
});
|
|
6225
|
+
}, 500);
|
|
6226
|
+
return "break";
|
|
6227
|
+
}
|
|
6199
6228
|
}
|
|
6200
6229
|
}
|
|
6230
|
+
};
|
|
6231
|
+
for (var _key5 in err) {
|
|
6232
|
+
var _ret3 = _loop3();
|
|
6233
|
+
if (_ret3 === "break") break;
|
|
6201
6234
|
}
|
|
6202
|
-
}
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6235
|
+
} else if (typeof err === 'string') {
|
|
6236
|
+
IUIToastMessageService$4.warningNotify(err);
|
|
6237
|
+
} else {
|
|
6238
|
+
IUIToastMessageService$4.warningNotify('Opps, Something went wrong.');
|
|
6206
6239
|
}
|
|
6207
|
-
}
|
|
6208
|
-
|
|
6209
|
-
}
|
|
6210
|
-
|
|
6211
|
-
}
|
|
6212
|
-
})["finally"](function () {
|
|
6213
|
-
dispatch(stopLoader());
|
|
6214
|
-
});
|
|
6240
|
+
})["finally"](function () {
|
|
6241
|
+
dispatch(stopLoader());
|
|
6242
|
+
});
|
|
6243
|
+
}
|
|
6215
6244
|
}
|
|
6216
6245
|
return Promise.resolve();
|
|
6217
6246
|
} catch (e) {
|
|
@@ -8547,6 +8576,7 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
8547
8576
|
endIcon: null,
|
|
8548
8577
|
outlinedBtn: false,
|
|
8549
8578
|
className: "threedotMenuBtn",
|
|
8579
|
+
MoreHorizIcon: true,
|
|
8550
8580
|
placement: "bottom-end"
|
|
8551
8581
|
}));
|
|
8552
8582
|
},
|
|
@@ -8774,8 +8804,10 @@ var UndoButton = function UndoButton(_ref) {
|
|
|
8774
8804
|
};
|
|
8775
8805
|
var UserList = function UserList(_ref2) {
|
|
8776
8806
|
var config = _ref2.config,
|
|
8777
|
-
isProfile = _ref2.isProfile
|
|
8778
|
-
|
|
8807
|
+
isProfile = _ref2.isProfile,
|
|
8808
|
+
_ref2$tabVal = _ref2.tabVal,
|
|
8809
|
+
tabVal = _ref2$tabVal === void 0 ? 'current' : _ref2$tabVal;
|
|
8810
|
+
env$7.init(config, isProfile, tabVal);
|
|
8779
8811
|
var history = useHistory();
|
|
8780
8812
|
var _useSelector = useSelector(function (state) {
|
|
8781
8813
|
return state.userList;
|
|
@@ -8785,15 +8817,18 @@ var UserList = function UserList(_ref2) {
|
|
|
8785
8817
|
deactivatedUsers = _useSelector.deactivatedUsers,
|
|
8786
8818
|
tabValue = _useSelector.tabValue;
|
|
8787
8819
|
var newSelecteds = userListInfo.results;
|
|
8788
|
-
var _React$useState = React.useState(
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
var _React$useState2 = React.useState(
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
var _React$useState3 = React.useState(
|
|
8795
|
-
|
|
8796
|
-
|
|
8820
|
+
var _React$useState = React.useState(0),
|
|
8821
|
+
activeTab = _React$useState[0],
|
|
8822
|
+
setActiveTab = _React$useState[1];
|
|
8823
|
+
var _React$useState2 = React.useState(''),
|
|
8824
|
+
deactivateUser = _React$useState2[0],
|
|
8825
|
+
setDeactivateUser = _React$useState2[1];
|
|
8826
|
+
var _React$useState3 = React.useState(null),
|
|
8827
|
+
defaultId = _React$useState3[0],
|
|
8828
|
+
setDefaultId = _React$useState3[1];
|
|
8829
|
+
var _React$useState4 = React.useState(1),
|
|
8830
|
+
page = _React$useState4[0],
|
|
8831
|
+
setPage = _React$useState4[1];
|
|
8797
8832
|
var _useState = useState([]),
|
|
8798
8833
|
selectedUsersNotApprover = _useState[0],
|
|
8799
8834
|
setSelectedUsersNotApprover = _useState[1];
|
|
@@ -8803,24 +8838,24 @@ var UserList = function UserList(_ref2) {
|
|
|
8803
8838
|
var _useState3 = useState(false),
|
|
8804
8839
|
isBulkDeactivateModalOpen = _useState3[0],
|
|
8805
8840
|
setIsBulkDeactivateModalOpen = _useState3[1];
|
|
8806
|
-
var _React$
|
|
8807
|
-
user = _React$
|
|
8808
|
-
setUser = _React$
|
|
8841
|
+
var _React$useState5 = React.useState(''),
|
|
8842
|
+
user = _React$useState5[0],
|
|
8843
|
+
setUser = _React$useState5[1];
|
|
8809
8844
|
var _useState4 = useState(10),
|
|
8810
8845
|
rowsPerPage = _useState4[0],
|
|
8811
8846
|
setRowsPerPage = _useState4[1];
|
|
8812
|
-
var _React$
|
|
8813
|
-
selected = _React$
|
|
8814
|
-
setSelected = _React$
|
|
8815
|
-
var _React$
|
|
8816
|
-
order = _React$
|
|
8817
|
-
setOrder = _React$
|
|
8818
|
-
var _React$
|
|
8819
|
-
deactivateSingle = _React$
|
|
8820
|
-
setDeactivateSingle = _React$
|
|
8821
|
-
var _React$
|
|
8822
|
-
orderBy = _React$
|
|
8823
|
-
setOrderBy = _React$
|
|
8847
|
+
var _React$useState6 = React.useState({}),
|
|
8848
|
+
selected = _React$useState6[0],
|
|
8849
|
+
setSelected = _React$useState6[1];
|
|
8850
|
+
var _React$useState7 = React.useState('asc'),
|
|
8851
|
+
order = _React$useState7[0],
|
|
8852
|
+
setOrder = _React$useState7[1];
|
|
8853
|
+
var _React$useState8 = React.useState(false),
|
|
8854
|
+
deactivateSingle = _React$useState8[0],
|
|
8855
|
+
setDeactivateSingle = _React$useState8[1];
|
|
8856
|
+
var _React$useState9 = React.useState('first_name'),
|
|
8857
|
+
orderBy = _React$useState9[0],
|
|
8858
|
+
setOrderBy = _React$useState9[1];
|
|
8824
8859
|
var _useState5 = useState(''),
|
|
8825
8860
|
searchValue = _useState5[0],
|
|
8826
8861
|
setSearchValue = _useState5[1];
|
|
@@ -8870,9 +8905,9 @@ var UserList = function UserList(_ref2) {
|
|
|
8870
8905
|
var _useState17 = useState(''),
|
|
8871
8906
|
userIds = _useState17[0],
|
|
8872
8907
|
setUserIds = _useState17[1];
|
|
8873
|
-
var _React$
|
|
8874
|
-
overlayMenu = _React$
|
|
8875
|
-
setOverlayMenu = _React$
|
|
8908
|
+
var _React$useState10 = React.useState(false),
|
|
8909
|
+
overlayMenu = _React$useState10[0],
|
|
8910
|
+
setOverlayMenu = _React$useState10[1];
|
|
8876
8911
|
var _useState18 = useState(''),
|
|
8877
8912
|
userFirstName = _useState18[0],
|
|
8878
8913
|
setUserFirstName = _useState18[1];
|
|
@@ -8882,6 +8917,14 @@ var UserList = function UserList(_ref2) {
|
|
|
8882
8917
|
var _useState20 = useState(true),
|
|
8883
8918
|
isDisabledSubmitBtn = _useState20[0],
|
|
8884
8919
|
setIsDisabledSubmitBtn = _useState20[1];
|
|
8920
|
+
useEffect(function () {
|
|
8921
|
+
setActiveTab(tabValue);
|
|
8922
|
+
}, [tabValue]);
|
|
8923
|
+
useEffect(function () {
|
|
8924
|
+
if (tabVal === 'sign-up') {
|
|
8925
|
+
dispatch(updateTabValue(1));
|
|
8926
|
+
}
|
|
8927
|
+
}, []);
|
|
8885
8928
|
useScrollPosition(function (_ref3) {
|
|
8886
8929
|
var prevPos = _ref3.prevPos,
|
|
8887
8930
|
currPos = _ref3.currPos;
|
|
@@ -8902,18 +8945,18 @@ var UserList = function UserList(_ref2) {
|
|
|
8902
8945
|
behavior: 'smooth'
|
|
8903
8946
|
});
|
|
8904
8947
|
};
|
|
8905
|
-
var _React$
|
|
8906
|
-
signup_page = _React$
|
|
8907
|
-
setSignUpPage = _React$
|
|
8948
|
+
var _React$useState11 = React.useState(1),
|
|
8949
|
+
signup_page = _React$useState11[0],
|
|
8950
|
+
setSignUpPage = _React$useState11[1];
|
|
8908
8951
|
var _useState21 = useState(5),
|
|
8909
8952
|
signup_rowsPerPage = _useState21[0],
|
|
8910
8953
|
setSignUpRowsPerPage = _useState21[1];
|
|
8911
|
-
var _React$
|
|
8912
|
-
signup_order = _React$
|
|
8913
|
-
setSignUpOrder = _React$
|
|
8914
|
-
var _React$
|
|
8915
|
-
signup_orderBy = _React$
|
|
8916
|
-
setSignUpOrderBy = _React$
|
|
8954
|
+
var _React$useState12 = React.useState('asc'),
|
|
8955
|
+
signup_order = _React$useState12[0],
|
|
8956
|
+
setSignUpOrder = _React$useState12[1];
|
|
8957
|
+
var _React$useState13 = React.useState('fname'),
|
|
8958
|
+
signup_orderBy = _React$useState13[0],
|
|
8959
|
+
setSignUpOrderBy = _React$useState13[1];
|
|
8917
8960
|
var _useState22 = useState(''),
|
|
8918
8961
|
signup_searchValue = _useState22[0],
|
|
8919
8962
|
set_signup_SearchValue = _useState22[1];
|
|
@@ -9512,7 +9555,7 @@ var UserList = function UserList(_ref2) {
|
|
|
9512
9555
|
})), /*#__PURE__*/React.createElement(IUIBox, {
|
|
9513
9556
|
className: styles$5.tablewrapper
|
|
9514
9557
|
}, /*#__PURE__*/React.createElement(IUITabs, {
|
|
9515
|
-
value:
|
|
9558
|
+
value: activeTab,
|
|
9516
9559
|
customTabHandler: function customTabHandler(value) {
|
|
9517
9560
|
return dispatch(updateTabValue(value));
|
|
9518
9561
|
},
|
|
@@ -9727,10 +9770,7 @@ var UserList = function UserList(_ref2) {
|
|
|
9727
9770
|
}));
|
|
9728
9771
|
})), selectedUsersNotApprover !== null && selectedUsersNotApprover !== void 0 && selectedUsersNotApprover.length ? /*#__PURE__*/React.createElement(IUIBox, null, /*#__PURE__*/React.createElement("hr", {
|
|
9729
9772
|
style: {
|
|
9730
|
-
borderColor: '#E5E9ED'
|
|
9731
|
-
borderLeft: 'none',
|
|
9732
|
-
borderTop: 'none',
|
|
9733
|
-
borderRight: 'none'
|
|
9773
|
+
borderColor: '#E5E9ED'
|
|
9734
9774
|
}
|
|
9735
9775
|
}), /*#__PURE__*/React.createElement(IUIBox, {
|
|
9736
9776
|
className: "iui__my-15"
|