nuxeo-development-framework 3.4.3 → 3.4.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.
Files changed (20) hide show
  1. package/bundles/nuxeo-development-framework.umd.js +135 -33
  2. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  3. package/esm2015/lib/Core/services/initialization/initialization.service.js +2 -2
  4. package/esm2015/lib/Core/services/nuxeo/new-nuxeo-overide.js +42 -4
  5. package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +4 -3
  6. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +2 -2
  7. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +5 -4
  8. package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +1 -1
  9. package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +2 -2
  10. package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +4 -3
  11. package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +2 -2
  12. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +38 -18
  13. package/esm2015/lib/shared/components/item-list/item-list.component.js +2 -2
  14. package/esm2015/lib/shared/components/no-data/no-data.component.js +7 -3
  15. package/fesm2015/nuxeo-development-framework.js +136 -34
  16. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  17. package/lib/Core/services/nuxeo/new-nuxeo-overide.d.ts +1 -0
  18. package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +6 -2
  19. package/lib/shared/components/no-data/no-data.component.d.ts +2 -1
  20. package/package.json +1 -1
@@ -9,5 +9,6 @@ export declare class NewNuxeoOverride extends Nuxeo {
9
9
  login(): void;
10
10
  logout(): void;
11
11
  encriptFormating(cachable: any): string;
12
+ getAccessToken(baseURL: any, clientId: any, refreshToken: any, clientSecret: any): Promise<unknown>;
12
13
  }
13
14
  export {};
@@ -4,6 +4,7 @@ import { PdftronService } from './pdftron.service';
4
4
  import { SecurePipe } from '../../../pipes/secure.pipe';
5
5
  import { TranslationService } from '../../../Core/services/translation/translation.service';
6
6
  import { Subscription } from 'rxjs';
7
+ import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
7
8
  import * as i0 from "@angular/core";
8
9
  /**
9
10
  * A reusable file viewer based on PDFTron Library
@@ -25,6 +26,7 @@ export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestro
25
26
  private baseHref;
26
27
  private securePipe;
27
28
  private translationService;
29
+ private toaster;
28
30
  private environment;
29
31
  viewerRef: ElementRef;
30
32
  webViewerInstance: any;
@@ -51,6 +53,8 @@ export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestro
51
53
  onSignatureTracking: EventEmitter<any>;
52
54
  useOutsideAnotations: boolean;
53
55
  importedAnotations: any;
56
+ allowDownloadSecretFile: boolean;
57
+ allowPrintSecretFile: boolean;
54
58
  onAddingAnotation: EventEmitter<any>;
55
59
  events: EventEmitter<any>;
56
60
  SignatureEvent: EventEmitter<any>;
@@ -59,7 +63,7 @@ export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestro
59
63
  newSignCreation: boolean;
60
64
  transelationSubscrition: Subscription;
61
65
  isArabic: any;
62
- constructor(cdr: ChangeDetectorRef, pdftronService: PdftronService, nuxeo: NuxeoService, baseHref: string, securePipe: SecurePipe, translationService: TranslationService, environment: any);
66
+ constructor(cdr: ChangeDetectorRef, pdftronService: PdftronService, nuxeo: NuxeoService, baseHref: string, securePipe: SecurePipe, translationService: TranslationService, toaster: CustomToastrService, environment: any);
63
67
  ngOnInit(): Promise<void>;
64
68
  ngAfterViewInit(): Promise<void>;
65
69
  importAnotationsFromOutside(): void;
@@ -98,5 +102,5 @@ export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestro
98
102
  searchFn: (searchValue: any, options: any) => void;
99
103
  ngOnDestroy(): void;
100
104
  static ɵfac: i0.ɵɵFactoryDeclaration<PdftronComponent, never>;
101
- static ɵcmp: i0.ɵɵComponentDeclaration<PdftronComponent, "app-pdftron", never, { "editMode": "editMode"; "actionClicked": "actionClicked"; "fileTitle": "fileTitle"; "docId": "docId"; "DOCUMENT_TYPE": "DOCUMENT_TYPE"; "fileData": "fileData"; "fitMode": "fitMode"; "authHeader": "authHeader"; "fileURL": "fileURL"; "correspondance": "correspondance"; "secrecyProperty": "secrecyProperty"; "editingType": "editingType"; "userSignatures": "userSignatures"; "searchString": "searchString"; "trackSignature": "trackSignature"; "useOutsideAnotations": "useOutsideAnotations"; "importedAnotations": "importedAnotations"; }, { "onSignatureTracking": "onSignatureTracking"; "onAddingAnotation": "onAddingAnotation"; "events": "events"; "SignatureEvent": "SignatureEvent"; }, never, never>;
105
+ static ɵcmp: i0.ɵɵComponentDeclaration<PdftronComponent, "app-pdftron", never, { "editMode": "editMode"; "actionClicked": "actionClicked"; "fileTitle": "fileTitle"; "docId": "docId"; "DOCUMENT_TYPE": "DOCUMENT_TYPE"; "fileData": "fileData"; "fitMode": "fitMode"; "authHeader": "authHeader"; "fileURL": "fileURL"; "correspondance": "correspondance"; "secrecyProperty": "secrecyProperty"; "editingType": "editingType"; "userSignatures": "userSignatures"; "searchString": "searchString"; "trackSignature": "trackSignature"; "useOutsideAnotations": "useOutsideAnotations"; "importedAnotations": "importedAnotations"; "allowDownloadSecretFile": "allowDownloadSecretFile"; "allowPrintSecretFile": "allowPrintSecretFile"; }, { "onSignatureTracking": "onSignatureTracking"; "onAddingAnotation": "onAddingAnotation"; "events": "events"; "SignatureEvent": "SignatureEvent"; }, never, never>;
102
106
  }
@@ -14,8 +14,9 @@ export declare class NoDataComponent implements OnInit {
14
14
  /** tralsnation path to the message to be shown */
15
15
  message?: string;
16
16
  border: boolean;
17
+ img: string;
17
18
  constructor();
18
19
  ngOnInit(): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<NoDataComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<NoDataComponent, "cts-no-data", never, { "message": "message"; "border": "border"; }, {}, never, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<NoDataComponent, "cts-no-data", never, { "message": "message"; "border": "border"; "img": "img"; }, {}, never, never>;
21
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "3.4.3",
3
+ "version": "3.4.5",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "12.2.3",
6
6
  "@angular/common": "12.2.3",