verben-authentication-ui 0.8.0 → 0.8.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.
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnInit, QueryList } from '@angular/core';
2
2
  import { RoleControlService } from './role-control.service';
3
3
  import { CardData, CardDataViewComponent, ColumnDefinition, DataTableComponent, DataViewComponent, IDataFilter, VerbenPopUpComponent } from 'verben-ng-ui';
4
4
  import { Role } from '../../models/Role';
@@ -35,7 +35,7 @@ export declare class RoleControlComponent implements OnInit {
35
35
  cardContextHistoryData: CardData[][];
36
36
  cardDataView: CardDataViewComponent;
37
37
  dataView: DataViewComponent;
38
- popUp: VerbenPopUpComponent;
38
+ popUps: QueryList<VerbenPopUpComponent>;
39
39
  tableView: DataTableComponent<MappedRole>;
40
40
  isGlobal: boolean;
41
41
  serviceName: string | null;
@@ -84,9 +84,6 @@ export declare class RoleControlComponent implements OnInit {
84
84
  saveRoleDynamic(item: CardData): Promise<void>;
85
85
  saveDataAll(): void;
86
86
  updateTable(): void;
87
- onClose(): void;
88
- openDropdown(item: any): void;
89
- isDropdownOpen(item: any): boolean;
90
87
  onViewChange(isGridView: boolean): void;
91
88
  onStateChange(event: {
92
89
  key: string;
@@ -26,7 +26,7 @@ export declare class UserManagementService {
26
26
  * @returns Promise containing the filtered list of users
27
27
  */
28
28
  getUsersWithParam(param: string, skip: number, limit: number, sortParam: string, sortOrder: string): Promise<UserManagement[]>;
29
- getRealUsers(role: string | null, skip: number, limit: number, sortParam: string, sortOrder: string): Promise<PagedResult<UserManagement> | ErrorResponse>;
29
+ getRealUsers(role: string | null, skip: number, limit: number, sortParam: string, sortOrder: string): Promise<ErrorResponse | PagedResult<UserManagement>>;
30
30
  /**
31
31
  * Save multiple users
32
32
  * @param users Array of users to save
@@ -1,10 +1,12 @@
1
1
  import { SearchOperator } from './SearchOperator';
2
2
  import { SearchPropertySign } from './SearchPropertySign';
3
3
  import { SearchPropertyValueType } from './SearchPropertyValueType';
4
+ import { SortDirection } from './SortDirection';
4
5
  export interface SearchPropertyValue {
5
6
  PropertyName: string;
6
7
  EntityValue: string;
7
8
  Type?: SearchPropertyValueType;
8
9
  Operator: SearchOperator;
9
10
  Sign: SearchPropertySign;
11
+ Sort?: SortDirection;
10
12
  }
@@ -0,0 +1,5 @@
1
+ export declare enum SortDirection {
2
+ Asc = "Asc",
3
+ Desc = "Desc",
4
+ None = "None"
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verben-authentication-ui",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0 || ^18.0.0",
6
6
  "@angular/core": "^14.0.0 || ^18.0.0",