ngx-vector-components 2.3.0 → 2.4.0
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/CHANGELOG.md +13 -0
- package/assets/styles/_primeng-custom-theme.scss +1 -1
- package/esm2020/lib/interceptors/http-interceptor.mjs +10 -4
- package/esm2020/lib/pipes/index.mjs +2 -1
- package/esm2020/lib/pipes/only-active.pipe.mjs +16 -0
- package/esm2020/lib/pipes/pipes.module.mjs +5 -4
- package/esm2020/lib/services/menu.service.mjs +11 -4
- package/esm2020/lib/utils/validation.util.mjs +44 -1
- package/fesm2015/ngx-vector-components.mjs +79 -11
- package/fesm2015/ngx-vector-components.mjs.map +1 -1
- package/fesm2020/ngx-vector-components.mjs +77 -10
- package/fesm2020/ngx-vector-components.mjs.map +1 -1
- package/lib/interceptors/http-interceptor.d.ts +3 -1
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/only-active.pipe.d.ts +7 -0
- package/lib/pipes/pipes.module.d.ts +2 -1
- package/lib/utils/validation.util.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { MessageService } from 'primeng/api';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
import { AuthService, ErrorMessageService, LoadingService, StorageService } from '../services';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -7,11 +8,12 @@ export declare class HttpInterceptorProvider implements HttpInterceptor {
|
|
|
7
8
|
private errorMessageService;
|
|
8
9
|
private loadingService;
|
|
9
10
|
private authService;
|
|
11
|
+
private messageService;
|
|
10
12
|
private environment;
|
|
11
13
|
private activeRequests;
|
|
12
14
|
private isRefreshing;
|
|
13
15
|
private refreshTokenSubject;
|
|
14
|
-
constructor(storageService: StorageService, errorMessageService: ErrorMessageService, loadingService: LoadingService, authService: AuthService, environment: any);
|
|
16
|
+
constructor(storageService: StorageService, errorMessageService: ErrorMessageService, loadingService: LoadingService, authService: AuthService, messageService: MessageService, environment: any);
|
|
15
17
|
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
16
18
|
private isRefreshTokenRequest;
|
|
17
19
|
private getUrlWithoutParams;
|
package/lib/pipes/index.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OnlyActivePipe implements PipeTransform {
|
|
4
|
+
transform(value: any[]): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnlyActivePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OnlyActivePipe, "onlyActive">;
|
|
7
|
+
}
|
|
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./remove-last-child.pipe";
|
|
3
3
|
import * as i2 from "./currency-brl.pipe";
|
|
4
4
|
import * as i3 from "./not-hidden.pipe";
|
|
5
|
+
import * as i4 from "./only-active.pipe";
|
|
5
6
|
export declare class PipesModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.RemoveLastChildPipe, typeof i2.CurrencyBrlPipe, typeof i3.NotHiddenPipe], never, [typeof i1.RemoveLastChildPipe, typeof i2.CurrencyBrlPipe, typeof i3.NotHiddenPipe]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.RemoveLastChildPipe, typeof i2.CurrencyBrlPipe, typeof i3.NotHiddenPipe, typeof i4.OnlyActivePipe], never, [typeof i1.RemoveLastChildPipe, typeof i2.CurrencyBrlPipe, typeof i3.NotHiddenPipe, typeof i4.OnlyActivePipe]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
9
10
|
}
|
|
@@ -9,4 +9,6 @@ export declare class ValidationUtil {
|
|
|
9
9
|
static majorAge(control: AbstractControl): ValidationErrors | null;
|
|
10
10
|
static matchField(anotherField: AbstractControl | null): ValidatorFn;
|
|
11
11
|
static cellphone(control: AbstractControl): ValidationErrors | null;
|
|
12
|
+
static lowerThanOrEqualTo(greaterControlName: string): ValidatorFn;
|
|
13
|
+
static greaterThanOrEqualTo(lowerControlName: string): ValidatorFn;
|
|
12
14
|
}
|