@coolon/angular-ui-powerups 13.4.0 → 13.5.1

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.
@@ -11,6 +11,7 @@ export declare class Activity<D, R, E = any> extends DisposableComponent impleme
11
11
  private readonly _busy$;
12
12
  private _focused$;
13
13
  private _activityContext;
14
+ private readonly _ready$;
14
15
  protected activityActions: ActivityActionsComponent;
15
16
  confirmCommand: Command<unknown>;
16
17
  cancelCommand: Command<unknown>;
@@ -26,9 +27,17 @@ export declare class Activity<D, R, E = any> extends DisposableComponent impleme
26
27
  cancel(error?: E): void;
27
28
  notifyActivityReady(): void;
28
29
  onActivityReady(callback: OnActivityReadyParams<D, R, E>): Disposable;
30
+ autoFocus(focusable: {
31
+ requestFocus(): void;
32
+ }): Disposable;
33
+ /**
34
+ * @deprecated use #autoFocus instead
35
+ * @param focusable
36
+ */
29
37
  autoFocusOnActivityReady(focusable: {
30
38
  requestFocus(): void;
31
39
  }): Disposable;
40
+ get ready$(): ValueModel<boolean>;
32
41
  get busy$(): ValueModel<boolean>;
33
42
  get focused$(): ValueModel<boolean>;
34
43
  busyWhile(busyModel: ValueModel<boolean>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "13.4.0",
3
+ "version": "13.5.1",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^13.2.3",