@ieeesa-npm/groups 0.12.5 → 0.12.7
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/components/tree-view/tree-view.component.mjs +8 -14
- package/esm2022/lib/groups.component.mjs +12 -4
- package/esm2022/lib/models/group-types.model.mjs +1 -1
- package/fesm2022/ieeesa-npm-groups.mjs +18 -16
- package/fesm2022/ieeesa-npm-groups.mjs.map +1 -1
- package/lib/components/tree-view/tree-view.component.d.ts +1 -1
- package/lib/groups.component.d.ts +7 -1
- package/lib/models/group-types.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -283,7 +283,7 @@ export declare class TreeViewComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
283
283
|
*/
|
|
284
284
|
trackByFn(index: number, iconButton: IconButton): number;
|
|
285
285
|
/**
|
|
286
|
-
* Sets indentation based on the node level
|
|
286
|
+
* Sets indentation based on the node level.
|
|
287
287
|
* @param {GroupNode} node
|
|
288
288
|
* @return {{ [key: string]: string }}
|
|
289
289
|
* @memberof TreeViewComponent
|
|
@@ -5,7 +5,7 @@ import { GroupsService } from './services/groups.service';
|
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import { GroupInfo } from './models/group-info.model';
|
|
7
7
|
import { SelectOption, IconButton, AlignType, SearchType } from '@ieeesa-npm/presentation';
|
|
8
|
-
import { GroupTypeConfigValue } from './models/group-types.model';
|
|
8
|
+
import { GroupType, 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';
|
|
11
11
|
import { GetGroupsPayload } from './models/view-group.model';
|
|
@@ -154,6 +154,12 @@ export declare class GroupsComponent implements OnInit, OnDestroy {
|
|
|
154
154
|
* @memberof GroupsComponent
|
|
155
155
|
*/
|
|
156
156
|
getGroupTypeOptions(): SelectOption[];
|
|
157
|
+
/**
|
|
158
|
+
* Returns the sorted group types based on the view order.
|
|
159
|
+
* @return [string, GroupType][]
|
|
160
|
+
* @memberof GroupsComponent
|
|
161
|
+
*/
|
|
162
|
+
sortGroupTypes(): [string, GroupType][];
|
|
157
163
|
/**
|
|
158
164
|
* Sets the isGroupSearchOrFilterActive flag and loads parent group info as per selected filter option.
|
|
159
165
|
* @param {SelectOption} event
|