@abp/ng.theme.shared 8.1.3 → 8.2.0-rc.2

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.
@@ -0,0 +1,12 @@
1
+ import { AuthService, ConfigStateService } from '@abp/ng.core';
2
+ import { CustomHttpErrorHandlerService } from '../models/common';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AbpAuthenticationErrorHandler implements CustomHttpErrorHandlerService {
5
+ readonly priority: 99;
6
+ protected readonly authService: AuthService;
7
+ protected readonly configStateService: ConfigStateService;
8
+ canHandle(error: unknown): boolean;
9
+ execute(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbpAuthenticationErrorHandler, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<AbpAuthenticationErrorHandler>;
12
+ }
@@ -9,3 +9,4 @@ export * from './tenant-resolve-error-handler.service';
9
9
  export * from './status-code-error-handler.service';
10
10
  export * from './unknown-status-code-error-handler.service';
11
11
  export * from './router-error-handler.service';
12
+ export * from './authentication-error-handler.service';
@@ -9,7 +9,7 @@ export declare class StatusCodeErrorHandlerService implements CustomHttpErrorHan
9
9
  protected readonly createErrorComponentService: CreateErrorComponentService;
10
10
  protected readonly authService: AuthService;
11
11
  protected readonly handledStatusCodes: readonly [401, 403, 404, 500];
12
- protected status: typeof this.handledStatusCodes[number];
12
+ protected status: (typeof this.handledStatusCodes)[number];
13
13
  readonly priority: 0;
14
14
  protected navigateToLogin(): void;
15
15
  protected showConfirmation(message: LocalizationParam, title: LocalizationParam): Observable<Confirmation.Status>;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@abp/ng.theme.shared",
3
- "version": "8.1.3",
3
+ "version": "8.2.0-rc.2",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/ng.core": "~8.1.3",
10
+ "@abp/ng.core": "~8.2.0-rc.2",
11
11
  "@fortawesome/fontawesome-free": "^5.15.4",
12
12
  "@ng-bootstrap/ng-bootstrap": "~16.0.0",
13
13
  "@ngx-validate/core": "^0.2.0",