@coolon/angular-ui-powerups 16.1.0-aplpha.130 → 16.1.0-aplpha.131

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,5 +1,5 @@
1
1
  import { AfterViewInit, InjectionToken } from "@angular/core";
2
- import { Command, Disposable, ValueModel } from "@coolon/pectin";
2
+ import { Command, Constructable, Disposable, ValueModel } from "@coolon/pectin";
3
3
  import { LoadableComponent } from "../components/loadable-component";
4
4
  import { ActivityActionsComponent } from "./components/activity-actions/activity-actions.component";
5
5
  import { InteractionContext } from "./interaction-context";
@@ -8,6 +8,10 @@ import * as i0 from "@angular/core";
8
8
  export declare const ACTIVITY_DATA: InjectionToken<any>;
9
9
  type OnActivityReadyParams<D, R, E = any> = (activity: Activity<D, R, E>) => void;
10
10
  export declare class Activity<D, R, E = any> extends LoadableComponent implements AfterViewInit, InteractionContextProvider {
11
+ static asInteractionContextProvider<A extends Activity<any, any>>(this: Constructable<A>): {
12
+ provide: InjectionToken<InteractionContextProvider>;
13
+ useExisting: Constructable<A>;
14
+ };
11
15
  readonly activityData: D;
12
16
  private readonly activityReadyListeners;
13
17
  private readonly _busy$;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-aplpha.130",
3
+ "version": "16.1.0-aplpha.131",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",