@coolon/angular-ui-powerups 14.29.1 → 14.29.3

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,7 +1,7 @@
1
1
  import { CdkScrollable, ConnectedPosition, Overlay } from '@angular/cdk/overlay';
2
2
  import { ComponentPortal } from '@angular/cdk/portal';
3
3
  import { ElementRef, OnInit } from '@angular/core';
4
- import { Constructable } from '@coolon/pectin';
4
+ import { Constructable, ValueModel } from '@coolon/pectin';
5
5
  import { DisposableComponent } from '../../../components/disposable-component';
6
6
  import { Activity } from '../../activity';
7
7
  import { InPlaceInteractionContextComponent } from '../inplace-interaction-context/in-place-interaction-context.component';
@@ -25,6 +25,8 @@ export declare class PopupInteractionContextComponent extends DisposableComponen
25
25
  readonly outputPortal: ComponentPortal<InPlaceInteractionContextComponent<any, any, any>>;
26
26
  anchorX: 'start' | 'end';
27
27
  anchorY: 'top' | 'bottom';
28
+ cancelOnEscape$: ValueModel<boolean>;
29
+ cancelOnEscape: boolean;
28
30
  constructor(_element: ElementRef, _overlay: Overlay, scrollable: CdkScrollable);
29
31
  startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R>;
30
32
  computePositions(): ConnectedPosition[];
@@ -32,5 +34,5 @@ export declare class PopupInteractionContextComponent extends DisposableComponen
32
34
  isActive(): boolean;
33
35
  ngOnInit(): void;
34
36
  static ɵfac: i0.ɵɵFactoryDeclaration<PopupInteractionContextComponent, [null, null, { optional: true; skipSelf: true; }]>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<PopupInteractionContextComponent, "aup-popup-interaction-context", never, { "anchorX": "anchorX"; "anchorY": "anchorY"; }, {}, never, ["*"], false>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopupInteractionContextComponent, "aup-popup-interaction-context", never, { "anchorX": "anchorX"; "anchorY": "anchorY"; "cancelOnEscape$": "cancelOnEscape$"; "cancelOnEscape": "cancelOnEscape"; }, {}, never, ["*"], false>;
36
38
  }
@@ -14,7 +14,7 @@ export declare class Visit {
14
14
  withAncestorParameters(placeComponent: Constructable<PlaceComponent>, parameters: Record<string, any>): this;
15
15
  get segments(): VisitSegment[];
16
16
  private resolveSegments;
17
- copyWithDefaultsFrom(other: Visit): Visit;
17
+ copyWithDefaultsFrom(other: Visit | undefined): Visit;
18
18
  copyAndReplaceSegment(replace: VisitSegment): Visit;
19
19
  isPlaceActive(placeDefinition: PlaceDefinition): boolean;
20
20
  getSegmentFor(placeDefinition: PlaceDefinition): VisitSegment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "14.29.1",
3
+ "version": "14.29.3",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "^14.1.2",