@acorex/modules 21.0.0-next.57 → 21.0.0-next.59
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/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-DcPnI9fZ.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-o8aFazwA.mjs} +72 -78
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-o8aFazwA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-D880d_qz.mjs → acorex-modules-assessment-management-assessment-case.entity-yrc_Yybq.mjs} +67 -71
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-yrc_Yybq.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-BUQa_TSY.mjs +47 -0
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-BUQa_TSY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-DvbocIN1.mjs → acorex-modules-assessment-management-assessment-session.entity-Cwf30iuu.mjs} +5 -41
- package/fesm2022/acorex-modules-assessment-management-assessment-session.entity-Cwf30iuu.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-BMJ54EPO.mjs → acorex-modules-assessment-management-fill-assessment-session.command-CJieLR5g.mjs} +32 -7
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-CJieLR5g.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-index-XdJCIYG3.mjs → acorex-modules-assessment-management-index-D8KjfHAH.mjs} +4 -4
- package/fesm2022/{acorex-modules-assessment-management-index-XdJCIYG3.mjs.map → acorex-modules-assessment-management-index-D8KjfHAH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-CO8NfjEb.mjs → acorex-modules-assessment-management-preview-question.command-D0-FB1HH.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-CO8NfjEb.mjs.map → acorex-modules-assessment-management-preview-question.command-D0-FB1HH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-DSzbtU0e.mjs → acorex-modules-assessment-management-preview-questionnaire.command-wqPNgv7q.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-DSzbtU0e.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-wqPNgv7q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DbvxAUgb.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DYyUhSWd.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DbvxAUgb.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DYyUhSWd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-DBfQhSKR.mjs → acorex-modules-assessment-management-question-bank-item.entity-DUf2ceKY.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-DBfQhSKR.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-DUf2ceKY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-CL9s20qR.mjs → acorex-modules-assessment-management-questionnaire-calculation.entity-CYF0k42_.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-CL9s20qR.mjs.map → acorex-modules-assessment-management-questionnaire-calculation.entity-CYF0k42_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-CH_cJlSf.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-Cy5ElBmU.mjs} +111 -28
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-Cy5ElBmU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CrryBMC2.mjs → acorex-modules-assessment-management-questionnaire.entity-RWSkzNbA.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CrryBMC2.mjs.map → acorex-modules-assessment-management-questionnaire.entity-RWSkzNbA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-Dq5VComh.mjs → acorex-modules-assessment-management-save-questionnaire-questions.command-koGmUbNE.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-Dq5VComh.mjs.map → acorex-modules-assessment-management-save-questionnaire-questions.command-koGmUbNE.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management-view-case-last-session-answers.command-NTuDdoYk.mjs +157 -0
- package/fesm2022/acorex-modules-assessment-management-view-case-last-session-answers.command-NTuDdoYk.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-0btGV66_.mjs +172 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-0btGV66_.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-wfCSNwXC.mjs → acorex-modules-auth-acorex-modules-auth-D4IBi_VD.mjs} +39 -30
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-D4IBi_VD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BY281-Cl.mjs → acorex-modules-auth-app-chooser.component-BEktaBWD.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BY281-Cl.mjs.map → acorex-modules-auth-app-chooser.component-BEktaBWD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-CjgYlyOv.mjs → acorex-modules-auth-login.module-aAwHzXPj.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-CjgYlyOv.mjs.map → acorex-modules-auth-login.module-aAwHzXPj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-Clx8QDYW.mjs → acorex-modules-auth-master.layout-BapDYFZ_.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-Clx8QDYW.mjs.map → acorex-modules-auth-master.layout-BapDYFZ_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CGnGAPJ2.mjs → acorex-modules-auth-oauth-callback.component-Cyu2vqyK.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CGnGAPJ2.mjs.map → acorex-modules-auth-oauth-callback.component-Cyu2vqyK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-8eEX0lRP.mjs → acorex-modules-auth-password.component-DB-ac0Rn.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-8eEX0lRP.mjs.map → acorex-modules-auth-password.component-DB-ac0Rn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CUxwThnN.mjs → acorex-modules-auth-password.component-cPmwNpuq.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-CUxwThnN.mjs.map → acorex-modules-auth-password.component-cPmwNpuq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-CYLKJm9g.mjs → acorex-modules-auth-routes-r72zIRTa.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-CYLKJm9g.mjs.map → acorex-modules-auth-routes-r72zIRTa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DDK1KW-8.mjs → acorex-modules-auth-tenant-chooser.component-AQA2o6Ty.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DDK1KW-8.mjs.map → acorex-modules-auth-tenant-chooser.component-AQA2o6Ty.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-Iw2U7Cy5.mjs → acorex-modules-auth-two-factor.module-Dx0CC5ic.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-Iw2U7Cy5.mjs.map → acorex-modules-auth-two-factor.module-Dx0CC5ic.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-sKDANprs.mjs → acorex-modules-auth-user-sessions.component-3Wr7DUDQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-sKDANprs.mjs.map → acorex-modules-auth-user-sessions.component-3Wr7DUDQ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +7 -3
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-DlteA_jC.mjs → acorex-modules-conversation-acorex-modules-conversation-DkdNLMKa.mjs} +8 -7
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DkdNLMKa.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BAgBuxlz.mjs → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-VKPbkRqI.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BAgBuxlz.mjs.map → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-VKPbkRqI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-comments-page.component-BrwP9l7M.mjs → acorex-modules-conversation-comments-page.component-ehUCjoFD.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-BrwP9l7M.mjs.map → acorex-modules-conversation-comments-page.component-ehUCjoFD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-BzKawEoN.mjs → acorex-modules-conversation-send-assist-chat-message.command-ZNcVi54N.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-BzKawEoN.mjs.map → acorex-modules-conversation-send-assist-chat-message.command-ZNcVi54N.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-BUOGUMl0.mjs → acorex-modules-conversation-start-assist-chat.command-CX6lm1lG.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-BUOGUMl0.mjs.map → acorex-modules-conversation-start-assist-chat.command-CX6lm1lG.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/acorex-modules-customer-management.mjs +2 -0
- package/fesm2022/acorex-modules-customer-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +6 -5
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-Bfjo-ENr.mjs → acorex-modules-help-desk-acorex-modules-help-desk-DVlO9JZw.mjs} +3 -2
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-DVlO9JZw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CsACFkPq.mjs → acorex-modules-help-desk-capture-screen.component-rNPehEf8.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CsACFkPq.mjs.map → acorex-modules-help-desk-capture-screen.component-rNPehEf8.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-XhV2JQXs.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-BWezAea1.mjs} +131 -112
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-BWezAea1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-Cre30Kp7.mjs → acorex-modules-human-capital-management-approve-leave-request.command-Bh_Bbq5-.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-Cre30Kp7.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-Bh_Bbq5-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-NYgddiaD.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-BpDdDG9i.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-NYgddiaD.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-BpDdDG9i.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DPh-KQgN.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-CjtKaKFw.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DPh-KQgN.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-CjtKaKFw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-znCbbQUd.mjs → acorex-modules-human-capital-management-employee.entity-Cx_oY2aK.mjs} +8 -8
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-Cx_oY2aK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DUNB3zAB.mjs → acorex-modules-human-capital-management-employment-type.entity-B20Taa5x.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DUNB3zAB.mjs.map → acorex-modules-human-capital-management-employment-type.entity-B20Taa5x.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-JyFrrCGE.mjs → acorex-modules-human-capital-management-leave-request.entity-BO8QXpZE.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-JyFrrCGE.mjs.map → acorex-modules-human-capital-management-leave-request.entity-BO8QXpZE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-B61MiEPu.mjs → acorex-modules-human-capital-management-leave-type.entity-CQwSWqSh.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-B61MiEPu.mjs.map → acorex-modules-human-capital-management-leave-type.entity-CQwSWqSh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-lifecycle-process-type.entity-DJqo2kTG.mjs → acorex-modules-human-capital-management-lifecycle-event-type.entity-BPWJrvbN.mjs} +13 -13
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event-type.entity-BPWJrvbN.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employee-lifecycle-process.entity-LX68KORg.mjs → acorex-modules-human-capital-management-lifecycle-event.entity-ZZuPu9KQ.mjs} +45 -56
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event.entity-ZZuPu9KQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-CKCC6bKg.mjs → acorex-modules-human-capital-management-position-assignment.entity-BN1y0qhi.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-CKCC6bKg.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-BN1y0qhi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-Blv08UQZ.mjs → acorex-modules-human-capital-management-reject-leave-request.command-LczqOHP-.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-Blv08UQZ.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-LczqOHP-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-lgEAbxYH.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-Dm8YacDI.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-lgEAbxYH.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-Dm8YacDI.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DPwuyFz2.mjs +237 -0
- package/fesm2022/acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DPwuyFz2.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/{acorex-modules-learning-management-enrollment.entity-B53AQq_9.mjs → acorex-modules-learning-management-enrollment.entity-CdJafrUh.mjs} +4 -22
- package/fesm2022/acorex-modules-learning-management-enrollment.entity-CdJafrUh.mjs.map +1 -0
- package/fesm2022/acorex-modules-learning-management.mjs +1 -1
- package/fesm2022/acorex-modules-learning-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +1 -0
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-5DJoQkx2.mjs → acorex-modules-platform-management-acorex-modules-platform-management-Cbf1rlEK.mjs} +4 -4
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-5DJoQkx2.mjs.map → acorex-modules-platform-management-acorex-modules-platform-management-Cbf1rlEK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-C3WBYbOt.mjs → acorex-modules-platform-management-menu-list.component-DIf_-oaM.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-C3WBYbOt.mjs.map → acorex-modules-platform-management-menu-list.component-DIf_-oaM.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +3 -0
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-supplier-management.mjs +1 -0
- package/fesm2022/acorex-modules-supplier-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management-CrybKNgo.mjs → acorex-modules-task-management-acorex-modules-task-management--mdNdYIs.mjs} +32 -2
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management--mdNdYIs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-B2xxXscG.mjs → acorex-modules-task-management-task-board.page-BIZ1qH7m.mjs} +33 -3
- package/fesm2022/acorex-modules-task-management-task-board.page-BIZ1qH7m.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-OLbCD-7P.mjs → acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-B4DLmioy.mjs} +3 -3
- package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-OLbCD-7P.mjs.map → acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-B4DLmioy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-index-RRzkvrNM.mjs → acorex-modules-workflow-management-index-BhVZ1Bcw.mjs} +3 -3
- package/fesm2022/{acorex-modules-workflow-management-index-RRzkvrNM.mjs.map → acorex-modules-workflow-management-index-BhVZ1Bcw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-index-Eh5DDK-V.mjs → acorex-modules-workflow-management-index-DC_9M9dk.mjs} +3 -3
- package/fesm2022/{acorex-modules-workflow-management-index-Eh5DDK-V.mjs.map → acorex-modules-workflow-management-index-DC_9M9dk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-workflow-instance.entity-B_V3uMSI.mjs → acorex-modules-workflow-management-workflow-instance.entity-BnKT3Wgh.mjs} +2 -2
- package/fesm2022/{acorex-modules-workflow-management-workflow-instance.entity-B_V3uMSI.mjs.map → acorex-modules-workflow-management-workflow-instance.entity-BnKT3Wgh.mjs.map} +1 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DjYDwHWU.mjs +255 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DjYDwHWU.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +1819 -745
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-assessment-management.d.ts +4 -7
- package/types/acorex-modules-common.d.ts +1 -0
- package/types/acorex-modules-human-capital-management.d.ts +31 -30
- package/types/acorex-modules-learning-management.d.ts +0 -1
- package/types/acorex-modules-task-management.d.ts +41 -2
- package/types/acorex-modules-workflow-management.d.ts +280 -34
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-DcPnI9fZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-D880d_qz.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-session.entity-DvbocIN1.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-BMJ54EPO.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-CH_cJlSf.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-DpppXekm.mjs +0 -112
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-DpppXekm.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-wfCSNwXC.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DlteA_jC.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-Bfjo-ENr.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-XhV2JQXs.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee-lifecycle-process.entity-LX68KORg.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-znCbbQUd.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-process-type.entity-DJqo2kTG.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-enrollment.entity-B53AQq_9.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-CrybKNgo.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-B2xxXscG.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DMszilef.mjs +0 -356
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-DMszilef.mjs.map +0 -1
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { AXDialogService } from '@acorex/components/dialog';
|
|
2
|
+
import { AXToastService } from '@acorex/components/toast';
|
|
3
|
+
import { AXTranslationService, resolveMultiLanguageString } from '@acorex/core/translation';
|
|
4
|
+
import { AXPSystemStatusType } from '@acorex/platform/common';
|
|
5
|
+
import { AXPEntityService, AXPEntityStorageService, getRecordWorkflowInstanceId } from '@acorex/platform/layout/entity';
|
|
6
|
+
import { AXPWorkflowManager, AXP_WORKFLOW_ENGINE } from '@acorex/platform/workflow';
|
|
7
|
+
import * as i0 from '@angular/core';
|
|
8
|
+
import { inject, Injectable } from '@angular/core';
|
|
9
|
+
import { R as RootConfig, c as AXMLifecycleEventOpenStatusIds } from './acorex-modules-human-capital-management-acorex-modules-human-capital-management-BWezAea1.mjs';
|
|
10
|
+
|
|
11
|
+
//#region ---- Imports ----
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region ---- Constants ----
|
|
14
|
+
/** Workflow definition name for guided employee lifecycle flows (onboarding, separation, …). */
|
|
15
|
+
const EMPLOYEE_LIFECYCLE_EVENT_FLOW_WORKFLOW_NAME = 'employee-lifecycle-event-flow';
|
|
16
|
+
//#endregion
|
|
17
|
+
/**
|
|
18
|
+
* Starts the guided lifecycle workflow after ensuring at most one in-progress event per employee and event type.
|
|
19
|
+
*/
|
|
20
|
+
class StartLifecycleEventFlowCommand {
|
|
21
|
+
constructor() {
|
|
22
|
+
//#region ---- Services & Dependencies ----
|
|
23
|
+
this.dialogService = inject(AXDialogService);
|
|
24
|
+
this.translationService = inject(AXTranslationService);
|
|
25
|
+
this.toastService = inject(AXToastService);
|
|
26
|
+
this.entityService = inject(AXPEntityService);
|
|
27
|
+
this.entityStorageService = inject(AXPEntityStorageService);
|
|
28
|
+
this.workflowManager = inject(AXPWorkflowManager);
|
|
29
|
+
this.workflowEngine = inject(AXP_WORKFLOW_ENGINE, { optional: true });
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region ---- Command Implementation ----
|
|
33
|
+
async execute(input) {
|
|
34
|
+
const options = (input?.__context__?.options ?? input);
|
|
35
|
+
const flowInput = options.input;
|
|
36
|
+
const workflowId = options.workflowId?.trim();
|
|
37
|
+
const employeeId = this.resolveFlowText(flowInput?.employeeId);
|
|
38
|
+
const eventTypeId = flowInput?.eventTypeId?.trim();
|
|
39
|
+
const employeeDisplayName = this.resolveFlowText(flowInput?.employeeDisplayName);
|
|
40
|
+
const eventTypeTitle = this.resolveFlowText(flowInput?.eventTypeTitle);
|
|
41
|
+
const assessmentCaseTitle = this.resolveFlowText(flowInput?.assessmentCaseTitle) ||
|
|
42
|
+
this.buildAssessmentCaseTitle(eventTypeTitle, employeeDisplayName);
|
|
43
|
+
if (!workflowId || !employeeId || !eventTypeId) {
|
|
44
|
+
return { success: false, message: { text: 'Missing workflow or employee context.' } };
|
|
45
|
+
}
|
|
46
|
+
try {
|
|
47
|
+
const openEvents = await this.findOpenLifecycleEvents(employeeId, eventTypeId);
|
|
48
|
+
const orphanInstanceIds = await this.findOrphanRunningWorkflowInstanceIds(employeeId, eventTypeId, openEvents);
|
|
49
|
+
if (openEvents.length > 0 || orphanInstanceIds.length > 0) {
|
|
50
|
+
const confirmed = await this.confirmReplace(eventTypeTitle);
|
|
51
|
+
if (!confirmed) {
|
|
52
|
+
return { success: false };
|
|
53
|
+
}
|
|
54
|
+
await this.closeOpenRuns(openEvents, orphanInstanceIds);
|
|
55
|
+
}
|
|
56
|
+
const startResult = await this.workflowManager.start(workflowId, {
|
|
57
|
+
employeeId,
|
|
58
|
+
employeeDisplayName,
|
|
59
|
+
eventTypeId: flowInput.eventTypeId,
|
|
60
|
+
eventTypeTitle,
|
|
61
|
+
assessmentCaseTitle,
|
|
62
|
+
questionnaireId: flowInput.questionnaireId,
|
|
63
|
+
targetEmployeeStatusId: flowInput.targetEmployeeStatusId,
|
|
64
|
+
...(flowInput.effectiveDate ? { effectiveDate: flowInput.effectiveDate } : {}),
|
|
65
|
+
refId: employeeId,
|
|
66
|
+
refType: `${RootConfig.module.name}.Employee`,
|
|
67
|
+
correlationId: this.buildCorrelationId(employeeId, eventTypeId),
|
|
68
|
+
});
|
|
69
|
+
if (!startResult.success) {
|
|
70
|
+
this.toastService.show({
|
|
71
|
+
color: 'danger',
|
|
72
|
+
title: 'Workflow Execution Failed',
|
|
73
|
+
content: startResult.error ?? 'Unknown error',
|
|
74
|
+
closeButton: true,
|
|
75
|
+
timeOut: 5000,
|
|
76
|
+
});
|
|
77
|
+
return { success: false, message: { text: startResult.error ?? 'Unknown error' } };
|
|
78
|
+
}
|
|
79
|
+
return { success: true };
|
|
80
|
+
}
|
|
81
|
+
catch (error) {
|
|
82
|
+
const message = error instanceof Error ? error.message : 'Unknown error';
|
|
83
|
+
console.error('[StartLifecycleEventFlowCommand]', error);
|
|
84
|
+
this.toastService.show({
|
|
85
|
+
color: 'danger',
|
|
86
|
+
title: 'Workflow Execution Error',
|
|
87
|
+
content: message,
|
|
88
|
+
closeButton: true,
|
|
89
|
+
timeOut: 5000,
|
|
90
|
+
});
|
|
91
|
+
return { success: false, message: { text: message } };
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
//#region ---- Open-run detection ----
|
|
96
|
+
async findOpenLifecycleEvents(employeeId, eventTypeId) {
|
|
97
|
+
const page = await this.entityService
|
|
98
|
+
.withEntity(RootConfig.module.name, RootConfig.entities.lifecycleEvent.name)
|
|
99
|
+
.data()
|
|
100
|
+
.query({
|
|
101
|
+
skip: 0,
|
|
102
|
+
take: 10,
|
|
103
|
+
filter: {
|
|
104
|
+
logic: 'and',
|
|
105
|
+
filters: [
|
|
106
|
+
{ field: 'employeeId', operator: { type: 'equal' }, value: employeeId },
|
|
107
|
+
{ field: 'eventTypeId', operator: { type: 'equal' }, value: eventTypeId },
|
|
108
|
+
{
|
|
109
|
+
field: 'statusId',
|
|
110
|
+
operator: { type: 'in' },
|
|
111
|
+
value: [...AXMLifecycleEventOpenStatusIds],
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
});
|
|
116
|
+
return (page.items ?? []);
|
|
117
|
+
}
|
|
118
|
+
async findOrphanRunningWorkflowInstanceIds(employeeId, eventTypeId, openEvents) {
|
|
119
|
+
const linkedInstanceIds = new Set(openEvents
|
|
120
|
+
.map((row) => getRecordWorkflowInstanceId(row))
|
|
121
|
+
.filter((id) => !!id));
|
|
122
|
+
try {
|
|
123
|
+
const page = await this.entityStorageService.query('WorkflowManagement.WorkflowInstance', {
|
|
124
|
+
skip: 0,
|
|
125
|
+
take: 50,
|
|
126
|
+
filter: {
|
|
127
|
+
logic: 'and',
|
|
128
|
+
filters: [
|
|
129
|
+
{
|
|
130
|
+
field: 'definitionId',
|
|
131
|
+
operator: { type: 'equal' },
|
|
132
|
+
value: EMPLOYEE_LIFECYCLE_EVENT_FLOW_WORKFLOW_NAME,
|
|
133
|
+
},
|
|
134
|
+
{ field: 'status', operator: { type: 'equal' }, value: 'Running' },
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
});
|
|
138
|
+
const items = (page.items ?? []);
|
|
139
|
+
return items
|
|
140
|
+
.filter((row) => {
|
|
141
|
+
const id = row.id?.trim();
|
|
142
|
+
if (!id || linkedInstanceIds.has(id)) {
|
|
143
|
+
return false;
|
|
144
|
+
}
|
|
145
|
+
const runInput = row.workflowInstance?.workflowState?.input ?? {};
|
|
146
|
+
return runInput['employeeId'] === employeeId && runInput['eventTypeId'] === eventTypeId;
|
|
147
|
+
})
|
|
148
|
+
.map((row) => row.id);
|
|
149
|
+
}
|
|
150
|
+
catch {
|
|
151
|
+
return [];
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region ---- Close and replace ----
|
|
156
|
+
async confirmReplace(eventTypeTitle) {
|
|
157
|
+
const title = await this.translationService.translateAsync('@human-capital-management:lifecycle-events.messages.replace-open.confirm.title');
|
|
158
|
+
const message = await this.translationService.translateAsync('@human-capital-management:lifecycle-events.messages.replace-open.confirm.message', {
|
|
159
|
+
params: {
|
|
160
|
+
eventTypeTitle: String(eventTypeTitle ?? '').trim() || '—',
|
|
161
|
+
},
|
|
162
|
+
});
|
|
163
|
+
const result = await this.dialogService.confirm(title, message, 'warning', 'horizontal', false, 'cancel');
|
|
164
|
+
return result.result === true;
|
|
165
|
+
}
|
|
166
|
+
async closeOpenRuns(openEvents, orphanInstanceIds) {
|
|
167
|
+
const data = this.entityService
|
|
168
|
+
.withEntity(RootConfig.module.name, RootConfig.entities.lifecycleEvent.name)
|
|
169
|
+
.data();
|
|
170
|
+
const supersedeNote = 'Closed to start a new lifecycle run.';
|
|
171
|
+
for (const event of openEvents) {
|
|
172
|
+
await data.update(event.id, {
|
|
173
|
+
statusId: AXPSystemStatusType.Cancelled,
|
|
174
|
+
notes: supersedeNote,
|
|
175
|
+
});
|
|
176
|
+
const instanceId = getRecordWorkflowInstanceId(event);
|
|
177
|
+
if (instanceId) {
|
|
178
|
+
await this.cancelWorkflowInstance(instanceId);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
for (const instanceId of orphanInstanceIds) {
|
|
182
|
+
await this.cancelWorkflowInstance(instanceId);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
async cancelWorkflowInstance(instanceId) {
|
|
186
|
+
const engine = this.workflowEngine;
|
|
187
|
+
if (engine?.cancelInstance) {
|
|
188
|
+
await engine.cancelInstance(instanceId, 'superseded');
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
const now = new Date().toISOString();
|
|
192
|
+
try {
|
|
193
|
+
await this.entityStorageService.updateOne('WorkflowManagement.WorkflowInstance', instanceId, {
|
|
194
|
+
status: 'Finished',
|
|
195
|
+
subStatus: 'Cancelled',
|
|
196
|
+
finishedAt: now,
|
|
197
|
+
updatedAt: now,
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
catch (error) {
|
|
201
|
+
console.warn('[StartLifecycleEventFlowCommand] Failed to cancel workflow instance:', instanceId, error);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
//#endregion
|
|
205
|
+
//#region ---- Helpers ----
|
|
206
|
+
/** Normalizes workflow start input that may be plain text, ML, or a failed expression (`false`). */
|
|
207
|
+
resolveFlowText(value) {
|
|
208
|
+
if (value == null || value === false) {
|
|
209
|
+
return '';
|
|
210
|
+
}
|
|
211
|
+
if (typeof value === 'string') {
|
|
212
|
+
return value.trim();
|
|
213
|
+
}
|
|
214
|
+
if (typeof value === 'number' || typeof value === 'boolean') {
|
|
215
|
+
return String(value).trim();
|
|
216
|
+
}
|
|
217
|
+
return resolveMultiLanguageString(value, this.translationService.getActiveLang()).trim();
|
|
218
|
+
}
|
|
219
|
+
buildAssessmentCaseTitle(eventTypeTitle, employeeDisplayName) {
|
|
220
|
+
if (eventTypeTitle && employeeDisplayName) {
|
|
221
|
+
return `${eventTypeTitle} — ${employeeDisplayName}`;
|
|
222
|
+
}
|
|
223
|
+
return eventTypeTitle || employeeDisplayName;
|
|
224
|
+
}
|
|
225
|
+
buildCorrelationId(employeeId, eventTypeId) {
|
|
226
|
+
return `${RootConfig.module.name}.Employee:${employeeId}:${eventTypeId}:${EMPLOYEE_LIFECYCLE_EVENT_FLOW_WORKFLOW_NAME}`;
|
|
227
|
+
}
|
|
228
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: StartLifecycleEventFlowCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
229
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: StartLifecycleEventFlowCommand, providedIn: 'root' }); }
|
|
230
|
+
}
|
|
231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: StartLifecycleEventFlowCommand, decorators: [{
|
|
232
|
+
type: Injectable,
|
|
233
|
+
args: [{ providedIn: 'root' }]
|
|
234
|
+
}] });
|
|
235
|
+
|
|
236
|
+
export { EMPLOYEE_LIFECYCLE_EVENT_FLOW_WORKFLOW_NAME, StartLifecycleEventFlowCommand };
|
|
237
|
+
//# sourceMappingURL=acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DPwuyFz2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DPwuyFz2.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/lifecycle-event/commands/start-lifecycle-event-flow.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXDialogService } from '@acorex/components/dialog';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService, resolveMultiLanguageString } from '@acorex/core/translation';\nimport { AXPSystemStatusType } from '@acorex/platform/common';\nimport { AXPExecuteCommandResult } from '@acorex/platform/core';\nimport {\n AXPEntityStorageService,\n AXPEntityService,\n getRecordWorkflowInstanceId,\n} from '@acorex/platform/layout/entity';\nimport { AXPCommand } from '@acorex/platform/runtime';\nimport {\n AXP_WORKFLOW_ENGINE,\n AXPWorkflowEngine,\n AXPWorkflowManager,\n} from '@acorex/platform/workflow';\nimport { inject, Injectable } from '@angular/core';\nimport { RootConfig } from '../../../const';\nimport { AXMLifecycleEventOpenStatusIds } from '../../../entities/lifecycle-event/lifecycle-event-status.constants';\n\n//#endregion\n\n//#region ---- Constants ----\n\n/** Workflow definition name for guided employee lifecycle flows (onboarding, separation, …). */\nexport const EMPLOYEE_LIFECYCLE_EVENT_FLOW_WORKFLOW_NAME = 'employee-lifecycle-event-flow';\n\n//#endregion\n\n//#region ---- Types ----\n\nexport interface StartLifecycleEventFlowInput {\n __context__?: {\n options?: StartLifecycleEventFlowOptions;\n };\n workflowId?: string;\n employeeId?: string;\n employeeDisplayName?: string;\n eventTypeId?: string;\n eventTypeTitle?: string;\n questionnaireId?: string;\n targetEmployeeStatusId?: string;\n effectiveDate?: string;\n}\n\nexport interface StartLifecycleEventFlowOptions {\n workflowId: string;\n input: {\n employeeId: string;\n employeeDisplayName: string;\n eventTypeId: string;\n eventTypeTitle: string;\n questionnaireId: string;\n targetEmployeeStatusId: string;\n effectiveDate?: string;\n /** Precomposed case/popup title; computed by StartFlow when omitted. */\n assessmentCaseTitle?: string;\n };\n}\n\ninterface OpenLifecycleEventRow {\n id: string;\n workflowInfo?: { instanceId?: string | null; correlationId?: string | null };\n eventType?: { title?: unknown };\n}\n\n//#endregion\n\n/**\n * Starts the guided lifecycle workflow after ensuring at most one in-progress event per employee and event type.\n */\n@Injectable({ providedIn: 'root' })\nexport class StartLifecycleEventFlowCommand implements AXPCommand<StartLifecycleEventFlowInput, void> {\n //#region ---- Services & Dependencies ----\n\n private readonly dialogService = inject(AXDialogService);\n private readonly translationService = inject(AXTranslationService);\n private readonly toastService = inject(AXToastService);\n private readonly entityService = inject(AXPEntityService);\n private readonly entityStorageService = inject(AXPEntityStorageService);\n private readonly workflowManager = inject(AXPWorkflowManager);\n private readonly workflowEngine = inject(AXP_WORKFLOW_ENGINE, { optional: true });\n\n //#endregion\n\n //#region ---- Command Implementation ----\n\n async execute(input: StartLifecycleEventFlowInput): Promise<AXPExecuteCommandResult<void>> {\n const options = (input?.__context__?.options ?? input) as StartLifecycleEventFlowOptions;\n const flowInput = options.input;\n const workflowId = options.workflowId?.trim();\n const employeeId = this.resolveFlowText(flowInput?.employeeId);\n const eventTypeId = flowInput?.eventTypeId?.trim();\n const employeeDisplayName = this.resolveFlowText(flowInput?.employeeDisplayName);\n const eventTypeTitle = this.resolveFlowText(flowInput?.eventTypeTitle);\n const assessmentCaseTitle =\n this.resolveFlowText(flowInput?.assessmentCaseTitle) ||\n this.buildAssessmentCaseTitle(eventTypeTitle, employeeDisplayName);\n\n if (!workflowId || !employeeId || !eventTypeId) {\n return { success: false, message: { text: 'Missing workflow or employee context.' } };\n }\n\n try {\n const openEvents = await this.findOpenLifecycleEvents(employeeId, eventTypeId);\n const orphanInstanceIds = await this.findOrphanRunningWorkflowInstanceIds(\n employeeId,\n eventTypeId,\n openEvents,\n );\n\n if (openEvents.length > 0 || orphanInstanceIds.length > 0) {\n const confirmed = await this.confirmReplace(eventTypeTitle);\n if (!confirmed) {\n return { success: false };\n }\n await this.closeOpenRuns(openEvents, orphanInstanceIds);\n }\n\n const startResult = await this.workflowManager.start(workflowId, {\n employeeId,\n employeeDisplayName,\n eventTypeId: flowInput.eventTypeId,\n eventTypeTitle,\n assessmentCaseTitle,\n questionnaireId: flowInput.questionnaireId,\n targetEmployeeStatusId: flowInput.targetEmployeeStatusId,\n ...(flowInput.effectiveDate ? { effectiveDate: flowInput.effectiveDate } : {}),\n refId: employeeId,\n refType: `${RootConfig.module.name}.Employee`,\n correlationId: this.buildCorrelationId(employeeId, eventTypeId),\n });\n\n if (!startResult.success) {\n this.toastService.show({\n color: 'danger',\n title: 'Workflow Execution Failed',\n content: startResult.error ?? 'Unknown error',\n closeButton: true,\n timeOut: 5000,\n });\n return { success: false, message: { text: startResult.error ?? 'Unknown error' } };\n }\n\n return { success: true };\n } catch (error: unknown) {\n const message = error instanceof Error ? error.message : 'Unknown error';\n console.error('[StartLifecycleEventFlowCommand]', error);\n this.toastService.show({\n color: 'danger',\n title: 'Workflow Execution Error',\n content: message,\n closeButton: true,\n timeOut: 5000,\n });\n return { success: false, message: { text: message } };\n }\n }\n\n //#endregion\n\n //#region ---- Open-run detection ----\n\n private async findOpenLifecycleEvents(\n employeeId: string,\n eventTypeId: string,\n ): Promise<OpenLifecycleEventRow[]> {\n const page = await this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.lifecycleEvent.name)\n .data()\n .query({\n skip: 0,\n take: 10,\n filter: {\n logic: 'and',\n filters: [\n { field: 'employeeId', operator: { type: 'equal' }, value: employeeId },\n { field: 'eventTypeId', operator: { type: 'equal' }, value: eventTypeId },\n {\n field: 'statusId',\n operator: { type: 'in' },\n value: [...AXMLifecycleEventOpenStatusIds],\n },\n ],\n },\n });\n\n return (page.items ?? []) as OpenLifecycleEventRow[];\n }\n\n private async findOrphanRunningWorkflowInstanceIds(\n employeeId: string,\n eventTypeId: string,\n openEvents: OpenLifecycleEventRow[],\n ): Promise<string[]> {\n const linkedInstanceIds = new Set(\n openEvents\n .map((row) => getRecordWorkflowInstanceId(row))\n .filter((id): id is string => !!id),\n );\n\n try {\n const page = await this.entityStorageService.query('WorkflowManagement.WorkflowInstance', {\n skip: 0,\n take: 50,\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'definitionId',\n operator: { type: 'equal' },\n value: EMPLOYEE_LIFECYCLE_EVENT_FLOW_WORKFLOW_NAME,\n },\n { field: 'status', operator: { type: 'equal' }, value: 'Running' },\n ],\n },\n });\n\n const items = (page.items ?? []) as Array<{\n id?: string;\n workflowInstance?: { workflowState?: { input?: Record<string, unknown> } };\n }>;\n\n return items\n .filter((row) => {\n const id = row.id?.trim();\n if (!id || linkedInstanceIds.has(id)) {\n return false;\n }\n const runInput = row.workflowInstance?.workflowState?.input ?? {};\n return runInput['employeeId'] === employeeId && runInput['eventTypeId'] === eventTypeId;\n })\n .map((row) => row.id as string);\n } catch {\n return [];\n }\n }\n\n //#endregion\n\n //#region ---- Close and replace ----\n\n private async confirmReplace(eventTypeTitle: string | undefined): Promise<boolean> {\n const title = await this.translationService.translateAsync(\n '@human-capital-management:lifecycle-events.messages.replace-open.confirm.title',\n );\n const message = await this.translationService.translateAsync(\n '@human-capital-management:lifecycle-events.messages.replace-open.confirm.message',\n {\n params: {\n eventTypeTitle: String(eventTypeTitle ?? '').trim() || '—',\n },\n },\n );\n const result = await this.dialogService.confirm(title, message, 'warning', 'horizontal', false, 'cancel');\n return result.result === true;\n }\n\n private async closeOpenRuns(\n openEvents: OpenLifecycleEventRow[],\n orphanInstanceIds: string[],\n ): Promise<void> {\n const data = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.lifecycleEvent.name)\n .data();\n\n const supersedeNote = 'Closed to start a new lifecycle run.';\n\n for (const event of openEvents) {\n await data.update(event.id, {\n statusId: AXPSystemStatusType.Cancelled,\n notes: supersedeNote,\n } as never);\n\n const instanceId = getRecordWorkflowInstanceId(event);\n if (instanceId) {\n await this.cancelWorkflowInstance(instanceId);\n }\n }\n\n for (const instanceId of orphanInstanceIds) {\n await this.cancelWorkflowInstance(instanceId);\n }\n }\n\n private async cancelWorkflowInstance(instanceId: string): Promise<void> {\n const engine = this.workflowEngine as AXPWorkflowEngine | null;\n if (engine?.cancelInstance) {\n await engine.cancelInstance(instanceId, 'superseded');\n return;\n }\n\n const now = new Date().toISOString();\n try {\n await this.entityStorageService.updateOne('WorkflowManagement.WorkflowInstance', instanceId, {\n status: 'Finished',\n subStatus: 'Cancelled',\n finishedAt: now,\n updatedAt: now,\n });\n } catch (error: unknown) {\n console.warn('[StartLifecycleEventFlowCommand] Failed to cancel workflow instance:', instanceId, error);\n }\n }\n\n //#endregion\n\n //#region ---- Helpers ----\n\n /** Normalizes workflow start input that may be plain text, ML, or a failed expression (`false`). */\n private resolveFlowText(value: unknown): string {\n if (value == null || value === false) {\n return '';\n }\n if (typeof value === 'string') {\n return value.trim();\n }\n if (typeof value === 'number' || typeof value === 'boolean') {\n return String(value).trim();\n }\n return resolveMultiLanguageString(value as never, this.translationService.getActiveLang()).trim();\n }\n\n private buildAssessmentCaseTitle(eventTypeTitle: string, employeeDisplayName: string): string {\n if (eventTypeTitle && employeeDisplayName) {\n return `${eventTypeTitle} — ${employeeDisplayName}`;\n }\n return eventTypeTitle || employeeDisplayName;\n }\n\n private buildCorrelationId(employeeId: string, eventTypeId: string): string {\n return `${RootConfig.module.name}.Employee:${employeeId}:${eventTypeId}:${EMPLOYEE_LIFECYCLE_EVENT_FLOW_WORKFLOW_NAME}`;\n }\n\n //#endregion\n}\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AAsBA;AAEA;AAEA;AACO,MAAM,2CAA2C,GAAG;AAyC3D;AAEA;;AAEG;MAEU,8BAA8B,CAAA;AAD3C,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AACvC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACjD,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cA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EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { d as AXMHumanCapitalManagementModule, e as AXMLeaveRequestBadgeProvider, f as AXMLeaveRequestResourceAppointmentProvider, g as AXMLeaveRequestTaskPopoverComponent, c as AXMLifecycleEventOpenStatusIds, h as AXMPermissionsKeys, a as AXM_POSITION_ASSIGNMENT_OVERLAPPING_STATUS_IDS, b as AXPHumanCapitalManagementCommandKeys, i as AXPHumanCapitalManagementFeatureDefinitionProvider, j as AXPHumanCapitalManagementFeatureKeys, k as AXPHumanCapitalManagementMenuKeys, l as AXPLeaveRequestDialogService, H as HumanCapitalManagementManifest, R as RootConfig } from './acorex-modules-human-capital-management-acorex-modules-human-capital-management-BWezAea1.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-modules-human-capital-management.mjs.map
|
|
@@ -144,21 +144,6 @@ async function factory(injector) {
|
|
|
144
144
|
},
|
|
145
145
|
validations: [{ rule: 'required' }],
|
|
146
146
|
},
|
|
147
|
-
{
|
|
148
|
-
name: 'workflowInstanceId',
|
|
149
|
-
title: '@learning-management:enrollments.entities.enrollment.fields.workflow-instance-id.title',
|
|
150
|
-
groupId: 'workflow',
|
|
151
|
-
schema: {
|
|
152
|
-
dataType: 'string',
|
|
153
|
-
interface: {
|
|
154
|
-
type: AXPWidgetsList.Editors.LookupBox,
|
|
155
|
-
options: {
|
|
156
|
-
entity: 'WorkflowManagement.WorkflowInstance',
|
|
157
|
-
look: 'popup',
|
|
158
|
-
},
|
|
159
|
-
},
|
|
160
|
-
},
|
|
161
|
-
},
|
|
162
147
|
{
|
|
163
148
|
name: 'notes',
|
|
164
149
|
title: '@learning-management:enrollments.entities.enrollment.fields.notes.title',
|
|
@@ -191,8 +176,7 @@ async function factory(injector) {
|
|
|
191
176
|
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
192
177
|
{ name: 'trainingId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
193
178
|
{ name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },
|
|
194
|
-
{ name: '
|
|
195
|
-
{ name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
179
|
+
{ name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
196
180
|
],
|
|
197
181
|
},
|
|
198
182
|
update: {
|
|
@@ -204,8 +188,7 @@ async function factory(injector) {
|
|
|
204
188
|
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
205
189
|
{ name: 'trainingId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
206
190
|
{ name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },
|
|
207
|
-
{ name: '
|
|
208
|
-
{ name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
191
|
+
{ name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
209
192
|
],
|
|
210
193
|
},
|
|
211
194
|
single: {
|
|
@@ -218,8 +201,7 @@ async function factory(injector) {
|
|
|
218
201
|
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
219
202
|
{ name: 'trainingId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
220
203
|
{ name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },
|
|
221
|
-
{ name: '
|
|
222
|
-
{ name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
204
|
+
{ name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
223
205
|
],
|
|
224
206
|
actions: [...entityMasterRecordActions()],
|
|
225
207
|
},
|
|
@@ -235,4 +217,4 @@ async function factory(injector) {
|
|
|
235
217
|
//#endregion
|
|
236
218
|
|
|
237
219
|
export { factory };
|
|
238
|
-
//# sourceMappingURL=acorex-modules-learning-management-enrollment.entity-
|
|
220
|
+
//# sourceMappingURL=acorex-modules-learning-management-enrollment.entity-CdJafrUh.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-learning-management-enrollment.entity-CdJafrUh.mjs","sources":["../../../../libs/modules/learning-management/src/lib/entities/enrollment/enrollment.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex/modules/common';\nimport { AXPEntity, createAllQueryView } from '@acorex/platform/common';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.enrollment.name,\n title: RootConfig.entities.enrollment.title,\n icon: RootConfig.entities.enrollment.icon,\n plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }, { name: 'attachments' }],\n formats: {\n individual: RootConfig.entities.enrollment.title,\n plural: RootConfig.entities.enrollment.titlePlural,\n searchResult: {\n title: '{{ employee.displayName }}',\n description: '{{ training.title }} - {{ status }}',\n },\n },\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.attendance.name}`,\n title: RootConfig.entities.attendance.titlePlural,\n columns: ['sessionDate', 'status'],\n conditions: [\n {\n name: 'enrollmentId',\n operator: { type: 'equal' },\n value: '{{ id }}',\n },\n ],\n },\n ],\n groups: [\n { id: 'basic-info', title: '@learning-management:enrollments.entities.enrollment.groups.basic-info' },\n { id: 'workflow', title: '@learning-management:enrollments.entities.enrollment.groups.workflow' },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'employeeId',\n title: '@learning-management:enrollments.entities.enrollment.fields.employee-id.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'HumanCapitalManagement.Employee',\n expose: [\n { source: 'id', target: 'employee.id' },\n { source: 'person.fullName', target: 'employee.displayName' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'trainingId',\n title: '@learning-management:enrollments.entities.enrollment.fields.training-id.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.training.name}`,\n expose: [\n { source: 'id', target: 'training.id' },\n { source: 'course.title', target: 'training.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'status',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n defaultValue: 'Requested',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n dataSource: [\n {\n id: 'Requested',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.requested',\n },\n {\n id: 'Approved',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.approved',\n },\n {\n id: 'Enrolled',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.enrolled',\n },\n {\n id: 'Completed',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.completed',\n },\n {\n id: 'Failed',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.failed',\n },\n {\n id: 'Cancelled',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.cancelled',\n },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'notes',\n title: '@learning-management:enrollments.entities.enrollment.fields.notes.title',\n groupId: 'workflow',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@learning-management:enrollments.entities.enrollment.fields.notes.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'employeeId', options: { dataPath: 'employee.displayName' } },\n { name: 'trainingId', options: { dataPath: 'training.title' } },\n { name: 'status' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'workflow', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'trainingId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'workflow', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'trainingId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n },\n single: {\n title: '{{ employee.displayName }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'workflow', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'trainingId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\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\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAQA;AAEA;AAEO,eAAe,OAAO,CAAC,QAAkB,EAAA;AAC9C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI;AACzC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK;AAC3C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI;QACzC,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;AAC9F,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK;AAChD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW;AAClD,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,4BAA4B;AACnC,gBAAA,WAAW,EAAE,qCAAqC;AACnD,aAAA;AACF,SAAA;AACD,QAAA,eAAe,EAAE;AACf,YAAA;AACE,gBAAA,MAAM,EAAE,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAA,CAAE;AAC1E,gBAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW;AACjD,gBAAA,OAA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AAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC5E,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;AAEA;;;;"}
|
|
@@ -155,7 +155,7 @@ class AXMLearningManagementEntityProvider {
|
|
|
155
155
|
case RootConfig.entities.training.name:
|
|
156
156
|
return (await import('./acorex-modules-learning-management-training.entity-C4KDv1uh.mjs')).factory(this.injector);
|
|
157
157
|
case RootConfig.entities.enrollment.name:
|
|
158
|
-
return (await import('./acorex-modules-learning-management-enrollment.entity-
|
|
158
|
+
return (await import('./acorex-modules-learning-management-enrollment.entity-CdJafrUh.mjs')).factory(this.injector);
|
|
159
159
|
case RootConfig.entities.attendance.name:
|
|
160
160
|
return (await import('./acorex-modules-learning-management-attendance.entity-BXm8I4nQ.mjs')).factory(this.injector);
|
|
161
161
|
case RootConfig.entities.certificateType.name:
|