nuxeo-development-framework 4.5.4 → 4.5.5

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,10 +1,9 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
2
  import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
3
3
  import { PdftronService } from './pdftron.service';
4
- import { SecurePipe } from '../../../pipes/secure.pipe';
5
4
  import { TranslationService } from '../../../core/services/translation/translation.service';
6
5
  import { Subscription } from 'rxjs';
7
- import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
6
+ import { SilentPdfTronService } from './silent-pdftron.service';
8
7
  import * as i0 from "@angular/core";
9
8
  /**
10
9
  * A reusable file viewer based on PDFTron Library
@@ -19,14 +18,14 @@ import * as i0 from "@angular/core";
19
18
  * >
20
19
  * </app-pdftron>
21
20
  */
22
- export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
21
+ export declare class PdftronComponent implements OnInit, OnDestroy, OnChanges {
22
+ #private;
23
23
  cdr: ChangeDetectorRef;
24
24
  private pdftronService;
25
25
  private nuxeo;
26
26
  private baseHref;
27
- private securePipe;
28
27
  private translationService;
29
- private toaster;
28
+ private silentPdfTronService;
30
29
  private environment;
31
30
  viewerRef: ElementRef;
32
31
  webViewerInstance: any;
@@ -64,9 +63,10 @@ export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestro
64
63
  newSignCreation: boolean;
65
64
  transelationSubscrition: Subscription;
66
65
  isArabic: any;
67
- constructor(cdr: ChangeDetectorRef, pdftronService: PdftronService, nuxeo: NuxeoService, baseHref: string, securePipe: SecurePipe, translationService: TranslationService, toaster: CustomToastrService, environment: any);
66
+ silentPdfTron: HTMLElement;
67
+ resizeObserver: ResizeObserver;
68
+ constructor(cdr: ChangeDetectorRef, pdftronService: PdftronService, nuxeo: NuxeoService, baseHref: string, translationService: TranslationService, silentPdfTronService: SilentPdfTronService, environment: any);
68
69
  ngOnInit(): Promise<void>;
69
- ngAfterViewInit(): Promise<void>;
70
70
  importAnotationsFromOutside(): void;
71
71
  exportAnotationsToOutside(): void;
72
72
  importSignature(): void;
@@ -0,0 +1,16 @@
1
+ import { TranslationService } from '../../../core/services/translation/translation.service';
2
+ import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SilentPdfTronService {
5
+ #private;
6
+ private baseHref;
7
+ private translationService;
8
+ private environment;
9
+ private nuxeo;
10
+ constructor(baseHref: string, translationService: TranslationService, environment: any, nuxeo: NuxeoService);
11
+ get isEnabled(): boolean;
12
+ start(): void;
13
+ getWebViewer(): Promise<[HTMLElement, any]>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<SilentPdfTronService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<SilentPdfTronService>;
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "4.5.4",
3
+ "version": "4.5.5",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "12.2.3",
6
6
  "@angular/common": "12.2.3",
package/public-api.d.ts CHANGED
@@ -123,6 +123,7 @@ export * from './lib/components/pagination/pagination/pagination.component';
123
123
  export * from './lib/components/pdf-tron/pdf-tron.module';
124
124
  export * from './lib/components/pdf-tron/pdftron/pdftron.component';
125
125
  export * from './lib/components/pdf-tron/pdftron/pdftron.service';
126
+ export * from './lib/components/pdf-tron/pdftron/silent-pdftron.service';
126
127
  export * from './lib/components/select/select.module';
127
128
  export * from './lib/components/select/select/select.component';
128
129
  export * from './lib/components/table/dynamic-column/dynamic-column.component';