nuxeo-development-framework 2.0.9 → 3.0.1
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 +8683 -454
- 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/clipboard/clipboard.component.js +264 -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 +314 -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 +257 -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 +1031 -0
- package/esm2015/lib/components/file-manger/file-manger.module.js +295 -0
- 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 +793 -0
- package/esm2015/lib/shared-services/global-pdftron.service.js +46 -0
- package/esm2015/lib/shared-services/mainfolder.service.js +160 -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 +65 -1
- package/fesm2015/nuxeo-development-framework.js +7969 -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/clipboard/clipboard.component.d.ts +41 -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 +173 -0
- package/lib/components/file-manger/file-manger.module.d.ts +59 -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 +94 -0
- package/lib/shared-services/global-pdftron.service.d.ts +10 -0
- package/lib/shared-services/mainfolder.service.d.ts +32 -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 +62 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
3
|
+
import { DxFormComponent } from 'devextreme-angular';
|
|
4
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DeleteComponent implements OnInit {
|
|
7
|
+
private fileManagerService;
|
|
8
|
+
protected customToastrService: CustomToastrService;
|
|
9
|
+
form: DxFormComponent;
|
|
10
|
+
set visible(value: any);
|
|
11
|
+
get visible(): any;
|
|
12
|
+
visibleChange: EventEmitter<any>;
|
|
13
|
+
refresh: EventEmitter<any>;
|
|
14
|
+
rtlEnabled: boolean;
|
|
15
|
+
selectedItem: any;
|
|
16
|
+
rootFolder: any;
|
|
17
|
+
rootEntries: any;
|
|
18
|
+
selectedItems: any;
|
|
19
|
+
directory: any;
|
|
20
|
+
formData: any;
|
|
21
|
+
disable: boolean;
|
|
22
|
+
_visible: boolean;
|
|
23
|
+
currentItem: any;
|
|
24
|
+
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
cancel(): void;
|
|
27
|
+
deleteFolder(answer: any): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeleteComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeleteComponent, "app-delete", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItem": "selectedItem"; "rootFolder": "rootFolder"; "rootEntries": "rootEntries"; "selectedItems": "selectedItems"; "directory": "directory"; }, { "visibleChange": "visibleChange"; "refresh": "refresh"; }, never, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { DynamicFormService } from '../../../../shared-services/dynamic-form.service';
|
|
5
|
+
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
6
|
+
import { TranslationService } from '../../../../Core/services/translation/translation.service';
|
|
7
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class FolderModalComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
10
|
+
data: any;
|
|
11
|
+
private dialogRef;
|
|
12
|
+
private fileMangerService;
|
|
13
|
+
private dynamicFormService;
|
|
14
|
+
private translationService;
|
|
15
|
+
private tosterService;
|
|
16
|
+
private formBuilder;
|
|
17
|
+
folderType: any;
|
|
18
|
+
dynamicForm: any;
|
|
19
|
+
temporaryDyanmicData: {};
|
|
20
|
+
showRenderer: boolean;
|
|
21
|
+
dynamicData: {
|
|
22
|
+
valid: boolean;
|
|
23
|
+
};
|
|
24
|
+
staticForm: {
|
|
25
|
+
title: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
filter: {};
|
|
29
|
+
filter2: {};
|
|
30
|
+
parentId: string;
|
|
31
|
+
childId: any;
|
|
32
|
+
testingForm: FormGroup;
|
|
33
|
+
isArabic: boolean;
|
|
34
|
+
private _unsubscribeAll;
|
|
35
|
+
isDmsFolder: boolean;
|
|
36
|
+
constructor(data: any, dialogRef: MatDialogRef<FolderModalComponent>, fileMangerService: FileManagerService, dynamicFormService: DynamicFormService, translationService: TranslationService, tosterService: CustomToastrService, formBuilder: FormBuilder);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
ngAfterViewInit(): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
ondynamicFormChange(dynamicData: any): void;
|
|
41
|
+
closeDialog(): void;
|
|
42
|
+
createDocument(): void;
|
|
43
|
+
constructPayLoad(dynamicValues: any, staticForm: any): {
|
|
44
|
+
document: {
|
|
45
|
+
type: any;
|
|
46
|
+
name: any;
|
|
47
|
+
properties: {
|
|
48
|
+
"dc:description": any;
|
|
49
|
+
"dc:title": any;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
changing(data: any): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FolderModalComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FolderModalComponent, "app-folder-modal", never, {}, {}, never, never>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DxFormComponent } from 'devextreme-angular';
|
|
3
|
+
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
4
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LoanRequestComponent implements OnInit {
|
|
7
|
+
private fileMangerService;
|
|
8
|
+
private customToastrService;
|
|
9
|
+
form: DxFormComponent;
|
|
10
|
+
set visible(value: any);
|
|
11
|
+
get visible(): any;
|
|
12
|
+
visibleChange: EventEmitter<any>;
|
|
13
|
+
rtlEnabled: boolean;
|
|
14
|
+
selectedItem: any;
|
|
15
|
+
loanFormData: any;
|
|
16
|
+
_visible: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
constructor(fileMangerService: FileManagerService, customToastrService: CustomToastrService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
onFormLoanRequestSubmit(e: any): Promise<void>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoanRequestComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoanRequestComponent, "app-loan-request", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItem": "selectedItem"; }, { "visibleChange": "visibleChange"; }, never, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DxFormComponent } from 'devextreme-angular';
|
|
3
|
+
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
4
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MoveComponent implements OnInit {
|
|
7
|
+
private fileManagerService;
|
|
8
|
+
protected customToastrService: CustomToastrService;
|
|
9
|
+
form: DxFormComponent;
|
|
10
|
+
set visible(value: any);
|
|
11
|
+
get visible(): any;
|
|
12
|
+
visibleChange: EventEmitter<any>;
|
|
13
|
+
getSelectedFolder: EventEmitter<any>;
|
|
14
|
+
rtlEnabled: boolean;
|
|
15
|
+
selectedItem: any;
|
|
16
|
+
rootFolder: any;
|
|
17
|
+
rootEntries: any;
|
|
18
|
+
selectedItems: any;
|
|
19
|
+
directory: any;
|
|
20
|
+
formData: any;
|
|
21
|
+
disable: boolean;
|
|
22
|
+
_visible: boolean;
|
|
23
|
+
currentItem: any;
|
|
24
|
+
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
cancel(): void;
|
|
27
|
+
selectItem(e: any): void;
|
|
28
|
+
createTreeNodeChildren: (parent: any) => any;
|
|
29
|
+
move(answer: any): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MoveComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MoveComponent, "app-move", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItem": "selectedItem"; "rootFolder": "rootFolder"; "rootEntries": "rootEntries"; "selectedItems": "selectedItems"; "directory": "directory"; }, { "visibleChange": "visibleChange"; "getSelectedFolder": "getSelectedFolder"; }, never, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { FormGroup } from '@angular/forms';
|
|
5
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
6
|
+
import { PublishingDocumentService } from '../../../../shared-services/publishing-document.service';
|
|
7
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class PublishDialogComponent implements OnInit, OnDestroy {
|
|
10
|
+
private publishing;
|
|
11
|
+
private dialogRef;
|
|
12
|
+
data: any;
|
|
13
|
+
private tosterService;
|
|
14
|
+
private translate;
|
|
15
|
+
sections: any[];
|
|
16
|
+
subscribtion: Subscription[];
|
|
17
|
+
startPublishing: boolean;
|
|
18
|
+
fetchedVersionDoc: any;
|
|
19
|
+
renditionList: {
|
|
20
|
+
name: any;
|
|
21
|
+
value: string;
|
|
22
|
+
}[];
|
|
23
|
+
initialRenditionValue: string;
|
|
24
|
+
PublicationForm: FormGroup;
|
|
25
|
+
constructor(publishing: PublishingDocumentService, dialogRef: MatDialogRef<PublishDialogComponent>, data: any, tosterService: CustomToastrService, translate: TranslateService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
close(): void;
|
|
28
|
+
publish(): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PublishDialogComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PublishDialogComponent, "app-publish-dialog", never, {}, {}, never, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DxFormComponent } from 'devextreme-angular';
|
|
3
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
4
|
+
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RenameComponent implements OnInit {
|
|
7
|
+
private fileManagerService;
|
|
8
|
+
protected customToastrService: CustomToastrService;
|
|
9
|
+
form: DxFormComponent;
|
|
10
|
+
set visible(value: any);
|
|
11
|
+
get visible(): any;
|
|
12
|
+
visibleChange: EventEmitter<any>;
|
|
13
|
+
refresh: EventEmitter<any>;
|
|
14
|
+
rtlEnabled: boolean;
|
|
15
|
+
selectedItems: any;
|
|
16
|
+
directory: any;
|
|
17
|
+
formData: any;
|
|
18
|
+
loading: boolean;
|
|
19
|
+
_visible: boolean;
|
|
20
|
+
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
onFormSubmit(e: any): Promise<void>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RenameComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RenameComponent, "app-rename", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItems": "selectedItems"; "directory": "directory"; }, { "visibleChange": "visibleChange"; "refresh": "refresh"; }, never, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { UploadManagmentService } from '../../../../shared-services/upload-managment.service';
|
|
5
|
+
import { DialogMangmentService } from '../../../../shared-services/dialog-mangment.service';
|
|
6
|
+
import { DynamicFormService } from '../../../../shared-services/dynamic-form.service';
|
|
7
|
+
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
8
|
+
import { UserService } from '../../../../shared-services/user.service';
|
|
9
|
+
import { Subscription } from 'rxjs';
|
|
10
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
11
|
+
import { DocumentScanService } from '../../../documents/components/document-scan/document-scan.service';
|
|
12
|
+
import { DateHelperService } from '../../../hijri-gregorian-datepicker/services/date-helper.service';
|
|
13
|
+
import { AdapterService } from '../../../../Core/adapters/adapter.service';
|
|
14
|
+
import { TranslationService } from '../../../../Core/services/translation/translation.service';
|
|
15
|
+
import { NuxeoService } from '../../../../Core/services/nuxeo/nuxeo.service';
|
|
16
|
+
import { AppConfigService } from '../../../../configuration/app-config.service';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
export declare class ScanModalComponent implements OnInit {
|
|
19
|
+
data: any;
|
|
20
|
+
dialogRef: MatDialogRef<ScanModalComponent>;
|
|
21
|
+
uploadMangmentService: UploadManagmentService;
|
|
22
|
+
dialogMangmentService: DialogMangmentService;
|
|
23
|
+
private fileMangerService;
|
|
24
|
+
private tosterService;
|
|
25
|
+
private formBuilder;
|
|
26
|
+
private dynamicFormService;
|
|
27
|
+
private dateHelperService;
|
|
28
|
+
private adapter;
|
|
29
|
+
private translationService;
|
|
30
|
+
private nuxeoService;
|
|
31
|
+
private userService;
|
|
32
|
+
private appConfService;
|
|
33
|
+
private envirnoment;
|
|
34
|
+
private documentScanService;
|
|
35
|
+
scannerUploadButton: any;
|
|
36
|
+
fileType: any;
|
|
37
|
+
source: any;
|
|
38
|
+
activeTab: string;
|
|
39
|
+
createWhenFinishMode: boolean;
|
|
40
|
+
myEnvironment: any;
|
|
41
|
+
selectedFile: {
|
|
42
|
+
staticData: {};
|
|
43
|
+
fileType: string;
|
|
44
|
+
dynamicForm: string;
|
|
45
|
+
dynamicData: {
|
|
46
|
+
valid: boolean;
|
|
47
|
+
data: {};
|
|
48
|
+
};
|
|
49
|
+
file: string;
|
|
50
|
+
};
|
|
51
|
+
temporaryDyanmicData: {};
|
|
52
|
+
showRenderer: boolean;
|
|
53
|
+
uploadStartSubscription: Subscription;
|
|
54
|
+
fileChangeSubscription: Subscription;
|
|
55
|
+
fileFormSubscription: Subscription;
|
|
56
|
+
agencyCategCodeSubscription: Subscription;
|
|
57
|
+
countryCategCodeSubscription: Subscription;
|
|
58
|
+
langSubscription: Subscription;
|
|
59
|
+
isArabic: boolean;
|
|
60
|
+
showStaticForm: boolean;
|
|
61
|
+
usingExtraFields: boolean;
|
|
62
|
+
fileForm: FormGroup;
|
|
63
|
+
staticFormFields: any;
|
|
64
|
+
agencyNameFilter: any;
|
|
65
|
+
countryNameFilter: any;
|
|
66
|
+
constructor(data: any, dialogRef: MatDialogRef<ScanModalComponent>, uploadMangmentService: UploadManagmentService, dialogMangmentService: DialogMangmentService, fileMangerService: FileManagerService, tosterService: CustomToastrService, formBuilder: FormBuilder, dynamicFormService: DynamicFormService, dateHelperService: DateHelperService, adapter: AdapterService, translationService: TranslationService, nuxeoService: NuxeoService, userService: UserService, appConfService: AppConfigService, envirnoment: any, documentScanService: DocumentScanService);
|
|
67
|
+
ngOnInit(): void;
|
|
68
|
+
initiatfileForm(): void;
|
|
69
|
+
openSubscriptions(): void;
|
|
70
|
+
onUploading(event: any): void;
|
|
71
|
+
ondynamicFormChange(dynamicData: any): void;
|
|
72
|
+
closeDialog(): void;
|
|
73
|
+
minimizDialog(): void;
|
|
74
|
+
removeSubscription(): void;
|
|
75
|
+
startAddingProperties(): void;
|
|
76
|
+
createDocument(): void;
|
|
77
|
+
constructPayLoad(file: any): {
|
|
78
|
+
params: {
|
|
79
|
+
document: {
|
|
80
|
+
type: any;
|
|
81
|
+
name: any;
|
|
82
|
+
properties: any;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
originFile: any;
|
|
86
|
+
};
|
|
87
|
+
mappingStaticData(data: any): any;
|
|
88
|
+
constructDynamicFormPayload(file: any): {};
|
|
89
|
+
createWhenFinish(): void;
|
|
90
|
+
changTabTo(tabName: any): void;
|
|
91
|
+
checkValidation(): boolean;
|
|
92
|
+
ngOnDestroy(): void;
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScanModalComponent, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScanModalComponent, "app-scan-modal", never, {}, {}, never, never>;
|
|
95
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
6
|
+
import { TranslationService } from '../../../../Core/services/translation/translation.service';
|
|
7
|
+
import { NuxeoService } from '../../../../Core/services/nuxeo/nuxeo.service';
|
|
8
|
+
import { UserPreferencesService } from '../../../../Core/services/user/user-preferences.service';
|
|
9
|
+
import { SharedDocsService } from '../../../../shared-services/shared-docs.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class ShareDialogComponent implements OnInit, OnDestroy {
|
|
12
|
+
data: any;
|
|
13
|
+
private dialogRef;
|
|
14
|
+
private dialog;
|
|
15
|
+
private fb;
|
|
16
|
+
private shared;
|
|
17
|
+
private tosterService;
|
|
18
|
+
private translateService;
|
|
19
|
+
private nuxeoService;
|
|
20
|
+
private userPreferenceService;
|
|
21
|
+
selectedItem: any;
|
|
22
|
+
selectedItemType: any;
|
|
23
|
+
shareForm: FormGroup;
|
|
24
|
+
selectedUsers: any[];
|
|
25
|
+
subscriptions$: Subscription[];
|
|
26
|
+
mySharedata: any;
|
|
27
|
+
sharedList: any[];
|
|
28
|
+
sharedListUser: any[];
|
|
29
|
+
depUsers: any[];
|
|
30
|
+
allowUsersToShare: any[];
|
|
31
|
+
forbiddenUsers: any[];
|
|
32
|
+
isSharedBefore: any[];
|
|
33
|
+
currentUser: any;
|
|
34
|
+
sameCurrentUser: boolean;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
rights: any[];
|
|
37
|
+
copied: boolean;
|
|
38
|
+
shareableUrl: string;
|
|
39
|
+
typeToUrl: any;
|
|
40
|
+
isArabic: boolean;
|
|
41
|
+
private onDestroy$;
|
|
42
|
+
locale: any;
|
|
43
|
+
constructor(data: any, dialogRef: MatDialogRef<ShareDialogComponent>, dialog: MatDialog, fb: FormBuilder, shared: SharedDocsService, tosterService: CustomToastrService, translateService: TranslationService, nuxeoService: NuxeoService, userPreferenceService: UserPreferencesService);
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
removeFromForbiddenArr(event: any): void;
|
|
46
|
+
copy(): void;
|
|
47
|
+
setUser(users: any): void;
|
|
48
|
+
setRight(event: any): void;
|
|
49
|
+
close(): void;
|
|
50
|
+
checkIfCanViewSecret(): import("rxjs").Observable<any[]>;
|
|
51
|
+
doShare(users: any): void;
|
|
52
|
+
share(): void;
|
|
53
|
+
openDialog(functionToDo: any, username?: any, sharedMode?: any): void;
|
|
54
|
+
getMyShare(): void;
|
|
55
|
+
ngOnDestroy(): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShareDialogComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShareDialogComponent, "app-share-dialog", never, {}, {}, never, never>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
2
|
+
import { EventEmitter, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import { DialogMangmentService } from '../../../../shared-services/dialog-mangment.service';
|
|
5
|
+
import { DynamicFormService } from '../../../../shared-services/dynamic-form.service';
|
|
6
|
+
import { SharedDocsService } from '../../../../shared-services/shared-docs.service';
|
|
7
|
+
import { Subscription } from 'rxjs';
|
|
8
|
+
import { UserPreferencesService } from '../../../../Core/services/user/user-preferences.service';
|
|
9
|
+
import { DocumentsService } from '../../../documents/services/documents.service';
|
|
10
|
+
import { TagsApiService } from '../../../cts-tags/services/tags-api.service';
|
|
11
|
+
import { TranslationService } from '../../../../Core/services/translation/translation.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class SidepanelComponent implements OnInit, OnDestroy {
|
|
14
|
+
datePipe: DatePipe;
|
|
15
|
+
private userPreferenceService;
|
|
16
|
+
dialogMangmentService: DialogMangmentService;
|
|
17
|
+
private dynamicFormService;
|
|
18
|
+
private documentService;
|
|
19
|
+
private tagsApiService;
|
|
20
|
+
private translationService;
|
|
21
|
+
private dialog;
|
|
22
|
+
private shared;
|
|
23
|
+
detailsTemplate: TemplateRef<any>;
|
|
24
|
+
commentsTemplate: TemplateRef<any>;
|
|
25
|
+
activityTemplate: TemplateRef<any>;
|
|
26
|
+
permissionsTemplate: TemplateRef<any>;
|
|
27
|
+
filesTemplate: TemplateRef<any>;
|
|
28
|
+
private onDestroy$;
|
|
29
|
+
selectedItem: any;
|
|
30
|
+
menuOpen: boolean;
|
|
31
|
+
sourcePage: string;
|
|
32
|
+
allowAddAndBlock: boolean;
|
|
33
|
+
sideMenuLoading: boolean;
|
|
34
|
+
onCloseSideMenu: EventEmitter<any>;
|
|
35
|
+
dynamicForm: any;
|
|
36
|
+
dynamicFormData: any;
|
|
37
|
+
rtlEnabled: boolean;
|
|
38
|
+
isArabic: boolean;
|
|
39
|
+
sideMenuFileDetails: any;
|
|
40
|
+
showDetails: boolean;
|
|
41
|
+
myTabs: any[];
|
|
42
|
+
multiSelectedkeys: string[];
|
|
43
|
+
languageSubscription: Subscription;
|
|
44
|
+
tagsSubscription: Subscription;
|
|
45
|
+
sharedSub: Subscription;
|
|
46
|
+
sharedData: any[];
|
|
47
|
+
sharedList: any[];
|
|
48
|
+
sharedListUser: any[];
|
|
49
|
+
constructor(datePipe: DatePipe, userPreferenceService: UserPreferencesService, dialogMangmentService: DialogMangmentService, dynamicFormService: DynamicFormService, documentService: DocumentsService, tagsApiService: TagsApiService, translationService: TranslationService, dialog: MatDialog, shared: SharedDocsService);
|
|
50
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
51
|
+
ngOnInit(): void;
|
|
52
|
+
openUpdateFromSideMenu(): void;
|
|
53
|
+
openUpdateModal(): void;
|
|
54
|
+
customeHeader: string;
|
|
55
|
+
openSideMenuDetails(): void;
|
|
56
|
+
closeDetailsMenu(): void;
|
|
57
|
+
checkForClass(className: any): boolean;
|
|
58
|
+
getSharesByMe(): void;
|
|
59
|
+
ngOnDestroy(): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidepanelComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidepanelComponent, "app-sidepanel", never, { "selectedItem": "selectedItem"; "menuOpen": "menuOpen"; "sourcePage": "sourcePage"; "allowAddAndBlock": "allowAddAndBlock"; }, { "onCloseSideMenu": "onCloseSideMenu"; }, never, never>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { UploadManagmentService } from '../../../../shared-services/upload-managment.service';
|
|
4
|
+
import { DialogMangmentService } from '../../../../shared-services/dialog-mangment.service';
|
|
5
|
+
import { DynamicFormService } from '../../../../shared-services/dynamic-form.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TemplateModalComponent implements OnInit {
|
|
8
|
+
data: any;
|
|
9
|
+
uploadMangmentService: UploadManagmentService;
|
|
10
|
+
dialogRef: MatDialogRef<TemplateModalComponent>;
|
|
11
|
+
dialogMangmentService: DialogMangmentService;
|
|
12
|
+
private dynamicFormService;
|
|
13
|
+
fileType: any;
|
|
14
|
+
source: any;
|
|
15
|
+
selectedFile: {
|
|
16
|
+
title: string;
|
|
17
|
+
description: string;
|
|
18
|
+
fileType: string;
|
|
19
|
+
dynamicForm: string;
|
|
20
|
+
dynamicData: {
|
|
21
|
+
valid: boolean;
|
|
22
|
+
data: {};
|
|
23
|
+
};
|
|
24
|
+
file: string;
|
|
25
|
+
};
|
|
26
|
+
showRenderer: boolean;
|
|
27
|
+
temporaryDyanmicData: {};
|
|
28
|
+
constructor(data: any, uploadMangmentService: UploadManagmentService, dialogRef: MatDialogRef<TemplateModalComponent>, dialogMangmentService: DialogMangmentService, dynamicFormService: DynamicFormService);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
ondynamicFormChange(dynamicData: any): void;
|
|
31
|
+
closeDialog(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateModalComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateModalComponent, "app-template-modal", never, {}, {}, never, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
4
|
+
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TransferDocComponent implements OnInit {
|
|
7
|
+
private route;
|
|
8
|
+
private fileMangerService;
|
|
9
|
+
private customToastrService;
|
|
10
|
+
set visible(value: any);
|
|
11
|
+
get visible(): any;
|
|
12
|
+
visibleChange: EventEmitter<any>;
|
|
13
|
+
refresh: EventEmitter<any>;
|
|
14
|
+
rtlEnabled: boolean;
|
|
15
|
+
rootFolder: any;
|
|
16
|
+
_visible: boolean;
|
|
17
|
+
currentItem: any;
|
|
18
|
+
constructor(route: ActivatedRoute, fileMangerService: FileManagerService, customToastrService: CustomToastrService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
transferDocument(): void;
|
|
21
|
+
cancel(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransferDocComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransferDocComponent, "app-transfer-doc", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "rootFolder": "rootFolder"; }, { "visibleChange": "visibleChange"; "refresh": "refresh"; }, never, never>;
|
|
24
|
+
}
|