@acorex/modules 21.0.0-next.14 → 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 +261 -76
- 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-auth-acorex-modules-auth-DHSmTid9.mjs → acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs} +15 -15
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BgnYEXEl.mjs → acorex-modules-auth-app-chooser.component-DJE47I8p.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BgnYEXEl.mjs.map → acorex-modules-auth-app-chooser.component-DJE47I8p.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-BvhI4dAz.mjs → acorex-modules-auth-login.module-CI_lkyb7.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-BvhI4dAz.mjs.map → acorex-modules-auth-login.module-CI_lkyb7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-D4zZR1Gr.mjs → acorex-modules-auth-master.layout-CdY380qS.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-D4zZR1Gr.mjs.map → acorex-modules-auth-master.layout-CdY380qS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-DniYj9Tx.mjs → acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-DniYj9Tx.mjs.map → acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-mvQ4KY3g.mjs → acorex-modules-auth-password.component-CefISnvd.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-mvQ4KY3g.mjs.map → acorex-modules-auth-password.component-CefISnvd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CZkZAj32.mjs → acorex-modules-auth-password.component-Dw_v_EFQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-CZkZAj32.mjs.map → acorex-modules-auth-password.component-Dw_v_EFQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-6Ulmk7si.mjs → acorex-modules-auth-routes-CwcJHbAi.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-6Ulmk7si.mjs.map → acorex-modules-auth-routes-CwcJHbAi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-3OkOSTkm.mjs → acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-3OkOSTkm.mjs.map → acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-DtrVmYAu.mjs → acorex-modules-auth-two-factor.module-BOZB6sLo.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-DtrVmYAu.mjs.map → acorex-modules-auth-two-factor.module-BOZB6sLo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-Co18_D9H.mjs → acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-Co18_D9H.mjs.map → acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.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 +35 -29
- 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.mjs +2716 -527
- 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-notification-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-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-B_S373L-.mjs → acorex-modules-task-management-task-board.page-CuP9U1h8.mjs} +60 -53
- 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 +16 -16
- 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-auth-acorex-modules-auth-DHSmTid9.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-B_S373L-.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,10 +1,10 @@
|
|
|
1
1
|
import { AXPEntity, AXPMenuProvider, AXPMenuProviderContext } from '@acorex/platform/common';
|
|
2
|
-
import { AXPEntityDefinitionLoader, AXPEntityPreloadEntity, AXPEntityModel } from '@acorex/platform/layout/entity';
|
|
2
|
+
import { AXPEntityDefinitionLoader, AXPEntityPreloadEntity, AXPEntityModel, AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import {
|
|
4
|
+
import { Injector } from '@angular/core';
|
|
5
5
|
import * as i1 from '@acorex/modules/calendar-management';
|
|
6
6
|
import * as i2 from '@acorex/platform/domain';
|
|
7
|
-
import {
|
|
7
|
+
import { AXPWorkflowDefinition, AXPWorkflowStatus, AXPWorkflowSubStatus, AXPWorkflowInstance, AXPActivityCategory, AXPActivityDefinition, AXPActivityCategoryProvider, AXPActivityProvider } from '@acorex/platform/workflow';
|
|
8
8
|
import { AXPExecuteCommandResult, AXPActionMenuItem, AXPExecuteCommand, AXPCategoryEntity } from '@acorex/platform/core';
|
|
9
9
|
import { AXPCommand } from '@acorex/platform/runtime';
|
|
10
10
|
import { AXStyleColorType } from '@acorex/cdk/common';
|
|
@@ -12,7 +12,6 @@ import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
|
|
|
12
12
|
import { AXPopupSizeType } from '@acorex/components/popup';
|
|
13
13
|
import { AXPPageLayoutBaseComponent } from '@acorex/platform/layout/views';
|
|
14
14
|
import { AXPCategoryTreeDataSource, AXPCategoryTreeConfig, AXPCategoryTreeActions, AXPCategoryTreeEvents } from '@acorex/platform/layout/components';
|
|
15
|
-
import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPTaskActionMenuItem, AXPExtraField, AXPTaskStatus } from '@acorex/modules/task-management';
|
|
16
15
|
|
|
17
16
|
declare const RootConfig: {
|
|
18
17
|
config: {
|
|
@@ -40,6 +39,13 @@ declare const RootConfig: {
|
|
|
40
39
|
titlePlural: string;
|
|
41
40
|
icon: string;
|
|
42
41
|
};
|
|
42
|
+
activityCategory: {
|
|
43
|
+
name: string;
|
|
44
|
+
fullName: string;
|
|
45
|
+
title: string;
|
|
46
|
+
titlePlural: string;
|
|
47
|
+
icon: string;
|
|
48
|
+
};
|
|
43
49
|
activityDefinition: {
|
|
44
50
|
name: string;
|
|
45
51
|
fullName: string;
|
|
@@ -47,11 +53,26 @@ declare const RootConfig: {
|
|
|
47
53
|
titlePlural: string;
|
|
48
54
|
icon: string;
|
|
49
55
|
};
|
|
56
|
+
workItem: {
|
|
57
|
+
name: string;
|
|
58
|
+
fullName: string;
|
|
59
|
+
title: string;
|
|
60
|
+
titlePlural: string;
|
|
61
|
+
icon: string;
|
|
62
|
+
};
|
|
63
|
+
workItemCandidate: {
|
|
64
|
+
name: string;
|
|
65
|
+
fullName: string;
|
|
66
|
+
title: string;
|
|
67
|
+
titlePlural: string;
|
|
68
|
+
icon: string;
|
|
69
|
+
};
|
|
50
70
|
};
|
|
51
71
|
};
|
|
52
72
|
|
|
53
73
|
declare class AXMWorkflowManagementModuleEntityProvider implements AXPEntityDefinitionLoader {
|
|
54
74
|
preload(): AXPEntityPreloadEntity[];
|
|
75
|
+
private injector;
|
|
55
76
|
get(moduleName: string, entityName: string): Promise<AXPEntity | null>;
|
|
56
77
|
list(): Promise<{
|
|
57
78
|
name: string;
|
|
@@ -67,6 +88,42 @@ declare class AXMMenuProvider implements AXPMenuProvider {
|
|
|
67
88
|
provide(context: AXPMenuProviderContext): Promise<void>;
|
|
68
89
|
}
|
|
69
90
|
|
|
91
|
+
declare class AXMWorkflowManagementWorkflowDefinitionEntityModule {
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementWorkflowDefinitionEntityModule, never>;
|
|
93
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMWorkflowManagementWorkflowDefinitionEntityModule, never, never, never>;
|
|
94
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMWorkflowManagementWorkflowDefinitionEntityModule>;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
declare class AXMWorkflowManagementWorkflowInstanceEntityModule {
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementWorkflowInstanceEntityModule, never>;
|
|
99
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMWorkflowManagementWorkflowInstanceEntityModule, never, never, never>;
|
|
100
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMWorkflowManagementWorkflowInstanceEntityModule>;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
declare class AXMWorkflowManagementActivityCategoryEntityModule {
|
|
104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementActivityCategoryEntityModule, never>;
|
|
105
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMWorkflowManagementActivityCategoryEntityModule, never, never, never>;
|
|
106
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMWorkflowManagementActivityCategoryEntityModule>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
declare class AXMWorkflowManagementActivityDefinitionEntityModule {
|
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementActivityDefinitionEntityModule, never>;
|
|
111
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMWorkflowManagementActivityDefinitionEntityModule, never, never, never>;
|
|
112
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMWorkflowManagementActivityDefinitionEntityModule>;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
declare class AXMWorkflowManagementWorkItemEntityModule {
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementWorkItemEntityModule, never>;
|
|
117
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMWorkflowManagementWorkItemEntityModule, never, never, never>;
|
|
118
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMWorkflowManagementWorkItemEntityModule>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare class AXMWorkflowManagementWorkItemCandidateEntityModule {
|
|
122
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementWorkItemCandidateEntityModule, never>;
|
|
123
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMWorkflowManagementWorkItemCandidateEntityModule, never, never, never>;
|
|
124
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMWorkflowManagementWorkItemCandidateEntityModule>;
|
|
125
|
+
}
|
|
126
|
+
|
|
70
127
|
/**
|
|
71
128
|
* Workflow Plugin Module
|
|
72
129
|
*
|
|
@@ -80,17 +137,10 @@ declare class AXMWorkflowPluginModule {
|
|
|
80
137
|
|
|
81
138
|
declare class AXMWorkflowManagementModule {
|
|
82
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementModule, never>;
|
|
83
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMWorkflowManagementModule, never, [typeof i1.AXMCalendarManagementModule, typeof i2.AXPDomainModule, typeof AXMWorkflowPluginModule], never>;
|
|
140
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMWorkflowManagementModule, never, [typeof i1.AXMCalendarManagementModule, typeof i2.AXPDomainModule, typeof AXMWorkflowManagementWorkflowDefinitionEntityModule, typeof AXMWorkflowManagementWorkflowInstanceEntityModule, typeof AXMWorkflowManagementActivityCategoryEntityModule, typeof AXMWorkflowManagementActivityDefinitionEntityModule, typeof AXMWorkflowManagementWorkItemEntityModule, typeof AXMWorkflowManagementWorkItemCandidateEntityModule, typeof AXMWorkflowPluginModule], never>;
|
|
84
141
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMWorkflowManagementModule>;
|
|
85
142
|
}
|
|
86
143
|
|
|
87
|
-
interface AXMWorkflowManagementActivityCategoryEntityModel extends AXPEntityModel<string>, AXPActivityCategory {
|
|
88
|
-
id: string;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
interface AXMWorkflowManagementActivityDefinitionEntityModel extends AXPEntityModel<string>, AXPActivityDefinition {
|
|
92
|
-
}
|
|
93
|
-
|
|
94
144
|
/**
|
|
95
145
|
* Workflow Definition Entity Model.
|
|
96
146
|
*
|
|
@@ -140,6 +190,16 @@ interface AXMWorkflowManagementWorkflowDefinitionEntityModel extends AXPEntityMo
|
|
|
140
190
|
isPublished: boolean;
|
|
141
191
|
}
|
|
142
192
|
|
|
193
|
+
declare abstract class AXMWorkflowManagementWorkflowDefinitionEntityService extends AXMEntityCrudServiceImpl<string, AXMWorkflowManagementWorkflowDefinitionEntityModel> {
|
|
194
|
+
}
|
|
195
|
+
declare class AXMWorkflowManagementWorkflowDefinitionEntityServiceImpl extends AXMWorkflowManagementWorkflowDefinitionEntityService {
|
|
196
|
+
constructor();
|
|
197
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementWorkflowDefinitionEntityServiceImpl, never>;
|
|
198
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowManagementWorkflowDefinitionEntityServiceImpl>;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
declare function factory$5(injector: Injector): Promise<AXPEntity | null>;
|
|
202
|
+
|
|
143
203
|
/**
|
|
144
204
|
* Workflow Instance Entity Model.
|
|
145
205
|
*
|
|
@@ -198,23 +258,135 @@ interface AXMWorkflowManagementWorkflowInstanceEntityModel extends AXPEntityMode
|
|
|
198
258
|
* Full workflow instance (stored as JSON)
|
|
199
259
|
*/
|
|
200
260
|
workflowInstance?: AXPWorkflowInstance;
|
|
201
|
-
/**
|
|
202
|
-
* Entity reference type
|
|
203
|
-
*/
|
|
204
|
-
entityRefType?: string;
|
|
205
|
-
/**
|
|
206
|
-
* Entity reference ID
|
|
207
|
-
*/
|
|
208
|
-
entityRefId?: string;
|
|
209
261
|
}
|
|
210
262
|
|
|
263
|
+
declare abstract class AXMWorkflowManagementWorkflowInstanceEntityService extends AXMEntityCrudServiceImpl<string, AXMWorkflowManagementWorkflowInstanceEntityModel> {
|
|
264
|
+
}
|
|
265
|
+
declare class AXMWorkflowManagementWorkflowInstanceEntityServiceImpl extends AXMWorkflowManagementWorkflowInstanceEntityService {
|
|
266
|
+
constructor();
|
|
267
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementWorkflowInstanceEntityServiceImpl, never>;
|
|
268
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowManagementWorkflowInstanceEntityServiceImpl>;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
declare function factory$4(injector: Injector): Promise<AXPEntity | null>;
|
|
272
|
+
|
|
273
|
+
interface AXMWorkflowManagementActivityCategoryEntityModel extends AXPEntityModel<string>, AXPActivityCategory {
|
|
274
|
+
id: string;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
declare abstract class AXMWorkflowManagementActivityCategoryEntityService extends AXMEntityCrudServiceImpl<string, AXMWorkflowManagementActivityCategoryEntityModel> {
|
|
278
|
+
}
|
|
279
|
+
declare class AXMWorkflowManagementActivityCategoryEntityServiceImpl extends AXMWorkflowManagementActivityCategoryEntityService {
|
|
280
|
+
constructor();
|
|
281
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementActivityCategoryEntityServiceImpl, never>;
|
|
282
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowManagementActivityCategoryEntityServiceImpl>;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
declare function factory$3(injector: Injector): Promise<AXPEntity | null>;
|
|
286
|
+
|
|
287
|
+
interface AXMWorkflowManagementActivityDefinitionEntityModel extends AXPEntityModel<string>, AXPActivityDefinition {
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
declare abstract class AXMWorkflowManagementActivityDefinitionEntityService extends AXMEntityCrudServiceImpl<string, AXMWorkflowManagementActivityDefinitionEntityModel> {
|
|
291
|
+
}
|
|
292
|
+
declare class AXMWorkflowManagementActivityDefinitionEntityServiceImpl extends AXMWorkflowManagementActivityDefinitionEntityService {
|
|
293
|
+
constructor();
|
|
294
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementActivityDefinitionEntityServiceImpl, never>;
|
|
295
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowManagementActivityDefinitionEntityServiceImpl>;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
declare function factory$2(_injector: Injector): Promise<AXPEntity | null>;
|
|
299
|
+
|
|
300
|
+
type WorkItemStatus = 'Pending' | 'Claimed' | 'InProgress' | 'Completed' | 'Cancelled' | 'Rejected';
|
|
301
|
+
type WorkItemKind = 'HumanTask' | 'Approval' | 'Review' | 'Notification' | 'Other';
|
|
302
|
+
type WorkItemPriority = 'Low' | 'Normal' | 'High' | 'Urgent';
|
|
303
|
+
interface AXMWorkflowManagementWorkItemEntityModel extends AXPEntityModel<string> {
|
|
304
|
+
instanceId: string;
|
|
305
|
+
bookmarkId?: string | null;
|
|
306
|
+
activityNodeId: string;
|
|
307
|
+
activityName?: string | null;
|
|
308
|
+
title: string;
|
|
309
|
+
description?: string | null;
|
|
310
|
+
kind: WorkItemKind;
|
|
311
|
+
status: WorkItemStatus;
|
|
312
|
+
priority: WorkItemPriority;
|
|
313
|
+
assignedUserId?: string | null;
|
|
314
|
+
claimedByUserId?: string | null;
|
|
315
|
+
completedByUserId?: string | null;
|
|
316
|
+
createdByUserId?: string | null;
|
|
317
|
+
assignedAt?: string | null;
|
|
318
|
+
claimedAt?: string | null;
|
|
319
|
+
completedAt?: string | null;
|
|
320
|
+
dueDate?: string | null;
|
|
321
|
+
createdAt: string;
|
|
322
|
+
updatedAt: string;
|
|
323
|
+
entityRefId?: string | null;
|
|
324
|
+
entityRefType?: string | null;
|
|
325
|
+
instance?: {
|
|
326
|
+
id: string;
|
|
327
|
+
name?: string;
|
|
328
|
+
definitionId: string;
|
|
329
|
+
};
|
|
330
|
+
assignedUser?: {
|
|
331
|
+
id: string;
|
|
332
|
+
displayName: string;
|
|
333
|
+
};
|
|
334
|
+
claimedByUser?: {
|
|
335
|
+
id: string;
|
|
336
|
+
displayName: string;
|
|
337
|
+
};
|
|
338
|
+
completedByUser?: {
|
|
339
|
+
id: string;
|
|
340
|
+
displayName: string;
|
|
341
|
+
};
|
|
342
|
+
createdByUser?: {
|
|
343
|
+
id: string;
|
|
344
|
+
displayName: string;
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
declare abstract class AXMWorkflowManagementWorkItemEntityService extends AXMEntityCrudServiceImpl<string, AXMWorkflowManagementWorkItemEntityModel> {
|
|
349
|
+
}
|
|
350
|
+
declare class AXMWorkflowManagementWorkItemEntityServiceImpl extends AXMWorkflowManagementWorkItemEntityService {
|
|
351
|
+
constructor();
|
|
352
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementWorkItemEntityServiceImpl, never>;
|
|
353
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowManagementWorkItemEntityServiceImpl>;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
declare function factory$1(injector: Injector): Promise<AXPEntity | null>;
|
|
357
|
+
|
|
358
|
+
interface AXMWorkflowManagementWorkItemCandidateEntityModel extends AXPEntityModel<string> {
|
|
359
|
+
workItemId: string;
|
|
360
|
+
userId: string;
|
|
361
|
+
createdAt: string;
|
|
362
|
+
updatedAt: string;
|
|
363
|
+
workItem?: {
|
|
364
|
+
id: string;
|
|
365
|
+
title: string;
|
|
366
|
+
status: string;
|
|
367
|
+
};
|
|
368
|
+
user?: {
|
|
369
|
+
id: string;
|
|
370
|
+
displayName: string;
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
declare abstract class AXMWorkflowManagementWorkItemCandidateEntityService extends AXMEntityCrudServiceImpl<string, AXMWorkflowManagementWorkItemCandidateEntityModel> {
|
|
375
|
+
}
|
|
376
|
+
declare class AXMWorkflowManagementWorkItemCandidateEntityServiceImpl extends AXMWorkflowManagementWorkItemCandidateEntityService {
|
|
377
|
+
constructor();
|
|
378
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMWorkflowManagementWorkItemCandidateEntityServiceImpl, never>;
|
|
379
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowManagementWorkItemCandidateEntityServiceImpl>;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
declare function factory(injector: Injector): Promise<AXPEntity | null>;
|
|
383
|
+
|
|
211
384
|
/**
|
|
212
385
|
* Provider for activity categories.
|
|
213
386
|
* Reads categories from entity service (mock data).
|
|
214
387
|
*/
|
|
215
388
|
declare class AXCCategoryProvider implements AXPActivityCategoryProvider {
|
|
216
389
|
private readonly entityService;
|
|
217
|
-
/** Category entity is provided by category plugin (ActivityDefinition → ActivityDefinitionCategory). */
|
|
218
390
|
private categoryService;
|
|
219
391
|
getList(parentId?: string): Promise<AXPActivityCategory[]>;
|
|
220
392
|
getById(id: string): Promise<AXPActivityCategory | undefined>;
|
|
@@ -222,6 +394,64 @@ declare class AXCCategoryProvider implements AXPActivityCategoryProvider {
|
|
|
222
394
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCCategoryProvider>;
|
|
223
395
|
}
|
|
224
396
|
|
|
397
|
+
/**
|
|
398
|
+
* Input for CheckPermission activity.
|
|
399
|
+
*/
|
|
400
|
+
interface CheckPermissionInput {
|
|
401
|
+
/**
|
|
402
|
+
* Permission key to check (e.g., "Users.Create")
|
|
403
|
+
*/
|
|
404
|
+
permission: string;
|
|
405
|
+
/**
|
|
406
|
+
* User ID to check (optional, defaults to current user)
|
|
407
|
+
*/
|
|
408
|
+
userId?: string;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Output for CheckPermission activity.
|
|
412
|
+
*/
|
|
413
|
+
interface CheckPermissionOutput {
|
|
414
|
+
/**
|
|
415
|
+
* Whether user has the permission
|
|
416
|
+
*/
|
|
417
|
+
hasPermission: boolean;
|
|
418
|
+
/**
|
|
419
|
+
* User ID that was checked
|
|
420
|
+
*/
|
|
421
|
+
userId: string;
|
|
422
|
+
/**
|
|
423
|
+
* Permission that was checked
|
|
424
|
+
*/
|
|
425
|
+
permission: string;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* CheckPermission Activity (Backend)
|
|
429
|
+
*
|
|
430
|
+
* Checks if a user has specific permission.
|
|
431
|
+
* This is a mock implementation that always grants permission for demo purposes.
|
|
432
|
+
*
|
|
433
|
+
* In production, this would check against real permission system.
|
|
434
|
+
*
|
|
435
|
+
* Execution Mode: backend
|
|
436
|
+
* Activity Type: workflow-activity:check-permission
|
|
437
|
+
*
|
|
438
|
+
* Outcomes:
|
|
439
|
+
* - HasPermission: User has the permission
|
|
440
|
+
* - NoPermission: User does not have the permission
|
|
441
|
+
*/
|
|
442
|
+
declare class CheckPermissionActivity implements AXPCommand<CheckPermissionInput, {
|
|
443
|
+
output: CheckPermissionOutput;
|
|
444
|
+
outcomes: Record<string, any>;
|
|
445
|
+
}> {
|
|
446
|
+
private readonly sessionService;
|
|
447
|
+
execute(input: CheckPermissionInput): Promise<AXPExecuteCommandResult<{
|
|
448
|
+
output: CheckPermissionOutput;
|
|
449
|
+
outcomes: Record<string, any>;
|
|
450
|
+
}>>;
|
|
451
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckPermissionActivity, never>;
|
|
452
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CheckPermissionActivity>;
|
|
453
|
+
}
|
|
454
|
+
|
|
225
455
|
/**
|
|
226
456
|
* Input for ExecuteQuery activity.
|
|
227
457
|
*/
|
|
@@ -504,104 +734,6 @@ declare class ShowLayoutPopupActivity implements AXPCommand<ShowLayoutPopupInput
|
|
|
504
734
|
static ɵprov: i0.ɵɵInjectableDeclaration<ShowLayoutPopupActivity>;
|
|
505
735
|
}
|
|
506
736
|
|
|
507
|
-
/**
|
|
508
|
-
* Input for Human Task activity.
|
|
509
|
-
*/
|
|
510
|
-
interface HumanTaskInput {
|
|
511
|
-
/**
|
|
512
|
-
* Task title
|
|
513
|
-
*/
|
|
514
|
-
title?: string;
|
|
515
|
-
/**
|
|
516
|
-
* Task description
|
|
517
|
-
*/
|
|
518
|
-
description?: string;
|
|
519
|
-
/**
|
|
520
|
-
* Assigned user IDs (direct assignment)
|
|
521
|
-
*/
|
|
522
|
-
assignedUserIds?: string[];
|
|
523
|
-
/**
|
|
524
|
-
* Candidate user IDs (users who can claim the task)
|
|
525
|
-
*/
|
|
526
|
-
candidateUserIds?: string[];
|
|
527
|
-
/**
|
|
528
|
-
* Candidate role IDs (roles whose members can claim the task)
|
|
529
|
-
*/
|
|
530
|
-
candidateRoleIds?: string[];
|
|
531
|
-
/**
|
|
532
|
-
* Task priority
|
|
533
|
-
*/
|
|
534
|
-
priority?: 'Low' | 'Normal' | 'High' | 'Urgent';
|
|
535
|
-
/**
|
|
536
|
-
* Task due date (ISO date string or Date)
|
|
537
|
-
*/
|
|
538
|
-
dueDate?: string | Date;
|
|
539
|
-
/**
|
|
540
|
-
* Initial context data for the form
|
|
541
|
-
*/
|
|
542
|
-
context?: Record<string, any>;
|
|
543
|
-
}
|
|
544
|
-
/**
|
|
545
|
-
* Output for Human Task activity.
|
|
546
|
-
*/
|
|
547
|
-
interface HumanTaskOutput {
|
|
548
|
-
/**
|
|
549
|
-
* Result data from task completion (form values)
|
|
550
|
-
*/
|
|
551
|
-
result: Record<string, any>;
|
|
552
|
-
/**
|
|
553
|
-
* Action that was clicked (e.g., 'approve', 'reject', 'cancel')
|
|
554
|
-
*/
|
|
555
|
-
action: string;
|
|
556
|
-
}
|
|
557
|
-
/**
|
|
558
|
-
* Human Task Activity (Frontend)
|
|
559
|
-
*
|
|
560
|
-
* Generic human task activity that suspends workflow and waits for user interaction.
|
|
561
|
-
* Supports assignment and actions (displayed inline). For dialog-style flow, use a follow-up activity.
|
|
562
|
-
*
|
|
563
|
-
* Execution Mode: frontend
|
|
564
|
-
* Task Type: human-task
|
|
565
|
-
* Activity Type: workflow-activity:human-task
|
|
566
|
-
*
|
|
567
|
-
* Outcomes:
|
|
568
|
-
* Outcomes are dynamically generated based on the actions provided in the input.
|
|
569
|
-
* Each action creates a corresponding outcome with the action name (from command.name or action.name).
|
|
570
|
-
* If no actions are provided, default actions (cancel, submit) are used.
|
|
571
|
-
*
|
|
572
|
-
* Examples:
|
|
573
|
-
* - If action has command.name = 'approve', outcome will be { approve: true }
|
|
574
|
-
* - If action has name = 'reject', outcome will be { reject: true }
|
|
575
|
-
* - Default outcomes: { cancel: true } or { submit: true }
|
|
576
|
-
*
|
|
577
|
-
* Assignment:
|
|
578
|
-
* - assignedUserIds: Direct assignment to specific users
|
|
579
|
-
* - candidateUserIds: Users who can claim the task
|
|
580
|
-
* - candidateRoleIds: Roles whose members can claim the task
|
|
581
|
-
*
|
|
582
|
-
* Display Modes:
|
|
583
|
-
* - 'dialog': Traditional modal dialog (default)
|
|
584
|
-
* - 'inline': Actions displayed directly on page before resume
|
|
585
|
-
*/
|
|
586
|
-
declare class HumanTaskActivity implements AXPCommand<HumanTaskInput, {
|
|
587
|
-
output: HumanTaskOutput;
|
|
588
|
-
outcomes: Record<string, any>;
|
|
589
|
-
}> {
|
|
590
|
-
/**
|
|
591
|
-
* Execute human task activity.
|
|
592
|
-
*
|
|
593
|
-
* This method doesn't actually show UI - it just validates input and returns success.
|
|
594
|
-
* The workflow engine will suspend at this activity and create a bookmark.
|
|
595
|
-
* The Generic Task Provider will handle displaying the task UI inline.
|
|
596
|
-
*/
|
|
597
|
-
execute(input: HumanTaskInput): Promise<AXPExecuteCommandResult<{
|
|
598
|
-
output: HumanTaskOutput;
|
|
599
|
-
outcomes: Record<string, any>;
|
|
600
|
-
}>>;
|
|
601
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HumanTaskActivity, never>;
|
|
602
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HumanTaskActivity>;
|
|
603
|
-
}
|
|
604
|
-
|
|
605
737
|
/**
|
|
606
738
|
* Input for ShowToast activity.
|
|
607
739
|
*/
|
|
@@ -775,6 +907,18 @@ declare class AXPCreateEntityActivity implements AXPCommand<CreateEnityInput, {
|
|
|
775
907
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPCreateEntityActivity>;
|
|
776
908
|
}
|
|
777
909
|
|
|
910
|
+
declare class AssignToManggerActivity implements AXPCommand<any, {
|
|
911
|
+
output: any;
|
|
912
|
+
outcomes: Record<string, any>;
|
|
913
|
+
}> {
|
|
914
|
+
execute(input: any): Promise<AXPExecuteCommandResult<{
|
|
915
|
+
output: any;
|
|
916
|
+
outcomes: Record<string, any>;
|
|
917
|
+
}>>;
|
|
918
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssignToManggerActivity, never>;
|
|
919
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AssignToManggerActivity>;
|
|
920
|
+
}
|
|
921
|
+
|
|
778
922
|
interface PropertySchema {
|
|
779
923
|
name: string;
|
|
780
924
|
type: 'string' | 'number' | 'boolean' | 'object' | 'array' | 'select' | 'any';
|
|
@@ -1228,104 +1372,5 @@ declare class AXMActivityCategoriesTreeComponent {
|
|
|
1228
1372
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXMActivityCategoriesTreeComponent, "axp-activity-categories-tree", never, {}, { "categoryClick": "categoryClick"; "activityClick": "activityClick"; }, never, never, true, never>;
|
|
1229
1373
|
}
|
|
1230
1374
|
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
* One provider per workflow definition – pass definitionId to scope tasks to that definition only.
|
|
1234
|
-
*/
|
|
1235
|
-
interface AXPGenericWorkflowTaskProviderConfig {
|
|
1236
|
-
/** Unique provider name (e.g. 'leave-request-workflow-tasks', 'document-review-workflow-tasks'). */
|
|
1237
|
-
name: string;
|
|
1238
|
-
/** Display title in task board type selector. */
|
|
1239
|
-
title: string;
|
|
1240
|
-
/** Optional icon (default: 'fa-light fa-diagram-project'). */
|
|
1241
|
-
icon?: string;
|
|
1242
|
-
/**
|
|
1243
|
-
* When set, only workflow instances for this definition are shown.
|
|
1244
|
-
* One provider = one definition. Omit to show all suspended workflow tasks (single generic provider).
|
|
1245
|
-
*/
|
|
1246
|
-
definitionId?: string;
|
|
1247
|
-
}
|
|
1248
|
-
/**
|
|
1249
|
-
* Injection token for provider config. Use when registering via DI (provide token + useFactory with deps).
|
|
1250
|
-
* When creating via useFactory: () => new AXPGenericWorkflowTaskProvider({ ... }), config is passed in the closure.
|
|
1251
|
-
*/
|
|
1252
|
-
declare const AXP_GENERIC_WORKFLOW_TASK_PROVIDER_CONFIG: InjectionToken<AXPGenericWorkflowTaskProviderConfig>;
|
|
1253
|
-
/**
|
|
1254
|
-
* Generic Workflow Task Provider
|
|
1255
|
-
*
|
|
1256
|
-
* Provides tasks from Workflow Instances directly (no Work Items).
|
|
1257
|
-
* Queries suspended workflow instances and extracts tasks from bookmarks.
|
|
1258
|
-
*
|
|
1259
|
-
* Create one provider per workflow definition by passing a config (name, title, definitionId).
|
|
1260
|
-
* E.g. leave request: { name: 'leave-request-workflow-tasks', title: 'Leave Request', definitionId: 'LeaveRequestWorkflow' }
|
|
1261
|
-
*
|
|
1262
|
-
* Architecture:
|
|
1263
|
-
* - Queries Workflow Instances with subStatus = 'Suspended'
|
|
1264
|
-
* - Filters by config.definitionId when set (one provider = one definition)
|
|
1265
|
-
* - Extracts active bookmarks for each instance
|
|
1266
|
-
* - Parses bookmark payload for assignment/actions
|
|
1267
|
-
* - Maps to task board format
|
|
1268
|
-
*/
|
|
1269
|
-
declare class AXPGenericWorkflowTaskProvider extends AXPWorkflowTaskProvider<Record<string, any>> {
|
|
1270
|
-
private readonly config;
|
|
1271
|
-
private readonly entityService;
|
|
1272
|
-
private readonly workflowInstanceData;
|
|
1273
|
-
private readonly translationService;
|
|
1274
|
-
private readonly workflowManager;
|
|
1275
|
-
constructor(config: AXPGenericWorkflowTaskProviderConfig);
|
|
1276
|
-
get name(): string;
|
|
1277
|
-
get title(): string;
|
|
1278
|
-
get icon(): string;
|
|
1279
|
-
/**
|
|
1280
|
-
* Get tasks from suspended workflow instances.
|
|
1281
|
-
*
|
|
1282
|
-
* Queries workflow instances filtered by:
|
|
1283
|
-
* - subStatus = 'Suspended'
|
|
1284
|
-
* - entityRefType (if provided in filter)
|
|
1285
|
-
* - definitionId (if provided in filter)
|
|
1286
|
-
* - assignee/claimant (if filter provided)
|
|
1287
|
-
*
|
|
1288
|
-
* Then extracts active bookmarks and maps to task board format.
|
|
1289
|
-
*/
|
|
1290
|
-
getTasks(options: AXPTaskFilter): Promise<{
|
|
1291
|
-
items: AXPTask<Record<string, any>>[];
|
|
1292
|
-
total: number;
|
|
1293
|
-
}>;
|
|
1294
|
-
/**
|
|
1295
|
-
* Get active (non-consumed) bookmarks from workflow instance entity.
|
|
1296
|
-
* Reads from instance.workflowInstance?.bookmarks — no direct DB access.
|
|
1297
|
-
*/
|
|
1298
|
-
private getActiveBookmarksFromInstance;
|
|
1299
|
-
/**
|
|
1300
|
-
* Map bookmark to task board task format.
|
|
1301
|
-
*/
|
|
1302
|
-
private mapBookmarkToTask;
|
|
1303
|
-
/**
|
|
1304
|
-
* Map priority to task board priority.
|
|
1305
|
-
*/
|
|
1306
|
-
private mapPriorityToTaskPriority;
|
|
1307
|
-
/**
|
|
1308
|
-
* Update tasks (not applicable for workflow instances - they are read-only from task provider perspective).
|
|
1309
|
-
*/
|
|
1310
|
-
updateTasks(tasksToUpdate: AXPTask<Record<string, any>>[]): Promise<AXPTask<Record<string, any>>[]>;
|
|
1311
|
-
/**
|
|
1312
|
-
* Execute commands on tasks.
|
|
1313
|
-
*
|
|
1314
|
-
* Supports:
|
|
1315
|
-
* - Workflow resume commands (Complete, Cancel)
|
|
1316
|
-
*/
|
|
1317
|
-
executeCommand(command: AXPExecuteCommand): Promise<AXPExecuteCommandResult>;
|
|
1318
|
-
/**
|
|
1319
|
-
* Get available actions for a task.
|
|
1320
|
-
*
|
|
1321
|
-
* Extracts actions from bookmark payload.
|
|
1322
|
-
*/
|
|
1323
|
-
getActions(task?: AXPTask<Record<string, any>>): Promise<AXPTaskActionMenuItem[]>;
|
|
1324
|
-
getExtraFields(): Promise<AXPExtraField[]>;
|
|
1325
|
-
getStatuses(): Promise<AXPTaskStatus[]>;
|
|
1326
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPGenericWorkflowTaskProvider, never>;
|
|
1327
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPGenericWorkflowTaskProvider>;
|
|
1328
|
-
}
|
|
1329
|
-
|
|
1330
|
-
export { AXCCategoryProvider, AXMActivityCategoriesTreeComponent, AXMMenuProvider, AXMWorkflowActivitiesDefinitionProvider, AXMWorkflowManagementModule, AXMWorkflowManagementModuleEntityProvider, AXPCreateEntityActivity, AXPGenericWorkflowTaskProvider, AXP_GENERIC_WORKFLOW_TASK_PROVIDER_CONFIG, CollectSignatureActivity, ExecuteCommandActivity, ExecuteQueryActivity, HumanTaskActivity, RootConfig, ShowConfirmPopupActivity, ShowLayoutPopupActivity, ShowToastActivity, WorkflowStudioComponent };
|
|
1331
|
-
export type { AXMWorkflowManagementActivityCategoryEntityModel, AXMWorkflowManagementActivityDefinitionEntityModel, AXMWorkflowManagementWorkflowDefinitionEntityModel, AXMWorkflowManagementWorkflowInstanceEntityModel, AXPGenericWorkflowTaskProviderConfig, CollectSignatureInput, CollectSignatureOutput, CreateEnityInput, CreateEnityOutput, ExecuteCommandInput, ExecuteCommandOutput, ExecuteQueryInput, ExecuteQueryOutput, HumanTaskInput, HumanTaskOutput, ShowConfirmPopupInput, ShowConfirmPopupOutput, ShowLayoutPopupInput, ShowLayoutPopupOutput, ShowToastInput, ShowToastOutput };
|
|
1375
|
+
export { AXCCategoryProvider, AXMActivityCategoriesTreeComponent, AXMMenuProvider, AXMWorkflowActivitiesDefinitionProvider, AXMWorkflowManagementActivityCategoryEntityModule, AXMWorkflowManagementActivityCategoryEntityService, AXMWorkflowManagementActivityCategoryEntityServiceImpl, AXMWorkflowManagementActivityDefinitionEntityModule, AXMWorkflowManagementActivityDefinitionEntityService, AXMWorkflowManagementActivityDefinitionEntityServiceImpl, AXMWorkflowManagementModule, AXMWorkflowManagementModuleEntityProvider, AXMWorkflowManagementWorkItemCandidateEntityModule, AXMWorkflowManagementWorkItemCandidateEntityService, AXMWorkflowManagementWorkItemCandidateEntityServiceImpl, AXMWorkflowManagementWorkItemEntityModule, AXMWorkflowManagementWorkItemEntityService, AXMWorkflowManagementWorkItemEntityServiceImpl, AXMWorkflowManagementWorkflowDefinitionEntityModule, AXMWorkflowManagementWorkflowDefinitionEntityService, AXMWorkflowManagementWorkflowDefinitionEntityServiceImpl, AXMWorkflowManagementWorkflowInstanceEntityModule, AXMWorkflowManagementWorkflowInstanceEntityService, AXMWorkflowManagementWorkflowInstanceEntityServiceImpl, AXPCreateEntityActivity, AssignToManggerActivity, CheckPermissionActivity, CollectSignatureActivity, ExecuteCommandActivity, ExecuteQueryActivity, RootConfig, ShowConfirmPopupActivity, ShowLayoutPopupActivity, ShowToastActivity, WorkflowStudioComponent, factory$3 as activityCategoryEntityFactory, factory$2 as activityDefinitionEntityFactory, factory as workItemCandidateEntityFactory, factory$1 as workItemEntityFactory, factory$5 as workflowDefinitionEntityFactory, factory$4 as workflowInstanceEntityFactory };
|
|
1376
|
+
export type { AXMWorkflowManagementActivityCategoryEntityModel, AXMWorkflowManagementActivityDefinitionEntityModel, AXMWorkflowManagementWorkItemCandidateEntityModel, AXMWorkflowManagementWorkItemEntityModel, AXMWorkflowManagementWorkflowDefinitionEntityModel, AXMWorkflowManagementWorkflowInstanceEntityModel, CheckPermissionInput, CheckPermissionOutput, CollectSignatureInput, CollectSignatureOutput, CreateEnityInput, CreateEnityOutput, ExecuteCommandInput, ExecuteCommandOutput, ExecuteQueryInput, ExecuteQueryOutput, ShowConfirmPopupInput, ShowConfirmPopupOutput, ShowLayoutPopupInput, ShowLayoutPopupOutput, ShowToastInput, ShowToastOutput, WorkItemKind, WorkItemPriority, WorkItemStatus };
|