nuxeo-development-framework 0.3.8 → 0.3.9

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 { DatePipe } from '@angular/common';
2
2
  import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
3
3
  import { TranslateService } from '@ngx-translate/core';
4
+ import { Subscription } from 'rxjs';
4
5
  import { DocumentsService } from '../../services/documents.service';
5
6
  import { DocumentScanService } from './document-scan.service';
6
7
  import * as i0 from "@angular/core";
@@ -26,6 +27,8 @@ export declare class ScanComponent implements OnInit, AfterViewInit {
26
27
  private environment;
27
28
  private baseHref;
28
29
  uploadedFile: any;
30
+ onMinimizingSubscription: Subscription;
31
+ useStoredFile: boolean;
29
32
  hideUploadButton: boolean;
30
33
  /** Event emitted when a batch is uploaded */
31
34
  file: EventEmitter<any>;
@@ -47,6 +50,7 @@ export declare class ScanComponent implements OnInit, AfterViewInit {
47
50
  constructor(translate: TranslateService, documentsService: DocumentsService, datePipe: DatePipe, DocumentScanService: DocumentScanService, environment: any, baseHref: string);
48
51
  ngOnInit(): void;
49
52
  ngAfterViewInit(): void;
53
+ setStoredFileToScanner(result: any): void;
50
54
  pageonload(): void;
51
55
  HideLoadImageForLinux(): void;
52
56
  initiateInputs(): void;
@@ -80,6 +84,7 @@ export declare class ScanComponent implements OnInit, AfterViewInit {
80
84
  btnSave_onclick(): void;
81
85
  makeid(length: any): string;
82
86
  convertToBlob(): void;
87
+ convertToBlobForSaving(): void;
83
88
  btnFirstImage_onclick(): void;
84
89
  btnPreImage_wheel(): void;
85
90
  btnNextImage_wheel(): void;
@@ -103,5 +108,5 @@ export declare class ScanComponent implements OnInit, AfterViewInit {
103
108
  Dynamsoft_OnTopImageInTheViewChanged: (index: any) => void;
104
109
  Dynamsoft_OnGetFilePath: (bSave: any, count: any, index: any, path: any, name: any) => void;
105
110
  static ɵfac: i0.ɵɵFactoryDeclaration<ScanComponent, never>;
106
- static ɵcmp: i0.ɵɵComponentDeclaration<ScanComponent, "app-document-scan", never, { "hideUploadButton": "hideUploadButton"; }, { "file": "file"; }, never, never>;
111
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScanComponent, "app-document-scan", never, { "useStoredFile": "useStoredFile"; "hideUploadButton": "hideUploadButton"; }, { "file": "file"; }, never, never>;
107
112
  }
@@ -5,6 +5,8 @@ export declare class DocumentScanService {
5
5
  private documentsService;
6
6
  fileChange: EventEmitter<any>;
7
7
  uploadStart: EventEmitter<any>;
8
+ onMinimizing: EventEmitter<any>;
9
+ storedFile: any;
8
10
  constructor(documentsService: DocumentsService);
9
11
  uploadBatch(fileToUpload: any): import("rxjs").Observable<any>;
10
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentScanService, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~12.2.4",
6
6
  "@angular/common": "~12.2.4",