@paperless/angular 3.6.0 → 3.6.2

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.6.0",
3
+ "version": "3.6.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Employes/Paperless.git"
@@ -1,8 +1,6 @@
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, ComponentRef, Injector, EffectRef, TemplateRef, StaticProvider, NgZone, ChangeDetectorRef, OnChanges, SimpleChanges, AfterViewInit, QueryList, PipeTransform } from '@angular/core';
4
- import * as rxjs from 'rxjs';
5
- import { BehaviorSubject, Subject, Observable, Subscribable } from 'rxjs';
3
+ import { ElementRef, Renderer2, OnInit, OnDestroy, ComponentRef, Injector, EffectRef, TemplateRef, StaticProvider, EventEmitter, NgZone, ChangeDetectorRef, OnChanges, SimpleChanges, AfterViewInit, QueryList, PipeTransform } from '@angular/core';
6
4
  import * as i1 from '@angular/cdk/overlay';
7
5
  import { OverlayRef as OverlayRef$1 } from '@angular/cdk/overlay';
8
6
  import * as i2 from '@angular/cdk/platform';
@@ -15,6 +13,8 @@ import { CurrencyPipe, DatePipe } from '@angular/common';
15
13
  import * as i2$1 from '@angular/router';
16
14
  import { Params } from '@angular/router';
17
15
  import * as class_variance_authority_types from 'class-variance-authority/types';
16
+ import * as rxjs from 'rxjs';
17
+ import { Subject, Observable, Subscribable, BehaviorSubject } from 'rxjs';
18
18
  import { QuickFilter, cn, Components, TableRowActionShowFunc, RowClickEvent, IconVariant, IllustrationVariant, IconFlipOptions, RotateOptions } from '@paperless/core';
19
19
  import * as _paperless_angular from '@paperless/angular';
20
20
  import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
@@ -34,17 +34,18 @@ declare abstract class BaseFormComponent {
34
34
  }
35
35
 
36
36
  declare abstract class BaseUploadComponent {
37
- fileId?: string;
38
- uploaded: boolean;
39
- set loading(value: boolean);
40
- fileChange: EventEmitter<any>;
37
+ readonly fileId: i0.InputSignal<string | undefined>;
38
+ readonly uploaded: i0.InputSignal<boolean>;
39
+ readonly loading: i0.InputSignal<boolean>;
40
+ readonly fileChange: i0.OutputEmitterRef<any>;
41
41
  uploaderInput?: ElementRef;
42
42
  file?: File;
43
- loading$: BehaviorSubject<boolean>;
43
+ loadingParsed: i0.WritableSignal<boolean>;
44
+ constructor();
44
45
  onChange($event: Event): void;
45
46
  onLoad(file: File, result: string | ArrayBuffer | null): void;
46
47
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseUploadComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseUploadComponent, "ng-component", never, { "fileId": { "alias": "fileId"; "required": false; }; "uploaded": { "alias": "uploaded"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "fileChange": "fileChange"; }, never, never, false, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseUploadComponent, "ng-component", never, { "fileId": { "alias": "fileId"; "required": false; "isSignal": true; }; "uploaded": { "alias": "uploaded"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "fileChange": "fileChange"; }, never, never, true, never>;
48
49
  }
49
50
 
50
51
  declare class BaseValueAccessor implements ControlValueAccessor {