@coolon/angular-ui-powerups 0.0.76 → 0.0.78
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/bundles/coolon-angular-ui-powerups.umd.js +28 -30
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +3 -5
- package/esm2015/lib/place/components/abstract-place-navigation.component.js +15 -11
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +3 -3
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +2 -2
- package/esm2015/lib/place/place-history.js +5 -18
- package/esm2015/lib/place/route/guards/leave-place.guard.js +1 -2
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js +3 -5
- package/esm5/lib/place/components/abstract-place-navigation.component.js +19 -11
- package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js +3 -3
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js +1 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +2 -2
- package/esm5/lib/place/place-history.js +5 -15
- package/esm5/lib/place/route/guards/leave-place.guard.js +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +24 -34
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +28 -30
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/place/components/abstract-place-navigation.component.d.ts +3 -3
- package/lib/place/place-history.d.ts +1 -3
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
2
|
import { Command, Constructable, ListModel, ListModelChain, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
4
3
|
import { DisposableComponent } from '../../components/disposable-component';
|
|
5
4
|
import { NavItem } from '../nav-item';
|
|
@@ -12,9 +11,10 @@ export declare class AbstractPlaceNavigationComponent extends DisposableComponen
|
|
|
12
11
|
placeOutlet: PlaceOutletComponent;
|
|
13
12
|
placeOutletModel: ValueModel<PlaceOutletComponent>;
|
|
14
13
|
readonly placeDefinitions: ListModelChain<PlaceDefinition>;
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
readonly commandFactory: Command.Factory<PlaceDefinition, void>;
|
|
15
|
+
readonly activePlaceDefinition: ValueModelChain<PlaceDefinition>;
|
|
17
16
|
constructor();
|
|
18
17
|
getNav(placeDef: PlaceDefinition): NavItem;
|
|
18
|
+
isActive(place: PlaceDefinition): boolean;
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
1
|
import { PlaceDefinition } from './place-definition';
|
|
3
2
|
import { Visit } from './visit';
|
|
4
3
|
export declare class PlaceHistory {
|
|
5
|
-
private readonly router;
|
|
6
4
|
private _history;
|
|
7
|
-
constructor(
|
|
5
|
+
constructor();
|
|
8
6
|
add(state: Visit): void;
|
|
9
7
|
getHistory(placeDef: PlaceDefinition): Visit[];
|
|
10
8
|
private setHistory;
|