@ieeesa-npm/groups 0.12.8 → 0.12.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 +1 -1
- package/esm2022/lib/components/tree-view/tree-view.component.mjs +5 -15
- package/esm2022/lib/components/view-roster/view-roster.component.mjs +2 -2
- package/fesm2022/ieeesa-npm-groups.mjs +6 -16
- package/fesm2022/ieeesa-npm-groups.mjs.map +1 -1
- package/lib/components/tree-view/tree-view.component.d.ts +3 -10
- package/lib/services/groups.service.d.ts +0 -6
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { MatTreeNodePadding } from '@angular/material/tree';
|
|
|
7
7
|
import { GroupInfo } from '../../models/group-info.model';
|
|
8
8
|
import { EditGroupAndParentInfo } from '../../models/edit-group.model';
|
|
9
9
|
import { GroupsService } from '../../services/groups.service';
|
|
10
|
+
import { GroupFunctionType } from '../../models/group-function-type.model';
|
|
10
11
|
import { PermissionType } from '../../models/permission-type.model';
|
|
11
12
|
import { GroupPermission } from '../../models/group-permissions.model';
|
|
12
13
|
import { BreakpointObserverService } from '@ieeesa-npm/utility';
|
|
@@ -125,7 +126,7 @@ export declare class TreeViewComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
125
126
|
private breakpointObserverService;
|
|
126
127
|
constants: any;
|
|
127
128
|
buttons: Menu[];
|
|
128
|
-
|
|
129
|
+
treePaddingIndent: number;
|
|
129
130
|
selectedGroup: GroupNode;
|
|
130
131
|
selectedGroupAction: Menu | IconButton;
|
|
131
132
|
treeControl: FlatTreeControl<GroupNode>;
|
|
@@ -156,6 +157,7 @@ export declare class TreeViewComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
156
157
|
deleteGroupClick: EventEmitter<GroupInfo>;
|
|
157
158
|
viewRosterClick: EventEmitter<GroupInfo>;
|
|
158
159
|
isMobileView: boolean;
|
|
160
|
+
groupFunctionType: typeof GroupFunctionType;
|
|
159
161
|
constructor(database: Groups, elementRef: ElementRef, groupsService: GroupsService, breakpointObserverService: BreakpointObserverService);
|
|
160
162
|
/**
|
|
161
163
|
* Initializes the tree view component
|
|
@@ -282,15 +284,6 @@ export declare class TreeViewComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
282
284
|
* @memberof TreeViewComponent
|
|
283
285
|
*/
|
|
284
286
|
trackByFn(index: number, iconButton: IconButton): number;
|
|
285
|
-
/**
|
|
286
|
-
* Sets indentation based on the node level.
|
|
287
|
-
* @param {GroupNode} node
|
|
288
|
-
* @return {{ [key: string]: string }}
|
|
289
|
-
* @memberof TreeViewComponent
|
|
290
|
-
*/
|
|
291
|
-
getIndentation(node: GroupNode): {
|
|
292
|
-
[key: string]: string;
|
|
293
|
-
};
|
|
294
287
|
/**
|
|
295
288
|
* NgOnDestroy performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
|
|
296
289
|
* @memberof GroupsComponent
|
|
@@ -96,12 +96,6 @@ export declare class GroupsService {
|
|
|
96
96
|
"2019": string;
|
|
97
97
|
"2020": string;
|
|
98
98
|
"2021": string;
|
|
99
|
-
/**
|
|
100
|
-
* Gets the group users based on searched name or email
|
|
101
|
-
* @param {SearchUsersPayload} payload
|
|
102
|
-
* @return {Observable<GetGroupUsersResponse>}
|
|
103
|
-
* @memberof GroupsService
|
|
104
|
-
*/
|
|
105
99
|
"2022": string;
|
|
106
100
|
"2023": string;
|
|
107
101
|
"2024": string;
|