@coolon/angular-ui-powerups 0.0.65 → 0.0.67

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.
@@ -1,7 +1,7 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { ValueModel } from '@coolon/pectin';
2
+ import { GarbageCollector, ValueModel } from '@coolon/pectin';
3
3
  export declare const ACTIVITY_DATA: InjectionToken<any>;
4
- export declare abstract class Activity<D, R, E = any> {
4
+ export declare abstract class Activity<D, R, E = any> extends GarbageCollector {
5
5
  private readonly _busyModel;
6
6
  private _activityContext;
7
7
  initialise(activityContext: Activity.Callbacks<R, E>): void;
@@ -11,5 +11,6 @@ export declare class LeavePlaceGuard implements CanDeactivate<PlaceComponent> {
11
11
  readonly interactionContext: InteractionContext;
12
12
  readonly angularLocation: Location;
13
13
  constructor(router: Router, injector: Injector, placeRouter: PlaceRouter, interactionContext: InteractionContext, angularLocation: Location);
14
+ private isLeavingTheCurrentPlace;
14
15
  canDeactivate(component: PlaceComponent, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Promise<boolean>;
15
16
  }
@@ -12,6 +12,7 @@ declare class NavigationSession {
12
12
  }
13
13
  export declare class PlaceRouter {
14
14
  private readonly router;
15
+ readonly angularLocation: Location;
15
16
  private readonly _navigationSession;
16
17
  constructor(router: Router, angularLocation: Location);
17
18
  readonly navigationSession: NavigationSession;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "0.0.65",
3
+ "version": "0.0.67",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "ts-morph": "^3.1.3",