verben-authentication-ui 0.9.9 → 1.0.1

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;
@@ -111,6 +113,9 @@ export declare class RoleControlComponent implements OnInit {
111
113
  closePopUp(): void;
112
114
  updateItem(value: any, key: string): any;
113
115
  editValue(value: MappedRole): void;
116
+ tableCache: Map<string, MappedRole>;
117
+ cacheItem(item: MappedRole): void;
118
+ restoreCache(item: Role): void;
114
119
  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>;
120
+ 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
121
  }
@@ -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.9",
3
+ "version": "1.0.1",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^18.2.0",
6
6
  "@angular/common": "^14.0.0 || ^18.0.0",