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,169 @@
|
|
|
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, 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, OnDestroy, 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 * as i0 from "@angular/core";
|
|
23
|
+
export declare class FileManagerAbstract implements OnDestroy, OnInit, AfterViewChecked {
|
|
24
|
+
private injectorObj;
|
|
25
|
+
subscriptions: Subscription[];
|
|
26
|
+
contextMenuActions: any[];
|
|
27
|
+
fileManager: DxFileManagerComponent;
|
|
28
|
+
form: DxFormComponent;
|
|
29
|
+
treeView: DxTreeViewComponent;
|
|
30
|
+
clickout(event: any): void;
|
|
31
|
+
isItemSelected: boolean;
|
|
32
|
+
itemListView: any;
|
|
33
|
+
clicked: boolean;
|
|
34
|
+
fileManagerObj: any;
|
|
35
|
+
fileItems: any;
|
|
36
|
+
multiSelectedkeys: string[];
|
|
37
|
+
currentPath: string;
|
|
38
|
+
currentFolder: any;
|
|
39
|
+
path: any;
|
|
40
|
+
config: any;
|
|
41
|
+
configKey: string;
|
|
42
|
+
headers: any;
|
|
43
|
+
private onDestroy$;
|
|
44
|
+
fields: any;
|
|
45
|
+
pageProvider: string;
|
|
46
|
+
operation: any;
|
|
47
|
+
canCreate: boolean;
|
|
48
|
+
currentItem: any;
|
|
49
|
+
selectedItems: any;
|
|
50
|
+
selecteditemsNames: any;
|
|
51
|
+
selectedItem: any;
|
|
52
|
+
loading: boolean;
|
|
53
|
+
rtlEnabled: boolean;
|
|
54
|
+
isArabic: boolean;
|
|
55
|
+
menuDirection: string;
|
|
56
|
+
showDetails: boolean;
|
|
57
|
+
sideMenuLoading: boolean;
|
|
58
|
+
disable: boolean;
|
|
59
|
+
itemsSelected: any;
|
|
60
|
+
currentDirectory: any;
|
|
61
|
+
selectedItemLength: boolean;
|
|
62
|
+
multipleItems: any;
|
|
63
|
+
selectedItemsObjects: any[];
|
|
64
|
+
allowedFileTypes: any[];
|
|
65
|
+
allowedFolderTypes: any[];
|
|
66
|
+
loadingFolderTypes: boolean;
|
|
67
|
+
loadingFileTypes: boolean;
|
|
68
|
+
cancelableOperations: {
|
|
69
|
+
deletePopupVisible: boolean;
|
|
70
|
+
movePopupVisible: boolean;
|
|
71
|
+
copyPopupVisible: boolean;
|
|
72
|
+
transferPopupVisible: boolean;
|
|
73
|
+
loanPopupVisible: boolean;
|
|
74
|
+
createPopupVisible: boolean;
|
|
75
|
+
};
|
|
76
|
+
showfolderTemplates: boolean;
|
|
77
|
+
contextMenuItems: any[];
|
|
78
|
+
toolbarItems: any[];
|
|
79
|
+
lastFolderTrackId: any;
|
|
80
|
+
itemToDisplay: any;
|
|
81
|
+
tempSave: any;
|
|
82
|
+
directory: any;
|
|
83
|
+
selectedFolderPath: any;
|
|
84
|
+
myCurrecntFolderData: any;
|
|
85
|
+
myFileMangerInstance: any;
|
|
86
|
+
newSelectedWithIdPrefix: string;
|
|
87
|
+
cancelButton: {
|
|
88
|
+
text: string;
|
|
89
|
+
onClick: () => void;
|
|
90
|
+
};
|
|
91
|
+
moveTo: () => void;
|
|
92
|
+
copyTo: () => void;
|
|
93
|
+
delete: () => void;
|
|
94
|
+
transferTo: () => void;
|
|
95
|
+
loanRequest: () => void;
|
|
96
|
+
createFolder: () => void;
|
|
97
|
+
downloadFile: () => void;
|
|
98
|
+
refresh: () => void;
|
|
99
|
+
addToQuickAccess: () => void;
|
|
100
|
+
removeFromQuickAccess: () => void;
|
|
101
|
+
addToFavorites: () => void;
|
|
102
|
+
removeFromFavorites: () => void;
|
|
103
|
+
setSync: () => void;
|
|
104
|
+
unsetSync: () => void;
|
|
105
|
+
addToCollection: () => void;
|
|
106
|
+
subscribe_OR_unSubscribeToFile: () => void;
|
|
107
|
+
downloadAsZip: () => void;
|
|
108
|
+
trackedIdPropertyName: any;
|
|
109
|
+
mainFolder: any;
|
|
110
|
+
protected permissionEvaluatorService: EvaluatorsService;
|
|
111
|
+
protected fileManagerService: FileManagerService;
|
|
112
|
+
protected callApi: CallApiService;
|
|
113
|
+
protected adapter: AdapterService;
|
|
114
|
+
protected router: Router;
|
|
115
|
+
protected fileManagerAdapter: FileManagerAdapter;
|
|
116
|
+
protected translationService: TranslationService;
|
|
117
|
+
protected customToastrService: CustomToastrService;
|
|
118
|
+
protected appConfService: AppConfigService;
|
|
119
|
+
protected userPreferenceService: UserPreferencesService;
|
|
120
|
+
protected dialogMangmentService: DialogMangmentService;
|
|
121
|
+
protected uploadMangmentService: UploadManagmentService;
|
|
122
|
+
protected dialog: MatDialog;
|
|
123
|
+
protected documentScanService: DocumentScanService;
|
|
124
|
+
protected dynamicFormService: DynamicFormService;
|
|
125
|
+
protected route: ActivatedRoute;
|
|
126
|
+
protected shared: SharedDocsService;
|
|
127
|
+
protected iconService: IconService;
|
|
128
|
+
protected cdRef: ChangeDetectorRef;
|
|
129
|
+
protected nuxeoService: NuxeoService;
|
|
130
|
+
constructor(injectorObj: Injector, trackedIdPropertyName: String, environment: Object);
|
|
131
|
+
ngOnInit(): void;
|
|
132
|
+
ngAfterViewChecked(): void;
|
|
133
|
+
init(id: any, breadcrumbs?: any): void;
|
|
134
|
+
getFolderChildren(id: any): Observable<any>;
|
|
135
|
+
expandComp(entries: Observable<any>, breadcrumbs: any): any;
|
|
136
|
+
getCurrentDirectory(): any;
|
|
137
|
+
reinitializeFolderTree(id: any, directory: any, node?: any): Promise<void>;
|
|
138
|
+
showNoDataImage(data: any): void;
|
|
139
|
+
openShareDialog(): void;
|
|
140
|
+
setMyTableConfiguration(): void;
|
|
141
|
+
getSelectedFolderTree(id: any): void;
|
|
142
|
+
openUpdateModal(): void;
|
|
143
|
+
getSelectedItem(directory: any): any;
|
|
144
|
+
contextItemsParser(items?: any[]): any[];
|
|
145
|
+
onSelected(e: any): void;
|
|
146
|
+
onContextMenuShowing(e: any): void;
|
|
147
|
+
onContextItemClick({ itemData, viewArea, fileSystemItem }: {
|
|
148
|
+
itemData: any;
|
|
149
|
+
viewArea: any;
|
|
150
|
+
fileSystemItem: any;
|
|
151
|
+
}): void;
|
|
152
|
+
onToolbarItemClicked(e: any): void;
|
|
153
|
+
getCurrentFolderId(directory: any): any;
|
|
154
|
+
onItemClicked(e: any): Promise<void>;
|
|
155
|
+
checkForOpeningCreationDialog(fileType: any): void;
|
|
156
|
+
openCreationTypeDialog(fileType: any): void;
|
|
157
|
+
openDialog(component: any, fileType: any, creationMode: any, width: any, height: any, path?: any): void;
|
|
158
|
+
checkForCreateNewFolder(folderType: any): void;
|
|
159
|
+
getFormForFolderCreation(folderType: any): void;
|
|
160
|
+
openCreateFolderDialog(folderType: any, dynamicform: any): void;
|
|
161
|
+
openPublishModal: () => void;
|
|
162
|
+
customizeIcon: (fileSystemItem: any) => string;
|
|
163
|
+
checkForClass(className: any): boolean;
|
|
164
|
+
openSideMenuDetails(): void;
|
|
165
|
+
closeSideMenu(): void;
|
|
166
|
+
ngOnDestroy(): void;
|
|
167
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileManagerAbstract, never>;
|
|
168
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileManagerAbstract, "ng-component", never, {}, {}, never, never>;
|
|
169
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/sidepanel/sidepanel.component";
|
|
3
|
+
import * as i2 from "./components/copy/copy.component";
|
|
4
|
+
import * as i3 from "./components/delete/delete.component";
|
|
5
|
+
import * as i4 from "./components/move/move.component";
|
|
6
|
+
import * as i5 from "./components/rename/rename.component";
|
|
7
|
+
import * as i6 from "./components/add-to-collection/add-to-collection.component";
|
|
8
|
+
import * as i7 from "./components/transfer-doc/transfer-doc.component";
|
|
9
|
+
import * as i8 from "./components/loan-request/loan-request.component";
|
|
10
|
+
import * as i9 from "./components/create-directory/create-directory.component";
|
|
11
|
+
import * as i10 from "./components/create-modal/create-modal.component";
|
|
12
|
+
import * as i11 from "./components/creation-type/creation-type.component";
|
|
13
|
+
import * as i12 from "./components/folder-modal/folder-modal.component";
|
|
14
|
+
import * as i13 from "./components/publish-dialog/publish-dialog.component";
|
|
15
|
+
import * as i14 from "./components/scan-modal/scan-modal.component";
|
|
16
|
+
import * as i15 from "./components/share-dialog/share-dialog.component";
|
|
17
|
+
import * as i16 from "./components/template-modal/template-modal.component";
|
|
18
|
+
import * as i17 from "./components/update-modal/update-modal.component";
|
|
19
|
+
import * as i18 from "@angular/common";
|
|
20
|
+
import * as i19 from "@angular/material/icon";
|
|
21
|
+
import * as i20 from "../dynamic-form/dynamic-form.module";
|
|
22
|
+
import * as i21 from "@angular/forms";
|
|
23
|
+
import * as i22 from "../../shared/libraryShared.module";
|
|
24
|
+
import * as i23 from "@ngx-translate/core";
|
|
25
|
+
import * as i24 from "../documents/documents.module";
|
|
26
|
+
import * as i25 from "../../directive/directive.module";
|
|
27
|
+
import * as i26 from "devextreme-angular";
|
|
28
|
+
import * as i27 from "devextreme-angular/ui/nested";
|
|
29
|
+
import * as i28 from "@ng-select/ng-select";
|
|
30
|
+
import * as i29 from "../comments/comments.module";
|
|
31
|
+
import * as i30 from "../card/card.module";
|
|
32
|
+
import * as i31 from "../viewer-log/viewer-log.module";
|
|
33
|
+
import * as i32 from "../cts-tags/cts-tags.module";
|
|
34
|
+
import * as i33 from "@angular/material/dialog";
|
|
35
|
+
import * as i34 from "@angular/material/tooltip";
|
|
36
|
+
import * as i35 from "../correspondence-relation/correspondence-relation.module";
|
|
37
|
+
import * as i36 from "../avatar/avatar.module";
|
|
38
|
+
import * as i37 from "../dynamic-fields-renderer/dynamic-fields-renderer.module";
|
|
39
|
+
import * as i38 from "@angular/material/progress-spinner";
|
|
40
|
+
import * as i39 from "../select-users-by-department/select-users-by-department.module";
|
|
41
|
+
import * as i40 from "../../pipes/pipes.module";
|
|
42
|
+
import * as i41 from "../dynamic-tabs/dynamic-tabs.module";
|
|
43
|
+
import * as i42 from "../activities-log/activities-log.module";
|
|
44
|
+
import * as i43 from "../../shared-services/shared-services.module";
|
|
45
|
+
import * as i44 from "../confirmation-dialog/confirmation-dialog.module";
|
|
46
|
+
import * as i45 from "../permissions/permissions.module";
|
|
47
|
+
import * as i46 from "../user/user.module";
|
|
48
|
+
import * as i47 from "../mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module";
|
|
49
|
+
import * as i48 from "@angular/platform-browser";
|
|
50
|
+
import * as i49 from "../attachment-modal/attachment-modal.module";
|
|
51
|
+
export declare class FileMangerModule {
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileMangerModule, never>;
|
|
53
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FileMangerModule, [typeof i1.SidepanelComponent, typeof i2.CopyComponent, typeof i3.DeleteComponent, typeof i4.MoveComponent, typeof i5.RenameComponent, typeof i6.AddToCollectionComponent, typeof i7.TransferDocComponent, typeof i8.LoanRequestComponent, typeof i9.CreateDirectoryComponent, typeof i10.CreateModalComponent, typeof i11.CreationTypeComponent, typeof i12.FolderModalComponent, typeof i13.PublishDialogComponent, typeof i14.ScanModalComponent, typeof i15.ShareDialogComponent, typeof i16.TemplateModalComponent, typeof i17.UpdateModalComponent], [typeof i18.CommonModule, typeof i19.MatIconModule, typeof i20.DynamicFormModule, typeof i21.FormsModule, typeof i21.ReactiveFormsModule, typeof i22.LibrarySharedModule, typeof i23.TranslateModule, typeof i24.DocumentsModule, typeof i25.DirectiveModule, typeof i26.DxPopupModule, typeof i26.DxScrollViewModule, typeof i27.DxiToolbarItemModule, typeof i26.DxButtonModule, typeof i26.DxTemplateModule, typeof i26.DxTextBoxModule, typeof i26.DxFormModule, typeof i28.NgSelectModule, typeof i29.CommentsModule, typeof i30.CardModule, typeof i26.DxTreeViewModule, typeof i31.ViewerLogModule, typeof i32.CtsTagsModule, typeof i33.MatDialogModule, typeof i34.MatTooltipModule, typeof i35.CorrespondenceRelationModule, typeof i36.AvatarModule, typeof i37.DynamicFieldsRendererModule, typeof i38.MatProgressSpinnerModule, typeof i39.SelectUsersByDepartmentModule, typeof i40.PipesModule, typeof i41.DynamicTabsModule, typeof i42.ActivitiesLogModule, typeof i43.SharedServicesModule, typeof i44.ConfirmationDialogModule, typeof i45.PermissionsModule, typeof i46.UserModule, typeof i47.MutipleDynamicFormViewerModule, typeof i48.BrowserTransferStateModule, typeof i49.AttachmentModalModule], [typeof i1.SidepanelComponent, typeof i2.CopyComponent, typeof i3.DeleteComponent, typeof i4.MoveComponent, typeof i5.RenameComponent, typeof i6.AddToCollectionComponent, typeof i7.TransferDocComponent, typeof i8.LoanRequestComponent, typeof i9.CreateDirectoryComponent, typeof i10.CreateModalComponent, typeof i11.CreationTypeComponent, typeof i12.FolderModalComponent, typeof i13.PublishDialogComponent, typeof i14.ScanModalComponent, typeof i15.ShareDialogComponent, typeof i16.TemplateModalComponent, typeof i17.UpdateModalComponent, typeof i26.DxPopupModule, typeof i26.DxScrollViewModule, typeof i27.DxiToolbarItemModule, typeof i26.DxButtonModule, typeof i26.DxTemplateModule, typeof i26.DxTextBoxModule, typeof i26.DxFormModule, typeof i26.DxTreeViewModule]>;
|
|
54
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FileMangerModule>;
|
|
55
|
+
}
|
|
@@ -22,6 +22,8 @@ export declare class HijriDatepickerComponent {
|
|
|
22
22
|
constructor(calendar: NgbCalendar, formatter: NgbDateParserFormatter);
|
|
23
23
|
isHovered(date: NgbDate): boolean;
|
|
24
24
|
isInside(date: NgbDate): boolean;
|
|
25
|
+
isToday(date: any): any;
|
|
26
|
+
isSelectedDate(date: any): any;
|
|
25
27
|
isRange(date: NgbDate): boolean;
|
|
26
28
|
onDateSelection(date: any): void;
|
|
27
29
|
validateInput(currentValue: NgbDate | null, input: string): NgbDate | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { TranslationService } from '../../../Core/services/translation/translation.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MultipleDynamicFormViewerComponent implements OnInit, OnDestroy {
|
|
6
|
+
private translation;
|
|
7
|
+
form: any;
|
|
8
|
+
data: any;
|
|
9
|
+
list: any[];
|
|
10
|
+
isArabic: boolean;
|
|
11
|
+
languageSubscription: Subscription;
|
|
12
|
+
constructor(translation: TranslationService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultipleDynamicFormViewerComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultipleDynamicFormViewerComponent, "app-multiple-dynamic-form-viewer", never, { "form": "form"; "data": "data"; }, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
import * as i4 from "../../pipes/pipes.module";
|
|
6
|
+
export declare class MutipleDynamicFormViewerModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MutipleDynamicFormViewerModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MutipleDynamicFormViewerModule, [typeof i1.MultipleDynamicFormViewerComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.PipesModule], [typeof i1.MultipleDynamicFormViewerComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MutipleDynamicFormViewerModule>;
|
|
10
|
+
}
|
package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import { PermissionService } from '../permission.service';
|
|
6
|
+
import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
|
|
7
|
+
import { TranslationService } from '../../../Core/services/translation/translation.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AddPermissionsDialogComponent implements OnInit, OnDestroy {
|
|
10
|
+
private dialogRef;
|
|
11
|
+
permissionService: PermissionService;
|
|
12
|
+
private tosterService;
|
|
13
|
+
private fb;
|
|
14
|
+
private translate;
|
|
15
|
+
rights: any[];
|
|
16
|
+
id: any;
|
|
17
|
+
timeFrame: string;
|
|
18
|
+
newPermission: {};
|
|
19
|
+
state: any;
|
|
20
|
+
aclId: any;
|
|
21
|
+
username: any;
|
|
22
|
+
editableRight: any;
|
|
23
|
+
editableBegin: any;
|
|
24
|
+
editableEnd: any;
|
|
25
|
+
subscriptions$: Subscription[];
|
|
26
|
+
permissionForm: FormGroup;
|
|
27
|
+
creating: boolean;
|
|
28
|
+
updating: boolean;
|
|
29
|
+
createAndAdd: boolean;
|
|
30
|
+
refreshUsers: boolean;
|
|
31
|
+
constructor(dialogRef: MatDialogRef<AddPermissionsDialogComponent>, permissionService: PermissionService, tosterService: CustomToastrService, fb: FormBuilder, translate: TranslationService, data: any);
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
checkDates(group: FormGroup): {
|
|
34
|
+
notValid: boolean;
|
|
35
|
+
};
|
|
36
|
+
createandAddAnother(permissionForm: any, newPermission: any): void;
|
|
37
|
+
refreshUserArray(users: any): void;
|
|
38
|
+
create(newPermission: any): void;
|
|
39
|
+
edit(newPermission: any): void;
|
|
40
|
+
cancel(result: any): void;
|
|
41
|
+
ngOnDestroy(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddPermissionsDialogComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddPermissionsDialogComponent, "app-add-permissions-dialog", never, {}, {}, never, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { NuxeoService } from '../../Core/services/nuxeo/nuxeo.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PermissionService {
|
|
6
|
+
private nuxeoService;
|
|
7
|
+
private environment;
|
|
8
|
+
disableClickOutSide: boolean;
|
|
9
|
+
departmentUsers: any[];
|
|
10
|
+
createAndAddAnother: EventEmitter<any>;
|
|
11
|
+
constructor(nuxeoService: NuxeoService, environment: any);
|
|
12
|
+
getPermissionsForDocument(uid: any): Observable<any>;
|
|
13
|
+
blockPermissionInheritance(uid: any): Observable<unknown>;
|
|
14
|
+
unblockPermissionInheritance(uid: any): Observable<unknown>;
|
|
15
|
+
addNewLocalPermissions(uid: any, formData: any): Observable<unknown>;
|
|
16
|
+
editLocalPermissions(uid: any, formData: any): Observable<unknown>;
|
|
17
|
+
deleteLocalPermissions(uid: any, param: any): Observable<unknown>;
|
|
18
|
+
getDepMembers(deptTitle: any, params?: {}): Observable<any>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { PermissionService } from '../permission.service';
|
|
5
|
+
import { UserService } from '../../../shared-services/user.service';
|
|
6
|
+
import { EvaluatorsService } from '../../../directive/permissions/evaluators.service';
|
|
7
|
+
import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
|
|
8
|
+
import { TranslationService } from '../../../Core/services/translation/translation.service';
|
|
9
|
+
import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class PermissionsComponent implements OnInit, OnDestroy {
|
|
12
|
+
private permissionService;
|
|
13
|
+
private addPermissionsDialog;
|
|
14
|
+
private tosterService;
|
|
15
|
+
private translateService;
|
|
16
|
+
private nuxeoService;
|
|
17
|
+
private userServ;
|
|
18
|
+
private evaluatorService;
|
|
19
|
+
permissionsType: any;
|
|
20
|
+
documentId: any;
|
|
21
|
+
document: any;
|
|
22
|
+
allowAddAndBlock: any;
|
|
23
|
+
sourcePage: string;
|
|
24
|
+
subscriptions$: Subscription[];
|
|
25
|
+
userVisiblePermissions: any;
|
|
26
|
+
localPermissions: any[];
|
|
27
|
+
inheritedPermissions: any[];
|
|
28
|
+
departmentPermissions: any[];
|
|
29
|
+
sharePermissions: any[];
|
|
30
|
+
workflowPermissions: any[];
|
|
31
|
+
status: any;
|
|
32
|
+
allowAdd_Block_DeletePermission: boolean;
|
|
33
|
+
blockOrUnblock: boolean;
|
|
34
|
+
loading: boolean;
|
|
35
|
+
allDepartmentUsers: any[];
|
|
36
|
+
constructor(permissionService: PermissionService, addPermissionsDialog: MatDialog, tosterService: CustomToastrService, translateService: TranslationService, nuxeoService: NuxeoService, userServ: UserService, evaluatorService: EvaluatorsService);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
addPermissionLabel(arr: any, permissionArr: any): void;
|
|
39
|
+
isItemContainAdministratorGroup(element: any): boolean;
|
|
40
|
+
getPermissions(): void;
|
|
41
|
+
blockPermissionInheritance(): void;
|
|
42
|
+
unblockPermissionInheritance(): void;
|
|
43
|
+
addNewLocalPermissions(): void;
|
|
44
|
+
checkIfUserCanDoActionsOnPermissions(): void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionsComponent, "app-permissions", never, { "documentId": "documentId"; "document": "document"; "allowAddAndBlock": "allowAddAndBlock"; "sourcePage": "sourcePage"; }, {}, never, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { PermissionService } from '../permission.service';
|
|
4
|
+
import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PermissionsTemplateComponent implements OnInit {
|
|
7
|
+
private permissionService;
|
|
8
|
+
private tosterService;
|
|
9
|
+
private dialog;
|
|
10
|
+
allowDeleteAndEdit: boolean;
|
|
11
|
+
documentId: any;
|
|
12
|
+
userVisiblePermissions: any;
|
|
13
|
+
permissionsArray: any[];
|
|
14
|
+
getPermissions: EventEmitter<any>;
|
|
15
|
+
constructor(permissionService: PermissionService, tosterService: CustomToastrService, dialog: MatDialog);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
deletePermission(permission: any): void;
|
|
18
|
+
editPermission(permission: any, username: any, userVisiblePermissions: any, begin: any, end: any): void;
|
|
19
|
+
openDialog(permission: any): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsTemplateComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionsTemplateComponent, "app-permissions-template", never, { "allowDeleteAndEdit": "allowDeleteAndEdit"; "documentId": "documentId"; "userVisiblePermissions": "userVisiblePermissions"; "permissionsArray": "permissionsArray"; }, { "getPermissions": "getPermissions"; }, never, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./permissions/permissions.component";
|
|
3
|
+
import * as i2 from "./add-permissions-dialog/add-permissions-dialog.component";
|
|
4
|
+
import * as i3 from "./permissions-template/permissions-template.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@ngx-translate/core";
|
|
7
|
+
import * as i6 from "@angular/material/divider";
|
|
8
|
+
import * as i7 from "@angular/material/progress-bar";
|
|
9
|
+
import * as i8 from "@angular/material/progress-spinner";
|
|
10
|
+
import * as i9 from "../../shared-services/shared-services.module";
|
|
11
|
+
import * as i10 from "@angular/material/icon";
|
|
12
|
+
import * as i11 from "../../pipes/pipes.module";
|
|
13
|
+
import * as i12 from "@angular/forms";
|
|
14
|
+
import * as i13 from "../../directive/directive.module";
|
|
15
|
+
import * as i14 from "@ng-select/ng-select";
|
|
16
|
+
import * as i15 from "../avatar/avatar.module";
|
|
17
|
+
export declare class PermissionsModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PermissionsModule, [typeof i1.PermissionsComponent, typeof i2.AddPermissionsDialogComponent, typeof i3.PermissionsTemplateComponent], [typeof i4.CommonModule, typeof i5.TranslateModule, typeof i6.MatDividerModule, typeof i7.MatProgressBarModule, typeof i8.MatProgressSpinnerModule, typeof i9.SharedServicesModule, typeof i10.MatIconModule, typeof i11.PipesModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.DirectiveModule, typeof i14.NgSelectModule, typeof i15.AvatarModule], [typeof i1.PermissionsComponent, typeof i2.AddPermissionsDialogComponent, typeof i3.PermissionsTemplateComponent]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PermissionsModule>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./select-users-by-departments/select-users-by-departments.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../dynamic-form/dynamic-form.module";
|
|
6
|
+
import * as i5 from "@ngx-translate/core";
|
|
7
|
+
import * as i6 from "@ng-select/ng-select";
|
|
8
|
+
import * as i7 from "../avatar/avatar.module";
|
|
9
|
+
export declare class SelectUsersByDepartmentModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectUsersByDepartmentModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectUsersByDepartmentModule, [typeof i1.SelectUsersByDepartmentsComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DynamicFormModule, typeof i5.TranslateModule, typeof i6.NgSelectModule, typeof i7.AvatarModule], [typeof i1.SelectUsersByDepartmentsComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectUsersByDepartmentModule>;
|
|
13
|
+
}
|
|
@@ -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 DepartmentManagementService {
|
|
5
|
+
private nuxeoService;
|
|
6
|
+
constructor(nuxeoService: NuxeoService);
|
|
7
|
+
getDepMembers(deptTitle: any, params?: {}): Observable<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DepartmentManagementService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DepartmentManagementService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormGroup, NgControl } from '@angular/forms';
|
|
3
|
+
import { DepartmentManagementService } from './department-management.service';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SelectUsersByDepartmentsComponent implements OnInit, ControlValueAccessor, OnDestroy {
|
|
7
|
+
private departmentManagment;
|
|
8
|
+
private control;
|
|
9
|
+
display: string;
|
|
10
|
+
depLabel: string;
|
|
11
|
+
userLabel: string;
|
|
12
|
+
allowMultipleUsers: boolean;
|
|
13
|
+
formChanged: EventEmitter<any>;
|
|
14
|
+
sub$: Subscription;
|
|
15
|
+
depUsers: any[];
|
|
16
|
+
propagateChange: any;
|
|
17
|
+
validateFn: any;
|
|
18
|
+
onTouched: any;
|
|
19
|
+
depAnditsUsers: FormGroup;
|
|
20
|
+
reseting: boolean;
|
|
21
|
+
constructor(departmentManagment: DepartmentManagementService, control: NgControl);
|
|
22
|
+
isRequired(): boolean;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
writeValue(obj: any): void;
|
|
25
|
+
registerOnChange(fn: any): void;
|
|
26
|
+
registerOnTouched(fn: any): void;
|
|
27
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
28
|
+
getDepMembers(DepId: any): void;
|
|
29
|
+
setUser(): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectUsersByDepartmentsComponent, [null, { optional: true; self: true; }]>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectUsersByDepartmentsComponent, "app-select-users-by-departments", never, { "display": "display"; "depLabel": "depLabel"; "userLabel": "userLabel"; "allowMultipleUsers": "allowMultipleUsers"; }, { "formChanged": "formChanged"; }, never, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AppConfigService } from '../../../configuration/app-config.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UserComponent implements OnInit {
|
|
5
|
+
appconfService: AppConfigService;
|
|
6
|
+
user: any;
|
|
7
|
+
type: string;
|
|
8
|
+
constructor(appconfService: AppConfigService);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserComponent, "app-user", never, { "user": "user"; "type": "type"; }, {}, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./user/user.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../avatar/avatar.module";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
export declare class UserModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserModule, [typeof i1.UserComponent], [typeof i2.CommonModule, typeof i3.AvatarModule, typeof i4.TranslateModule], [typeof i1.UserComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UserModule>;
|
|
10
|
+
}
|
|
@@ -4,13 +4,14 @@ import * as i2 from "./rtl/set-rtl.directive";
|
|
|
4
4
|
import * as i3 from "./permissions/permissions.directive";
|
|
5
5
|
import * as i4 from "./rtl/set-dir-rtl.directive";
|
|
6
6
|
import * as i5 from "./app-has-role/app-has-role.directive";
|
|
7
|
-
import * as i6 from "
|
|
7
|
+
import * as i6 from "./drag-and-drop/drag-and-drop.directive";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
8
9
|
/**
|
|
9
10
|
* @title
|
|
10
11
|
* Directives Module
|
|
11
12
|
*/
|
|
12
13
|
export declare class DirectiveModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectiveModule, [typeof i1.ClickOutsideDirective, typeof i2.SetRtlDirective, typeof i3.PermissionsDirective, typeof i4.SetDirRtlDirective, typeof i5.AppHasRoleDirective], [typeof
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectiveModule, [typeof i1.ClickOutsideDirective, typeof i2.SetRtlDirective, typeof i3.PermissionsDirective, typeof i4.SetDirRtlDirective, typeof i5.AppHasRoleDirective, typeof i6.DragAndDropDirective], [typeof i7.CommonModule], [typeof i1.ClickOutsideDirective, typeof i2.SetRtlDirective, typeof i3.PermissionsDirective, typeof i4.SetDirRtlDirective, typeof i5.AppHasRoleDirective, typeof i6.DragAndDropDirective]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<DirectiveModule>;
|
|
16
17
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DragAndDropDirective {
|
|
4
|
+
fileDroped: EventEmitter<any>;
|
|
5
|
+
constructor();
|
|
6
|
+
onDragOver(evt: any): void;
|
|
7
|
+
onDragLeave(evt: any): void;
|
|
8
|
+
onDrop(evt: any): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DragAndDropDirective, "[appDragAndDrop]", never, {}, { "fileDroped": "fileDroped"; }, never>;
|
|
11
|
+
}
|
|
@@ -21,6 +21,6 @@ import * as i16 from "../directive/directive.module";
|
|
|
21
21
|
*/
|
|
22
22
|
export declare class LibrarySharedModule {
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibrarySharedModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LibrarySharedModule, [typeof i1.ReadMoreComponent, typeof i2.UserCardComponent, typeof i3.ButtonComponent, typeof i4.NoDataComponent, typeof i5.SpinnerComponent, typeof i6.ItemListComponent], [typeof i7.AvatarModule, typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.TranslateModule, typeof i11.MatProgressSpinnerModule, typeof
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LibrarySharedModule, [typeof i1.ReadMoreComponent, typeof i2.UserCardComponent, typeof i3.ButtonComponent, typeof i4.NoDataComponent, typeof i5.SpinnerComponent, typeof i6.ItemListComponent], [typeof i7.AvatarModule, typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.TranslateModule, typeof i11.MatProgressSpinnerModule, typeof i12.MatIconModule, typeof i13.MatListModule, typeof i14.MatMenuModule, typeof i15.AutocompleteLibModule, typeof i16.DirectiveModule], [typeof i2.UserCardComponent, typeof i1.ReadMoreComponent, typeof i10.TranslateModule, typeof i3.ButtonComponent, typeof i4.NoDataComponent, typeof i5.SpinnerComponent, typeof i6.ItemListComponent]>;
|
|
25
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<LibrarySharedModule>;
|
|
26
26
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DialogMangmentService {
|
|
4
|
+
private dialog;
|
|
5
|
+
minizedModal: boolean;
|
|
6
|
+
creationMode: string;
|
|
7
|
+
fileType: string;
|
|
8
|
+
addingFrom: string;
|
|
9
|
+
storedDynamicForm: string;
|
|
10
|
+
constructor(dialog: MatDialog);
|
|
11
|
+
openModal(component: any, type: any, creationMode: any, source: any, width: any, height: any, path?: any): void;
|
|
12
|
+
openMinimzedModal(component: any, width: any, height: any, path?: any): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogMangmentService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DialogMangmentService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { NuxeoService } from '../Core/services/nuxeo/nuxeo.service';
|
|
3
|
+
import { AppConfigService } from '../configuration/app-config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DynamicFormService {
|
|
6
|
+
private nuxeoService;
|
|
7
|
+
private environment;
|
|
8
|
+
private configService;
|
|
9
|
+
myPrefix: {};
|
|
10
|
+
dynamicFieldsOperations: any;
|
|
11
|
+
excludedSchemas: string[];
|
|
12
|
+
controlsTypes: string[];
|
|
13
|
+
constructor(nuxeoService: NuxeoService, environment: any, configService: AppConfigService);
|
|
14
|
+
getSchemaComponents(type: any): Observable<any>;
|
|
15
|
+
getSchemaComponentsFromFacets(schemaId: any): Observable<any>;
|
|
16
|
+
getDynamicForm(type: any): Observable<any>;
|
|
17
|
+
createFormJson(type: any, jsonObject: any): Observable<unknown>;
|
|
18
|
+
adapt(fields: any): any;
|
|
19
|
+
constructDynamicFormPayload(data: any, dynamicForm: any): {};
|
|
20
|
+
getUserSelectorValue(value: any): any;
|
|
21
|
+
removeNullValues(data: any): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DynamicFormService>;
|
|
24
|
+
}
|