nuxeo-development-framework 3.6.7 → 3.6.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,8 @@
1
- import { OnChanges, OnInit, SimpleChanges, EventEmitter } from '@angular/core';
1
+ import { OnChanges, OnInit, SimpleChanges, EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { DocumentsService } from '../../../documents/services/documents.service';
3
3
  import { ViewerFilesService } from '../../services/viewer-files.service';
4
+ import { TranslationService } from '../../../../Core/services/translation/translation.service';
5
+ import { Subscription } from 'rxjs';
4
6
  import * as i0 from "@angular/core";
5
7
  /**
6
8
  * A component that views document versions
@@ -15,8 +17,9 @@ import * as i0 from "@angular/core";
15
17
  * (handleActions)="handleActionOnVersion($event)"
16
18
  * ></cts-versions>
17
19
  */
18
- export declare class VersionsComponent implements OnInit, OnChanges {
20
+ export declare class VersionsComponent implements OnInit, OnChanges, OnDestroy {
19
21
  private viewerFilesService;
22
+ private trnaslationService;
20
23
  private documentsApi;
21
24
  /** Current selected version (in viewer) */
22
25
  selectedVersion: any;
@@ -26,13 +29,16 @@ export declare class VersionsComponent implements OnInit, OnChanges {
26
29
  actions?: string[];
27
30
  handleActions: EventEmitter<any>;
28
31
  versions: any[];
29
- constructor(viewerFilesService: ViewerFilesService, documentsApi: DocumentsService);
32
+ isArabic: boolean;
33
+ langSubscription: Subscription;
34
+ constructor(viewerFilesService: ViewerFilesService, trnaslationService: TranslationService, documentsApi: DocumentsService);
30
35
  ngOnChanges(changes: SimpleChanges): void;
31
36
  ngOnInit(): void;
32
37
  getVersion(version: any): string;
33
38
  getVersions(): void;
34
39
  showVersion(version: any): void;
35
40
  handleAction(event: any): void;
41
+ ngOnDestroy(): void;
36
42
  static ɵfac: i0.ɵɵFactoryDeclaration<VersionsComponent, never>;
37
43
  static ɵcmp: i0.ɵɵComponentDeclaration<VersionsComponent, "cts-versions", never, { "selectedVersion": "selectedVersion"; "file": "file"; "actions": "actions"; }, { "handleActions": "handleActions"; }, never, never>;
38
44
  }
@@ -19,6 +19,7 @@ export declare class NotificationsButtonComponent implements OnInit, OnDestroy {
19
19
  updater: any;
20
20
  toastrClick: EventEmitter<any>;
21
21
  listItemClick: EventEmitter<any>;
22
+ customNotificationIcon: any;
22
23
  constructor(notificationsService: NotificationsService, translate: TranslateService, toastr: ToastrService, TimeAgo: TimeAgoPipe, router: Router, ref: ChangeDetectorRef, translationService: TranslationService);
23
24
  getNotifications(): void;
24
25
  ngOnInit(): void;
@@ -26,5 +27,5 @@ export declare class NotificationsButtonComponent implements OnInit, OnDestroy {
26
27
  ngOnDestroy(): void;
27
28
  showToastr(activity: any, ar: any): ActiveToast<any>;
28
29
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsButtonComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsButtonComponent, "app-notifications-button", never, {}, { "toastrClick": "toastrClick"; "listItemClick": "listItemClick"; }, never, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsButtonComponent, "app-notifications-button", never, { "customNotificationIcon": "customNotificationIcon"; }, { "toastrClick": "toastrClick"; "listItemClick": "listItemClick"; }, never, never>;
30
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "3.6.7",
3
+ "version": "3.6.9",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "12.2.3",
6
6
  "@angular/common": "12.2.3",