@veloceapps/sdk 8.0.0-52 → 8.0.0-53

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloceapps/sdk",
3
- "version": "8.0.0-52",
3
+ "version": "8.0.0-53",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "~15.2.0",
@@ -1,5 +1,5 @@
1
1
  import { Component } from '@angular/core';
2
- import { ActivatedRouteSnapshot, CanDeactivate, Router, RouterStateSnapshot } from '@angular/router';
2
+ import { ActivatedRouteSnapshot, CanDeactivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
3
3
  import { ConfigurationService, ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
4
4
  import { Observable } from 'rxjs';
5
5
  import { FlowDialogService } from '../services/flow-dialog.service';
@@ -11,7 +11,7 @@ export declare class ProductUnloadGuard implements CanDeactivate<any> {
11
11
  private configurationService;
12
12
  private flowDialogService;
13
13
  constructor(router: Router, contextService: ContextService, quoteDraftService: QuoteDraftService, configurationService: ConfigurationService, flowDialogService: FlowDialogService);
14
- canDeactivate(_: Component, route: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Observable<boolean>;
14
+ canDeactivate(_: Component, route: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Observable<boolean | UrlTree>;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductUnloadGuard, never>;
16
16
  static ɵprov: i0.ɵɵInjectableDeclaration<ProductUnloadGuard>;
17
17
  }