@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.
@@ -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(color: string): any;
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, Legend, SearchType } from '@ieeesa-npm/presentation';
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
@@ -10,7 +10,6 @@ export interface BusinessRule {
10
10
  }
11
11
  export interface GroupType {
12
12
  name: string;
13
- legendColor: string;
14
13
  description: string;
15
14
  businessRule: BusinessRule;
16
15
  hierarchy: number;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/groups",
3
- "version": "0.11.4",
3
+ "version": "0.11.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"