@coolon/angular-ui-powerups 16.1.0-aplpha.149 → 16.1.0-aplpha.150
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/activities/activities.scss +5 -3
- package/esm2022/lib/interaction/abstract-interaction-context.mjs +6 -7
- package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +8 -2
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +2 -2
- package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +1 -1
- package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +1 -1
- package/esm2022/lib/interaction/interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +20 -6
- package/fesm2022/coolon-angular-ui-powerups.mjs +33 -13
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/interaction/abstract-interaction-context.d.ts +1 -1
- package/lib/interaction/components/activity-body/activity-body.component.d.ts +2 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +2 -1
- package/lib/interaction/interaction-context.d.ts +2 -1
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +3 -1
- package/package.json +2 -2
|
@@ -9,7 +9,7 @@ export declare abstract class AbstractInteractionContext implements InteractionC
|
|
|
9
9
|
abstract dispose(): void;
|
|
10
10
|
abstract registerDisposable<T extends Disposable>(disposable: T): T;
|
|
11
11
|
abstract isActive(): boolean;
|
|
12
|
-
protected abstract createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D,
|
|
12
|
+
protected abstract createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D, options?: InteractionContext.Options): Promise<R>;
|
|
13
13
|
startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D, options?: InteractionContext.Options): Promise<R>;
|
|
14
14
|
confirm(confirm: Confirm): Promise<boolean>;
|
|
15
15
|
alert(alert: Alert): Promise<void>;
|
|
@@ -2,6 +2,7 @@ import { DisposableComponent } from '../../../components/disposable-component';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ActivityBodyComponent extends DisposableComponent {
|
|
4
4
|
fullWidth: boolean;
|
|
5
|
+
fullHeight: boolean;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityBodyComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityBodyComponent, "aup-activity-body", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityBodyComponent, "aup-activity-body", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; "fullHeight": { "alias": "fullHeight"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
8
|
}
|
|
@@ -5,6 +5,7 @@ import { PlaceRouter } from "../../../place/place-router";
|
|
|
5
5
|
import { AbstractInteractionContext } from "../../abstract-interaction-context";
|
|
6
6
|
import { Activity } from "../../activity";
|
|
7
7
|
import { ActivityRef } from "../../activity-ref";
|
|
8
|
+
import { InteractionContext } from "../../interaction-context";
|
|
8
9
|
import { InteractionService } from "../../services/interaction.service";
|
|
9
10
|
import { ActivityOutletComponent } from "./activity-outlet/activity-outlet.component";
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
@@ -49,7 +50,7 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
|
|
|
49
50
|
* there is still another activity running.
|
|
50
51
|
*/
|
|
51
52
|
cancelActiveActivity(): Promise<boolean>;
|
|
52
|
-
protected createAndLaunchActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data: D1,
|
|
53
|
+
protected createAndLaunchActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data: D1, options?: InteractionContext.Options): Promise<R1>;
|
|
53
54
|
private getActiveActivityCount;
|
|
54
55
|
/**
|
|
55
56
|
* Checks if this interaction context has finished an is in the process of waiting
|
|
@@ -2,6 +2,7 @@ import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
|
2
2
|
import { Constructable, Disposable } from '@coolon/pectin';
|
|
3
3
|
import { AbstractInteractionContext } from '../../abstract-interaction-context';
|
|
4
4
|
import { Activity } from '../../activity';
|
|
5
|
+
import { InteractionContext } from '../../interaction-context';
|
|
5
6
|
import { InteractionService } from '../interaction.service';
|
|
6
7
|
export declare class DialogInteractionContext extends AbstractInteractionContext {
|
|
7
8
|
readonly identifier: string;
|
|
@@ -16,5 +17,6 @@ export declare class DialogInteractionContext extends AbstractInteractionContext
|
|
|
16
17
|
dispose(): void;
|
|
17
18
|
registerDisposable<T extends Disposable>(disposable: T): T;
|
|
18
19
|
isActive(): boolean;
|
|
19
|
-
protected createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D,
|
|
20
|
+
protected createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D, options?: InteractionContext.Options): Promise<R>;
|
|
21
|
+
private canClose;
|
|
20
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "16.1.0-aplpha.
|
|
3
|
+
"version": "16.1.0-aplpha.150",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^16.2.9",
|
|
6
6
|
"@angular/common": "^16.2.9",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@angular/platform-browser-dynamic": "^16.2.9",
|
|
13
13
|
"@angular/material-moment-adapter": "^16.2.10",
|
|
14
14
|
"@angular/router": "^16.2.9",
|
|
15
|
-
"@coolon/pectin": "^5.0.0-alpha.
|
|
15
|
+
"@coolon/pectin": "^5.0.0-alpha.82",
|
|
16
16
|
"fast-typescript-memoize": "^1.1.1",
|
|
17
17
|
"lodash-es": "^4.17.21",
|
|
18
18
|
"marked": "4.0.10",
|