@acorex/modules 19.4.3 → 19.4.5
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/conversation/README.md +113 -2
- package/conversation/index.d.ts +2 -14
- package/conversation/lib/const.d.ts +25 -6
- package/conversation/lib/conversation.module.d.ts +32 -3
- package/conversation/lib/entities/index.d.ts +2 -0
- package/conversation/lib/entities/message/index.d.ts +3 -0
- package/conversation/lib/entities/message/message.entity.d.ts +3 -0
- package/conversation/lib/entities/message/message.service.d.ts +10 -0
- package/conversation/lib/entities/message/message.types.d.ts +20 -0
- package/conversation/lib/entities/room/index.d.ts +3 -0
- package/conversation/lib/entities/room/room.entity.d.ts +3 -0
- package/conversation/lib/entities/room/room.service.d.ts +10 -0
- package/conversation/lib/entities/room/room.types.d.ts +8 -0
- package/conversation/lib/entity.provider.d.ts +12 -0
- package/conversation/lib/features/chat/chat-preview.helper.d.ts +68 -0
- package/conversation/lib/features/chat/chat.component.d.ts +42 -0
- package/conversation/lib/features/chat/chat.service.d.ts +101 -0
- package/conversation/lib/features/chat/chat.type.d.ts +38 -0
- package/conversation/lib/{entities → features}/chat/components/chat-item/chat-item.component.d.ts +6 -1
- package/conversation/lib/{entities → features}/chat/components/chat-preview/chat-preview.component.d.ts +3 -0
- package/conversation/lib/features/chat/index.d.ts +5 -0
- package/conversation/lib/{entities/comments/pages → features/comment}/comment-list-view.component.d.ts +12 -12
- package/conversation/lib/features/comment/comment.service.d.ts +66 -0
- package/conversation/lib/features/comment/comment.type.d.ts +45 -0
- package/conversation/lib/features/comment/index.d.ts +4 -0
- package/conversation/lib/features/index.d.ts +2 -0
- package/document-management/lib/entities/folder/folder.types.d.ts +3 -2
- package/document-management/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.d.ts +5 -2
- package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +22 -20
- package/document-management/lib/features/document-explorer/document-explorer.viewmodel.d.ts +22 -2
- package/document-management/lib/features/document-explorer/views/attachement-widget/attachment-widget.component.d.ts +52 -33
- package/document-management/lib/features/document-explorer/views/detail-panel/detail-panel.component.d.ts +52 -33
- package/document-management/lib/features/document-explorer/views/details/details-view.component.d.ts +52 -33
- package/document-management/lib/features/document-explorer/views/large-icons/large-icons-view.component.d.ts +52 -33
- package/document-management/lib/features/document-explorer/views/large-tiles/large-tiles-view.component.d.ts +52 -33
- package/document-management/lib/features/document-explorer/views/list/list-view.component.d.ts +52 -33
- package/document-management/lib/features/document-explorer/views/small-icons/small-icons-view.component.d.ts +52 -33
- package/document-management/lib/features/document-explorer/views/small-tiles/small-tiles-view.component.d.ts +52 -33
- package/document-management/lib/features/drive/drive.component.d.ts +52 -31
- package/document-management/lib/features/drive-choose/drive-choose.component.d.ts +49 -28
- package/document-management/lib/features/shared/components/document-type-choose-file/document-type-choose-file.component.d.ts +6 -6
- package/document-management/lib/features/shared/components/folder-path-breadcrumbs/folder-path-breadcrumbs.component.d.ts +21 -2
- package/document-management/lib/features/shared/document-manager.service.d.ts +177 -45
- package/document-management/lib/features/shared/document-manager.types.d.ts +2 -1
- package/document-management/lib/features/shared/index.d.ts +1 -0
- package/fesm2022/acorex-modules-application-management-module-designer.component-BJp8imYd.mjs +315 -0
- package/fesm2022/acorex-modules-application-management-module-designer.component-BJp8imYd.mjs.map +1 -0
- package/fesm2022/acorex-modules-application-management.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +7 -0
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +2382 -820
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-BpmG6Dyx.mjs → acorex-modules-document-management-acorex-modules-document-management-BATdoqJi.mjs} +1679 -2019
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BATdoqJi.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-DIF_t4fE.mjs → acorex-modules-document-management-attachment-widget.component-C1-gQepw.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-DIF_t4fE.mjs.map → acorex-modules-document-management-attachment-widget.component-C1-gQepw.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-ZMvsadWt.mjs +144 -0
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-ZMvsadWt.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-details-view.component-D0RIYrHB.mjs → acorex-modules-document-management-details-view.component-CvHIETNf.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-D0RIYrHB.mjs.map → acorex-modules-document-management-details-view.component-CvHIETNf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DMAQr0nK.mjs → acorex-modules-document-management-drive-choose.component-UTy9OISj.mjs} +29 -9
- package/fesm2022/acorex-modules-document-management-drive-choose.component-UTy9OISj.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-drive.component-Crh10Z5J.mjs +363 -0
- package/fesm2022/acorex-modules-document-management-drive.component-Crh10Z5J.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-C686Ec7s.mjs → acorex-modules-document-management-large-icons-view.component-BuV7MPG5.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-C686Ec7s.mjs.map → acorex-modules-document-management-large-icons-view.component-BuV7MPG5.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-0GpMVYv5.mjs → acorex-modules-document-management-large-tiles-view.component-CwYwVxoG.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-0GpMVYv5.mjs.map → acorex-modules-document-management-large-tiles-view.component-CwYwVxoG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-C1inszTC.mjs → acorex-modules-document-management-list-view.component-BHEwRA3m.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-C1inszTC.mjs.map → acorex-modules-document-management-list-view.component-BHEwRA3m.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-B7lgRLHi.mjs → acorex-modules-document-management-permission-definition.provider-B3qaYwRL.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-B7lgRLHi.mjs.map → acorex-modules-document-management-permission-definition.provider-B3qaYwRL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C9k8WgDG.mjs → acorex-modules-document-management-rename-node-dialog.component-CrcJm9jP.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C9k8WgDG.mjs.map → acorex-modules-document-management-rename-node-dialog.component-CrcJm9jP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-BGcUzNCv.mjs → acorex-modules-document-management-small-icons-view.component-CD5UORaq.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-BGcUzNCv.mjs.map → acorex-modules-document-management-small-icons-view.component-CD5UORaq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-CumumWvO.mjs → acorex-modules-document-management-small-tiles-view.component-cpc_xfbT.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-CumumWvO.mjs.map → acorex-modules-document-management-small-tiles-view.component-cpc_xfbT.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-ErtEMU89.mjs → acorex-modules-issue-management-acorex-modules-issue-management-DbVfrgVX.mjs} +5 -5
- package/fesm2022/acorex-modules-issue-management-acorex-modules-issue-management-DbVfrgVX.mjs.map +1 -0
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-B6k0Zn9C.mjs → acorex-modules-issue-management-capture-screen.component-_9mwJVkz.mjs} +2 -2
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-B6k0Zn9C.mjs.map → acorex-modules-issue-management-capture-screen.component-_9mwJVkz.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +5 -5
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-CP8zz-Bc.mjs → acorex-modules-organization-management-org-chart.page-CrOUUr4c.mjs} +1 -2
- package/fesm2022/acorex-modules-organization-management-org-chart.page-CrOUUr4c.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +2 -2
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-C9ZApxct.mjs → acorex-modules-platform-management-acorex-modules-platform-management-DtXOjIIK.mjs} +326 -87
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DtXOjIIK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-D50Xundj.mjs → acorex-modules-platform-management-list-version.component-DY4yMd8n.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-D50Xundj.mjs.map → acorex-modules-platform-management-list-version.component-DY4yMd8n.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-DsHGn3AZ.mjs → acorex-modules-platform-management-settings.provider-BO-1dmVc.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-settings.provider-DsHGn3AZ.mjs.map → acorex-modules-platform-management-settings.provider-BO-1dmVc.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +108 -0
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +20 -21
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +1 -1
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-3_Tn2GeA.mjs +305 -0
- package/fesm2022/acorex-modules-workflow-management-task-board.page-3_Tn2GeA.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +123 -0
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -0
- package/package.json +20 -16
- package/platform-management/lib/task-board.provider.d.ts +14 -0
- package/project-management/lib/task-board.provider.d.ts +14 -0
- package/settings-management/lib/settings-management.module.d.ts +1 -1
- package/workflow-management/README.md +3 -0
- package/workflow-management/index.d.ts +2 -0
- package/workflow-management/lib/const.d.ts +11 -0
- package/workflow-management/lib/features/task-board/index.d.ts +2 -0
- package/workflow-management/lib/features/task-board/settings.keys.d.ts +5 -0
- package/workflow-management/lib/features/task-board/task-board.module.d.ts +6 -0
- package/workflow-management/lib/features/task-board/task-board.page.d.ts +76 -0
- package/workflow-management/lib/features/task-board/task-board.service.d.ts +13 -0
- package/workflow-management/lib/features/task-board/task-board.viewmodel.d.ts +20 -0
- package/workflow-management/lib/features/task-board/views/task-board-calendar-view/task-board-calendar-view.page.d.ts +25 -0
- package/workflow-management/lib/workflow-management.module.d.ts +8 -0
- package/conversation/lib/entities/chat/chat.module.d.ts +0 -28
- package/conversation/lib/entities/chat/chat.service.d.ts +0 -14
- package/conversation/lib/entities/chat/chat.type.d.ts +0 -22
- package/conversation/lib/entities/chat/components/chat-item-footer/chat-item-footer.component.d.ts +0 -5
- package/conversation/lib/entities/chat/components/chat-item-header/chat-item-header.component.d.ts +0 -12
- package/conversation/lib/entities/chat/components/chat-preview-header/chat-preview-header.component.d.ts +0 -7
- package/conversation/lib/entities/chat/pages/chat/chat.component.d.ts +0 -23
- package/conversation/lib/entities/comments/comment.module.d.ts +0 -26
- package/conversation/lib/entities/comments/comments.service.d.ts +0 -13
- package/conversation/lib/entities/comments/comments.type.d.ts +0 -74
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-column.component.d.ts +0 -6
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +0 -212
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-print.component.d.ts +0 -6
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-view.component.d.ts +0 -6
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget.config.d.ts +0 -7
- package/document-management/lib/features/widgets/document-attachment/index.d.ts +0 -5
- package/document-management/lib/features/widgets/index.d.ts +0 -1
- package/fesm2022/acorex-modules-application-management-module-designer.component-BRh6mzWA.mjs +0 -315
- package/fesm2022/acorex-modules-application-management-module-designer.component-BRh6mzWA.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BpmG6Dyx.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-CCvKUDsw.mjs +0 -141
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-CCvKUDsw.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive-choose.component-DMAQr0nK.mjs.map +0 -1
- package/fesm2022/acorex-modules-issue-management-acorex-modules-issue-management-ErtEMU89.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-CP8zz-Bc.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-C9ZApxct.mjs.map +0 -1
- /package/conversation/lib/{entities/comments/pages → features/comment}/comment-lookup-popup.component.d.ts +0 -0
@@ -0,0 +1,66 @@
|
|
1
|
+
import { AXPPagedListResult, AXPQueryRequest } from '@acorex/platform/core';
|
2
|
+
import { AXMConversationRoom } from '../../entities/room/room.types';
|
3
|
+
import { AXMCommentMessage, AXMCreateCommentDto } from './comment.type';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* Abstract Comment Service defining the contract for comment functionality
|
7
|
+
*/
|
8
|
+
export declare abstract class AXMCommentService {
|
9
|
+
/**
|
10
|
+
* Queries comments based on provided request parameters
|
11
|
+
*/
|
12
|
+
abstract query(queryRequest: AXPQueryRequest): Promise<AXPPagedListResult<AXMCommentMessage>>;
|
13
|
+
/**
|
14
|
+
* Gets a single comment by ID
|
15
|
+
*/
|
16
|
+
abstract getOne(id: string): Promise<AXMCommentMessage>;
|
17
|
+
/**
|
18
|
+
* Creates a new comment
|
19
|
+
*/
|
20
|
+
abstract insertOne(commentData: AXMCreateCommentDto): Promise<AXMCommentMessage>;
|
21
|
+
/**
|
22
|
+
* Updates an existing comment
|
23
|
+
*/
|
24
|
+
abstract updateOne(id: string, update: Partial<AXMCommentMessage>): Promise<AXMCommentMessage>;
|
25
|
+
/**
|
26
|
+
* Deletes a comment
|
27
|
+
*/
|
28
|
+
abstract deleteOne(id: string): Promise<boolean>;
|
29
|
+
/**
|
30
|
+
* Toggles like status for a comment
|
31
|
+
*/
|
32
|
+
abstract like(messageId: string): Promise<AXMCommentMessage>;
|
33
|
+
/**
|
34
|
+
* Gets the comment count for an entity
|
35
|
+
*/
|
36
|
+
abstract getCommentCount(entityId: string, instanceId: string, roomType?: string): Promise<number>;
|
37
|
+
/**
|
38
|
+
* Gets all comments with their replies
|
39
|
+
*/
|
40
|
+
abstract getAllCommentsWithReplies(entityId: string, instanceId: string, roomType?: string, skip?: number, take?: number): Promise<AXPPagedListResult<AXMCommentMessage>>;
|
41
|
+
}
|
42
|
+
export declare class AXMCommentServiceImpl implements AXMCommentService {
|
43
|
+
private readonly roomService;
|
44
|
+
private readonly messageService;
|
45
|
+
private readonly sessionService;
|
46
|
+
private readonly usersService;
|
47
|
+
private getCurrentUser;
|
48
|
+
private getUserInfo;
|
49
|
+
private formatRoomId;
|
50
|
+
private formatComment;
|
51
|
+
private buildCommentHierarchy;
|
52
|
+
getRoomList(skip?: number, take?: number): Promise<AXPPagedListResult<AXMConversationRoom>>;
|
53
|
+
getRoomDetails(roomId: string): Promise<AXMConversationRoom>;
|
54
|
+
createRoom(roomData: Omit<AXMConversationRoom, 'id'>): Promise<string>;
|
55
|
+
ensureRoomExists(entityId: string, instanceId: string, roomType?: string): Promise<string>;
|
56
|
+
query(queryRequest: AXPQueryRequest): Promise<AXPPagedListResult<AXMCommentMessage>>;
|
57
|
+
getOne(id: string): Promise<AXMCommentMessage>;
|
58
|
+
insertOne(commentData: AXMCreateCommentDto): Promise<AXMCommentMessage>;
|
59
|
+
updateOne(id: string, update: Partial<AXMCommentMessage>): Promise<AXMCommentMessage>;
|
60
|
+
deleteOne(id: string): Promise<boolean>;
|
61
|
+
like(messageId: string): Promise<AXMCommentMessage>;
|
62
|
+
getCommentCount(entityId: string, instanceId: string, roomType?: string): Promise<number>;
|
63
|
+
getAllCommentsWithReplies(entityId: string, instanceId: string, roomType?: string, skip?: number, take?: number): Promise<AXPPagedListResult<AXMCommentMessage>>;
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCommentServiceImpl, never>;
|
65
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMCommentServiceImpl>;
|
66
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { AXPContentType } from '@acorex/platform/core';
|
2
|
+
import { AXMConversationMessage } from '../../entities/message/message.types';
|
3
|
+
import { AXMConversationRoom } from '../../entities/room/room.types';
|
4
|
+
/**
|
5
|
+
* Comment user interface with extended properties
|
6
|
+
*/
|
7
|
+
export interface AXMCommentUser {
|
8
|
+
id: string;
|
9
|
+
userName: string;
|
10
|
+
firstName: string;
|
11
|
+
lastName: string;
|
12
|
+
fullName: string;
|
13
|
+
avatar?: string;
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* Extended message interface for comments with UI-specific properties
|
17
|
+
*/
|
18
|
+
export interface AXMCommentMessage extends AXMConversationMessage {
|
19
|
+
isFromCurrentUser?: boolean;
|
20
|
+
formattedDate?: string;
|
21
|
+
isLiked?: boolean;
|
22
|
+
reactionsCount: number;
|
23
|
+
replies?: AXMCommentMessage[];
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* Room interface for comments with extended properties
|
27
|
+
*/
|
28
|
+
export interface AXMCommentRoom extends AXMConversationRoom {
|
29
|
+
commentCount: number;
|
30
|
+
entityId: string;
|
31
|
+
instanceId: string;
|
32
|
+
roomType: string;
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* Data transfer object for creating a new comment
|
36
|
+
*/
|
37
|
+
export interface AXMCreateCommentDto {
|
38
|
+
entityId: string;
|
39
|
+
instanceId: string;
|
40
|
+
roomType: string;
|
41
|
+
content: string;
|
42
|
+
contentType?: AXPContentType;
|
43
|
+
replyId?: string | null;
|
44
|
+
isPrivate?: boolean;
|
45
|
+
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { AXPEntityModel } from '@acorex/platform/layout/entity';
|
2
2
|
import { AXMDocumentManagementDocumentTypeEntityModel } from '../document-type';
|
3
3
|
import { AXMDocumentManagementDocumentEntityModel } from '../document/document.types';
|
4
|
+
export type AXMDocumentInheritanceType = 'Extends' | 'Inherited' | 'None';
|
4
5
|
export interface AXMDocumentManagementFolderEntityModel extends AXPEntityModel<string> {
|
5
6
|
name: string;
|
6
7
|
color: string;
|
@@ -19,7 +20,7 @@ export interface AXMDocumentManagementFolderEntityModel extends AXPEntityModel<s
|
|
19
20
|
documents?: AXMDocumentManagementDocumentEntityModel[];
|
20
21
|
nodeCount?: number;
|
21
22
|
size: number;
|
22
|
-
inherit:
|
23
|
+
inherit: AXMDocumentInheritanceType;
|
23
24
|
}
|
24
25
|
export interface AXMDocumentManagementFolderCreateDto {
|
25
26
|
name: string;
|
@@ -30,7 +31,7 @@ export interface AXMDocumentManagementFolderCreateDto {
|
|
30
31
|
documentTypes?: AXMDocumentManagementDocumentTypeEntityModel[];
|
31
32
|
tenantId?: string;
|
32
33
|
userId?: string;
|
33
|
-
inherit:
|
34
|
+
inherit: AXMDocumentInheritanceType;
|
34
35
|
}
|
35
36
|
export interface AXMDocumentManagementFolderGetDto extends AXMDocumentManagementFolderEntityModel {
|
36
37
|
createdByUser?: any;
|
@@ -3,6 +3,7 @@ import { AXFormComponent } from '@acorex/components/form';
|
|
3
3
|
import { AXBasePageComponent } from '@acorex/components/page';
|
4
4
|
import { AXMDocumentManagementDocumentTypeEntityModel } from '../../../../entities/document-type/document-type.types';
|
5
5
|
import { AXMDocumentExplorerNode, AXMNodeType } from '../../../drive';
|
6
|
+
import { AXMDocumentInheritanceType } from '../../../../entities/folder/folder.types';
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
export declare class AXMCreateFolderDialog extends AXBasePageComponent {
|
8
9
|
private driveService;
|
@@ -12,11 +13,13 @@ export declare class AXMCreateFolderDialog extends AXBasePageComponent {
|
|
12
13
|
protected name: import("@angular/core").ModelSignal<string>;
|
13
14
|
protected color: import("@angular/core").ModelSignal<string>;
|
14
15
|
protected description: import("@angular/core").ModelSignal<string>;
|
15
|
-
protected inherit: import("@angular/core").ModelSignal<
|
16
|
+
protected inherit: import("@angular/core").ModelSignal<AXMDocumentInheritanceType>;
|
16
17
|
protected selectedDocumentTypes: import("@angular/core").WritableSignal<AXMNodeType[]>;
|
18
|
+
protected isBusy: import("@angular/core").WritableSignal<boolean>;
|
17
19
|
protected dataSource: AXDataSource<AXMDocumentManagementDocumentTypeEntityModel>;
|
18
20
|
protected ngOnInit(): void;
|
19
|
-
protected
|
21
|
+
protected handleDocumentTypeValueChange(event: AXValueChangedEvent): void;
|
22
|
+
protected handleInheritValueChange(event: AXValueChangedEvent): void;
|
20
23
|
handleSubmitButton(form: AXFormComponent): Promise<void>;
|
21
24
|
onCancel(): void;
|
22
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCreateFolderDialog, never>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AXContextMenuComponent, AXContextMenuItemsClickEvent, AXContextMenuOpeningEvent } from '@acorex/components/menu';
|
1
|
+
import { AXContextMenuComponent, AXContextMenuItemsClickEvent, AXContextMenuOpeningEvent, AXMenuItem } from '@acorex/components/menu';
|
2
2
|
import { AXTranslationService } from '@acorex/core/translation';
|
3
3
|
import { AXPPlatformScope } from '@acorex/platform/core';
|
4
4
|
import { Type } from '@angular/core';
|
@@ -59,7 +59,10 @@ export declare class AXMDocumentExplorerComponent {
|
|
59
59
|
}) => Promise<void>;
|
60
60
|
navigateToFolder: (folderId: string) => void;
|
61
61
|
loadFolderContents: (folderId: string) => Promise<void>;
|
62
|
-
virtualFolder: (files?: AXMDocumentExplorerNode[]
|
62
|
+
virtualFolder: (files?: AXMDocumentExplorerNode[], options?: {
|
63
|
+
name?: string;
|
64
|
+
parentId?: string;
|
65
|
+
}) => Promise<void>;
|
63
66
|
setViewMode: (mode: AXPDocumentExplorerViewMode | string) => void;
|
64
67
|
isViewMode: (mode: AXPDocumentExplorerViewMode | string) => boolean;
|
65
68
|
setSortField: (field: string) => void;
|
@@ -89,7 +92,7 @@ export declare class AXMDocumentExplorerComponent {
|
|
89
92
|
refresh: () => Promise<void>;
|
90
93
|
navigateToUp: () => void;
|
91
94
|
navigateBack: () => Promise<void>;
|
92
|
-
|
95
|
+
openGalleryWithFolderId: () => Promise<void>;
|
93
96
|
deleteNodes: (nodes?: AXMDocumentExplorerNode[]) => Promise<void>;
|
94
97
|
toggleSelect: (node: AXMDocumentExplorerNode) => void;
|
95
98
|
isItemSelected: (node: AXMDocumentExplorerNode) => boolean;
|
@@ -101,6 +104,22 @@ export declare class AXMDocumentExplorerComponent {
|
|
101
104
|
getFolderAddMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
|
102
105
|
getFolderActionMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
|
103
106
|
getContextMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
|
107
|
+
getFileContextMenuItems: (node: AXMDocumentExplorerNode) => Promise<AXMenuItem[]>;
|
108
|
+
getFolderContextMenuItems: (node: AXMDocumentExplorerNode) => Promise<AXMenuItem[]>;
|
109
|
+
getNodeContextMenuItems: (node: AXMDocumentExplorerNode) => Promise<AXMenuItem[]>;
|
110
|
+
openFile: (node: AXMDocumentExplorerNode) => Promise<void>;
|
111
|
+
handleMenuItemClick: (name: string, data: any) => Promise<void>;
|
112
|
+
downloadFile: (node: AXMDocumentExplorerNode) => void;
|
113
|
+
openGallery: (node: AXMDocumentExplorerNode) => Promise<void>;
|
114
|
+
showFolderProperty: (node: AXMDocumentExplorerNode) => Promise<void>;
|
115
|
+
createFolder: (node?: AXMDocumentExplorerNode) => Promise<void>;
|
116
|
+
renameNode: (node?: AXMDocumentExplorerNode) => Promise<AXMDocumentExplorerNode | undefined>;
|
117
|
+
makeCopy: (node?: AXMDocumentExplorerNode) => Promise<void>;
|
118
|
+
lock: (node: AXMDocumentExplorerNode) => Promise<void>;
|
119
|
+
unlock: (node: AXMDocumentExplorerNode) => Promise<void>;
|
120
|
+
moveTo: (node?: AXMDocumentExplorerNode) => Promise<void>;
|
121
|
+
copyTo: (node?: AXMDocumentExplorerNode) => Promise<void>;
|
122
|
+
uploadFileByType: (folderId: string, documentTypeId: string) => Promise<void>;
|
104
123
|
} & import("@ngrx/signals").StateSource<{
|
105
124
|
viewMode: AXPDocumentExplorerViewMode;
|
106
125
|
isLoading: boolean;
|
@@ -196,26 +215,9 @@ export declare class AXMDocumentExplorerComponent {
|
|
196
215
|
showContextMenu: import("@angular/core").InputSignal<boolean>;
|
197
216
|
protected view: import("@angular/core").WritableSignal<Type<any> | null>;
|
198
217
|
private viewMap;
|
199
|
-
protected handleNavigateToFolder(folderId: string): void;
|
200
218
|
protected handleContextMenuOnOpening(e: AXContextMenuOpeningEvent): Promise<void>;
|
201
219
|
protected handleContextMenuRootOnOpening(e: AXContextMenuOpeningEvent): Promise<void>;
|
202
220
|
protected handleContextMenuItemClick(e: AXContextMenuItemsClickEvent): Promise<void>;
|
203
|
-
protected showFolderProperty(node: AXMDocumentExplorerNode): Promise<void>;
|
204
|
-
protected share(node: AXMDocumentExplorerNode): Promise<void>;
|
205
|
-
protected shareWithEmail(node: AXMDocumentExplorerNode): Promise<void>;
|
206
|
-
protected link(node: AXMDocumentExplorerNode): Promise<void>;
|
207
|
-
protected lock(node: AXMDocumentExplorerNode): Promise<void>;
|
208
|
-
protected unlock(node: AXMDocumentExplorerNode): Promise<void>;
|
209
|
-
protected openGalleryWithFolderId(): Promise<void>;
|
210
|
-
protected openGallery(node: AXMDocumentExplorerNode): Promise<void>;
|
211
|
-
protected openFile(node: AXMDocumentExplorerNode): Promise<void>;
|
212
|
-
protected handleDownloadFile(node: AXMDocumentExplorerNode): void;
|
213
|
-
createFolder(node?: AXMDocumentExplorerNode): Promise<void>;
|
214
|
-
renameNode(node?: AXMDocumentExplorerNode): Promise<AXMDocumentExplorerNode | undefined>;
|
215
|
-
chooseFile(scope?: AXPPlatformScope): Promise<AXMDocumentExplorerNode[]>;
|
216
|
-
makeCopy(node?: AXMDocumentExplorerNode): Promise<void>;
|
217
|
-
moveTo(node?: AXMDocumentExplorerNode): Promise<void>;
|
218
|
-
copyTo(node?: AXMDocumentExplorerNode): Promise<void>;
|
219
221
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentExplorerComponent, never>;
|
220
222
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentExplorerComponent, "axm-document-explorer", never, { "browseMode": { "alias": "browseMode"; "required": false; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "showContextMenu": { "alias": "showContextMenu"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
221
223
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { AXPFileType } from '@acorex/platform/common';
|
2
2
|
import { AXPActionMenuItem, AXPPlatformScope } from '@acorex/platform/core';
|
3
3
|
import { AXMDocumentExplorerBrowseMode, AXMDocumentExplorerNode, AXMDocumentSelectionMode, AXPDocumentExplorerViewMode } from '../shared/document-manager.types';
|
4
|
+
import { AXMenuItem } from '@acorex/components/menu';
|
4
5
|
export declare const AXPDocumentExplorerViewModel: import("@angular/core").Type<{
|
5
6
|
viewMode: import("@angular/core").Signal<AXPDocumentExplorerViewMode>;
|
6
7
|
isLoading: import("@angular/core").Signal<boolean>;
|
@@ -53,7 +54,10 @@ export declare const AXPDocumentExplorerViewModel: import("@angular/core").Type<
|
|
53
54
|
}) => Promise<void>;
|
54
55
|
navigateToFolder: (folderId: string) => void;
|
55
56
|
loadFolderContents: (folderId: string) => Promise<void>;
|
56
|
-
virtualFolder: (files?: AXMDocumentExplorerNode[]
|
57
|
+
virtualFolder: (files?: AXMDocumentExplorerNode[], options?: {
|
58
|
+
name?: string;
|
59
|
+
parentId?: string;
|
60
|
+
}) => Promise<void>;
|
57
61
|
setViewMode: (mode: AXPDocumentExplorerViewMode | string) => void;
|
58
62
|
isViewMode: (mode: AXPDocumentExplorerViewMode | string) => boolean;
|
59
63
|
setSortField: (field: string) => void;
|
@@ -83,7 +87,7 @@ export declare const AXPDocumentExplorerViewModel: import("@angular/core").Type<
|
|
83
87
|
refresh: () => Promise<void>;
|
84
88
|
navigateToUp: () => void;
|
85
89
|
navigateBack: () => Promise<void>;
|
86
|
-
|
90
|
+
openGalleryWithFolderId: () => Promise<void>;
|
87
91
|
deleteNodes: (nodes?: AXMDocumentExplorerNode[]) => Promise<void>;
|
88
92
|
toggleSelect: (node: AXMDocumentExplorerNode) => void;
|
89
93
|
isItemSelected: (node: AXMDocumentExplorerNode) => boolean;
|
@@ -95,6 +99,22 @@ export declare const AXPDocumentExplorerViewModel: import("@angular/core").Type<
|
|
95
99
|
getFolderAddMenuItems: () => Promise<AXPActionMenuItem[]>;
|
96
100
|
getFolderActionMenuItems: () => Promise<AXPActionMenuItem[]>;
|
97
101
|
getContextMenuItems: () => Promise<AXPActionMenuItem[]>;
|
102
|
+
getFileContextMenuItems: (node: AXMDocumentExplorerNode) => Promise<AXMenuItem[]>;
|
103
|
+
getFolderContextMenuItems: (node: AXMDocumentExplorerNode) => Promise<AXMenuItem[]>;
|
104
|
+
getNodeContextMenuItems: (node: AXMDocumentExplorerNode) => Promise<AXMenuItem[]>;
|
105
|
+
openFile: (node: AXMDocumentExplorerNode) => Promise<void>;
|
106
|
+
handleMenuItemClick: (name: string, data: any) => Promise<void>;
|
107
|
+
downloadFile: (node: AXMDocumentExplorerNode) => void;
|
108
|
+
openGallery: (node: AXMDocumentExplorerNode) => Promise<void>;
|
109
|
+
showFolderProperty: (node: AXMDocumentExplorerNode) => Promise<void>;
|
110
|
+
createFolder: (node?: AXMDocumentExplorerNode) => Promise<void>;
|
111
|
+
renameNode: (node?: AXMDocumentExplorerNode) => Promise<AXMDocumentExplorerNode | undefined>;
|
112
|
+
makeCopy: (node?: AXMDocumentExplorerNode) => Promise<void>;
|
113
|
+
lock: (node: AXMDocumentExplorerNode) => Promise<void>;
|
114
|
+
unlock: (node: AXMDocumentExplorerNode) => Promise<void>;
|
115
|
+
moveTo: (node?: AXMDocumentExplorerNode) => Promise<void>;
|
116
|
+
copyTo: (node?: AXMDocumentExplorerNode) => Promise<void>;
|
117
|
+
uploadFileByType: (folderId: string, documentTypeId: string) => Promise<void>;
|
98
118
|
} & import("@ngrx/signals").StateSource<{
|
99
119
|
viewMode: AXPDocumentExplorerViewMode;
|
100
120
|
isLoading: boolean;
|
@@ -2,24 +2,24 @@ import { AXMDocumentManagerService } from '../../../shared';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class AXMDocumentExplorerAttachmentComponent {
|
4
4
|
protected vm: {
|
5
|
-
viewMode: import("@angular/core").Signal<import("../../../
|
5
|
+
viewMode: import("@angular/core").Signal<import("../../../shared").AXPDocumentExplorerViewMode>;
|
6
6
|
isLoading: import("@angular/core").Signal<boolean>;
|
7
7
|
scope: import("@angular/core").Signal<import("@acorex/platform/core").AXPPlatformScope>;
|
8
|
-
currentPath: import("@angular/core").Signal<import("../../../
|
9
|
-
currentNode: import("@angular/core").Signal<import("../../../
|
8
|
+
currentPath: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode[]>;
|
9
|
+
currentNode: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode | null>;
|
10
10
|
loadingFolderId: import("@angular/core").Signal<string | null>;
|
11
11
|
navigatingFolderId: import("@angular/core").Signal<string | null>;
|
12
12
|
backHistory: import("@angular/core").Signal<{
|
13
13
|
folderId: string;
|
14
|
-
path: import("../../../
|
14
|
+
path: import("../../../shared").AXMDocumentExplorerNode[];
|
15
15
|
}[]>;
|
16
|
-
selectionMode: import("@angular/core").Signal<import("../../../
|
17
|
-
selectedNodes: import("@angular/core").Signal<import("../../../
|
18
|
-
browseMode: import("@angular/core").Signal<import("../../../
|
16
|
+
selectionMode: import("@angular/core").Signal<import("../../../shared").AXMDocumentSelectionMode>;
|
17
|
+
selectedNodes: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode[]>;
|
18
|
+
browseMode: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerBrowseMode>;
|
19
19
|
sortField: import("@angular/core").Signal<string>;
|
20
20
|
sortDirection: import("@angular/core").Signal<string>;
|
21
|
-
folders: import("@angular/core").Signal<import("../../../
|
22
|
-
files: import("@angular/core").Signal<import("../../../
|
21
|
+
folders: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode[]>;
|
22
|
+
files: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode[]>;
|
23
23
|
itemsCount: import("@angular/core").Signal<number>;
|
24
24
|
availableSpace: import("@angular/core").Signal<number>;
|
25
25
|
currentDrive: import("@angular/core").Signal<import("@acorex/platform/core").AXPPlatformScope | null>;
|
@@ -27,10 +27,10 @@ export declare class AXMDocumentExplorerAttachmentComponent {
|
|
27
27
|
detailPanel: import("@angular/core").Signal<boolean>;
|
28
28
|
isRoot: import("@angular/core").Signal<boolean>;
|
29
29
|
isVirtual: import("@angular/core").Signal<boolean>;
|
30
|
-
currentFolder: import("@angular/core").Signal<import("../../../
|
30
|
+
currentFolder: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode | null>;
|
31
31
|
currentFolderContents: import("@angular/core").Signal<{
|
32
|
-
folders: import("../../../
|
33
|
-
files: import("../../../
|
32
|
+
folders: import("../../../shared").AXMDocumentExplorerNode[];
|
33
|
+
files: import("../../../shared").AXMDocumentExplorerNode[];
|
34
34
|
}>;
|
35
35
|
isLargeTilesView: import("@angular/core").Signal<boolean>;
|
36
36
|
isSmallTilesView: import("@angular/core").Signal<boolean>;
|
@@ -44,28 +44,31 @@ export declare class AXMDocumentExplorerAttachmentComponent {
|
|
44
44
|
hasSelectedItems: import("@angular/core").Signal<boolean>;
|
45
45
|
hasMultipleSelectedItems: import("@angular/core").Signal<boolean>;
|
46
46
|
isMultiSelect: import("@angular/core").Signal<boolean>;
|
47
|
-
selectedNode: import("@angular/core").Signal<import("../../../
|
47
|
+
selectedNode: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode | null>;
|
48
48
|
isDetailPanelOpen: import("@angular/core").Signal<boolean>;
|
49
49
|
initialize: (options?: {
|
50
50
|
scope?: import("@acorex/platform/core").AXPPlatformScope;
|
51
|
-
browseMode?: import("../../../
|
51
|
+
browseMode?: import("../../../shared").AXMDocumentExplorerBrowseMode;
|
52
52
|
filter?: any;
|
53
53
|
}) => Promise<void>;
|
54
54
|
navigateToFolder: (folderId: string) => void;
|
55
55
|
loadFolderContents: (folderId: string) => Promise<void>;
|
56
|
-
virtualFolder: (files?: import("../../../
|
57
|
-
|
58
|
-
|
56
|
+
virtualFolder: (files?: import("../../../shared").AXMDocumentExplorerNode[], options?: {
|
57
|
+
name?: string;
|
58
|
+
parentId?: string;
|
59
|
+
}) => Promise<void>;
|
60
|
+
setViewMode: (mode: import("../../../shared").AXPDocumentExplorerViewMode | string) => void;
|
61
|
+
isViewMode: (mode: import("../../../shared").AXPDocumentExplorerViewMode | string) => boolean;
|
59
62
|
setSortField: (field: string) => void;
|
60
63
|
setSortDirection: (direction: string) => void;
|
61
|
-
setSelectionMode: (mode: import("../../../
|
64
|
+
setSelectionMode: (mode: import("../../../shared").AXMDocumentSelectionMode | string) => void;
|
62
65
|
setDrive: (scope: import("@acorex/platform/core").AXPPlatformScope) => void;
|
63
66
|
isLoadingFolder: (folderId: string) => boolean;
|
64
67
|
getFileInfo: (fileName: string) => {
|
65
68
|
icon: string;
|
66
69
|
type: string;
|
67
70
|
};
|
68
|
-
getNodeInfo: (node: import("../../../
|
71
|
+
getNodeInfo: (node: import("../../../shared").AXMDocumentExplorerNode) => {
|
69
72
|
name: string;
|
70
73
|
icon: string;
|
71
74
|
type: string;
|
@@ -79,14 +82,14 @@ export declare class AXMDocumentExplorerAttachmentComponent {
|
|
79
82
|
}[];
|
80
83
|
}];
|
81
84
|
};
|
82
|
-
sortItems: (items: import("../../../
|
85
|
+
sortItems: (items: import("../../../shared").AXMDocumentExplorerNode[]) => import("../../../shared").AXMDocumentExplorerNode[];
|
83
86
|
refresh: () => Promise<void>;
|
84
87
|
navigateToUp: () => void;
|
85
88
|
navigateBack: () => Promise<void>;
|
86
|
-
|
87
|
-
deleteNodes: (nodes?: import("../../../
|
88
|
-
toggleSelect: (node: import("../../../
|
89
|
-
isItemSelected: (node: import("../../../
|
89
|
+
openGalleryWithFolderId: () => Promise<void>;
|
90
|
+
deleteNodes: (nodes?: import("../../../shared").AXMDocumentExplorerNode[]) => Promise<void>;
|
91
|
+
toggleSelect: (node: import("../../../shared").AXMDocumentExplorerNode) => void;
|
92
|
+
isItemSelected: (node: import("../../../shared").AXMDocumentExplorerNode) => boolean;
|
90
93
|
selectAll: () => void;
|
91
94
|
deselectAll: () => void;
|
92
95
|
openDetailPanel: () => void;
|
@@ -95,25 +98,41 @@ export declare class AXMDocumentExplorerAttachmentComponent {
|
|
95
98
|
getFolderAddMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
|
96
99
|
getFolderActionMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
|
97
100
|
getContextMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
|
101
|
+
getFileContextMenuItems: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<import("@acorex/components/menu").AXMenuItem[]>;
|
102
|
+
getFolderContextMenuItems: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<import("@acorex/components/menu").AXMenuItem[]>;
|
103
|
+
getNodeContextMenuItems: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<import("@acorex/components/menu").AXMenuItem[]>;
|
104
|
+
openFile: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
105
|
+
handleMenuItemClick: (name: string, data: any) => Promise<void>;
|
106
|
+
downloadFile: (node: import("../../../shared").AXMDocumentExplorerNode) => void;
|
107
|
+
openGallery: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
108
|
+
showFolderProperty: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
109
|
+
createFolder: (node?: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
110
|
+
renameNode: (node?: import("../../../shared").AXMDocumentExplorerNode) => Promise<import("../../../shared").AXMDocumentExplorerNode | undefined>;
|
111
|
+
makeCopy: (node?: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
112
|
+
lock: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
113
|
+
unlock: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
114
|
+
moveTo: (node?: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
115
|
+
copyTo: (node?: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
116
|
+
uploadFileByType: (folderId: string, documentTypeId: string) => Promise<void>;
|
98
117
|
} & import("@ngrx/signals").StateSource<{
|
99
|
-
viewMode: import("../../../
|
118
|
+
viewMode: import("../../../shared").AXPDocumentExplorerViewMode;
|
100
119
|
isLoading: boolean;
|
101
120
|
scope: import("@acorex/platform/core").AXPPlatformScope;
|
102
|
-
currentPath: import("../../../
|
103
|
-
currentNode: import("../../../
|
121
|
+
currentPath: import("../../../shared").AXMDocumentExplorerNode[];
|
122
|
+
currentNode: import("../../../shared").AXMDocumentExplorerNode | null;
|
104
123
|
loadingFolderId: string | null;
|
105
124
|
navigatingFolderId: string | null;
|
106
125
|
backHistory: {
|
107
126
|
folderId: string;
|
108
|
-
path: import("../../../
|
127
|
+
path: import("../../../shared").AXMDocumentExplorerNode[];
|
109
128
|
}[];
|
110
|
-
selectionMode: import("../../../
|
111
|
-
selectedNodes: import("../../../
|
112
|
-
browseMode: import("../../../
|
129
|
+
selectionMode: import("../../../shared").AXMDocumentSelectionMode;
|
130
|
+
selectedNodes: import("../../../shared").AXMDocumentExplorerNode[];
|
131
|
+
browseMode: import("../../../shared").AXMDocumentExplorerBrowseMode;
|
113
132
|
sortField: string;
|
114
133
|
sortDirection: string;
|
115
|
-
folders: import("../../../
|
116
|
-
files: import("../../../
|
134
|
+
folders: import("../../../shared").AXMDocumentExplorerNode[];
|
135
|
+
files: import("../../../shared").AXMDocumentExplorerNode[];
|
117
136
|
itemsCount: number;
|
118
137
|
availableSpace: number;
|
119
138
|
currentDrive: import("@acorex/platform/core").AXPPlatformScope | null;
|
@@ -1,24 +1,24 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
export declare class AXMDocumentExplorerDetailPanelComponent {
|
3
3
|
protected vm: {
|
4
|
-
viewMode: import("@angular/core").Signal<import("../../../
|
4
|
+
viewMode: import("@angular/core").Signal<import("../../../shared").AXPDocumentExplorerViewMode>;
|
5
5
|
isLoading: import("@angular/core").Signal<boolean>;
|
6
6
|
scope: import("@angular/core").Signal<import("@acorex/platform/core").AXPPlatformScope>;
|
7
|
-
currentPath: import("@angular/core").Signal<import("../../../
|
8
|
-
currentNode: import("@angular/core").Signal<import("../../../
|
7
|
+
currentPath: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode[]>;
|
8
|
+
currentNode: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode | null>;
|
9
9
|
loadingFolderId: import("@angular/core").Signal<string | null>;
|
10
10
|
navigatingFolderId: import("@angular/core").Signal<string | null>;
|
11
11
|
backHistory: import("@angular/core").Signal<{
|
12
12
|
folderId: string;
|
13
|
-
path: import("../../../
|
13
|
+
path: import("../../../shared").AXMDocumentExplorerNode[];
|
14
14
|
}[]>;
|
15
|
-
selectionMode: import("@angular/core").Signal<import("../../../
|
16
|
-
selectedNodes: import("@angular/core").Signal<import("../../../
|
17
|
-
browseMode: import("@angular/core").Signal<import("../../../
|
15
|
+
selectionMode: import("@angular/core").Signal<import("../../../shared").AXMDocumentSelectionMode>;
|
16
|
+
selectedNodes: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode[]>;
|
17
|
+
browseMode: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerBrowseMode>;
|
18
18
|
sortField: import("@angular/core").Signal<string>;
|
19
19
|
sortDirection: import("@angular/core").Signal<string>;
|
20
|
-
folders: import("@angular/core").Signal<import("../../../
|
21
|
-
files: import("@angular/core").Signal<import("../../../
|
20
|
+
folders: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode[]>;
|
21
|
+
files: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode[]>;
|
22
22
|
itemsCount: import("@angular/core").Signal<number>;
|
23
23
|
availableSpace: import("@angular/core").Signal<number>;
|
24
24
|
currentDrive: import("@angular/core").Signal<import("@acorex/platform/core").AXPPlatformScope | null>;
|
@@ -26,10 +26,10 @@ export declare class AXMDocumentExplorerDetailPanelComponent {
|
|
26
26
|
detailPanel: import("@angular/core").Signal<boolean>;
|
27
27
|
isRoot: import("@angular/core").Signal<boolean>;
|
28
28
|
isVirtual: import("@angular/core").Signal<boolean>;
|
29
|
-
currentFolder: import("@angular/core").Signal<import("../../../
|
29
|
+
currentFolder: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode | null>;
|
30
30
|
currentFolderContents: import("@angular/core").Signal<{
|
31
|
-
folders: import("../../../
|
32
|
-
files: import("../../../
|
31
|
+
folders: import("../../../shared").AXMDocumentExplorerNode[];
|
32
|
+
files: import("../../../shared").AXMDocumentExplorerNode[];
|
33
33
|
}>;
|
34
34
|
isLargeTilesView: import("@angular/core").Signal<boolean>;
|
35
35
|
isSmallTilesView: import("@angular/core").Signal<boolean>;
|
@@ -43,28 +43,31 @@ export declare class AXMDocumentExplorerDetailPanelComponent {
|
|
43
43
|
hasSelectedItems: import("@angular/core").Signal<boolean>;
|
44
44
|
hasMultipleSelectedItems: import("@angular/core").Signal<boolean>;
|
45
45
|
isMultiSelect: import("@angular/core").Signal<boolean>;
|
46
|
-
selectedNode: import("@angular/core").Signal<import("../../../
|
46
|
+
selectedNode: import("@angular/core").Signal<import("../../../shared").AXMDocumentExplorerNode | null>;
|
47
47
|
isDetailPanelOpen: import("@angular/core").Signal<boolean>;
|
48
48
|
initialize: (options?: {
|
49
49
|
scope?: import("@acorex/platform/core").AXPPlatformScope;
|
50
|
-
browseMode?: import("../../../
|
50
|
+
browseMode?: import("../../../shared").AXMDocumentExplorerBrowseMode;
|
51
51
|
filter?: any;
|
52
52
|
}) => Promise<void>;
|
53
53
|
navigateToFolder: (folderId: string) => void;
|
54
54
|
loadFolderContents: (folderId: string) => Promise<void>;
|
55
|
-
virtualFolder: (files?: import("../../../
|
56
|
-
|
57
|
-
|
55
|
+
virtualFolder: (files?: import("../../../shared").AXMDocumentExplorerNode[], options?: {
|
56
|
+
name?: string;
|
57
|
+
parentId?: string;
|
58
|
+
}) => Promise<void>;
|
59
|
+
setViewMode: (mode: import("../../../shared").AXPDocumentExplorerViewMode | string) => void;
|
60
|
+
isViewMode: (mode: import("../../../shared").AXPDocumentExplorerViewMode | string) => boolean;
|
58
61
|
setSortField: (field: string) => void;
|
59
62
|
setSortDirection: (direction: string) => void;
|
60
|
-
setSelectionMode: (mode: import("../../../
|
63
|
+
setSelectionMode: (mode: import("../../../shared").AXMDocumentSelectionMode | string) => void;
|
61
64
|
setDrive: (scope: import("@acorex/platform/core").AXPPlatformScope) => void;
|
62
65
|
isLoadingFolder: (folderId: string) => boolean;
|
63
66
|
getFileInfo: (fileName: string) => {
|
64
67
|
icon: string;
|
65
68
|
type: string;
|
66
69
|
};
|
67
|
-
getNodeInfo: (node: import("../../../
|
70
|
+
getNodeInfo: (node: import("../../../shared").AXMDocumentExplorerNode) => {
|
68
71
|
name: string;
|
69
72
|
icon: string;
|
70
73
|
type: string;
|
@@ -78,14 +81,14 @@ export declare class AXMDocumentExplorerDetailPanelComponent {
|
|
78
81
|
}[];
|
79
82
|
}];
|
80
83
|
};
|
81
|
-
sortItems: (items: import("../../../
|
84
|
+
sortItems: (items: import("../../../shared").AXMDocumentExplorerNode[]) => import("../../../shared").AXMDocumentExplorerNode[];
|
82
85
|
refresh: () => Promise<void>;
|
83
86
|
navigateToUp: () => void;
|
84
87
|
navigateBack: () => Promise<void>;
|
85
|
-
|
86
|
-
deleteNodes: (nodes?: import("../../../
|
87
|
-
toggleSelect: (node: import("../../../
|
88
|
-
isItemSelected: (node: import("../../../
|
88
|
+
openGalleryWithFolderId: () => Promise<void>;
|
89
|
+
deleteNodes: (nodes?: import("../../../shared").AXMDocumentExplorerNode[]) => Promise<void>;
|
90
|
+
toggleSelect: (node: import("../../../shared").AXMDocumentExplorerNode) => void;
|
91
|
+
isItemSelected: (node: import("../../../shared").AXMDocumentExplorerNode) => boolean;
|
89
92
|
selectAll: () => void;
|
90
93
|
deselectAll: () => void;
|
91
94
|
openDetailPanel: () => void;
|
@@ -94,25 +97,41 @@ export declare class AXMDocumentExplorerDetailPanelComponent {
|
|
94
97
|
getFolderAddMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
|
95
98
|
getFolderActionMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
|
96
99
|
getContextMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
|
100
|
+
getFileContextMenuItems: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<import("@acorex/components/menu").AXMenuItem[]>;
|
101
|
+
getFolderContextMenuItems: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<import("@acorex/components/menu").AXMenuItem[]>;
|
102
|
+
getNodeContextMenuItems: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<import("@acorex/components/menu").AXMenuItem[]>;
|
103
|
+
openFile: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
104
|
+
handleMenuItemClick: (name: string, data: any) => Promise<void>;
|
105
|
+
downloadFile: (node: import("../../../shared").AXMDocumentExplorerNode) => void;
|
106
|
+
openGallery: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
107
|
+
showFolderProperty: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
108
|
+
createFolder: (node?: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
109
|
+
renameNode: (node?: import("../../../shared").AXMDocumentExplorerNode) => Promise<import("../../../shared").AXMDocumentExplorerNode | undefined>;
|
110
|
+
makeCopy: (node?: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
111
|
+
lock: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
112
|
+
unlock: (node: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
113
|
+
moveTo: (node?: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
114
|
+
copyTo: (node?: import("../../../shared").AXMDocumentExplorerNode) => Promise<void>;
|
115
|
+
uploadFileByType: (folderId: string, documentTypeId: string) => Promise<void>;
|
97
116
|
} & import("@ngrx/signals").StateSource<{
|
98
|
-
viewMode: import("../../../
|
117
|
+
viewMode: import("../../../shared").AXPDocumentExplorerViewMode;
|
99
118
|
isLoading: boolean;
|
100
119
|
scope: import("@acorex/platform/core").AXPPlatformScope;
|
101
|
-
currentPath: import("../../../
|
102
|
-
currentNode: import("../../../
|
120
|
+
currentPath: import("../../../shared").AXMDocumentExplorerNode[];
|
121
|
+
currentNode: import("../../../shared").AXMDocumentExplorerNode | null;
|
103
122
|
loadingFolderId: string | null;
|
104
123
|
navigatingFolderId: string | null;
|
105
124
|
backHistory: {
|
106
125
|
folderId: string;
|
107
|
-
path: import("../../../
|
126
|
+
path: import("../../../shared").AXMDocumentExplorerNode[];
|
108
127
|
}[];
|
109
|
-
selectionMode: import("../../../
|
110
|
-
selectedNodes: import("../../../
|
111
|
-
browseMode: import("../../../
|
128
|
+
selectionMode: import("../../../shared").AXMDocumentSelectionMode;
|
129
|
+
selectedNodes: import("../../../shared").AXMDocumentExplorerNode[];
|
130
|
+
browseMode: import("../../../shared").AXMDocumentExplorerBrowseMode;
|
112
131
|
sortField: string;
|
113
132
|
sortDirection: string;
|
114
|
-
folders: import("../../../
|
115
|
-
files: import("../../../
|
133
|
+
folders: import("../../../shared").AXMDocumentExplorerNode[];
|
134
|
+
files: import("../../../shared").AXMDocumentExplorerNode[];
|
116
135
|
itemsCount: number;
|
117
136
|
availableSpace: number;
|
118
137
|
currentDrive: import("@acorex/platform/core").AXPPlatformScope | null;
|