@ieeesa-npm/groups 0.12.6 → 0.12.8

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.
@@ -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
@@ -13,6 +13,7 @@ export interface GroupType {
13
13
  description: string;
14
14
  businessRule: BusinessRule;
15
15
  hierarchy: number;
16
+ viewOrder?: number;
16
17
  }
17
18
  export interface GroupTypeConfiguration {
18
19
  configFieldId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/groups",
3
- "version": "0.12.6",
3
+ "version": "0.12.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"