@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.js
CHANGED
|
@@ -449,10 +449,10 @@ var userPanelUrl = {
|
|
|
449
449
|
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?action=delete&table=" + tableName;
|
|
450
450
|
},
|
|
451
451
|
getUnit: function getUnit(tableName, length, sort) {
|
|
452
|
-
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&
|
|
452
|
+
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&ordering=" + sort;
|
|
453
453
|
},
|
|
454
454
|
getPaginationUnit: function getPaginationUnit(tableName, length, page, sort) {
|
|
455
|
-
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&page=" + page + "&
|
|
455
|
+
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&page=" + page + "&ordering=" + sort;
|
|
456
456
|
},
|
|
457
457
|
moveUnit: function moveUnit() {
|
|
458
458
|
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/transfer-users";
|
|
@@ -8223,6 +8223,7 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
8223
8223
|
id: 'first_name',
|
|
8224
8224
|
label: '',
|
|
8225
8225
|
minWidth: 60,
|
|
8226
|
+
sortable: false,
|
|
8226
8227
|
cell: function cell(row) {
|
|
8227
8228
|
return /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
8228
8229
|
component: "div",
|
|
@@ -8686,7 +8687,8 @@ var UserList = function UserList(_ref2) {
|
|
|
8686
8687
|
ordering: signup_order === 'asc' ? signup_orderBy : "-" + signup_orderBy,
|
|
8687
8688
|
length: signup_rowsPerPage,
|
|
8688
8689
|
page: signup_page,
|
|
8689
|
-
search: signup_searchValue.trim()
|
|
8690
|
+
search: signup_searchValue.trim(),
|
|
8691
|
+
pagename: 'company'
|
|
8690
8692
|
})).then(function () {
|
|
8691
8693
|
return dispatch(stopDataFetchingStatus());
|
|
8692
8694
|
});
|
|
@@ -8901,7 +8903,8 @@ var UserList = function UserList(_ref2) {
|
|
|
8901
8903
|
ordering: signup_order === 'asc' ? signup_orderBy : "-" + signup_orderBy,
|
|
8902
8904
|
length: signup_rowsPerPage,
|
|
8903
8905
|
page: signup_page,
|
|
8904
|
-
search: signup_searchValue.trim()
|
|
8906
|
+
search: signup_searchValue.trim(),
|
|
8907
|
+
pagename: 'company'
|
|
8905
8908
|
})).then(function () {
|
|
8906
8909
|
setSignUpSearchingChange(false);
|
|
8907
8910
|
setisApiFetching(false);
|
|
@@ -8927,7 +8930,8 @@ var UserList = function UserList(_ref2) {
|
|
|
8927
8930
|
ordering: signup_order === 'asc' ? signup_orderBy : "-" + signup_orderBy,
|
|
8928
8931
|
length: signup_rowsPerPage,
|
|
8929
8932
|
page: signup_page,
|
|
8930
|
-
search: signup_searchValue.trim()
|
|
8933
|
+
search: signup_searchValue.trim(),
|
|
8934
|
+
pagename: 'company'
|
|
8931
8935
|
})).then(function () {
|
|
8932
8936
|
setisApiFetching(false);
|
|
8933
8937
|
setSignUpSortingChange(false);
|
|
@@ -8943,7 +8947,8 @@ var UserList = function UserList(_ref2) {
|
|
|
8943
8947
|
ordering: signup_order === 'asc' ? signup_orderBy : "-" + signup_orderBy,
|
|
8944
8948
|
length: signup_rowsPerPage,
|
|
8945
8949
|
page: signup_page,
|
|
8946
|
-
search: signup_searchValue.trim()
|
|
8950
|
+
search: signup_searchValue.trim(),
|
|
8951
|
+
pagename: 'company'
|
|
8947
8952
|
})).then(function () {
|
|
8948
8953
|
return dispatch(stopDataFetchingStatus());
|
|
8949
8954
|
});
|
|
@@ -9291,7 +9296,7 @@ function Listview(_ref) {
|
|
|
9291
9296
|
id: 'no_of_users',
|
|
9292
9297
|
label: 'Number of users',
|
|
9293
9298
|
width: '45%',
|
|
9294
|
-
sortable:
|
|
9299
|
+
sortable: false,
|
|
9295
9300
|
cell: function cell(row) {
|
|
9296
9301
|
return /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
|
|
9297
9302
|
component: "div"
|