@acorex/modules 21.0.0-next.51 → 21.0.0-next.54
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/ai-management/README.md +1 -0
- package/fesm2022/{acorex-modules-ai-management-assist.entity-513RdKsz.mjs → acorex-modules-ai-management-assist.entity-CnyoIO-Z.mjs} +24 -16
- package/fesm2022/acorex-modules-ai-management-assist.entity-CnyoIO-Z.mjs.map +1 -0
- package/fesm2022/acorex-modules-ai-management.mjs +374 -35
- package/fesm2022/acorex-modules-ai-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-BD5oxehv.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-DcPnI9fZ.mjs} +69 -505
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-DcPnI9fZ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-BWj2PB39.mjs → acorex-modules-assessment-management-assessment-case.entity-D880d_qz.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-BWj2PB39.mjs.map → acorex-modules-assessment-management-assessment-case.entity-D880d_qz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-BQnYnNOz.mjs → acorex-modules-assessment-management-assessment-session.entity-DvbocIN1.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-BQnYnNOz.mjs.map → acorex-modules-assessment-management-assessment-session.entity-DvbocIN1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-BiS7QO_E.mjs → acorex-modules-assessment-management-fill-assessment-session.command-BMJ54EPO.mjs} +59 -85
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-BMJ54EPO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-index-BXw0Lf5c.mjs → acorex-modules-assessment-management-index-XdJCIYG3.mjs} +4 -4
- package/fesm2022/{acorex-modules-assessment-management-index-BXw0Lf5c.mjs.map → acorex-modules-assessment-management-index-XdJCIYG3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-Bm1v6ngB.mjs → acorex-modules-assessment-management-preview-question.command-CO8NfjEb.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-Bm1v6ngB.mjs.map → acorex-modules-assessment-management-preview-question.command-CO8NfjEb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-Dja4PbGz.mjs → acorex-modules-assessment-management-preview-questionnaire.command-DSzbtU0e.mjs} +8 -8
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-Dja4PbGz.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-DSzbtU0e.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BbkWs23A.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DbvxAUgb.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BbkWs23A.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DbvxAUgb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-X8s42nZH.mjs → acorex-modules-assessment-management-question-bank-item.entity-DBfQhSKR.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-X8s42nZH.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-DBfQhSKR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-d8HUAvWp.mjs → acorex-modules-assessment-management-questionnaire-calculation.entity-CL9s20qR.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-d8HUAvWp.mjs.map → acorex-modules-assessment-management-questionnaire-calculation.entity-CL9s20qR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-YUDOSypz.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-CH_cJlSf.mjs} +205 -11
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-CH_cJlSf.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-q3Z4VIiA.mjs → acorex-modules-assessment-management-questionnaire.entity-CrryBMC2.mjs} +40 -3
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-CrryBMC2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-4OLYEn35.mjs → acorex-modules-assessment-management-save-questionnaire-questions.command-Dq5VComh.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-4OLYEn35.mjs.map → acorex-modules-assessment-management-save-questionnaire-questions.command-Dq5VComh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-DWEd-ZM_.mjs → acorex-modules-assessment-management-view-session-answers.command-DpppXekm.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-DWEd-ZM_.mjs.map → acorex-modules-assessment-management-view-session-answers.command-DpppXekm.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-B1mg2dIR.mjs → acorex-modules-asset-management-acorex-modules-asset-management-BtcY1UQy.mjs} +8 -8
- package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-B1mg2dIR.mjs.map → acorex-modules-asset-management-acorex-modules-asset-management-BtcY1UQy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-lL1FBlzA.mjs → acorex-modules-asset-management-asset-system-assignment.entity-pKZoxsjk.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-lL1FBlzA.mjs.map → acorex-modules-asset-management-asset-system-assignment.entity-pKZoxsjk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-DFHVqE7a.mjs → acorex-modules-asset-management-asset-system-type.entity-CXz2G5v1.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-DFHVqE7a.mjs.map → acorex-modules-asset-management-asset-system-type.entity-CXz2G5v1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-DlpOp7Xj.mjs → acorex-modules-asset-management-asset-system.entity-C3zf6WVD.mjs} +13 -14
- package/fesm2022/acorex-modules-asset-management-asset-system.entity-C3zf6WVD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-CIkXc51V.mjs → acorex-modules-asset-management-asset-type-section-component.entity-DTaeNNBW.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-CIkXc51V.mjs.map → acorex-modules-asset-management-asset-type-section-component.entity-DTaeNNBW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-Ctxh5hGa.mjs → acorex-modules-asset-management-asset-type-section.entity-Bes5h7aJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-Ctxh5hGa.mjs.map → acorex-modules-asset-management-asset-type-section.entity-Bes5h7aJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-CN6K0Uw3.mjs → acorex-modules-asset-management-asset-type.entity-Ch8h0sph.mjs} +21 -22
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-Ch8h0sph.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset.entity-2XZut6JS.mjs → acorex-modules-asset-management-asset.entity-DJ-A6lx1.mjs} +26 -26
- package/fesm2022/acorex-modules-asset-management-asset.entity-DJ-A6lx1.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CGiDe3e-.mjs → acorex-modules-auth-acorex-modules-auth-NPUjHz-F.mjs} +13 -13
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CGiDe3e-.mjs.map → acorex-modules-auth-acorex-modules-auth-NPUjHz-F.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-app-chooser.component-Dt_2eXel.mjs → acorex-modules-auth-app-chooser.component-h61xNtRT.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-Dt_2eXel.mjs.map → acorex-modules-auth-app-chooser.component-h61xNtRT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-Bl8pAhHc.mjs → acorex-modules-auth-login.module-DF5AHqYe.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-Bl8pAhHc.mjs.map → acorex-modules-auth-login.module-DF5AHqYe.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-B8GSev0J.mjs → acorex-modules-auth-master.layout-00ZTMhc3.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-B8GSev0J.mjs.map → acorex-modules-auth-master.layout-00ZTMhc3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-DleQ24IP.mjs → acorex-modules-auth-oauth-callback.component-Ce5Fw8Qd.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-DleQ24IP.mjs.map → acorex-modules-auth-oauth-callback.component-Ce5Fw8Qd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-D6ALMoO4.mjs → acorex-modules-auth-password.component-CU0AY-Ia.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-D6ALMoO4.mjs.map → acorex-modules-auth-password.component-CU0AY-Ia.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-C1GbARlM.mjs → acorex-modules-auth-password.component-DQYCm8wg.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-C1GbARlM.mjs.map → acorex-modules-auth-password.component-DQYCm8wg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-FDp1SEZA.mjs → acorex-modules-auth-routes-CM4fRaWb.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-FDp1SEZA.mjs.map → acorex-modules-auth-routes-CM4fRaWb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-settings.provider-CN7Lb38l.mjs → acorex-modules-auth-settings.provider-C_3D-9ia.mjs} +2 -2
- package/fesm2022/acorex-modules-auth-settings.provider-C_3D-9ia.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-o55sauLG.mjs → acorex-modules-auth-tenant-chooser.component-BBztdcvq.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-o55sauLG.mjs.map → acorex-modules-auth-tenant-chooser.component-BBztdcvq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-CVrYPw5D.mjs → acorex-modules-auth-two-factor.module-C9AafF86.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-CVrYPw5D.mjs.map → acorex-modules-auth-two-factor.module-C9AafF86.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-BVglZAnc.mjs → acorex-modules-auth-user-sessions.component-Qw2sgsEe.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-BVglZAnc.mjs.map → acorex-modules-auth-user-sessions.component-Qw2sgsEe.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +8 -5
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-ny5TQlkp.mjs → acorex-modules-conversation-acorex-modules-conversation-Bnjyq-wp.mjs} +1010 -164
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-Bnjyq-wp.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-7O6som8z.mjs → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Df5LmYZI.mjs} +7 -6
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Df5LmYZI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-comments-page.component-Dm7U0ndQ.mjs → acorex-modules-conversation-comments-page.component-BXI4smIr.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-Dm7U0ndQ.mjs.map → acorex-modules-conversation-comments-page.component-BXI4smIr.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation-send-assist-chat-message.command-B5qJnpCK.mjs +90 -0
- package/fesm2022/acorex-modules-conversation-send-assist-chat-message.command-B5qJnpCK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-BLYoudtN.mjs → acorex-modules-conversation-start-assist-chat.command-DI3LAaDF.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-BLYoudtN.mjs.map → acorex-modules-conversation-start-assist-chat.command-DI3LAaDF.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +5 -3
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BxQxZBca.mjs → acorex-modules-document-management-drive-choose.component-DyJoXajP.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BxQxZBca.mjs.map → acorex-modules-document-management-drive-choose.component-DyJoXajP.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +98 -24
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +53 -61
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-B37ZqEql.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-XhV2JQXs.mjs} +23 -21
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-XhV2JQXs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-Bf8iPUE-.mjs → acorex-modules-human-capital-management-approve-leave-request.command-Cre30Kp7.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-Bf8iPUE-.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-Cre30Kp7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-DqX9OAq4.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-NYgddiaD.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-DqX9OAq4.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-NYgddiaD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DQG0Al0X.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-DPh-KQgN.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DQG0Al0X.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-DPh-KQgN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee-lifecycle-process.entity-DSsgKG8S.mjs → acorex-modules-human-capital-management-employee-lifecycle-process.entity-LX68KORg.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employee-lifecycle-process.entity-DSsgKG8S.mjs.map → acorex-modules-human-capital-management-employee-lifecycle-process.entity-LX68KORg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-C8PaZEDs.mjs → acorex-modules-human-capital-management-employee.entity-znCbbQUd.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-C8PaZEDs.mjs.map → acorex-modules-human-capital-management-employee.entity-znCbbQUd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DhqHdESk.mjs → acorex-modules-human-capital-management-employment-type.entity-DUNB3zAB.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DhqHdESk.mjs.map → acorex-modules-human-capital-management-employment-type.entity-DUNB3zAB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-CPdV6kiR.mjs → acorex-modules-human-capital-management-leave-request.entity-JyFrrCGE.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-CPdV6kiR.mjs.map → acorex-modules-human-capital-management-leave-request.entity-JyFrrCGE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-D3iarVMG.mjs → acorex-modules-human-capital-management-leave-type.entity-B61MiEPu.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-D3iarVMG.mjs.map → acorex-modules-human-capital-management-leave-type.entity-B61MiEPu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-lifecycle-process-type.entity-EazvPSR6.mjs → acorex-modules-human-capital-management-lifecycle-process-type.entity-DJqo2kTG.mjs} +9 -11
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-process-type.entity-DJqo2kTG.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-mROyAoz-.mjs → acorex-modules-human-capital-management-position-assignment.entity-CKCC6bKg.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-mROyAoz-.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-CKCC6bKg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-Bq7OtST6.mjs → acorex-modules-human-capital-management-reject-leave-request.command-Blv08UQZ.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-Bq7OtST6.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-Blv08UQZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-BpklMLve.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-lgEAbxYH.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-BpklMLve.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-lgEAbxYH.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-acorex-modules-maintenance-management-coPYjl8-.mjs → acorex-modules-maintenance-management-acorex-modules-maintenance-management-DiM2aFgg.mjs} +304 -206
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-DiM2aFgg.mjs.map +1 -0
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-BdnnavfB.mjs → acorex-modules-maintenance-management-failure-effect.entity-BCMeHmxS.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-BdnnavfB.mjs.map → acorex-modules-maintenance-management-failure-effect.entity-BCMeHmxS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-tlcqWco6.mjs → acorex-modules-maintenance-management-failure-mode-asset-type.entity-ByBoVQ8D.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-tlcqWco6.mjs.map → acorex-modules-maintenance-management-failure-mode-asset-type.entity-ByBoVQ8D.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-DivWl32L.mjs → acorex-modules-maintenance-management-failure-mode-mechanism.entity-BJs4KhkU.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-DivWl32L.mjs.map → acorex-modules-maintenance-management-failure-mode-mechanism.entity-BJs4KhkU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-9FiLeySZ.mjs → acorex-modules-maintenance-management-failure-mode-solution.entity-rw24sQxb.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-9FiLeySZ.mjs.map → acorex-modules-maintenance-management-failure-mode-solution.entity-rw24sQxb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-3cq1KeYM.mjs → acorex-modules-maintenance-management-failure-register-cause.entity-C_6sjW8z.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-3cq1KeYM.mjs.map → acorex-modules-maintenance-management-failure-register-cause.entity-C_6sjW8z.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-CaVb6rDn.mjs → acorex-modules-maintenance-management-failure-register-effect.entity-DCIAzSYQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-CaVb6rDn.mjs.map → acorex-modules-maintenance-management-failure-register-effect.entity-DCIAzSYQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-C2UKW63M.mjs → acorex-modules-maintenance-management-failure-register-mechanism.entity-DlXr6A4i.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-C2UKW63M.mjs.map → acorex-modules-maintenance-management-failure-register-mechanism.entity-DlXr6A4i.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-KghFLCIJ.mjs → acorex-modules-maintenance-management-failure-register.entity-C4J3um7j.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-KghFLCIJ.mjs.map → acorex-modules-maintenance-management-failure-register.entity-C4J3um7j.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BebswR7S.mjs → acorex-modules-maintenance-management-failure-severity.entity-C-spQtYx.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BebswR7S.mjs.map → acorex-modules-maintenance-management-failure-severity.entity-C-spQtYx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-maintenance-template.entity-1V4swUZ4.mjs → acorex-modules-maintenance-management-maintenance-template.entity-Huahnjhd.mjs} +100 -178
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-Huahnjhd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-maintenance-management-work-order-list-command-3hlrAtIr.mjs → acorex-modules-maintenance-management-work-order-list-command-1YsWctqu.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-work-order-list-command-3hlrAtIr.mjs.map → acorex-modules-maintenance-management-work-order-list-command-1YsWctqu.mjs.map} +1 -1
- package/fesm2022/acorex-modules-maintenance-management.mjs +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-order-management-settings.provider-BFOghuIS.mjs +58 -0
- package/fesm2022/acorex-modules-order-management-settings.provider-BFOghuIS.mjs.map +1 -0
- package/fesm2022/acorex-modules-order-management.mjs +2 -2
- package/fesm2022/{acorex-modules-organization-management-acorex-modules-organization-management-CGzZcKEy.mjs → acorex-modules-organization-management-acorex-modules-organization-management-BZtWfgmH.mjs} +40 -120
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BZtWfgmH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BEJyfR3P.mjs → acorex-modules-organization-management-add-business-unit-to-business-unit.command-C-yO5On4.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BEJyfR3P.mjs.map → acorex-modules-organization-management-add-business-unit-to-business-unit.command-C-yO5On4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-DKgxg9q5.mjs → acorex-modules-organization-management-add-position-to-business-unit.command-BL5eWJ56.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-DKgxg9q5.mjs.map → acorex-modules-organization-management-add-position-to-business-unit.command-BL5eWJ56.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-team-to-business-unit.command-DJJT7BXT.mjs → acorex-modules-organization-management-add-team-to-business-unit.command-l4N6g0Hc.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-team-to-business-unit.command-DJJT7BXT.mjs.map → acorex-modules-organization-management-add-team-to-business-unit.command-l4N6g0Hc.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-business-unit.entity-BAp38sib.mjs → acorex-modules-organization-management-business-unit.entity-CONTwX52.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-business-unit.entity-BAp38sib.mjs.map → acorex-modules-organization-management-business-unit.entity-CONTwX52.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-chart.entity-WfmpWj8R.mjs → acorex-modules-organization-management-chart.entity-DeKPBfgx.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-chart.entity-WfmpWj8R.mjs.map → acorex-modules-organization-management-chart.entity-DeKPBfgx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-company.entity-BUVLrwjq.mjs → acorex-modules-organization-management-company.entity-BAlz8AfD.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-company.entity-BUVLrwjq.mjs.map → acorex-modules-organization-management-company.entity-BAlz8AfD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-entity.provider-DH3eUGTu.mjs → acorex-modules-organization-management-entity.provider-DjPSiqcX.mjs} +15 -15
- package/fesm2022/{acorex-modules-organization-management-entity.provider-DH3eUGTu.mjs.map → acorex-modules-organization-management-entity.provider-DjPSiqcX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-DuScrBze.mjs → acorex-modules-organization-management-feature-definition.provider-BLmayeSc.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-DuScrBze.mjs.map → acorex-modules-organization-management-feature-definition.provider-BLmayeSc.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-D-J9JCsU.mjs → acorex-modules-organization-management-job-definition-pages-component.provider-HBi-EMRE.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-D-J9JCsU.mjs.map → acorex-modules-organization-management-job-definition-pages-component.provider-HBi-EMRE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-Dsy5rFGw.mjs → acorex-modules-organization-management-job-definition-responsibilities-page.component-CtIfsZ6x.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-Dsy5rFGw.mjs.map → acorex-modules-organization-management-job-definition-responsibilities-page.component-CtIfsZ6x.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-B73wLPby.mjs → acorex-modules-organization-management-job-definition-skills-page.component-C1vCQayM.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-B73wLPby.mjs.map → acorex-modules-organization-management-job-definition-skills-page.component-C1vCQayM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-B7mWKYqb.mjs → acorex-modules-organization-management-job-definition.entity-Db5li0zL.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-B7mWKYqb.mjs.map → acorex-modules-organization-management-job-definition.entity-Db5li0zL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-DibRoKXR.mjs → acorex-modules-organization-management-job-level.datasource-BTRKW7nq.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-DibRoKXR.mjs.map → acorex-modules-organization-management-job-level.datasource-BTRKW7nq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-level.entity-C_MzeTw5.mjs → acorex-modules-organization-management-job-level.entity-Cn-91_r8.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-level.entity-C_MzeTw5.mjs.map → acorex-modules-organization-management-job-level.entity-Cn-91_r8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-menu.provider-CQeJINzl.mjs → acorex-modules-organization-management-menu.provider-CVmV-hY5.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-menu.provider-CQeJINzl.mjs.map → acorex-modules-organization-management-menu.provider-CVmV-hY5.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-default-node-contribution.provider-D3hCHSr_.mjs → acorex-modules-organization-management-org-chart-default-node-contribution.provider-bdtNexEf.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart-default-node-contribution.provider-D3hCHSr_.mjs.map → acorex-modules-organization-management-org-chart-default-node-contribution.provider-bdtNexEf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-Bv0I-45L.mjs → acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-B0aaFv5p.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-Bv0I-45L.mjs.map → acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-B0aaFv5p.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-DbfYza8q.mjs → acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-Xe4nhY3j.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-DbfYza8q.mjs.map → acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-Xe4nhY3j.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-ux-node-contribution.provider-C9APxguL.mjs → acorex-modules-organization-management-org-chart-ux-node-contribution.provider-CTprHwCi.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart-ux-node-contribution.provider-C9APxguL.mjs.map → acorex-modules-organization-management-org-chart-ux-node-contribution.provider-CTprHwCi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-BcHO5kKP.mjs → acorex-modules-organization-management-org-chart.page-ChXY8ncD.mjs} +133 -12
- package/fesm2022/acorex-modules-organization-management-org-chart.page-ChXY8ncD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-BcIRJpBt.mjs → acorex-modules-organization-management-permission-definition.provider-8t2vBgtp.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-BcIRJpBt.mjs.map → acorex-modules-organization-management-permission-definition.provider-8t2vBgtp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-position.entity-DBOpLtSI.mjs → acorex-modules-organization-management-position.entity-BVWbTeks.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-position.entity-DBOpLtSI.mjs.map → acorex-modules-organization-management-position.entity-BVWbTeks.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-TqYgfnsy.mjs → acorex-modules-organization-management-remove-position-from-business-unit.command-DWzFncr1.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-TqYgfnsy.mjs.map → acorex-modules-organization-management-remove-position-from-business-unit.command-DWzFncr1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-BJ2gn0-A.mjs → acorex-modules-organization-management-replace-position-assignee.command-CNa-CZOv.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-BJ2gn0-A.mjs.map → acorex-modules-organization-management-replace-position-assignee.command-CNa-CZOv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CZdMLIL-.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CTSCcyFv.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CZdMLIL-.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CTSCcyFv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BBo97rDN.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-C82TQFS-.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BBo97rDN.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-C82TQFS-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-D9oH_Fbb.mjs → acorex-modules-organization-management-responsibilities-matrix.component-DjVuISfE.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-D9oH_Fbb.mjs.map → acorex-modules-organization-management-responsibilities-matrix.component-DjVuISfE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibility-level.entity-D6IG9Zc7.mjs → acorex-modules-organization-management-responsibility-level.entity-BlENDhF6.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility-level.entity-D6IG9Zc7.mjs.map → acorex-modules-organization-management-responsibility-level.entity-BlENDhF6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-BosNxYjW.mjs → acorex-modules-organization-management-responsibility.entity-DamPTQMp.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-BosNxYjW.mjs.map → acorex-modules-organization-management-responsibility.entity-DamPTQMp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-settings.provider-CL9C9UXA.mjs → acorex-modules-organization-management-settings.provider-CtQo6YHj.mjs} +3 -3
- package/fesm2022/acorex-modules-organization-management-settings.provider-CtQo6YHj.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team-business-unit.entity-CYFGTcHe.mjs → acorex-modules-organization-management-team-business-unit.entity-BfvqQb1K.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-business-unit.entity-CYFGTcHe.mjs.map → acorex-modules-organization-management-team-business-unit.entity-BfvqQb1K.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-B5vNDne0.mjs → acorex-modules-organization-management-team-member-role.entity-wWoB56Il.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-B5vNDne0.mjs.map → acorex-modules-organization-management-team-member-role.entity-wWoB56Il.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-DsKuxCRB.mjs → acorex-modules-organization-management-team-member.entity-COGrDN_G.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-DsKuxCRB.mjs.map → acorex-modules-organization-management-team-member.entity-COGrDN_G.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team.entity-Cg30cho_.mjs → acorex-modules-organization-management-team.entity-DC_rqp9e.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team.entity-Cg30cho_.mjs.map → acorex-modules-organization-management-team.entity-DC_rqp9e.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +1 -1
- package/fesm2022/{acorex-modules-platform-dev-tools-settings.provider-DKmgBUYt.mjs → acorex-modules-platform-dev-tools-settings.provider-BIVP27kT.mjs} +2 -2
- package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-BIVP27kT.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-dev-tools.mjs +2 -2
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DkOzj2Oy.mjs → acorex-modules-platform-management-acorex-modules-platform-management-5DJoQkx2.mjs} +1919 -4
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-5DJoQkx2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-agWZWchQ.mjs → acorex-modules-platform-management-menu-list.component-C3WBYbOt.mjs} +4 -4
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-agWZWchQ.mjs.map → acorex-modules-platform-management-menu-list.component-C3WBYbOt.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-oArHHeSx.mjs → acorex-modules-settings-management-acorex-modules-settings-management-Di6Sxtq3.mjs} +5 -5
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-oArHHeSx.mjs.map → acorex-modules-settings-management-acorex-modules-settings-management-Di6Sxtq3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-BsFyZ-gS.mjs → acorex-modules-settings-management-permission-definition.provider-Bml5VZUT.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-BsFyZ-gS.mjs.map → acorex-modules-settings-management-permission-definition.provider-Bml5VZUT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-BftWms4f.mjs → acorex-modules-settings-management-setting-page.component-lN-7sTpD.mjs} +4 -4
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-BftWms4f.mjs.map → acorex-modules-settings-management-setting-page.component-lN-7sTpD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-paKdiSEr.mjs → acorex-modules-settings-management-setting-view.component-D17G4RNQ.mjs} +15 -28
- package/fesm2022/acorex-modules-settings-management-setting-view.component-D17G4RNQ.mjs.map +1 -0
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/acorex-modules-system-insight.mjs +1 -1
- package/fesm2022/acorex-modules-system-insight.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management-BL2IOcx3.mjs → acorex-modules-task-management-acorex-modules-task-management-LQn5gZ6p.mjs} +680 -10
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-LQn5gZ6p.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-DUIHtqnr.mjs → acorex-modules-task-management-task-board.page-BokG-G6Z.mjs} +204 -591
- package/fesm2022/acorex-modules-task-management-task-board.page-BokG-G6Z.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/fesm2022/acorex-modules-tenant-management.mjs +1 -1
- package/fesm2022/acorex-modules-tenant-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-CYyr1kQk.mjs → acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-OLbCD-7P.mjs} +4 -4
- package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-CYyr1kQk.mjs.map → acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-OLbCD-7P.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-index-CHySddpP.mjs → acorex-modules-workflow-management-index-34UZrsxw.mjs} +2 -2
- package/fesm2022/{acorex-modules-workflow-management-index-CHySddpP.mjs.map → acorex-modules-workflow-management-index-34UZrsxw.mjs.map} +1 -1
- package/fesm2022/acorex-modules-workflow-management-index-BxqOP8AA.mjs +1207 -0
- package/fesm2022/acorex-modules-workflow-management-index-BxqOP8AA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-index-DC_9M9dk.mjs → acorex-modules-workflow-management-index-Eh5DDK-V.mjs} +3 -3
- package/fesm2022/{acorex-modules-workflow-management-index-DC_9M9dk.mjs.map → acorex-modules-workflow-management-index-Eh5DDK-V.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs → acorex-modules-workflow-management-save-workflow-definition-activities.command-CGNwslcn.mjs} +10 -5
- package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-CGNwslcn.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-definition.entity-CjQQpjdB.mjs → acorex-modules-workflow-management-workflow-definition.entity-DISpkWE4.mjs} +3 -7
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DISpkWE4.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-instance.entity-BnKT3Wgh.mjs → acorex-modules-workflow-management-workflow-instance.entity-B_V3uMSI.mjs} +2 -2
- package/fesm2022/{acorex-modules-workflow-management-workflow-instance.entity-BnKT3Wgh.mjs.map → acorex-modules-workflow-management-workflow-instance.entity-B_V3uMSI.mjs.map} +1 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DMszilef.mjs +356 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DMszilef.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +257 -130
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-ai-management.d.ts +73 -5
- package/types/acorex-modules-assessment-management.d.ts +161 -97
- package/types/acorex-modules-asset-management.d.ts +3 -0
- package/types/acorex-modules-conversation.d.ts +12 -2
- package/types/acorex-modules-human-capital-management.d.ts +6 -6
- package/types/acorex-modules-maintenance-management.d.ts +28 -11
- package/types/acorex-modules-organization-management.d.ts +1 -27
- package/types/acorex-modules-platform-management.d.ts +518 -23
- package/types/acorex-modules-task-management.d.ts +100 -4
- package/types/acorex-modules-workflow-management.d.ts +53 -5
- package/fesm2022/acorex-modules-ai-management-assist.entity-513RdKsz.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-BD5oxehv.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-BiS7QO_E.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-YUDOSypz.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-q3Z4VIiA.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-system.entity-DlpOp7Xj.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-CN6K0Uw3.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset.entity-2XZut6JS.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-settings.provider-CN7Lb38l.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-ny5TQlkp.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-7O6som8z.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-B37ZqEql.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-process-type.entity-EazvPSR6.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-coPYjl8-.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-1V4swUZ4.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-settings.provider-DF8JQ1PZ.mjs +0 -64
- package/fesm2022/acorex-modules-order-management-settings.provider-DF8JQ1PZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-CGzZcKEy.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-BcHO5kKP.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-settings.provider-CL9C9UXA.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-DKmgBUYt.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DkOzj2Oy.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-setting-view.component-paKdiSEr.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-BL2IOcx3.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-DUIHtqnr.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-jin24dmb.mjs +0 -726
- package/fesm2022/acorex-modules-workflow-management-index-jin24dmb.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-CjQQpjdB.mjs.map +0 -1
package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DISpkWE4.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-workflow-management-workflow-definition.entity-DISpkWE4.mjs","sources":["../../../../libs/modules/workflow-management/src/lib/entities/workflow-definition/workflow-definition.entity.ts"],"sourcesContent":["import { statusPlugin } from '@acorex/modules/common';\nimport { AXPEntity, AXPEntityCommandScope, createAllQueryView } from '@acorex/platform/common';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY } from '../../features/workflow-definition-activities-page/WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY';\nimport { RootConfig } from '../../const';\n\nexport async function factory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.workflowDefinition.name,\n title: RootConfig.entities.workflowDefinition.title,\n icon: RootConfig.entities.workflowDefinition.icon,\n formats: {\n individual: RootConfig.entities.workflowDefinition.title,\n plural: RootConfig.entities.workflowDefinition.titlePlural,\n searchResult: {\n title: '{{ title || name }}',\n description: '{{ description }}',\n },\n },\n plugins: [\n { name: 'history' },\n { name: 'lock' },\n { name: 'archive' },\n {\n ...statusPlugin,\n options: {\n definition: 'workflow-management.status.workflow-definition',\n field: 'statusId',\n generate: { views: { enabled: true } },\n },\n },\n ],\n pages: [\n {\n componentKey: WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY,\n field: 'graph',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.title',\n icon: 'fa-light fa-list-ol',\n layout: { order: 1, position: 'after' },\n },\n ],\n groups: [\n {\n id: 'basicInfo',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basicInfo',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'name',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.name.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n readonly: '{{context.id}}',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder:\n '@workflow-management:workflow-definitions.entities.workflow-definition.fields.name.placeholder',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }, { rule: 'unique' }],\n },\n {\n name: 'title',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.title.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n multiLanguage: true,\n placeholder:\n '@workflow-management:workflow-definitions.entities.workflow-definition.fields.title.placeholder',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'description',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.description.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.largeText,\n options: {\n rows: 3,\n multiLanguage: true,\n placeholder:\n '@workflow-management:workflow-definitions.entities.workflow-definition.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'version',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.version.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'number',\n visible: false,\n interface: {\n type: AXPWidgetsCatalog.number,\n },\n readonly: true,\n },\n },\n {\n name: 'isLatest',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.is-latest.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'boolean',\n visible: false,\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n readonly: true,\n },\n },\n {\n name: 'createdAt',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.created-at.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'date',\n visible: false,\n interface: {\n type: AXPWidgetsCatalog.dateTime,\n },\n readonly: true,\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true } },\n },\n },\n {\n name: 'schemaVersion',\n title: 'Schema version',\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'graph',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.graph.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'object',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'variables',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.variables.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'array',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'inputs',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.workflow-inputs.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'array',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'outputs',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.outputs.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'array',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'customProperties',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.custom-properties.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'object',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'extensions',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.extensions.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'object',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'bindings',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.bindings.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'array',\n visible: false,\n nullable: true,\n },\n },\n ],\n columns: [\n {\n name: 'title',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.title.title',\n showAs: { type: AXPWidgetsCatalog.text },\n },\n {\n name: 'name',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.name.title',\n showAs: { type: AXPWidgetsCatalog.text },\n },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basicInfo' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basicInfo' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basicInfo', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n {\n title: '@workflow-management:workflow-definitions.actions.execute.title',\n name: 'execute-workflow',\n command: {\n name: 'WorkflowManagement.WorkflowDefinition:ExecuteWithInput',\n options: {\n workflowId: '{{ context.eval(\"name\") }}',\n },\n },\n icon: 'fa-light fa-play',\n color: 'success',\n priority: 'primary',\n type: 'execute',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [createAllQueryView({ sorts: [{ name: 'createdAt', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;;;;AAOO,eAAe,OAAO,GAAA;AAC3B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;AACjD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CA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E;AACP,wBAAA,GAAG,uBAAuB,EAAE;AAC5B,wBAAA;AACE,4BAAA,KAAK,EAAE,iEAAiE;AACxE,4BAAA,IAAI,EAAE,kBAAkB;AACxB,4BAAA,OAAO,EAAE;AACP,gCAAA,IAAI,EAAE,wDAAwD;AAC9D,gCAAA,OAAO,EAAE;AACP,oCAAA,UAAU,EAAE,4BAA4B;AACzC,iCAAA;AACF,6BAAA;AACD,4BAAA,IAAI,EAAE,kBAAkB;AACxB,4BAAA,KAAK,EAAE,SAAS;AAChB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,SAAS;4BACf,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACF,qBAAA;oBACD,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAC7E,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
|
|
@@ -2,7 +2,7 @@ import { AXPWidgetsList } from '@acorex/modules/common';
|
|
|
2
2
|
import { createAllQueryView } from '@acorex/platform/common';
|
|
3
3
|
import { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';
|
|
4
4
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
5
|
-
import { WORKFLOW_INSTANCE_ACTIVITY_INSTANCES_PAGE_COMPONENT_KEY } from './acorex-modules-workflow-management-index-
|
|
5
|
+
import { WORKFLOW_INSTANCE_ACTIVITY_INSTANCES_PAGE_COMPONENT_KEY } from './acorex-modules-workflow-management-index-Eh5DDK-V.mjs';
|
|
6
6
|
import { RootConfig } from './acorex-modules-workflow-management.mjs';
|
|
7
7
|
|
|
8
8
|
async function factory() {
|
|
@@ -253,4 +253,4 @@ async function factory() {
|
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
export { factory };
|
|
256
|
-
//# sourceMappingURL=acorex-modules-workflow-management-workflow-instance.entity-
|
|
256
|
+
//# sourceMappingURL=acorex-modules-workflow-management-workflow-instance.entity-B_V3uMSI.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-workflow-management-workflow-instance.entity-BnKT3Wgh.mjs","sources":["../../../../libs/modules/workflow-management/src/lib/entities/workflow-instance/workflow-instance.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex/modules/common';\nimport { AXPEntity, createAllQueryView } from '@acorex/platform/common';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { WORKFLOW_INSTANCE_ACTIVITY_INSTANCES_PAGE_COMPONENT_KEY } from '../../features/workflow-instance-activity-instances-page';\nimport { RootConfig } from '../../const';\n\nexport async function factory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.workflowInstance.name,\n title: RootConfig.entities.workflowInstance.title,\n icon: RootConfig.entities.workflowInstance.icon,\n pages: [\n {\n componentKey: WORKFLOW_INSTANCE_ACTIVITY_INSTANCES_PAGE_COMPONENT_KEY,\n title: '@workflow-management:workflow-instances.entities.workflow-instance.pages.activity-instances.title',\n icon: 'fa-light fa-list-ol',\n layout: { order: 1, position: 'after' },\n },\n ],\n formats: {\n individual: RootConfig.entities.workflowInstance.title,\n plural: RootConfig.entities.workflowInstance.titlePlural,\n searchResult: {\n title: '{{ workflowTitle || name || definitionId }}',\n description: '{{ statusDisplay }}',\n },\n },\n plugins: [{ name: 'history' }],\n groups: [\n {\n id: 'overview',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.groups.overview',\n },\n {\n id: 'variables',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.groups.variables',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'overview',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'workflowTitle',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.workflow-title.title',\n groupId: 'overview',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'statusDisplay',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.status-display.title',\n groupId: 'overview',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'startedAt',\n title: 'Start Date',\n groupId: 'overview',\n schema: {\n dataType: 'datetime',\n interface: { type: AXPWidgetsCatalog.dateTime ,\n options: { format: 'datetime' },\n },\n readonly: true,\n },\n options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'assignUser',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.assign-user-display.title',\n groupId: 'overview',\n schema: {\n dataType: 'object',\n readonly: true,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'assignUserRef.id' },\n { source: 'displayName', target: 'assignUserRef.displayName' },\n ],\n },\n },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n {\n name: 'currentActivityTitle',\n title: 'Current Activity',\n groupId: 'overview',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'nextActivityTitle',\n title: 'Next Activity',\n groupId: 'overview',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'progressPercentage',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.progress-percentage.title',\n groupId: 'overview',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsCatalog.progressBar,\n options: { total: 100, showText: true, textFormat: 'percentage' },\n },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n {\n name: 'workflowVariablesTable',\n title: '',\n groupId: 'variables',\n schema: {\n dataType: 'array',\n readonly: true,\n interface: {\n type: AXPWidgetsList.Advanced.DataList,\n options: {\n disabled: true,\n paging: false,\n showIndex: true,\n showHeader: true,\n columns: [\n {\n name: 'name',\n title:\n '@workflow-management:workflow-instances.entities.workflow-instance.fields.workflow-variables.column-key',\n width: '180px',\n },\n {\n name: 'title',\n title:\n '@workflow-management:workflow-instances.entities.workflow-instance.fields.workflow-variables.column-title',\n width: '200px',\n },\n {\n name: 'value',\n title:\n '@workflow-management:workflow-instances.entities.workflow-instance.fields.workflow-variables.column-value',\n },\n ],\n },\n },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n ],\n columns: [\n {\n name: 'workflowTitle',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.workflow-title.title',\n showAs: { type: AXPWidgetsCatalog.text },\n },\n {\n name: 'statusDisplay',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.status-display.title',\n showAs: { type: AXPWidgetsCatalog.text },\n options: { width: '180px' },\n },\n {\n name: 'startedAt',\n title: 'Start Date',\n showAs: { type: AXPWidgetsCatalog.text },\n options: { width: '170px' },\n },\n {\n name: 'assignUser',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.assign-user-display.title',\n options: { width: '220px', dataPath: 'assignUserRef.displayName' },\n },\n {\n name: 'currentActivityTitle',\n title: 'Current Activity',\n showAs: { type: AXPWidgetsCatalog.text },\n // options: { width: '220px' },\n },\n {\n name: 'progressPercentage',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.progress-percentage.title',\n showAs: { type: AXPWidgetsCatalog.progressBar },\n options: { width: '140px' },\n },\n {\n name: 'nextActivityTitle',\n title: 'Next Activity',\n showAs: { type: AXPWidgetsCatalog.text },\n // options: { width: '220px' },\n },\n ],\n interfaces: {\n master: {\n single: {\n title: '{{ workflowTitle || name || definitionId }}',\n sections: [\n { id: 'overview', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'variables', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'workflowTitle', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'statusDisplay', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'startedAt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'assignUser', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'currentActivityTitle', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'nextActivityTitle', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'progressPercentage', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'workflowVariablesTable', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'createdAt', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;;;;AAOO,eAAe,OAAO,GAAA;AAC3B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACjD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBA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AAE;AAChF,wBAAA,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAC7E,wBAAA,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAC9E,wBAAA,EAAE,IAAI,EAAE,wBAAwB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACnF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAC7E,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-modules-workflow-management-workflow-instance.entity-B_V3uMSI.mjs","sources":["../../../../libs/modules/workflow-management/src/lib/entities/workflow-instance/workflow-instance.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex/modules/common';\nimport { AXPEntity, createAllQueryView } from '@acorex/platform/common';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { WORKFLOW_INSTANCE_ACTIVITY_INSTANCES_PAGE_COMPONENT_KEY } from '../../features/workflow-instance-activity-instances-page';\nimport { RootConfig } from '../../const';\n\nexport async function factory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.workflowInstance.name,\n title: RootConfig.entities.workflowInstance.title,\n icon: RootConfig.entities.workflowInstance.icon,\n pages: [\n {\n componentKey: WORKFLOW_INSTANCE_ACTIVITY_INSTANCES_PAGE_COMPONENT_KEY,\n title: '@workflow-management:workflow-instances.entities.workflow-instance.pages.activity-instances.title',\n icon: 'fa-light fa-list-ol',\n layout: { order: 1, position: 'after' },\n },\n ],\n formats: {\n individual: RootConfig.entities.workflowInstance.title,\n plural: RootConfig.entities.workflowInstance.titlePlural,\n searchResult: {\n title: '{{ workflowTitle || name || definitionId }}',\n description: '{{ statusDisplay }}',\n },\n },\n plugins: [{ name: 'history' }],\n groups: [\n {\n id: 'overview',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.groups.overview',\n },\n {\n id: 'variables',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.groups.variables',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'overview',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'workflowTitle',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.workflow-title.title',\n groupId: 'overview',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'statusDisplay',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.status-display.title',\n groupId: 'overview',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'startedAt',\n title: 'Start Date',\n groupId: 'overview',\n schema: {\n dataType: 'datetime',\n interface: { type: AXPWidgetsCatalog.dateTime ,\n options: { format: 'datetime' },\n },\n readonly: true,\n },\n options: { filter: { advance: { enabled: true }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'assignUser',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.assign-user-display.title',\n groupId: 'overview',\n schema: {\n dataType: 'object',\n readonly: true,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'assignUserRef.id' },\n { source: 'displayName', target: 'assignUserRef.displayName' },\n ],\n },\n },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n {\n name: 'currentActivityTitle',\n title: 'Current Activity',\n groupId: 'overview',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'nextActivityTitle',\n title: 'Next Activity',\n groupId: 'overview',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: true } },\n },\n {\n name: 'progressPercentage',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.progress-percentage.title',\n groupId: 'overview',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsCatalog.progressBar,\n options: { total: 100, showText: true, textFormat: 'percentage' },\n },\n readonly: true,\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n {\n name: 'workflowVariablesTable',\n title: '',\n groupId: 'variables',\n schema: {\n dataType: 'array',\n readonly: true,\n interface: {\n type: AXPWidgetsList.Advanced.DataList,\n options: {\n disabled: true,\n paging: false,\n showIndex: true,\n showHeader: true,\n columns: [\n {\n name: 'name',\n title:\n '@workflow-management:workflow-instances.entities.workflow-instance.fields.workflow-variables.column-key',\n width: '180px',\n },\n {\n name: 'title',\n title:\n '@workflow-management:workflow-instances.entities.workflow-instance.fields.workflow-variables.column-title',\n width: '200px',\n },\n {\n name: 'value',\n title:\n '@workflow-management:workflow-instances.entities.workflow-instance.fields.workflow-variables.column-value',\n },\n ],\n },\n },\n },\n options: { filter: { advance: { enabled: false }, inline: { enabled: false } }, sort: { enabled: false } },\n },\n ],\n columns: [\n {\n name: 'workflowTitle',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.workflow-title.title',\n showAs: { type: AXPWidgetsCatalog.text },\n },\n {\n name: 'statusDisplay',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.status-display.title',\n showAs: { type: AXPWidgetsCatalog.text },\n options: { width: '180px' },\n },\n {\n name: 'startedAt',\n title: 'Start Date',\n showAs: { type: AXPWidgetsCatalog.text },\n options: { width: '170px' },\n },\n {\n name: 'assignUser',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.assign-user-display.title',\n options: { width: '220px', dataPath: 'assignUserRef.displayName' },\n },\n {\n name: 'currentActivityTitle',\n title: 'Current Activity',\n showAs: { type: AXPWidgetsCatalog.text },\n // options: { width: '220px' },\n },\n {\n name: 'progressPercentage',\n title: '@workflow-management:workflow-instances.entities.workflow-instance.fields.progress-percentage.title',\n showAs: { type: AXPWidgetsCatalog.progressBar },\n options: { width: '140px' },\n },\n {\n name: 'nextActivityTitle',\n title: 'Next Activity',\n showAs: { type: AXPWidgetsCatalog.text },\n // options: { width: '220px' },\n },\n ],\n interfaces: {\n master: {\n single: {\n title: '{{ workflowTitle || name || definitionId }}',\n sections: [\n { id: 'overview', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'variables', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'workflowTitle', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'statusDisplay', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'startedAt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'assignUser', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'currentActivityTitle', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'nextActivityTitle', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'progressPercentage', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'workflowVariablesTable', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'createdAt', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;;;;AAOO,eAAe,OAAO,GAAA;AAC3B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACjD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,KAAK,EAAE;AACL,YAAA;AACE,gBAAA,YAAY,EAAE,uDAAuD;AACrE,gBAAA,KAAK,EAAE,mGAAmG;AAC1G,gBAAA,IAAI,EAAE,qBAAqB;gBAC3B,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE;AACxC,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACtD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,WAAW;AACxD,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,6CAA6C;AACpD,gBAAA,WAAW,EAAE,qBAAqB;AACnC,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE,CAAC,EAAE,IA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,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAC7E,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
|
package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DMszilef.mjs
ADDED
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
import * as i2 from '@acorex/components/button';
|
|
2
|
+
import { AXButtonModule } from '@acorex/components/button';
|
|
3
|
+
import * as i3 from '@acorex/components/dropdown';
|
|
4
|
+
import { AXDropdownModule } from '@acorex/components/dropdown';
|
|
5
|
+
import { AXPWidgetsList } from '@acorex/modules/common';
|
|
6
|
+
import { AXPTaskPopoverComponent, AXPTaskBoardService } from '@acorex/modules/task-management';
|
|
7
|
+
import * as i1 from '@acorex/platform/layout/widget-core';
|
|
8
|
+
import { AXPWidgetSerializationHelper, AXPWidgetCoreModule } from '@acorex/platform/layout/widget-core';
|
|
9
|
+
import * as i5 from '@acorex/core/translation';
|
|
10
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
|
11
|
+
import * as i1$1 from '@angular/common';
|
|
12
|
+
import { CommonModule } from '@angular/common';
|
|
13
|
+
import * as i0 from '@angular/core';
|
|
14
|
+
import { input, inject, signal, computed, effect, CUSTOM_ELEMENTS_SCHEMA, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
15
|
+
|
|
16
|
+
//#region ---- Imports ----
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region ---- Component ----
|
|
19
|
+
class AXMWorkflowTaskPopoverComponent extends AXPTaskPopoverComponent {
|
|
20
|
+
onFormContextChanged(event) {
|
|
21
|
+
const data = event?.data;
|
|
22
|
+
if (data && typeof data === 'object') {
|
|
23
|
+
const filtered = {};
|
|
24
|
+
for (const [key, value] of Object.entries(data)) {
|
|
25
|
+
if (key !== 'task' && key !== '_fields')
|
|
26
|
+
filtered[key] = value;
|
|
27
|
+
}
|
|
28
|
+
this.formValues.set(filtered);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
buildWidgetNode(f) {
|
|
32
|
+
const type = (f.type ?? 'string').toLowerCase();
|
|
33
|
+
const path = f.name;
|
|
34
|
+
const defaultValue = f.value;
|
|
35
|
+
switch (type) {
|
|
36
|
+
case 'number':
|
|
37
|
+
return {
|
|
38
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
39
|
+
path,
|
|
40
|
+
name: path,
|
|
41
|
+
defaultValue,
|
|
42
|
+
options: {},
|
|
43
|
+
};
|
|
44
|
+
case 'date':
|
|
45
|
+
return {
|
|
46
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
47
|
+
path,
|
|
48
|
+
name: path,
|
|
49
|
+
defaultValue,
|
|
50
|
+
options: { showTime: true },
|
|
51
|
+
};
|
|
52
|
+
case 'boolean':
|
|
53
|
+
return {
|
|
54
|
+
type: AXPWidgetsList.Editors.CheckBox,
|
|
55
|
+
path,
|
|
56
|
+
name: path,
|
|
57
|
+
defaultValue: Boolean(defaultValue),
|
|
58
|
+
options: {},
|
|
59
|
+
};
|
|
60
|
+
case 'text':
|
|
61
|
+
return {
|
|
62
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
63
|
+
path,
|
|
64
|
+
name: path,
|
|
65
|
+
defaultValue,
|
|
66
|
+
options: { rows: 3, placeholder: f.placeholder },
|
|
67
|
+
};
|
|
68
|
+
default:
|
|
69
|
+
return {
|
|
70
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
71
|
+
path,
|
|
72
|
+
name: path,
|
|
73
|
+
defaultValue,
|
|
74
|
+
options: { placeholder: f.placeholder },
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
constructor() {
|
|
79
|
+
super();
|
|
80
|
+
//#region ---- Inputs ----
|
|
81
|
+
this.task = input.required(...(ngDevMode ? [{ debugName: "task" }] : /* istanbul ignore next */ []));
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region ---- Services & Dependencies ----
|
|
84
|
+
this.taskBoardService = inject(AXPTaskBoardService);
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region ---- Form context (for userInput on resume) ----
|
|
87
|
+
/** Current form values; passed as userInput when executing an action. */
|
|
88
|
+
this.formValues = signal({}, ...(ngDevMode ? [{ debugName: "formValues" }] : /* istanbul ignore next */ []));
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region ---- Content node from payload.layout or payload.context ----
|
|
91
|
+
/**
|
|
92
|
+
* Builds content node from payload.layout (layout-based task, e.g. show-layout-popup as human-task)
|
|
93
|
+
* or from payload.context._fields (legacy form fields). When layout is present, parses JSON and
|
|
94
|
+
* returns the root node; otherwise builds grid from _fields.
|
|
95
|
+
*/
|
|
96
|
+
this.contentNode = computed(() => {
|
|
97
|
+
const t = this.task();
|
|
98
|
+
const taskData = t?.data;
|
|
99
|
+
const payload = taskData?.payload;
|
|
100
|
+
const layoutStr = payload?.layout;
|
|
101
|
+
if (typeof layoutStr === 'string' && layoutStr.trim().length > 0) {
|
|
102
|
+
try {
|
|
103
|
+
return AXPWidgetSerializationHelper.fromJson(layoutStr);
|
|
104
|
+
}
|
|
105
|
+
catch {
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
const context = payload?.context;
|
|
110
|
+
const fields = context && typeof context === 'object' && Array.isArray(context._fields)
|
|
111
|
+
? context._fields
|
|
112
|
+
: null;
|
|
113
|
+
if (!fields || fields.length === 0)
|
|
114
|
+
return null;
|
|
115
|
+
const children = fields.map((f) => ({
|
|
116
|
+
type: 'grid-item-layout',
|
|
117
|
+
name: f.name,
|
|
118
|
+
options: { colSpan: 12 },
|
|
119
|
+
children: [
|
|
120
|
+
{
|
|
121
|
+
type: 'form-field',
|
|
122
|
+
options: {
|
|
123
|
+
label: f.label ?? f.name,
|
|
124
|
+
showLabel: true,
|
|
125
|
+
},
|
|
126
|
+
children: [this.buildWidgetNode(f)],
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
}));
|
|
130
|
+
return {
|
|
131
|
+
type: 'grid-layout',
|
|
132
|
+
mode: 'edit',
|
|
133
|
+
options: {
|
|
134
|
+
grid: {
|
|
135
|
+
default: {
|
|
136
|
+
columns: 'repeat(12, 1fr)',
|
|
137
|
+
rows: 'repeat(1, 1fr)',
|
|
138
|
+
gap: '12px',
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
children,
|
|
143
|
+
};
|
|
144
|
+
}, ...(ngDevMode ? [{ debugName: "contentNode" }] : /* istanbul ignore next */ []));
|
|
145
|
+
/** Context for axp-widgets-container (initial values from payload.context). */
|
|
146
|
+
this.popoverContext = computed(() => {
|
|
147
|
+
const t = this.task();
|
|
148
|
+
const payload = t?.data?.payload;
|
|
149
|
+
const ctx = payload?.context;
|
|
150
|
+
const base = ctx && typeof ctx === 'object' ? { ...ctx } : {};
|
|
151
|
+
base['task'] = t;
|
|
152
|
+
const fields = Array.isArray(base['_fields']) ? base['_fields'] : [];
|
|
153
|
+
for (const f of fields) {
|
|
154
|
+
if (f.name && !(f.name in base))
|
|
155
|
+
base[f.name] = f.value;
|
|
156
|
+
}
|
|
157
|
+
return base;
|
|
158
|
+
}, ...(ngDevMode ? [{ debugName: "popoverContext" }] : /* istanbul ignore next */ []));
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region ---- Actions ----
|
|
161
|
+
this.taskActions = signal([], ...(ngDevMode ? [{ debugName: "taskActions" }] : /* istanbul ignore next */ []));
|
|
162
|
+
this.primaryActions = computed(() => this.taskActions().filter((a) => (a.priority ?? 'secondary') === 'primary'), ...(ngDevMode ? [{ debugName: "primaryActions" }] : /* istanbul ignore next */ []));
|
|
163
|
+
this.secondaryActions = computed(() => this.taskActions().filter((a) => (a.priority ?? 'secondary') === 'secondary'), ...(ngDevMode ? [{ debugName: "secondaryActions" }] : /* istanbul ignore next */ []));
|
|
164
|
+
effect(() => {
|
|
165
|
+
const t = this.task();
|
|
166
|
+
if (!t?.provider) {
|
|
167
|
+
this.taskActions.set([]);
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
const provider = this.taskBoardService.getProvider(t.provider);
|
|
171
|
+
if (!provider) {
|
|
172
|
+
this.taskActions.set([]);
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
provider.getActions(t).then((actions) => this.taskActions.set(actions));
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
getActionColor(action) {
|
|
179
|
+
return action.color ?? null;
|
|
180
|
+
}
|
|
181
|
+
async executeAction(action) {
|
|
182
|
+
const t = this.task();
|
|
183
|
+
if (!t || !action.command || !t.provider)
|
|
184
|
+
return;
|
|
185
|
+
const userInput = this.formValues();
|
|
186
|
+
const command = {
|
|
187
|
+
...action.command,
|
|
188
|
+
options: {
|
|
189
|
+
...action.command.options,
|
|
190
|
+
userInput: userInput && Object.keys(userInput).length > 0 ? userInput : (action.command.options?.['userInput'] ?? {}),
|
|
191
|
+
},
|
|
192
|
+
};
|
|
193
|
+
try {
|
|
194
|
+
await this.taskBoardService.executeCommand(command, t.provider);
|
|
195
|
+
}
|
|
196
|
+
catch (error) {
|
|
197
|
+
console.error('[WorkflowTaskPopover] executeAction failed:', error);
|
|
198
|
+
}
|
|
199
|
+
finally {
|
|
200
|
+
// Always refresh and close popover after any action click.
|
|
201
|
+
this.refreshPopover();
|
|
202
|
+
this.closePopover();
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkflowTaskPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
206
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMWorkflowTaskPopoverComponent, isStandalone: true, selector: "axm-workflow-task-popover", inputs: { task: { classPropertyName: "task", publicName: "task", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
207
|
+
<div class="workflow-task-popover">
|
|
208
|
+
<axp-widgets-container
|
|
209
|
+
[context]="popoverContext()"
|
|
210
|
+
(onContextChanged)="onFormContextChanged($event)"
|
|
211
|
+
class="workflow-task-popover__content"
|
|
212
|
+
>
|
|
213
|
+
@if (contentNode(); as node) {
|
|
214
|
+
<ng-container axp-widget-renderer [node]="node" [mode]="'edit'"></ng-container>
|
|
215
|
+
} @else {
|
|
216
|
+
<div class="workflow-task-popover__fallback">
|
|
217
|
+
@if (task().description) {
|
|
218
|
+
<p class="workflow-task-popover__fallback-description">{{ task().description }}</p>
|
|
219
|
+
}
|
|
220
|
+
</div>
|
|
221
|
+
}
|
|
222
|
+
</axp-widgets-container>
|
|
223
|
+
|
|
224
|
+
<div class="workflow-task-popover__actions ax-sm">
|
|
225
|
+
@if (taskActions().length > 0) {
|
|
226
|
+
<div class="workflow-task-popover__actions-group">
|
|
227
|
+
@if (primaryActions().length > 0) {
|
|
228
|
+
@for (action of primaryActions(); track action.name || action.title) {
|
|
229
|
+
<ax-button
|
|
230
|
+
[look]="'solid'"
|
|
231
|
+
[color]="getActionColor(action)"
|
|
232
|
+
(onClick)="executeAction(action)"
|
|
233
|
+
[disabled]="action.disabled === true"
|
|
234
|
+
[text]="(action.title | translate | async)!"
|
|
235
|
+
>
|
|
236
|
+
@if (action.icon) {
|
|
237
|
+
<ax-prefix>
|
|
238
|
+
<ax-icon>
|
|
239
|
+
<i [class]="action.icon"></i>
|
|
240
|
+
</ax-icon>
|
|
241
|
+
</ax-prefix>
|
|
242
|
+
}
|
|
243
|
+
</ax-button>
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
@if (secondaryActions().length > 0) {
|
|
248
|
+
<ax-button [look]="'blank'">
|
|
249
|
+
<ax-prefix>
|
|
250
|
+
<ax-icon icon="fa-light fa-ellipsis-vertical"></ax-icon>
|
|
251
|
+
</ax-prefix>
|
|
252
|
+
<ax-dropdown-panel>
|
|
253
|
+
<ax-button-item-list>
|
|
254
|
+
@for (action of secondaryActions(); track action.name || action.title) {
|
|
255
|
+
<ax-button-item
|
|
256
|
+
[text]="(action.title | translate | async)!"
|
|
257
|
+
[disabled]="action.disabled === true"
|
|
258
|
+
(onClick)="executeAction(action)"
|
|
259
|
+
>
|
|
260
|
+
@if (action.icon) {
|
|
261
|
+
<ax-prefix>
|
|
262
|
+
<ax-icon>
|
|
263
|
+
<i [class]="action.icon"></i>
|
|
264
|
+
</ax-icon>
|
|
265
|
+
</ax-prefix>
|
|
266
|
+
}
|
|
267
|
+
</ax-button-item>
|
|
268
|
+
}
|
|
269
|
+
</ax-button-item-list>
|
|
270
|
+
</ax-dropdown-panel>
|
|
271
|
+
</ax-button>
|
|
272
|
+
}
|
|
273
|
+
</div>
|
|
274
|
+
}
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
`, isInline: true, styles: [".workflow-task-popover{padding:12px;display:flex;flex-direction:column;gap:12px;min-width:280px;max-width:420px}.workflow-task-popover__content{min-height:0}.workflow-task-popover__fallback{display:flex;flex-direction:column;gap:8px}.workflow-task-popover__fallback-title{font-weight:600;font-size:14px;color:var(--ax-sys-color-text-primary)}.workflow-task-popover__fallback-description{margin:0;font-size:13px;line-height:1.4;color:var(--ax-sys-color-text-neutral-600)}.workflow-task-popover__actions{padding-top:8px;border-top:1px solid var(--ax-sys-color-border)}.workflow-task-popover__actions-group{display:flex;flex-wrap:wrap;gap:6px;align-items:center}\n"], dependencies: [{ kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: i1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged", "onLoad"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i2.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items", "closeParentOnClick", "lockOnLoading"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i3.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
278
|
+
}
|
|
279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkflowTaskPopoverComponent, decorators: [{
|
|
280
|
+
type: Component,
|
|
281
|
+
args: [{ selector: 'axm-workflow-task-popover', template: `
|
|
282
|
+
<div class="workflow-task-popover">
|
|
283
|
+
<axp-widgets-container
|
|
284
|
+
[context]="popoverContext()"
|
|
285
|
+
(onContextChanged)="onFormContextChanged($event)"
|
|
286
|
+
class="workflow-task-popover__content"
|
|
287
|
+
>
|
|
288
|
+
@if (contentNode(); as node) {
|
|
289
|
+
<ng-container axp-widget-renderer [node]="node" [mode]="'edit'"></ng-container>
|
|
290
|
+
} @else {
|
|
291
|
+
<div class="workflow-task-popover__fallback">
|
|
292
|
+
@if (task().description) {
|
|
293
|
+
<p class="workflow-task-popover__fallback-description">{{ task().description }}</p>
|
|
294
|
+
}
|
|
295
|
+
</div>
|
|
296
|
+
}
|
|
297
|
+
</axp-widgets-container>
|
|
298
|
+
|
|
299
|
+
<div class="workflow-task-popover__actions ax-sm">
|
|
300
|
+
@if (taskActions().length > 0) {
|
|
301
|
+
<div class="workflow-task-popover__actions-group">
|
|
302
|
+
@if (primaryActions().length > 0) {
|
|
303
|
+
@for (action of primaryActions(); track action.name || action.title) {
|
|
304
|
+
<ax-button
|
|
305
|
+
[look]="'solid'"
|
|
306
|
+
[color]="getActionColor(action)"
|
|
307
|
+
(onClick)="executeAction(action)"
|
|
308
|
+
[disabled]="action.disabled === true"
|
|
309
|
+
[text]="(action.title | translate | async)!"
|
|
310
|
+
>
|
|
311
|
+
@if (action.icon) {
|
|
312
|
+
<ax-prefix>
|
|
313
|
+
<ax-icon>
|
|
314
|
+
<i [class]="action.icon"></i>
|
|
315
|
+
</ax-icon>
|
|
316
|
+
</ax-prefix>
|
|
317
|
+
}
|
|
318
|
+
</ax-button>
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
@if (secondaryActions().length > 0) {
|
|
323
|
+
<ax-button [look]="'blank'">
|
|
324
|
+
<ax-prefix>
|
|
325
|
+
<ax-icon icon="fa-light fa-ellipsis-vertical"></ax-icon>
|
|
326
|
+
</ax-prefix>
|
|
327
|
+
<ax-dropdown-panel>
|
|
328
|
+
<ax-button-item-list>
|
|
329
|
+
@for (action of secondaryActions(); track action.name || action.title) {
|
|
330
|
+
<ax-button-item
|
|
331
|
+
[text]="(action.title | translate | async)!"
|
|
332
|
+
[disabled]="action.disabled === true"
|
|
333
|
+
(onClick)="executeAction(action)"
|
|
334
|
+
>
|
|
335
|
+
@if (action.icon) {
|
|
336
|
+
<ax-prefix>
|
|
337
|
+
<ax-icon>
|
|
338
|
+
<i [class]="action.icon"></i>
|
|
339
|
+
</ax-icon>
|
|
340
|
+
</ax-prefix>
|
|
341
|
+
}
|
|
342
|
+
</ax-button-item>
|
|
343
|
+
}
|
|
344
|
+
</ax-button-item-list>
|
|
345
|
+
</ax-dropdown-panel>
|
|
346
|
+
</ax-button>
|
|
347
|
+
}
|
|
348
|
+
</div>
|
|
349
|
+
}
|
|
350
|
+
</div>
|
|
351
|
+
</div>
|
|
352
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [AXPWidgetCoreModule, AXButtonModule, AXDropdownModule, CommonModule, AXTranslationModule], styles: [".workflow-task-popover{padding:12px;display:flex;flex-direction:column;gap:12px;min-width:280px;max-width:420px}.workflow-task-popover__content{min-height:0}.workflow-task-popover__fallback{display:flex;flex-direction:column;gap:8px}.workflow-task-popover__fallback-title{font-weight:600;font-size:14px;color:var(--ax-sys-color-text-primary)}.workflow-task-popover__fallback-description{margin:0;font-size:13px;line-height:1.4;color:var(--ax-sys-color-text-neutral-600)}.workflow-task-popover__actions{padding-top:8px;border-top:1px solid var(--ax-sys-color-border)}.workflow-task-popover__actions-group{display:flex;flex-wrap:wrap;gap:6px;align-items:center}\n"] }]
|
|
353
|
+
}], ctorParameters: () => [], propDecorators: { task: [{ type: i0.Input, args: [{ isSignal: true, alias: "task", required: true }] }] } });
|
|
354
|
+
|
|
355
|
+
export { AXMWorkflowTaskPopoverComponent };
|
|
356
|
+
//# sourceMappingURL=acorex-modules-workflow-management-workflow-task-popover.component-DMszilef.mjs.map
|
package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DMszilef.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-workflow-management-workflow-task-popover.component-DMszilef.mjs","sources":["../../../../libs/modules/workflow-management/src/lib/features/task-provider/workflow-task-popover.component.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXPWidgetsList } from '@acorex/modules/common';\nimport {\n AXPTask,\n AXPTaskActionMenuItem,\n AXPTaskBoardService,\n AXPTaskPopoverComponent,\n} from '@acorex/modules/task-management';\nimport { AXPWidgetCoreModule, AXPWidgetNode, AXPWidgetSerializationHelper } from '@acorex/platform/layout/widget-core';\n\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPContextChangeEvent } from '@acorex/platform/core';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n CUSTOM_ELEMENTS_SCHEMA,\n effect,\n inject,\n input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\n\n//#endregion\n\n//#region ---- Types ----\n\n/**\n * Field definition for workflow task form (from payload.context._fields).\n */\ninterface WorkflowTaskFormField {\n name: string;\n label?: string;\n type?: 'string' | 'number' | 'date' | 'boolean' | 'text';\n value?: unknown;\n placeholder?: string;\n}\n\n/**\n * Payload shape for human-task bookmark (context, actions, optional layout).\n * When layout is set, contentNode is built from parsed layout; otherwise from context._fields.\n */\ninterface HumanTaskPayload {\n activityName?: string;\n context?: Record<string, unknown> & { _fields?: WorkflowTaskFormField[] };\n actions?: { prefix?: unknown[]; suffix?: unknown[] };\n layout?: string;\n}\n\n//#endregion\n\n//#region ---- Component ----\n\n@Component({\n selector: 'axm-workflow-task-popover',\n template: `\n <div class=\"workflow-task-popover\">\n <axp-widgets-container\n [context]=\"popoverContext()\"\n (onContextChanged)=\"onFormContextChanged($event)\"\n class=\"workflow-task-popover__content\"\n >\n @if (contentNode(); as node) {\n <ng-container axp-widget-renderer [node]=\"node\" [mode]=\"'edit'\"></ng-container>\n } @else {\n <div class=\"workflow-task-popover__fallback\">\n @if (task().description) {\n <p class=\"workflow-task-popover__fallback-description\">{{ task().description }}</p>\n }\n </div>\n }\n </axp-widgets-container>\n\n <div class=\"workflow-task-popover__actions ax-sm\">\n @if (taskActions().length > 0) {\n <div class=\"workflow-task-popover__actions-group\">\n @if (primaryActions().length > 0) {\n @for (action of primaryActions(); track action.name || action.title) {\n <ax-button\n [look]=\"'solid'\"\n [color]=\"getActionColor(action)\"\n (onClick)=\"executeAction(action)\"\n [disabled]=\"action.disabled === true\"\n [text]=\"(action.title | translate | async)!\"\n >\n @if (action.icon) {\n <ax-prefix>\n <ax-icon>\n <i [class]=\"action.icon\"></i>\n </ax-icon>\n </ax-prefix>\n }\n </ax-button>\n }\n }\n\n @if (secondaryActions().length > 0) {\n <ax-button [look]=\"'blank'\">\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-ellipsis-vertical\"></ax-icon>\n </ax-prefix>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for (action of secondaryActions(); track action.name || action.title) {\n <ax-button-item\n [text]=\"(action.title | translate | async)!\"\n [disabled]=\"action.disabled === true\"\n (onClick)=\"executeAction(action)\"\n >\n @if (action.icon) {\n <ax-prefix>\n <ax-icon>\n <i [class]=\"action.icon\"></i>\n </ax-icon>\n </ax-prefix>\n }\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n }\n </div>\n }\n </div>\n </div>\n `,\n styles: `\n .workflow-task-popover {\n padding: 12px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n min-width: 280px;\n max-width: 420px;\n }\n\n .workflow-task-popover__content {\n min-height: 0;\n }\n\n .workflow-task-popover__fallback {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }\n\n .workflow-task-popover__fallback-title {\n font-weight: 600;\n font-size: 14px;\n color: var(--ax-sys-color-text-primary);\n }\n\n .workflow-task-popover__fallback-description {\n margin: 0;\n font-size: 13px;\n line-height: 1.4;\n color: var(--ax-sys-color-text-neutral-600);\n }\n\n .workflow-task-popover__actions {\n padding-top: 8px;\n border-top: 1px solid var(--ax-sys-color-border);\n }\n\n .workflow-task-popover__actions-group {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n align-items: center;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n imports: [AXPWidgetCoreModule, AXButtonModule, AXDropdownModule, CommonModule, AXTranslationModule],\n})\nexport class AXMWorkflowTaskPopoverComponent extends AXPTaskPopoverComponent {\n //#region ---- Inputs ----\n\n task = input.required<AXPTask>();\n\n //#endregion\n\n //#region ---- Services & Dependencies ----\n\n private readonly taskBoardService = inject(AXPTaskBoardService);\n\n //#endregion\n\n //#region ---- Form context (for userInput on resume) ----\n\n /** Current form values; passed as userInput when executing an action. */\n protected readonly formValues = signal<Record<string, unknown>>({});\n\n protected onFormContextChanged(event: AXPContextChangeEvent): void {\n const data = event?.data;\n if (data && typeof data === 'object') {\n const filtered: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(data)) {\n if (key !== 'task' && key !== '_fields') filtered[key] = value;\n }\n this.formValues.set(filtered);\n }\n }\n\n //#endregion\n\n //#region ---- Content node from payload.layout or payload.context ----\n\n /**\n * Builds content node from payload.layout (layout-based task, e.g. show-layout-popup as human-task)\n * or from payload.context._fields (legacy form fields). When layout is present, parses JSON and\n * returns the root node; otherwise builds grid from _fields.\n */\n protected readonly contentNode = computed<AXPWidgetNode | null>(() => {\n const t = this.task();\n const taskData = t?.data as { payload?: HumanTaskPayload } | undefined;\n const payload = taskData?.payload;\n const layoutStr = payload?.layout;\n if (typeof layoutStr === 'string' && layoutStr.trim().length > 0) {\n try {\n return AXPWidgetSerializationHelper.fromJson(layoutStr);\n } catch {\n return null;\n }\n }\n const context = payload?.context;\n const fields =\n context && typeof context === 'object' && Array.isArray((context as any)._fields)\n ? ((context as any)._fields as WorkflowTaskFormField[])\n : null;\n\n if (!fields || fields.length === 0) return null;\n\n const children: AXPWidgetNode[] = fields.map((f) => ({\n type: 'grid-item-layout',\n name: f.name,\n options: { colSpan: 12 },\n children: [\n {\n type: 'form-field',\n options: {\n label: f.label ?? f.name,\n showLabel: true,\n },\n children: [this.buildWidgetNode(f)],\n },\n ],\n }));\n\n return {\n type: 'grid-layout',\n mode: 'edit',\n options: {\n grid: {\n default: {\n columns: 'repeat(12, 1fr)',\n rows: 'repeat(1, 1fr)',\n gap: '12px',\n },\n },\n },\n children,\n };\n });\n\n private buildWidgetNode(f: WorkflowTaskFormField): AXPWidgetNode {\n const type = (f.type ?? 'string').toLowerCase();\n const path = f.name;\n const defaultValue = f.value;\n\n switch (type) {\n case 'number':\n return {\n type: AXPWidgetsList.Editors.NumberBox,\n path,\n name: path,\n defaultValue,\n options: {},\n };\n case 'date':\n return {\n type: AXPWidgetsList.Editors.DateTimeBox,\n path,\n name: path,\n defaultValue,\n options: { showTime: true },\n };\n case 'boolean':\n return {\n type: AXPWidgetsList.Editors.CheckBox,\n path,\n name: path,\n defaultValue: Boolean(defaultValue),\n options: {},\n };\n case 'text':\n return {\n type: AXPWidgetsList.Editors.LargeTextBox,\n path,\n name: path,\n defaultValue,\n options: { rows: 3, placeholder: f.placeholder },\n };\n default:\n return {\n type: AXPWidgetsList.Editors.TextBox,\n path,\n name: path,\n defaultValue,\n options: { placeholder: f.placeholder },\n };\n }\n }\n\n /** Context for axp-widgets-container (initial values from payload.context). */\n protected readonly popoverContext = computed<Record<string, unknown>>(() => {\n const t = this.task();\n const payload = (t?.data as { payload?: HumanTaskPayload })?.payload;\n const ctx = payload?.context;\n const base: Record<string, unknown> = ctx && typeof ctx === 'object' ? { ...ctx } : {};\n base['task'] = t;\n const fields = Array.isArray(base['_fields']) ? (base['_fields'] as WorkflowTaskFormField[]) : [];\n for (const f of fields) {\n if (f.name && !(f.name in base)) base[f.name] = f.value;\n }\n return base;\n });\n\n //#endregion\n\n //#region ---- Actions ----\n\n protected readonly taskActions = signal<AXPTaskActionMenuItem[]>([]);\n\n protected readonly primaryActions = computed(() =>\n this.taskActions().filter((a) => (a.priority ?? 'secondary') === 'primary'),\n );\n\n protected readonly secondaryActions = computed(() =>\n this.taskActions().filter((a) => (a.priority ?? 'secondary') === 'secondary'),\n );\n\n constructor() {\n super();\n effect(() => {\n const t = this.task();\n if (!t?.provider) {\n this.taskActions.set([]);\n return;\n }\n const provider = this.taskBoardService.getProvider(t.provider);\n if (!provider) {\n this.taskActions.set([]);\n return;\n }\n provider.getActions(t).then((actions) => this.taskActions.set(actions));\n });\n }\n\n protected getActionColor(action: AXPTaskActionMenuItem): string | null {\n return (action.color as string) ?? null;\n }\n\n protected async executeAction(action: AXPTaskActionMenuItem): Promise<void> {\n const t = this.task();\n if (!t || !action.command || !t.provider) return;\n const userInput = this.formValues();\n const command = {\n ...action.command,\n options: {\n ...action.command.options,\n userInput:\n userInput && Object.keys(userInput).length > 0 ? userInput : (action.command.options?.['userInput'] ?? {}),\n },\n };\n try {\n await this.taskBoardService.executeCommand(command, t.provider);\n } catch (error) {\n console.error('[WorkflowTaskPopover] executeAction failed:', error);\n } finally {\n // Always refresh and close popover after any action click.\n this.refreshPopover();\n this.closePopover();\n }\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;AAAA;AAsDA;AAEA;AA8HM,MAAO,+BAAgC,SAAQ,uBAAuB,CAAA;AAkBhE,IAAA,oBAAoB,CAAC,KAA4B,EAAA;AACzD,QAAA,MAAM,IAAI,GAAG,KAAK,EAAE,IAAI;AACxB,QAAA,IAAI,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;YACpC,MAAM,QAAQ,GAA4B,EAAE;AAC5C,YAAA,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;AAC/C,gBAAA,IAAI,GAAG,KAAK,MAAM,IAAI,GAAG,KAAK,SAAS;AAAE,oBAAA,QAAQ,CAAC,GAAG,CAAC,GAAG,KAAK;YAChE;AACA,YAAA,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,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