ngx-vector-components 2.13.0 → 2.13.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/CHANGELOG.md +9 -0
- package/esm2020/lib/models/menu-item.model.mjs +1 -1
- package/esm2020/lib/models/profile.model.mjs +4 -1
- package/esm2020/lib/services/profile.service.mjs +18 -5
- package/fesm2015/ngx-vector-components.mjs +21 -4
- package/fesm2015/ngx-vector-components.mjs.map +1 -1
- package/fesm2020/ngx-vector-components.mjs +20 -4
- package/fesm2020/ngx-vector-components.mjs.map +1 -1
- package/lib/models/menu-item.model.d.ts +1 -1
- package/lib/models/profile.model.d.ts +3 -0
- package/lib/services/profile.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -12,5 +12,5 @@ export declare type MenuItem = {
|
|
|
12
12
|
hidden?: boolean;
|
|
13
13
|
command?: () => void;
|
|
14
14
|
alwaysOpen?: boolean;
|
|
15
|
-
permission?: ProfileModuleActionType | ProfileModuleType;
|
|
15
|
+
permission?: ProfileModuleActionType[] | ProfileModuleType[] | ProfileModuleActionType | ProfileModuleType;
|
|
16
16
|
};
|
|
@@ -127,6 +127,9 @@ export declare enum ProfileModuleActionType {
|
|
|
127
127
|
FINTECH_BANK_USER = "Fintech Bank User",
|
|
128
128
|
FINTECH_CREDIT_ADMIN = "Fintech Credit Admin",
|
|
129
129
|
FINTECH_CREDIT_USER = "Fintech Credit User",
|
|
130
|
+
FINTECH_BANK_ADMIN_ACCOUNTS_VIEW = "Fintech Bank Admin - Accounts View",
|
|
131
|
+
FINTECH_CREDIT_ADMIN_PROPOSAL_NOT_CONFIRMED = "Fintech Credit Admin - Proposal Not Confirmed",
|
|
132
|
+
FINTECH_CREDIT_ADMIN_CONTRACTS_FOLLOW_UP = "Fintech Credit Admin - Contracts Follow-Up",
|
|
130
133
|
ADMIN_MARKEPLACE = "Admin Markeplace",
|
|
131
134
|
APPROVE_REQUEST = "Approve Request",
|
|
132
135
|
REPROVE_REQUEST = "Reprove Request",
|
|
@@ -13,7 +13,7 @@ export declare class ProfileService {
|
|
|
13
13
|
hasAnyMarketplacePermission: boolean;
|
|
14
14
|
constructor(http: HttpClient, storageService: StorageService);
|
|
15
15
|
getUserProfile(): void;
|
|
16
|
-
userHasPermission(action: ProfileModuleActionType | ProfileModuleType | undefined): boolean;
|
|
16
|
+
userHasPermission(action: ProfileModuleActionType | ProfileModuleType | ProfileModuleActionType[] | ProfileModuleType[] | undefined): boolean;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileService, never>;
|
|
18
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProfileService>;
|
|
19
19
|
}
|