monkey-front-core 0.0.188 → 0.0.191
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/directives/index.mjs +2 -1
- package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +6 -1
- package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +51 -0
- package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +2 -2
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +25 -4
- package/fesm2015/monkey-front-core.mjs +736 -662
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +695 -623
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/directives/index.d.ts +1 -0
- package/lib/core/directives/monkeyecx-directives-module.d.ts +11 -10
- package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +15 -0
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +6 -1
- package/monkey-front-core-0.0.191.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.188.tgz +0 -0
|
@@ -2,17 +2,18 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./monkeyecx-drag-drop";
|
|
3
3
|
import * as i2 from "./monkeyecx-format-currency";
|
|
4
4
|
import * as i3 from "./monkeyecx-feature-directive";
|
|
5
|
-
import * as i4 from "./monkeyecx-
|
|
6
|
-
import * as i5 from "./monkeyecx-
|
|
7
|
-
import * as i6 from "./monkeyecx-only-
|
|
8
|
-
import * as i7 from "./monkeyecx-
|
|
9
|
-
import * as i8 from "./monkeyecx-
|
|
10
|
-
import * as i9 from "./monkeyecx-
|
|
11
|
-
import * as i10 from "./monkeyecx-popover
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "@angular/
|
|
5
|
+
import * as i4 from "./monkeyecx-feature-by-program-directive";
|
|
6
|
+
import * as i5 from "./monkeyecx-format-upper";
|
|
7
|
+
import * as i6 from "./monkeyecx-only-alpha-numeric-directive";
|
|
8
|
+
import * as i7 from "./monkeyecx-only-number-directive";
|
|
9
|
+
import * as i8 from "./monkeyecx-security-directive";
|
|
10
|
+
import * as i9 from "./monkeyecx-tooltip-directive";
|
|
11
|
+
import * as i10 from "./monkeyecx-popover.directive";
|
|
12
|
+
import * as i11 from "./monkeyecx-popover-options.directive";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
14
|
+
import * as i13 from "@angular/cdk/overlay";
|
|
14
15
|
export declare class MonkeyEcxDirectivesModule {
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxDirectivesModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxDirectivesModule, [typeof i1.MonkeyEcxDragDropDirective, typeof i2.MonkeyEcxFormatCurrency, typeof i3.MonkeyEcxFeatureDirective, typeof i4.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxDirectivesModule, [typeof i1.MonkeyEcxDragDropDirective, typeof i2.MonkeyEcxFormatCurrency, typeof i3.MonkeyEcxFeatureDirective, typeof i4.MonkeyEcxFeatureByProgramDirective, typeof i5.MonkeyEcxFormatUpper, typeof i6.MonkeyEcxOnlyAlphaNumericDirective, typeof i7.MonkeyEcxOnlyNumbersDirective, typeof i8.MonkeyEcxSecurityDirective, typeof i9.MonkeyEcxTooltipDirective, typeof i10.MonkeyEcxPopoverDirective, typeof i11.MonkeyEcxPopoverOptionsDirective], [typeof i12.CommonModule, typeof i13.OverlayModule], [typeof i1.MonkeyEcxDragDropDirective, typeof i2.MonkeyEcxFormatCurrency, typeof i3.MonkeyEcxFeatureDirective, typeof i4.MonkeyEcxFeatureByProgramDirective, typeof i5.MonkeyEcxFormatUpper, typeof i6.MonkeyEcxOnlyAlphaNumericDirective, typeof i7.MonkeyEcxOnlyNumbersDirective, typeof i8.MonkeyEcxSecurityDirective, typeof i9.MonkeyEcxTooltipDirective, typeof i10.MonkeyEcxPopoverDirective, typeof i11.MonkeyEcxPopoverOptionsDirective]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyEcxDirectivesModule>;
|
|
18
19
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxConfigService } from '../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MonkeyEcxFeatureByProgramDirective implements OnInit {
|
|
5
|
+
private cdr;
|
|
6
|
+
private elementRef;
|
|
7
|
+
private monkeyConfigService;
|
|
8
|
+
feature: string;
|
|
9
|
+
private config?;
|
|
10
|
+
constructor(cdr: ChangeDetectorRef, elementRef: ElementRef, monkeyConfigService: MonkeyEcxConfigService);
|
|
11
|
+
private handleDisplay;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxFeatureByProgramDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyEcxFeatureByProgramDirective, "[monkeyecxFeatureByProgram]", never, { "feature": "feature"; }, {}, never>;
|
|
15
|
+
}
|
|
@@ -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, Observable } from 'rxjs';
|
|
4
|
-
import { MonkeyEcxErrorResponse, MonkeyEcxHandledErrorResponse, MonkeyEcxRequestPaged, MonkeyEcxRequestSchedule, MonkeyEcxResponsePaged, MonkeyEcxResponseLinks, MonkeyEcxTokenCredentials, MonkeyEcxTranslateOptions, MonkeyEcxCountrySecurity, MonkeyEcxSavedState } from '../../interfaces';
|
|
4
|
+
import { MonkeyEcxErrorResponse, MonkeyEcxHandledErrorResponse, MonkeyEcxRequestPaged, MonkeyEcxRequestSchedule, MonkeyEcxResponsePaged, MonkeyEcxResponseLinks, MonkeyEcxTokenCredentials, MonkeyEcxTranslateOptions, MonkeyEcxCountrySecurity, MonkeyEcxSavedState, MonkeyEcxConfig } 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';
|
|
@@ -72,6 +72,7 @@ export declare class MonkeyEcxCommonsService {
|
|
|
72
72
|
private navigateToPendencyPage;
|
|
73
73
|
private getRole;
|
|
74
74
|
private allowedSecurityAccessByPendency;
|
|
75
|
+
private allowedSecurityAccessByFeature;
|
|
75
76
|
private allowedSecurityAccessByCountry;
|
|
76
77
|
private allowedSecurityAccess;
|
|
77
78
|
private navigateToErrorPage;
|
|
@@ -94,6 +95,10 @@ export declare class MonkeyEcxCommonsService {
|
|
|
94
95
|
service: MonkeyEcxFeatureToggleService;
|
|
95
96
|
flag: string;
|
|
96
97
|
};
|
|
98
|
+
featureByProgram?: {
|
|
99
|
+
config: MonkeyEcxConfig;
|
|
100
|
+
feature: string;
|
|
101
|
+
};
|
|
97
102
|
countrySecurity?: MonkeyEcxCountrySecurity;
|
|
98
103
|
pendency?: {
|
|
99
104
|
service: {
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|