@paperless/angular 3.5.1 → 3.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/angular",
3
- "version": "3.5.1",
3
+ "version": "3.6.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Employes/Paperless.git"
@@ -1,10 +1,10 @@
1
1
  import { FormControl, FormGroup, FormArray, AbstractControl, ControlValueAccessor, NumberValueAccessor, NgControl } from '@angular/forms';
2
2
  import * as i0 from '@angular/core';
3
- import { EventEmitter, ElementRef, Renderer2, OnInit, OnDestroy, Injector, StaticProvider, TemplateRef, NgZone, ChangeDetectorRef, OnChanges, SimpleChanges, AfterViewInit, QueryList, PipeTransform } from '@angular/core';
3
+ import { EventEmitter, ElementRef, Renderer2, OnInit, OnDestroy, ComponentRef, Injector, EffectRef, TemplateRef, StaticProvider, NgZone, ChangeDetectorRef, OnChanges, SimpleChanges, AfterViewInit, QueryList, PipeTransform } from '@angular/core';
4
4
  import * as rxjs from 'rxjs';
5
5
  import { BehaviorSubject, Subject, Observable, Subscribable } from 'rxjs';
6
6
  import * as i1 from '@angular/cdk/overlay';
7
- import { OverlayRef as OverlayRef$1, Overlay } from '@angular/cdk/overlay';
7
+ import { OverlayRef as OverlayRef$1 } from '@angular/cdk/overlay';
8
8
  import * as i2 from '@angular/cdk/platform';
9
9
  import * as i3 from '@angular/cdk/observers';
10
10
  import * as i4 from '@angular/cdk/portal';
@@ -154,8 +154,13 @@ declare class OverlayModule {
154
154
  declare class OverlayRef<T> {
155
155
  private _overlay;
156
156
  instance: T;
157
+ componentRef: ComponentRef<T>;
158
+ injector: Injector;
159
+ effectRef: EffectRef;
160
+ data: i0.WritableSignal<any>;
157
161
  closed$: Subject<unknown>;
158
162
  constructor(_overlay: OverlayRef$1);
163
+ createEffect(): void;
159
164
  close(): void;
160
165
  }
161
166
 
@@ -164,11 +169,10 @@ interface ModalOptions {
164
169
  providers?: StaticProvider[];
165
170
  }
166
171
  declare class OverlayService {
167
- private injector;
168
- private overlay;
172
+ private readonly overlay;
173
+ private readonly injector;
169
174
  overlayRef: OverlayRef<any>;
170
- constructor(injector: Injector, overlay: Overlay);
171
- open<T>(component: ComponentType<T> | CdkPortal, options?: ModalOptions): OverlayRef<T>;
175
+ open<T>(component: ComponentType<T> | TemplateRef<T> | CdkPortal, options?: ModalOptions): OverlayRef<T>;
172
176
  private _attachModalContainer;
173
177
  private _createInjector;
174
178
  private _getOverlayConfig;