@ieeesa-npm/groups 0.11.4 → 0.11.6
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 +2 -3
- package/esm2022/lib/components/add-user-roster/add-user-roster.component.mjs +2 -2
- package/esm2022/lib/components/create-group/create-group.component.mjs +2 -2
- package/esm2022/lib/components/edit-user-roles/edit-user-roles.component.mjs +1 -1
- package/esm2022/lib/components/tree-view/tree-view.component.mjs +5 -6
- package/esm2022/lib/components/view-roster/view-roster.component.mjs +2 -2
- package/esm2022/lib/groups.component.mjs +3 -19
- package/esm2022/lib/models/group-types.model.mjs +1 -1
- package/fesm2022/ieeesa-npm-groups.mjs +12 -30
- package/fesm2022/ieeesa-npm-groups.mjs.map +1 -1
- package/lib/components/tree-view/tree-view.component.d.ts +1 -2
- package/lib/groups.component.d.ts +1 -8
- package/lib/models/group-types.model.d.ts +0 -1
- package/lib/services/groups.service.d.ts +12 -6
- package/package.json +1 -1
|
@@ -192,11 +192,10 @@ export declare class TreeViewComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
192
192
|
viewChildGroups(node: GroupNode): void;
|
|
193
193
|
/**
|
|
194
194
|
* Sets the box shadow based on the group type legend color
|
|
195
|
-
* @param {string} color
|
|
196
195
|
* @return {*}
|
|
197
196
|
* @memberof TreeViewComponent
|
|
198
197
|
*/
|
|
199
|
-
getBoxShadow(
|
|
198
|
+
getBoxShadow(): any;
|
|
200
199
|
/**
|
|
201
200
|
* Sets the dataSource with parent groups data
|
|
202
201
|
* @memberof TreeViewComponent
|
|
@@ -4,7 +4,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
4
4
|
import { GroupsService } from './services/groups.service';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import { GroupInfo } from './models/group-info.model';
|
|
7
|
-
import { SelectOption, IconButton, AlignType,
|
|
7
|
+
import { SelectOption, IconButton, AlignType, SearchType } from '@ieeesa-npm/presentation';
|
|
8
8
|
import { GroupTypeConfigValue } from './models/group-types.model';
|
|
9
9
|
import { AlertType, BreakpointObserverService, AlertsService, GlobalErrorHandlerService } from '@ieeesa-npm/utility';
|
|
10
10
|
import { GroupFunctionType } from './models/group-function-type.model';
|
|
@@ -51,7 +51,6 @@ export declare class GroupsComponent implements OnInit, OnDestroy {
|
|
|
51
51
|
filterPlaceHolderText: string;
|
|
52
52
|
createGroupIcon: IconButton;
|
|
53
53
|
filterGroupIcon: IconButton;
|
|
54
|
-
groupsLegends: Legend[];
|
|
55
54
|
getGroupsPayload: GetGroupsPayload;
|
|
56
55
|
groupsPageInfo: {
|
|
57
56
|
groupsTitle: string;
|
|
@@ -64,7 +63,6 @@ export declare class GroupsComponent implements OnInit, OnDestroy {
|
|
|
64
63
|
permissionType: typeof PermissionType;
|
|
65
64
|
functionType: GroupFunctionType;
|
|
66
65
|
alignmentType: typeof AlignType;
|
|
67
|
-
isSorting: boolean;
|
|
68
66
|
canReopenViewRosterModal: boolean;
|
|
69
67
|
searchType: SearchType;
|
|
70
68
|
minCharacterToSearch: number;
|
|
@@ -155,11 +153,6 @@ export declare class GroupsComponent implements OnInit, OnDestroy {
|
|
|
155
153
|
* @memberof GroupsComponent
|
|
156
154
|
*/
|
|
157
155
|
getGroupTypeOptions(): SelectOption[];
|
|
158
|
-
/**
|
|
159
|
-
* Sets legend color from groupTypes response
|
|
160
|
-
* @memberof GroupsComponent
|
|
161
|
-
*/
|
|
162
|
-
legendColor(): void;
|
|
163
156
|
/**
|
|
164
157
|
* Sets the isGroupSearchOrFilterActive flag and loads parent group info as per selected filter option.
|
|
165
158
|
* @param {SelectOption} event
|
|
@@ -36,6 +36,12 @@ export declare class GroupsService {
|
|
|
36
36
|
alertService: AlertsService;
|
|
37
37
|
groupsText: {
|
|
38
38
|
ER1000: string;
|
|
39
|
+
/**
|
|
40
|
+
* This method will parse the error codes and return the respective error message for each code.
|
|
41
|
+
* @param {string[]} errorCodes
|
|
42
|
+
* @return {string[]} errorMessage
|
|
43
|
+
* @memberof GroupsService
|
|
44
|
+
*/
|
|
39
45
|
ER1001: string;
|
|
40
46
|
"1001": string;
|
|
41
47
|
"1002": string;
|
|
@@ -67,16 +73,16 @@ export declare class GroupsService {
|
|
|
67
73
|
"1028": string;
|
|
68
74
|
"1029": string;
|
|
69
75
|
"1030": string;
|
|
76
|
+
/**
|
|
77
|
+
* Returns group function type.
|
|
78
|
+
* @return {GroupFunctionType} -group function type.
|
|
79
|
+
* @memberof GroupsService
|
|
80
|
+
*/
|
|
70
81
|
"1031": string;
|
|
71
82
|
"1032": string;
|
|
72
83
|
"1033": string;
|
|
73
84
|
"1034": string;
|
|
74
|
-
"1035": string;
|
|
75
|
-
* Gets the group users for the given group id.
|
|
76
|
-
* @param {string} groupId
|
|
77
|
-
* @return {Observable<GetGroupUsersResponse>}
|
|
78
|
-
* @memberof GroupsService
|
|
79
|
-
*/
|
|
85
|
+
"1035": string;
|
|
80
86
|
"1036": string;
|
|
81
87
|
"1037": string;
|
|
82
88
|
"1038": string;
|