@acorex/modules 21.0.0-next.5 → 21.0.0-next.7
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/application-management/index.d.ts +1 -0
- package/calendar-management/index.d.ts +6 -7
- package/document-management/index.d.ts +1545 -174
- package/fesm2022/acorex-modules-application-management.mjs +1 -0
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-C4_2RPxG.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-7S277fXg.mjs} +23 -23
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-7S277fXg.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-D2YRh7ro.mjs → acorex-modules-assessment-management-answers-viewer-widget-column.component-FnpwLbkS.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-D2YRh7ro.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-column.component-FnpwLbkS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-B-S78gfQ.mjs → acorex-modules-assessment-management-answers-viewer-widget-edit.component-By0ETDZf.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-B-S78gfQ.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-edit.component-By0ETDZf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-C1BTgRTR.mjs → acorex-modules-assessment-management-answers-viewer-widget-view.component-DxmjBgIo.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-C1BTgRTR.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-view.component-DxmjBgIo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-DwTlClTz.mjs → acorex-modules-assessment-management-assessment-case.entity-CBjAGtV3.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-DwTlClTz.mjs.map → acorex-modules-assessment-management-assessment-case.entity-CBjAGtV3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-BmvacBUU.mjs → acorex-modules-assessment-management-assessment-session.entity-CMnJ44gj.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-BmvacBUU.mjs.map → acorex-modules-assessment-management-assessment-session.entity-CMnJ44gj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-D7ZNQBo8.mjs → acorex-modules-assessment-management-fill-assessment-session.command-8OhZEoAp.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-D7ZNQBo8.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-8OhZEoAp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BQxlJax7.mjs → acorex-modules-assessment-management-preview-questionnaire.command-CUybKZFY.mjs} +4 -4
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BQxlJax7.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-CUybKZFY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CIjS5M1b.mjs → acorex-modules-assessment-management-question-bank-item.entity-C9gxvSqN.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CIjS5M1b.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-C9gxvSqN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-DAYiqBeA.mjs → acorex-modules-assessment-management-questionnaire-builder-edit.component-CUCT7Tcg.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-DAYiqBeA.mjs.map → acorex-modules-assessment-management-questionnaire-builder-edit.component-CUCT7Tcg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-BTXwZu9a.mjs → acorex-modules-assessment-management-questionnaire-builder-view.component-QhZAjnIv.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-BTXwZu9a.mjs.map → acorex-modules-assessment-management-questionnaire-builder-view.component-QhZAjnIv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-BAR6Uee-.mjs → acorex-modules-assessment-management-questionnaire-builder.component-CvdVE1TW.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-BAR6Uee-.mjs.map → acorex-modules-assessment-management-questionnaire-builder.component-CvdVE1TW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-DZ4TltLI.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-iDPvZ1Iu.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-DZ4TltLI.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-iDPvZ1Iu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-B2GV_e0o.mjs → acorex-modules-assessment-management-questionnaire-viewer.service-C2bz2R0N.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-B2GV_e0o.mjs.map → acorex-modules-assessment-management-questionnaire-viewer.service-C2bz2R0N.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-mOtlUkUO.mjs → acorex-modules-assessment-management-questionnaire.entity-kvgtbI_h.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-mOtlUkUO.mjs.map → acorex-modules-assessment-management-questionnaire.entity-kvgtbI_h.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-BQ-3r9YQ.mjs → acorex-modules-assessment-management-view-session-answers.command-Dfl4QTDD.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-BQ-3r9YQ.mjs.map → acorex-modules-assessment-management-view-session-answers.command-Dfl4QTDD.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +46 -74
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +6 -3
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Bnp1l18X.mjs → acorex-modules-document-management-attachment-widget.component-zsWIFXD7.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Bnp1l18X.mjs.map → acorex-modules-document-management-attachment-widget.component-zsWIFXD7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-TfRh2Jom.mjs → acorex-modules-document-management-details-view.component-DD7P_Xz7.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-TfRh2Jom.mjs.map → acorex-modules-document-management-details-view.component-DD7P_Xz7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-nKUvSQuz.mjs → acorex-modules-document-management-document-signature-popup.component-DsCP-XfJ.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-nKUvSQuz.mjs.map → acorex-modules-document-management-document-signature-popup.component-DsCP-XfJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-CPQC_Qxe.mjs → acorex-modules-document-management-drive-choose.component-FUlvIsJu.mjs} +7 -7
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-CPQC_Qxe.mjs.map → acorex-modules-document-management-drive-choose.component-FUlvIsJu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BP_4qwha.mjs → acorex-modules-document-management-large-icons-view.component-Dzc3SOKz.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BP_4qwha.mjs.map → acorex-modules-document-management-large-icons-view.component-Dzc3SOKz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CP9Ra0z9.mjs → acorex-modules-document-management-large-tiles-view.component-DrRbFkP4.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CP9Ra0z9.mjs.map → acorex-modules-document-management-large-tiles-view.component-DrRbFkP4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-nJmv07CR.mjs → acorex-modules-document-management-link-dialog.component-DKGpdhH1.mjs} +3 -3
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-nJmv07CR.mjs.map → acorex-modules-document-management-link-dialog.component-DKGpdhH1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-LhSA_duB.mjs → acorex-modules-document-management-list-view.component-C7cR3m4S.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-LhSA_duB.mjs.map → acorex-modules-document-management-list-view.component-C7cR3m4S.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-DJABAVOV.mjs → acorex-modules-document-management-share-dialog.component-MK4UO_uy.mjs} +3 -3
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-DJABAVOV.mjs.map → acorex-modules-document-management-share-dialog.component-MK4UO_uy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-Bh_FI1nk.mjs → acorex-modules-document-management-share-email-dialog.component-D5f4T_2K.mjs} +3 -3
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-Bh_FI1nk.mjs.map → acorex-modules-document-management-share-email-dialog.component-D5f4T_2K.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-BOtJGiPU.mjs → acorex-modules-document-management-small-icons-view.component-BPWvSH3i.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-BOtJGiPU.mjs.map → acorex-modules-document-management-small-icons-view.component-BPWvSH3i.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BiKZ-FyZ.mjs → acorex-modules-document-management-small-tiles-view.component-fIQ4RY_F.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BiKZ-FyZ.mjs.map → acorex-modules-document-management-small-tiles-view.component-fIQ4RY_F.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +9326 -1
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-CR4xmtkI.mjs +381 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-CR4xmtkI.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +5 -2
- package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-BIq_sJye.mjs → acorex-modules-platform-management-acorex-modules-platform-management-BOo-XED8.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-BIq_sJye.mjs.map → acorex-modules-platform-management-acorex-modules-platform-management-BOo-XED8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-CL-zuLJ1.mjs → acorex-modules-platform-management-menu-list.component-BtQ0O4sx.mjs} +3 -3
- package/fesm2022/acorex-modules-platform-management-menu-list.component-BtQ0O4sx.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +2 -0
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +1 -1
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +3 -1
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-gQ5Sk1Sj.mjs → acorex-modules-settings-management-acorex-modules-settings-management-R6m7cpPE.mjs} +18 -18
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-gQ5Sk1Sj.mjs.map → acorex-modules-settings-management-acorex-modules-settings-management-R6m7cpPE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-BEDGpTc8.mjs → acorex-modules-settings-management-permission-definition.provider-BNzuJQfL.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-BEDGpTc8.mjs.map → acorex-modules-settings-management-permission-definition.provider-BNzuJQfL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-BsA1TfMG.mjs → acorex-modules-settings-management-setting-page.component-B1SnxHdd.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-BsA1TfMG.mjs.map → acorex-modules-settings-management-setting-page.component-B1SnxHdd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-C282orx7.mjs → acorex-modules-settings-management-setting-view.component-BsuZ-NQK.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-C282orx7.mjs.map → acorex-modules-settings-management-setting-view.component-BsuZ-NQK.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-CKgZoOGI.mjs → acorex-modules-task-management-task-board.page-Cm8wJD-y.mjs} +529 -73
- package/fesm2022/acorex-modules-task-management-task-board.page-Cm8wJD-y.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +13 -6
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management.mjs +394 -12
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/human-capital-management/index.d.ts +3 -1
- package/package.json +2 -2
- package/task-management/index.d.ts +31 -4
- package/workflow-management/index.d.ts +93 -6
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-C4_2RPxG.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-Dk4Z-JSv.mjs +0 -8995
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-Dk4Z-JSv.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive.component-BzpH_FSJ.mjs +0 -388
- package/fesm2022/acorex-modules-document-management-drive.component-BzpH_FSJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-menu-list.component-CL-zuLJ1.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-CKgZoOGI.mjs.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AXPEntityModel } from '@acorex/platform/layout/entity';
|
|
2
2
|
import { AXPSystemStatuses } from '@acorex/platform/common';
|
|
3
|
-
import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus } from '@acorex/modules/task-management';
|
|
3
|
+
import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus, AXPTaskPopoverComponent } from '@acorex/modules/task-management';
|
|
4
4
|
import { AXPExecuteCommand, AXPExecuteCommandResult, AXPActionMenuItem, AXPFeatureDefinitionProvider, AXPFeatureDefinitionProviderContext, AXPModuleManifest } from '@acorex/platform/core';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
+
import { Type } from '@angular/core';
|
|
6
7
|
import { AXPTaskBadgeProvider } from '@acorex/platform/layout/components';
|
|
7
8
|
import * as i1 from '@angular/common';
|
|
8
9
|
import * as i2 from '@acorex/platform/runtime';
|
|
@@ -135,6 +136,7 @@ declare class AXMLeaveRequestTaskProvider extends AXPWorkflowTaskProvider<AXMHum
|
|
|
135
136
|
getExtraFields(): Promise<AXPExtraField[]>;
|
|
136
137
|
getStatuses(): Promise<AXPTaskStatus[]>;
|
|
137
138
|
private getPriorityFromStatus;
|
|
139
|
+
getComponent(): (() => Promise<Type<AXPTaskPopoverComponent>>) | Type<AXPTaskPopoverComponent>;
|
|
138
140
|
}
|
|
139
141
|
|
|
140
142
|
interface LeaveRequestActionDialogResult {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/modules",
|
|
3
|
-
"version": "21.0.0-next.
|
|
3
|
+
"version": "21.0.0-next.7",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/platform": "21.0.0-next.
|
|
5
|
+
"@acorex/platform": "21.0.0-next.7",
|
|
6
6
|
"@angular/service-worker": "^20.0.0",
|
|
7
7
|
"angular-oauth2-oidc": "^15.0.0",
|
|
8
8
|
"d3": "^7.0.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Injector, InjectionToken, OnInit } from '@angular/core';
|
|
2
|
+
import { Injector, Type, InputSignal, InjectionToken, OnInit } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import * as i3 from '@acorex/modules/calendar-management';
|
|
5
5
|
import * as i4 from '@acorex/platform/layout/widget-core';
|
|
@@ -260,6 +260,13 @@ declare class AXMSettingProvider implements AXPSettingDefinitionProvider {
|
|
|
260
260
|
provide(context: AXPSettingDefinitionProviderContext): Promise<void>;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
/**
|
|
264
|
+
* Extended action menu item for task board with priority support.
|
|
265
|
+
* Primary actions are shown as icon-only buttons, secondary actions are shown in a dropdown.
|
|
266
|
+
*/
|
|
267
|
+
type AXPTaskActionMenuItem = AXPActionMenuItem & {
|
|
268
|
+
priority?: 'primary' | 'secondary';
|
|
269
|
+
};
|
|
263
270
|
interface AXPAuditable {
|
|
264
271
|
createdAt?: Date;
|
|
265
272
|
updatedAt?: Date;
|
|
@@ -416,7 +423,7 @@ declare abstract class AXPWorkflowTaskProvider<T = Record<string, any>> {
|
|
|
416
423
|
* This defines the schema for custom data.
|
|
417
424
|
*/
|
|
418
425
|
abstract getExtraFields(): Promise<AXPExtraField[]>;
|
|
419
|
-
abstract getActions(context?: AXPTask<T>): Promise<
|
|
426
|
+
abstract getActions(context?: AXPTask<T>): Promise<AXPTaskActionMenuItem[]>;
|
|
420
427
|
abstract getStatuses(): Promise<AXPTaskStatus[]>;
|
|
421
428
|
getResources(): Promise<AXPResource[]>;
|
|
422
429
|
/**
|
|
@@ -431,6 +438,22 @@ declare abstract class AXPWorkflowTaskProvider<T = Record<string, any>> {
|
|
|
431
438
|
* @returns A promise that resolves with the result of the command execution.
|
|
432
439
|
*/
|
|
433
440
|
abstract executeCommand(command: AXPExecuteCommand): Promise<AXPExecuteCommandResult>;
|
|
441
|
+
/**
|
|
442
|
+
* Optional component to display in the task popover instead of the default popover content.
|
|
443
|
+
* The component must implement AXPTaskPopoverComponent interface and accept a task input.
|
|
444
|
+
* @returns A component type or a function that returns a component type (for lazy loading).
|
|
445
|
+
*/
|
|
446
|
+
getComponent?(): Type<AXPTaskPopoverComponent> | (() => Promise<Type<AXPTaskPopoverComponent>>) | null;
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* Interface that task popover components must implement.
|
|
450
|
+
* Components provided by task providers should implement this interface to receive the task data.
|
|
451
|
+
*/
|
|
452
|
+
interface AXPTaskPopoverComponent {
|
|
453
|
+
/**
|
|
454
|
+
* The task/appointment data to display in the popover.
|
|
455
|
+
*/
|
|
456
|
+
task: InputSignal<AXPTask>;
|
|
434
457
|
}
|
|
435
458
|
/**
|
|
436
459
|
* Injection token for registering multiple workflow task providers.
|
|
@@ -451,7 +474,11 @@ declare class AXPTaskBoardService {
|
|
|
451
474
|
updateTasks(tasks: AXPTask[]): Promise<AXPTask[]>;
|
|
452
475
|
executeCommand(command: AXPExecuteCommand, providerName: string): void;
|
|
453
476
|
getStatusName(key: any, providerName: string): Promise<string | null>;
|
|
454
|
-
getEvents(range: AXRange<Date
|
|
477
|
+
getEvents(range: AXRange<Date>, eventTypeIds?: string[]): Promise<AXHolidayDate[]>;
|
|
478
|
+
getCalendarEventTypes(): Promise<{
|
|
479
|
+
id: string;
|
|
480
|
+
title: string;
|
|
481
|
+
}[]>;
|
|
455
482
|
getProvider(name: string | undefined): AXPWorkflowTaskProvider | null;
|
|
456
483
|
rangeCalculator(type: string): AXRange<Date> | undefined;
|
|
457
484
|
getResources(providerName: string): Promise<AXPResource[]>;
|
|
@@ -575,4 +602,4 @@ declare class AXPTaskTypeDataSourceDefinition implements AXPDataSourceDefinition
|
|
|
575
602
|
}
|
|
576
603
|
|
|
577
604
|
export { AXMSearchCommandProvider, AXMSettingProvider, AXMTaskManagementEntityProvider, AXMTaskManagementMenuProvider, AXMTaskManagementModule, AXPTaskBoardModule, AXPTaskBoardService, AXPTaskBoardShortcut, AXPTaskBoardShortcutViewComponent, AXPTaskBoardWidget, AXPTaskBoardWidgetViewComponent, AXPTaskTypeDataSourceDefinition, AXPWorkflowTaskProvider, AXP_WORKFLOW_TASK_PROVIDER, RootConfig, taskAssignmentFactory, taskChecklistItemFactory, taskContextFactory, taskDependencyFactory, taskFactory, taskStatusFactory, taskTemplateFactory, taskTypeFactory, timeLogFactory };
|
|
578
|
-
export type { AXMTaskManagementTaskAssignmentEntityModel, AXMTaskManagementTaskChecklistItemEntityModel, AXMTaskManagementTaskContextEntityModel, AXMTaskManagementTaskDependencyEntityModel, AXMTaskManagementTaskEntityModel, AXMTaskManagementTaskStatusEntityModel, AXMTaskManagementTaskTemplateEntityModel, AXMTaskManagementTaskTypeEntityModel, AXMTaskManagementTimeLogEntityModel, AXPExtraField, AXPResource, AXPTask, AXPTaskAction, AXPTaskFilter, AXPTaskStatus };
|
|
605
|
+
export type { AXMTaskManagementTaskAssignmentEntityModel, AXMTaskManagementTaskChecklistItemEntityModel, AXMTaskManagementTaskContextEntityModel, AXMTaskManagementTaskDependencyEntityModel, AXMTaskManagementTaskEntityModel, AXMTaskManagementTaskStatusEntityModel, AXMTaskManagementTaskTemplateEntityModel, AXMTaskManagementTaskTypeEntityModel, AXMTaskManagementTimeLogEntityModel, AXPExtraField, AXPResource, AXPTask, AXPTaskAction, AXPTaskActionMenuItem, AXPTaskFilter, AXPTaskPopoverComponent, AXPTaskStatus };
|
|
@@ -6,10 +6,12 @@ import * as i1$1 from '@acorex/modules/calendar-management';
|
|
|
6
6
|
import * as i1 from '@acorex/platform/workflow';
|
|
7
7
|
import { AXPWorkflowDefinition, AXPWorkflowStatus, AXPWorkflowSubStatus, AXPWorkflowInstance, AXPWorkflowAction, AXPWorkflowContext, AXPWorkflow, AXPActivityCategoryProvider, AXPActivityCategory, AXPActivityProvider, AXPActivityDefinition } from '@acorex/platform/workflow';
|
|
8
8
|
import * as i2 from '@acorex/platform/layout/widget-core';
|
|
9
|
+
import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
|
|
9
10
|
import * as i3 from '@acorex/platform/domain';
|
|
10
|
-
import { AXPExecuteCommandResult } from '@acorex/platform/core';
|
|
11
|
+
import { AXPExecuteCommandResult, AXPActionMenuItem } from '@acorex/platform/core';
|
|
11
12
|
import { AXPCommand } from '@acorex/platform/runtime';
|
|
12
13
|
import { AXStyleColorType } from '@acorex/cdk/common';
|
|
14
|
+
import { AXPopupSizeType } from '@acorex/components/popup';
|
|
13
15
|
|
|
14
16
|
declare const RootConfig: {
|
|
15
17
|
config: {
|
|
@@ -51,6 +53,13 @@ declare const RootConfig: {
|
|
|
51
53
|
titlePlural: string;
|
|
52
54
|
icon: string;
|
|
53
55
|
};
|
|
56
|
+
workflowCategory: {
|
|
57
|
+
name: string;
|
|
58
|
+
fullName: string;
|
|
59
|
+
title: string;
|
|
60
|
+
titlePlural: string;
|
|
61
|
+
icon: string;
|
|
62
|
+
};
|
|
54
63
|
};
|
|
55
64
|
};
|
|
56
65
|
|
|
@@ -167,9 +176,9 @@ interface ExecuteWorkflowInput {
|
|
|
167
176
|
*/
|
|
168
177
|
interface ExecuteWorkflowOutput {
|
|
169
178
|
/**
|
|
170
|
-
*
|
|
179
|
+
* Instance ID
|
|
171
180
|
*/
|
|
172
|
-
|
|
181
|
+
instanceId: string;
|
|
173
182
|
/**
|
|
174
183
|
* Workflow output
|
|
175
184
|
*/
|
|
@@ -182,7 +191,7 @@ interface ExecuteWorkflowOutput {
|
|
|
182
191
|
* Handles the complete workflow lifecycle including frontend/backend activities.
|
|
183
192
|
*/
|
|
184
193
|
declare class ExecuteWorkflowCommand implements AXPCommand<ExecuteWorkflowInput, ExecuteWorkflowOutput> {
|
|
185
|
-
private readonly
|
|
194
|
+
private readonly workflowManager;
|
|
186
195
|
private readonly toastService;
|
|
187
196
|
execute(input: ExecuteWorkflowInput): Promise<AXPExecuteCommandResult<ExecuteWorkflowOutput>>;
|
|
188
197
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExecuteWorkflowCommand, never>;
|
|
@@ -559,6 +568,84 @@ declare class ShowConfirmPopupActivity implements AXPCommand<ShowConfirmPopupInp
|
|
|
559
568
|
static ɵprov: i0.ɵɵInjectableDeclaration<ShowConfirmPopupActivity>;
|
|
560
569
|
}
|
|
561
570
|
|
|
571
|
+
/**
|
|
572
|
+
* Input for ShowLayoutPopup activity.
|
|
573
|
+
*/
|
|
574
|
+
interface ShowLayoutPopupInput {
|
|
575
|
+
/**
|
|
576
|
+
* Layout definition as JSON string or AXPWidgetNode object
|
|
577
|
+
*/
|
|
578
|
+
layout: string | AXPWidgetNode;
|
|
579
|
+
/**
|
|
580
|
+
* Dialog title
|
|
581
|
+
*/
|
|
582
|
+
title?: string;
|
|
583
|
+
/**
|
|
584
|
+
* Dialog size
|
|
585
|
+
*/
|
|
586
|
+
size?: AXPopupSizeType;
|
|
587
|
+
/**
|
|
588
|
+
* Whether to show close button
|
|
589
|
+
*/
|
|
590
|
+
closeButton?: boolean;
|
|
591
|
+
/**
|
|
592
|
+
* Initial context data for the form
|
|
593
|
+
*/
|
|
594
|
+
context?: Record<string, any>;
|
|
595
|
+
/**
|
|
596
|
+
* Dialog actions (buttons) to display in footer
|
|
597
|
+
* Each action will create a corresponding outcome
|
|
598
|
+
*/
|
|
599
|
+
actions?: {
|
|
600
|
+
prefix?: AXPActionMenuItem[];
|
|
601
|
+
suffix?: AXPActionMenuItem[];
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* Output for ShowLayoutPopup activity.
|
|
606
|
+
*/
|
|
607
|
+
interface ShowLayoutPopupOutput {
|
|
608
|
+
/**
|
|
609
|
+
* Result data from the dialog (form values)
|
|
610
|
+
*/
|
|
611
|
+
result: Record<string, any>;
|
|
612
|
+
/**
|
|
613
|
+
* Action that was clicked (e.g., 'submit', 'cancel', or custom action name)
|
|
614
|
+
*/
|
|
615
|
+
action: string;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* ShowLayoutPopup Activity (Frontend)
|
|
619
|
+
*
|
|
620
|
+
* Shows a popup dialog with a custom layout built using layout builder.
|
|
621
|
+
* The layout can be provided as JSON string or AXPWidgetNode object.
|
|
622
|
+
*
|
|
623
|
+
* Execution Mode: frontend
|
|
624
|
+
* Activity Type: workflow-activity:show-layout-popup
|
|
625
|
+
*
|
|
626
|
+
* Outcomes:
|
|
627
|
+
* Outcomes are dynamically generated based on the actions provided in the input.
|
|
628
|
+
* Each action creates a corresponding outcome with the action name (from command.name or action.name).
|
|
629
|
+
* If no actions are provided, default actions (cancel, submit) are used.
|
|
630
|
+
*
|
|
631
|
+
* Examples:
|
|
632
|
+
* - If action has command.name = 'save', outcome will be { save: true }
|
|
633
|
+
* - If action has name = 'delete', outcome will be { delete: true }
|
|
634
|
+
* - Default outcomes: { cancel: true } or { submit: true }
|
|
635
|
+
*/
|
|
636
|
+
declare class ShowLayoutPopupActivity implements AXPCommand<ShowLayoutPopupInput, {
|
|
637
|
+
output: ShowLayoutPopupOutput;
|
|
638
|
+
outcomes: Record<string, any>;
|
|
639
|
+
}> {
|
|
640
|
+
private readonly popupService;
|
|
641
|
+
execute(input: ShowLayoutPopupInput): Promise<AXPExecuteCommandResult<{
|
|
642
|
+
output: ShowLayoutPopupOutput;
|
|
643
|
+
outcomes: Record<string, any>;
|
|
644
|
+
}>>;
|
|
645
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowLayoutPopupActivity, never>;
|
|
646
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShowLayoutPopupActivity>;
|
|
647
|
+
}
|
|
648
|
+
|
|
562
649
|
/**
|
|
563
650
|
* Workflow Activities Definition Provider
|
|
564
651
|
*
|
|
@@ -576,5 +663,5 @@ declare class AXMWorkflowActivitiesDefinitionProvider implements AXPActivityProv
|
|
|
576
663
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowActivitiesDefinitionProvider>;
|
|
577
664
|
}
|
|
578
665
|
|
|
579
|
-
export { AXCCategoryProvider, AXMMenuProvider, AXMSignPluginModule, AXMSignPopupAction, AXMSignWorkflow, AXMWorkflowActivitiesDefinitionProvider, AXMWorkflowManagementModule, AXMWorkflowManagementModuleEntityProvider, AXMWorkflowManagementWorkflowDefinitionEntityModule, AXMWorkflowManagementWorkflowDefinitionEntityService, AXMWorkflowManagementWorkflowDefinitionEntityServiceImpl, AXMWorkflowManagementWorkflowInstanceEntityModule, AXMWorkflowManagementWorkflowInstanceEntityService, AXMWorkflowManagementWorkflowInstanceEntityServiceImpl, CheckPermissionActivity, ExecuteCommandActivity, ExecuteQueryActivity, ExecuteWorkflowCommand, RootConfig, ShowConfirmPopupActivity, signPlugin, factory$1 as workflowDefinitionEntityFactory, factory as workflowInstanceEntityFactory };
|
|
580
|
-
export type { AXMSignPluginOptions, AXMWorkflowManagementWorkflowDefinitionEntityModel, AXMWorkflowManagementWorkflowInstanceEntityModel, CheckPermissionInput, CheckPermissionOutput, ExecuteCommandInput, ExecuteCommandOutput, ExecuteQueryInput, ExecuteQueryOutput, ExecuteWorkflowInput, ExecuteWorkflowOutput, ShowConfirmPopupInput, ShowConfirmPopupOutput };
|
|
666
|
+
export { AXCCategoryProvider, AXMMenuProvider, AXMSignPluginModule, AXMSignPopupAction, AXMSignWorkflow, AXMWorkflowActivitiesDefinitionProvider, AXMWorkflowManagementModule, AXMWorkflowManagementModuleEntityProvider, AXMWorkflowManagementWorkflowDefinitionEntityModule, AXMWorkflowManagementWorkflowDefinitionEntityService, AXMWorkflowManagementWorkflowDefinitionEntityServiceImpl, AXMWorkflowManagementWorkflowInstanceEntityModule, AXMWorkflowManagementWorkflowInstanceEntityService, AXMWorkflowManagementWorkflowInstanceEntityServiceImpl, CheckPermissionActivity, ExecuteCommandActivity, ExecuteQueryActivity, ExecuteWorkflowCommand, RootConfig, ShowConfirmPopupActivity, ShowLayoutPopupActivity, signPlugin, factory$1 as workflowDefinitionEntityFactory, factory as workflowInstanceEntityFactory };
|
|
667
|
+
export type { AXMSignPluginOptions, AXMWorkflowManagementWorkflowDefinitionEntityModel, AXMWorkflowManagementWorkflowInstanceEntityModel, CheckPermissionInput, CheckPermissionOutput, ExecuteCommandInput, ExecuteCommandOutput, ExecuteQueryInput, ExecuteQueryOutput, ExecuteWorkflowInput, ExecuteWorkflowOutput, ShowConfirmPopupInput, ShowConfirmPopupOutput, ShowLayoutPopupInput, ShowLayoutPopupOutput };
|