verben-authentication-ui 0.9.8 → 1.0.0

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.
@@ -15,6 +15,7 @@ import { EnvironmentService } from '../../services/environment.service';
15
15
  import { ApplicationRoleContext } from '../../models/ApplicationRoleContext';
16
16
  import { ApplicationRoleAction } from '../../models/ApplicationRoleAction';
17
17
  import { Subject } from 'rxjs';
18
+ import { PermissionConfig } from '../../models/PermissionConfig';
18
19
  import * as i0 from "@angular/core";
19
20
  export declare class RoleControlComponent implements OnInit {
20
21
  private authService;
@@ -42,6 +43,7 @@ export declare class RoleControlComponent implements OnInit {
42
43
  application: string | null;
43
44
  pageSize: number;
44
45
  searchDebounceTime: number;
46
+ permissionConfig: PermissionConfig | null;
45
47
  pageState: PagedResult<Role> | null;
46
48
  sourceData: AuthorizationConfig[];
47
49
  isOpen: boolean;
@@ -112,5 +114,5 @@ export declare class RoleControlComponent implements OnInit {
112
114
  updateItem(value: any, key: string): any;
113
115
  editValue(value: MappedRole): void;
114
116
  static ɵfac: i0.ɵɵFactoryDeclaration<RoleControlComponent, never>;
115
- static ɵcmp: i0.ɵɵComponentDeclaration<RoleControlComponent, "lib-role-control", never, { "isGlobal": { "alias": "isGlobal"; "required": false; }; "serviceName": { "alias": "serviceName"; "required": false; }; "application": { "alias": "application"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "searchDebounceTime": { "alias": "searchDebounceTime"; "required": false; }; }, {}, never, never, false, never>;
117
+ static ɵcmp: i0.ɵɵComponentDeclaration<RoleControlComponent, "lib-role-control", never, { "isGlobal": { "alias": "isGlobal"; "required": false; }; "serviceName": { "alias": "serviceName"; "required": false; }; "application": { "alias": "application"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "searchDebounceTime": { "alias": "searchDebounceTime"; "required": false; }; "permissionConfig": { "alias": "permissionConfig"; "required": false; }; }, {}, never, never, false, never>;
116
118
  }
@@ -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<User[]>;
29
- getRealUsers(role: string | null, skip: number, limit: number, sortParam: string, sortOrder: string): Promise<PagedResult<User> | ErrorResponse>;
29
+ getRealUsers(role: string | null, skip: number, limit: number, sortParam: string, sortOrder: string): Promise<ErrorResponse | PagedResult<User>>;
30
30
  /**
31
31
  * Save multiple users
32
32
  * @param users Array of users to save
@@ -0,0 +1,7 @@
1
+ export interface PermissionConfig {
2
+ UI: any;
3
+ Actions: PermissionConfigAction;
4
+ }
5
+ export interface PermissionConfigAction {
6
+ [key: string]: boolean;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verben-authentication-ui",
3
- "version": "0.9.8",
3
+ "version": "1.0.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^18.2.0",
6
6
  "@angular/common": "^14.0.0 || ^18.0.0",