nuxeo-development-framework 0.8.3 → 0.8.7

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 (19) hide show
  1. package/bundles/nuxeo-development-framework.umd.js +30 -23
  2. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  3. package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +2 -2
  4. package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +4 -6
  5. package/esm2015/lib/components/comments/services/comment-api.service.js +5 -5
  6. package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +1 -1
  7. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +2 -2
  8. package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +2 -2
  9. package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +2 -2
  10. package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +2 -2
  11. package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +2 -2
  12. package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +1 -1
  13. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +15 -7
  14. package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +1 -1
  15. package/fesm2015/nuxeo-development-framework.js +26 -21
  16. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  17. package/lib/components/comments/services/comment-api.service.d.ts +2 -2
  18. package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +6 -1
  19. package/package.json +1 -1
@@ -9,8 +9,8 @@ export declare class CommentApiService {
9
9
  constructor(nuxeoService: NuxeoService, commentAdapter: AdapterService, environment: any);
10
10
  getComments(parentId: any, params?: {}): Observable<any>;
11
11
  createComment(comment: any, id: any): Observable<any>;
12
- deleteComment(id: any): Observable<unknown>;
13
- updateDocument(comment: any, id: any): Observable<unknown>;
12
+ deleteComment(prentId: any, commentId: any): Observable<unknown>;
13
+ updateDocument(comment: any, prentId: any, commentId: any): Observable<unknown>;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<CommentApiService, never>;
15
15
  static ɵprov: i0.ɵɵInjectableDeclaration<CommentApiService>;
16
16
  }
@@ -2,6 +2,8 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges,
2
2
  import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
3
3
  import { PdftronService } from './pdftron.service';
4
4
  import { SecurePipe } from '../../../pipes/secure.pipe';
5
+ import { TranslationService } from '../../../Core/services/translation/translation.service';
6
+ import { Subscription } from 'rxjs';
5
7
  import * as i0 from "@angular/core";
6
8
  /**
7
9
  * A reusable file viewer based on PDFTron Library
@@ -22,6 +24,7 @@ export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestro
22
24
  private nuxeo;
23
25
  private baseHref;
24
26
  private securePipe;
27
+ private translationService;
25
28
  private environment;
26
29
  viewerRef: ElementRef;
27
30
  webViewerInstance: any;
@@ -48,7 +51,9 @@ export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestro
48
51
  firstTimeLoad: boolean;
49
52
  firstSignatureLoad: boolean;
50
53
  newSignCreation: boolean;
51
- constructor(cdr: ChangeDetectorRef, pdftronService: PdftronService, nuxeo: NuxeoService, baseHref: string, securePipe: SecurePipe, environment: any);
54
+ transelationSubscrition: Subscription;
55
+ isArabic: any;
56
+ constructor(cdr: ChangeDetectorRef, pdftronService: PdftronService, nuxeo: NuxeoService, baseHref: string, securePipe: SecurePipe, translationService: TranslationService, environment: any);
52
57
  ngOnInit(): Promise<void>;
53
58
  ngAfterViewInit(): Promise<void>;
54
59
  importSignature(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "0.8.3",
3
+ "version": "0.8.7",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~12.2.4",
6
6
  "@angular/common": "~12.2.4",