nuxeo-development-framework 3.0.0 → 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 +430 -75
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/icon.service.js +3 -3
- package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +264 -0
- package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +9 -8
- package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +18 -17
- package/esm2015/lib/components/file-manger/file-manager.abstract.js +30 -3
- package/esm2015/lib/components/file-manger/file-manger.module.js +28 -8
- package/esm2015/lib/shared-services/file-manager.service.js +62 -10
- package/esm2015/lib/shared-services/mainfolder.service.js +17 -14
- package/esm2015/public-api.js +2 -1
- package/fesm2015/nuxeo-development-framework.js +422 -75
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/file-manger/components/clipboard/clipboard.component.d.ts +41 -0
- package/lib/components/file-manger/file-manager.abstract.d.ts +4 -0
- package/lib/components/file-manger/file-manger.module.d.ts +37 -33
- package/lib/shared-services/file-manager.service.d.ts +6 -1
- package/lib/shared-services/mainfolder.service.d.ts +7 -4
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
3
|
+
import { UserService } from '../../../../shared-services/user.service';
|
|
4
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
5
|
+
import { UserPreferencesService } from '../../../../Core/services/user/user-preferences.service';
|
|
6
|
+
import { Subscription } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ClipboardComponent implements OnInit, OnDestroy {
|
|
9
|
+
private fileManagerService;
|
|
10
|
+
private userService;
|
|
11
|
+
private customToastrService;
|
|
12
|
+
private userPreferenceService;
|
|
13
|
+
onClipboardClose: EventEmitter<any>;
|
|
14
|
+
onRefreshFolderTree: EventEmitter<any>;
|
|
15
|
+
clipboardItems: any[];
|
|
16
|
+
myCurrecntFolderData: any;
|
|
17
|
+
preventedGroups: any[];
|
|
18
|
+
directory: any;
|
|
19
|
+
clipboardDocments: any[];
|
|
20
|
+
enableCopy: boolean;
|
|
21
|
+
enableMove: boolean;
|
|
22
|
+
clipboardLoading: boolean;
|
|
23
|
+
documentSelectedInClipboard: any[];
|
|
24
|
+
myTargetFolderAcceptedChildrens: any;
|
|
25
|
+
refreshClipSubscription: Subscription;
|
|
26
|
+
constructor(fileManagerService: FileManagerService, userService: UserService, customToastrService: CustomToastrService, userPreferenceService: UserPreferencesService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
closeClipboard(): void;
|
|
30
|
+
openClipboard(): void;
|
|
31
|
+
checkIfNotTheSameParent(document: any): boolean;
|
|
32
|
+
deletefromClipboard(document: any): void;
|
|
33
|
+
canPerformActionInsideTarget(document: any): boolean;
|
|
34
|
+
checkIfInPreventedGroups(path: any): boolean;
|
|
35
|
+
copyFromInsideClipboard(): void;
|
|
36
|
+
moveFromInsideClipboard(): void;
|
|
37
|
+
removeItemsAfterActionDone(selectedItems: any): void;
|
|
38
|
+
checking(): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClipboardComponent, "lib-clipboard", never, { "clipboardItems": "clipboardItems"; "myCurrecntFolderData": "myCurrecntFolderData"; "preventedGroups": "preventedGroups"; "directory": "directory"; }, { "onClipboardClose": "onClipboardClose"; "onRefreshFolderTree": "onRefreshFolderTree"; }, never, never>;
|
|
41
|
+
}
|
|
@@ -84,6 +84,9 @@ export declare class FileManagerAbstract implements OnDestroy, OnInit, AfterView
|
|
|
84
84
|
myCurrecntFolderData: any;
|
|
85
85
|
myFileMangerInstance: any;
|
|
86
86
|
newSelectedWithIdPrefix: string;
|
|
87
|
+
clipboardItems: any[];
|
|
88
|
+
showClipboard: boolean;
|
|
89
|
+
showDgdaClipboard: boolean;
|
|
87
90
|
cancelButton: {
|
|
88
91
|
text: string;
|
|
89
92
|
onClick: () => void;
|
|
@@ -159,6 +162,7 @@ export declare class FileManagerAbstract implements OnDestroy, OnInit, AfterView
|
|
|
159
162
|
getFormForFolderCreation(folderType: any): void;
|
|
160
163
|
openCreateFolderDialog(folderType: any, dynamicform: any): void;
|
|
161
164
|
openPublishModal: () => void;
|
|
165
|
+
addToClipboard: () => void;
|
|
162
166
|
customizeIcon: (fileSystemItem: any) => string;
|
|
163
167
|
checkForClass(className: any): boolean;
|
|
164
168
|
openSideMenuDetails(): void;
|
|
@@ -16,40 +16,44 @@ import * as i14 from "./components/scan-modal/scan-modal.component";
|
|
|
16
16
|
import * as i15 from "./components/share-dialog/share-dialog.component";
|
|
17
17
|
import * as i16 from "./components/template-modal/template-modal.component";
|
|
18
18
|
import * as i17 from "./components/update-modal/update-modal.component";
|
|
19
|
-
import * as i18 from "
|
|
20
|
-
import * as i19 from "@angular/
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "devextreme-angular
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "../
|
|
32
|
-
import * as i31 from "../
|
|
33
|
-
import * as i32 from "../
|
|
34
|
-
import * as i33 from "
|
|
35
|
-
import * as i34 from "@angular/material/
|
|
36
|
-
import * as i35 from "
|
|
37
|
-
import * as i36 from "../
|
|
38
|
-
import * as i37 from "../
|
|
39
|
-
import * as i38 from "
|
|
40
|
-
import * as i39 from "
|
|
41
|
-
import * as i40 from "
|
|
42
|
-
import * as i41 from "
|
|
43
|
-
import * as i42 from "../
|
|
44
|
-
import * as i43 from "
|
|
45
|
-
import * as i44 from "
|
|
46
|
-
import * as i45 from "../
|
|
47
|
-
import * as i46 from "../
|
|
48
|
-
import * as i47 from "../
|
|
49
|
-
import * as i48 from "
|
|
50
|
-
import * as i49 from "
|
|
19
|
+
import * as i18 from "./components/clipboard/clipboard.component";
|
|
20
|
+
import * as i19 from "@angular/common";
|
|
21
|
+
import * as i20 from "@angular/material/icon";
|
|
22
|
+
import * as i21 from "../dynamic-form/dynamic-form.module";
|
|
23
|
+
import * as i22 from "@angular/forms";
|
|
24
|
+
import * as i23 from "../../shared/libraryShared.module";
|
|
25
|
+
import * as i24 from "@ngx-translate/core";
|
|
26
|
+
import * as i25 from "../documents/documents.module";
|
|
27
|
+
import * as i26 from "../../directive/directive.module";
|
|
28
|
+
import * as i27 from "devextreme-angular";
|
|
29
|
+
import * as i28 from "devextreme-angular/ui/nested";
|
|
30
|
+
import * as i29 from "@ng-select/ng-select";
|
|
31
|
+
import * as i30 from "../comments/comments.module";
|
|
32
|
+
import * as i31 from "../card/card.module";
|
|
33
|
+
import * as i32 from "../viewer-log/viewer-log.module";
|
|
34
|
+
import * as i33 from "../cts-tags/cts-tags.module";
|
|
35
|
+
import * as i34 from "@angular/material/dialog";
|
|
36
|
+
import * as i35 from "@angular/material/tooltip";
|
|
37
|
+
import * as i36 from "../correspondence-relation/correspondence-relation.module";
|
|
38
|
+
import * as i37 from "../avatar/avatar.module";
|
|
39
|
+
import * as i38 from "../dynamic-fields-renderer/dynamic-fields-renderer.module";
|
|
40
|
+
import * as i39 from "@angular/material/progress-spinner";
|
|
41
|
+
import * as i40 from "../select-users-by-department/select-users-by-department.module";
|
|
42
|
+
import * as i41 from "../../pipes/pipes.module";
|
|
43
|
+
import * as i42 from "../dynamic-tabs/dynamic-tabs.module";
|
|
44
|
+
import * as i43 from "../activities-log/activities-log.module";
|
|
45
|
+
import * as i44 from "../../shared-services/shared-services.module";
|
|
46
|
+
import * as i45 from "../confirmation-dialog/confirmation-dialog.module";
|
|
47
|
+
import * as i46 from "../permissions/permissions.module";
|
|
48
|
+
import * as i47 from "../user/user.module";
|
|
49
|
+
import * as i48 from "../mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module";
|
|
50
|
+
import * as i49 from "@angular/platform-browser";
|
|
51
|
+
import * as i50 from "../attachment-modal/attachment-modal.module";
|
|
52
|
+
import * as i51 from "../display-suitable-icon/display-suitable-icon.module";
|
|
53
|
+
import * as i52 from "@angular/material/progress-bar";
|
|
54
|
+
import * as i53 from "@angular/material/checkbox";
|
|
51
55
|
export declare class FileMangerModule {
|
|
52
56
|
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
|
|
57
|
+
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.ClipboardComponent], [typeof i19.CommonModule, typeof i20.MatIconModule, typeof i21.DynamicFormModule, typeof i22.FormsModule, typeof i22.ReactiveFormsModule, typeof i23.LibrarySharedModule, typeof i24.TranslateModule, typeof i25.DocumentsModule, typeof i26.DirectiveModule, typeof i27.DxPopupModule, typeof i27.DxScrollViewModule, typeof i28.DxiToolbarItemModule, typeof i27.DxButtonModule, typeof i27.DxTemplateModule, typeof i27.DxTextBoxModule, typeof i27.DxFormModule, typeof i29.NgSelectModule, typeof i30.CommentsModule, typeof i31.CardModule, typeof i27.DxTreeViewModule, typeof i32.ViewerLogModule, typeof i33.CtsTagsModule, typeof i34.MatDialogModule, typeof i35.MatTooltipModule, typeof i36.CorrespondenceRelationModule, typeof i37.AvatarModule, typeof i38.DynamicFieldsRendererModule, typeof i39.MatProgressSpinnerModule, typeof i40.SelectUsersByDepartmentModule, typeof i41.PipesModule, typeof i42.DynamicTabsModule, typeof i43.ActivitiesLogModule, typeof i44.SharedServicesModule, typeof i45.ConfirmationDialogModule, typeof i46.PermissionsModule, typeof i47.UserModule, typeof i48.MutipleDynamicFormViewerModule, typeof i49.BrowserTransferStateModule, typeof i50.AttachmentModalModule, typeof i22.FormsModule, typeof i51.DisplaySuitableIconModule, typeof i52.MatProgressBarModule, typeof i53.MatCheckboxModule], [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 i27.DxPopupModule, typeof i27.DxScrollViewModule, typeof i28.DxiToolbarItemModule, typeof i27.DxButtonModule, typeof i27.DxTemplateModule, typeof i27.DxTextBoxModule, typeof i27.DxFormModule, typeof i27.DxTreeViewModule, typeof i18.ClipboardComponent]>;
|
|
54
58
|
static ɵinj: i0.ɵɵInjectorDeclaration<FileMangerModule>;
|
|
55
59
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
3
3
|
import { FileManagerAdapter } from './file-manager.adapter';
|
|
4
4
|
import { Observable, Subject, Subscriber, Subscription } from 'rxjs';
|
|
5
5
|
import { MainfolderService } from './mainfolder.service';
|
|
@@ -35,6 +35,7 @@ export declare class FileManagerService implements OnDestroy {
|
|
|
35
35
|
allFilesConfig: any;
|
|
36
36
|
selectedFolderId: any;
|
|
37
37
|
onRefreshingFileManger: Subject<any>;
|
|
38
|
+
onRefreshClipboard: EventEmitter<any>;
|
|
38
39
|
permissionsList: string[];
|
|
39
40
|
userPermittedTypes: any[];
|
|
40
41
|
userPermittedTypesTotalSize: number;
|
|
@@ -42,9 +43,13 @@ export declare class FileManagerService implements OnDestroy {
|
|
|
42
43
|
sharedFiles: any;
|
|
43
44
|
isArabic: boolean;
|
|
44
45
|
langSubscription: Subscription;
|
|
46
|
+
clipboardPermissionList: string[];
|
|
47
|
+
myPagesRootNames: any;
|
|
45
48
|
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
49
|
ngOnDestroy(): void;
|
|
47
50
|
setMyTableConfiguration(): void;
|
|
51
|
+
getClipboardAcceptedTypes(id: any): Observable<any>;
|
|
52
|
+
getClipboardDocuments(docIds: any, sortObj?: any): Observable<any>;
|
|
48
53
|
sortingTypes(types: any): any;
|
|
49
54
|
CreateLoanRequest(input: any, context: any, params?: {}): Observable<any>;
|
|
50
55
|
CreateTransferRequest(input: any, context: any, params?: {}): Observable<any>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { NuxeoService } from '../Core/services/nuxeo/nuxeo.service';
|
|
3
3
|
import { UserPreferencesService } from '../Core/services/user/user-preferences.service';
|
|
4
|
+
import { AppConfigService } from '../configuration/app-config.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class MainfolderService {
|
|
6
7
|
private nuxeoService;
|
|
8
|
+
private appConfigService;
|
|
7
9
|
private userPreference;
|
|
8
10
|
fileManager_mainFolderId: any;
|
|
9
11
|
category_mainFolderId: any;
|
|
@@ -11,16 +13,17 @@ export declare class MainfolderService {
|
|
|
11
13
|
myFilesManagerObj: any;
|
|
12
14
|
ArchiveManagerObj: any;
|
|
13
15
|
categoryObj: any;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
localStoragKeys: any;
|
|
17
|
+
constructor(nuxeoService: NuxeoService, appConfigService: AppConfigService, userPreference: UserPreferencesService);
|
|
18
|
+
fetchfileManager_mainFolderId(apiName?: any): Observable<any>;
|
|
16
19
|
fetchMyFilesManager_mainFolderId(): Observable<any>;
|
|
17
20
|
fetchArchiveManager_mainFolderId(): Observable<any>;
|
|
18
21
|
fetchcategory_mainFolderId(): Observable<any>;
|
|
19
|
-
save_fileManagerObj_ToLocalStorage(
|
|
22
|
+
save_fileManagerObj_ToLocalStorage(apiName?: string): Observable<any>;
|
|
20
23
|
save_myfilesManagerObj_ToLocalStorage(): Observable<any>;
|
|
21
24
|
save_ArchiveManagerObject_ToLocalStorage(): Observable<any>;
|
|
22
25
|
save_categoryObj_ToLocalStorage(): Observable<any>;
|
|
23
|
-
get_fileManagerObj_FromLocalStorage(): any;
|
|
26
|
+
get_fileManagerObj_FromLocalStorage(key?: any): any;
|
|
24
27
|
get_myFilesManagerObj_FromLocalStorage(): any;
|
|
25
28
|
get_ArchiveManagerObj_FromLocalStorage(): any;
|
|
26
29
|
get_categoryObj_FromLocalStorage(): any;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -138,6 +138,7 @@ export * from './lib/components/file-manger/components/scan-modal/scan-modal.com
|
|
|
138
138
|
export * from './lib/components/file-manger/components/share-dialog/share-dialog.component';
|
|
139
139
|
export * from './lib/components/file-manger/components/template-modal/template-modal.component';
|
|
140
140
|
export * from './lib/components/file-manger/components/update-modal/update-modal.component';
|
|
141
|
+
export * from './lib/components/file-manger/components/clipboard/clipboard.component';
|
|
141
142
|
export * from './lib/components/display-suitable-icon/display-suitable-icon.module';
|
|
142
143
|
export * from './lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component';
|
|
143
144
|
export * from './lib/components/display-suitable-icon/display-suitable-icon/icon.service';
|