monkey-front-core 0.0.112 → 0.0.116
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/esm2020/lib/core/interfaces/index.mjs +3 -1
- package/esm2020/lib/core/interfaces/monkeyecx-company-pendencies.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-country-security.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +1 -1
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +46 -2
- package/fesm2015/monkey-front-core.mjs +45 -1
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +45 -1
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/interfaces/index.d.ts +2 -0
- package/lib/core/interfaces/monkeyecx-company-pendencies.d.ts +14 -0
- package/lib/core/interfaces/monkeyecx-country-security.d.ts +4 -0
- package/lib/core/interfaces/monkeyecx-me-credentials.d.ts +6 -0
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +11 -1
- package/monkey-front-core-0.0.116.tgz +0 -0
- package/package.json +3 -2
- package/monkey-front-core-0.0.112.tgz +0 -0
|
@@ -24,3 +24,5 @@ export * from './monkeyecx-service-credentials';
|
|
|
24
24
|
export * from './monkeyecx-support-options';
|
|
25
25
|
export * from './monkeyecx-token-credentials';
|
|
26
26
|
export * from './monkeyecx-translate-options';
|
|
27
|
+
export * from './monkeyecx-company-pendencies';
|
|
28
|
+
export * from './monkeyecx-country-security';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface PendencyBase {
|
|
2
|
+
message?: string;
|
|
3
|
+
href?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface MonkeyEcxCompanyPendencies {
|
|
6
|
+
[key: string]: PendencyBase;
|
|
7
|
+
}
|
|
8
|
+
export interface MonkeyEcxCompanyPendenciesValidated extends PendencyBase {
|
|
9
|
+
hasPendencies: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface MonkeyEcxCompanyPendenciesOnGoing {
|
|
12
|
+
[key: string]: boolean;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -13,4 +13,10 @@ export interface MonkeyEcxMeCredentials {
|
|
|
13
13
|
smsNotification?: boolean;
|
|
14
14
|
privacyPolicy?: boolean;
|
|
15
15
|
useTerms?: boolean;
|
|
16
|
+
locale?: string;
|
|
17
|
+
newsletter?: boolean;
|
|
18
|
+
passNumber1?: string;
|
|
19
|
+
passNumber2?: string;
|
|
20
|
+
passNumber3?: string;
|
|
21
|
+
passNumber4?: string;
|
|
16
22
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { MonkeyEcxErrorResponse, MonkeyEcxHandledErrorResponse, MonkeyEcxRequestPaged, MonkeyEcxRequestSchedule, MonkeyEcxResponsePaged, MonkeyEcxResponseLinks, MonkeyEcxTokenCredentials, MonkeyEcxTranslateOptions } from '../../interfaces';
|
|
4
|
+
import { MonkeyEcxErrorResponse, MonkeyEcxHandledErrorResponse, MonkeyEcxRequestPaged, MonkeyEcxRequestSchedule, MonkeyEcxResponsePaged, MonkeyEcxResponseLinks, MonkeyEcxTokenCredentials, MonkeyEcxTranslateOptions, MonkeyEcxCountrySecurity } from '../../interfaces';
|
|
5
5
|
import { MonkeyEcxTokenStorageService } from '../storage/monkeyecx-token-storage.service';
|
|
6
6
|
import { MonkeyEcxRequestScheduleService } from '../schedules/monkeyecx-request-schedule.service';
|
|
7
7
|
import { MonkeyEcxRequestQueueHandlingService } from '../request-queue/monkeyecx-request-queue-handling.service';
|
|
@@ -59,7 +59,10 @@ export declare class MonkeyEcxCommonsService {
|
|
|
59
59
|
} | undefined;
|
|
60
60
|
} | undefined);
|
|
61
61
|
private handleInit;
|
|
62
|
+
private navigateToPendencyPage;
|
|
62
63
|
private getRole;
|
|
64
|
+
private allowedSecurityAccessByPendency;
|
|
65
|
+
private allowedSecurityAccessByCountry;
|
|
63
66
|
private allowedSecurityAccess;
|
|
64
67
|
private navigateToErrorPage;
|
|
65
68
|
setPage(requestPaged: MonkeyEcxRequestPaged): this;
|
|
@@ -80,6 +83,13 @@ export declare class MonkeyEcxCommonsService {
|
|
|
80
83
|
service: MonkeyEcxFeatureToggleService;
|
|
81
84
|
flag: string;
|
|
82
85
|
};
|
|
86
|
+
countrySecurity?: MonkeyEcxCountrySecurity;
|
|
87
|
+
pendency?: {
|
|
88
|
+
service: {
|
|
89
|
+
hasPendencies: Function;
|
|
90
|
+
};
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
83
93
|
}): void;
|
|
84
94
|
getHTTPHeaderApplicationPDF(): Object;
|
|
85
95
|
genericMethod(link: any, data?: any, callback?: Function): void;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monkey-front-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.116",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^13.1.1",
|
|
6
6
|
"@angular/core": "^13.1.1",
|
|
@@ -10,12 +10,13 @@
|
|
|
10
10
|
"@ngx-translate/http-loader": "^6.0.0",
|
|
11
11
|
"launchdarkly-js-client-sdk": "2.19.2",
|
|
12
12
|
"moment": "^2.29.1",
|
|
13
|
-
"monkey-style-guide": "^2.0.
|
|
13
|
+
"monkey-style-guide": "^2.0.119",
|
|
14
14
|
"ngx-cookie-service": "^13.1.1",
|
|
15
15
|
"ngx-mask": "^12.0.0",
|
|
16
16
|
"rxjs": "^6.6.3"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
+
"monkey-style-guide": "^2.0.119",
|
|
19
20
|
"tslib": "^2.3.0"
|
|
20
21
|
},
|
|
21
22
|
"module": "fesm2015/monkey-front-core.mjs",
|
|
Binary file
|