nuxeo-development-framework 0.7.8 → 0.8.2
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 +289 -103
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/comments/comments.module.js +11 -5
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +50 -11
- package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +5 -2
- package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +65 -0
- package/esm2015/lib/components/comments/services/comment-api.service.js +23 -1
- package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +1 -1
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +2 -2
- package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +2 -2
- package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +2 -2
- package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +2 -2
- package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +1 -1
- package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +14 -4
- package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +8 -4
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +59 -15
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +1 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/nuxeo-development-framework.js +246 -68
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/comments/comments.module.d.ts +13 -12
- package/lib/components/comments/components/comment-item/comment-item.component.d.ts +8 -3
- package/lib/components/comments/components/comments-list/comments-list.component.d.ts +1 -0
- package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +22 -0
- package/lib/components/comments/services/comment-api.service.d.ts +2 -0
- package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +5 -2
- package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +3 -2
- package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +5 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -2,17 +2,18 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./components/comments-dashlet/comments-dashlet.component";
|
|
3
3
|
import * as i2 from "./components/comments-list/comments-list.component";
|
|
4
4
|
import * as i3 from "./components/comment-item/comment-item.component";
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "@
|
|
13
|
-
import * as i12 from "@angular/material/
|
|
14
|
-
import * as i13 from "@angular/material/
|
|
15
|
-
import * as i14 from "
|
|
5
|
+
import * as i4 from "./components/edit-delete-modal/edit-delete-modal.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "../../shared/libraryShared.module";
|
|
8
|
+
import * as i7 from "ngx-infinite-scroll";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "../card/card.module";
|
|
11
|
+
import * as i10 from "../../pipes/pipes.module";
|
|
12
|
+
import * as i11 from "@ngx-translate/core";
|
|
13
|
+
import * as i12 from "@angular/material/icon";
|
|
14
|
+
import * as i13 from "@angular/material/progress-spinner";
|
|
15
|
+
import * as i14 from "@angular/material/tooltip";
|
|
16
|
+
import * as i15 from "../../directive/directive.module";
|
|
16
17
|
/**
|
|
17
18
|
* @title
|
|
18
19
|
* Comments Module
|
|
@@ -20,6 +21,6 @@ import * as i14 from "../../directive/directive.module";
|
|
|
20
21
|
*/
|
|
21
22
|
export declare class CommentsModule {
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommentsModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CommentsModule, [typeof i1.CommentsDashletComponent, typeof i2.CommentsListComponent, typeof i3.CommentItemComponent], [typeof
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CommentsModule, [typeof i1.CommentsDashletComponent, typeof i2.CommentsListComponent, typeof i3.CommentItemComponent, typeof i4.EditDeleteModalComponent], [typeof i5.CommonModule, typeof i6.LibrarySharedModule, typeof i7.InfiniteScrollModule, typeof i8.FormsModule, typeof i9.CardModule, typeof i10.PipesModule, typeof i11.TranslateModule, typeof i12.MatIconModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatTooltipModule, typeof i15.DirectiveModule, typeof i14.MatTooltipModule], [typeof i1.CommentsDashletComponent]>;
|
|
24
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<CommentsModule>;
|
|
25
26
|
}
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { TranslationService } from '../../../../Core/services/translation/translation.service';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* @ignore
|
|
7
8
|
*/
|
|
8
9
|
export declare class CommentItemComponent implements OnInit {
|
|
9
10
|
private translationSrvice;
|
|
11
|
+
private dialog;
|
|
10
12
|
comment: any;
|
|
11
13
|
loaderType: string;
|
|
12
14
|
lang: string;
|
|
13
15
|
langSubscription: Subscription;
|
|
14
|
-
|
|
16
|
+
dialogRef: any;
|
|
17
|
+
refreshCommentList: EventEmitter<any>;
|
|
18
|
+
constructor(translationSrvice: TranslationService, dialog: MatDialog);
|
|
15
19
|
ngOnInit(): void;
|
|
20
|
+
executeFunction(type: any): void;
|
|
16
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommentItemComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommentItemComponent, "app-comment-item", never, { "comment": "comment"; "loaderType": "loaderType"; }, {}, never, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommentItemComponent, "app-comment-item", never, { "comment": "comment"; "loaderType": "loaderType"; }, { "refreshCommentList": "refreshCommentList"; }, never, never>;
|
|
18
23
|
}
|
|
@@ -21,6 +21,7 @@ export declare class CommentsListComponent implements OnInit {
|
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
getComments: (page: any, reset?: boolean) => void;
|
|
23
23
|
onScroll(event: any): void;
|
|
24
|
+
refreshList(): void;
|
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommentsListComponent, never>;
|
|
25
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<CommentsListComponent, "app-comments-list", never, { "entityId": "entityId"; "pageSize": "pageSize"; "loaderType": "loaderType"; }, {}, never, never>;
|
|
26
27
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
import { NuxeoService } from '../../../../Core/services/nuxeo/nuxeo.service';
|
|
5
|
+
import { CommentApiService } from '../../services/comment-api.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EditDeleteModalComponent implements OnInit {
|
|
8
|
+
data: any;
|
|
9
|
+
private toaster;
|
|
10
|
+
private commentApi;
|
|
11
|
+
private nuxeoService;
|
|
12
|
+
dialogRef: MatDialogRef<EditDeleteModalComponent>;
|
|
13
|
+
operationType: any;
|
|
14
|
+
comment: any;
|
|
15
|
+
constructor(data: any, toaster: ToastrService, commentApi: CommentApiService, nuxeoService: NuxeoService, dialogRef: MatDialogRef<EditDeleteModalComponent>);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
delete(): void;
|
|
18
|
+
cancel(): void;
|
|
19
|
+
update(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditDeleteModalComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditDeleteModalComponent, "lib-edit-delete-modal", never, {}, {}, never, never>;
|
|
22
|
+
}
|
|
@@ -9,6 +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
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommentApiService, never>;
|
|
13
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<CommentApiService>;
|
|
14
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { Router } from "@angular/router";
|
|
3
3
|
import { TranslateService } from "@ngx-translate/core";
|
|
4
4
|
import { ActiveToast, ToastrService } from "ngx-toastr";
|
|
@@ -17,11 +17,14 @@ export declare class NotificationsButtonComponent implements OnInit, OnDestroy {
|
|
|
17
17
|
get notificationsCount(): number;
|
|
18
18
|
subscription: any;
|
|
19
19
|
updater: any;
|
|
20
|
+
toastrClick: EventEmitter<any>;
|
|
21
|
+
listItemClick: EventEmitter<any>;
|
|
20
22
|
constructor(notificationsService: NotificationsService, translate: TranslateService, toastr: ToastrService, TimeAgo: TimeAgoPipe, router: Router, ref: ChangeDetectorRef, translationService: TranslationService);
|
|
21
23
|
getNotifications(): void;
|
|
22
24
|
ngOnInit(): void;
|
|
25
|
+
onListItemClick(event: any): void;
|
|
23
26
|
ngOnDestroy(): void;
|
|
24
27
|
showToastr(activity: any, ar: any): ActiveToast<any>;
|
|
25
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsButtonComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsButtonComponent, "app-notifications-button", never, {}, {}, never, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsButtonComponent, "app-notifications-button", never, {}, { "toastrClick": "toastrClick"; "listItemClick": "listItemClick"; }, never, never>;
|
|
27
30
|
}
|
package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy } from "@angular/core";
|
|
2
2
|
import { DatePipe } from "@angular/common";
|
|
3
3
|
import { NotificationsService } from "../../notifications.service";
|
|
4
4
|
import { TranslationService } from "../../../../Core/services/translation/translation.service";
|
|
@@ -11,6 +11,7 @@ export declare class NotificationsListComponent implements OnDestroy {
|
|
|
11
11
|
private ref;
|
|
12
12
|
datePipe: DatePipe;
|
|
13
13
|
private translationService;
|
|
14
|
+
listItemClick: EventEmitter<any>;
|
|
14
15
|
get notifications(): any;
|
|
15
16
|
_itemHeight: number;
|
|
16
17
|
get itemHeight(): number;
|
|
@@ -46,5 +47,5 @@ export declare class NotificationsListComponent implements OnDestroy {
|
|
|
46
47
|
close(): void;
|
|
47
48
|
changeContentBasedOnUserLang(): void;
|
|
48
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsListComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsListComponent, "app-notifications-list", never, {}, {}, never, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsListComponent, "app-notifications-list", never, {}, { "listItemClick": "listItemClick"; }, never, never>;
|
|
50
51
|
}
|
|
@@ -46,13 +46,17 @@ export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
46
46
|
events: EventEmitter<any>;
|
|
47
47
|
SignatureEvent: EventEmitter<any>;
|
|
48
48
|
firstTimeLoad: boolean;
|
|
49
|
+
firstSignatureLoad: boolean;
|
|
50
|
+
newSignCreation: boolean;
|
|
49
51
|
constructor(cdr: ChangeDetectorRef, pdftronService: PdftronService, nuxeo: NuxeoService, baseHref: string, securePipe: SecurePipe, environment: any);
|
|
50
52
|
ngOnInit(): Promise<void>;
|
|
51
53
|
ngAfterViewInit(): Promise<void>;
|
|
52
54
|
importSignature(): void;
|
|
55
|
+
exportingSavedSignature(): void;
|
|
53
56
|
exportingSignature(): void;
|
|
54
|
-
|
|
57
|
+
extractAnotation(annotation: any, documentViewer: any): void;
|
|
55
58
|
extractAnnotationSignature(annotation: any, docViewer: any): Promise<void>;
|
|
59
|
+
deleteAnnotation(): void;
|
|
56
60
|
addDownloadButton(): void;
|
|
57
61
|
addPrintButton(): void;
|
|
58
62
|
addWatermark(): void;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ export * from './lib/components/notifications/components/notification-item/notif
|
|
|
89
89
|
export * from './lib/components/notifications/components/notification-options/notification-options.component';
|
|
90
90
|
export * from './lib/components/notifications/components/notifications-button/notifications-button.component';
|
|
91
91
|
export * from './lib/components/notifications/components/notifications-list/notifications-list.component';
|
|
92
|
+
export * from './lib/components/notifications/notifications.service';
|
|
92
93
|
export * from './lib/components/filter/filter/filter.component';
|
|
93
94
|
export * from './lib/components/users-card/users-card.component';
|
|
94
95
|
export * from './lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component';
|