@nettyapps/ntybase 21.0.24 → 21.0.25
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/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import { Theme, GridApi, GridOptions, StatusPanelDef, GridReadyEvent, IFilterPar
|
|
|
5
5
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
7
|
import { Router, ActivatedRoute, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanDeactivate } from '@angular/router';
|
|
8
|
-
import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
|
|
8
|
+
import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
|
|
9
9
|
import { EnvironmentProxy } from '@nettyapps/ntycontract';
|
|
10
10
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
11
11
|
import { NgForm, FormGroup } from '@angular/forms';
|
|
@@ -640,6 +640,15 @@ declare class AuthenticationInterceptor implements HttpInterceptor {
|
|
|
640
640
|
static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationInterceptor>;
|
|
641
641
|
}
|
|
642
642
|
|
|
643
|
+
/**
|
|
644
|
+
* Nty Authentication Interceptor. This interceptor is used to intercept HTTP requests and add authentication headers.
|
|
645
|
+
* It's coded as functional interceptor for better performance.
|
|
646
|
+
* @param req
|
|
647
|
+
* @param next
|
|
648
|
+
* @returns
|
|
649
|
+
*/
|
|
650
|
+
declare const ntyAuthenticationInterceptor: HttpInterceptorFn;
|
|
651
|
+
|
|
643
652
|
interface LoginContext {
|
|
644
653
|
username: string;
|
|
645
654
|
password: string;
|
|
@@ -918,6 +927,8 @@ declare class EnvironmentInfo {
|
|
|
918
927
|
static ɵcmp: i0.ɵɵComponentDeclaration<EnvironmentInfo, "ntybase-environment-info", never, { "showNettyInfo": { "alias": "showNettyInfo"; "required": false; }; }, {}, never, never, true, never>;
|
|
919
928
|
}
|
|
920
929
|
|
|
930
|
+
declare const NtyLoadingInterceptor: HttpInterceptorFn;
|
|
931
|
+
|
|
921
932
|
declare class NettyMenuService {
|
|
922
933
|
private http;
|
|
923
934
|
private environmentProxy;
|
|
@@ -930,5 +941,5 @@ declare class NettyMenuService {
|
|
|
930
941
|
static ɵprov: i0.ɵɵInjectableDeclaration<NettyMenuService>;
|
|
931
942
|
}
|
|
932
943
|
|
|
933
|
-
export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService };
|
|
944
|
+
export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyLoadingInterceptor, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor };
|
|
934
945
|
export type { CanComponentDeactivate, Credentials, EnvironmentConfig, LoginContext, MFACodeContext, UserViewMode };
|