@coolon/angular-ui-powerups 14.41.0 → 14.42.0
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/assets/table.scss +3 -0
- package/esm2020/lib/place/components/abstract-place-navigation.component.mjs +10 -18
- package/esm2020/lib/place/place-component.mjs +22 -5
- package/fesm2015/coolon-angular-ui-powerups.mjs +27 -19
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +26 -18
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/place/components/abstract-place-navigation.component.d.ts +3 -3
- package/lib/place/place-component.d.ts +9 -2
- package/package.json +1 -1
|
@@ -14,9 +14,9 @@ interface MenuItem {
|
|
|
14
14
|
export declare class AbstractPlaceNavigationComponent extends DisposableComponent implements OnInit {
|
|
15
15
|
readonly placeRouter: PlaceRouter;
|
|
16
16
|
places: Constructable<PlaceComponent>[];
|
|
17
|
-
|
|
17
|
+
places$: ListModel<Constructable<PlaceComponent>>;
|
|
18
18
|
placeOutlet: PlaceOutletComponent;
|
|
19
|
-
|
|
19
|
+
placeOutlet$: ValueModel<PlaceOutletComponent>;
|
|
20
20
|
private readonly placeDefinitions;
|
|
21
21
|
readonly menuItems: ListModelChain<MenuItem>;
|
|
22
22
|
readonly commandFactory: Command.Factory<PlaceDefinition, void>;
|
|
@@ -30,6 +30,6 @@ export declare class AbstractPlaceNavigationComponent extends DisposableComponen
|
|
|
30
30
|
private createCommandFaceFor;
|
|
31
31
|
ngOnInit(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPlaceNavigationComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractPlaceNavigationComponent, "ng-component", never, { "places": "places"; "
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractPlaceNavigationComponent, "ng-component", never, { "places": "places"; "places$": "places$"; "placeOutlet": "placeOutlet"; "placeOutlet$": "placeOutlet$"; }, {}, never, never, false>;
|
|
34
34
|
}
|
|
35
35
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot } from '@angular/router';
|
|
2
|
-
import { Constructable, ValueModel } from '@coolon/pectin';
|
|
2
|
+
import { Constructable, ListModel, ValueModel } from '@coolon/pectin';
|
|
3
3
|
import 'reflect-metadata';
|
|
4
4
|
import { DisposableComponent } from '../components/disposable-component';
|
|
5
5
|
import { InteractionContext } from '../interaction/interaction-context';
|
|
6
6
|
import { PlaceDefinition } from './place-definition';
|
|
7
|
+
import { PlaceRouter } from "./place-router";
|
|
7
8
|
import { ParameterDefinition } from './route/parameter-definition';
|
|
8
9
|
import { UrlSnapshot } from './url-snapshot';
|
|
9
10
|
import { VisitSegment } from './visit-segment';
|
|
@@ -16,11 +17,17 @@ export declare class PlaceComponent extends DisposableComponent {
|
|
|
16
17
|
private _inVisitUpdate;
|
|
17
18
|
private _active;
|
|
18
19
|
interactionContext?: InteractionContext;
|
|
19
|
-
childPlaces
|
|
20
|
+
childPlaces$: ListModel<Constructable<PlaceComponent>>;
|
|
21
|
+
readonly authorisedChildPlaces$: ListModel<Constructable<PlaceComponent>>;
|
|
20
22
|
private readonly _parameterChangeInterceptors;
|
|
21
23
|
canDeactivate?(interactionContext: InteractionContext): boolean | Promise<boolean>;
|
|
24
|
+
protected readonly placeRouter: PlaceRouter;
|
|
22
25
|
constructor();
|
|
23
26
|
initialiseVisit(visit: VisitSegment, notifyVisitChanged: (current: VisitSegment, previous: VisitSegment) => void): void;
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated use authorisedChildPlaces$ instead
|
|
29
|
+
*/
|
|
30
|
+
get childPlaces(): Constructable<PlaceComponent>[];
|
|
24
31
|
updateVisit(visit: VisitSegment): void;
|
|
25
32
|
isInitialised(): boolean;
|
|
26
33
|
/**
|