@acorex/modules 21.0.0-next.70 → 21.0.0-next.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-modules-ai-management.mjs +7 -11
- package/fesm2022/acorex-modules-ai-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-IHgQ8RVH.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-BnfSTevp.mjs} +654 -496
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-BnfSTevp.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-B95yBXgi.mjs → acorex-modules-assessment-management-assessment-case.entity-BWMbcZFT.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-B95yBXgi.mjs.map → acorex-modules-assessment-management-assessment-case.entity-BWMbcZFT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session-answers-view.util-Jhy94fgV.mjs → acorex-modules-assessment-management-assessment-session-answers-view.util-B42XNJUV.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session-answers-view.util-Jhy94fgV.mjs.map → acorex-modules-assessment-management-assessment-session-answers-view.util-B42XNJUV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-DBhBxqh1.mjs → acorex-modules-assessment-management-assessment-session.entity-osEWRiw1.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-DBhBxqh1.mjs.map → acorex-modules-assessment-management-assessment-session.entity-osEWRiw1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-nkFpnKE2.mjs → acorex-modules-assessment-management-fill-assessment-session.command-DIUV6Az-.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-DIUV6Az-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-B29oj3WB.mjs → acorex-modules-assessment-management-preview-question.command-B0kZz-BV.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-B29oj3WB.mjs.map → acorex-modules-assessment-management-preview-question.command-B0kZz-BV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-Sd4gRHo5.mjs → acorex-modules-assessment-management-preview-questionnaire.command-BUUnlr7g.mjs} +18 -9
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-BUUnlr7g.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BCtQO_j7.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BvqEePUh.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BCtQO_j7.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BvqEePUh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-RLIfWCzq.mjs → acorex-modules-assessment-management-question-bank-item.entity-DZBQOgAg.mjs} +3 -2
- package/fesm2022/acorex-modules-assessment-management-question-bank-item.entity-DZBQOgAg.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-B8LMKqVO.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-BMv-XkZk.mjs} +19 -5
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-BMv-XkZk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CZBnfCYE.mjs → acorex-modules-assessment-management-questionnaire.entity-BGkWU83k.mjs} +4 -2
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-BGkWU83k.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-review-assessment-session.command-hB_LFUSE.mjs → acorex-modules-assessment-management-review-assessment-session.command-Bqi7YO0X.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-review-assessment-session.command-hB_LFUSE.mjs.map → acorex-modules-assessment-management-review-assessment-session.command-Bqi7YO0X.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-BN-nYHha.mjs → acorex-modules-assessment-management-view-session-answers.command-2LB7JKZx.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-BN-nYHha.mjs.map → acorex-modules-assessment-management-view-session-answers.command-2LB7JKZx.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BUuEzfsI.mjs → acorex-modules-auth-acorex-modules-auth-BKMD5v6t.mjs} +17 -13
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-BKMD5v6t.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DnmLfX5x.mjs → acorex-modules-auth-app-chooser.component-DTlzE1Rd.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DnmLfX5x.mjs.map → acorex-modules-auth-app-chooser.component-DTlzE1Rd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-D1-POhQk.mjs → acorex-modules-auth-login.module-DSQfhKUZ.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-D1-POhQk.mjs.map → acorex-modules-auth-login.module-DSQfhKUZ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-master.layout-BDM5XtcM.mjs +25 -0
- package/fesm2022/acorex-modules-auth-master.layout-BDM5XtcM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-BhfFPeWT.mjs → acorex-modules-auth-oauth-callback.component-C4Q78fuo.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-BhfFPeWT.mjs.map → acorex-modules-auth-oauth-callback.component-C4Q78fuo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BMVSHYy7.mjs → acorex-modules-auth-password.component-C_55t9er.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-BMVSHYy7.mjs.map → acorex-modules-auth-password.component-C_55t9er.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Cm8DsDvu.mjs → acorex-modules-auth-password.component-VwEsbfR1.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Cm8DsDvu.mjs.map → acorex-modules-auth-password.component-VwEsbfR1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-B85OzgW1.mjs → acorex-modules-auth-routes-prPiMAL6.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-B85OzgW1.mjs.map → acorex-modules-auth-routes-prPiMAL6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-D6_rL2WP.mjs → acorex-modules-auth-tenant-chooser.component-DVyI9cGU.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-D6_rL2WP.mjs.map → acorex-modules-auth-tenant-chooser.component-DVyI9cGU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-DfyDQIw-.mjs → acorex-modules-auth-two-factor.module-C7vZrBHK.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-DfyDQIw-.mjs.map → acorex-modules-auth-two-factor.module-C7vZrBHK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-gJSHI_eh.mjs → acorex-modules-auth-user-sessions.component-ChF8OYdd.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-gJSHI_eh.mjs.map → acorex-modules-auth-user-sessions.component-ChF8OYdd.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +462 -5
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-content-management-acorex-modules-content-management-txpooXrE.mjs → acorex-modules-content-management-acorex-modules-content-management-Bc_tCoHa.mjs} +6 -6
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-Bc_tCoHa.mjs.map +1 -0
- package/fesm2022/{acorex-modules-content-management-permission-definition.provider-D9woYm2m.mjs → acorex-modules-content-management-permission-definition.provider-2-_i1Kxd.mjs} +2 -2
- package/fesm2022/{acorex-modules-content-management-permission-definition.provider-D9woYm2m.mjs.map → acorex-modules-content-management-permission-definition.provider-2-_i1Kxd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-edit.component-CQa1h31v.mjs → acorex-modules-content-management-template-content-editor-widget-edit.component-BdNwhaJ8.mjs} +2 -2
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-edit.component-CQa1h31v.mjs.map → acorex-modules-content-management-template-content-editor-widget-edit.component-BdNwhaJ8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-view.component-DzM4oMNV.mjs → acorex-modules-content-management-template-content-editor-widget-view.component-Cwnqyt0U.mjs} +2 -2
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-view.component-DzM4oMNV.mjs.map → acorex-modules-content-management-template-content-editor-widget-view.component-Cwnqyt0U.mjs.map} +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +1 -1
- package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-DYW31fEm.mjs → acorex-modules-conversation-acorex-modules-conversation-B1ijk48q.mjs} +640 -219
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-B1ijk48q.mjs.map +1 -0
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Mlan0ADR.mjs +329 -0
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Mlan0ADR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-comments-page.component-CNqL-HdS.mjs → acorex-modules-conversation-comments-page.component--Q5RxEyI.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-CNqL-HdS.mjs.map → acorex-modules-conversation-comments-page.component--Q5RxEyI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-CuYYEqhb.mjs → acorex-modules-conversation-send-assist-chat-message.command--_hCn9Et.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-CuYYEqhb.mjs.map → acorex-modules-conversation-send-assist-chat-message.command--_hCn9Et.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-BKwrZJDs.mjs → acorex-modules-conversation-start-assist-chat.command-BE1BPjj2.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-BKwrZJDs.mjs.map → acorex-modules-conversation-start-assist-chat.command-BE1BPjj2.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-kk0CINL1.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-DJMJFziT.mjs} +50 -18
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DJMJFziT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-index-Bhm8mAON.mjs → acorex-modules-dashboard-management-index-DoTVg9ro.mjs} +2 -2
- package/fesm2022/{acorex-modules-dashboard-management-index-Bhm8mAON.mjs.map → acorex-modules-dashboard-management-index-DoTVg9ro.mjs.map} +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-DrKulwY-.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-C1lNgBrC.mjs} +189 -49
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-C1lNgBrC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-TavX6h7z.mjs → acorex-modules-human-capital-management-approve-leave-request.command-CDBhDXr8.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-TavX6h7z.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-CDBhDXr8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-ZEmi88vf.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-pz0IOxa3.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-ZEmi88vf.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-pz0IOxa3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DzIMYIhe.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-Czwdu-nH.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DzIMYIhe.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-Czwdu-nH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-CrVU_3Jv.mjs → acorex-modules-human-capital-management-employee.entity-ZTRqQfRv.mjs} +21 -17
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-ZTRqQfRv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-BeiaEsNZ.mjs → acorex-modules-human-capital-management-employment-type.entity-BIIc7EpP.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-BeiaEsNZ.mjs.map → acorex-modules-human-capital-management-employment-type.entity-BIIc7EpP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-QeY6lcUY.mjs → acorex-modules-human-capital-management-leave-request.entity-Bmv7oLAr.mjs} +19 -24
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-Bmv7oLAr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-D7B3adkZ.mjs → acorex-modules-human-capital-management-leave-type.entity-OwdxjYKk.mjs} +10 -4
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-OwdxjYKk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-lifecycle-event-type.entity-Dim-8hT7.mjs → acorex-modules-human-capital-management-lifecycle-event-type.entity-C_XVrmZt.mjs} +19 -74
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event-type.entity-C_XVrmZt.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-lifecycle-event.entity-3HtYOKrY.mjs → acorex-modules-human-capital-management-lifecycle-event.entity-BwLAEtqA.mjs} +3 -3
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event.entity-BwLAEtqA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-Byxt921P.mjs → acorex-modules-human-capital-management-position-assignment.entity-DdMmiGbn.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-Byxt921P.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-DdMmiGbn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-CAvjZTG9.mjs → acorex-modules-human-capital-management-reject-leave-request.command-Bdwwkcs3.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-CAvjZTG9.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-Bdwwkcs3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-BeWrsQo8.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-Cq-aA79w.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-BeWrsQo8.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-Cq-aA79w.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management-start-leave-request-flow.command-Cx9TRMlY.mjs +230 -0
- package/fesm2022/acorex-modules-human-capital-management-start-leave-request-flow.command-Cx9TRMlY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-Bz2SZcmm.mjs → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DjepuAcu.mjs} +9 -14
- package/fesm2022/acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DjepuAcu.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +2 -2
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-Dj9u0VEL.mjs → acorex-modules-settings-management-acorex-modules-settings-management-BfbVV7di.mjs} +5 -5
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-Dj9u0VEL.mjs.map → acorex-modules-settings-management-acorex-modules-settings-management-BfbVV7di.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-DpRn1jAo.mjs → acorex-modules-settings-management-permission-definition.provider-BBb5hqkc.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-DpRn1jAo.mjs.map → acorex-modules-settings-management-permission-definition.provider-BBb5hqkc.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-C9wPgm_P.mjs → acorex-modules-settings-management-setting-page.component-Dn8CYgux.mjs} +4 -4
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-C9wPgm_P.mjs.map → acorex-modules-settings-management-setting-page.component-Dn8CYgux.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-BQ69Bx8C.mjs → acorex-modules-settings-management-setting-view.component-B5jpPo9k.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-BQ69Bx8C.mjs.map → acorex-modules-settings-management-setting-view.component-B5jpPo9k.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/{acorex-modules-workflow-management-index-CxheG2ry.mjs → acorex-modules-workflow-management-index-CztICioV.mjs} +64 -4
- package/fesm2022/acorex-modules-workflow-management-index-CztICioV.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-column.component-Cpi0Pq3n.mjs +79 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-column.component-Cpi0Pq3n.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-edit.component-RbwX6Nd_.mjs +466 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-edit.component-RbwX6Nd_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-definition.entity-DISpkWE4.mjs → acorex-modules-workflow-management-workflow-definition.entity-BfACGpo4.mjs} +2 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-BfACGpo4.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +175 -29
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-ai-management.d.ts +2 -2
- package/types/acorex-modules-assessment-management.d.ts +214 -188
- package/types/acorex-modules-common.d.ts +13 -3
- package/types/acorex-modules-conversation.d.ts +22 -11
- package/types/acorex-modules-dashboard-management.d.ts +14 -2
- package/types/acorex-modules-document-management.d.ts +6 -0
- package/types/acorex-modules-human-capital-management.d.ts +28 -14
- package/types/acorex-modules-report-management.d.ts +3 -0
- package/types/acorex-modules-workflow-management.d.ts +18 -11
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-IHgQ8RVH.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-nkFpnKE2.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-Sd4gRHo5.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-question-bank-item.entity-RLIfWCzq.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-B8LMKqVO.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-CZBnfCYE.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-BUuEzfsI.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-master.layout-DMP4RC6L.mjs +0 -25
- package/fesm2022/acorex-modules-auth-master.layout-DMP4RC6L.mjs.map +0 -1
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-txpooXrE.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DYW31fEm.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-DQlE8l4c.mjs +0 -329
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-DQlE8l4c.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-kk0CINL1.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-DrKulwY-.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-CrVU_3Jv.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-QeY6lcUY.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-D7B3adkZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event-type.entity-Dim-8hT7.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event.entity-3HtYOKrY.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-start-lifecycle-event-flow.command-Bz2SZcmm.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-CxheG2ry.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DISpkWE4.mjs.map +0 -1
|
@@ -17,12 +17,13 @@ import { CommonModule } from '@angular/common';
|
|
|
17
17
|
import { AXPCommonMenuKeys, AXP_RESOURCE_APPOINTMENT_PAGE_CONFIG } from '@acorex/modules/common';
|
|
18
18
|
import { AXP_IDENTIFIER_RULES } from '@acorex/modules/identifier-management';
|
|
19
19
|
import { AXM_ORG_CHART_NODE_CONTRIBUTOR } from '@acorex/modules/organization-management';
|
|
20
|
-
import { AXP_MODULE_MANIFEST_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
|
|
20
|
+
import { AXP_MODULE_MANIFEST_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_CATALOG_SCOPE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
|
21
21
|
import { AXPSessionService, AXPAuthGuard, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
22
22
|
import { ROUTES } from '@angular/router';
|
|
23
23
|
import { firstValueFrom } from 'rxjs';
|
|
24
24
|
import { AXDataSource } from '@acorex/cdk/common';
|
|
25
25
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
26
|
+
import { merge, get } from 'lodash-es';
|
|
26
27
|
|
|
27
28
|
//#region ---- Imports ----
|
|
28
29
|
//#endregion
|
|
@@ -92,6 +93,9 @@ class AXMPositionAssignmentStatusProvider extends AXPStatusProvider {
|
|
|
92
93
|
}
|
|
93
94
|
//#endregion
|
|
94
95
|
|
|
96
|
+
/** HR catalog scope for questionnaires, question bank items, and workflow definitions. */
|
|
97
|
+
const HCM_CATALOG_SCOPE_HR = 'human-capital-management.hr';
|
|
98
|
+
|
|
95
99
|
const config = {
|
|
96
100
|
i18n: 'human-capital-management',
|
|
97
101
|
module: 'HumanCapitalManagement',
|
|
@@ -175,6 +179,11 @@ const AXMLifecycleEventOpenStatusIds = [
|
|
|
175
179
|
];
|
|
176
180
|
//#endregion
|
|
177
181
|
|
|
182
|
+
//#region ---- Leave request open statuses ----
|
|
183
|
+
/** Statuses that block starting another run for the same employee and leave type. */
|
|
184
|
+
const AXMLeaveRequestOpenStatusIds = [AXPSystemStatusType.WaitingApproval];
|
|
185
|
+
//#endregion
|
|
186
|
+
|
|
178
187
|
//#region ---- Imports ----
|
|
179
188
|
//#endregion
|
|
180
189
|
|
|
@@ -211,7 +220,7 @@ class AXMLeaveRequestBadgeProvider extends AXPTaskBadgeProvider {
|
|
|
211
220
|
{
|
|
212
221
|
field: 'statusId',
|
|
213
222
|
operator: { type: 'equal' },
|
|
214
|
-
value: AXPSystemStatuses.
|
|
223
|
+
value: AXPSystemStatuses.WaitingApproval.name,
|
|
215
224
|
},
|
|
216
225
|
];
|
|
217
226
|
const result = await this.leaveRequestData.query({
|
|
@@ -333,12 +342,12 @@ class AXMLeaveRequestResourceAppointmentProvider extends AXPResourceAppointmentB
|
|
|
333
342
|
// return Array.from(resourcesMap.values());
|
|
334
343
|
}
|
|
335
344
|
async getStatuses() {
|
|
336
|
-
const
|
|
345
|
+
const waitingApproval = AXPSystemStatuses.WaitingApproval;
|
|
337
346
|
const approved = AXPSystemStatuses.Approved;
|
|
338
347
|
const rejected = AXPSystemStatuses.Rejected;
|
|
339
348
|
const cancelled = AXPSystemStatuses.Cancelled;
|
|
340
349
|
const statuses = [
|
|
341
|
-
{ key:
|
|
350
|
+
{ key: waitingApproval.name, index: 0, title: waitingApproval.title, color: waitingApproval.color },
|
|
342
351
|
{ key: approved.name, index: 1, title: approved.title, color: approved.color },
|
|
343
352
|
{ key: rejected.name, index: 2, title: rejected.title, color: rejected.color },
|
|
344
353
|
{ key: cancelled.name, index: 3, title: cancelled.title, color: cancelled.color },
|
|
@@ -530,15 +539,15 @@ class AXMLeaveRequestTaskPopoverComponent extends AXPTaskPopoverComponent {
|
|
|
530
539
|
}, ...(ngDevMode ? [{ debugName: "leaveType" }] : /* istanbul ignore next */ []));
|
|
531
540
|
this.canApprove = computed(() => {
|
|
532
541
|
const statusId = this.task().status?.id;
|
|
533
|
-
return statusId === AXPSystemStatuses.
|
|
542
|
+
return statusId === AXPSystemStatuses.WaitingApproval.name || statusId === AXPSystemStatuses.Rejected.name;
|
|
534
543
|
}, ...(ngDevMode ? [{ debugName: "canApprove" }] : /* istanbul ignore next */ []));
|
|
535
544
|
this.canReject = computed(() => {
|
|
536
545
|
const statusId = this.task().status?.id;
|
|
537
|
-
return statusId === AXPSystemStatuses.
|
|
546
|
+
return statusId === AXPSystemStatuses.WaitingApproval.name || statusId === AXPSystemStatuses.Approved.name;
|
|
538
547
|
}, ...(ngDevMode ? [{ debugName: "canReject" }] : /* istanbul ignore next */ []));
|
|
539
548
|
this.canCancel = computed(() => {
|
|
540
549
|
const statusId = this.task().status?.id;
|
|
541
|
-
return statusId === AXPSystemStatuses.
|
|
550
|
+
return statusId === AXPSystemStatuses.WaitingApproval.name || statusId === AXPSystemStatuses.Approved.name;
|
|
542
551
|
}, ...(ngDevMode ? [{ debugName: "canCancel" }] : /* istanbul ignore next */ []));
|
|
543
552
|
}
|
|
544
553
|
formatDate(date) {
|
|
@@ -742,7 +751,7 @@ class AXMLeaveRequestTaskPopoverComponent extends AXPTaskPopoverComponent {
|
|
|
742
751
|
}
|
|
743
752
|
</div>
|
|
744
753
|
</div>
|
|
745
|
-
`, isInline: true, styles: [".leave-request-popover{padding:12px;display:flex;flex-direction:column;gap:10px;min-width:280px;max-width:360px}.leave-request-popover__section{display:flex;flex-direction:column;gap:6px}.leave-request-popover__section-header{display:flex;align-items:center;gap:6px;font-weight:600;font-size:13px;color:var(--ax-sys-color-text-primary);padding-bottom:6px;border-bottom:1px solid var(--ax-sys-color-border)}.leave-request-popover__section-header i{font-size:13px;color:var(--ax-sys-color-text-neutral-600)}.leave-request-popover__section-content{display:flex;flex-direction:column;gap:6px}.leave-request-popover__info-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:12px;line-height:1.4}.leave-request-popover__label{color:var(--ax-sys-color-text-neutral-600);font-weight:500;flex-shrink:0}.leave-request-popover__value{color:var(--ax-sys-color-text-primary);text-align:right;word-break:break-word}.leave-request-popover__reason{margin:0;padding:8px;background:var(--ax-sys-color-lighter-surface);border-radius:4px;font-size:12px;line-height:1.4;color:var(--ax-sys-color-text-primary)}.leave-request-popover__status-badge{display:inline-block;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:500;text-transform:capitalize}.leave-request-popover__status-badge[data-status=
|
|
754
|
+
`, isInline: true, styles: [".leave-request-popover{padding:12px;display:flex;flex-direction:column;gap:10px;min-width:280px;max-width:360px}.leave-request-popover__section{display:flex;flex-direction:column;gap:6px}.leave-request-popover__section-header{display:flex;align-items:center;gap:6px;font-weight:600;font-size:13px;color:var(--ax-sys-color-text-primary);padding-bottom:6px;border-bottom:1px solid var(--ax-sys-color-border)}.leave-request-popover__section-header i{font-size:13px;color:var(--ax-sys-color-text-neutral-600)}.leave-request-popover__section-content{display:flex;flex-direction:column;gap:6px}.leave-request-popover__info-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:12px;line-height:1.4}.leave-request-popover__label{color:var(--ax-sys-color-text-neutral-600);font-weight:500;flex-shrink:0}.leave-request-popover__value{color:var(--ax-sys-color-text-primary);text-align:right;word-break:break-word}.leave-request-popover__reason{margin:0;padding:8px;background:var(--ax-sys-color-lighter-surface);border-radius:4px;font-size:12px;line-height:1.4;color:var(--ax-sys-color-text-primary)}.leave-request-popover__status-badge{display:inline-block;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:500;text-transform:capitalize}.leave-request-popover__status-badge[data-status=waiting-approval]{background:var(--ax-sys-color-warning-lightest);color:var(--ax-sys-color-warning)}.leave-request-popover__status-badge[data-status=approved]{background:var(--ax-sys-color-success-lightest);color:var(--ax-sys-color-success)}.leave-request-popover__status-badge[data-status=rejected]{background:var(--ax-sys-color-danger-lightest);color:var(--ax-sys-color-danger)}.leave-request-popover__status-badge[data-status=cancelled]{background:var(--ax-sys-color-neutral-lightest);color:var(--ax-sys-color-neutral)}.leave-request-popover__actions{display:flex;gap:6px;flex-wrap:wrap;padding-top:8px;border-top:1px solid var(--ax-sys-color-border)}.leave-request-popover__action-btn{flex:1;min-width:90px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
746
755
|
}
|
|
747
756
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMLeaveRequestTaskPopoverComponent, decorators: [{
|
|
748
757
|
type: Component,
|
|
@@ -865,7 +874,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
865
874
|
}
|
|
866
875
|
</div>
|
|
867
876
|
</div>
|
|
868
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXTranslationModule], styles: [".leave-request-popover{padding:12px;display:flex;flex-direction:column;gap:10px;min-width:280px;max-width:360px}.leave-request-popover__section{display:flex;flex-direction:column;gap:6px}.leave-request-popover__section-header{display:flex;align-items:center;gap:6px;font-weight:600;font-size:13px;color:var(--ax-sys-color-text-primary);padding-bottom:6px;border-bottom:1px solid var(--ax-sys-color-border)}.leave-request-popover__section-header i{font-size:13px;color:var(--ax-sys-color-text-neutral-600)}.leave-request-popover__section-content{display:flex;flex-direction:column;gap:6px}.leave-request-popover__info-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:12px;line-height:1.4}.leave-request-popover__label{color:var(--ax-sys-color-text-neutral-600);font-weight:500;flex-shrink:0}.leave-request-popover__value{color:var(--ax-sys-color-text-primary);text-align:right;word-break:break-word}.leave-request-popover__reason{margin:0;padding:8px;background:var(--ax-sys-color-lighter-surface);border-radius:4px;font-size:12px;line-height:1.4;color:var(--ax-sys-color-text-primary)}.leave-request-popover__status-badge{display:inline-block;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:500;text-transform:capitalize}.leave-request-popover__status-badge[data-status=
|
|
877
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXTranslationModule], styles: [".leave-request-popover{padding:12px;display:flex;flex-direction:column;gap:10px;min-width:280px;max-width:360px}.leave-request-popover__section{display:flex;flex-direction:column;gap:6px}.leave-request-popover__section-header{display:flex;align-items:center;gap:6px;font-weight:600;font-size:13px;color:var(--ax-sys-color-text-primary);padding-bottom:6px;border-bottom:1px solid var(--ax-sys-color-border)}.leave-request-popover__section-header i{font-size:13px;color:var(--ax-sys-color-text-neutral-600)}.leave-request-popover__section-content{display:flex;flex-direction:column;gap:6px}.leave-request-popover__info-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:12px;line-height:1.4}.leave-request-popover__label{color:var(--ax-sys-color-text-neutral-600);font-weight:500;flex-shrink:0}.leave-request-popover__value{color:var(--ax-sys-color-text-primary);text-align:right;word-break:break-word}.leave-request-popover__reason{margin:0;padding:8px;background:var(--ax-sys-color-lighter-surface);border-radius:4px;font-size:12px;line-height:1.4;color:var(--ax-sys-color-text-primary)}.leave-request-popover__status-badge{display:inline-block;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:500;text-transform:capitalize}.leave-request-popover__status-badge[data-status=waiting-approval]{background:var(--ax-sys-color-warning-lightest);color:var(--ax-sys-color-warning)}.leave-request-popover__status-badge[data-status=approved]{background:var(--ax-sys-color-success-lightest);color:var(--ax-sys-color-success)}.leave-request-popover__status-badge[data-status=rejected]{background:var(--ax-sys-color-danger-lightest);color:var(--ax-sys-color-danger)}.leave-request-popover__status-badge[data-status=cancelled]{background:var(--ax-sys-color-neutral-lightest);color:var(--ax-sys-color-neutral)}.leave-request-popover__actions{display:flex;gap:6px;flex-wrap:wrap;padding-top:8px;border-top:1px solid var(--ax-sys-color-border)}.leave-request-popover__action-btn{flex:1;min-width:90px}\n"] }]
|
|
869
878
|
}], propDecorators: { task: [{ type: i0.Input, args: [{ isSignal: true, alias: "task", required: true }] }] } });
|
|
870
879
|
|
|
871
880
|
const AXPHumanCapitalManagementFeatureKeys = {
|
|
@@ -913,6 +922,9 @@ const AXPHumanCapitalManagementCommandKeys = {
|
|
|
913
922
|
LifecycleEvent: {
|
|
914
923
|
StartFlow: 'HumanCapitalManagement.LifecycleEvent:StartFlow',
|
|
915
924
|
},
|
|
925
|
+
LeaveRequest: {
|
|
926
|
+
StartFlow: 'HumanCapitalManagement.LeaveRequest:StartFlow',
|
|
927
|
+
},
|
|
916
928
|
};
|
|
917
929
|
|
|
918
930
|
class AXMHumanCapitalModuleEntityProvider {
|
|
@@ -930,19 +942,19 @@ class AXMHumanCapitalModuleEntityProvider {
|
|
|
930
942
|
if (moduleName == RootConfig.module.name) {
|
|
931
943
|
switch (entityName) {
|
|
932
944
|
case RootConfig.entities.employee.name:
|
|
933
|
-
return (await import('./acorex-modules-human-capital-management-employee.entity-
|
|
945
|
+
return (await import('./acorex-modules-human-capital-management-employee.entity-ZTRqQfRv.mjs')).factory();
|
|
934
946
|
case RootConfig.entities.employmentType.name:
|
|
935
|
-
return (await import('./acorex-modules-human-capital-management-employment-type.entity-
|
|
947
|
+
return (await import('./acorex-modules-human-capital-management-employment-type.entity-BIIc7EpP.mjs')).factory();
|
|
936
948
|
case RootConfig.entities.positionAssignment?.name:
|
|
937
|
-
return (await import('./acorex-modules-human-capital-management-position-assignment.entity-
|
|
949
|
+
return (await import('./acorex-modules-human-capital-management-position-assignment.entity-DdMmiGbn.mjs')).factory();
|
|
938
950
|
case RootConfig.entities.leaveType.name:
|
|
939
|
-
return (await import('./acorex-modules-human-capital-management-leave-type.entity-
|
|
951
|
+
return (await import('./acorex-modules-human-capital-management-leave-type.entity-OwdxjYKk.mjs')).factory();
|
|
940
952
|
case RootConfig.entities.leaveRequest.name:
|
|
941
|
-
return (await import('./acorex-modules-human-capital-management-leave-request.entity-
|
|
953
|
+
return (await import('./acorex-modules-human-capital-management-leave-request.entity-Bmv7oLAr.mjs')).factory();
|
|
942
954
|
case RootConfig.entities.lifecycleEventType.name:
|
|
943
|
-
return (await import('./acorex-modules-human-capital-management-lifecycle-event-type.entity-
|
|
955
|
+
return (await import('./acorex-modules-human-capital-management-lifecycle-event-type.entity-C_XVrmZt.mjs')).factory();
|
|
944
956
|
case RootConfig.entities.lifecycleEvent.name:
|
|
945
|
-
return (await import('./acorex-modules-human-capital-management-lifecycle-event.entity-
|
|
957
|
+
return (await import('./acorex-modules-human-capital-management-lifecycle-event.entity-BwLAEtqA.mjs')).factory();
|
|
946
958
|
}
|
|
947
959
|
}
|
|
948
960
|
return null;
|
|
@@ -1024,7 +1036,7 @@ class AXMLifecycleEventFeatureModule {
|
|
|
1024
1036
|
provideCommandSetups([
|
|
1025
1037
|
{
|
|
1026
1038
|
key: AXPHumanCapitalManagementCommandKeys.LifecycleEvent.StartFlow,
|
|
1027
|
-
command: () => import('./acorex-modules-human-capital-management-start-lifecycle-event-flow.command-
|
|
1039
|
+
command: () => import('./acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DjepuAcu.mjs').then((c) => c.StartLifecycleEventFlowCommand),
|
|
1028
1040
|
},
|
|
1029
1041
|
]),
|
|
1030
1042
|
], imports: [AXPRuntimeModule] }); }
|
|
@@ -1042,7 +1054,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
1042
1054
|
provideCommandSetups([
|
|
1043
1055
|
{
|
|
1044
1056
|
key: AXPHumanCapitalManagementCommandKeys.LifecycleEvent.StartFlow,
|
|
1045
|
-
command: () => import('./acorex-modules-human-capital-management-start-lifecycle-event-flow.command-
|
|
1057
|
+
command: () => import('./acorex-modules-human-capital-management-start-lifecycle-event-flow.command-DjepuAcu.mjs').then((c) => c.StartLifecycleEventFlowCommand),
|
|
1046
1058
|
},
|
|
1047
1059
|
]),
|
|
1048
1060
|
],
|
|
@@ -1053,7 +1065,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
1053
1065
|
//#endregion
|
|
1054
1066
|
//#region ---- Leave Request Status Provider ----
|
|
1055
1067
|
/**
|
|
1056
|
-
* Leave request status provider defining lifecycle states:
|
|
1068
|
+
* Leave request status provider defining lifecycle states: Waiting approval, Approved, Rejected, Cancelled.
|
|
1057
1069
|
* Used by the status plugin to manage leave request status transitions and metadata.
|
|
1058
1070
|
*/
|
|
1059
1071
|
class AXMLeaveRequestStatusProvider extends AXPStatusProvider {
|
|
@@ -1061,8 +1073,8 @@ class AXMLeaveRequestStatusProvider extends AXPStatusProvider {
|
|
|
1061
1073
|
super(...arguments);
|
|
1062
1074
|
this.key = 'human-capital-management.status.leave-request';
|
|
1063
1075
|
this.statuses = [
|
|
1064
|
-
systemStatusToDefinition(AXPSystemStatusType.
|
|
1065
|
-
title: '@human-capital-management:leave-requests.states.
|
|
1076
|
+
systemStatusToDefinition(AXPSystemStatusType.WaitingApproval, {
|
|
1077
|
+
title: '@human-capital-management:leave-requests.states.waiting-approval',
|
|
1066
1078
|
generateView: true,
|
|
1067
1079
|
}),
|
|
1068
1080
|
systemStatusToDefinition(AXPSystemStatusType.Approved, {
|
|
@@ -1080,19 +1092,19 @@ class AXMLeaveRequestStatusProvider extends AXPStatusProvider {
|
|
|
1080
1092
|
];
|
|
1081
1093
|
this.transitions = [
|
|
1082
1094
|
{
|
|
1083
|
-
from: AXPSystemStatusType.
|
|
1095
|
+
from: AXPSystemStatusType.WaitingApproval,
|
|
1084
1096
|
to: AXPSystemStatusType.Approved,
|
|
1085
1097
|
title: '@general:statuses.transitions.approve',
|
|
1086
1098
|
requiresApproval: true
|
|
1087
1099
|
},
|
|
1088
1100
|
{
|
|
1089
|
-
from: AXPSystemStatusType.
|
|
1101
|
+
from: AXPSystemStatusType.WaitingApproval,
|
|
1090
1102
|
to: AXPSystemStatusType.Rejected,
|
|
1091
1103
|
title: '@general:statuses.transitions.reject',
|
|
1092
1104
|
requiresApproval: true
|
|
1093
1105
|
},
|
|
1094
1106
|
{
|
|
1095
|
-
from: AXPSystemStatusType.
|
|
1107
|
+
from: AXPSystemStatusType.WaitingApproval,
|
|
1096
1108
|
to: AXPSystemStatusType.Cancelled,
|
|
1097
1109
|
title: '@general:statuses.transitions.cancel',
|
|
1098
1110
|
requiresApproval: true
|
|
@@ -1104,7 +1116,7 @@ class AXMLeaveRequestStatusProvider extends AXPStatusProvider {
|
|
|
1104
1116
|
requiresApproval: true
|
|
1105
1117
|
},
|
|
1106
1118
|
];
|
|
1107
|
-
this.defaultStatus = AXPSystemStatusType.
|
|
1119
|
+
this.defaultStatus = AXPSystemStatusType.WaitingApproval;
|
|
1108
1120
|
}
|
|
1109
1121
|
}
|
|
1110
1122
|
//#endregion
|
|
@@ -1124,17 +1136,21 @@ class AXMLeaveRequestFeatureModule {
|
|
|
1124
1136
|
multi: true,
|
|
1125
1137
|
},
|
|
1126
1138
|
provideCommandSetups([
|
|
1139
|
+
{
|
|
1140
|
+
key: AXPHumanCapitalManagementCommandKeys.LeaveRequest.StartFlow,
|
|
1141
|
+
command: () => import('./acorex-modules-human-capital-management-start-leave-request-flow.command-Cx9TRMlY.mjs').then((c) => c.StartLeaveRequestFlowCommand),
|
|
1142
|
+
},
|
|
1127
1143
|
{
|
|
1128
1144
|
key: 'HumanCapitalManagement.LeaveRequest:Approve',
|
|
1129
|
-
command: () => import('./acorex-modules-human-capital-management-approve-leave-request.command-
|
|
1145
|
+
command: () => import('./acorex-modules-human-capital-management-approve-leave-request.command-CDBhDXr8.mjs').then((c) => c.ApproveLeaveRequestCommand),
|
|
1130
1146
|
},
|
|
1131
1147
|
{
|
|
1132
1148
|
key: 'HumanCapitalManagement.LeaveRequest:Reject',
|
|
1133
|
-
command: () => import('./acorex-modules-human-capital-management-reject-leave-request.command-
|
|
1149
|
+
command: () => import('./acorex-modules-human-capital-management-reject-leave-request.command-Bdwwkcs3.mjs').then((c) => c.RejectLeaveRequestCommand),
|
|
1134
1150
|
},
|
|
1135
1151
|
{
|
|
1136
1152
|
key: 'HumanCapitalManagement.LeaveRequest:Cancel',
|
|
1137
|
-
command: () => import('./acorex-modules-human-capital-management-cancel-leave-request.command-
|
|
1153
|
+
command: () => import('./acorex-modules-human-capital-management-cancel-leave-request.command-Czwdu-nH.mjs').then((c) => c.CancelLeaveRequestCommand),
|
|
1138
1154
|
},
|
|
1139
1155
|
]),
|
|
1140
1156
|
], imports: [CommonModule, AXPRuntimeModule] }); }
|
|
@@ -1155,17 +1171,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
1155
1171
|
multi: true,
|
|
1156
1172
|
},
|
|
1157
1173
|
provideCommandSetups([
|
|
1174
|
+
{
|
|
1175
|
+
key: AXPHumanCapitalManagementCommandKeys.LeaveRequest.StartFlow,
|
|
1176
|
+
command: () => import('./acorex-modules-human-capital-management-start-leave-request-flow.command-Cx9TRMlY.mjs').then((c) => c.StartLeaveRequestFlowCommand),
|
|
1177
|
+
},
|
|
1158
1178
|
{
|
|
1159
1179
|
key: 'HumanCapitalManagement.LeaveRequest:Approve',
|
|
1160
|
-
command: () => import('./acorex-modules-human-capital-management-approve-leave-request.command-
|
|
1180
|
+
command: () => import('./acorex-modules-human-capital-management-approve-leave-request.command-CDBhDXr8.mjs').then((c) => c.ApproveLeaveRequestCommand),
|
|
1161
1181
|
},
|
|
1162
1182
|
{
|
|
1163
1183
|
key: 'HumanCapitalManagement.LeaveRequest:Reject',
|
|
1164
|
-
command: () => import('./acorex-modules-human-capital-management-reject-leave-request.command-
|
|
1184
|
+
command: () => import('./acorex-modules-human-capital-management-reject-leave-request.command-Bdwwkcs3.mjs').then((c) => c.RejectLeaveRequestCommand),
|
|
1165
1185
|
},
|
|
1166
1186
|
{
|
|
1167
1187
|
key: 'HumanCapitalManagement.LeaveRequest:Cancel',
|
|
1168
|
-
command: () => import('./acorex-modules-human-capital-management-cancel-leave-request.command-
|
|
1188
|
+
command: () => import('./acorex-modules-human-capital-management-cancel-leave-request.command-Czwdu-nH.mjs').then((c) => c.CancelLeaveRequestCommand),
|
|
1169
1189
|
},
|
|
1170
1190
|
]),
|
|
1171
1191
|
],
|
|
@@ -1841,15 +1861,85 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
1841
1861
|
|
|
1842
1862
|
//#region ---- Imports ----
|
|
1843
1863
|
//#endregion
|
|
1844
|
-
//#region ---- Guided workflow mapping ----
|
|
1845
1864
|
/**
|
|
1846
|
-
*
|
|
1847
|
-
* instead of opening `Entity:Create` for `HumanCapitalManagement.LifecycleEvent`.
|
|
1865
|
+
* Expression-evaluator scope for leave request "Create" dropdown items (leave type templates).
|
|
1848
1866
|
*/
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1867
|
+
class AXMHumanCapitalManagementLeaveRequestExpressionEvaluatorScopeProvider {
|
|
1868
|
+
constructor() {
|
|
1869
|
+
//#region ---- Services & Dependencies ----
|
|
1870
|
+
this.entityService = inject(AXPEntityService);
|
|
1871
|
+
this.translation = inject(AXTranslationService);
|
|
1872
|
+
//#endregion
|
|
1873
|
+
}
|
|
1874
|
+
//#endregion
|
|
1875
|
+
//#region ---- AXPExpressionEvaluatorScopeProvider ----
|
|
1876
|
+
async provide(context) {
|
|
1877
|
+
context.addScope(RootConfig.module.name, {
|
|
1878
|
+
/**
|
|
1879
|
+
* Loads leave types and returns toolbar child actions.
|
|
1880
|
+
* Types with workflowConfig run `HumanCapitalManagement.LeaveRequest:StartFlow`.
|
|
1881
|
+
*/
|
|
1882
|
+
LeaveRequests: async () => {
|
|
1883
|
+
try {
|
|
1884
|
+
const locale = this.translation.getActiveLang();
|
|
1885
|
+
const page = await this.entityService
|
|
1886
|
+
.withEntity(RootConfig.module.name, RootConfig.entities.leaveType.name)
|
|
1887
|
+
.data()
|
|
1888
|
+
.query({ skip: 0, take: 500 });
|
|
1889
|
+
const rows = (page.items ?? []);
|
|
1890
|
+
const sorted = [...rows].sort((a, b) => {
|
|
1891
|
+
const ta = resolveMultiLanguageString(a.title, locale).trim() || a.id;
|
|
1892
|
+
const tb = resolveMultiLanguageString(b.title, locale).trim() || b.id;
|
|
1893
|
+
return ta.localeCompare(tb, locale, { sensitivity: 'base' });
|
|
1894
|
+
});
|
|
1895
|
+
return sorted.map((row) => {
|
|
1896
|
+
const title = resolveMultiLanguageString(row.title, locale).trim() || row.id;
|
|
1897
|
+
const workflowConfig = row.workflowConfig;
|
|
1898
|
+
const workflowId = workflowConfig?.workflowName?.trim();
|
|
1899
|
+
const defaultInput = workflowConfig?.defaultInput ?? {};
|
|
1900
|
+
const guidedFlowCommand = workflowId
|
|
1901
|
+
? {
|
|
1902
|
+
name: AXPHumanCapitalManagementCommandKeys.LeaveRequest.StartFlow,
|
|
1903
|
+
options: {
|
|
1904
|
+
workflowId,
|
|
1905
|
+
input: merge({
|
|
1906
|
+
employeeId: '{{ context.eval("id") }}',
|
|
1907
|
+
employeeDisplayName: '{{ context.eval("person.fullName") }}',
|
|
1908
|
+
leaveTypeId: row.id,
|
|
1909
|
+
leaveTypeTitle: title,
|
|
1910
|
+
}, defaultInput),
|
|
1911
|
+
},
|
|
1912
|
+
}
|
|
1913
|
+
: undefined;
|
|
1914
|
+
const notImplementedToastCommand = {
|
|
1915
|
+
name: 'workflow-activity:show-toast',
|
|
1916
|
+
options: {
|
|
1917
|
+
message: '@human-capital-management:leave-requests.messages.request-not-implemented',
|
|
1918
|
+
type: 'warning',
|
|
1919
|
+
},
|
|
1920
|
+
};
|
|
1921
|
+
return {
|
|
1922
|
+
name: `start-leave-request-${row.id}`,
|
|
1923
|
+
title,
|
|
1924
|
+
icon: 'fa-light fa-calendar-plus',
|
|
1925
|
+
color: 'default',
|
|
1926
|
+
command: guidedFlowCommand ?? notImplementedToastCommand,
|
|
1927
|
+
priority: 'primary',
|
|
1928
|
+
type: 'info',
|
|
1929
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
1930
|
+
};
|
|
1931
|
+
});
|
|
1932
|
+
}
|
|
1933
|
+
catch (error) {
|
|
1934
|
+
console.error(`${RootConfig.module.name}.LeaveRequests failed:`, error instanceof Error ? error.message : error);
|
|
1935
|
+
return [];
|
|
1936
|
+
}
|
|
1937
|
+
},
|
|
1938
|
+
});
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
//#region ---- Imports ----
|
|
1853
1943
|
//#endregion
|
|
1854
1944
|
//#region ---- Icon helpers ----
|
|
1855
1945
|
/** Dropdown items render `fa-light {{ suffix }}`; strip a leading FA style token from full icon classes. */
|
|
@@ -1896,9 +1986,11 @@ class AXMHumanCapitalManagementLifecycleEventExpressionEvaluatorScopeProvider {
|
|
|
1896
1986
|
});
|
|
1897
1987
|
return sorted.map((row) => {
|
|
1898
1988
|
const title = resolveMultiLanguageString(row.title, locale).trim() || row.name || row.id;
|
|
1899
|
-
const
|
|
1900
|
-
const workflowId =
|
|
1901
|
-
const
|
|
1989
|
+
const workflowConfig = row.workflowConfig;
|
|
1990
|
+
const workflowId = workflowConfig?.workflowName?.trim();
|
|
1991
|
+
const defaultInput = workflowConfig?.defaultInput ?? {};
|
|
1992
|
+
const questionnaireId = get(defaultInput, 'questionnaireId');
|
|
1993
|
+
const guidedFlowCommand = workflowId && questionnaireId
|
|
1902
1994
|
? {
|
|
1903
1995
|
name: AXPHumanCapitalManagementCommandKeys.LifecycleEvent.StartFlow,
|
|
1904
1996
|
options: {
|
|
@@ -1908,8 +2000,7 @@ class AXMHumanCapitalManagementLifecycleEventExpressionEvaluatorScopeProvider {
|
|
|
1908
2000
|
employeeDisplayName: '{{ context.eval("person.fullName") }}',
|
|
1909
2001
|
eventTypeId: row.id,
|
|
1910
2002
|
eventTypeTitle: title,
|
|
1911
|
-
questionnaireId
|
|
1912
|
-
targetEmployeeStatusId,
|
|
2003
|
+
questionnaireId,
|
|
1913
2004
|
},
|
|
1914
2005
|
},
|
|
1915
2006
|
}
|
|
@@ -1942,6 +2033,35 @@ class AXMHumanCapitalManagementLifecycleEventExpressionEvaluatorScopeProvider {
|
|
|
1942
2033
|
}
|
|
1943
2034
|
}
|
|
1944
2035
|
|
|
2036
|
+
//#endregion
|
|
2037
|
+
//#region ---- Constants ----
|
|
2038
|
+
const QUESTIONNAIRE = 'AssessmentManagement.Questionnaire';
|
|
2039
|
+
const QUESTION_BANK_ITEM = 'AssessmentManagement.QuestionBankItem';
|
|
2040
|
+
const WORKFLOW_DEFINITION = 'WorkflowManagement.WorkflowDefinition';
|
|
2041
|
+
const HCM_CATALOG_TARGETS = [QUESTIONNAIRE, QUESTION_BANK_ITEM, WORKFLOW_DEFINITION];
|
|
2042
|
+
//#endregion
|
|
2043
|
+
//#region ---- Provider ----
|
|
2044
|
+
class AXMHumanCapitalManagementCatalogScopeDefinitionProvider {
|
|
2045
|
+
async items() {
|
|
2046
|
+
return [
|
|
2047
|
+
{
|
|
2048
|
+
name: HCM_CATALOG_SCOPE_HR,
|
|
2049
|
+
title: '@human-capital-management:catalog-scopes.hr.title',
|
|
2050
|
+
description: '@human-capital-management:catalog-scopes.hr.description',
|
|
2051
|
+
targets: [...HCM_CATALOG_TARGETS],
|
|
2052
|
+
icon: 'fa-light fa-people-arrows',
|
|
2053
|
+
cssClass: 'ax-warning-lighter',
|
|
2054
|
+
order: 10,
|
|
2055
|
+
},
|
|
2056
|
+
];
|
|
2057
|
+
}
|
|
2058
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHumanCapitalManagementCatalogScopeDefinitionProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2059
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHumanCapitalManagementCatalogScopeDefinitionProvider }); }
|
|
2060
|
+
}
|
|
2061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMHumanCapitalManagementCatalogScopeDefinitionProvider, decorators: [{
|
|
2062
|
+
type: Injectable
|
|
2063
|
+
}] });
|
|
2064
|
+
|
|
1945
2065
|
class AXMPermissionDefinitionProvider {
|
|
1946
2066
|
constructor(injector) {
|
|
1947
2067
|
this.injector = injector;
|
|
@@ -2116,14 +2236,24 @@ class AXMHumanCapitalManagementModule {
|
|
|
2116
2236
|
useClass: AXMHumanCapitalManagementLifecycleEventExpressionEvaluatorScopeProvider,
|
|
2117
2237
|
multi: true,
|
|
2118
2238
|
},
|
|
2239
|
+
{
|
|
2240
|
+
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
|
2241
|
+
useClass: AXMHumanCapitalManagementLeaveRequestExpressionEvaluatorScopeProvider,
|
|
2242
|
+
multi: true,
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
provide: AXP_CATALOG_SCOPE_DEFINITION_PROVIDER,
|
|
2246
|
+
useClass: AXMHumanCapitalManagementCatalogScopeDefinitionProvider,
|
|
2247
|
+
multi: true,
|
|
2248
|
+
},
|
|
2119
2249
|
provideCommandSetups([
|
|
2120
2250
|
{
|
|
2121
2251
|
key: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Assign,
|
|
2122
|
-
command: () => import('./acorex-modules-human-capital-management-assign-position-assignment.command-
|
|
2252
|
+
command: () => import('./acorex-modules-human-capital-management-assign-position-assignment.command-pz0IOxa3.mjs').then((c) => c.AXMAssignPositionAssignmentCommand),
|
|
2123
2253
|
},
|
|
2124
2254
|
{
|
|
2125
2255
|
key: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Revoke,
|
|
2126
|
-
command: () => import('./acorex-modules-human-capital-management-revoke-position-assignment.command-
|
|
2256
|
+
command: () => import('./acorex-modules-human-capital-management-revoke-position-assignment.command-Cq-aA79w.mjs').then((c) => c.AXMRevokePositionAssignmentByIdCommand),
|
|
2127
2257
|
},
|
|
2128
2258
|
]),
|
|
2129
2259
|
], imports: [CommonModule,
|
|
@@ -2210,14 +2340,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
2210
2340
|
useClass: AXMHumanCapitalManagementLifecycleEventExpressionEvaluatorScopeProvider,
|
|
2211
2341
|
multi: true,
|
|
2212
2342
|
},
|
|
2343
|
+
{
|
|
2344
|
+
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
|
2345
|
+
useClass: AXMHumanCapitalManagementLeaveRequestExpressionEvaluatorScopeProvider,
|
|
2346
|
+
multi: true,
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
provide: AXP_CATALOG_SCOPE_DEFINITION_PROVIDER,
|
|
2350
|
+
useClass: AXMHumanCapitalManagementCatalogScopeDefinitionProvider,
|
|
2351
|
+
multi: true,
|
|
2352
|
+
},
|
|
2213
2353
|
provideCommandSetups([
|
|
2214
2354
|
{
|
|
2215
2355
|
key: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Assign,
|
|
2216
|
-
command: () => import('./acorex-modules-human-capital-management-assign-position-assignment.command-
|
|
2356
|
+
command: () => import('./acorex-modules-human-capital-management-assign-position-assignment.command-pz0IOxa3.mjs').then((c) => c.AXMAssignPositionAssignmentCommand),
|
|
2217
2357
|
},
|
|
2218
2358
|
{
|
|
2219
2359
|
key: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Revoke,
|
|
2220
|
-
command: () => import('./acorex-modules-human-capital-management-revoke-position-assignment.command-
|
|
2360
|
+
command: () => import('./acorex-modules-human-capital-management-revoke-position-assignment.command-Cq-aA79w.mjs').then((c) => c.AXMRevokePositionAssignmentByIdCommand),
|
|
2221
2361
|
},
|
|
2222
2362
|
]),
|
|
2223
2363
|
],
|
|
@@ -2228,5 +2368,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
2228
2368
|
* Generated bundle index. Do not edit.
|
|
2229
2369
|
*/
|
|
2230
2370
|
|
|
2231
|
-
export { AXM_POSITION_ASSIGNMENT_STATUS as A,
|
|
2232
|
-
//# sourceMappingURL=acorex-modules-human-capital-management-acorex-modules-human-capital-management-
|
|
2371
|
+
export { AXM_POSITION_ASSIGNMENT_STATUS as A, HCM_CATALOG_SCOPE_HR as H, RootConfig as R, AXM_POSITION_ASSIGNMENT_OVERLAPPING_STATUS_IDS as a, AXPHumanCapitalManagementCommandKeys as b, AXMLifecycleEventOpenStatusIds as c, AXMLeaveRequestOpenStatusIds as d, AXMHumanCapitalManagementModule as e, AXMLeaveRequestBadgeProvider as f, AXMLeaveRequestResourceAppointmentProvider as g, AXMLeaveRequestTaskPopoverComponent as h, AXMPermissionsKeys as i, AXPHumanCapitalManagementFeatureDefinitionProvider as j, AXPHumanCapitalManagementFeatureKeys as k, AXPHumanCapitalManagementMenuKeys as l, AXPLeaveRequestDialogService as m, HumanCapitalManagementManifest as n };
|
|
2372
|
+
//# sourceMappingURL=acorex-modules-human-capital-management-acorex-modules-human-capital-management-C1lNgBrC.mjs.map
|