@acorex/modules 21.0.0-next.57 → 21.0.0-next.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assessment-management/README.md +4 -4
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-DcPnI9fZ.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-DlhSQ0cB.mjs} +3657 -422
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-DlhSQ0cB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-D880d_qz.mjs → acorex-modules-assessment-management-assessment-case.entity-B6C2PRZw.mjs} +93 -82
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-B6C2PRZw.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-BRdwcIvw.mjs +47 -0
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-BRdwcIvw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-DvbocIN1.mjs → acorex-modules-assessment-management-assessment-session.entity-DquzZNaQ.mjs} +22 -42
- package/fesm2022/acorex-modules-assessment-management-assessment-session.entity-DquzZNaQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-BMJ54EPO.mjs → acorex-modules-assessment-management-fill-assessment-session.command-CRE8SxzC.mjs} +32 -7
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-CRE8SxzC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-CO8NfjEb.mjs → acorex-modules-assessment-management-preview-question.command-Ce7yOnJY.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-Ce7yOnJY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-DSzbtU0e.mjs → acorex-modules-assessment-management-preview-questionnaire.command-S-8MDeB7.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-DSzbtU0e.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-S-8MDeB7.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-wdHMGBxi.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-wdHMGBxi.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-DBfQhSKR.mjs → acorex-modules-assessment-management-question-bank-item.entity-1Pm9O0kv.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-DBfQhSKR.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-1Pm9O0kv.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-Dwx0y7WY.mjs} +36 -65
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-Dwx0y7WY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CrryBMC2.mjs → acorex-modules-assessment-management-questionnaire.entity-BI_jc4C6.mjs} +12 -36
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-BI_jc4C6.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-view-case-last-session-answers.command-Ds-QGMPy.mjs +157 -0
- package/fesm2022/acorex-modules-assessment-management-view-case-last-session-answers.command-Ds-QGMPy.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-COTVoRRG.mjs +172 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-COTVoRRG.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-outcomes.command-2buH7ydV.mjs +239 -0
- package/fesm2022/acorex-modules-assessment-management-view-session-outcomes.command-2buH7ydV.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 +8 -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 +387 -278
- package/types/acorex-modules-common.d.ts +2 -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-index-XdJCIYG3.mjs +0 -1509
- package/fesm2022/acorex-modules-assessment-management-index-XdJCIYG3.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-CO8NfjEb.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DbvxAUgb.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-calculation.entity-CL9s20qR.mjs +0 -236
- package/fesm2022/acorex-modules-assessment-management-questionnaire-calculation.entity-CL9s20qR.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-questionnaire.entity-CrryBMC2.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-save-questionnaire-questions.command-Dq5VComh.mjs +0 -61
- package/fesm2022/acorex-modules-assessment-management-save-questionnaire-questions.command-Dq5VComh.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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-acorex-modules-human-capital-management-XhV2JQXs.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/shared/position-assignment-status.provider.ts","../../../../libs/modules/human-capital-management/src/lib/const.ts","../../../../libs/modules/human-capital-management/src/lib/entities/employee-lifecycle-process/employee-lifecycle-process.types.ts","../../../../libs/modules/human-capital-management/src/lib/entities/lifecycle-process-type/lifecycle-process-type.types.ts","../../../../libs/modules/human-capital-management/src/lib/entities/index.ts","../../../../libs/modules/human-capital-management/src/lib/features/leave-request/badge.provider.ts","../../../../libs/modules/human-capital-management/src/lib/features/leave-request/leave-request-resource-appointment.provider.ts","../../../../libs/modules/human-capital-management/src/lib/features/leave-request/services/leave-request-dialog.service.ts","../../../../libs/modules/human-capital-management/src/lib/features/leave-request/workflow-tasks/leave-request-task-popover.component.ts","../../../../libs/modules/human-capital-management/src/lib/features.keys.ts","../../../../libs/modules/human-capital-management/src/lib/feature-definition.provider.ts","../../../../libs/modules/human-capital-management/src/lib/commands.keys.ts","../../../../libs/modules/human-capital-management/src/lib/entity.provider.ts","../../../../libs/modules/human-capital-management/src/lib/features/employee-lifecycle-process/employee-lifecycle-process-status.provider.ts","../../../../libs/modules/human-capital-management/src/lib/features/employee-lifecycle-process/employee-lifecycle-process.module.ts","../../../../libs/modules/human-capital-management/src/lib/features/leave-request/leave-request-status.provider.ts","../../../../libs/modules/human-capital-management/src/lib/features/leave-request/leave-request.module.ts","../../../../libs/modules/human-capital-management/src/lib/features/shared/identifiers/employee-code-identifier-rule.provider.ts","../../../../libs/modules/human-capital-management/src/lib/features/shared/employee-status.provider.ts","../../../../libs/modules/human-capital-management/src/lib/manifest.ts","../../../../libs/modules/human-capital-management/src/lib/menu.keys.ts","../../../../libs/modules/human-capital-management/src/lib/permission.keys.ts","../../../../libs/modules/human-capital-management/src/lib/menu.provider.ts","../../../../libs/modules/human-capital-management/src/lib/features/shared/datasources/employee.datasource.ts","../../../../libs/modules/human-capital-management/src/lib/features/shared/datasources/employment-type.datasource.ts","../../../../libs/modules/human-capital-management/src/lib/features/organization-chart/hcm-org-chart-node-contribution.provider.ts","../../../../libs/modules/human-capital-management/src/lib/features/shared/employee-lifecycle-process-expression-evaluator-scope.provider.ts","../../../../libs/modules/human-capital-management/src/lib/permission-definition.provider.ts","../../../../libs/modules/human-capital-management/src/lib/human-capital-management.module.ts","../../../../libs/modules/human-capital-management/src/acorex-modules-human-capital-management.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPStatusDefinition,\n AXPStatusProvider,\n AXPStatusTransition,\n AXPSystemStatusType,\n systemStatusToDefinition,\n} from '@acorex/platform/common';\n\n//#endregion\n\n//#region ---- Position Assignment Status Names ----\n\nexport const AXM_POSITION_ASSIGNMENT_STATUS = {\n active: AXPSystemStatusType.Active,\n scheduled: 'scheduled',\n expired: 'expired',\n revoked: 'revoked',\n} as const;\n\nexport type AXMPositionAssignmentStatusId =\n (typeof AXM_POSITION_ASSIGNMENT_STATUS)[keyof typeof AXM_POSITION_ASSIGNMENT_STATUS];\n\n/**\n * Statuses that still occupy the employee / manager seat for overlap and revoke resolution.\n * Keep in sync with position-assignment duplicate-seat validation (mock and future API rules).\n */\nexport const AXM_POSITION_ASSIGNMENT_OVERLAPPING_STATUS_IDS: readonly AXMPositionAssignmentStatusId[] = [\n AXM_POSITION_ASSIGNMENT_STATUS.active,\n AXM_POSITION_ASSIGNMENT_STATUS.scheduled,\n];\n\n//#endregion\n\n//#region ---- Position Assignment Status Provider ----\n\n/**\n * Position assignment lifecycle statuses used by status plugin badges and filters.\n */\nexport class AXMPositionAssignmentStatusProvider extends AXPStatusProvider {\n readonly key = 'human-capital-management.status.position-assignment';\n\n readonly defaultStatus = AXM_POSITION_ASSIGNMENT_STATUS.active;\n\n readonly statuses: AXPStatusDefinition[] = [\n systemStatusToDefinition(AXM_POSITION_ASSIGNMENT_STATUS.active, {\n title: '@human-capital-management:position-assignments.states.active',\n generateView: true,\n }),\n {\n name: AXM_POSITION_ASSIGNMENT_STATUS.scheduled,\n title: '@human-capital-management:position-assignments.states.scheduled',\n icon: 'fa-light fa-calendar-clock',\n color: 'info',\n order: 2,\n isInitial: false,\n isFinal: false,\n generateView: true,\n },\n {\n name: AXM_POSITION_ASSIGNMENT_STATUS.expired,\n title: '@human-capital-management:position-assignments.states.expired',\n icon: 'fa-light fa-clock-rotate-left',\n color: 'warning',\n order: 3,\n isInitial: false,\n isFinal: true,\n generateView: true,\n },\n {\n name: AXM_POSITION_ASSIGNMENT_STATUS.revoked,\n title: '@human-capital-management:position-assignments.states.revoked',\n icon: 'fa-light fa-user-slash',\n color: 'danger',\n order: 4,\n isInitial: false,\n isFinal: true,\n generateView: true,\n },\n ];\n\n readonly transitions: AXPStatusTransition[] = [];\n}\n\n//#endregion\n","const config = {\n i18n: 'human-capital-management',\n module: 'HumanCapitalManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'human-capital-management',\n name: config.module,\n title: '@human-capital-management:module.title',\n icon: 'fa-light fa-users',\n },\n entities: {\n employee: {\n name: 'Employee',\n source: `${config.module}.Employee`,\n title: '@human-capital-management:employees.entities.employee.title',\n titlePlural: '@human-capital-management:employees.entities.employee.plural',\n icon: 'fa-light fa-address-card',\n },\n employmentType: {\n name: 'EmploymentType',\n source: `${config.module}.EmploymentType`,\n title: '@human-capital-management:employment-types.entities.employment-type.title',\n titlePlural: '@human-capital-management:employment-types.entities.employment-type.plural',\n icon: 'fa-light fa-file-signature',\n },\n positionAssignment: {\n name: 'PositionAssignment',\n source: `${config.module}.PositionAssignment`,\n title: '@human-capital-management:position-assignments.entities.position-assignment.title',\n titlePlural: '@human-capital-management:position-assignments.entities.position-assignment.plural',\n icon: 'fa-light fa-user-tie-hair',\n },\n leaveType: {\n name: 'LeaveType',\n source: `${config.module}.LeaveType`,\n title: '@human-capital-management:leave-types.entities.leave-type.title',\n titlePlural: '@human-capital-management:leave-types.entities.leave-type.plural',\n icon: 'fa-light fa-calendar-days',\n },\n leaveRequest: {\n name: 'LeaveRequest',\n source: `${config.module}.LeaveRequest`,\n title: '@human-capital-management:leave-requests.entities.leave-request.title',\n titlePlural: '@human-capital-management:leave-requests.entities.leave-request.plural',\n icon: 'fa-light fa-plane-departure',\n },\n lifecycleProcessType: {\n name: 'LifecycleProcessType',\n source: `${config.module}.LifecycleProcessType`,\n title: '@human-capital-management:lifecycle-process-types.entities.lifecycle-process-type.title',\n titlePlural: '@human-capital-management:lifecycle-process-types.entities.lifecycle-process-type.plural',\n icon: 'fa-light fa-diagram-next',\n },\n employeeLifecycleProcess: {\n name: 'EmployeeLifecycleProcess',\n source: `${config.module}.EmployeeLifecycleProcess`,\n title: '@human-capital-management:employee-lifecycle-processes.entities.employee-lifecycle-process.title',\n titlePlural: '@human-capital-management:employee-lifecycle-processes.entities.employee-lifecycle-process.plural',\n icon: 'fa-light fa-clipboard-list-check',\n },\n },\n pages: {\n appointmentBoard: {\n path: 'Boards/ResourceAppointment',\n title: '@human-capital-management:leave-requests.menus.appointment-board.title',\n icon: 'fa-light fa-calendar-lines',\n },\n },\n};\n","//#region ---- Imports ----\n\nimport type { AXPMultiLanguageString } from '@acorex/platform/core';\nimport { AXPSystemStatusType } from '@acorex/platform/common';\nimport { AXPEntityModel } from '@acorex/platform/layout/entity';\nimport { AXMHumanCapitalManagementEmployeeEntityModel } from '../employee/employee.types';\n\n//#endregion\n\n//#region ---- Employee lifecycle process ----\n\nexport type AXMHumanCapitalManagementEmployeeLifecycleProcessStatus =\n | AXPSystemStatusType.Draft\n | AXPSystemStatusType.InProgress\n | AXPSystemStatusType.Completed\n | AXPSystemStatusType.Cancelled;\n\n/**\n * One employee lifecycle run (onboarding, separation, …), driven by {@link AXMHumanCapitalManagementLifecycleProcessTypeEntityModel}.\n */\nexport interface AXMHumanCapitalManagementEmployeeLifecycleProcessEntityModel extends AXPEntityModel<string> {\n employeeId: string;\n employee?: AXMHumanCapitalManagementEmployeeEntityModel;\n lifecycleProcessTypeId: string;\n lifecycleProcessType?: { id: string; name?: string; title: AXPMultiLanguageString };\n /**\n * Platform user currently assigned the active workflow step (human task / cartable assignee).\n * Populate from workflow engine or middleware when tasks are created or claimed.\n */\n processAssigneeUserId?: string | null;\n processAssigneeUser?: { id: string; displayName?: string };\n /**\n * When set by integration/workflow tooling, pins this run to a workflow definition version.\n * Omitted in HR UI: leave unset so the engine uses the current default for the workflow on the type.\n */\n pinnedWorkflowDefinitionVersion?: number | null;\n effectiveDate?: Date;\n notes?: string;\n statusId?: AXMHumanCapitalManagementEmployeeLifecycleProcessStatus;\n status?: { id: AXMHumanCapitalManagementEmployeeLifecycleProcessStatus; title?: string };\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport type { AXMMetaDataBuilderValue } from '@acorex/modules/data-management';\nimport type { AXPMultiLanguageString } from '@acorex/platform/core';\nimport { AXPEntityModel } from '@acorex/platform/layout/entity';\n\n//#endregion\n\n//#region ---- Lifecycle process type (reference) ----\n\n/**\n * Defines workflow defaults, questionnaire, and metadata schema for employee lifecycle runs (onboarding, separation, etc.).\n */\nexport interface AXMHumanCapitalManagementLifecycleProcessTypeEntityModel extends AXPEntityModel<string> {\n /** Stable programmatic key (e.g. ONBOARDING_DEFAULT); follows technical name rules. */\n name: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n /** Workflow definition entity id when starting a run; selected via lookup. */\n workflowDefinitionId?: string | null;\n workflowDefinition?: { id: string; title?: AXPMultiLanguageString } | null;\n questionnaireId?: string | null;\n questionnaire?: { id: string; title: AXPMultiLanguageString } | null;\n /** Font Awesome icon classes (e.g. `fa-light fa-user-plus`). */\n icon?: string;\n /** Meta-data-builder schema (`metaDataList`); drives dynamic fields on employment process instances for this template. */\n metaDataList?: AXMMetaDataBuilderValue;\n}\n\n//#endregion\n","// Entity exports - services and modules removed, handled by middleware\n// Exporting entity types for use in feature components\n\nexport * from './employee/employee.types';\nexport * from './employee-lifecycle-process/employee-lifecycle-process.types';\nexport * from './employment-type/employment-type.types';\nexport * from './leave-request/leave-request.types';\nexport * from './leave-type/leave-type.types';\nexport * from './lifecycle-process-type/lifecycle-process-type.types';\nexport * from './position-assignment/position-assignment.types';\n","//#region ---- Imports ----\n\nimport { AXDataSourceFilterOption } from '@acorex/cdk/common';\nimport { AXPSystemStatuses } from '@acorex/platform/common';\nimport { AXPTaskBadgeProvider } from '@acorex/platform/layout/components';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { AXPCommandEventsService, AXPCommandExecutionEvent } from '@acorex/platform/runtime';\nimport { DestroyRef, inject, Injectable, signal } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMHumanCapitalManagementLeaveRequestEntityModel } from '../../entities/leave-request/leave-request.types';\n\n//#endregion\n\n//#region ---- Task Badge Provider ----\n\n@Injectable()\nexport class AXMLeaveRequestBadgeProvider extends AXPTaskBadgeProvider {\n //#region ---- Services & Dependencies ----\n\n private readonly entityService = inject(AXPEntityService);\n private readonly leaveRequestData = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.leaveRequest.name)\n .data<string, AXMHumanCapitalManagementLeaveRequestEntityModel>();\n private readonly commandEvents = inject(AXPCommandEventsService);\n private readonly destroyRef = inject(DestroyRef);\n\n //#endregion\n\n //#region ---- Signals & Properties ----\n\n key = 'leave-request-badge';\n count = signal(0);\n\n //#endregion\n\n constructor() {\n super();\n\n void this.refresh();\n\n const unsubscribe = this.commandEvents.listen((event) => this.handleCommandEvent(event));\n\n this.destroyRef.onDestroy(unsubscribe);\n }\n\n //#region ---- Badge Actions ----\n\n /**\n * Forces badge count recalculation by querying the leave request entity service.\n */\n async refresh(): Promise<void> {\n const baseFilters: AXDataSourceFilterOption[] = [\n {\n field: 'statusId',\n operator: { type: 'equal' as const },\n value: AXPSystemStatuses.Pending.name,\n },\n ];\n\n const result = await this.leaveRequestData.query({\n skip: 0,\n take: 99,\n filter: {\n logic: 'and',\n filters: baseFilters,\n },\n });\n\n this.count.set(result.total);\n }\n\n /**\n * Handles command execution events and refreshes the badge when targeted leave request commands succeed.\n */\n private async handleCommandEvent(event?: AXPCommandExecutionEvent): Promise<void> {\n if (!event || event.stage !== 'after' || !event.success) {\n return;\n }\n\n await this.refresh();\n }\n\n //#endregion\n}\n\n//#endregion\n","import { AXDataSourceFilterOption } from '@acorex/cdk/common';\nimport { AXPSystemStatuses } from '@acorex/platform/common';\nimport { AXPExecuteCommand, AXPExecuteCommandResult } from '@acorex/platform/core';\nimport {\n AXPResourceAppointmentActionMenuItem,\n AXPResourceAppointmentBoardFilter,\n AXPResourceAppointmentBoardProvider,\n AXPResourceAppointmentItem,\n AXPResourceAppointmentResource,\n AXPResourceAppointmentStatus,\n} from '@acorex/platform/layout/components';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { inject } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMHumanCapitalManagementEmployeeEntityModel } from '../../entities';\nimport { AXMHumanCapitalManagementLeaveRequestEntityModel } from '../../entities/leave-request/leave-request.types';\n\nexport class AXMLeaveRequestResourceAppointmentProvider extends AXPResourceAppointmentBoardProvider<AXMHumanCapitalManagementLeaveRequestEntityModel> {\n private readonly entityService = inject(AXPEntityService);\n\n override get name(): string {\n return 'leave-request';\n }\n\n override get title(): string {\n return '@human-capital-management:leave-requests.entities.leave-request.plural';\n }\n\n override get icon(): string {\n return RootConfig.entities.leaveRequest.icon;\n }\n\n override async getList(filter?: AXPResourceAppointmentBoardFilter): Promise<AXPResourceAppointmentResource[]> {\n const leaveRequestDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.leaveRequest.name)\n .data<string, AXMHumanCapitalManagementLeaveRequestEntityModel>();\n\n const employeeDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.employee.name)\n .data<string, AXMHumanCapitalManagementEmployeeEntityModel>();\n\n const fieldFilters: AXDataSourceFilterOption[] = [];\n\n if (filter?.range?.from) {\n fieldFilters.push({\n field: 'startDate',\n operator: { type: 'gte' },\n value: filter.range.from,\n });\n }\n\n if (filter?.range?.end) {\n fieldFilters.push({\n field: 'endDate',\n operator: { type: 'lte' },\n value: filter.range.end,\n });\n }\n\n const employee = await employeeDataAccessor.query();\n\n const { items } = await leaveRequestDataAccessor.query({\n skip: 0,\n take: 1000,\n ...(fieldFilters.length\n ? {\n filter: {\n logic: 'and',\n filters: fieldFilters,\n } as AXDataSourceFilterOption,\n }\n : {}),\n });\n\n const result: AXPResourceAppointmentResource[] = employee.items.map(\n (employee: AXMHumanCapitalManagementEmployeeEntityModel) => ({\n id: employee.id,\n title: employee.person?.fullName ?? '',\n description: 'description', //TODO fill later\n icon: 'icon',\n appointments: items\n .filter((item) => item.employeeId === employee.id)\n .map((item) => ({\n id: item.id,\n title: item.leaveType?.title ?? '',\n startDate: item.startDate,\n endDate: item.endDate,\n resourceId: item.employeeId,\n description: item.reason,\n allDay: false,\n })),\n }),\n );\n return result;\n\n // const resourcesMap = new Map<string | number, AXPResourceAppointmentResource>();\n\n // for (const leave of items) {\n // const resourceId: string | number = leave.employeeId ?? 'unassigned';\n // let resource = resourcesMap.get(resourceId);\n\n // if (!resource) {\n // resource = {\n // id: resourceId,\n // title: leave.employee?.person?.displayName ?? '@general:terms.people.employee',\n // appointments: [],\n // };\n // resourcesMap.set(resourceId, resource);\n // }\n\n // const task: AXPResourceAppointmentItem = {\n // id: leave.id,\n // title: leave.leaveType?.title ?? '@human-capital-management:leave-requests.entities.leave-request.title',\n // description: leave.reason,\n // startDate: leave.startDate,\n // endDate: leave.endDate,\n // allDay: false,\n // resourceId,\n // };\n\n // resource.appointments.push(task);\n // }\n\n // return Array.from(resourcesMap.values());\n }\n\n override async getStatuses(): Promise<AXPResourceAppointmentStatus[]> {\n const pending = AXPSystemStatuses.Pending;\n const approved = AXPSystemStatuses.Approved;\n const rejected = AXPSystemStatuses.Rejected;\n const cancelled = AXPSystemStatuses.Cancelled;\n\n const statuses: AXPResourceAppointmentStatus[] = [\n { key: pending.name, index: 0, title: pending.title, color: pending.color },\n { key: approved.name, index: 1, title: approved.title, color: approved.color },\n { key: rejected.name, index: 2, title: rejected.title, color: rejected.color },\n { key: cancelled.name, index: 3, title: cancelled.title, color: cancelled.color },\n ];\n\n return statuses;\n }\n\n override async getActions(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n context?: AXPResourceAppointmentItem,\n ): Promise<AXPResourceAppointmentActionMenuItem[]> {\n // Actions can be wired to existing approve/reject/cancel commands later.\n // For now, return an empty list so the board works without a context menu.\n return [];\n }\n\n override async executeCommand(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n command: AXPExecuteCommand,\n ): Promise<AXPExecuteCommandResult> {\n // No-op for now – commands are handled by existing leave request commands elsewhere.\n return { success: true };\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { AXPLayoutBuilderService } from '@acorex/platform/layout/builder';\nimport { AXTranslationService } from '@acorex/core/translation';\n\nexport interface LeaveRequestActionDialogResult {\n reason?: string;\n note?: string;\n cancelled: boolean;\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AXPLeaveRequestDialogService {\n private readonly layoutBuilder = inject(AXPLayoutBuilderService);\n private readonly translationService = inject(AXTranslationService);\n\n async showRejectionDialog(): Promise<LeaveRequestActionDialogResult> {\n const result = await this.layoutBuilder\n .create()\n .dialog<LeaveRequestActionDialogResult>(dialog => {\n dialog\n .setTitle('@general:actions.reject.title')\n .setMessage('@human-capital-management:leave-requests.components.rejection-dialog.message')\n .setContext({ reason: '', note: '' })\n .content(flex => {\n flex\n .setDirection('column')\n .formField('@human-capital-management:leave-requests.components.rejection-dialog.fields.reason-label', field => {\n field.path('reason');\n field.largeTextBox({\n placeholder: '@human-capital-management:leave-requests.components.rejection-dialog.fields.reason-placeholder',\n maxLength: 500\n });\n })\n .formField('@human-capital-management:leave-requests.components.rejection-dialog.fields.note-label', field => {\n field.path('note');\n field.largeTextBox({\n placeholder: '@human-capital-management:leave-requests.components.rejection-dialog.fields.note-placeholder',\n maxLength: 1000\n });\n });\n })\n .setActions(actions => {\n actions.cancel('@general:actions.cancel.title').submit('@general:actions.reject.title');\n })\n .onAction(async (dialogRef) => {\n const context = dialogRef.context();\n const action = dialogRef.action();\n if (!context || action === 'cancel') {\n return { reason: undefined, note: undefined, cancelled: true };\n }\n return {\n reason: context['reason'],\n note: context['note'],\n cancelled: false\n };\n });\n })\n .show();\n return result;\n }\n\n async showCancellationDialog(): Promise<LeaveRequestActionDialogResult> {\n const result = await this.layoutBuilder\n .create()\n .dialog<LeaveRequestActionDialogResult>(dialog => {\n dialog\n .setTitle('@general:actions.cancel.title')\n .setMessage('@human-capital-management:leave-requests.components.cancellation-dialog.message')\n .setContext({ reason: '', note: '' })\n .content(flex => {\n flex\n .setDirection('column')\n .formField('@human-capital-management:leave-requests.components.cancellation-dialog.fields.reason-label', field => {\n field.path('reason');\n field.largeTextBox({\n placeholder: '@human-capital-management:leave-requests.components.cancellation-dialog.fields.reason-placeholder',\n maxLength: 500\n });\n })\n .formField('@human-capital-management:leave-requests.components.cancellation-dialog.fields.note-label', field => {\n field.path('note');\n field.largeTextBox({\n placeholder: '@human-capital-management:leave-requests.components.cancellation-dialog.fields.note-placeholder',\n maxLength: 1000\n });\n });\n })\n .setActions(actions => {\n actions.cancel('@general:actions.close.title').submit('@general:actions.cancel.title');\n })\n .onAction(async (dialogRef) => {\n const context = dialogRef.context();\n const action = dialogRef.action();\n if (!context || action === 'cancel') {\n return { reason: undefined, note: undefined, cancelled: true };\n }\n return {\n reason: context['reason'],\n note: context['note'],\n cancelled: false\n };\n });\n })\n .show();\n return result;\n }\n\n async showApprovalDialog(): Promise<LeaveRequestActionDialogResult> {\n const result = await this.layoutBuilder\n .create()\n .dialog<LeaveRequestActionDialogResult>(dialog => {\n dialog\n .setTitle('@general:actions.approve.title')\n .setMessage('@human-capital-management:leave-requests.components.approval-dialog.message')\n .setContext({ note: '' })\n .content(flex => {\n flex\n .setDirection('column')\n .formField('@human-capital-management:leave-requests.components.approval-dialog.fields.note-label', field => {\n field.path('note');\n field.largeTextBox({\n placeholder: '@human-capital-management:leave-requests.components.approval-dialog.fields.note-placeholder',\n maxLength: 1000\n });\n });\n })\n .setActions(actions => {\n actions.cancel('@general:actions.cancel.title').submit('@general:actions.approve.title');\n })\n .onAction(async (dialogRef) => {\n const context = dialogRef.context();\n const action = dialogRef.action();\n if (!context || action === 'cancel') {\n return { note: undefined, cancelled: true };\n }\n return {\n note: context['note'],\n cancelled: false\n };\n });\n })\n .show();\n return result;\n }\n}\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPTask, AXPTaskPopoverComponent } from '@acorex/modules/task-management';\nimport { AXPSystemStatuses } from '@acorex/platform/common';\nimport { AXPCommandExecutor } from '@acorex/platform/runtime';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject, input, ViewEncapsulation } from '@angular/core';\nimport { AXMHumanCapitalManagementLeaveRequestEntityModel } from '../../../entities/leave-request/leave-request.types';\nimport { AXPLeaveRequestDialogService } from '../services/leave-request-dialog.service';\n\n@Component({\n selector: 'axm-leave-request-task-popover',\n template: `\n <div class=\"leave-request-popover\">\n <!-- Employee Info -->\n <div class=\"leave-request-popover__section\">\n <div class=\"leave-request-popover__section-header\">\n <i class=\"fa-light fa-user\"></i>\n <span>Employee Information</span>\n </div>\n <div class=\"leave-request-popover__section-content\">\n <div class=\"leave-request-popover__info-row\">\n <span class=\"leave-request-popover__label\">Employee:</span>\n <span class=\"leave-request-popover__value\">{{ employeeName() }}</span>\n </div>\n @if (managerName(); as manager) {\n <div class=\"leave-request-popover__info-row\">\n <span class=\"leave-request-popover__label\">Manager:</span>\n <span class=\"leave-request-popover__value\">{{ manager }}</span>\n </div>\n }\n </div>\n </div>\n\n <!-- Leave Details -->\n <div class=\"leave-request-popover__section\">\n <div class=\"leave-request-popover__section-header\">\n <i class=\"fa-light fa-calendar\"></i>\n <span>Leave Details</span>\n </div>\n <div class=\"leave-request-popover__section-content\">\n <div class=\"leave-request-popover__info-row\">\n <span class=\"leave-request-popover__label\">Leave Type:</span>\n <span class=\"leave-request-popover__value\">{{ leaveType() }}</span>\n </div>\n <div class=\"leave-request-popover__info-row\">\n <span class=\"leave-request-popover__label\">Start Date:</span>\n <span class=\"leave-request-popover__value\">{{ formatDate(task().startDate) }}</span>\n </div>\n <div class=\"leave-request-popover__info-row\">\n <span class=\"leave-request-popover__label\">End Date:</span>\n <span class=\"leave-request-popover__value\">{{ formatDate(task().endDate) }}</span>\n </div>\n <div class=\"leave-request-popover__info-row\">\n <span class=\"leave-request-popover__label\">Duration:</span>\n <span class=\"leave-request-popover__value\">{{ calculateDuration() }} days</span>\n </div>\n </div>\n </div>\n\n <!-- Reason -->\n @if (task().description) {\n <div class=\"leave-request-popover__section\">\n <div class=\"leave-request-popover__section-header\">\n <i class=\"fa-light fa-note-sticky\"></i>\n <span>Reason</span>\n </div>\n <div class=\"leave-request-popover__section-content\">\n <p class=\"leave-request-popover__reason\">{{ task().description }}</p>\n </div>\n </div>\n }\n\n <!-- Status -->\n <div class=\"leave-request-popover__section\">\n <div class=\"leave-request-popover__section-header\">\n <i class=\"fa-light fa-flag\"></i>\n <span>Status</span>\n </div>\n <div class=\"leave-request-popover__section-content\">\n <div class=\"leave-request-popover__status-badge\" [attr.data-status]=\"task().status.id\">\n {{ task().status.title }}\n </div>\n </div>\n </div>\n\n <!-- Actions -->\n <div class=\"leave-request-popover__actions\">\n @if (canApprove()) {\n <ax-button\n [color]=\"'success'\"\n [look]=\"'blank'\"\n [text]=\"'@general:actions.approve.title' | translate | async\"\n (onClick)=\"handleApprove()\"\n class=\"leave-request-popover__action-btn\"\n >\n <ax-prefix>\n <i class=\"fa-light fa-check\"></i>\n </ax-prefix>\n </ax-button>\n }\n\n @if (canReject()) {\n <ax-button\n [color]=\"'danger'\"\n [look]=\"'blank'\"\n [text]=\"'@general:actions.reject.title' | translate | async\"\n (onClick)=\"handleReject()\"\n class=\"leave-request-popover__action-btn\"\n >\n <ax-prefix>\n <i class=\"fa-light fa-xmark\"></i>\n </ax-prefix>\n </ax-button>\n }\n\n @if (canCancel()) {\n <ax-button\n [color]=\"'secondary'\"\n [look]=\"'blank'\"\n [text]=\"'@general:actions.cancel.title' | translate | async\"\n (onClick)=\"handleCancel()\"\n class=\"leave-request-popover__action-btn\"\n >\n <ax-prefix>\n <i class=\"fa-light fa-ban\"></i>\n </ax-prefix>\n </ax-button>\n }\n </div>\n </div>\n `,\n styles: `\n .leave-request-popover {\n padding: 12px;\n display: flex;\n flex-direction: column;\n gap: 10px;\n min-width: 280px;\n max-width: 360px;\n }\n\n .leave-request-popover__section {\n display: flex;\n flex-direction: column;\n gap: 6px;\n }\n\n .leave-request-popover__section-header {\n display: flex;\n align-items: center;\n gap: 6px;\n font-weight: 600;\n font-size: 13px;\n color: var(--ax-sys-color-text-primary);\n padding-bottom: 6px;\n border-bottom: 1px solid var(--ax-sys-color-border);\n\n i {\n font-size: 13px;\n color: var(--ax-sys-color-text-neutral-600);\n }\n }\n\n .leave-request-popover__section-content {\n display: flex;\n flex-direction: column;\n gap: 6px;\n }\n\n .leave-request-popover__info-row {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n gap: 10px;\n font-size: 12px;\n line-height: 1.4;\n }\n\n .leave-request-popover__label {\n color: var(--ax-sys-color-text-neutral-600);\n font-weight: 500;\n flex-shrink: 0;\n }\n\n .leave-request-popover__value {\n color: var(--ax-sys-color-text-primary);\n text-align: right;\n word-break: break-word;\n }\n\n .leave-request-popover__reason {\n margin: 0;\n padding: 8px;\n background: var(--ax-sys-color-lighter-surface);\n border-radius: 4px;\n font-size: 12px;\n line-height: 1.4;\n color: var(--ax-sys-color-text-primary);\n }\n\n .leave-request-popover__status-badge {\n display: inline-block;\n padding: 3px 10px;\n border-radius: 10px;\n font-size: 11px;\n font-weight: 500;\n text-transform: capitalize;\n\n &[data-status='pending'] {\n background: var(--ax-sys-color-warning-lightest);\n color: var(--ax-sys-color-warning);\n }\n\n &[data-status='approved'] {\n background: var(--ax-sys-color-success-lightest);\n color: var(--ax-sys-color-success);\n }\n\n &[data-status='rejected'] {\n background: var(--ax-sys-color-danger-lightest);\n color: var(--ax-sys-color-danger);\n }\n\n &[data-status='cancelled'] {\n background: var(--ax-sys-color-neutral-lightest);\n color: var(--ax-sys-color-neutral);\n }\n }\n\n .leave-request-popover__actions {\n display: flex;\n gap: 6px;\n flex-wrap: wrap;\n padding-top: 8px;\n border-top: 1px solid var(--ax-sys-color-border);\n }\n\n .leave-request-popover__action-btn {\n flex: 1;\n min-width: 90px;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXTranslationModule],\n})\nexport class AXMLeaveRequestTaskPopoverComponent extends AXPTaskPopoverComponent {\n task = input.required<AXPTask>();\n\n private readonly commandExecutor = inject(AXPCommandExecutor);\n private readonly dialogService = inject(AXPLeaveRequestDialogService);\n\n protected taskData = computed(() => {\n const task = this.task();\n return (\n (task.data as AXMHumanCapitalManagementLeaveRequestEntityModel) ||\n ((task as any).payload as AXMHumanCapitalManagementLeaveRequestEntityModel)\n );\n });\n\n protected employeeName = computed(() => {\n const data = this.taskData();\n return this.task().reporter?.fullName || 'Unknown';\n });\n\n protected managerName = computed(() => {\n const data = this.taskData();\n return data?.employee?.manager?.person?.fullName || '';\n });\n\n protected leaveType = computed(() => {\n const data = this.taskData();\n // Extract leave type from task title or data\n const title = this.task().title || '';\n const parts = title.split(' - ');\n return parts.length > 1 ? parts[1] : data?.leaveType?.title || 'N/A';\n });\n\n protected canApprove = computed(() => {\n const statusId = this.task().status?.id;\n return statusId === AXPSystemStatuses.Pending.name || statusId === AXPSystemStatuses.Rejected.name;\n });\n\n protected canReject = computed(() => {\n const statusId = this.task().status?.id;\n return statusId === AXPSystemStatuses.Pending.name || statusId === AXPSystemStatuses.Approved.name;\n });\n\n protected canCancel = computed(() => {\n const statusId = this.task().status?.id;\n return statusId === AXPSystemStatuses.Pending.name || statusId === AXPSystemStatuses.Approved.name;\n });\n\n protected formatDate(date: Date): string {\n return new Intl.DateTimeFormat('en-US', {\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n }).format(new Date(date));\n }\n\n protected calculateDuration(): number {\n const start = new Date(this.task().startDate);\n const end = new Date(this.task().endDate);\n const diffTime = Math.abs(end.getTime() - start.getTime());\n const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));\n return diffDays + 1; // Include both start and end days\n }\n\n protected async handleApprove(): Promise<void> {\n const task = this.task();\n const leaveRequestId = task.id;\n\n try {\n const dialogResult = await this.dialogService.showApprovalDialog();\n if (dialogResult?.cancelled) {\n return;\n }\n\n const commandKey = 'HumanCapitalManagement.LeaveRequest:Approve';\n const result = await this.commandExecutor.execute(commandKey, {\n id: leaveRequestId,\n reason: dialogResult?.reason,\n note: dialogResult?.note,\n });\n\n if (result?.success) {\n // Optionally emit an event or refresh the task\n console.log('Leave request approved successfully');\n }\n } catch (error) {\n console.error('Failed to approve leave request:', error);\n }\n }\n\n protected async handleReject(): Promise<void> {\n const task = this.task();\n const leaveRequestId = task.id;\n\n try {\n const dialogResult = await this.dialogService.showRejectionDialog();\n if (dialogResult?.cancelled) {\n return;\n }\n\n const commandKey = 'HumanCapitalManagement.LeaveRequest:Reject';\n const result = await this.commandExecutor.execute(commandKey, {\n id: leaveRequestId,\n reason: dialogResult?.reason,\n note: dialogResult?.note,\n });\n\n if (result?.success) {\n console.log('Leave request rejected successfully');\n }\n } catch (error) {\n console.error('Failed to reject leave request:', error);\n }\n }\n\n protected async handleCancel(): Promise<void> {\n const task = this.task();\n const leaveRequestId = task.id;\n\n try {\n const dialogResult = await this.dialogService.showCancellationDialog();\n if (dialogResult?.cancelled) {\n return;\n }\n\n const commandKey = 'HumanCapitalManagement.LeaveRequest:Cancel';\n const result = await this.commandExecutor.execute(commandKey, {\n id: leaveRequestId,\n reason: dialogResult?.reason,\n note: dialogResult?.note,\n });\n\n if (result?.success) {\n console.log('Leave request cancelled successfully');\n }\n } catch (error) {\n console.error('Failed to cancel leave request:', error);\n }\n }\n}\n","export const AXPHumanCapitalManagementFeatureKeys = {\n EmployeeManagement: 'HumanCapitalManagement:Feature:Employee.Management',\n LeaveManagement: 'HumanCapitalManagement:Feature:Leave.Management',\n LifecycleManagement: 'HumanCapitalManagement:Feature:Lifecycle.Management',\n} as const;\n\n","//#region ---- Imports ----\n\nimport {\n AXPFeatureDefinitionProvider,\n AXPFeatureDefinitionProviderContext,\n} from '@acorex/platform/core';\nimport { AXPHumanCapitalManagementFeatureKeys } from './features.keys';\n\n//#endregion\n\n//#region ---- Feature Definition Provider ----\n\n/**\n * Human Capital Management Feature Definition Provider.\n * Provides feature definitions for the Human Capital Management module.\n */\nexport class AXPHumanCapitalManagementFeatureDefinitionProvider implements AXPFeatureDefinitionProvider {\n async provide(context: AXPFeatureDefinitionProviderContext): Promise<void> {\n\n context.addFeature(AXPHumanCapitalManagementFeatureKeys.EmployeeManagement, {\n title: '@human-capital-management:features.employee-management.title',\n description: '@human-capital-management:features.employee-management.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n context.addFeature(AXPHumanCapitalManagementFeatureKeys.LeaveManagement, {\n title: '@human-capital-management:features.leave-management.title',\n description: '@human-capital-management:features.leave-management.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n context.addFeature(AXPHumanCapitalManagementFeatureKeys.LifecycleManagement, {\n title: '@human-capital-management:features.lifecycle-management.title',\n description: '@human-capital-management:features.lifecycle-management.description',\n defaultValue: true,\n type: 'boolean',\n });\n }\n}\n\n//#endregion\n\n","export const AXPHumanCapitalManagementCommandKeys = {\n PositionAssignment: {\n Assign: 'HumanCapitalManagement.PositionAssignment:Assign',\n Revoke: 'HumanCapitalManagement.PositionAssignment:Revoke',\n },\n} as const;\n","import { AXPEntity } from '@acorex/platform/common';\nimport { AXPEntityDefinitionLoader, AXPEntityPreloadEntity } from '@acorex/platform/layout/entity';\nimport { Injectable, Injector, inject } from '@angular/core';\nimport { RootConfig } from './const';\n\n@Injectable()\nexport class AXMHumanCapitalModuleEntityProvider implements AXPEntityDefinitionLoader {\n public preload(): AXPEntityPreloadEntity[] {\n const module = RootConfig.module.name;\n return Array.from(Object.values(RootConfig.entities)).map((entity: any) => ({\n module: module,\n entity: entity.name,\n }));\n }\n\n private injector = inject(Injector);\n\n async get(moduleName: string, entityName: string): Promise<AXPEntity | null> {\n if (moduleName == RootConfig.module.name) {\n switch (entityName) {\n case RootConfig.entities.employee.name:\n return (await import('./entities/employee/employee.entity')).factory();\n case RootConfig.entities.employmentType.name:\n return (await import('./entities/employment-type/employment-type.entity')).factory();\n case RootConfig.entities.positionAssignment?.name:\n return (await import('./entities/position-assignment/position-assignment.entity')).factory();\n case RootConfig.entities.leaveType.name:\n return (await import('./entities/leave-type/leave-type.entity')).factory();\n case RootConfig.entities.leaveRequest.name:\n return (await import('./entities/leave-request/leave-request.entity')).factory();\n case RootConfig.entities.lifecycleProcessType.name:\n return (await import('./entities/lifecycle-process-type/lifecycle-process-type.entity')).factory();\n case RootConfig.entities.employeeLifecycleProcess.name:\n return (await import('./entities/employee-lifecycle-process/employee-lifecycle-process.entity')).factory();\n }\n }\n return null;\n }\n\n async list(): Promise<{ name: string; module: string }[]> {\n const m = RootConfig.module.name;\n return Promise.resolve(\n Object.values(RootConfig.entities).map((e) => ({ name: e.name, module: m }))\n );\n }\n}\n","//#region ---- Imports ----\n\nimport {\n AXPStatusProvider,\n AXPStatusTransition,\n AXPSystemStatusType,\n systemStatusToDefinition,\n} from '@acorex/platform/common';\n\n//#endregion\n\n//#region ---- Employee lifecycle process status ----\n\n/**\n * Status lifecycle for employee lifecycle processes: Draft → In progress → Completed (or Cancelled).\n */\nexport class AXMEmployeeLifecycleProcessStatusProvider extends AXPStatusProvider {\n readonly key = 'human-capital-management.status.employee-lifecycle-process';\n\n readonly statuses = [\n systemStatusToDefinition(AXPSystemStatusType.Draft, {\n title: '@human-capital-management:employee-lifecycle-processes.states.draft',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.InProgress, {\n title: '@human-capital-management:employee-lifecycle-processes.states.in-progress',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Completed, {\n title: '@human-capital-management:employee-lifecycle-processes.states.completed',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Cancelled, {\n title: '@human-capital-management:employee-lifecycle-processes.states.cancelled',\n generateView: true,\n }),\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n {\n from: AXPSystemStatusType.Draft,\n to: AXPSystemStatusType.InProgress,\n title: '@human-capital-management:employee-lifecycle-processes.transitions.start',\n },\n {\n from: AXPSystemStatusType.InProgress,\n to: AXPSystemStatusType.Completed,\n title: '@human-capital-management:employee-lifecycle-processes.transitions.complete',\n },\n {\n from: AXPSystemStatusType.Draft,\n to: AXPSystemStatusType.Cancelled,\n title: '@general:statuses.transitions.cancel',\n },\n {\n from: AXPSystemStatusType.InProgress,\n to: AXPSystemStatusType.Cancelled,\n title: '@general:statuses.transitions.cancel',\n },\n ];\n\n readonly defaultStatus = AXPSystemStatusType.Draft;\n}\n\n//#endregion\n","import { AXP_STATUS_PROVIDERS } from '@acorex/platform/common';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { AXMEmployeeLifecycleProcessStatusProvider } from './employee-lifecycle-process-status.provider';\n\n@NgModule({\n imports: [CommonModule],\n providers: [\n {\n provide: AXP_STATUS_PROVIDERS,\n useClass: AXMEmployeeLifecycleProcessStatusProvider,\n multi: true,\n },\n ],\n})\nexport class AXMEmployeeLifecycleProcessFeatureModule {}\n","//#region ---- Imports ----\n\nimport {\n AXPStatusProvider,\n AXPStatusTransition,\n AXPSystemStatusType,\n systemStatusToDefinition,\n} from '@acorex/platform/common';\n\n//#endregion\n\n//#region ---- Leave Request Status Provider ----\n\n/**\n * Leave request status provider defining lifecycle states: Pending, Approved, Rejected, Cancelled.\n * Used by the status plugin to manage leave request status transitions and metadata.\n */\nexport class AXMLeaveRequestStatusProvider extends AXPStatusProvider {\n readonly key = 'human-capital-management.status.leave-request';\n\n readonly statuses = [\n systemStatusToDefinition(AXPSystemStatusType.Pending, {\n title: '@human-capital-management:leave-requests.states.pending',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Approved, {\n title: '@human-capital-management:leave-requests.states.approved',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Rejected, {\n title: '@human-capital-management:leave-requests.states.rejected',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Cancelled, {\n title: '@human-capital-management:leave-requests.states.cancelled',\n generateView: true,\n }),\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n {\n from: AXPSystemStatusType.Pending,\n to: AXPSystemStatusType.Approved,\n title: '@general:statuses.transitions.approve',\n requiresApproval: true\n },\n {\n from: AXPSystemStatusType.Pending,\n to: AXPSystemStatusType.Rejected,\n title: '@general:statuses.transitions.reject',\n requiresApproval: true\n },\n {\n from: AXPSystemStatusType.Pending,\n to: AXPSystemStatusType.Cancelled,\n title: '@general:statuses.transitions.cancel',\n requiresApproval: true\n },\n {\n from: AXPSystemStatusType.Approved,\n to: AXPSystemStatusType.Cancelled,\n title: '@general:statuses.transitions.cancel',\n requiresApproval: true\n },\n ];\n\n readonly defaultStatus = AXPSystemStatusType.Pending;\n}\n\n//#endregion\n\n","import { AXP_STATUS_PROVIDERS } from '@acorex/platform/common';\nimport { AXP_TASK_BADGE_PROVIDERS } from '@acorex/platform/layout/components';\nimport { AXPRuntimeModule, provideCommandSetups } from '@acorex/platform/runtime';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { AXMLeaveRequestBadgeProvider } from './badge.provider';\nimport { AXMLeaveRequestStatusProvider } from './leave-request-status.provider';\n\n@NgModule({\n imports: [CommonModule, AXPRuntimeModule],\n providers: [\n {\n provide: AXP_TASK_BADGE_PROVIDERS,\n useClass: AXMLeaveRequestBadgeProvider,\n multi: true,\n },\n {\n provide: AXP_STATUS_PROVIDERS,\n useClass: AXMLeaveRequestStatusProvider,\n multi: true,\n },\n provideCommandSetups([\n {\n key: 'HumanCapitalManagement.LeaveRequest:Approve',\n command: () => import('./commands/approve-leave-request.command').then((c) => c.ApproveLeaveRequestCommand),\n },\n {\n key: 'HumanCapitalManagement.LeaveRequest:Reject',\n command: () => import('./commands/reject-leave-request.command').then((c) => c.RejectLeaveRequestCommand),\n },\n {\n key: 'HumanCapitalManagement.LeaveRequest:Cancel',\n command: () => import('./commands/cancel-leave-request.command').then((c) => c.CancelLeaveRequestCommand),\n },\n ]),\n ],\n})\nexport class AXMLeaveRequestFeatureModule {}\n","import { AXPIdentifierRule } from \"@acorex/modules/identifier-management\";\n\nexport const AXM_EMPLOYEE_CODE_IDENTIFIER_RULE: AXPIdentifierRule = {\n id: 'employee-code',\n title: 'Employee Code',\n entity: 'HumanCapitalManagement.Employee',\n pattern: 'EMP-{date:YYYYMM}-{seq:4}',\n enabled: true,\n priority: 1,\n scopeConfig: { byTenant: false, period: 'yearly', minValue: 100, blockSize: 0 },\n}","//#region ---- Imports ----\n\nimport {\n AXPStatusDefinition,\n AXPStatusProvider,\n AXPStatusTransition,\n AXPSystemStatusType,\n systemStatusToDefinition,\n} from '@acorex/platform/common';\n\n//#endregion\n\n//#region ---- Custom Status Names ----\n\nconst OnLeave = 'on-leave';\nconst Terminated = 'terminated';\n\n//#endregion\n\n//#region ---- Employee Status Provider ----\n\n/**\n * Employee status provider defining standard lifecycle states: Active, On Leave, Suspended, Terminated, Pending.\n * Used by the status plugin to manage employee status transitions and metadata.\n */\nexport class AXMEmployeeStatusProvider extends AXPStatusProvider {\n readonly key = 'human-capital-management.status.employee';\n\n readonly defaultStatus = AXPSystemStatusType.Active;\n\n readonly statuses: AXPStatusDefinition[] = [\n systemStatusToDefinition(AXPSystemStatusType.Active, {\n title: '@human-capital-management:employees.states.active',\n generateView: true,\n }),\n {\n name: OnLeave,\n title: '@human-capital-management:employees.states.on-leave',\n icon: 'fa-light fa-umbrella-beach',\n color: 'info',\n order: 2,\n isInitial: false,\n isFinal: false,\n generateView: true,\n },\n systemStatusToDefinition(AXPSystemStatusType.Suspended, {\n title: '@human-capital-management:employees.states.suspended',\n generateView: true,\n }),\n {\n name: Terminated,\n title: '@human-capital-management:employees.states.terminated',\n icon: 'fa-light fa-user-xmark',\n color: 'danger',\n order: 4,\n isInitial: false,\n isFinal: true,\n generateView: true,\n },\n systemStatusToDefinition(AXPSystemStatusType.Pending, {\n title: '@human-capital-management:employees.states.pending',\n generateView: true,\n }),\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n {\n from: AXPSystemStatusType.Pending,\n to: AXPSystemStatusType.Active,\n title: '@human-capital-management:employees.transitions.activate',\n },\n {\n from: AXPSystemStatusType.Active,\n to: OnLeave,\n title: '@human-capital-management:employees.transitions.start-leave',\n },\n {\n from: OnLeave,\n to: AXPSystemStatusType.Active,\n title: '@human-capital-management:employees.transitions.return-from-leave',\n },\n {\n from: AXPSystemStatusType.Active,\n to: AXPSystemStatusType.Suspended,\n title: '@human-capital-management:employees.transitions.suspend',\n },\n {\n from: AXPSystemStatusType.Suspended,\n to: AXPSystemStatusType.Active,\n title: '@human-capital-management:employees.transitions.resume',\n },\n {\n from: AXPSystemStatusType.Active,\n to: Terminated,\n title: '@human-capital-management:employees.transitions.terminate',\n },\n {\n from: OnLeave,\n to: Terminated,\n title: '@human-capital-management:employees.transitions.terminate',\n },\n {\n from: AXPSystemStatusType.Suspended,\n to: Terminated,\n title: '@human-capital-management:employees.transitions.terminate',\n },\n ];\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex/platform/core';\nimport { RootConfig } from './const';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Human Capital Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const HumanCapitalManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n // Module dependencies\n dependencies: [\n 'OrganizationManagement',\n 'PersonCore',\n 'LocationManagement',\n 'DocumentManagement',\n 'AssessmentManagement',\n 'WorkflowManagement',\n 'DataManagement',\n ],\n};\n\n//#endregion\n\n","export const AXPHumanCapitalManagementMenuKeys = {\n Root: 'HumanCapitalManagement:Menu',\n Employees: 'HumanCapitalManagement:Menu:Employees',\n EmploymentTypes: 'HumanCapitalManagement:Menu:EmploymentTypes',\n Divider1: 'HumanCapitalManagement:Menu:Divider1',\n PositionAssignments: 'HumanCapitalManagement:Menu:PositionAssignments',\n Divider2: 'HumanCapitalManagement:Menu:Divider2',\n LeaveTypes: 'HumanCapitalManagement:Menu:LeaveTypes',\n LeaveRequests: 'HumanCapitalManagement:Menu:LeaveRequests',\n LeaveRequestBoard: 'HumanCapitalManagement:Menu:LeaveRequestBoard',\n LifecycleProcessTypes: 'HumanCapitalManagement:Menu:LifecycleProcessTypes',\n} as const;\n\n","export const AXMPermissionsKeys = {\n HumanCapitalManagement: {\n Employee: {\n Management: 'HumanCapitalManagement:Permission:Employee.Management',\n View: 'HumanCapitalManagement:Permission:Employee.View',\n Edit: 'HumanCapitalManagement:Permission:Employee.Edit',\n Delete: 'HumanCapitalManagement:Permission:Employee.Delete',\n Create: 'HumanCapitalManagement:Permission:Employee.Create',\n },\n EmploymentType: {\n Management: 'HumanCapitalManagement:Permission:EmploymentType.Management',\n View: 'HumanCapitalManagement:Permission:EmploymentType.View',\n Edit: 'HumanCapitalManagement:Permission:EmploymentType.Edit',\n Delete: 'HumanCapitalManagement:Permission:EmploymentType.Delete',\n Create: 'HumanCapitalManagement:Permission:EmploymentType.Create',\n },\n PositionAssignment: {\n Management: 'HumanCapitalManagement:Permission:PositionAssignment.Management',\n View: 'HumanCapitalManagement:Permission:PositionAssignment.View',\n Edit: 'HumanCapitalManagement:Permission:PositionAssignment.Edit',\n Delete: 'HumanCapitalManagement:Permission:PositionAssignment.Delete',\n Create: 'HumanCapitalManagement:Permission:PositionAssignment.Create',\n },\n LeaveType: {\n Management: 'HumanCapitalManagement:Permission:LeaveType.Management',\n View: 'HumanCapitalManagement:Permission:LeaveType.View',\n Edit: 'HumanCapitalManagement:Permission:LeaveType.Edit',\n Delete: 'HumanCapitalManagement:Permission:LeaveType.Delete',\n Create: 'HumanCapitalManagement:Permission:LeaveType.Create',\n },\n LeaveRequest: {\n Management: 'HumanCapitalManagement:Permission:LeaveRequest.Management',\n View: 'HumanCapitalManagement:Permission:LeaveRequest.View',\n Edit: 'HumanCapitalManagement:Permission:LeaveRequest.Edit',\n Delete: 'HumanCapitalManagement:Permission:LeaveRequest.Delete',\n Create: 'HumanCapitalManagement:Permission:LeaveRequest.Create',\n },\n LifecycleProcessType: {\n Management: 'HumanCapitalManagement:Permission:LifecycleProcessType.Management',\n View: 'HumanCapitalManagement:Permission:LifecycleProcessType.View',\n Edit: 'HumanCapitalManagement:Permission:LifecycleProcessType.Edit',\n Delete: 'HumanCapitalManagement:Permission:LifecycleProcessType.Delete',\n Create: 'HumanCapitalManagement:Permission:LifecycleProcessType.Create',\n },\n EmployeeLifecycleProcess: {\n Management: 'HumanCapitalManagement:Permission:EmployeeLifecycleProcess.Management',\n View: 'HumanCapitalManagement:Permission:EmployeeLifecycleProcess.View',\n Edit: 'HumanCapitalManagement:Permission:EmployeeLifecycleProcess.Edit',\n Delete: 'HumanCapitalManagement:Permission:EmployeeLifecycleProcess.Delete',\n Create: 'HumanCapitalManagement:Permission:EmployeeLifecycleProcess.Create',\n },\n },\n};\n\n","import { AXPCommonMenuKeys } from '@acorex/modules/common';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex/platform/common';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { inject } from '@angular/core';\nimport { firstValueFrom } from 'rxjs';\nimport { RootConfig } from './const';\nimport { AXPHumanCapitalManagementFeatureKeys } from './features.keys';\nimport { AXPHumanCapitalManagementMenuKeys } from './menu.keys';\nimport { AXMPermissionsKeys } from './permission.keys';\n\nexport class AXMMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n private sessionService = inject(AXPSessionService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);\n if (!isAuthorized) {\n return;\n }\n\n const module = RootConfig.module;\n\n const organizationMenu = context.find(AXPCommonMenuKeys.Organization);\n if (!organizationMenu.exists) {\n context.addItems([\n {\n name: AXPCommonMenuKeys.Organization,\n priority: 9000,\n text: '@organization-management:module.menus.root.title',\n type: 'menu',\n icon: 'fa-light fa-sitemap',\n children: [],\n },\n ]);\n }\n\n // Root Organization: Employees, Position Assignments, Leave Requests (operational)\n context.find(AXPCommonMenuKeys.Organization).addItems([\n {\n name: AXPHumanCapitalManagementMenuKeys.Employees,\n text: '@human-capital-management:employees.menus.employees.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.employee.name),\n priority: 60,\n icon: RootConfig.entities.employee.icon,\n policy: {\n permissions: [AXMPermissionsKeys.HumanCapitalManagement.Employee.Management],\n features: [AXPHumanCapitalManagementFeatureKeys.EmployeeManagement],\n },\n },\n { name: AXPHumanCapitalManagementMenuKeys.Divider1, text: '', type: 'break', priority: 62 },\n {\n name: AXPHumanCapitalManagementMenuKeys.LeaveRequests,\n text: '@human-capital-management:leave-requests.menus.leave-requests.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.leaveRequest.name),\n priority: 63,\n icon: RootConfig.entities.leaveRequest.icon,\n badgeKey: 'leave-request-badge',\n policy: {\n permissions: [AXMPermissionsKeys.HumanCapitalManagement.LeaveRequest.Management],\n features: [AXPHumanCapitalManagementFeatureKeys.LeaveManagement],\n },\n },\n {\n name: AXPHumanCapitalManagementMenuKeys.LeaveRequestBoard,\n text: RootConfig.pages.appointmentBoard.title,\n path: `${this.sessionService.application?.name}/${RootConfig.pages.appointmentBoard.path}/leave-request`,\n priority: 64,\n icon: RootConfig.pages.appointmentBoard.icon,\n policy: {\n permissions: [AXMPermissionsKeys.HumanCapitalManagement.LeaveRequest.Management],\n features: [AXPHumanCapitalManagementFeatureKeys.LeaveManagement],\n },\n },\n ]);\n\n // Configuration/Organization: Employment Types, Leave Types (reference)\n const orgConfigMenu = context.find(AXPCommonMenuKeys.OrganizationConfig);\n if (!orgConfigMenu.exists) {\n context.find(AXPCommonMenuKeys.Configuration).addItems([\n {\n name: AXPCommonMenuKeys.OrganizationConfig,\n priority: 8600,\n text: '@organization-management:module.menus.configuration.title',\n icon: module.icon,\n type: 'menu',\n children: [],\n },\n ]);\n }\n\n context.find(AXPCommonMenuKeys.OrganizationConfig).addItems([\n {\n name: AXPHumanCapitalManagementMenuKeys.EmploymentTypes,\n text: '@human-capital-management:employment-types.menus.employment-types.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.employmentType.name),\n priority: 8,\n icon: RootConfig.entities.employmentType.icon,\n policy: {\n permissions: [AXMPermissionsKeys.HumanCapitalManagement.Employee.Management],\n features: [AXPHumanCapitalManagementFeatureKeys.EmployeeManagement],\n },\n },\n {\n name: AXPHumanCapitalManagementMenuKeys.LeaveTypes,\n text: '@human-capital-management:leave-types.menus.leave-types.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.leaveType.name),\n priority: 9,\n icon: RootConfig.entities.leaveType.icon,\n policy: {\n permissions: [AXMPermissionsKeys.HumanCapitalManagement.LeaveType.Management],\n features: [AXPHumanCapitalManagementFeatureKeys.LeaveManagement],\n },\n },\n {\n name: AXPHumanCapitalManagementMenuKeys.LifecycleProcessTypes,\n text: '@human-capital-management:lifecycle-process-types.menus.lifecycle-process-types.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.lifecycleProcessType.name),\n priority: 10,\n icon: RootConfig.entities.lifecycleProcessType.icon,\n policy: {\n permissions: [AXMPermissionsKeys.HumanCapitalManagement.LifecycleProcessType.Management],\n features: [AXPHumanCapitalManagementFeatureKeys.LifecycleManagement],\n },\n },\n ]);\n }\n}\n","import { AXDataSource } from '@acorex/cdk/common';\nimport { AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPFilterDefinition } from '@acorex/platform/core';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { inject } from '@angular/core';\nimport { RootConfig } from '../../../const';\nimport { AXMHumanCapitalManagementEmployeeEntityModel } from '../../../entities/employee/employee.types';\n\nexport class AXMEmployeeDataSourceDefinition implements AXPDataSourceDefinitionProvider {\n protected entityService = inject(AXPEntityService);\n protected employeeData = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.employee.name)\n .data<string, AXMHumanCapitalManagementEmployeeEntityModel>();\n\n items(): Promise<AXPDataSourceDefinition[]> {\n return Promise.resolve([\n {\n name: 'employees',\n title: 'Employees',\n source: () => {\n return new AXDataSource({\n key: 'id',\n load: async (_) => {\n try {\n const res = await this.employeeData.query();\n return {\n items: res.items.map((item: AXMHumanCapitalManagementEmployeeEntityModel) => ({\n ...item,\n })),\n total: res.total,\n };\n } catch (e) {\n console.log(e);\n throw e;\n }\n },\n byKey: async (key: unknown) => {\n return await this.employeeData.byKey(key as string);\n },\n pageSize: 100,\n });\n },\n columns: [\n {\n name: 'id',\n title: 'ID',\n datatype: 'uuid',\n type: AXPWidgetsCatalog.text,\n },\n {\n name: 'employeeCode',\n title: 'Employee Code',\n datatype: 'string',\n type: AXPWidgetsCatalog.text,\n },\n {\n name: 'person.fullName',\n title: 'Display Name',\n datatype: 'string',\n type: AXPWidgetsCatalog.text,\n },\n ],\n filters: [\n {\n field: 'employeeCode',\n title: 'Employee Code',\n operator: {\n type: 'equal',\n },\n widget: {\n type: AXPWidgetsCatalog.text,\n },\n filterType: {\n advance: true,\n inline: true,\n },\n } as AXPFilterDefinition,\n ],\n textField: {\n name: 'person.fullName',\n title: 'Display Name',\n },\n valueField: {\n name: 'id',\n title: 'ID',\n },\n },\n ]);\n }\n}\n","import { AXDataSource } from '@acorex/cdk/common';\nimport { AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPFilterDefinition } from '@acorex/platform/core';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { inject } from '@angular/core';\nimport { RootConfig } from '../../../const';\nimport { AXMHumanCapitalManagementEmploymentTypeEntityModel } from '../../../entities/employment-type/employment-type.types';\n\nexport class AXMEmploymentTypeDataSourceDefinition implements AXPDataSourceDefinitionProvider {\n protected entityService = inject(AXPEntityService);\n protected employmentTypeData = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.employmentType.name)\n .data<string, AXMHumanCapitalManagementEmploymentTypeEntityModel>();\n\n items(): Promise<AXPDataSourceDefinition[]> {\n return Promise.resolve([\n {\n name: 'employmentTypes',\n title: 'Employment Types',\n source: () => {\n return new AXDataSource({\n key: 'id',\n load: async (_) => {\n try {\n const res = await this.employmentTypeData.query();\n return {\n items: res.items.map((item: AXMHumanCapitalManagementEmploymentTypeEntityModel) => ({\n ...item,\n })),\n total: res.total,\n };\n } catch (e) {\n console.log(e);\n throw e;\n }\n },\n byKey: async (key: unknown) => {\n return await this.employmentTypeData.byKey(key as string);\n },\n pageSize: 100,\n });\n },\n columns: [\n {\n name: 'id',\n title: 'ID',\n datatype: 'uuid',\n type: AXPWidgetsCatalog.text,\n },\n {\n name: 'title',\n title: 'Title',\n datatype: 'string',\n type: AXPWidgetsCatalog.text,\n },\n {\n name: 'description',\n title: 'Description',\n datatype: 'string',\n type: AXPWidgetsCatalog.text,\n },\n ],\n filters: [\n {\n field: 'title',\n title: 'Title',\n operator: {\n type: 'equal',\n },\n widget: {\n type: AXPWidgetsCatalog.text,\n },\n filterType: {\n advance: true,\n inline: true,\n },\n } as AXPFilterDefinition,\n ],\n textField: {\n name: 'title',\n title: 'Title',\n },\n valueField: {\n name: 'id',\n title: 'ID',\n },\n },\n ]);\n }\n}\n","//#region ---- Imports ----\n\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXPCommandService } from '@acorex/platform/runtime';\nimport {\n AXMOrgChartNodeContributionContext,\n AXMOrgChartNodeContributionProvider,\n AXMOrgChartNodeMenuAction,\n} from '@acorex/modules/organization-management';\nimport { inject, Injectable } from '@angular/core';\nimport { AXPHumanCapitalManagementCommandKeys } from '../../commands.keys';\n\n//#endregion\n\n//#region ---- Constants ----\n\nconst orgChartNodeActionKey = (suffix: string): string =>\n `@human-capital-management:organization-chart.node-actions.${suffix}`;\nconst positionAssignmentSubmenuGroupId = 'position-assignment';\n\n//#endregion\n\n@Injectable()\nexport class AXMHcmOrgChartNodeContributionProvider implements AXMOrgChartNodeContributionProvider {\n //#region ---- Services & Dependencies ----\n\n private readonly commandService = inject(AXPCommandService);\n private readonly sessionService = inject(AXPSessionService);\n private readonly positionAssignmentCreatePermission = 'HumanCapitalManagement:Permission:PositionAssignment.Create';\n private readonly positionAssignmentEditPermission = 'HumanCapitalManagement:Permission:PositionAssignment.Edit';\n\n //#endregion\n\n //#region ---- AXMOrgChartNodeContributionProvider Implementation ----\n\n async getMenuActions(context: AXMOrgChartNodeContributionContext): Promise<AXMOrgChartNodeMenuAction[]> {\n if (context.nodeKind !== 'company-root' && context.nodeKind !== 'business-unit') {\n return [];\n }\n\n const businessUnitId = this.resolveBusinessUnitId(context);\n const positionId = this.resolveManagerPositionId(context);\n const hasManager = this.hasAssignedManager(context);\n const shouldShowVacantAssignAction = context.nodeKind === 'business-unit' && this.hasVacantBusinessUnitHead(context);\n const canCreatePositionAssignment = this.sessionService.authorize(this.positionAssignmentCreatePermission);\n const canEditPositionAssignment = this.sessionService.authorize(this.positionAssignmentEditPermission);\n\n const assignVacantHeadAction: AXMOrgChartNodeMenuAction | null =\n shouldShowVacantAssignAction\n ? {\n id: 'organization-management.assign-employee-to-head',\n title: orgChartNodeActionKey('assign-manager'),\n icon: 'fa-light fa-user-plus',\n order: 95,\n submenuGroupId: positionAssignmentSubmenuGroupId,\n submenuGroupTitle: orgChartNodeActionKey('position-assignment'),\n submenuGroupIcon: 'fa-light fa-user-tie',\n disabled: !canCreatePositionAssignment || !businessUnitId || !positionId,\n execute: async () => {\n if (!businessUnitId || !positionId) {\n return;\n }\n const result = await this.commandService.execute(AXPHumanCapitalManagementCommandKeys.PositionAssignment.Assign, {\n data: {\n businessUnitId,\n positionId,\n isPrimary: true,\n },\n });\n if (result?.success) {\n await context.refreshChart();\n }\n },\n }\n : null;\n\n const managerAction: AXMOrgChartNodeMenuAction = {\n id: 'organization-management.assign-manager',\n title: hasManager ? orgChartNodeActionKey('change-manager') : orgChartNodeActionKey('assign-manager'),\n icon: 'fa-light fa-user-tie',\n order: 100,\n submenuGroupId: positionAssignmentSubmenuGroupId,\n submenuGroupTitle: orgChartNodeActionKey('position-assignment'),\n submenuGroupIcon: 'fa-light fa-user-tie',\n disabled: !canCreatePositionAssignment || !businessUnitId || !positionId,\n execute: async () => {\n if (!businessUnitId || !positionId) {\n return;\n }\n const result = await this.commandService.execute(AXPHumanCapitalManagementCommandKeys.PositionAssignment.Assign, {\n data: {\n businessUnitId,\n positionId,\n isPrimary: true,\n },\n });\n if (result?.success) {\n await context.refreshChart();\n }\n },\n };\n\n const revokeManagerAction: AXMOrgChartNodeMenuAction = {\n id: 'organization-management.revoke-manager',\n title: orgChartNodeActionKey('revoke-manager-assignment'),\n icon: 'fa-light fa-user-minus',\n color: 'danger',\n order: 110,\n submenuGroupId: positionAssignmentSubmenuGroupId,\n submenuGroupTitle: orgChartNodeActionKey('position-assignment'),\n submenuGroupIcon: 'fa-light fa-user-tie',\n disabled: !canEditPositionAssignment || !hasManager || !positionId,\n execute: async () => {\n if (!positionId) {\n return;\n }\n const employeeId = this.resolveManagerEmployeeId(context);\n if (!employeeId) {\n return;\n }\n const result = await this.commandService.execute(AXPHumanCapitalManagementCommandKeys.PositionAssignment.Revoke, {\n positionId,\n employeeId,\n businessUnitId,\n });\n if (result?.success) {\n await context.refreshChart();\n }\n },\n };\n\n return [\n ...(assignVacantHeadAction ? [assignVacantHeadAction] : []),\n ...(!shouldShowVacantAssignAction ? [managerAction] : []),\n ...(hasManager ? [revokeManagerAction] : []),\n ];\n }\n\n //#endregion\n\n //#region ---- Node Metadata ----\n\n private resolveBusinessUnitId(context: AXMOrgChartNodeContributionContext): string | undefined {\n if (context.nodeKind === 'business-unit') {\n return (\n context.node.entity?.id ??\n (context.node.metadata?.['businessUnitId'] as string | undefined) ??\n (context.node.metadata?.['unitId'] as string | undefined)\n );\n }\n\n // Company root (merged-executive chart): corporate scope is often `mergedCorporateBusinessUnitId`, not `businessUnitId`.\n const meta = context.node.metadata;\n return (\n (meta?.['businessUnitId'] as string | undefined) ??\n (meta?.['mergedCorporateBusinessUnitId'] as string | undefined)\n );\n }\n\n private resolveManagerPositionId(context: AXMOrgChartNodeContributionContext): string | undefined {\n const metadata = context.node.metadata ?? {};\n const topRole = metadata['topRole'] as Record<string, unknown> | undefined;\n const unitHead = metadata['unitHead'] as Record<string, unknown> | undefined;\n return (\n (unitHead?.['positionId'] as string | undefined) ??\n (topRole?.['positionId'] as string | undefined) ??\n (metadata['headPositionId'] as string | undefined)\n );\n }\n\n private hasAssignedManager(context: AXMOrgChartNodeContributionContext): boolean {\n const metadata = context.node.metadata ?? {};\n if (context.nodeKind === 'company-root') {\n const topRole = metadata['topRole'] as Record<string, unknown> | undefined;\n if (!topRole) {\n return false;\n }\n const vacant = topRole['vacant'] === true;\n const employeeName = topRole['employeeName'];\n return !vacant && typeof employeeName === 'string' && employeeName.trim().length > 0;\n }\n if (context.nodeKind === 'business-unit') {\n const unitHead = metadata['unitHead'] as Record<string, unknown> | undefined;\n if (!unitHead) {\n return false;\n }\n const vacant = unitHead['vacant'] === true;\n const employeeName = unitHead['employeeName'];\n return !vacant && typeof employeeName === 'string' && employeeName.trim().length > 0;\n }\n return false;\n }\n\n private resolveManagerEmployeeId(context: AXMOrgChartNodeContributionContext): string | undefined {\n const metadata = context.node.metadata ?? {};\n if (context.nodeKind === 'company-root') {\n const topRole = metadata['topRole'] as Record<string, unknown> | undefined;\n const employeeId = topRole?.['employeeId'];\n return typeof employeeId === 'string' && employeeId.trim().length > 0 ? employeeId : undefined;\n }\n if (context.nodeKind === 'business-unit') {\n const unitHead = metadata['unitHead'] as Record<string, unknown> | undefined;\n const employeeId = unitHead?.['employeeId'];\n return typeof employeeId === 'string' && employeeId.trim().length > 0 ? employeeId : undefined;\n }\n return undefined;\n }\n\n private hasVacantBusinessUnitHead(context: AXMOrgChartNodeContributionContext): boolean {\n if (context.nodeKind !== 'business-unit') {\n return false;\n }\n const metadata = context.node.metadata ?? {};\n const unitHead = metadata['unitHead'] as Record<string, unknown> | undefined;\n return unitHead?.['vacant'] === true;\n }\n\n //#endregion\n}\n","//#region ---- Imports ----\n\nimport { AXTranslationService, resolveMultiLanguageString } from '@acorex/core/translation';\nimport {\n AXPEntityAction,\n AXPEntityCommandScope,\n AXPSystemStatusType,\n} from '@acorex/platform/common';\nimport {\n AXPExpressionEvaluatorScopeProvider,\n AXPExpressionEvaluatorScopeProviderContext,\n} from '@acorex/platform/core';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { inject } from '@angular/core';\nimport { RootConfig } from '../../const';\n\n//#endregion\n\n//#region ---- Guided workflow mapping ----\n\n/**\n * Lifecycle process type `name` values that start a workflow (`workflowDefinitionId` on the type)\n * instead of opening `Entity:Create` for `HumanCapitalManagement.EmployeeLifecycleProcess`.\n */\nconst EMPLOYEE_LIFECYCLE_GUIDED_FLOW_TARGETS_BY_TYPE_NAME: Partial<Record<string, string>> = {\n ONBOARDING_DEFAULT: AXPSystemStatusType.Active,\n SEPARATION_DEFAULT: 'terminated',\n};\n\n//#endregion\n\n//#region ---- Icon helpers ----\n\n/** Dropdown items render `fa-light {{ suffix }}`; strip a leading FA style token from full icon classes. */\nfunction lifecycleProcessMenuIconSuffix(icon?: string): string {\n const trimmed = icon?.trim();\n if (!trimmed) {\n return 'fa-circle-plus';\n }\n const rest = trimmed.replace(/^(fa-(?:duotone|solid|regular|light|thin|brands))\\s+/i, '').trim();\n return rest || 'fa-circle-plus';\n}\n\n//#endregion\n\n/**\n * Expression-evaluator scope for employee lifecycle process \"Start\" dropdown items (lifecycle templates).\n */\nexport class AXMHumanCapitalManagementEmployeeLifecycleProcessExpressionEvaluatorScopeProvider\n implements AXPExpressionEvaluatorScopeProvider {\n //#region ---- Services & Dependencies ----\n\n private readonly entityService = inject(AXPEntityService);\n private readonly translation = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- AXPExpressionEvaluatorScopeProvider ----\n\n async provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void> {\n context.addScope(RootConfig.module.name, {\n /**\n * Loads lifecycle process types and returns toolbar child actions.\n * Templates that define onboarding/offboarding targets run `WorkflowManagement.WorkflowDefinition:Execute`;\n * other types show a not-implemented toast until wired.\n */\n EmployeeProcesses: async (): Promise<AXPEntityAction[]> => {\n try {\n const locale = this.translation.getActiveLang();\n const page = await this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.lifecycleProcessType.name)\n .data()\n .query({ skip: 0, take: 500 });\n const rows = (page.items ?? []) as Array<{\n id: string;\n name?: string;\n title?: unknown;\n icon?: string;\n questionnaireId?: string;\n workflowDefinitionId?: string;\n }>;\n\n const sorted = [...rows].sort((a, b) => {\n const ta = resolveMultiLanguageString(a.title as never, locale).trim() || a.name || a.id;\n const tb = resolveMultiLanguageString(b.title as never, locale).trim() || b.name || b.id;\n return ta.localeCompare(tb, locale, { sensitivity: 'base' });\n });\n\n return sorted.map((row) => {\n const title =\n resolveMultiLanguageString(row.title as never, locale).trim() || row.name || row.id;\n\n const targetEmployeeStatusId =\n row.name !== undefined\n ? EMPLOYEE_LIFECYCLE_GUIDED_FLOW_TARGETS_BY_TYPE_NAME[row.name]\n : undefined;\n\n const workflowId = row.workflowDefinitionId?.trim();\n\n const guidedFlowCommand =\n targetEmployeeStatusId && row.questionnaireId && workflowId\n ? ({\n name: 'WorkflowManagement.WorkflowDefinition:Execute',\n options: {\n workflowId,\n input: {\n employeeId: '{{ context.eval(\"id\") }}',\n employeeDisplayName: '{{ context.eval(\"person.fullName\") }}',\n lifecycleProcessTypeId: row.id,\n lifecycleProcessTypeTitle: title,\n questionnaireId: row.questionnaireId,\n targetEmployeeStatusId,\n effectiveDate: new Date().toISOString().slice(0, 10),\n },\n },\n } satisfies AXPEntityAction['command'])\n : undefined;\n\n const notImplementedToastCommand = {\n name: 'workflow-activity:show-toast',\n options: {\n message:\n '@human-capital-management:employee-lifecycle-processes.messages.process-not-implemented',\n type: 'warning',\n },\n } satisfies AXPEntityAction['command'];\n\n return {\n name: `start-lifecycle-${row.id}`,\n title,\n icon: lifecycleProcessMenuIconSuffix(row.icon),\n color: 'default',\n command: guidedFlowCommand ?? notImplementedToastCommand,\n priority: 'primary',\n type: 'info',\n scope: AXPEntityCommandScope.TypeLevel,\n } satisfies AXPEntityAction;\n });\n } catch (error: unknown) {\n console.error(\n `${RootConfig.module.name}.EmployeeProcesses failed:`,\n error instanceof Error ? error.message : error,\n );\n return [];\n }\n },\n });\n }\n\n //#endregion\n}\n","import { AXTranslationService } from '@acorex/core/translation';\nimport { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex/platform/auth';\nimport { Injectable, Injector } from '@angular/core';\nimport { AXMPermissionsKeys } from './permission.keys';\nimport { RootConfig } from './const';\n\n@Injectable()\nexport class AXMPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n private readonly translateService: AXTranslationService;\n\n constructor(private injector: Injector) {\n this.translateService = this.injector.get(AXTranslationService);\n }\n\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXMPermissionsKeys.HumanCapitalManagement;\n\n const moduleTitle = await this.translateService.translateAsync('@human-capital-management:module.permissions.title');\n const moduleDescription = await this.translateService.translateAsync('@human-capital-management:module.permissions.description');\n\n context.addGroup(RootConfig.module.name, moduleTitle, moduleDescription)\n //\n .addPermission(\n keys.Employee.Management,\n await this.translateService.translateAsync('@human-capital-management:employees.permissions.employees.title'),\n await this.translateService.translateAsync('@human-capital-management:employees.permissions.employees.description')\n )\n .addChild(keys.Employee.View, await this.translateService.translateAsync('@human-capital-management:employees.permissions.employees.actions.view.title'), await this.translateService.translateAsync('@human-capital-management:employees.permissions.employees.actions.view.description'))\n .addChild(keys.Employee.Create, await this.translateService.translateAsync('@human-capital-management:employees.permissions.employees.actions.create.title'), await this.translateService.translateAsync('@human-capital-management:employees.permissions.employees.actions.create.description'))\n .addChild(keys.Employee.Edit, await this.translateService.translateAsync('@human-capital-management:employees.permissions.employees.actions.edit.title'), await this.translateService.translateAsync('@human-capital-management:employees.permissions.employees.actions.edit.description'))\n .addChild(keys.Employee.Delete, await this.translateService.translateAsync('@human-capital-management:employees.permissions.employees.actions.delete.title'), await this.translateService.translateAsync('@human-capital-management:employees.permissions.employees.actions.delete.description'))\n .endPermission()\n //\n .addPermission(\n keys.EmploymentType.Management,\n await this.translateService.translateAsync('@human-capital-management:employment-types.permissions.employment-types.title'),\n await this.translateService.translateAsync('@human-capital-management:employment-types.permissions.employment-types.description')\n )\n .addChild(keys.EmploymentType.View, await this.translateService.translateAsync('@human-capital-management:employment-types.permissions.employment-types.actions.view.title'), await this.translateService.translateAsync('@human-capital-management:employment-types.permissions.employment-types.actions.view.description'))\n .addChild(keys.EmploymentType.Create, await this.translateService.translateAsync('@human-capital-management:employment-types.permissions.employment-types.actions.create.title'), await this.translateService.translateAsync('@human-capital-management:employment-types.permissions.employment-types.actions.create.description'))\n .addChild(keys.EmploymentType.Edit, await this.translateService.translateAsync('@human-capital-management:employment-types.permissions.employment-types.actions.edit.title'), await this.translateService.translateAsync('@human-capital-management:employment-types.permissions.employment-types.actions.edit.description'))\n .addChild(keys.EmploymentType.Delete, await this.translateService.translateAsync('@human-capital-management:employment-types.permissions.employment-types.actions.delete.title'), await this.translateService.translateAsync('@human-capital-management:employment-types.permissions.employment-types.actions.delete.description'))\n .endPermission()\n //\n .addPermission(\n keys.PositionAssignment.Management,\n await this.translateService.translateAsync('@human-capital-management:position-assignments.permissions.position-assignments.title'),\n await this.translateService.translateAsync('@human-capital-management:position-assignments.permissions.position-assignments.description')\n )\n .addChild(keys.PositionAssignment.View, await this.translateService.translateAsync('@human-capital-management:position-assignments.permissions.position-assignments.actions.view.title'), await this.translateService.translateAsync('@human-capital-management:position-assignments.permissions.position-assignments.actions.view.description'))\n .addChild(keys.PositionAssignment.Create, await this.translateService.translateAsync('@human-capital-management:position-assignments.permissions.position-assignments.actions.create.title'), await this.translateService.translateAsync('@human-capital-management:position-assignments.permissions.position-assignments.actions.create.description'))\n .addChild(keys.PositionAssignment.Edit, await this.translateService.translateAsync('@human-capital-management:position-assignments.permissions.position-assignments.actions.edit.title'), await this.translateService.translateAsync('@human-capital-management:position-assignments.permissions.position-assignments.actions.edit.description'))\n .addChild(keys.PositionAssignment.Delete, await this.translateService.translateAsync('@human-capital-management:position-assignments.permissions.position-assignments.actions.delete.title'), await this.translateService.translateAsync('@human-capital-management:position-assignments.permissions.position-assignments.actions.delete.description'))\n .endPermission()\n //\n .addPermission(\n keys.LeaveType.Management,\n await this.translateService.translateAsync('@human-capital-management:leave-types.permissions.leave-types.title'),\n await this.translateService.translateAsync('@human-capital-management:leave-types.permissions.leave-types.description')\n )\n .addChild(keys.LeaveType.View, await this.translateService.translateAsync('@human-capital-management:leave-types.permissions.leave-types.actions.view.title'), await this.translateService.translateAsync('@human-capital-management:leave-types.permissions.leave-types.actions.view.description'))\n .addChild(keys.LeaveType.Create, await this.translateService.translateAsync('@human-capital-management:leave-types.permissions.leave-types.actions.create.title'), await this.translateService.translateAsync('@human-capital-management:leave-types.permissions.leave-types.actions.create.description'))\n .addChild(keys.LeaveType.Edit, await this.translateService.translateAsync('@human-capital-management:leave-types.permissions.leave-types.actions.edit.title'), await this.translateService.translateAsync('@human-capital-management:leave-types.permissions.leave-types.actions.edit.description'))\n .addChild(keys.LeaveType.Delete, await this.translateService.translateAsync('@human-capital-management:leave-types.permissions.leave-types.actions.delete.title'), await this.translateService.translateAsync('@human-capital-management:leave-types.permissions.leave-types.actions.delete.description'))\n .endPermission()\n //\n .addPermission(\n keys.LeaveRequest.Management,\n await this.translateService.translateAsync('@human-capital-management:leave-requests.permissions.leave-requests.title'),\n await this.translateService.translateAsync('@human-capital-management:leave-requests.permissions.leave-requests.description')\n )\n .addChild(keys.LeaveRequest.View, await this.translateService.translateAsync('@human-capital-management:leave-requests.permissions.leave-requests.actions.view.title'), await this.translateService.translateAsync('@human-capital-management:leave-requests.permissions.leave-requests.actions.view.description'))\n .addChild(keys.LeaveRequest.Create, await this.translateService.translateAsync('@human-capital-management:leave-requests.permissions.leave-requests.actions.create.title'), await this.translateService.translateAsync('@human-capital-management:leave-requests.permissions.leave-requests.actions.create.description'))\n .addChild(keys.LeaveRequest.Edit, await this.translateService.translateAsync('@human-capital-management:leave-requests.permissions.leave-requests.actions.edit.title'), await this.translateService.translateAsync('@human-capital-management:leave-requests.permissions.leave-requests.actions.edit.description'))\n .addChild(keys.LeaveRequest.Delete, await this.translateService.translateAsync('@human-capital-management:leave-requests.permissions.leave-requests.actions.delete.title'), await this.translateService.translateAsync('@human-capital-management:leave-requests.permissions.leave-requests.actions.delete.description'))\n .endPermission()\n //\n .addPermission(\n keys.LifecycleProcessType.Management,\n await this.translateService.translateAsync('@human-capital-management:lifecycle-process-types.permissions.lifecycle-process-types.title'),\n await this.translateService.translateAsync('@human-capital-management:lifecycle-process-types.permissions.lifecycle-process-types.description')\n )\n .addChild(keys.LifecycleProcessType.View, await this.translateService.translateAsync('@human-capital-management:lifecycle-process-types.permissions.lifecycle-process-types.actions.view.title'), await this.translateService.translateAsync('@human-capital-management:lifecycle-process-types.permissions.lifecycle-process-types.actions.view.description'))\n .addChild(keys.LifecycleProcessType.Create, await this.translateService.translateAsync('@human-capital-management:lifecycle-process-types.permissions.lifecycle-process-types.actions.create.title'), await this.translateService.translateAsync('@human-capital-management:lifecycle-process-types.permissions.lifecycle-process-types.actions.create.description'))\n .addChild(keys.LifecycleProcessType.Edit, await this.translateService.translateAsync('@human-capital-management:lifecycle-process-types.permissions.lifecycle-process-types.actions.edit.title'), await this.translateService.translateAsync('@human-capital-management:lifecycle-process-types.permissions.lifecycle-process-types.actions.edit.description'))\n .addChild(keys.LifecycleProcessType.Delete, await this.translateService.translateAsync('@human-capital-management:lifecycle-process-types.permissions.lifecycle-process-types.actions.delete.title'), await this.translateService.translateAsync('@human-capital-management:lifecycle-process-types.permissions.lifecycle-process-types.actions.delete.description'))\n .endPermission()\n //\n .addPermission(\n keys.EmployeeLifecycleProcess.Management,\n await this.translateService.translateAsync('@human-capital-management:employee-lifecycle-processes.permissions.employee-lifecycle-processes.title'),\n await this.translateService.translateAsync('@human-capital-management:employee-lifecycle-processes.permissions.employee-lifecycle-processes.description')\n )\n .addChild(keys.EmployeeLifecycleProcess.View, await this.translateService.translateAsync('@human-capital-management:employee-lifecycle-processes.permissions.employee-lifecycle-processes.actions.view.title'), await this.translateService.translateAsync('@human-capital-management:employee-lifecycle-processes.permissions.employee-lifecycle-processes.actions.view.description'))\n .addChild(keys.EmployeeLifecycleProcess.Create, await this.translateService.translateAsync('@human-capital-management:employee-lifecycle-processes.permissions.employee-lifecycle-processes.actions.create.title'), await this.translateService.translateAsync('@human-capital-management:employee-lifecycle-processes.permissions.employee-lifecycle-processes.actions.create.description'))\n .addChild(keys.EmployeeLifecycleProcess.Edit, await this.translateService.translateAsync('@human-capital-management:employee-lifecycle-processes.permissions.employee-lifecycle-processes.actions.edit.title'), await this.translateService.translateAsync('@human-capital-management:employee-lifecycle-processes.permissions.employee-lifecycle-processes.actions.edit.description'))\n .addChild(keys.EmployeeLifecycleProcess.Delete, await this.translateService.translateAsync('@human-capital-management:employee-lifecycle-processes.permissions.employee-lifecycle-processes.actions.delete.title'), await this.translateService.translateAsync('@human-capital-management:employee-lifecycle-processes.permissions.employee-lifecycle-processes.actions.delete.description'))\n .endPermission()\n //\n .endGroup();\n }\n}\n\n","import { AXP_RESOURCE_APPOINTMENT_PAGE_CONFIG } from '@acorex/modules/common';\nimport { AXP_IDENTIFIER_RULES } from '@acorex/modules/identifier-management';\nimport { AXM_ORG_CHART_NODE_CONTRIBUTOR } from '@acorex/modules/organization-management';\nimport {\n AXP_DATASOURCE_DEFINITION_PROVIDER,\n AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,\n AXP_MODULE_MANIFEST_PROVIDER,\n AXP_FEATURE_DEFINITION_PROVIDER,\n} from '@acorex/platform/core';\nimport { AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';\nimport { AXP_MENU_PROVIDER, AXP_STATUS_PROVIDERS } from '@acorex/platform/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER, AXPAuthGuard } from '@acorex/platform/auth';\nimport { AXP_RESOURCE_APPOINTMENT_PROVIDER } from '@acorex/platform/layout/components';\nimport { AXPRuntimeModule, provideCommandSetups } from '@acorex/platform/runtime';\nimport { CommonModule } from '@angular/common';\nimport { inject, NgModule } from '@angular/core';\nimport { Route, ROUTES } from '@angular/router';\nimport { RootConfig } from './const';\nimport { AXPHumanCapitalManagementCommandKeys } from './commands.keys';\nimport { AXMHumanCapitalModuleEntityProvider } from './entity.provider';\nimport { AXPHumanCapitalManagementFeatureDefinitionProvider } from './feature-definition.provider';\nimport { AXMLeaveRequestResourceAppointmentProvider } from './features';\nimport { AXMEmployeeLifecycleProcessFeatureModule } from './features/employee-lifecycle-process/employee-lifecycle-process.module';\nimport { AXMLeaveRequestFeatureModule } from './features/leave-request/leave-request.module';\nimport { AXM_EMPLOYEE_CODE_IDENTIFIER_RULE } from './features/shared/identifiers/employee-code-identifier-rule.provider';\nimport { AXMEmployeeStatusProvider } from './features/shared/employee-status.provider';\nimport { AXMPositionAssignmentStatusProvider } from './features/shared/position-assignment-status.provider';\nimport { HumanCapitalManagementManifest } from './manifest';\nimport { AXMMenuProvider } from './menu.provider';\nimport { AXMEmployeeDataSourceDefinition } from './features/shared/datasources';\nimport { AXMHcmOrgChartNodeContributionProvider } from './features/organization-chart/hcm-org-chart-node-contribution.provider';\nimport { AXMHumanCapitalManagementEmployeeLifecycleProcessExpressionEvaluatorScopeProvider } from './features/shared/employee-lifecycle-process-expression-evaluator-scope.provider';\n\nimport { AXMPermissionDefinitionProvider } from './permission-definition.provider';\n\n//#region ---- Appointment Board Route ----\n\nfunction createAppointmentBoardRoute(): Route {\n const config = inject(AXP_ENTITY_CONFIG_TOKEN);\n return {\n path: `:app/${RootConfig.pages.appointmentBoard.path}/:provider-name`,\n canActivate: [AXPAuthGuard],\n loadComponent: () => config.viewers.root(),\n children: [\n {\n path: '',\n loadComponent: () => import('@acorex/modules/common').then((c) => c.AXPResourceAppointmentPageComponent),\n providers: [\n {\n provide: AXP_RESOURCE_APPOINTMENT_PAGE_CONFIG,\n useValue: {\n pageTitle: RootConfig.pages.appointmentBoard.title,\n pageDescription: '@human-capital-management:leave-requests.menus.appointment-board.description',\n pageIcon: RootConfig.pages.appointmentBoard.icon,\n breadcrumbs: [{ title: RootConfig.module.title }],\n showResourceHeaders: true,\n showUnassignedAppointments: true,\n },\n },\n ],\n },\n ],\n };\n}\n\n//#endregion\n\n@NgModule({\n imports: [\n CommonModule,\n AXPRuntimeModule,\n AXMLeaveRequestFeatureModule,\n AXMEmployeeLifecycleProcessFeatureModule,\n ],\n providers: [\n // Appointment Board route\n {\n provide: ROUTES,\n multi: true,\n useFactory: () => [createAppointmentBoardRoute()],\n },\n {\n provide: AXP_RESOURCE_APPOINTMENT_PROVIDER,\n useClass: AXMLeaveRequestResourceAppointmentProvider,\n multi: true,\n },\n // Module-specific providers (not part of manifest system)\n {\n provide: AXP_IDENTIFIER_RULES,\n multi: true,\n useValue: AXM_EMPLOYEE_CODE_IDENTIFIER_RULE,\n },\n {\n provide: AXP_STATUS_PROVIDERS,\n useClass: AXMEmployeeStatusProvider,\n multi: true,\n },\n {\n provide: AXP_STATUS_PROVIDERS,\n useClass: AXMPositionAssignmentStatusProvider,\n multi: true,\n },\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: HumanCapitalManagementManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useClass: AXMPermissionDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMMenuProvider,\n multi: true,\n },\n {\n provide: AXP_ENTITY_DEFINITION_LOADER,\n useClass: AXMHumanCapitalModuleEntityProvider,\n multi: true,\n },\n {\n provide: AXP_DATASOURCE_DEFINITION_PROVIDER,\n useClass: AXMEmployeeDataSourceDefinition,\n multi: true,\n },\n {\n provide: AXP_FEATURE_DEFINITION_PROVIDER,\n useClass: AXPHumanCapitalManagementFeatureDefinitionProvider,\n multi: true,\n },\n {\n provide: AXM_ORG_CHART_NODE_CONTRIBUTOR,\n useClass: AXMHcmOrgChartNodeContributionProvider,\n multi: true,\n },\n {\n provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,\n useClass: AXMHumanCapitalManagementEmployeeLifecycleProcessExpressionEvaluatorScopeProvider,\n multi: true,\n },\n provideCommandSetups([\n {\n key: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Assign,\n command: () =>\n import('./features/organization-chart/commands/assign-position-assignment.command').then(\n (c) => c.AXMAssignPositionAssignmentCommand,\n ),\n },\n {\n key: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Revoke,\n command: () =>\n import('./features/organization-chart/commands/revoke-position-assignment.command').then(\n (c) => c.AXMRevokePositionAssignmentByIdCommand,\n ),\n },\n ]),\n ],\n})\nexport class AXMHumanCapitalManagementModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAUA;AAEA;AAEO,MAAM,8BAA8B,GAAG;IAC5C,MAAM,EAAE,mBAAmB,CAAC,MAAM;AAClC,IAAA,SAAS,EAAE,WAAW;AACtB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE,SAAS;;AAMpB;;;AAGG;AACI,MAAM,8CAA8C,GAA6C;AACtG,IAAA,8BAA8B,CAAC,MAAM;AACrC,IAAA,8BAA8B,CAAC,SAA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
|
-
{"version":3,"file":"acorex-modules-human-capital-management-employee-lifecycle-process.entity-LX68KORg.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/entities/employee-lifecycle-process/employee-lifecycle-process.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 { RootConfig } from '../../const';\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function factory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.employeeLifecycleProcess.name,\n title: RootConfig.entities.employeeLifecycleProcess.title,\n icon: RootConfig.entities.employeeLifecycleProcess.icon,\n plugins: [\n { name: 'history' },\n { name: 'attachments' },\n { name: 'workflow' },\n {\n name: 'status',\n options: {\n field: 'statusId',\n definition: 'human-capital-management.status.employee-lifecycle-process',\n },\n },\n {\n name: 'meta-data-form',\n options: {\n path: 'lifecycleProcessTypeId',\n display: 'section',\n },\n },\n ],\n formats: {\n individual: RootConfig.entities.employeeLifecycleProcess.title,\n plural: RootConfig.entities.employeeLifecycleProcess.titlePlural,\n searchResult: {\n title: '{{ employee.person.fullName }}',\n description: '{{ lifecycleProcessType.title }}',\n },\n },\n groups: [\n {\n id: 'process-details',\n title: '@human-capital-management:employee-lifecycle-processes.entities.employee-lifecycle-process.groups.process-details',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'process-details',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'employeeId',\n title: '@general:terms.people.employee',\n groupId: 'process-details',\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.employee.name}`,\n textField: 'person.fullName',\n valueField: 'id',\n look: 'select',\n columns: ['person.fullName', 'employeeCode'],\n expose: [\n { source: 'id', target: 'employee.id' },\n { source: 'person.fullName', target: 'employee.person.fullName' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'lifecycleProcessTypeId',\n title:\n '@human-capital-management:employee-lifecycle-processes.entities.employee-lifecycle-process.fields.lifecycle-process-type-id',\n groupId: 'process-details',\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.lifecycleProcessType.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n columns: ['name', 'title'],\n expose: [\n { source: 'id', target: 'lifecycleProcessType.id' },\n { source: 'name', target: 'lifecycleProcessType.name' },\n { source: 'title', target: 'lifecycleProcessType.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'processAssigneeUserId',\n title:\n '@human-capital-management:employee-lifecycle-processes.entities.employee-lifecycle-process.fields.process-assignee-user-id',\n groupId: 'process-details',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n look: 'select',\n columns: ['displayName', 'username'],\n expose: [\n { source: 'id', target: 'processAssigneeUser.id' },\n { source: 'displayName', target: 'processAssigneeUser.displayName' },\n ],\n },\n },\n },\n },\n {\n name: 'pinnedWorkflowDefinitionVersion',\n title:\n '@human-capital-management:employee-lifecycle-processes.entities.employee-lifecycle-process.fields.pinned-workflow-definition-version',\n groupId: 'process-details',\n schema: {\n dataType: 'number',\n nullable: true,\n visible: false,\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: { minValue: 1 },\n },\n },\n },\n {\n name: 'effectiveDate',\n title: '@human-capital-management:employee-lifecycle-processes.entities.employee-lifecycle-process.fields.effective-date',\n groupId: 'process-details',\n schema: {\n dataType: 'date',\n interface: { type: AXPWidgetsList.Editors.DateTimeBox },\n },\n },\n {\n name: 'notes',\n title: '@human-capital-management:employee-lifecycle-processes.entities.employee-lifecycle-process.fields.notes',\n groupId: 'process-details',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.LargeTextBox },\n },\n },\n ],\n columns: [\n { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },\n { name: 'lifecycleProcessTypeId', options: { dataPath: 'lifecycleProcessType.title' } },\n { name: 'effectiveDate' },\n { name: 'processAssigneeUserId', options: { dataPath: 'processAssigneeUser.displayName' } },\n { name: 'statusId' },\n { name: 'attachments' },\n ],\n relatedEntities: [],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'process-details' }],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'lifecycleProcessTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'processAssigneeUserId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'effectiveDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'process-details' }],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'lifecycleProcessTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'processAssigneeUserId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'effectiveDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ lifecycleProcessType.title }} — {{ employee.person.fullName }}',\n sections: [{ id: 'process-details', order: 1 }],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'lifecycleProcessTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'processAssigneeUserId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'effectiveDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: entityMasterRecordActions(),\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'effectiveDate', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAOA;AAEA;AAEO,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,wBAAwB,CAAC,IAAI;AACvD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,wBAAwB,CAAC,KAAK;AACzD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,wBAAwB,CAAC,IAAI;AACvD,QAAA,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EAAE,aAAa,EAAE;YACvB,EAAE,IAAI,EAAE,UAAU,EAAE;AACpB,YAAA;AACE,gBAAA,IAAI,EAAE,QAAQ;AACd,gBAAA,OAAO,EAAE;AACP,oBAAA,KAAK,EAAE,UAAU;AACjB,oBAAA,UAAU,EAAE,4DAA4D;AACzE,iBAAA;AACF,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,gBAAgB;AACtB,gBAAA,OAAO,EAAE;AACP,oBAAA,IAAI,EAAE,wBAAwB;AAC9B,oBAAA,OAAO,EAAE,SAAS;AACnB,iBAAA;AACF,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,w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IAAI,EAAE,uBAAuB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAChF,wBAAA,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AACxE,wBAAA,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAClE,qBAAA;oBACD,OAAO,EAAE,yBAAyB,EAAE;AACrC,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,eAAe,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AACjF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-employee.entity-znCbbQUd.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/entities/employee/employee.entity.ts"],"sourcesContent":["import { AXPWidgetsList, statusPlugin } from '@acorex/modules/common';\nimport {\n AXPEntity,\n AXPEntityAction,\n AXPEntityCommandScope,\n createAllQueryView,\n} from '@acorex/platform/common';\nimport {\n entityDetailsCrudActions,\n entityDetailsSimpleCondition,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex/platform/layout/entity';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { AXPHumanCapitalManagementCommandKeys } from '../../commands.keys';\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.employee.name,\n title: RootConfig.entities.employee.title,\n icon: 'fa-light fa-building',\n formats: {\n individual: RootConfig.entities.employee.title,\n plural: RootConfig.entities.employee.titlePlural,\n displayName: '@general:terms.common.profile',\n searchResult: {\n title: '{{ context.eval(\"person.firstName\") }} {{ context.eval(\"person.lastName\") }}',\n description: RootConfig.module.title,\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'employeeCode', rule: 'employee-code' } },\n {\n ...statusPlugin,\n options: {\n definition: 'human-capital-management.status.employee',\n field: 'statusId',\n generate: { views: { enabled: true } },\n },\n },\n { name: 'history' },\n { name: 'lock' },\n { name: 'compare' },\n {\n name: 'documents',\n options: {\n documentTypeNames: ['any', 'checklist', 'form', 'jsa', 'permit', 'plan', 'swms', 'other'],\n },\n },\n // { name: 'archive' },\n ],\n relatedEntities: [\n {\n entity: `PersonCore.Person`,\n title: 'Personal Information',\n conditions: [{ name: 'id', operator: { type: 'equal' }, value: '{{ context.eval(\"personId\") }}' }],\n layout: { type: 'merge-detail' },\n persistence: {\n dataPath: 'person',\n strategy: 'referenced',\n idField: 'personId',\n },\n },\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.leaveRequest.name}`,\n title: RootConfig.entities.leaveRequest.titlePlural,\n columns: ['leaveTypeId', 'startDate', 'endDate', 'durationDays', 'statusId', 'reason'],\n conditions: [entityDetailsSimpleCondition('employeeId')],\n persistence: { foreignKeyField: 'employeeId' },\n excludeProperties: ['employeeId'],\n actions: [\n // Use same workflow Create as leave-request list, with employeeId from context so it runs on employee->leave request and pre-fills employee\n // {\n // title: '@general:actions.create.title',\n // command: {\n // name: 'WorkflowManagement.WorkflowDefinition:Execute',\n // options: {\n // workflowId: 'createLeaveRequest',\n // input: { employeeId: '{{ context.eval(\"id\") }}' },\n // },\n // },\n // priority: 'primary',\n // type: 'create',\n // scope: AXPEntityCommandScope.TypeLevel,\n // },\n ...entityDetailsCrudActions('employeeId'),\n ],\n layout: { type: 'page-list', position: 'after', order: 4 },\n },\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.employeeLifecycleProcess.name}`,\n title: '@human-capital-management:employees.entities.employee.related-entities.employee-lifecycle-processes',\n columns: [\n 'lifecycleProcessTypeId',\n 'effectiveDate',\n 'processAssigneeUserId',\n 'statusId',\n 'attachments',\n ],\n conditions: [entityDetailsSimpleCondition('employeeId')],\n persistence: { foreignKeyField: 'employeeId' },\n excludeProperties: ['employeeId'],\n actions: [\n {\n title:\n '@human-capital-management:employees.entities.employee.related-entities.employee-lifecycle-process-start.title',\n icon: 'fa-light fa-play',\n command: {\n name: 'Entity:Create',\n options: {\n process: {\n redirect: false,\n canCreateNewOne: true,\n data: {},\n },\n },\n },\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n items:\n `{{ await ${RootConfig.module.name}.EmployeeProcesses() }}` as unknown as AXPEntityAction[],\n },\n ...entityDetailsCrudActions('employeeId', { create: false }),\n ],\n layout: { type: 'page-list', position: 'after', order: 5 },\n },\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.positionAssignment.name}`,\n title: '@human-capital-management:employees.entities.employee.related-entities.positions',\n columns: ['positionId', 'businessUnitId', 'startDate', 'endDate', 'statusId', 'isPrimary'],\n conditions: [entityDetailsSimpleCondition('employeeId')],\n persistence: { foreignKeyField: 'employeeId' },\n actions: [\n {\n title: '@human-capital-management:position-assignments.entities.position-assignment.actions.assign.title',\n command: {\n name: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Assign,\n options: {\n process: {\n data: {\n employeeId: '{{ context.eval(\"id\") }}',\n },\n },\n },\n },\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n ...entityDetailsCrudActions('employeeId', { create: false, delete: false, view: true, edit: false }),\n ],\n layout: { type: 'page-list', position: 'after', order: 3 },\n },\n ],\n groups: [\n {\n id: 'organizationalStructure',\n title: '@human-capital-management:employees.entities.employee.groups.organizational-structure',\n },\n {\n id: 'employmentProfile',\n title: '@human-capital-management:employees.entities.employee.groups.employment-profile',\n },\n {\n id: 'signature',\n title: '@human-capital-management:employees.entities.employee.groups.signature',\n icon: 'fa-light fa-signature',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'personalInformation',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'employeeCode',\n title: '@human-capital-management:employees.entities.employee.fields.employee-code',\n groupId: 'employmentProfile',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'employmentTypeId',\n title: '@human-capital-management:employees.entities.employee.fields.employment-type-id',\n groupId: 'employmentProfile',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.employmentType.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'employmentType.id' },\n { source: 'title', target: 'employmentType.title' },\n ],\n },\n },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'hireDate',\n title: '@human-capital-management:employees.entities.employee.fields.hire-date',\n groupId: 'employmentProfile',\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'signature',\n title: '@human-capital-management:employees.entities.employee.fields.signature',\n groupId: 'signature',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SignatureBox,\n },\n },\n },\n {\n name: 'activePrimaryBusinessUnitId',\n title: '@human-capital-management:employees.entities.employee.fields.primary-business-unit',\n description: '@human-capital-management:employees.entities.employee.fields.primary-business-unit-description',\n groupId: 'organizationalStructure',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `OrganizationManagement.BusinessUnit`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n placeholder:\n '@human-capital-management:employees.entities.employee.fields.primary-business-unit-placeholder',\n disabled: true,\n readonly: true,\n expose: [\n { source: 'id', target: 'activePrimaryBusinessUnit.id' },\n { source: 'title', target: 'activePrimaryBusinessUnit.title' },\n ],\n },\n },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n },\n {\n name: 'activePrimaryPositionId',\n title: '@human-capital-management:employees.entities.employee.fields.primary-position',\n description: '@human-capital-management:employees.entities.employee.fields.primary-position-description',\n groupId: 'organizationalStructure',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `OrganizationManagement.Position`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n placeholder: '@human-capital-management:employees.entities.employee.fields.primary-position-placeholder',\n disabled: true,\n readonly: true,\n expose: [\n { source: 'id', target: 'activePrimaryPosition.id' },\n { source: 'title', target: 'activePrimaryPosition.title' },\n ],\n },\n },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n },\n {\n name: 'managerId',\n title: '@human-capital-management:employees.entities.employee.fields.manager-id',\n description: '@human-capital-management:employees.entities.employee.fields.manager-id-description',\n groupId: 'organizationalStructure',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.employee.name}`,\n textField: 'person.fullName',\n valueField: 'id',\n look: 'select',\n placeholder: '@human-capital-management:employees.entities.employee.fields.manager-id-placeholder',\n disabled: true,\n readonly: true,\n expose: [\n { source: 'id', target: 'manager.id' },\n { source: 'person.fullName', target: 'manager.person.fullName' },\n ],\n },\n },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n },\n ],\n columns: [\n { name: 'employeeCode' },\n {\n name: 'person.fullName',\n title: '@general:terms.common.full-name',\n showAs: { type: AXPWidgetsCatalog.text },\n options: { visible: false },\n },\n { name: 'person.firstName' },\n { name: 'person.lastName' },\n { name: 'person.phones', options: { width: '250px' } },\n { name: 'person.emails', options: { width: '250px' } },\n { name: 'jobDefinitionId', options: { dataPath: 'jobDefinition.title' } },\n { name: 'employmentTypeId', options: { dataPath: 'employmentType.title' } },\n {\n name: 'activePrimaryBusinessUnitId',\n options: { dataPath: 'activePrimaryBusinessUnit.title' },\n },\n {\n name: 'activePrimaryPositionId',\n },\n {\n name: 'managerId',\n options: { dataPath: 'manager.person.fullName' },\n },\n { name: 'hireDate', options: { visible: false } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'personalInformation', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'employmentProfile', order: 3, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'signature', order: 4, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'organizationalStructure', order: 8, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'employeeCode', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'employmentTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'hireDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'signature', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'personalInformation' },\n { id: 'organizationalStructure' },\n { id: 'employmentProfile' },\n { id: 'signature' },\n ],\n properties: [\n { name: 'employeeCode', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'employmentTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'hireDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'signature', layout: { label: { visible: false } } },\n {\n name: 'activePrimaryBusinessUnitId',\n layout: { positions: { lg: { colSpan: 4, colStart: 1, order: 10 } } },\n },\n {\n name: 'activePrimaryPositionId',\n layout: { positions: { lg: { colSpan: 4, colStart: 5, order: 11 } } },\n },\n {\n name: 'managerId',\n layout: { positions: { lg: { colSpan: 4, colStart: 9, order: 12 } } },\n },\n ],\n },\n single: {\n title: '{{ context.eval(\"person.firstName\") + \" \" + context.eval(\"person.lastName\") }}',\n sections: [\n { id: 'personalInformation', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'employmentProfile', order: 3, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'signature', order: 4, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'organizationalStructure', order: 8, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'employeeCode', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'employmentTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'hireDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'signature', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n {\n name: 'activePrimaryBusinessUnitId',\n layout: { positions: { lg: { colSpan: 4, colStart: 1, order: 10 } } },\n },\n {\n name: 'activePrimaryPositionId',\n layout: { positions: { lg: { colSpan: 4, colStart: 5, order: 11 } } },\n },\n {\n name: 'managerId',\n layout: { positions: { lg: { colSpan: 4, colStart: 9, order: 12 } } },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'person.fullName', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;;;AAiBO,eAAe,OAAO,GAAA;AAC3B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EA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AAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-lifecycle-process-type.entity-DJqo2kTG.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/entities/lifecycle-process-type/lifecycle-process-type.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 { RootConfig } from '../../const';\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function factory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.lifecycleProcessType.name,\n title: RootConfig.entities.lifecycleProcessType.title,\n icon: RootConfig.entities.lifecycleProcessType.icon,\n plugins: [\n { name: 'meta-data-builder', options: { display: 'page' } },\n { name: 'icon' },\n { name: 'clone' },\n { name: 'history' },\n ],\n formats: {\n individual: RootConfig.entities.lifecycleProcessType.title,\n plural: RootConfig.entities.lifecycleProcessType.titlePlural,\n searchResult: { title: '{{ title }}', description: '{{ name }}' },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n {\n id: 'workflow-config',\n title: '@human-capital-management:lifecycle-process-types.entities.lifecycle-process-type.groups.workflow-config',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { placeholder: 'ONBOARDING_DEFAULT' },\n },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }, { rule: 'variable-name' }, { rule: 'unique' }],\n },\n {\n name: 'title',\n title: '@human-capital-management:lifecycle-process-types.entities.lifecycle-process-type.fields.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.TextBox },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@human-capital-management:lifecycle-process-types.entities.lifecycle-process-type.fields.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.LargeTextBox },\n },\n },\n {\n name: 'workflowDefinitionId',\n title:\n '@human-capital-management:lifecycle-process-types.entities.lifecycle-process-type.fields.workflow-definition',\n groupId: 'workflow-config',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'WorkflowManagement.WorkflowDefinition',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n columns: ['name', 'title'],\n expose: [\n { source: 'id', target: 'workflowDefinition.id' },\n { source: 'title', target: 'workflowDefinition.title' },\n ],\n },\n },\n },\n },\n {\n name: 'questionnaireId',\n title: '@human-capital-management:lifecycle-process-types.entities.lifecycle-process-type.fields.questionnaire-id',\n groupId: 'workflow-config',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'AssessmentManagement.Questionnaire',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n columns: ['title', 'type'],\n expose: [\n { source: 'id', target: 'questionnaire.id' },\n { source: 'title', target: 'questionnaire.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [\n { name: 'name' },\n { name: 'title' },\n { name: 'workflowDefinitionId', options: { dataPath: 'workflowDefinition.title' } },\n { name: 'questionnaireId', options: { dataPath: 'questionnaire.title' } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'workflow-config' }],\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 { name: 'workflowDefinitionId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'questionnaireId', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'workflow-config' }],\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 { name: 'workflowDefinitionId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'questionnaireId', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'workflow-config', order: 2, 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 { name: 'workflowDefinitionId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'questionnaireId', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAOA;AAEA;AAEO,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,oBAAoB,CAAC,IAAI;AACnD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,KAAK;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