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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-vector-components",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~13.2.3",
6
6
  "@angular/cdk": "^13.2.2",