ets-fe-ng-sdk 1.0.27 → 1.0.29
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/README.md +3 -2
- package/esm2020/lib/Services/Interceptors/logger-interceptor.service.mjs +8 -3
- package/esm2020/lib/Shared/components/info-dialog/info-dialog.component.mjs +3 -3
- package/fesm2015/ets-fe-ng-sdk.mjs +9 -4
- package/fesm2015/ets-fe-ng-sdk.mjs.map +1 -1
- package/fesm2020/ets-fe-ng-sdk.mjs +9 -4
- package/fesm2020/ets-fe-ng-sdk.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@ This library was generated for use in Angular ETS projects
|
|
|
5
5
|
# New Features
|
|
6
6
|
|
|
7
7
|
# Changes
|
|
8
|
-
Added reinit function to the environment object to reinitialise the environment object.
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
|
|
10
|
+
# Bug Fixes
|
|
11
|
+
Fixed wrong conditional check on logger interceptor
|
|
@@ -17,12 +17,17 @@ export class LoggerInterceptorService {
|
|
|
17
17
|
}
|
|
18
18
|
intercept(req, next) {
|
|
19
19
|
if (!ETSenvironment.debug ||
|
|
20
|
-
this.exemptList.find((x) => req.url.startsWith(x) ||
|
|
20
|
+
this.exemptList.find((x) => req.url.startsWith(x)) ||
|
|
21
|
+
!ETSenvironment.logReq)
|
|
21
22
|
return next.handle(req);
|
|
22
23
|
try {
|
|
23
24
|
let log;
|
|
24
25
|
if (req.method == 'POST' || req.method == 'PUT') {
|
|
25
|
-
log = new Log({
|
|
26
|
+
log = new Log({
|
|
27
|
+
payload: req.body,
|
|
28
|
+
endpoint: req.url,
|
|
29
|
+
method: req.method,
|
|
30
|
+
});
|
|
26
31
|
}
|
|
27
32
|
return next.handle(req).pipe(tap((event) => {
|
|
28
33
|
if (event instanceof HttpResponse && log) {
|
|
@@ -50,4 +55,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
|
|
|
50
55
|
providedIn: 'root',
|
|
51
56
|
}]
|
|
52
57
|
}], ctorParameters: function () { return [{ type: i1.LoggerService }]; } });
|
|
53
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nZ2VyLWludGVyY2VwdG9yLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldHMtZmUtbmctc2RrL3NyYy9saWIvU2VydmljZXMvSW50ZXJjZXB0b3JzL2xvZ2dlci1pbnRlcmNlcHRvci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFLTCxZQUFZLEVBQ1osaUJBQWlCLEdBQ2xCLE1BQU0sc0JBQXNCLENBQUM7QUFDOUIsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUzQyxPQUFPLEVBQWMsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDakQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBRW5FLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSx3REFBd0QsQ0FBQzs7O0FBSzdFLE1BQU0sT0FBTyx3QkFBd0I7SUFDbkMsWUFBbUIsT0FBc0I7UUFBdEIsWUFBTyxHQUFQLE9BQU8sQ0FBZTtRQUdoQyxlQUFVLEdBQUc7WUFDcEIsY0FBYyxDQUFDLFVBQVUsR0FBRyxtQkFBbUI7WUFDL0MsY0FBYyxDQUFDLFVBQVUsR0FBRyxzQkFBc0I7WUFDbEQsY0FBYyxDQUFDLFVBQVUsR0FBRywwQkFBMEI7U0FDdkQsQ0FBQztRQU5BLElBQUksQ0FBQyxVQUFVLENBQUMsT0FBTyxDQUFDLENBQUMsQ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RsZShyZXEpO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -32,12 +32,12 @@ export class InfoDialogComponent {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
InfoDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: InfoDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
-
InfoDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: InfoDialogComponent, selector: "ng-component", ngImport: i0, template: "<div class=\"text-center\">\n <div class=\"d-flex justify-content-between align-items-center\">\n <div class=\"text-{{cls()}} ms-3 font-weight-bold text-uppercase\">\n <i class=\"fa fa-{{data?.status?'check-circle':'exclamation-circle'}}\"></i>\n {{(data?.heading||'Notice')|appTranslate|async}}\n </div>\n <button mat-icon-button (click)=\"yes()\" class=\"btn-outline-danger\"><i class=\"material-icons\">close</i></button>\n </div>\n\n <div class=\"card-body \" [innerHTML]=\"data?.text|appTranslate|async\">\n\n </div>\n\n <div class=\"row justify-content-center\">\n <div class=\"col-md-auto my-1\" *ngFor=\"let item of data?.btns\">\n <app-btn [type]=\"item.type||'secondary'\" [icon]=\"item.icon\" (mclick)=\"item.action($event);yes();\">\n {{item.value||item.label}}\n </app-btn>\n </div>\n </div>\n <div class=\"bg-{{
|
|
35
|
+
InfoDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: InfoDialogComponent, selector: "ng-component", ngImport: i0, template: "<div class=\"text-center\">\n <div class=\"d-flex justify-content-between align-items-center\">\n <div class=\"text-{{cls()}} ms-3 font-weight-bold text-uppercase\">\n <i class=\"fa fa-{{data?.status?'check-circle':'exclamation-circle'}}\"></i>\n {{(data?.heading||'Notice')|appTranslate|async}}\n </div>\n <button mat-icon-button (click)=\"yes()\" class=\"btn-outline-danger\"><i class=\"material-icons\">close</i></button>\n </div>\n\n <div class=\"card-body \" [innerHTML]=\"data?.text|appTranslate|async\">\n\n </div>\n\n <div class=\"row justify-content-center\">\n <div class=\"col-md-auto my-1\" *ngFor=\"let item of data?.btns\">\n <app-btn [type]=\"item.type||'secondary'\" [icon]=\"item.icon\" (mclick)=\"item.action($event);yes();\">\n {{item.value||item.label}}\n </app-btn>\n </div>\n </div>\n <div class=\"bg-{{cls()}} mt-2 rounded bar\"></div>\n</div>\n", styles: [".bar{height:5px}.card-body{overflow-wrap:anywhere;white-space:pre-line}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4.BtnComponent, selector: "app-btn", inputs: ["formSchema", "icon", "type", "group", "actionType", "animate", "badge", "class", "customIcon", "disabled", "form", "help", "iconBtn", "lite", "loading", "mclass", "showHelpIcon", "text", "valid", "onFormInvalid"], outputs: ["mclick"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.TranslatePipe, name: "appTranslate" }] });
|
|
36
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: InfoDialogComponent, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
|
-
args: [{ template: "<div class=\"text-center\">\n <div class=\"d-flex justify-content-between align-items-center\">\n <div class=\"text-{{cls()}} ms-3 font-weight-bold text-uppercase\">\n <i class=\"fa fa-{{data?.status?'check-circle':'exclamation-circle'}}\"></i>\n {{(data?.heading||'Notice')|appTranslate|async}}\n </div>\n <button mat-icon-button (click)=\"yes()\" class=\"btn-outline-danger\"><i class=\"material-icons\">close</i></button>\n </div>\n\n <div class=\"card-body \" [innerHTML]=\"data?.text|appTranslate|async\">\n\n </div>\n\n <div class=\"row justify-content-center\">\n <div class=\"col-md-auto my-1\" *ngFor=\"let item of data?.btns\">\n <app-btn [type]=\"item.type||'secondary'\" [icon]=\"item.icon\" (mclick)=\"item.action($event);yes();\">\n {{item.value||item.label}}\n </app-btn>\n </div>\n </div>\n <div class=\"bg-{{
|
|
38
|
+
args: [{ template: "<div class=\"text-center\">\n <div class=\"d-flex justify-content-between align-items-center\">\n <div class=\"text-{{cls()}} ms-3 font-weight-bold text-uppercase\">\n <i class=\"fa fa-{{data?.status?'check-circle':'exclamation-circle'}}\"></i>\n {{(data?.heading||'Notice')|appTranslate|async}}\n </div>\n <button mat-icon-button (click)=\"yes()\" class=\"btn-outline-danger\"><i class=\"material-icons\">close</i></button>\n </div>\n\n <div class=\"card-body \" [innerHTML]=\"data?.text|appTranslate|async\">\n\n </div>\n\n <div class=\"row justify-content-center\">\n <div class=\"col-md-auto my-1\" *ngFor=\"let item of data?.btns\">\n <app-btn [type]=\"item.type||'secondary'\" [icon]=\"item.icon\" (mclick)=\"item.action($event);yes();\">\n {{item.value||item.label}}\n </app-btn>\n </div>\n </div>\n <div class=\"bg-{{cls()}} mt-2 rounded bar\"></div>\n</div>\n", styles: [".bar{height:5px}.card-body{overflow-wrap:anywhere;white-space:pre-line}\n"] }]
|
|
39
39
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
40
40
|
type: Inject,
|
|
41
41
|
args: [MAT_DIALOG_DATA]
|
|
42
42
|
}] }, { type: i1.MatDialogRef }]; } });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5mby1kaWFsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXRzLWZlLW5nLXNkay9zcmMvbGliL1NoYXJlZC9jb21wb25lbnRzL2luZm8tZGlhbG9nL2luZ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jbG9zZTwvaT48L2J1dHRvbj5cbiAgPC9kaXY+XG5cbiAgPGRpdiBjbGFzcz1cImNhcmQtYm9keSBcIiBbaW5uZXJIVE1MXT1cImRhdGE/LnRleHR8YXBwVHJhbnNsYXRlfGFzeW5jXCI+XG5cbiAgPC9kaXY+XG5cbiAgPGRpdiBjbGFzcz1cInJvdyBqdXN0aWZ5LWNvbnRlbnQtY2VudGVyXCI+XG4gICAgPGRpdiBjbGFzcz1cImNvbC1tZC1hdXRvIG15LTFcIiAqbmdGb3I9XCJsZXQgaXRlbSBvZiBkYXRhPy5idG5zXCI+XG4gICAgICA8YXBwLWJ0biBbdHlwZV09XCJpdGVtLnR5cGV8fCdzZWNvbmRhcnknXCIgW2ljb25dPVwiaXRlbS5pY29uXCIgKG1jbGljayk9XCJpdGVtLmFjdGlvbigkZXZlbnQpO3llcygpO1wiPlxuICAgICAgICB7e2l0ZW0udmFsdWV8fGl0ZW0ubGFiZWx9fVxuICAgICAgPC9hcHAtYnRuPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbiAgPGRpdiBjbGFzcz1cImJnLXt7Y2xzKCl9fSBtdC0yIHJvdW5kZWQgYmFyXCI+PC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -5651,10 +5651,10 @@ class InfoDialogComponent {
|
|
|
5651
5651
|
}
|
|
5652
5652
|
}
|
|
5653
5653
|
InfoDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: InfoDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1$1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5654
|
-
InfoDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: InfoDialogComponent, selector: "ng-component", ngImport: i0, template: "<div class=\"text-center\">\n <div class=\"d-flex justify-content-between align-items-center\">\n <div class=\"text-{{cls()}} ms-3 font-weight-bold text-uppercase\">\n <i class=\"fa fa-{{data?.status?'check-circle':'exclamation-circle'}}\"></i>\n {{(data?.heading||'Notice')|appTranslate|async}}\n </div>\n <button mat-icon-button (click)=\"yes()\" class=\"btn-outline-danger\"><i class=\"material-icons\">close</i></button>\n </div>\n\n <div class=\"card-body \" [innerHTML]=\"data?.text|appTranslate|async\">\n\n </div>\n\n <div class=\"row justify-content-center\">\n <div class=\"col-md-auto my-1\" *ngFor=\"let item of data?.btns\">\n <app-btn [type]=\"item.type||'secondary'\" [icon]=\"item.icon\" (mclick)=\"item.action($event);yes();\">\n {{item.value||item.label}}\n </app-btn>\n </div>\n </div>\n <div class=\"bg-{{
|
|
5654
|
+
InfoDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: InfoDialogComponent, selector: "ng-component", ngImport: i0, template: "<div class=\"text-center\">\n <div class=\"d-flex justify-content-between align-items-center\">\n <div class=\"text-{{cls()}} ms-3 font-weight-bold text-uppercase\">\n <i class=\"fa fa-{{data?.status?'check-circle':'exclamation-circle'}}\"></i>\n {{(data?.heading||'Notice')|appTranslate|async}}\n </div>\n <button mat-icon-button (click)=\"yes()\" class=\"btn-outline-danger\"><i class=\"material-icons\">close</i></button>\n </div>\n\n <div class=\"card-body \" [innerHTML]=\"data?.text|appTranslate|async\">\n\n </div>\n\n <div class=\"row justify-content-center\">\n <div class=\"col-md-auto my-1\" *ngFor=\"let item of data?.btns\">\n <app-btn [type]=\"item.type||'secondary'\" [icon]=\"item.icon\" (mclick)=\"item.action($event);yes();\">\n {{item.value||item.label}}\n </app-btn>\n </div>\n </div>\n <div class=\"bg-{{cls()}} mt-2 rounded bar\"></div>\n</div>\n", styles: [".bar{height:5px}.card-body{overflow-wrap:anywhere;white-space:pre-line}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: BtnComponent, selector: "app-btn", inputs: ["formSchema", "icon", "type", "group", "actionType", "animate", "badge", "class", "customIcon", "disabled", "form", "help", "iconBtn", "lite", "loading", "mclass", "showHelpIcon", "text", "valid", "onFormInvalid"], outputs: ["mclick"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "appTranslate" }] });
|
|
5655
5655
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: InfoDialogComponent, decorators: [{
|
|
5656
5656
|
type: Component,
|
|
5657
|
-
args: [{ template: "<div class=\"text-center\">\n <div class=\"d-flex justify-content-between align-items-center\">\n <div class=\"text-{{cls()}} ms-3 font-weight-bold text-uppercase\">\n <i class=\"fa fa-{{data?.status?'check-circle':'exclamation-circle'}}\"></i>\n {{(data?.heading||'Notice')|appTranslate|async}}\n </div>\n <button mat-icon-button (click)=\"yes()\" class=\"btn-outline-danger\"><i class=\"material-icons\">close</i></button>\n </div>\n\n <div class=\"card-body \" [innerHTML]=\"data?.text|appTranslate|async\">\n\n </div>\n\n <div class=\"row justify-content-center\">\n <div class=\"col-md-auto my-1\" *ngFor=\"let item of data?.btns\">\n <app-btn [type]=\"item.type||'secondary'\" [icon]=\"item.icon\" (mclick)=\"item.action($event);yes();\">\n {{item.value||item.label}}\n </app-btn>\n </div>\n </div>\n <div class=\"bg-{{
|
|
5657
|
+
args: [{ template: "<div class=\"text-center\">\n <div class=\"d-flex justify-content-between align-items-center\">\n <div class=\"text-{{cls()}} ms-3 font-weight-bold text-uppercase\">\n <i class=\"fa fa-{{data?.status?'check-circle':'exclamation-circle'}}\"></i>\n {{(data?.heading||'Notice')|appTranslate|async}}\n </div>\n <button mat-icon-button (click)=\"yes()\" class=\"btn-outline-danger\"><i class=\"material-icons\">close</i></button>\n </div>\n\n <div class=\"card-body \" [innerHTML]=\"data?.text|appTranslate|async\">\n\n </div>\n\n <div class=\"row justify-content-center\">\n <div class=\"col-md-auto my-1\" *ngFor=\"let item of data?.btns\">\n <app-btn [type]=\"item.type||'secondary'\" [icon]=\"item.icon\" (mclick)=\"item.action($event);yes();\">\n {{item.value||item.label}}\n </app-btn>\n </div>\n </div>\n <div class=\"bg-{{cls()}} mt-2 rounded bar\"></div>\n</div>\n", styles: [".bar{height:5px}.card-body{overflow-wrap:anywhere;white-space:pre-line}\n"] }]
|
|
5658
5658
|
}], ctorParameters: function () {
|
|
5659
5659
|
return [{ type: undefined, decorators: [{
|
|
5660
5660
|
type: Inject,
|
|
@@ -12954,12 +12954,17 @@ class LoggerInterceptorService {
|
|
|
12954
12954
|
}
|
|
12955
12955
|
intercept(req, next) {
|
|
12956
12956
|
if (!ETSenvironment.debug ||
|
|
12957
|
-
this.exemptList.find((x) => req.url.startsWith(x) ||
|
|
12957
|
+
this.exemptList.find((x) => req.url.startsWith(x)) ||
|
|
12958
|
+
!ETSenvironment.logReq)
|
|
12958
12959
|
return next.handle(req);
|
|
12959
12960
|
try {
|
|
12960
12961
|
let log;
|
|
12961
12962
|
if (req.method == 'POST' || req.method == 'PUT') {
|
|
12962
|
-
log = new Log({
|
|
12963
|
+
log = new Log({
|
|
12964
|
+
payload: req.body,
|
|
12965
|
+
endpoint: req.url,
|
|
12966
|
+
method: req.method,
|
|
12967
|
+
});
|
|
12963
12968
|
}
|
|
12964
12969
|
return next.handle(req).pipe(tap((event) => {
|
|
12965
12970
|
if (event instanceof HttpResponse && log) {
|