@itilite/iui-user-management 1.1.0 → 1.2.0
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 +12 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -446,10 +446,10 @@ var userPanelUrl = {
|
|
|
446
446
|
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?action=delete&table=" + tableName;
|
|
447
447
|
},
|
|
448
448
|
getUnit: function getUnit(tableName, length, sort) {
|
|
449
|
-
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&
|
|
449
|
+
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&ordering=" + sort;
|
|
450
450
|
},
|
|
451
451
|
getPaginationUnit: function getPaginationUnit(tableName, length, page, sort) {
|
|
452
|
-
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&page=" + page + "&
|
|
452
|
+
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&page=" + page + "&ordering=" + sort;
|
|
453
453
|
},
|
|
454
454
|
moveUnit: function moveUnit() {
|
|
455
455
|
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/transfer-users";
|
|
@@ -8220,6 +8220,7 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
8220
8220
|
id: 'first_name',
|
|
8221
8221
|
label: '',
|
|
8222
8222
|
minWidth: 60,
|
|
8223
|
+
sortable: false,
|
|
8223
8224
|
cell: function cell(row) {
|
|
8224
8225
|
return /*#__PURE__*/React.createElement(IUIBox, {
|
|
8225
8226
|
component: "div",
|
|
@@ -8683,7 +8684,8 @@ var UserList = function UserList(_ref2) {
|
|
|
8683
8684
|
ordering: signup_order === 'asc' ? signup_orderBy : "-" + signup_orderBy,
|
|
8684
8685
|
length: signup_rowsPerPage,
|
|
8685
8686
|
page: signup_page,
|
|
8686
|
-
search: signup_searchValue.trim()
|
|
8687
|
+
search: signup_searchValue.trim(),
|
|
8688
|
+
pagename: 'company'
|
|
8687
8689
|
})).then(function () {
|
|
8688
8690
|
return dispatch(stopDataFetchingStatus());
|
|
8689
8691
|
});
|
|
@@ -8898,7 +8900,8 @@ var UserList = function UserList(_ref2) {
|
|
|
8898
8900
|
ordering: signup_order === 'asc' ? signup_orderBy : "-" + signup_orderBy,
|
|
8899
8901
|
length: signup_rowsPerPage,
|
|
8900
8902
|
page: signup_page,
|
|
8901
|
-
search: signup_searchValue.trim()
|
|
8903
|
+
search: signup_searchValue.trim(),
|
|
8904
|
+
pagename: 'company'
|
|
8902
8905
|
})).then(function () {
|
|
8903
8906
|
setSignUpSearchingChange(false);
|
|
8904
8907
|
setisApiFetching(false);
|
|
@@ -8924,7 +8927,8 @@ var UserList = function UserList(_ref2) {
|
|
|
8924
8927
|
ordering: signup_order === 'asc' ? signup_orderBy : "-" + signup_orderBy,
|
|
8925
8928
|
length: signup_rowsPerPage,
|
|
8926
8929
|
page: signup_page,
|
|
8927
|
-
search: signup_searchValue.trim()
|
|
8930
|
+
search: signup_searchValue.trim(),
|
|
8931
|
+
pagename: 'company'
|
|
8928
8932
|
})).then(function () {
|
|
8929
8933
|
setisApiFetching(false);
|
|
8930
8934
|
setSignUpSortingChange(false);
|
|
@@ -8940,7 +8944,8 @@ var UserList = function UserList(_ref2) {
|
|
|
8940
8944
|
ordering: signup_order === 'asc' ? signup_orderBy : "-" + signup_orderBy,
|
|
8941
8945
|
length: signup_rowsPerPage,
|
|
8942
8946
|
page: signup_page,
|
|
8943
|
-
search: signup_searchValue.trim()
|
|
8947
|
+
search: signup_searchValue.trim(),
|
|
8948
|
+
pagename: 'company'
|
|
8944
8949
|
})).then(function () {
|
|
8945
8950
|
return dispatch(stopDataFetchingStatus());
|
|
8946
8951
|
});
|
|
@@ -9288,7 +9293,7 @@ function Listview(_ref) {
|
|
|
9288
9293
|
id: 'no_of_users',
|
|
9289
9294
|
label: 'Number of users',
|
|
9290
9295
|
width: '45%',
|
|
9291
|
-
sortable:
|
|
9296
|
+
sortable: false,
|
|
9292
9297
|
cell: function cell(row) {
|
|
9293
9298
|
return /*#__PURE__*/React.createElement(IUIBox, {
|
|
9294
9299
|
component: "div"
|