nuxeo-development-framework 2.0.8 → 3.0.0
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 +8335 -455
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/activities-log/activities-log/activities-log.component.js +84 -0
- package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +35 -0
- package/esm2015/lib/components/activities-log/activities-log.module.js +30 -0
- package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +54 -0
- package/esm2015/lib/components/attachment-item/attachment-item.module.js +44 -0
- package/esm2015/lib/components/attachment-modal/attachment-modal.module.js +40 -0
- package/esm2015/lib/components/attachment-modal/attachments/attachments.component.js +157 -0
- package/esm2015/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.js +30 -0
- package/esm2015/lib/components/confirmation-dialog/confirmation-dialog.module.js +30 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.js +44 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/icon.service.js +140 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon.module.js +24 -0
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +177 -0
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +43 -0
- package/esm2015/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.js +39 -0
- package/esm2015/lib/components/dynamic-tabs/dynamic-tabs.module.js +34 -0
- package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +132 -0
- package/esm2015/lib/components/file-manger/components/copy/copy.component.js +119 -0
- package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +91 -0
- package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +455 -0
- package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +26 -0
- package/esm2015/lib/components/file-manger/components/delete/delete.component.js +77 -0
- package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +114 -0
- package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +80 -0
- package/esm2015/lib/components/file-manger/components/move/move.component.js +108 -0
- package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +111 -0
- package/esm2015/lib/components/file-manger/components/rename/rename.component.js +86 -0
- package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +313 -0
- package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +294 -0
- package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +256 -0
- package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +64 -0
- package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +71 -0
- package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +358 -0
- package/esm2015/lib/components/file-manger/file-manager.abstract.js +1004 -0
- package/esm2015/lib/components/file-manger/file-manger.module.js +275 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +8 -2
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +2 -2
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +51 -0
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.js +30 -0
- package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +177 -0
- package/esm2015/lib/components/permissions/permission.service.js +118 -0
- package/esm2015/lib/components/permissions/permissions/permissions.component.js +232 -0
- package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +117 -0
- package/esm2015/lib/components/permissions/permissions.module.js +71 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-department.module.js +47 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +27 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +116 -0
- package/esm2015/lib/components/user/user/user.component.js +29 -0
- package/esm2015/lib/components/user/user.module.js +30 -0
- package/esm2015/lib/directive/directive.module.js +9 -4
- package/esm2015/lib/directive/drag-and-drop/drag-and-drop.directive.js +46 -0
- package/esm2015/lib/shared/libraryShared.module.js +1 -4
- package/esm2015/lib/shared-services/dialog-mangment.service.js +61 -0
- package/esm2015/lib/shared-services/dynamic-form.service.js +241 -0
- package/esm2015/lib/shared-services/file-manager.adapter.js +74 -0
- package/esm2015/lib/shared-services/file-manager.service.js +741 -0
- package/esm2015/lib/shared-services/global-pdftron.service.js +46 -0
- package/esm2015/lib/shared-services/mainfolder.service.js +157 -0
- package/esm2015/lib/shared-services/publishing-document.service.js +202 -0
- package/esm2015/lib/shared-services/recently-viewed.service.js +57 -0
- package/esm2015/lib/shared-services/shared-docs.service.js +135 -0
- package/esm2015/lib/shared-services/shared-services.module.js +20 -0
- package/esm2015/lib/shared-services/upload-file.service.js +29 -0
- package/esm2015/lib/shared-services/upload-managment.service.js +151 -0
- package/esm2015/lib/shared-services/user.service.js +54 -0
- package/esm2015/public-api.js +64 -1
- package/fesm2015/nuxeo-development-framework.js +7628 -154
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/activities-log/activities-log/activities-log.component.d.ts +23 -0
- package/lib/components/activities-log/activities-log/activities-log.service.d.ts +9 -0
- package/lib/components/activities-log/activities-log.module.d.ts +10 -0
- package/lib/components/attachment-item/attachment-item/attachment-item.component.d.ts +21 -0
- package/lib/components/attachment-item/attachment-item.module.d.ts +13 -0
- package/lib/components/attachment-modal/attachment-modal.module.d.ts +12 -0
- package/lib/components/attachment-modal/attachments/attachments.component.d.ts +50 -0
- package/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +12 -0
- package/lib/components/confirmation-dialog/confirmation-dialog.module.d.ts +10 -0
- package/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.d.ts +17 -0
- package/lib/components/display-suitable-icon/display-suitable-icon/icon.service.d.ts +8 -0
- package/lib/components/display-suitable-icon/display-suitable-icon.module.d.ts +8 -0
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.d.ts +137 -0
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.d.ts +12 -0
- package/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.d.ts +13 -0
- package/lib/components/dynamic-tabs/dynamic-tabs.module.d.ts +11 -0
- package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts +31 -0
- package/lib/components/file-manger/components/copy/copy.component.d.ts +32 -0
- package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +24 -0
- package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +108 -0
- package/lib/components/file-manger/components/creation-type/creation-type.component.d.ts +11 -0
- package/lib/components/file-manger/components/delete/delete.component.d.ts +30 -0
- package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +56 -0
- package/lib/components/file-manger/components/loan-request/loan-request.component.d.ts +23 -0
- package/lib/components/file-manger/components/move/move.component.d.ts +32 -0
- package/lib/components/file-manger/components/publish-dialog/publish-dialog.component.d.ts +32 -0
- package/lib/components/file-manger/components/rename/rename.component.d.ts +25 -0
- package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +95 -0
- package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +58 -0
- package/lib/components/file-manger/components/sidepanel/sidepanel.component.d.ts +62 -0
- package/lib/components/file-manger/components/template-modal/template-modal.component.d.ts +34 -0
- package/lib/components/file-manger/components/transfer-doc/transfer-doc.component.d.ts +24 -0
- package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +194 -0
- package/lib/components/file-manger/file-manager.abstract.d.ts +169 -0
- package/lib/components/file-manger/file-manger.module.d.ts +55 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +2 -0
- package/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.d.ts +17 -0
- package/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.d.ts +10 -0
- package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +44 -0
- package/lib/components/permissions/permission.service.d.ts +21 -0
- package/lib/components/permissions/permissions/permissions.component.d.ts +48 -0
- package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +22 -0
- package/lib/components/permissions/permissions.module.d.ts +21 -0
- package/lib/components/select-users-by-department/select-users-by-department.module.d.ts +13 -0
- package/lib/components/select-users-by-department/select-users-by-departments/department-management.service.d.ts +10 -0
- package/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.d.ts +33 -0
- package/lib/components/user/user/user.component.d.ts +12 -0
- package/lib/components/user/user.module.d.ts +10 -0
- package/lib/directive/directive.module.d.ts +3 -2
- package/lib/directive/drag-and-drop/drag-and-drop.directive.d.ts +11 -0
- package/lib/shared/libraryShared.module.d.ts +1 -1
- package/lib/shared-services/dialog-mangment.service.d.ts +15 -0
- package/lib/shared-services/dynamic-form.service.d.ts +24 -0
- package/lib/shared-services/file-manager.adapter.d.ts +48 -0
- package/lib/shared-services/file-manager.service.d.ts +89 -0
- package/lib/shared-services/global-pdftron.service.d.ts +10 -0
- package/lib/shared-services/mainfolder.service.d.ts +29 -0
- package/lib/shared-services/publishing-document.service.d.ts +25 -0
- package/lib/shared-services/recently-viewed.service.d.ts +17 -0
- package/lib/shared-services/shared-docs.service.d.ts +21 -0
- package/lib/shared-services/shared-services.module.d.ts +7 -0
- package/lib/shared-services/upload-file.service.d.ts +10 -0
- package/lib/shared-services/upload-managment.service.d.ts +72 -0
- package/lib/shared-services/user.service.d.ts +12 -0
- package/package.json +7 -6
- package/public-api.d.ts +61 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
2
|
+
import { IconService } from '../components/display-suitable-icon/display-suitable-icon/icon.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FileManagerAdapter {
|
|
5
|
+
datePipe: DatePipe;
|
|
6
|
+
private iconService;
|
|
7
|
+
constructor(datePipe: DatePipe, iconService: IconService);
|
|
8
|
+
adapt(item: any): {
|
|
9
|
+
id: any;
|
|
10
|
+
name: any;
|
|
11
|
+
isFavorite: any;
|
|
12
|
+
extension: any;
|
|
13
|
+
isDirectory: boolean;
|
|
14
|
+
size: any;
|
|
15
|
+
creator: string;
|
|
16
|
+
modified: string;
|
|
17
|
+
lastContributor: string;
|
|
18
|
+
items: boolean | any[];
|
|
19
|
+
entity: any;
|
|
20
|
+
};
|
|
21
|
+
treeViewAdapt(item: any, parent?: boolean): {
|
|
22
|
+
id: any;
|
|
23
|
+
name: any;
|
|
24
|
+
parentId: any;
|
|
25
|
+
icon: string;
|
|
26
|
+
isExpanded: any;
|
|
27
|
+
entity: any;
|
|
28
|
+
};
|
|
29
|
+
dropDownTreeViewAdapt(item: any, parent?: boolean): {
|
|
30
|
+
id: any;
|
|
31
|
+
name: any;
|
|
32
|
+
parentId: any;
|
|
33
|
+
icon: string;
|
|
34
|
+
isExpanded: any;
|
|
35
|
+
entity: any;
|
|
36
|
+
};
|
|
37
|
+
fulltreeViewAdapt(item: any, parent?: boolean): {
|
|
38
|
+
id: any;
|
|
39
|
+
name: any;
|
|
40
|
+
parentId: any;
|
|
41
|
+
icon: string;
|
|
42
|
+
isExpanded: boolean;
|
|
43
|
+
entity: any;
|
|
44
|
+
};
|
|
45
|
+
checkIfExpanded(document: any): boolean;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileManagerAdapter, never>;
|
|
47
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FileManagerAdapter>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import { FileManagerAdapter } from './file-manager.adapter';
|
|
4
|
+
import { Observable, Subject, Subscriber, Subscription } from 'rxjs';
|
|
5
|
+
import { MainfolderService } from './mainfolder.service';
|
|
6
|
+
import { CallApiService } from '../Core/services/callApi/call-api.service';
|
|
7
|
+
import { AdapterService } from '../Core/adapters/adapter.service';
|
|
8
|
+
import { NuxeoService } from '../Core/services/nuxeo/nuxeo.service';
|
|
9
|
+
import { AppConfigService } from '../configuration/app-config.service';
|
|
10
|
+
import { EvaluatorsService } from '../directive/permissions/evaluators.service';
|
|
11
|
+
import { CustomToastrService } from '../components/custom-toastr/services/custom-toastr.service';
|
|
12
|
+
import { TranslationService } from '../Core/services/translation/translation.service';
|
|
13
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
14
|
+
import { Router } from '@angular/router';
|
|
15
|
+
import { RecentlyViewedService } from './recently-viewed.service';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export declare class FileManagerService implements OnDestroy {
|
|
18
|
+
private callApi;
|
|
19
|
+
private adapter;
|
|
20
|
+
private environment;
|
|
21
|
+
private fileManagerAdapter;
|
|
22
|
+
private appConfService;
|
|
23
|
+
private nuxeoService;
|
|
24
|
+
private permissionEvaluatorService;
|
|
25
|
+
private mainFolderService;
|
|
26
|
+
private http;
|
|
27
|
+
private translationService;
|
|
28
|
+
private toaster;
|
|
29
|
+
private dialog;
|
|
30
|
+
private router;
|
|
31
|
+
private recentlyViewedService;
|
|
32
|
+
pageProvider: any;
|
|
33
|
+
headers: any;
|
|
34
|
+
fields: any;
|
|
35
|
+
allFilesConfig: any;
|
|
36
|
+
selectedFolderId: any;
|
|
37
|
+
onRefreshingFileManger: Subject<any>;
|
|
38
|
+
permissionsList: string[];
|
|
39
|
+
userPermittedTypes: any[];
|
|
40
|
+
userPermittedTypesTotalSize: number;
|
|
41
|
+
userPermittedFilesOnly: any[];
|
|
42
|
+
sharedFiles: any;
|
|
43
|
+
isArabic: boolean;
|
|
44
|
+
langSubscription: Subscription;
|
|
45
|
+
constructor(callApi: CallApiService, adapter: AdapterService, environment: any, fileManagerAdapter: FileManagerAdapter, appConfService: AppConfigService, nuxeoService: NuxeoService, permissionEvaluatorService: EvaluatorsService, mainFolderService: MainfolderService, http: HttpClient, translationService: TranslationService, toaster: CustomToastrService, dialog: MatDialog, router: Router, recentlyViewedService: RecentlyViewedService);
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
setMyTableConfiguration(): void;
|
|
48
|
+
sortingTypes(types: any): any;
|
|
49
|
+
CreateLoanRequest(input: any, context: any, params?: {}): Observable<any>;
|
|
50
|
+
CreateTransferRequest(input: any, context: any, params?: {}): Observable<any>;
|
|
51
|
+
subscribe_OR_unSubscribeToItem(item: any, isUserSubscriberToFile: any): Observable<unknown>;
|
|
52
|
+
openFile(Data: any, fileId: any, dynaimcFormType?: '', searchString?: string): void;
|
|
53
|
+
registerAuditLog(docId: any, eventType: any): void;
|
|
54
|
+
subscribeOrUnsubscribeUserToItem(itemId: any, ToDo: any): Observable<unknown>;
|
|
55
|
+
getUserAcceptedTypes(contentTypee?: any): Observable<any[]>;
|
|
56
|
+
fetchUserPermittedTypesRecursively(offset: any, pageSize: any, op: Subscriber<any[]>, contentTypee?: any): void;
|
|
57
|
+
refreshUserAcceptedTypes(): void;
|
|
58
|
+
checkIfDocumentIsFile(document: any): "Folder" | "File";
|
|
59
|
+
getChildren(id: any): Observable<any[]>;
|
|
60
|
+
getChildrenForSharedDocumentRoot(id: any): Observable<any[]>;
|
|
61
|
+
refreshData(id: any): Observable<any[]>;
|
|
62
|
+
createFolder(params: any, id: any): Observable<any>;
|
|
63
|
+
createDirectory(params: any, id: any): Observable<any>;
|
|
64
|
+
UpdateFolder(params: any, id: any): Observable<any>;
|
|
65
|
+
deleteFolder(folderId: any): Observable<unknown>;
|
|
66
|
+
addToCollection(id: any, collectionId: any): Observable<any>;
|
|
67
|
+
renameFolder(body: any, id: any): Observable<any>;
|
|
68
|
+
createFile(payload: any, id: any): Observable<any>;
|
|
69
|
+
createNewCollection(name: any): Observable<any>;
|
|
70
|
+
copyTo(destination: any, id: any): Observable<any>;
|
|
71
|
+
moveTo(destination: any, id: any): Observable<any>;
|
|
72
|
+
getCollectionSuggestion(term: any): Observable<any>;
|
|
73
|
+
getCollectionFromPP(searchTerm: any): Observable<any>;
|
|
74
|
+
setSync(id: any): Observable<any>;
|
|
75
|
+
unSetSync(id: any): Observable<any>;
|
|
76
|
+
addToFavorites(id: any): Observable<any>;
|
|
77
|
+
defineNewPerson(title: any, titleEn: any, ids: any): Observable<unknown>;
|
|
78
|
+
addToQuickAccess(id: any): Observable<any>;
|
|
79
|
+
removeFromQuickAccess(id: any): Observable<any>;
|
|
80
|
+
removeFromFavorites(id: any): Observable<any>;
|
|
81
|
+
getFolder(uid: any): Observable<any>;
|
|
82
|
+
getLogs(id: any, pageIndex?: number, pageSize?: number): Observable<unknown>;
|
|
83
|
+
getFileSchemas(type: any): Observable<any>;
|
|
84
|
+
downloadAsZip(selectedItems: any, fileTitle: any): Subscription;
|
|
85
|
+
parseNodeChildren: (observable: any, parent?: boolean) => any;
|
|
86
|
+
createTreeNodeChildren(parent: any): Promise<any[]>;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileManagerService, never>;
|
|
88
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FileManagerService>;
|
|
89
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GlobalPdfTron {
|
|
3
|
+
instance: any;
|
|
4
|
+
saveOptions: any;
|
|
5
|
+
constructor();
|
|
6
|
+
exportLinearizedPDF(file: any): Promise<unknown>;
|
|
7
|
+
init(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalPdfTron, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GlobalPdfTron>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { NuxeoService } from '../Core/services/nuxeo/nuxeo.service';
|
|
3
|
+
import { UserPreferencesService } from '../Core/services/user/user-preferences.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MainfolderService {
|
|
6
|
+
private nuxeoService;
|
|
7
|
+
private userPreference;
|
|
8
|
+
fileManager_mainFolderId: any;
|
|
9
|
+
category_mainFolderId: any;
|
|
10
|
+
fileManagerObj: any;
|
|
11
|
+
myFilesManagerObj: any;
|
|
12
|
+
ArchiveManagerObj: any;
|
|
13
|
+
categoryObj: any;
|
|
14
|
+
constructor(nuxeoService: NuxeoService, userPreference: UserPreferencesService);
|
|
15
|
+
fetchfileManager_mainFolderId(): Observable<any>;
|
|
16
|
+
fetchMyFilesManager_mainFolderId(): Observable<any>;
|
|
17
|
+
fetchArchiveManager_mainFolderId(): Observable<any>;
|
|
18
|
+
fetchcategory_mainFolderId(): Observable<any>;
|
|
19
|
+
save_fileManagerObj_ToLocalStorage(reset?: boolean): Observable<any>;
|
|
20
|
+
save_myfilesManagerObj_ToLocalStorage(): Observable<any>;
|
|
21
|
+
save_ArchiveManagerObject_ToLocalStorage(): Observable<any>;
|
|
22
|
+
save_categoryObj_ToLocalStorage(): Observable<any>;
|
|
23
|
+
get_fileManagerObj_FromLocalStorage(): any;
|
|
24
|
+
get_myFilesManagerObj_FromLocalStorage(): any;
|
|
25
|
+
get_ArchiveManagerObj_FromLocalStorage(): any;
|
|
26
|
+
get_categoryObj_FromLocalStorage(): any;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MainfolderService, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MainfolderService>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { NuxeoService } from '../Core/services/nuxeo/nuxeo.service';
|
|
3
|
+
import { CallApiService } from '../Core/services/callApi/call-api.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PublishingDocumentService {
|
|
6
|
+
private nuxeoService;
|
|
7
|
+
private environment;
|
|
8
|
+
private callApiService;
|
|
9
|
+
newPublished: BehaviorSubject<boolean>;
|
|
10
|
+
constructor(nuxeoService: NuxeoService, environment: any, callApiService: CallApiService);
|
|
11
|
+
getSectionById(docIds: any): Observable<any>;
|
|
12
|
+
getSectionByTitle(titles: any): Observable<any>;
|
|
13
|
+
getPublishingSections(pageNumber?: any, pageSize?: any, sortObj?: any): Observable<unknown>;
|
|
14
|
+
unPublishDocument(docId: any): Observable<unknown>;
|
|
15
|
+
publishDocument(docId: any, params: any): Observable<unknown>;
|
|
16
|
+
getPublishedPlaces(uid: any): Observable<any>;
|
|
17
|
+
getVersionToPublishDialog(uid: any): Observable<unknown>;
|
|
18
|
+
buildVersionNum(element: any): number;
|
|
19
|
+
createPublishDepartmentSection(section: any): Observable<unknown>;
|
|
20
|
+
Add_Permission_PublishDepartmentSection(sectionName: any, depList: any, uid: any): Observable<unknown>;
|
|
21
|
+
updatePublishDepartmentSection(section: any, uid: any): Observable<unknown>;
|
|
22
|
+
deleteSection(uid: any): Observable<unknown>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PublishingDocumentService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PublishingDocumentService>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { UserPreferencesService } from '../Core/services/user/user-preferences.service';
|
|
4
|
+
import { CallApiService } from '../Core/services/callApi/call-api.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RecentlyViewedService {
|
|
7
|
+
private userPreference;
|
|
8
|
+
private callApiService;
|
|
9
|
+
itemAdded: EventEmitter<any>;
|
|
10
|
+
recentViewedDocsIds: any[];
|
|
11
|
+
constructor(userPreference: UserPreferencesService, callApiService: CallApiService);
|
|
12
|
+
getIdsFromLocalStorage(): any[];
|
|
13
|
+
setIdsInLocalStorage(Id: string): void;
|
|
14
|
+
getRecentlyViewedDocs(docIds: any, sortObj?: any): Observable<any>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecentlyViewedService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RecentlyViewedService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { NuxeoService } from '../Core/services/nuxeo/nuxeo.service';
|
|
4
|
+
import { AdapterService } from '../Core/adapters/adapter.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SharedDocsService {
|
|
7
|
+
private nuxeoService;
|
|
8
|
+
private dialog;
|
|
9
|
+
private adapter;
|
|
10
|
+
constructor(nuxeoService: NuxeoService, dialog: MatDialog, adapter: AdapterService);
|
|
11
|
+
shareDocumentWithUser(context: any, DocId: any): Observable<any>;
|
|
12
|
+
removeAllSharesforDocs(DocId: any): Observable<any>;
|
|
13
|
+
getSharesWithMe(sortObj: any): Observable<any>;
|
|
14
|
+
getMyShares(): Observable<any>;
|
|
15
|
+
removeCustomShare(context: any, DocId: any): Observable<any>;
|
|
16
|
+
canSeeSecretdocs(context: any): Observable<any>;
|
|
17
|
+
openShareDialog(selectedItem: any, config?: any): void;
|
|
18
|
+
getSharesByMe(selectedItemId: any, getAllInfo?: any): Observable<any[]>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDocsService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SharedDocsService>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
export declare class SharedServicesModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedServicesModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedServicesModule, never, [typeof i1.CommonModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedServicesModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { NuxeoService } from '../Core/services/nuxeo/nuxeo.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UploadFileService {
|
|
5
|
+
private nuxeoService;
|
|
6
|
+
constructor(nuxeoService: NuxeoService);
|
|
7
|
+
uploadSingleBatch(file: any): Observable<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFileService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UploadFileService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DialogMangmentService } from './dialog-mangment.service';
|
|
3
|
+
import { GlobalPdfTron } from './global-pdftron.service';
|
|
4
|
+
import { UploadFileService } from './upload-file.service';
|
|
5
|
+
import { UserService } from '../shared-services/user.service';
|
|
6
|
+
import { Subject, Subscription } from 'rxjs';
|
|
7
|
+
import { NuxeoService } from '../Core/services/nuxeo/nuxeo.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class UploadManagmentService implements OnInit {
|
|
10
|
+
private uploadFile;
|
|
11
|
+
private userService;
|
|
12
|
+
private environment;
|
|
13
|
+
private nuxeoService;
|
|
14
|
+
private dialogManagment;
|
|
15
|
+
private globalPdfTron;
|
|
16
|
+
onUploadFinish: Subject<unknown>;
|
|
17
|
+
onLinerizationFinish: EventEmitter<any>;
|
|
18
|
+
onNewPersonAdded: Subject<unknown>;
|
|
19
|
+
uploadFinishSubscription: Subscription;
|
|
20
|
+
addingPropertiesMode: boolean;
|
|
21
|
+
GeneralFormValidation: boolean;
|
|
22
|
+
scanCreationFailed: boolean;
|
|
23
|
+
failedFiles: any[];
|
|
24
|
+
uploadedFilesStatus: {
|
|
25
|
+
uploadInProgress: boolean;
|
|
26
|
+
numberOfFilesToBeUploaded: number;
|
|
27
|
+
numberOfUploadedFiles: number;
|
|
28
|
+
numberOfErrors: number;
|
|
29
|
+
uploadedFiles: any[];
|
|
30
|
+
allfiles: any[];
|
|
31
|
+
};
|
|
32
|
+
propObject: {};
|
|
33
|
+
constructor(uploadFile: UploadFileService, userService: UserService, environment: any, nuxeoService: NuxeoService, dialogManagment: DialogMangmentService, globalPdfTron: GlobalPdfTron);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
gettingPropFromModal(propertiesObj: any): void;
|
|
36
|
+
resetStatus(): void;
|
|
37
|
+
uploadFilesMangment(files: any): void;
|
|
38
|
+
uploadSingleFile(file: any): void;
|
|
39
|
+
actualUploadSingleFile(file: any): void;
|
|
40
|
+
getNextFileToUpload(): void;
|
|
41
|
+
setStaticData(title: any): {
|
|
42
|
+
title: any;
|
|
43
|
+
description: string;
|
|
44
|
+
subject: string;
|
|
45
|
+
documentNumber: string;
|
|
46
|
+
gdocumentDate: any;
|
|
47
|
+
secrecyLevel: any;
|
|
48
|
+
importanceLevel: any;
|
|
49
|
+
departmentCode: any;
|
|
50
|
+
agencyCategoryCode: any;
|
|
51
|
+
agencyName: any;
|
|
52
|
+
countryCategoryCode: any;
|
|
53
|
+
countryName: any;
|
|
54
|
+
remarks: string;
|
|
55
|
+
} | {
|
|
56
|
+
title: any;
|
|
57
|
+
description: string;
|
|
58
|
+
subject?: undefined;
|
|
59
|
+
documentNumber?: undefined;
|
|
60
|
+
gdocumentDate?: undefined;
|
|
61
|
+
secrecyLevel?: undefined;
|
|
62
|
+
importanceLevel?: undefined;
|
|
63
|
+
departmentCode?: undefined;
|
|
64
|
+
agencyCategoryCode?: undefined;
|
|
65
|
+
agencyName?: undefined;
|
|
66
|
+
countryCategoryCode?: undefined;
|
|
67
|
+
countryName?: undefined;
|
|
68
|
+
remarks?: undefined;
|
|
69
|
+
};
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadManagmentService, never>;
|
|
71
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UploadManagmentService>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UserPreferencesService } from '../Core/services/user/user-preferences.service';
|
|
2
|
+
import { CallApiService } from '../Core/services/callApi/call-api.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UserService {
|
|
5
|
+
private userPreference;
|
|
6
|
+
private callApiService;
|
|
7
|
+
constructor(userPreference: UserPreferencesService, callApiService: CallApiService);
|
|
8
|
+
getUserDepartmentFromGroups(currentUser: any, prefix?: string): string;
|
|
9
|
+
getUserDepartmentFromPath(path: any): any;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxeo-development-framework",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/animations": "
|
|
6
|
-
"@angular/common": "
|
|
7
|
-
"@angular/compiler": "
|
|
8
|
-
"@angular/core": "
|
|
5
|
+
"@angular/animations": "12.2.3",
|
|
6
|
+
"@angular/common": "12.2.3",
|
|
7
|
+
"@angular/compiler": "12.2.3",
|
|
8
|
+
"@angular/core": "12.2.3",
|
|
9
9
|
"@angular/forms": "~12.2.4",
|
|
10
10
|
"@angular/platform-browser": "~12.2.4",
|
|
11
11
|
"@angular/platform-browser-dynamic": "~12.2.4",
|
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
"ts-cacheable": "^1.0.5",
|
|
55
55
|
"webstomp-client": "^1.2.6",
|
|
56
56
|
"file-saver": "^2.0.5",
|
|
57
|
-
"
|
|
57
|
+
"devextreme": "23.1",
|
|
58
|
+
"devextreme-angular": "^23.1"
|
|
58
59
|
},
|
|
59
60
|
"dependencies": {
|
|
60
61
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -117,6 +117,64 @@ export * from './lib/components/dynamic-view/custom-document-viewer/custom-docum
|
|
|
117
117
|
export * from './lib/components/custom-toastr/custom-toastr.module';
|
|
118
118
|
export * from './lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component';
|
|
119
119
|
export * from './lib/components/dynamic-filter/dynamic-filter.module';
|
|
120
|
+
export * from './lib/components/file-manger/file-manger.module';
|
|
121
|
+
export * from './lib/components/file-manger/file-manager.abstract';
|
|
122
|
+
export * from './lib/shared-services/file-manager.adapter';
|
|
123
|
+
export * from './lib/components/file-manger/components/add-to-collection/add-to-collection.component';
|
|
124
|
+
export * from './lib/components/file-manger/components/copy/copy.component';
|
|
125
|
+
export * from './lib/components/file-manger/components/create-directory/create-directory.component';
|
|
126
|
+
export * from './lib/components/file-manger/components/delete/delete.component';
|
|
127
|
+
export * from './lib/components/file-manger/components/loan-request/loan-request.component';
|
|
128
|
+
export * from './lib/components/file-manger/components/move/move.component';
|
|
129
|
+
export * from './lib/components/file-manger/components/rename/rename.component';
|
|
130
|
+
export * from './lib/components/file-manger/components/sidepanel/sidepanel.component';
|
|
131
|
+
export * from './lib/components/file-manger/components/transfer-doc/transfer-doc.component';
|
|
132
|
+
export * from './lib/components/file-manger/components/publish-dialog/publish-dialog.component';
|
|
133
|
+
export * from './lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component';
|
|
134
|
+
export * from './lib/components/file-manger/components/create-modal/create-modal.component';
|
|
135
|
+
export * from './lib/components/file-manger/components/creation-type/creation-type.component';
|
|
136
|
+
export * from './lib/components/file-manger/components/folder-modal/folder-modal.component';
|
|
137
|
+
export * from './lib/components/file-manger/components/scan-modal/scan-modal.component';
|
|
138
|
+
export * from './lib/components/file-manger/components/share-dialog/share-dialog.component';
|
|
139
|
+
export * from './lib/components/file-manger/components/template-modal/template-modal.component';
|
|
140
|
+
export * from './lib/components/file-manger/components/update-modal/update-modal.component';
|
|
141
|
+
export * from './lib/components/display-suitable-icon/display-suitable-icon.module';
|
|
142
|
+
export * from './lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component';
|
|
143
|
+
export * from './lib/components/display-suitable-icon/display-suitable-icon/icon.service';
|
|
144
|
+
export * from './lib/components/attachment-item/attachment-item.module';
|
|
145
|
+
export * from './lib/components/attachment-item/attachment-item/attachment-item.component';
|
|
146
|
+
export * from './lib/components/select-users-by-department/select-users-by-department.module';
|
|
147
|
+
export * from './lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component';
|
|
148
|
+
export * from './lib/components/select-users-by-department/select-users-by-departments/department-management.service';
|
|
149
|
+
export * from './lib/shared-services/recently-viewed.service';
|
|
150
|
+
export * from './lib/shared-services/dialog-mangment.service';
|
|
151
|
+
export * from './lib/shared-services/dynamic-form.service';
|
|
152
|
+
export * from './lib/shared-services/file-manager.service';
|
|
153
|
+
export * from './lib/shared-services/global-pdftron.service';
|
|
154
|
+
export * from './lib/shared-services/mainfolder.service';
|
|
155
|
+
export * from './lib/shared-services/publishing-document.service';
|
|
156
|
+
export * from './lib/shared-services/shared-docs.service';
|
|
157
|
+
export * from './lib/shared-services/upload-file.service';
|
|
158
|
+
export * from './lib/shared-services/upload-managment.service';
|
|
159
|
+
export * from './lib/components/dynamic-tabs/dynamic-tabs.module';
|
|
160
|
+
export * from './lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component';
|
|
161
|
+
export * from './lib/components/activities-log/activities-log.module';
|
|
162
|
+
export * from './lib/components/activities-log/activities-log/activities-log.component';
|
|
163
|
+
export * from './lib/components/permissions/permissions.module';
|
|
164
|
+
export * from './lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component';
|
|
165
|
+
export * from './lib/components/permissions/permissions/permissions.component';
|
|
166
|
+
export * from './lib/components/permissions/permissions-template/permissions-template.component';
|
|
167
|
+
export * from './lib/components/permissions/permission.service';
|
|
168
|
+
export * from './lib/components/user/user/user.component';
|
|
169
|
+
export * from './lib/components/user/user.module';
|
|
170
|
+
export * from './lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component';
|
|
171
|
+
export * from './lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module';
|
|
172
|
+
export * from './lib/components/confirmation-dialog/confirmation-dialog.module';
|
|
173
|
+
export * from './lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component';
|
|
174
|
+
export * from './lib/components/attachment-modal/attachment-modal.module';
|
|
175
|
+
export * from './lib/components/attachment-modal/attachments/attachments.component';
|
|
176
|
+
export * from './lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module';
|
|
177
|
+
export * from './lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component';
|
|
120
178
|
export * from './lib/shared/libraryShared.module';
|
|
121
179
|
export * from './lib/shared/components/button/button.component';
|
|
122
180
|
export * from './lib/shared/components/item-list/item-list.component';
|
|
@@ -125,6 +183,8 @@ export * from './lib/shared/components/read-more/read-more.component';
|
|
|
125
183
|
export * from './lib/shared/components/search-autocomplete/search-autocomplete.component';
|
|
126
184
|
export * from './lib/shared/components/spinner/spinner.component';
|
|
127
185
|
export * from './lib/shared/components/user-card/user-card.component';
|
|
186
|
+
export * from './lib/shared-services/shared-services.module';
|
|
187
|
+
export * from './lib/shared-services/user.service';
|
|
128
188
|
export * from './lib/Core/services/callApi/call-api.service';
|
|
129
189
|
export * from './lib/Core/services/nuxeo/nuxeo.service';
|
|
130
190
|
export * from './lib/Core/services/translation/translation.service';
|
|
@@ -157,6 +217,7 @@ export * from './lib/directive/permissions/permissions.directive';
|
|
|
157
217
|
export * from './lib/directive/rtl/set-rtl.directive';
|
|
158
218
|
export * from './lib/directive/app-has-role/app-has-role.directive';
|
|
159
219
|
export * from './lib/directive/rtl/set-dir-rtl.directive';
|
|
220
|
+
export * from './lib/directive/drag-and-drop/drag-and-drop.directive';
|
|
160
221
|
export * from './lib/configuration/app-config.service';
|
|
161
222
|
export * from './lib/configuration/helpers/app-initializer';
|
|
162
223
|
export * from './lib/directive/permissions/evaluators.service';
|