@coolon/angular-ui-powerups 13.3.0 → 13.5.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/esm2020/lib/components/commands/command/command.component.mjs +4 -10
- package/esm2020/lib/interaction/activity.mjs +10 -2
- package/esm2020/lib/interaction/components/activity-actions/activity-actions.component.mjs +3 -3
- package/fesm2015/coolon-angular-ui-powerups.mjs +13 -11
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +13 -11
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/commands/command/command.component.d.ts +1 -1
- package/lib/interaction/activity.d.ts +5 -0
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ export declare class CommandComponent extends PopupAwareComponent implements OnI
|
|
|
29
29
|
ngOnInit(): void;
|
|
30
30
|
ngAfterViewInit(): void;
|
|
31
31
|
getFace(): CommandFace | undefined;
|
|
32
|
-
|
|
32
|
+
requestFocus(): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommandComponent, [null, { optional: true; }]>;
|
|
34
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<CommandComponent, "aup-command", never, { "command": "command"; "faceModel": "faceModel"; "face": "face"; "busyFaceModel": "busyFaceModel"; "busyFace": "busyFace"; "alignFace": "alignFace"; }, {}, never, never>;
|
|
35
35
|
}
|
|
@@ -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,6 +27,10 @@ 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
|
+
autoFocusOnActivityReady(focusable: {
|
|
31
|
+
requestFocus(): void;
|
|
32
|
+
}): Disposable;
|
|
33
|
+
get ready$(): ValueModel<boolean>;
|
|
29
34
|
get busy$(): ValueModel<boolean>;
|
|
30
35
|
get focused$(): ValueModel<boolean>;
|
|
31
36
|
busyWhile(busyModel: ValueModel<boolean>): void;
|