verben-authentication-ui 0.7.3 → 0.7.5
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 +126 -12
- package/esm2022/lib/components/role-control/role-control.service.mjs +5 -3
- package/fesm2022/verben-authentication-ui.mjs +129 -13
- package/fesm2022/verben-authentication-ui.mjs.map +1 -1
- package/lib/components/role-control/role-control.component.d.ts +5 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { RoleControlService } from './role-control.service';
|
|
3
|
-
import { CardData, CardDataViewComponent, ColumnDefinition, DataViewComponent, IDataFilter, VerbenPopUpComponent } from 'verben-ng-ui';
|
|
3
|
+
import { CardData, CardDataViewComponent, ColumnDefinition, DataTableComponent, DataViewComponent, IDataFilter, VerbenPopUpComponent } from 'verben-ng-ui';
|
|
4
4
|
import { Role } from '../../models/Role';
|
|
5
5
|
import { RoleContext } from '../../models/RoleContext';
|
|
6
6
|
import { RoleAction } from '../../models/RoleAction';
|
|
@@ -36,6 +36,7 @@ export declare class RoleControlComponent implements OnInit {
|
|
|
36
36
|
cardDataView: CardDataViewComponent;
|
|
37
37
|
dataView: DataViewComponent;
|
|
38
38
|
popUp: VerbenPopUpComponent;
|
|
39
|
+
tableView: DataTableComponent<MappedRole>;
|
|
39
40
|
isGlobal: boolean;
|
|
40
41
|
serviceName: string | null;
|
|
41
42
|
application: string | null;
|
|
@@ -74,10 +75,12 @@ export declare class RoleControlComponent implements OnInit {
|
|
|
74
75
|
viewDetailsChild(context: CardData): void;
|
|
75
76
|
roleCardClicked(item: CardData): void;
|
|
76
77
|
toggleChildren(item: CardData): void;
|
|
78
|
+
goToTableView(): void;
|
|
77
79
|
closeDetails(): void;
|
|
78
80
|
getCardSubCaption(item: CardData): string;
|
|
79
81
|
getUpdatedRole(role: MappedRole): Role;
|
|
80
82
|
saveRole(): Promise<void>;
|
|
83
|
+
tableSaveRole(role: MappedRole, callBack: () => any): Promise<void>;
|
|
81
84
|
saveRoleDynamic(item: CardData): Promise<void>;
|
|
82
85
|
saveDataAll(): void;
|
|
83
86
|
updateTable(): void;
|
|
@@ -109,6 +112,7 @@ export declare class RoleControlComponent implements OnInit {
|
|
|
109
112
|
randomContexts(): RoleContext[];
|
|
110
113
|
randomActions(): RoleAction[];
|
|
111
114
|
closePopUp(): void;
|
|
115
|
+
updateItem(value: any, key: string): any;
|
|
112
116
|
editValue(value: MappedRole): void;
|
|
113
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoleControlComponent, never>;
|
|
114
118
|
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>;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verben-authentication-ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.0.0 || ^18.0.0",
|
|
6
6
|
"@angular/core": "^14.0.0 || ^18.0.0",
|
|
7
7
|
"@angular/cdk": "^18.2.0",
|
|
8
|
-
"verben-ng-ui": "^0.
|
|
8
|
+
"verben-ng-ui": "^0.4.2"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tslib": "^2.3.0"
|