monkey-front-core 0.0.319 → 0.0.321
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/services/commons/monkeyecx-commons.service.mjs +5 -5
- package/fesm2015/monkey-front-core.mjs +64 -66
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +4 -4
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +1 -1
- package/monkey-front-core-0.0.321.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.319.tgz +0 -0
|
@@ -2749,6 +2749,9 @@ class MonkeyEcxCommonsService {
|
|
|
2749
2749
|
}
|
|
2750
2750
|
getRole() {
|
|
2751
2751
|
const { __tokenCredentials } = this;
|
|
2752
|
+
console.log('--......');
|
|
2753
|
+
console.log(__tokenCredentials);
|
|
2754
|
+
console.log('--......');
|
|
2752
2755
|
if (!__tokenCredentials)
|
|
2753
2756
|
return '';
|
|
2754
2757
|
if (__tokenCredentials?.programAdmin === 'true') {
|
|
@@ -2889,16 +2892,13 @@ class MonkeyEcxCommonsService {
|
|
|
2889
2892
|
this.__handledError = null;
|
|
2890
2893
|
this.flagValidator = false;
|
|
2891
2894
|
}
|
|
2892
|
-
|
|
2895
|
+
resolve(route, state, otherArgs) {
|
|
2893
2896
|
if (JSON.stringify(route?.queryParams) === '{}') {
|
|
2894
2897
|
this.__data = null;
|
|
2895
2898
|
this.__page = null;
|
|
2896
2899
|
}
|
|
2897
2900
|
this.__requestPaged = null;
|
|
2898
2901
|
this.flagValidator = true;
|
|
2899
|
-
if (this.tokenStorage) {
|
|
2900
|
-
this.__tokenCredentials = await this.tokenStorage.getToken();
|
|
2901
|
-
}
|
|
2902
2902
|
const pend = this.allowedSecurityAccessByPendency(otherArgs?.pendency);
|
|
2903
2903
|
const allowedByProgram = this.allowedSecurityAccessByFeature(otherArgs?.featureByProgram);
|
|
2904
2904
|
if (this.allowedSecurityAccess(otherArgs?.security) &&
|