@acorex/modules 21.0.0-next.15 → 21.0.0-next.16
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/assessment-management/README.md +11 -0
- package/assessment-management/index.d.ts +122 -24
- package/common/index.d.ts +6 -1
- package/data-management/index.d.ts +67 -48
- package/document-management/index.d.ts +374 -167
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs} +950 -468
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs → acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs → acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs → acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs → acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs → acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs.map → acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs → acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs} +32 -33
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs → acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs} +24 -8
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs → acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs → acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs} +20 -4
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs → acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs → acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs} +11 -5
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs +392 -0
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs → acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs} +21 -6
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs → acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs} +138 -23
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs → acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs.map → acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +4 -3
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +34 -28
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +333 -342
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs → acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs} +7 -3
- package/fesm2022/acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +3014 -699
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs +381 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs → acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-CY81Nohl.mjs → acorex-modules-human-capital-management-leave-type.entity-YitcNesR.mjs} +6 -2
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-YitcNesR.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +696 -351
- package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +11 -2
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-BRVfUYiM.mjs → acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs} +6 -6
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-BRVfUYiM.mjs.map → acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-WSxrvAsV.mjs → acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-WSxrvAsV.mjs.map → acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-MYnJYUxE.mjs → acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-MYnJYUxE.mjs.map → acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-Cq80snth.mjs → acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-Cq80snth.mjs.map → acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/acorex-modules-system-insight.mjs +4 -3
- package/fesm2022/acorex-modules-system-insight.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-t-iBvKOh.mjs → acorex-modules-task-management-task-board.page-CuP9U1h8.mjs} +58 -51
- package/fesm2022/acorex-modules-task-management-task-board.page-CuP9U1h8.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +11 -39
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs +296 -0
- package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs +469 -0
- package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +2507 -681
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/human-capital-management/index.d.ts +79 -19
- package/package.json +6 -6
- package/task-management/index.d.ts +1 -12
- package/workflow-management/index.d.ts +265 -220
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs +0 -416
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-CY81Nohl.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-t-iBvKOh.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs +0 -258
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs +0 -371
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs +0 -313
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Injector, Type, OnInit } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i9 from '@acorex/platform/layout/widget-core';
|
|
4
4
|
import { AXPValueWidgetComponent, AXPWidgetCoreContextChangeEvent, AXPWidgetNode, AXPWidgetConfig } from '@acorex/platform/layout/widget-core';
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as i10 from '@acorex/components/media-viewer';
|
|
6
|
+
import * as i11 from '@acorex/platform/workflow';
|
|
7
7
|
import { AXPWorkflowService } from '@acorex/platform/workflow';
|
|
8
8
|
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
9
9
|
import { AXPEntity, AXPFileStorageService, AXPFilterOperatorMiddlewareService, AXPFileType, AXPFileTypeInfoProvider, AXPFileTypeProviderService, AXPMenuProvider, AXPMenuProviderContext, AXPSearchCommandProvider, AXPSearchResult, AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';
|
|
10
10
|
import { AXPEntityModel, AXMEntityCrudServiceImpl, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityPreloadEntity } from '@acorex/platform/layout/entity';
|
|
11
|
-
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
12
|
-
import { AXPFileListItem, AXPMetaData, AXPCategoryEntity, AXPPlatformScope, AXPQueryRequest, AXPHookService, AXPActionMenuItem, AXPDeviceService, AXPBackButton, AXPBreadcrumbItem, AXPExecuteCommand } from '@acorex/platform/core';
|
|
13
11
|
import { AXMMetaDataSelectorValue } from '@acorex/modules/data-management';
|
|
12
|
+
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
13
|
+
import { AXPFileListItem, AXPMetaData, AXPApplicationUserReference, AXPPlatformScope, AXPQueryRequest, AXPHookService, AXPActionMenuItem, AXPDeviceService, AXPBackButton, AXPBreadcrumbItem, AXPExecuteCommand } from '@acorex/platform/core';
|
|
14
14
|
import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
|
|
15
15
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
16
16
|
import * as _acorex_components_menu from '@acorex/components/menu';
|
|
@@ -38,6 +38,18 @@ declare const RootConfig: {
|
|
|
38
38
|
icon: string;
|
|
39
39
|
};
|
|
40
40
|
entities: {
|
|
41
|
+
documentRelated: {
|
|
42
|
+
name: string;
|
|
43
|
+
title: string;
|
|
44
|
+
titlePlural: string;
|
|
45
|
+
icon: string;
|
|
46
|
+
};
|
|
47
|
+
review: {
|
|
48
|
+
name: string;
|
|
49
|
+
title: string;
|
|
50
|
+
titlePlural: string;
|
|
51
|
+
icon: string;
|
|
52
|
+
};
|
|
41
53
|
folder: {
|
|
42
54
|
name: string;
|
|
43
55
|
title: string;
|
|
@@ -56,6 +68,24 @@ declare const RootConfig: {
|
|
|
56
68
|
titlePlural: string;
|
|
57
69
|
icon: string;
|
|
58
70
|
};
|
|
71
|
+
documentTypeMetaDefinition: {
|
|
72
|
+
name: string;
|
|
73
|
+
title: string;
|
|
74
|
+
titlePlural: string;
|
|
75
|
+
icon: string;
|
|
76
|
+
};
|
|
77
|
+
documentTypeMetaValue: {
|
|
78
|
+
name: string;
|
|
79
|
+
title: string;
|
|
80
|
+
titlePlural: string;
|
|
81
|
+
icon: string;
|
|
82
|
+
};
|
|
83
|
+
documentTypeStatus: {
|
|
84
|
+
name: string;
|
|
85
|
+
title: string;
|
|
86
|
+
titlePlural: string;
|
|
87
|
+
icon: string;
|
|
88
|
+
};
|
|
59
89
|
};
|
|
60
90
|
};
|
|
61
91
|
|
|
@@ -65,51 +95,56 @@ declare class AXMDriveChooseModule {
|
|
|
65
95
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDriveChooseModule>;
|
|
66
96
|
}
|
|
67
97
|
|
|
98
|
+
declare class AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule {
|
|
99
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, never>;
|
|
100
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, never, never, never>;
|
|
101
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
declare class AXMDocumentManagementDocumentTypeMetaValueEntityModule {
|
|
105
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeMetaValueEntityModule, never>;
|
|
106
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementDocumentTypeMetaValueEntityModule, never, never, never>;
|
|
107
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementDocumentTypeMetaValueEntityModule>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
declare class AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule {
|
|
111
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, never>;
|
|
112
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, never, never, never>;
|
|
113
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule>;
|
|
114
|
+
}
|
|
115
|
+
|
|
68
116
|
declare class AXMDocumentManagementDocumentTypeEntityModule {
|
|
69
117
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeEntityModule, never>;
|
|
70
118
|
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementDocumentTypeEntityModule, never, never, never>;
|
|
71
119
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementDocumentTypeEntityModule>;
|
|
72
120
|
}
|
|
73
121
|
|
|
74
|
-
declare class
|
|
75
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
76
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<
|
|
77
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<
|
|
122
|
+
declare class AXMDocumentManagementDocumentEntityModule {
|
|
123
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentEntityModule, never>;
|
|
124
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementDocumentEntityModule, never, never, never>;
|
|
125
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementDocumentEntityModule>;
|
|
78
126
|
}
|
|
79
127
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
*/
|
|
85
|
-
declare function documentEntityFactory(_injector: Injector): Promise<AXPEntity | null>;
|
|
86
|
-
|
|
87
|
-
interface AXMDocumentDto extends AXPEntityModel<string> {
|
|
88
|
-
name: string;
|
|
89
|
-
title: string;
|
|
90
|
-
documentType: AXMDocumentDocDto;
|
|
91
|
-
parentId: string;
|
|
92
|
-
fileInfo: AXPFileListItem;
|
|
93
|
-
description?: string;
|
|
94
|
-
expirationDate?: Date;
|
|
95
|
-
status?: string;
|
|
96
|
-
version?: number;
|
|
97
|
-
metaDataForm?: AXPMetaData;
|
|
98
|
-
}
|
|
99
|
-
interface AXMDocumentDocDto {
|
|
100
|
-
id: string;
|
|
101
|
-
name: string;
|
|
102
|
-
title: string;
|
|
128
|
+
declare class AXMFolderEntityModule {
|
|
129
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMFolderEntityModule, never>;
|
|
130
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMFolderEntityModule, never, never, never>;
|
|
131
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMFolderEntityModule>;
|
|
103
132
|
}
|
|
104
133
|
|
|
105
|
-
declare
|
|
134
|
+
declare class AXMReviewEntityModule {
|
|
135
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMReviewEntityModule, never>;
|
|
136
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMReviewEntityModule, never, never, never>;
|
|
137
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMReviewEntityModule>;
|
|
106
138
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
110
|
-
static
|
|
139
|
+
|
|
140
|
+
declare class AXMDocumentManagementModule {
|
|
141
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementModule, never>;
|
|
142
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentManagementModule, never, [typeof AXMDriveChooseModule, typeof AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, typeof AXMDocumentManagementDocumentTypeMetaValueEntityModule, typeof AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, typeof AXMDocumentManagementDocumentTypeEntityModule, typeof AXMDocumentManagementDocumentEntityModule, typeof AXMFolderEntityModule, typeof AXMReviewEntityModule, typeof i9.AXPWidgetCoreModule, typeof i10.AXMediaViewerModule, typeof i11.AXPWorkflowModule], never>;
|
|
143
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentManagementModule>;
|
|
111
144
|
}
|
|
112
145
|
|
|
146
|
+
declare function documentFactory(injector: Injector): Promise<AXPEntity | null>;
|
|
147
|
+
|
|
113
148
|
declare function documentTypeFactory(injector: Injector): Promise<AXPEntity | null>;
|
|
114
149
|
|
|
115
150
|
interface DocumentTypeFileOutput {
|
|
@@ -144,52 +179,133 @@ declare class AXMDocumentTypeServiceImpl extends AXMDocumentTypeService {
|
|
|
144
179
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentTypeServiceImpl>;
|
|
145
180
|
}
|
|
146
181
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
182
|
+
type AXMDocumentWorkflowPhase = 'Draft' | 'PendingReview' | 'Rejected' | 'Reviewed' | 'Distributed' | 'Completed';
|
|
183
|
+
interface AXMDocumentMeta {
|
|
184
|
+
name: string;
|
|
185
|
+
title: string;
|
|
186
|
+
value: string;
|
|
187
|
+
}
|
|
188
|
+
interface AXMDocumentManagementDocumentEntityModel extends AXPEntityModel<string> {
|
|
189
|
+
name: string;
|
|
190
|
+
title: string;
|
|
191
|
+
documentType: AXMDocumentManagementDocumentTypeEntityModel;
|
|
192
|
+
parentId: string;
|
|
193
|
+
fileId: string | AXPFileListItem | any;
|
|
194
|
+
refRecordId?: string;
|
|
195
|
+
refEntity?: string;
|
|
196
|
+
description?: string;
|
|
197
|
+
size: number;
|
|
198
|
+
version?: number;
|
|
199
|
+
reviewRecordId?: string;
|
|
200
|
+
expirationDate?: Date;
|
|
201
|
+
fileData?: AXPFileListItem[];
|
|
202
|
+
status?: AXMDocumentWorkflowPhase;
|
|
203
|
+
metaDataForm?: AXPMetaData;
|
|
204
|
+
}
|
|
205
|
+
interface GetNextStatusOptions {
|
|
206
|
+
current: AXMDocumentWorkflowPhase;
|
|
207
|
+
requiresReview: boolean;
|
|
208
|
+
reviewFirst: boolean;
|
|
209
|
+
reviewResult?: 'approved' | 'rejected';
|
|
210
|
+
}
|
|
211
|
+
declare function getNextStatus(options: GetNextStatusOptions): AXMDocumentWorkflowPhase | null;
|
|
212
|
+
declare function canTransition(from: AXMDocumentWorkflowPhase, to: AXMDocumentWorkflowPhase): boolean;
|
|
213
|
+
|
|
214
|
+
declare abstract class AXMDocumentService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementDocumentEntityModel> {
|
|
215
|
+
}
|
|
216
|
+
declare class AXMDocumentServiceImpl extends AXMDocumentService {
|
|
217
|
+
constructor();
|
|
218
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentServiceImpl, never>;
|
|
219
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentServiceImpl>;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
declare function documentTypeMetaDefinitionfactory(injector: Injector): Promise<AXPEntity | null>;
|
|
223
|
+
|
|
224
|
+
interface AXMDocumentManagementDocumentTypeMetaDefinitionEntityModel extends AXPEntityModel<string> {
|
|
225
|
+
name: string;
|
|
226
|
+
title: string;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
declare abstract class AXMDocumentManagementDocumentTypeMetaDefinitionEntityService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModel> {
|
|
230
|
+
}
|
|
231
|
+
declare class AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl extends AXMDocumentManagementDocumentTypeMetaDefinitionEntityService {
|
|
232
|
+
constructor();
|
|
233
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, never>;
|
|
234
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl>;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
declare function documentTypeMetaValueFactory(injector: Injector): Promise<AXPEntity | null>;
|
|
238
|
+
|
|
239
|
+
interface AXMDocumentManagementDocumentTypeMetaValueEntityModel extends AXPEntityModel<string> {
|
|
240
|
+
name: string;
|
|
241
|
+
title: string;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
declare abstract class AXMDocumentManagementDocumentTypeMetaValueEntityService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementDocumentTypeMetaValueEntityModel> {
|
|
245
|
+
}
|
|
246
|
+
declare class AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl extends AXMDocumentManagementDocumentTypeMetaValueEntityService {
|
|
247
|
+
constructor();
|
|
248
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, never>;
|
|
249
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl>;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
declare function documentTypeStatusDefinitionFactory(injector: Injector): Promise<AXPEntity | null>;
|
|
253
|
+
|
|
254
|
+
interface AXMDocumentManagementDocumentTypeStatusDefinitionEntityModel extends AXPEntityModel<string> {
|
|
255
|
+
name: string;
|
|
256
|
+
title: string;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
declare abstract class AXMDocumentManagementDocumentTypeStatusDefinitionEntityService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModel> {
|
|
260
|
+
}
|
|
261
|
+
declare class AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl extends AXMDocumentManagementDocumentTypeStatusDefinitionEntityService {
|
|
262
|
+
constructor();
|
|
263
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, never>;
|
|
264
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl>;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
declare function documentRelatedFactory(injector: Injector): Promise<AXPEntity | null>;
|
|
268
|
+
|
|
269
|
+
declare function folderFactory(injector: Injector): Promise<AXPEntity | null>;
|
|
153
270
|
|
|
154
271
|
type AXMDocumentInheritanceType = 'Extends' | 'Inherited' | 'None';
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
*
|
|
158
|
-
* Inherited from AXPCategoryEntity:
|
|
159
|
-
* - id, title, description?, parentId?
|
|
160
|
-
* - childrenCount (direct subfolders count)
|
|
161
|
-
* - itemsCount? (direct documents count)
|
|
162
|
-
* - totalChildrenCount?, totalItemsCount? (optional, for analytics)
|
|
163
|
-
*
|
|
164
|
-
* Folder-specific: color, documentTypes, inherit, size, parent, folders, documents.
|
|
165
|
-
*/
|
|
166
|
-
interface AXMDocumentManagementFolderEntityModel extends AXPEntityModel<string>, AXPCategoryEntity<string> {
|
|
272
|
+
interface AXMDocumentManagementFolderEntityModel extends AXPEntityModel<string> {
|
|
273
|
+
name: string;
|
|
167
274
|
color: string;
|
|
275
|
+
description?: string;
|
|
276
|
+
parentId?: string;
|
|
277
|
+
isSystem: boolean;
|
|
278
|
+
isHidden: boolean;
|
|
279
|
+
isDeleted: boolean;
|
|
280
|
+
createdByUser?: any;
|
|
281
|
+
updatedByUser?: any;
|
|
282
|
+
tenantId?: string;
|
|
283
|
+
userId?: string;
|
|
168
284
|
documentTypes?: AXMDocumentManagementDocumentTypeEntityModel[];
|
|
169
|
-
inherit: AXMDocumentInheritanceType;
|
|
170
|
-
size: number;
|
|
171
285
|
parent?: AXMDocumentManagementFolderEntityModel;
|
|
172
286
|
folders?: AXMDocumentManagementFolderEntityModel[];
|
|
173
|
-
documents?:
|
|
287
|
+
documents?: AXMDocumentManagementDocumentEntityModel[];
|
|
288
|
+
nodeCount?: number;
|
|
289
|
+
size: number;
|
|
290
|
+
inherit: AXMDocumentInheritanceType;
|
|
174
291
|
}
|
|
175
292
|
interface AXMDocumentManagementFolderCreateDto {
|
|
176
|
-
|
|
293
|
+
name: string;
|
|
177
294
|
color: string;
|
|
295
|
+
size: number;
|
|
178
296
|
description?: string;
|
|
179
297
|
parentId?: string;
|
|
180
298
|
documentTypes?: AXMDocumentManagementDocumentTypeEntityModel[];
|
|
181
|
-
inherit: AXMDocumentInheritanceType;
|
|
182
|
-
/** Optional; when not provided, backend may set to 0 or compute. */
|
|
183
|
-
size?: number;
|
|
184
|
-
/** Optional; used for tenant-scoped folder creation. */
|
|
185
299
|
tenantId?: string;
|
|
186
|
-
/** Optional; used for user-scoped folder creation. */
|
|
187
300
|
userId?: string;
|
|
301
|
+
inherit: AXMDocumentInheritanceType;
|
|
188
302
|
}
|
|
189
303
|
interface AXMDocumentManagementFolderGetDto extends AXMDocumentManagementFolderEntityModel {
|
|
304
|
+
createdByUser?: any;
|
|
305
|
+
updatedByUser?: any;
|
|
190
306
|
parent?: AXMDocumentManagementFolderEntityModel;
|
|
191
307
|
folders?: AXMDocumentManagementFolderEntityModel[];
|
|
192
|
-
documents?:
|
|
308
|
+
documents?: AXMDocumentManagementDocumentEntityModel[];
|
|
193
309
|
}
|
|
194
310
|
|
|
195
311
|
declare abstract class AXMFolderService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderCreateDto> {
|
|
@@ -200,6 +316,36 @@ declare class AXMFolderServiceImpl extends AXMFolderService {
|
|
|
200
316
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMFolderServiceImpl>;
|
|
201
317
|
}
|
|
202
318
|
|
|
319
|
+
declare function reviewFactory(injector: Injector): Promise<AXPEntity | null>;
|
|
320
|
+
|
|
321
|
+
interface AXMDocumentManagementReviewEntityModel extends AXPEntityModel<string> {
|
|
322
|
+
id: string;
|
|
323
|
+
documentId: string;
|
|
324
|
+
document?: AXMDocumentManagementDocumentEntityModel;
|
|
325
|
+
version: number;
|
|
326
|
+
reviewerId: string;
|
|
327
|
+
reviewer?: AXPApplicationUserReference;
|
|
328
|
+
reviewStatus: 'Pending' | 'Approved' | 'Rejected';
|
|
329
|
+
reviewComment?: string;
|
|
330
|
+
reviewedAt?: Date;
|
|
331
|
+
modifiedBy?: AXPApplicationUserReference;
|
|
332
|
+
modifiedAt?: Date;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
declare abstract class AXMReviewService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementReviewEntityModel> {
|
|
336
|
+
}
|
|
337
|
+
declare class AXMReviewServiceImpl extends AXMReviewService {
|
|
338
|
+
constructor();
|
|
339
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMReviewServiceImpl, never>;
|
|
340
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMReviewServiceImpl>;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
declare class AXMDocumentReletedEntityModule {
|
|
344
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentReletedEntityModule, never>;
|
|
345
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMDocumentReletedEntityModule, never, never, never>;
|
|
346
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMDocumentReletedEntityModule>;
|
|
347
|
+
}
|
|
348
|
+
|
|
203
349
|
declare class AXMEntityProvider implements AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader {
|
|
204
350
|
private injector;
|
|
205
351
|
preload(): AXPEntityPreloadEntity[];
|
|
@@ -213,17 +359,12 @@ declare class AXMEntityProvider implements AXPEntityDefinitionLoader, AXPEntityD
|
|
|
213
359
|
}
|
|
214
360
|
|
|
215
361
|
declare abstract class AXPDocumentManagementService {
|
|
216
|
-
/**
|
|
217
|
-
* Gets the root folder for the given scope.
|
|
218
|
-
* Backend resolves tenant/user from request context (security: client sends only scope).
|
|
219
|
-
*/
|
|
220
|
-
abstract getRoot(scope: AXPPlatformScope): Promise<AXMDocumentManagementFolderEntityModel>;
|
|
221
362
|
abstract getDocumentPath(documentId: string, stopFolderId?: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
|
|
222
|
-
abstract searchFiles(searchTerm: string, rootFolderId: string): Promise<
|
|
223
|
-
abstract findManyDocuments(ids: string[]): Promise<
|
|
363
|
+
abstract searchFiles(searchTerm: string, rootFolderId: string): Promise<AXMDocumentManagementDocumentEntityModel[]>;
|
|
364
|
+
abstract findManyDocuments(ids: string[]): Promise<AXMDocumentManagementDocumentEntityModel[]>;
|
|
224
365
|
abstract getFolderPath(folderId: string, stopFolderId?: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
|
|
225
366
|
abstract searchFolders(searchTerm: string, rootFolderId: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
|
|
226
|
-
abstract getDocumentTypeByName(name: string): Promise<
|
|
367
|
+
abstract getDocumentTypeByName(name: string): Promise<AXMDocumentManagementDocumentTypeEntityModel>;
|
|
227
368
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDocumentManagementService, never>;
|
|
228
369
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPDocumentManagementService>;
|
|
229
370
|
}
|
|
@@ -248,15 +389,15 @@ interface AXMDocumentExplorerNode {
|
|
|
248
389
|
}[];
|
|
249
390
|
inherit?: AXMDocumentInheritanceType;
|
|
250
391
|
}
|
|
251
|
-
interface AXMNodeType extends
|
|
392
|
+
interface AXMNodeType extends AXMDocumentManagementDocumentTypeEntityModel {
|
|
252
393
|
}
|
|
253
394
|
type AXPDocumentExplorerViewMode = 'large-tiles' | 'small-tiles' | 'list' | 'details' | 'large-icons' | 'attachment' | 'small-icons';
|
|
254
395
|
type AXMDocumentExplorerBrowseMode = 'file' | 'folder';
|
|
255
396
|
type AXMDocumentSelectionMode = 'single' | 'multiple' | 'none';
|
|
256
397
|
type CreateFolderDto = Partial<Omit<AXMDocumentManagementFolderEntityModel, 'id'>>;
|
|
257
398
|
type UpdateFolderDto = Partial<Omit<AXMDocumentManagementFolderEntityModel, 'id'>>;
|
|
258
|
-
type CreateFileDto = Omit<
|
|
259
|
-
type UpdateFileDto = Partial<Omit<
|
|
399
|
+
type CreateFileDto = Omit<AXMDocumentManagementDocumentEntityModel, 'id'>;
|
|
400
|
+
type UpdateFileDto = Partial<Omit<AXMDocumentManagementDocumentEntityModel, 'id'>>;
|
|
260
401
|
|
|
261
402
|
interface AttachmentOptions {
|
|
262
403
|
multiple?: boolean;
|
|
@@ -275,7 +416,7 @@ declare class DocumentAttachmentsService {
|
|
|
275
416
|
private readonly documentService;
|
|
276
417
|
private readonly documentDialog;
|
|
277
418
|
private readonly translateService;
|
|
278
|
-
attachFile(fileType: string |
|
|
419
|
+
attachFile(fileType: string | AXMDocumentManagementDocumentTypeEntityModel, options?: AttachmentOptions): Promise<boolean>;
|
|
279
420
|
updateAttachedFile(fileId: string, options?: UpdateAttachmentOptions): Promise<boolean>;
|
|
280
421
|
/**
|
|
281
422
|
* Upload a new version for an existing document. Lets user choose a new file, edit metadata, and updates the document
|
|
@@ -292,81 +433,81 @@ declare class DocumentAttachmentsService {
|
|
|
292
433
|
}
|
|
293
434
|
|
|
294
435
|
/**
|
|
295
|
-
*
|
|
436
|
+
* Interface defining the contract for document drive service
|
|
296
437
|
*/
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
438
|
+
interface AXMDocumentManagerServiceInterface {
|
|
439
|
+
scope(scope: AXPPlatformScope, options?: {
|
|
440
|
+
tenantId?: string;
|
|
441
|
+
userId?: string;
|
|
442
|
+
}): ScopedDriveService;
|
|
443
|
+
getRoot(scope: AXPPlatformScope, options?: {
|
|
444
|
+
tenantId?: string;
|
|
445
|
+
userId?: string;
|
|
446
|
+
}): Promise<{
|
|
300
447
|
path: AXMDocumentExplorerNode[];
|
|
301
448
|
result: AXMDocumentExplorerNode;
|
|
302
449
|
}>;
|
|
303
|
-
|
|
450
|
+
getFolder(scope: AXPPlatformScope, folderId: string): Promise<{
|
|
304
451
|
path: AXMDocumentExplorerNode[];
|
|
305
452
|
result: AXMDocumentExplorerNode;
|
|
306
453
|
}>;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
454
|
+
createFolder(data: AXMDocumentManagementFolderCreateDto): Promise<AXMDocumentExplorerNode>;
|
|
455
|
+
updateFolder(folderId: string, data: UpdateFolderDto): Promise<AXMDocumentExplorerNode>;
|
|
456
|
+
deleteFolder(folderId: string): Promise<void>;
|
|
457
|
+
getAvailableSpace(): Promise<number>;
|
|
458
|
+
createFile(data: CreateFileDto): Promise<AXMDocumentExplorerNode>;
|
|
459
|
+
updateFile(fileId: string, data: UpdateFileDto): Promise<AXMDocumentExplorerNode>;
|
|
460
|
+
deleteFile(fileId: string): Promise<void>;
|
|
461
|
+
deleteNodes(nodeIds: AXMDocumentExplorerNode[]): Promise<void>;
|
|
462
|
+
copy(node: AXMDocumentExplorerNode): Promise<AXMDocumentExplorerNode>;
|
|
463
|
+
showCreateFolderDialog(parentId?: string): Promise<AXMDocumentExplorerNode | null>;
|
|
464
|
+
showDeleteNodesDialog(nodeIds: AXMDocumentExplorerNode[]): Promise<boolean>;
|
|
465
|
+
showRenamePopup(node: AXMDocumentExplorerNode): Promise<AXMDocumentExplorerNode | undefined>;
|
|
466
|
+
searchFolders(searchTerm: string, scope: AXPPlatformScope, options?: {
|
|
467
|
+
tenantId?: string;
|
|
468
|
+
userId?: string;
|
|
321
469
|
}): Promise<AXMDocumentExplorerNode[]>;
|
|
322
|
-
|
|
323
|
-
|
|
470
|
+
searchFiles(searchTerm: string, scope: AXPPlatformScope, options?: {
|
|
471
|
+
tenantId?: string;
|
|
472
|
+
userId?: string;
|
|
324
473
|
}): Promise<AXMDocumentExplorerNode[]>;
|
|
325
|
-
|
|
326
|
-
|
|
474
|
+
searchNodes(searchTerm: string, scope: AXPPlatformScope, options?: {
|
|
475
|
+
tenantId?: string;
|
|
476
|
+
userId?: string;
|
|
327
477
|
}): Promise<AXMDocumentExplorerNode[]>;
|
|
328
|
-
|
|
329
|
-
|
|
478
|
+
showChooseFileDialog(root: string): Promise<AXMDocumentExplorerNode[]>;
|
|
479
|
+
moveTo(options: {
|
|
330
480
|
node: AXMDocumentExplorerNode;
|
|
331
|
-
scope?: AXPPlatformScope;
|
|
332
481
|
browseMode?: AXMDocumentExplorerBrowseMode;
|
|
333
482
|
multiple?: boolean;
|
|
334
483
|
}): Promise<boolean>;
|
|
335
|
-
|
|
484
|
+
copyTo(options: {
|
|
336
485
|
node: AXMDocumentExplorerNode;
|
|
337
|
-
scope?: AXPPlatformScope;
|
|
338
486
|
browseMode?: AXMDocumentExplorerBrowseMode;
|
|
339
487
|
multiple?: boolean;
|
|
340
488
|
}): Promise<boolean>;
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
abstract updateFileName(node: AXMDocumentExplorerNode, name: string): Promise<AXMDocumentExplorerNode>;
|
|
359
|
-
abstract uploadFileByType(folderId: string, docTypeId: string): Promise<boolean>;
|
|
360
|
-
abstract updateUploadFileByType(node: AXMDocumentExplorerNode): Promise<boolean>;
|
|
361
|
-
abstract uploadNewVersion(node: AXMDocumentExplorerNode): Promise<boolean>;
|
|
362
|
-
abstract showVersionHistory(node: AXMDocumentExplorerNode): Promise<void>;
|
|
363
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagerService, never>;
|
|
364
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentManagerService>;
|
|
489
|
+
showFileViewerPopup(node: AXMDocumentExplorerNode): Promise<void>;
|
|
490
|
+
openFile(node: AXMDocumentExplorerNode): Promise<void>;
|
|
491
|
+
/**
|
|
492
|
+
* Returns nodes that are supported by the gallery (image/pdf extensions).
|
|
493
|
+
*/
|
|
494
|
+
getGallerySupportedFiles(nodes: AXMDocumentExplorerNode[]): AXMDocumentExplorerNode[];
|
|
495
|
+
getAllFolders(): Promise<AXMDocumentExplorerNode[]>;
|
|
496
|
+
getAllFiles(request?: AXPQueryRequest): Promise<AXMDocumentExplorerNode[]>;
|
|
497
|
+
getAllNodes(): Promise<AXMDocumentExplorerNode[]>;
|
|
498
|
+
downloadFile(node: AXMDocumentExplorerNode): Promise<void>;
|
|
499
|
+
showShareDialog(node: AXMDocumentExplorerNode): Promise<void>;
|
|
500
|
+
showShareWithEmailDialog(node: AXMDocumentExplorerNode): Promise<void>;
|
|
501
|
+
showLinkDialog(node: AXMDocumentExplorerNode): Promise<void>;
|
|
502
|
+
showLockDialog(node: AXMDocumentExplorerNode): Promise<boolean>;
|
|
503
|
+
showUnlockDialog(node: AXMDocumentExplorerNode): Promise<boolean>;
|
|
504
|
+
showFolderEditDialog(node: AXMDocumentExplorerNode): Promise<boolean>;
|
|
505
|
+
updateFileName(node: AXMDocumentExplorerNode, name: string): Promise<AXMDocumentExplorerNode>;
|
|
365
506
|
}
|
|
366
507
|
/**
|
|
367
|
-
*
|
|
508
|
+
* Service for handling document drive operations
|
|
368
509
|
*/
|
|
369
|
-
declare class
|
|
510
|
+
declare class AXMDocumentManagerService implements AXMDocumentManagerServiceInterface {
|
|
370
511
|
protected folderService: AXMFolderService;
|
|
371
512
|
protected sessionService: AXPSessionService;
|
|
372
513
|
protected documentService: AXMDocumentService;
|
|
@@ -379,16 +520,35 @@ declare class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
379
520
|
protected workflow: AXPWorkflowService;
|
|
380
521
|
protected translate: AXTranslationService;
|
|
381
522
|
protected layoutBuilder: AXPLayoutBuilderService;
|
|
523
|
+
protected reviewService: AXMReviewService;
|
|
382
524
|
protected attachmentsService: DocumentAttachmentsService;
|
|
383
525
|
protected filterMiddlewareService: AXPFilterOperatorMiddlewareService;
|
|
384
526
|
protected hooks: AXPHookService | null;
|
|
385
527
|
private scopedDriveCache;
|
|
386
528
|
private buildPathCache;
|
|
387
529
|
/**
|
|
388
|
-
* Creates a scoped drive service for the specified platform scope
|
|
389
|
-
* Backend resolves tenant/user from request context (client sends only scope).
|
|
530
|
+
* Creates a scoped drive service for the specified platform scope
|
|
390
531
|
*/
|
|
391
|
-
scope(scope: AXPPlatformScope
|
|
532
|
+
scope(scope: AXPPlatformScope, options?: {
|
|
533
|
+
tenantId?: string;
|
|
534
|
+
userId?: string;
|
|
535
|
+
}): ScopedDriveService;
|
|
536
|
+
/**
|
|
537
|
+
* Generates a cache key for the scoped drive service
|
|
538
|
+
*/
|
|
539
|
+
private getScopeCacheKey;
|
|
540
|
+
/**
|
|
541
|
+
* Gets the platform root folder (top-level folder)
|
|
542
|
+
*/
|
|
543
|
+
private getPlatformRootFolder;
|
|
544
|
+
/**
|
|
545
|
+
* Gets the tenant root folder
|
|
546
|
+
*/
|
|
547
|
+
private getTenantRootFolder;
|
|
548
|
+
/**
|
|
549
|
+
* Gets the user root folder
|
|
550
|
+
*/
|
|
551
|
+
private getUserRootFolder;
|
|
392
552
|
/**
|
|
393
553
|
* Maps folder entity to document explorer node
|
|
394
554
|
*/
|
|
@@ -410,23 +570,28 @@ declare class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
410
570
|
*/
|
|
411
571
|
private createCopyName;
|
|
412
572
|
/**
|
|
413
|
-
* Prepares file for copy operation by downloading from storage and converting to blob source
|
|
414
|
-
*
|
|
573
|
+
* Prepares file for copy operation by downloading from storage and converting to blob source
|
|
574
|
+
* This method takes an existing AXPFileListItem (or fileId string) and prepares it for re-upload
|
|
575
|
+
* by downloading the file from storage and changing source to blob with uploading status
|
|
415
576
|
*/
|
|
416
577
|
private prepareFileForCopy;
|
|
417
578
|
/**
|
|
418
|
-
* Gets the root folder
|
|
419
|
-
* Backend returns only the root folder; path is built here for the explorer.
|
|
579
|
+
* Gets the root folder based on the specified scope
|
|
420
580
|
*/
|
|
421
|
-
getRoot(scope: AXPPlatformScope
|
|
581
|
+
getRoot(scope: AXPPlatformScope, options?: {
|
|
582
|
+
tenantId?: string;
|
|
583
|
+
userId?: string;
|
|
584
|
+
}): Promise<{
|
|
422
585
|
path: AXMDocumentExplorerNode[];
|
|
423
586
|
result: AXMDocumentExplorerNode;
|
|
424
587
|
}>;
|
|
425
588
|
/**
|
|
426
|
-
* Gets a specific folder by ID
|
|
427
|
-
* Root for path is resolved from current session (security: only scope is used).
|
|
589
|
+
* Gets a specific folder by ID
|
|
428
590
|
*/
|
|
429
|
-
getFolder(scope: AXPPlatformScope, folderId: string
|
|
591
|
+
getFolder(scope: AXPPlatformScope, folderId: string, options?: {
|
|
592
|
+
tenantId?: string;
|
|
593
|
+
userId?: string;
|
|
594
|
+
}): Promise<{
|
|
430
595
|
path: AXMDocumentExplorerNode[];
|
|
431
596
|
result: AXMDocumentExplorerNode;
|
|
432
597
|
}>;
|
|
@@ -493,23 +658,27 @@ declare class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
493
658
|
multiple?: boolean;
|
|
494
659
|
}): Promise<boolean>;
|
|
495
660
|
/**
|
|
496
|
-
* Searches for folders by term within a scope
|
|
497
|
-
* Root is resolved from current session when folderId is not provided.
|
|
661
|
+
* Searches for folders by term within a scope
|
|
498
662
|
*/
|
|
499
663
|
searchFolders(searchTerm: string, scope: AXPPlatformScope, options?: {
|
|
664
|
+
tenantId?: string;
|
|
665
|
+
userId?: string;
|
|
500
666
|
folderId?: string;
|
|
501
667
|
}): Promise<AXMDocumentExplorerNode[]>;
|
|
502
668
|
/**
|
|
503
|
-
* Searches for files by term within a scope
|
|
504
|
-
* Root is resolved from current session when folderId is not provided.
|
|
669
|
+
* Searches for files by term within a scope
|
|
505
670
|
*/
|
|
506
671
|
searchFiles(searchTerm: string, scope: AXPPlatformScope, options?: {
|
|
672
|
+
tenantId?: string;
|
|
673
|
+
userId?: string;
|
|
507
674
|
folderId?: string;
|
|
508
675
|
}): Promise<AXMDocumentExplorerNode[]>;
|
|
509
676
|
/**
|
|
510
|
-
* Searches for both files and folders by term within a scope
|
|
677
|
+
* Searches for both files and folders by term within a scope
|
|
511
678
|
*/
|
|
512
679
|
searchNodes(searchTerm: string, scope: AXPPlatformScope, options?: {
|
|
680
|
+
tenantId?: string;
|
|
681
|
+
userId?: string;
|
|
513
682
|
folderId?: string;
|
|
514
683
|
}): Promise<AXMDocumentExplorerNode[]>;
|
|
515
684
|
/**
|
|
@@ -581,7 +750,7 @@ declare class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
581
750
|
*/
|
|
582
751
|
showChooseFileDialog(scope: AXPPlatformScope): Promise<AXMDocumentExplorerNode[]>;
|
|
583
752
|
/** File extensions supported by the gallery viewer (images + PDF). */
|
|
584
|
-
static readonly GALLERY_EXTENSIONS
|
|
753
|
+
private static readonly GALLERY_EXTENSIONS;
|
|
585
754
|
/**
|
|
586
755
|
* Returns nodes that are supported by the gallery (image/pdf extensions).
|
|
587
756
|
*/
|
|
@@ -597,33 +766,40 @@ declare class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
597
766
|
* Updates a file name
|
|
598
767
|
*/
|
|
599
768
|
updateFileName(node: AXMDocumentExplorerNode, name: string): Promise<AXMDocumentExplorerNode>;
|
|
600
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
601
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
769
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMDocumentManagerService, never>;
|
|
770
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMDocumentManagerService>;
|
|
602
771
|
}
|
|
603
772
|
/**
|
|
604
|
-
* Scoped drive service for specific platform scopes
|
|
605
|
-
* Backend resolves tenant/user from request context (client sends only scope).
|
|
773
|
+
* Scoped drive service for specific platform scopes
|
|
606
774
|
*/
|
|
607
775
|
declare class ScopedDriveService {
|
|
608
776
|
private parent;
|
|
609
777
|
private scope;
|
|
610
|
-
|
|
778
|
+
private options?;
|
|
779
|
+
constructor(parent: AXMDocumentManagerService, scope: AXPPlatformScope, options?: {
|
|
780
|
+
tenantId?: string;
|
|
781
|
+
userId?: string;
|
|
782
|
+
} | undefined);
|
|
611
783
|
/**
|
|
612
|
-
*
|
|
784
|
+
* Validates the scope options are appropriate for the selected scope
|
|
785
|
+
*/
|
|
786
|
+
private validateScopeOptions;
|
|
787
|
+
/**
|
|
788
|
+
* Gets root folder for this scope
|
|
613
789
|
*/
|
|
614
790
|
getRoot(): Promise<{
|
|
615
791
|
path: AXMDocumentExplorerNode[];
|
|
616
792
|
result: AXMDocumentExplorerNode;
|
|
617
793
|
}>;
|
|
618
794
|
/**
|
|
619
|
-
* Gets folder for this scope
|
|
795
|
+
* Gets folder for this scope
|
|
620
796
|
*/
|
|
621
797
|
getFolder(folderId: string): Promise<{
|
|
622
798
|
path: AXMDocumentExplorerNode[];
|
|
623
799
|
result: AXMDocumentExplorerNode;
|
|
624
800
|
}>;
|
|
625
801
|
/**
|
|
626
|
-
* Creates folder in this scope
|
|
802
|
+
* Creates folder in this scope
|
|
627
803
|
*/
|
|
628
804
|
createFolder(data: Omit<AXMDocumentManagementFolderCreateDto, 'tenantId' | 'userId'>): Promise<AXMDocumentExplorerNode>;
|
|
629
805
|
/**
|
|
@@ -641,21 +817,15 @@ declare class ScopedDriveService {
|
|
|
641
817
|
/**
|
|
642
818
|
* Searches folders in this scope
|
|
643
819
|
*/
|
|
644
|
-
searchFolders(searchTerm: string
|
|
645
|
-
folderId?: string;
|
|
646
|
-
}): Promise<AXMDocumentExplorerNode[]>;
|
|
820
|
+
searchFolders(searchTerm: string): Promise<AXMDocumentExplorerNode[]>;
|
|
647
821
|
/**
|
|
648
822
|
* Searches files in this scope
|
|
649
823
|
*/
|
|
650
|
-
searchFiles(searchTerm: string
|
|
651
|
-
folderId?: string;
|
|
652
|
-
}): Promise<AXMDocumentExplorerNode[]>;
|
|
824
|
+
searchFiles(searchTerm: string): Promise<AXMDocumentExplorerNode[]>;
|
|
653
825
|
/**
|
|
654
826
|
* Searches nodes in this scope
|
|
655
827
|
*/
|
|
656
|
-
searchNodes(searchTerm: string
|
|
657
|
-
folderId?: string;
|
|
658
|
-
}): Promise<AXMDocumentExplorerNode[]>;
|
|
828
|
+
searchNodes(searchTerm: string): Promise<AXMDocumentExplorerNode[]>;
|
|
659
829
|
/**
|
|
660
830
|
* Creates a copy of a node in this scope
|
|
661
831
|
*/
|
|
@@ -1027,6 +1197,18 @@ declare class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent imple
|
|
|
1027
1197
|
icon: string;
|
|
1028
1198
|
};
|
|
1029
1199
|
entities: {
|
|
1200
|
+
documentRelated: {
|
|
1201
|
+
name: string;
|
|
1202
|
+
title: string;
|
|
1203
|
+
titlePlural: string;
|
|
1204
|
+
icon: string;
|
|
1205
|
+
};
|
|
1206
|
+
review: {
|
|
1207
|
+
name: string;
|
|
1208
|
+
title: string;
|
|
1209
|
+
titlePlural: string;
|
|
1210
|
+
icon: string;
|
|
1211
|
+
};
|
|
1030
1212
|
folder: {
|
|
1031
1213
|
name: string;
|
|
1032
1214
|
title: string;
|
|
@@ -1045,6 +1227,24 @@ declare class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent imple
|
|
|
1045
1227
|
titlePlural: string;
|
|
1046
1228
|
icon: string;
|
|
1047
1229
|
};
|
|
1230
|
+
documentTypeMetaDefinition: {
|
|
1231
|
+
name: string;
|
|
1232
|
+
title: string;
|
|
1233
|
+
titlePlural: string;
|
|
1234
|
+
icon: string;
|
|
1235
|
+
};
|
|
1236
|
+
documentTypeMetaValue: {
|
|
1237
|
+
name: string;
|
|
1238
|
+
title: string;
|
|
1239
|
+
titlePlural: string;
|
|
1240
|
+
icon: string;
|
|
1241
|
+
};
|
|
1242
|
+
documentTypeStatus: {
|
|
1243
|
+
name: string;
|
|
1244
|
+
title: string;
|
|
1245
|
+
titlePlural: string;
|
|
1246
|
+
icon: string;
|
|
1247
|
+
};
|
|
1048
1248
|
};
|
|
1049
1249
|
};
|
|
1050
1250
|
protected readonly deviceService: AXPDeviceService;
|
|
@@ -1574,6 +1774,13 @@ declare const AXMPermissionsKeys: {
|
|
|
1574
1774
|
Delete: string;
|
|
1575
1775
|
Create: string;
|
|
1576
1776
|
};
|
|
1777
|
+
Review: {
|
|
1778
|
+
Management: string;
|
|
1779
|
+
View: string;
|
|
1780
|
+
Edit: string;
|
|
1781
|
+
Delete: string;
|
|
1782
|
+
Create: string;
|
|
1783
|
+
};
|
|
1577
1784
|
};
|
|
1578
1785
|
};
|
|
1579
1786
|
|
|
@@ -1587,5 +1794,5 @@ declare class AXMSettingProvider implements AXPSettingDefinitionProvider {
|
|
|
1587
1794
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMSettingProvider>;
|
|
1588
1795
|
}
|
|
1589
1796
|
|
|
1590
|
-
export { AXMArchiveFileTypeProvider, AXMAudioFileTypeProvider, AXMCodeFileTypeProvider, AXMDocumentDriveComponent, AXMDocumentExplorerComponent, AXMDocumentFileTypeProvider, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementModule, AXMDocumentManagerService,
|
|
1591
|
-
export type {
|
|
1797
|
+
export { AXMArchiveFileTypeProvider, AXMAudioFileTypeProvider, AXMCodeFileTypeProvider, AXMDocumentDriveComponent, AXMDocumentExplorerComponent, AXMDocumentFileTypeProvider, AXMDocumentManagementDocumentEntityModule, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, AXMDocumentManagementDocumentTypeMetaValueEntityModule, AXMDocumentManagementDocumentTypeMetaValueEntityService, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, AXMDocumentManagementModule, AXMDocumentManagerService, AXMDocumentReletedEntityModule, AXMDocumentService, AXMDocumentServiceImpl, AXMDocumentTypeService, AXMDocumentTypeServiceImpl, AXMEntityProvider, AXMFileGalleryPopupComponent, AXMFileTypeExtensionWidgetColumnComponent, AXMFileTypeExtensionWidgetDesignerComponent, AXMFileTypeExtensionWidgetEditComponent, AXMFileTypeExtensionWidgetViewComponent, AXMFileTypeModule, AXMFolderEntityModule, AXMFolderPathBreadcrumbsComponent, AXMFolderService, AXMFolderServiceImpl, AXMImageFileTypeProvider, AXMMenuProvider, AXMPermissionsKeys, AXMReviewEntityModule, AXMReviewService, AXMReviewServiceImpl, AXMSearchCommandProvider, AXMSettingProvider, AXMVideoFileTypeProvider, AXPDocumentExplorerSettings, AXPDocumentExplorerViewModel, AXPDocumentManagementFeatureKeys, AXPDocumentManagementMenuKeys, AXPDocumentManagementService, AXmFileTypeExtensionWidget, RootConfig, ScopedDriveService, canTransition, documentFactory, documentRelatedFactory, documentTypeFactory, documentTypeMetaDefinitionfactory, documentTypeMetaValueFactory, documentTypeStatusDefinitionFactory, folderFactory, getNextStatus, reviewFactory };
|
|
1798
|
+
export type { AXMDocumentExplorerBrowseMode, AXMDocumentExplorerNode, AXMDocumentInheritanceType, AXMDocumentManagementDocumentEntityModel, AXMDocumentManagementDocumentTypeEntityModel, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModel, AXMDocumentManagementDocumentTypeMetaValueEntityModel, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModel, AXMDocumentManagementFolderCreateDto, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderGetDto, AXMDocumentManagementReviewEntityModel, AXMDocumentManagerServiceInterface, AXMDocumentMeta, AXMDocumentSelectionMode, AXMDocumentWorkflowPhase, AXMNodeType, AXPDocumentExplorerViewMode, CreateFileDto, CreateFolderDto, DocumentTypeFileOutput, UpdateFileDto, UpdateFolderDto };
|