@paperless/angular 0.1.0-alpha.284 → 0.1.0-alpha.285

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,6 +1,7 @@
1
1
  import { OverlayRef as CDKOverlayRef } from '@angular/cdk/overlay';
2
- export declare class OverlayRef {
2
+ export declare class OverlayRef<T> {
3
3
  private _overlay;
4
+ instance: T;
4
5
  constructor(_overlay: CDKOverlayRef);
5
6
  close(): void;
6
7
  }
@@ -4,18 +4,20 @@ import { Injector, StaticProvider } from '@angular/core';
4
4
  import { OverlayRef } from '../overlay.ref';
5
5
  import * as i0 from "@angular/core";
6
6
  interface ModalOptions {
7
+ data?: any;
7
8
  providers?: StaticProvider[];
8
9
  }
9
10
  export declare class OverlayService {
10
11
  private injector;
11
12
  private overlay;
12
- overlayRef: OverlayRef;
13
+ overlayRef: OverlayRef<any>;
13
14
  constructor(injector: Injector, overlay: Overlay);
14
- open<T>(component: ComponentType<T> | CdkPortal, options?: ModalOptions): OverlayRef;
15
- private attachModalContainer;
16
- private createInjector;
17
- private getOverlayConfig;
18
- private createOverlay;
15
+ open<T>(component: ComponentType<T> | CdkPortal, options?: ModalOptions): OverlayRef<T>;
16
+ private _attachModalContainer;
17
+ private _createInjector;
18
+ private _getOverlayConfig;
19
+ private _createOverlay;
20
+ private _attachData;
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<OverlayService, never>;
20
22
  static ɵprov: i0.ɵɵInjectableDeclaration<OverlayService>;
21
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/angular",
3
- "version": "0.1.0-alpha.284",
3
+ "version": "0.1.0-alpha.285",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^13.3.0 || ^14.0.0 || ^15.0.0",
6
6
  "@angular/common": "^13.3.0 || ^14.0.0 || ^15.0.0",