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.
- package/esm2022/lib/components/role-control/role-control.component.mjs +45 -10
- package/esm2022/lib/models/PermissionConfig.mjs +2 -0
- package/fesm2022/verben-authentication-ui.mjs +44 -9
- package/fesm2022/verben-authentication-ui.mjs.map +1 -1
- package/lib/components/role-control/role-control.component.d.ts +6 -1
- package/lib/models/PermissionConfig.d.ts +7 -0
- package/package.json +1 -1
|
@@ -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
|
}
|