@ieeesa-npm/groups 0.3.0 → 0.3.2
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 +6 -3
- package/esm2022/lib/components/create-group/create-group.component.mjs +3 -3
- package/esm2022/lib/components/tree-view/tree-view.component.mjs +71 -12
- package/esm2022/lib/components/view-roster/view-roster.component.mjs +5 -4
- package/esm2022/lib/groups.component.mjs +27 -10
- package/fesm2022/ieeesa-npm-groups.mjs +108 -27
- package/fesm2022/ieeesa-npm-groups.mjs.map +1 -1
- package/lib/components/tree-view/tree-view.component.d.ts +8 -0
- package/lib/groups.component.d.ts +2 -2
- package/package.json +4 -4
|
@@ -128,6 +128,8 @@ export declare class TreeViewComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
128
128
|
matTreeNodePadding: MatTreeNodePadding<GroupNode>;
|
|
129
129
|
plusCircleIconButton: IconButton;
|
|
130
130
|
minusCircleIconButton: IconButton;
|
|
131
|
+
isEditGroup: boolean;
|
|
132
|
+
editGroupAndParentGroupInfo: EditGroupAndParentInfo;
|
|
131
133
|
menuItems: Menu[];
|
|
132
134
|
private parentGroups;
|
|
133
135
|
set parentGroupsInfo(value: GroupInfo[]);
|
|
@@ -195,6 +197,12 @@ export declare class TreeViewComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
195
197
|
* @memberof TreeViewComponent
|
|
196
198
|
*/
|
|
197
199
|
setGroupDataSource(): void;
|
|
200
|
+
/**
|
|
201
|
+
* Sets the updated node information
|
|
202
|
+
* @param {GroupInfo[]} groupsInfo
|
|
203
|
+
* @memberof TreeViewComponent
|
|
204
|
+
*/
|
|
205
|
+
editGroup(groupsInfo: GroupInfo[]): void;
|
|
198
206
|
/**
|
|
199
207
|
* Loads the child groups and updates the tree view.
|
|
200
208
|
* @memberof TreeViewComponent
|
|
@@ -6,7 +6,7 @@ import { Subject } from 'rxjs';
|
|
|
6
6
|
import { GroupInfo } from './models/group-info.model';
|
|
7
7
|
import { SelectOption, Legend, IconButton, AlignType } from '@ieeesa-npm/presentation';
|
|
8
8
|
import { GroupTypeConfigValue } from './models/group-types.model';
|
|
9
|
-
import { AlertType,
|
|
9
|
+
import { AlertType, BreakpointObserverService, AlertsService, GlobalErrorHandlerService } from '@ieeesa-npm/utility';
|
|
10
10
|
import { GroupFunctionType } from './models/group-function-type.model';
|
|
11
11
|
import { GetGroupsPayload } from './models/view-group.model';
|
|
12
12
|
import { EditGroupAndParentInfo } from './models/edit-group.model';
|
|
@@ -86,7 +86,7 @@ export declare class GroupsComponent implements OnInit, OnDestroy {
|
|
|
86
86
|
* @return -returns nothing
|
|
87
87
|
* @memberof GroupsComponent
|
|
88
88
|
*/
|
|
89
|
-
openModal(dialogOptions: any, className?: string): void;
|
|
89
|
+
openModal(dialogOptions: any, className?: string, groupInfo?: GroupInfo | EditGroupAndParentInfo): void;
|
|
90
90
|
/**
|
|
91
91
|
* Opens the confirmation modal to get user confirmation to delete the selected group.
|
|
92
92
|
* @memberof GroupComponent
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ieeesa-npm/groups",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^16.1.0",
|
|
6
6
|
"@angular/core": "^16.1.0",
|
|
7
|
-
"@ieeesa-npm/presentation": "^0.5.
|
|
8
|
-
"@ieeesa-npm/shared-styles": "^0.1.
|
|
9
|
-
"@ieeesa-npm/utility": "^0.4.
|
|
7
|
+
"@ieeesa-npm/presentation": "^0.5.5",
|
|
8
|
+
"@ieeesa-npm/shared-styles": "^0.1.4",
|
|
9
|
+
"@ieeesa-npm/utility": "^0.4.6"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"tslib": "^2.3.0"
|