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.
- package/bundles/nuxeo-development-framework.umd.js +330 -188
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +217 -175
- package/esm2015/lib/components/pdf-tron/pdftron/silent-pdftron.service.js +94 -0
- package/esm2015/public-api.js +2 -1
- package/fesm2015/nuxeo-development-framework.js +301 -171
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +8 -8
- package/lib/components/pdf-tron/pdftron/silent-pdftron.service.d.ts +16 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
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,
|
|
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
|
|
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
|
-
|
|
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
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';
|