nuxeo-development-framework 4.2.2 → 4.2.4
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 +504 -477
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +30 -23
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +27 -32
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +27 -32
- package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +22 -19
- package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +2 -2
- package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +2 -2
- package/esm2015/lib/components/file-manger/components/move/move.component.js +2 -2
- package/esm2015/lib/components/file-manger/file-manager.abstract.js +260 -258
- package/esm2015/lib/components/permissions/permissions/permissions.component.js +100 -57
- package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +36 -52
- package/esm2015/lib/shared-services/dialog-mangment.service.js +27 -23
- package/esm2015/lib/shared-services/shared-docs.service.js +22 -27
- package/fesm2015/nuxeo-development-framework.js +487 -460
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/comments/components/comment-item/comment-item.component.d.ts +3 -1
- package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +4 -2
- package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +4 -2
- package/lib/components/documents/components/document-list/documents-list.component.d.ts +3 -1
- package/lib/components/file-manger/file-manager.abstract.d.ts +24 -22
- package/lib/components/permissions/permissions/permissions.component.d.ts +3 -1
- package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +3 -3
- package/lib/shared-services/dialog-mangment.service.d.ts +3 -3
- package/lib/shared-services/shared-docs.service.d.ts +4 -2
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@ import { OnInit, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { TranslationService } from '../../../../core/services/translation/translation.service';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { MatDialog } from '@angular/material/dialog';
|
|
5
|
+
import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @ignore
|
|
@@ -9,6 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
9
10
|
export declare class CommentItemComponent implements OnInit {
|
|
10
11
|
private translationSrvice;
|
|
11
12
|
private dialog;
|
|
13
|
+
nuxeoDialogService: NuxeoDialogService;
|
|
12
14
|
comment: any;
|
|
13
15
|
loaderType: string;
|
|
14
16
|
showCommentActions: boolean;
|
|
@@ -16,7 +18,7 @@ export declare class CommentItemComponent implements OnInit {
|
|
|
16
18
|
langSubscription: Subscription;
|
|
17
19
|
dialogRef: any;
|
|
18
20
|
refreshCommentList: EventEmitter<any>;
|
|
19
|
-
constructor(translationSrvice: TranslationService, dialog: MatDialog);
|
|
21
|
+
constructor(translationSrvice: TranslationService, dialog: MatDialog, nuxeoDialogService: NuxeoDialogService);
|
|
20
22
|
ngOnInit(): void;
|
|
21
23
|
executeFunction(type: any): void;
|
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommentItemComponent, never>;
|
|
@@ -6,6 +6,7 @@ import { DocumentsService } from '../../../documents/services/documents.service'
|
|
|
6
6
|
import { ViewerFilesService } from '../../services/viewer-files.service';
|
|
7
7
|
import { UserPreferencesService } from '../../../../core/services/user/user-preferences.service';
|
|
8
8
|
import { NuxeoService } from '../../../../core/services/nuxeo/nuxeo.service';
|
|
9
|
+
import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class CorrespondenceRelationComponent implements OnInit {
|
|
11
12
|
dialog: MatDialog;
|
|
@@ -15,19 +16,20 @@ export declare class CorrespondenceRelationComponent implements OnInit {
|
|
|
15
16
|
private documentsApi;
|
|
16
17
|
private userPreference;
|
|
17
18
|
nuxeoService: NuxeoService;
|
|
19
|
+
private nuxeoDialogService;
|
|
18
20
|
corr_id: any;
|
|
19
21
|
/** Correspondance */
|
|
20
22
|
correspondance: any;
|
|
21
23
|
relations_list: any;
|
|
22
24
|
reload: boolean;
|
|
23
|
-
constructor(dialog: MatDialog, corrrelationsvc: CorrespondenceRelationService, toastr: CustomToastrService, viewerFilesService: ViewerFilesService, documentsApi: DocumentsService, userPreference: UserPreferencesService, nuxeoService: NuxeoService);
|
|
25
|
+
constructor(dialog: MatDialog, corrrelationsvc: CorrespondenceRelationService, toastr: CustomToastrService, viewerFilesService: ViewerFilesService, documentsApi: DocumentsService, userPreference: UserPreferencesService, nuxeoService: NuxeoService, nuxeoDialogService: NuxeoDialogService);
|
|
24
26
|
ngOnInit(): void;
|
|
25
27
|
openDialog(): void;
|
|
26
28
|
getallrelated(): void;
|
|
27
29
|
handleActions(event: any): void;
|
|
28
30
|
view_Corres(relation: any): void;
|
|
29
31
|
showCorrespondenceInViewer(corres_id: any): void;
|
|
30
|
-
openConfirmDialog(functionToPerform: any
|
|
32
|
+
openConfirmDialog(functionToPerform: any): void;
|
|
31
33
|
deleteRelation(relateddoc: any): void;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationComponent, never>;
|
|
33
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceRelationComponent, "cts-correspondence-relation", never, { "corr_id": "corr_id"; "correspondance": "correspondance"; }, {}, never, never>;
|
|
@@ -4,6 +4,7 @@ import { AdapterService } from '../../../../core/adapters/adapter.service';
|
|
|
4
4
|
import { DocumentsService } from '../../../documents/services/documents.service';
|
|
5
5
|
import { ViewerFilesService } from '../../services/viewer-files.service';
|
|
6
6
|
import { CorrespondenceRelationService } from '../../services/correspondence-realation.service';
|
|
7
|
+
import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class CorrespondenceRelationListComponent implements OnInit {
|
|
9
10
|
private relationsvc;
|
|
@@ -11,6 +12,7 @@ export declare class CorrespondenceRelationListComponent implements OnInit {
|
|
|
11
12
|
private viewerFilesService;
|
|
12
13
|
private documentsApi;
|
|
13
14
|
private adapter;
|
|
15
|
+
private nuxeoDialogService;
|
|
14
16
|
correspondence_id: any;
|
|
15
17
|
reload: boolean;
|
|
16
18
|
relateddoc: any[];
|
|
@@ -18,11 +20,11 @@ export declare class CorrespondenceRelationListComponent implements OnInit {
|
|
|
18
20
|
title: string;
|
|
19
21
|
name: string;
|
|
20
22
|
}[];
|
|
21
|
-
constructor(relationsvc: CorrespondenceRelationService, dialog: MatDialog, viewerFilesService: ViewerFilesService, documentsApi: DocumentsService, adapter: AdapterService);
|
|
23
|
+
constructor(relationsvc: CorrespondenceRelationService, dialog: MatDialog, viewerFilesService: ViewerFilesService, documentsApi: DocumentsService, adapter: AdapterService, nuxeoDialogService: NuxeoDialogService);
|
|
22
24
|
ngOnInit(): void;
|
|
23
25
|
loadData(): void;
|
|
24
26
|
onDeleteClick(relateddoc: any): void;
|
|
25
|
-
openDialog(functionToPerform: any
|
|
27
|
+
openDialog(functionToPerform: any): void;
|
|
26
28
|
view_Corres(relation: any): void;
|
|
27
29
|
showCorrespondenceInViewer(relation: any): void;
|
|
28
30
|
handleMenuItemClicked(event: any): void;
|
|
@@ -5,6 +5,7 @@ import { Subject } from 'rxjs';
|
|
|
5
5
|
import { NuxeoService } from '../../../../core/services/nuxeo/nuxeo.service';
|
|
6
6
|
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
7
7
|
import { DocumentsService } from '../../services/documents.service';
|
|
8
|
+
import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* A reusable component to list attachments,
|
|
@@ -28,6 +29,7 @@ export declare class DocumentsListComponent implements OnInit, OnChanges, OnDest
|
|
|
28
29
|
private toastr;
|
|
29
30
|
private dialog;
|
|
30
31
|
private router;
|
|
32
|
+
private nuxeoDialogService;
|
|
31
33
|
/** Ancestor ID */
|
|
32
34
|
ancestorId: any;
|
|
33
35
|
/** Attachments provider name */
|
|
@@ -67,7 +69,7 @@ export declare class DocumentsListComponent implements OnInit, OnChanges, OnDest
|
|
|
67
69
|
onDestroy$: Subject<boolean>;
|
|
68
70
|
/** Emitted when a document is selected */
|
|
69
71
|
documentSelect: EventEmitter<any>;
|
|
70
|
-
constructor(documentsApi: DocumentsService, nuxeoApi: NuxeoService, toastr: CustomToastrService, dialog: MatDialog, router: Router);
|
|
72
|
+
constructor(documentsApi: DocumentsService, nuxeoApi: NuxeoService, toastr: CustomToastrService, dialog: MatDialog, router: Router, nuxeoDialogService: NuxeoDialogService);
|
|
71
73
|
getDocuments(): void;
|
|
72
74
|
isCreator(item: any): boolean;
|
|
73
75
|
deleteDocument(event: any, item: any): void;
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { MatDialog } from
|
|
2
|
-
import { ActivatedRoute, Router } from
|
|
3
|
-
import { IconService } from
|
|
4
|
-
import { DxFileManagerComponent, DxFormComponent, DxTreeViewComponent } from
|
|
5
|
-
import { Observable, Subject, Subscription } from
|
|
6
|
-
import { FileManagerAdapter } from
|
|
7
|
-
import { FileManagerService } from
|
|
8
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnInit } from
|
|
9
|
-
import { DialogMangmentService } from
|
|
10
|
-
import { UploadManagmentService } from
|
|
11
|
-
import { SharedDocsService } from
|
|
12
|
-
import { DynamicFormService } from
|
|
13
|
-
import { EvaluatorsService } from
|
|
14
|
-
import { CallApiService } from
|
|
15
|
-
import { AdapterService } from
|
|
16
|
-
import { TranslationService } from
|
|
17
|
-
import { AppConfigService } from
|
|
18
|
-
import { CustomToastrService } from
|
|
19
|
-
import { UserPreferencesService } from
|
|
20
|
-
import { DocumentScanService } from
|
|
21
|
-
import { NuxeoService } from
|
|
22
|
-
import { PaginationPayload } from
|
|
1
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
2
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
3
|
+
import { IconService } from "../display-suitable-icon/display-suitable-icon/icon.service";
|
|
4
|
+
import { DxFileManagerComponent, DxFormComponent, DxTreeViewComponent } from "devextreme-angular";
|
|
5
|
+
import { Observable, Subject, Subscription } from "rxjs";
|
|
6
|
+
import { FileManagerAdapter } from "../../shared-services/file-manager.adapter";
|
|
7
|
+
import { FileManagerService } from "../../shared-services/file-manager.service";
|
|
8
|
+
import { AfterViewChecked, ChangeDetectorRef, Injector, OnInit } from "@angular/core";
|
|
9
|
+
import { DialogMangmentService } from "../../shared-services/dialog-mangment.service";
|
|
10
|
+
import { UploadManagmentService } from "../../shared-services/upload-managment.service";
|
|
11
|
+
import { SharedDocsService } from "../../shared-services/shared-docs.service";
|
|
12
|
+
import { DynamicFormService } from "../../shared-services/dynamic-form.service";
|
|
13
|
+
import { EvaluatorsService } from "../../directive/permissions/evaluators.service";
|
|
14
|
+
import { CallApiService } from "../../core/services/callApi/call-api.service";
|
|
15
|
+
import { AdapterService } from "../../core/adapters/adapter.service";
|
|
16
|
+
import { TranslationService } from "../../core/services/translation/translation.service";
|
|
17
|
+
import { AppConfigService } from "../../configuration/app-config.service";
|
|
18
|
+
import { CustomToastrService } from "../custom-toastr/services/custom-toastr.service";
|
|
19
|
+
import { UserPreferencesService } from "../../core/services/user/user-preferences.service";
|
|
20
|
+
import { DocumentScanService } from "../documents/components/document-scan/document-scan.service";
|
|
21
|
+
import { NuxeoService } from "../../core/services/nuxeo/nuxeo.service";
|
|
22
|
+
import { PaginationPayload } from "./models";
|
|
23
|
+
import { NuxeoDialogService } from "../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service";
|
|
23
24
|
import * as i0 from "@angular/core";
|
|
24
25
|
export declare class FileManagerAbstract implements OnInit, AfterViewChecked {
|
|
25
26
|
#private;
|
|
@@ -139,6 +140,7 @@ export declare class FileManagerAbstract implements OnInit, AfterViewChecked {
|
|
|
139
140
|
protected iconService: IconService;
|
|
140
141
|
protected cdRef: ChangeDetectorRef;
|
|
141
142
|
protected nuxeoService: NuxeoService;
|
|
143
|
+
protected nuxeoDialogService: NuxeoDialogService;
|
|
142
144
|
protected moreDataForCreateModal: {};
|
|
143
145
|
constructor(injectorObj: Injector, myPageConfigurationName: String, environment: Object);
|
|
144
146
|
ngOnInit(): void;
|
|
@@ -7,6 +7,7 @@ import { EvaluatorsService } from '../../../directive/permissions/evaluators.ser
|
|
|
7
7
|
import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
|
|
8
8
|
import { TranslationService } from '../../../core/services/translation/translation.service';
|
|
9
9
|
import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
|
|
10
|
+
import { NuxeoDialogService } from '../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class PermissionsComponent implements OnInit, OnDestroy {
|
|
12
13
|
private permissionService;
|
|
@@ -16,6 +17,7 @@ export declare class PermissionsComponent implements OnInit, OnDestroy {
|
|
|
16
17
|
private nuxeoService;
|
|
17
18
|
private userServ;
|
|
18
19
|
private evaluatorService;
|
|
20
|
+
nuxeoDialogService: NuxeoDialogService;
|
|
19
21
|
permissionsType: any;
|
|
20
22
|
documentId: any;
|
|
21
23
|
document: any;
|
|
@@ -33,7 +35,7 @@ export declare class PermissionsComponent implements OnInit, OnDestroy {
|
|
|
33
35
|
blockOrUnblock: boolean;
|
|
34
36
|
loading: boolean;
|
|
35
37
|
allDepartmentUsers: any[];
|
|
36
|
-
constructor(permissionService: PermissionService, addPermissionsDialog: MatDialog, tosterService: CustomToastrService, translateService: TranslationService, nuxeoService: NuxeoService, userServ: UserService, evaluatorService: EvaluatorsService);
|
|
38
|
+
constructor(permissionService: PermissionService, addPermissionsDialog: MatDialog, tosterService: CustomToastrService, translateService: TranslationService, nuxeoService: NuxeoService, userServ: UserService, evaluatorService: EvaluatorsService, nuxeoDialogService: NuxeoDialogService);
|
|
37
39
|
ngOnInit(): void;
|
|
38
40
|
addPermissionLabel(arr: any, permissionArr: any): void;
|
|
39
41
|
isItemContainAdministratorGroup(element: any): boolean;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
2
|
import { PermissionService } from '../permission.service';
|
|
4
3
|
import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
|
|
4
|
+
import { NuxeoDialogService } from '../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PermissionsTemplateComponent implements OnInit {
|
|
7
7
|
private permissionService;
|
|
8
8
|
private tosterService;
|
|
9
|
-
|
|
9
|
+
nuxeoDialogService: NuxeoDialogService;
|
|
10
10
|
allowDeleteAndEdit: boolean;
|
|
11
11
|
documentId: any;
|
|
12
12
|
userVisiblePermissions: any;
|
|
13
13
|
permissionsArray: any[];
|
|
14
14
|
getPermissions: EventEmitter<any>;
|
|
15
|
-
constructor(permissionService: PermissionService, tosterService: CustomToastrService,
|
|
15
|
+
constructor(permissionService: PermissionService, tosterService: CustomToastrService, nuxeoDialogService: NuxeoDialogService);
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
deletePermission(permission: any): void;
|
|
18
18
|
editPermission(permission: any, username: any, userVisiblePermissions: any, begin: any, end: any): void;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NuxeoDialogService } from '../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class DialogMangmentService {
|
|
4
|
-
|
|
4
|
+
nuxeoDialogService: NuxeoDialogService;
|
|
5
5
|
minizedModal: boolean;
|
|
6
6
|
creationMode: string;
|
|
7
7
|
fileType: string;
|
|
8
8
|
addingFrom: string;
|
|
9
9
|
storedDynamicForm: string;
|
|
10
|
-
constructor(
|
|
10
|
+
constructor(nuxeoDialogService: NuxeoDialogService);
|
|
11
11
|
openModal(component: any, type: any, creationMode: any, source: any, width: any, height: any, data?: {}): void;
|
|
12
12
|
openMinimzedModal(component: any, width: any, height: any, data?: {}): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogMangmentService, never>;
|
|
@@ -2,19 +2,21 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { NuxeoService } from '../core/services/nuxeo/nuxeo.service';
|
|
4
4
|
import { AdapterService } from '../core/adapters/adapter.service';
|
|
5
|
+
import { NuxeoDialogService } from '../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class SharedDocsService {
|
|
7
8
|
private nuxeoService;
|
|
8
9
|
private dialog;
|
|
9
10
|
private adapter;
|
|
10
|
-
|
|
11
|
+
nuxeoDialogService: NuxeoDialogService;
|
|
12
|
+
constructor(nuxeoService: NuxeoService, dialog: MatDialog, adapter: AdapterService, nuxeoDialogService: NuxeoDialogService);
|
|
11
13
|
shareDocumentWithUser(context: any, DocId: any): Observable<any>;
|
|
12
14
|
removeAllSharesforDocs(DocId: any): Observable<any>;
|
|
13
15
|
getSharesWithMe(sortObj: any): Observable<any>;
|
|
14
16
|
getMyShares(): Observable<any>;
|
|
15
17
|
removeCustomShare(context: any, DocId: any): Observable<any>;
|
|
16
18
|
canSeeSecretdocs(context: any): Observable<any>;
|
|
17
|
-
openShareDialog(selectedItem: any
|
|
19
|
+
openShareDialog(selectedItem: any): void;
|
|
18
20
|
getSharesByMe(selectedItemId: any, getAllInfo?: any): Observable<any[]>;
|
|
19
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDocsService, never>;
|
|
20
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<SharedDocsService>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxeo-development-framework",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "12.2.3",
|
|
6
6
|
"@angular/common": "12.2.3",
|
|
@@ -79,4 +79,4 @@
|
|
|
79
79
|
"fesm2015": "fesm2015/nuxeo-development-framework.js",
|
|
80
80
|
"typings": "nuxeo-development-framework.d.ts",
|
|
81
81
|
"sideEffects": false
|
|
82
|
-
}
|
|
82
|
+
}
|