@ieeesa-npm/groups 0.4.8 → 0.4.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/esm2022/lib/assets/constants.json +4 -2
- package/esm2022/lib/components/view-roster/view-roster.component.mjs +16 -1
- package/esm2022/lib/groups.component.mjs +2 -2
- package/esm2022/lib/services/groups.service.mjs +2 -1
- package/fesm2022/ieeesa-npm-groups.mjs +20 -2
- package/fesm2022/ieeesa-npm-groups.mjs.map +1 -1
- package/lib/components/view-roster/view-roster.component.d.ts +7 -2
- package/lib/services/groups.service.d.ts +10 -11
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { SortDirection } from '@angular/material/sort';
|
|
4
4
|
import { TableColumnSchema, TableActions, CheckboxOption, ChipOption } from '@ieeesa-npm/presentation';
|
|
@@ -12,7 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
* @class ViewRosterComponent
|
|
13
13
|
* @implements {OnDestroy}
|
|
14
14
|
*/
|
|
15
|
-
export declare class ViewRosterComponent implements OnDestroy {
|
|
15
|
+
export declare class ViewRosterComponent implements OnInit, OnDestroy {
|
|
16
16
|
private groupService;
|
|
17
17
|
private alertService;
|
|
18
18
|
private cdr;
|
|
@@ -30,6 +30,11 @@ export declare class ViewRosterComponent implements OnDestroy {
|
|
|
30
30
|
defaultSortedColumn: string;
|
|
31
31
|
defaultColumnSortDirection: SortDirection;
|
|
32
32
|
constructor(groupService: GroupsService, alertService: AlertsService, cdr: ChangeDetectorRef, globalErrorHandlerService: GlobalErrorHandlerService);
|
|
33
|
+
/**
|
|
34
|
+
* Show add new user success message when canShowMessage is set true
|
|
35
|
+
* @memberof ViewRosterComponent
|
|
36
|
+
*/
|
|
37
|
+
ngOnInit(): void;
|
|
33
38
|
/**
|
|
34
39
|
* Gets the group users by calling getGroupUsers() from groupService and sets tableData to display the users in a grid.
|
|
35
40
|
* @memberof ViewRosterComponent
|
|
@@ -26,12 +26,6 @@ export declare class GroupsService {
|
|
|
26
26
|
"1004": string;
|
|
27
27
|
"1005": string;
|
|
28
28
|
"1006": string;
|
|
29
|
-
/**
|
|
30
|
-
* Sets selected group info.
|
|
31
|
-
* @param {(GroupInfo | undefined)} selectedGroupInfo -selected group info.
|
|
32
|
-
* @param {(GroupInfo | undefined)} [selectedGroupParentInfo] -selected parent group info.
|
|
33
|
-
* @memberof GroupsService
|
|
34
|
-
*/
|
|
35
29
|
"1007": string;
|
|
36
30
|
"1008": string;
|
|
37
31
|
"1009": string;
|
|
@@ -45,11 +39,7 @@ export declare class GroupsService {
|
|
|
45
39
|
"1017": string;
|
|
46
40
|
"1018": string;
|
|
47
41
|
"1019": string;
|
|
48
|
-
"1020": string;
|
|
49
|
-
* Sets group function type.
|
|
50
|
-
* @param {GroupFunctionType} groupFunctionType -group function type.
|
|
51
|
-
* @memberof GroupsService
|
|
52
|
-
*/
|
|
42
|
+
"1020": string;
|
|
53
43
|
"1021": string;
|
|
54
44
|
"1022": string;
|
|
55
45
|
"1023": string;
|
|
@@ -61,9 +51,17 @@ export declare class GroupsService {
|
|
|
61
51
|
"1029": string;
|
|
62
52
|
"1030": string;
|
|
63
53
|
"1031": string;
|
|
54
|
+
/**
|
|
55
|
+
* Gets the group users for the given group id.
|
|
56
|
+
* @param {string} groupId
|
|
57
|
+
* @return {Observable<GetGroupUsersResponse>}
|
|
58
|
+
* @memberof GroupsService
|
|
59
|
+
*/
|
|
64
60
|
"1032": string;
|
|
65
61
|
"2001": string;
|
|
66
62
|
"2002": string;
|
|
63
|
+
"2010": string;
|
|
64
|
+
"2011": string;
|
|
67
65
|
};
|
|
68
66
|
apiBaseUrl: string;
|
|
69
67
|
userPermission: any;
|
|
@@ -72,6 +70,7 @@ export declare class GroupsService {
|
|
|
72
70
|
selectedGroupParentInfo: GroupInfo | undefined;
|
|
73
71
|
openModalNotifier: BehaviorSubject<GroupFunctionType>;
|
|
74
72
|
groupTypeRoles: CheckboxOption[];
|
|
73
|
+
canShowMessage: boolean;
|
|
75
74
|
constructor(httpService: HttpService, alertService: AlertsService);
|
|
76
75
|
setAppConfig(apiBaseUrl: string, userPermission: any): void;
|
|
77
76
|
/**
|