@acorex/modules 21.0.0-next.76 → 21.0.0-next.79
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-index-r6kkpdsP.mjs → acorex-modules-ai-management-agent.entity-3ZBa5t2D.mjs} +5 -2
- package/fesm2022/acorex-modules-ai-management-agent.entity-3ZBa5t2D.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-index-IOX4YfSO.mjs → acorex-modules-ai-management-assist.entity-CeALRRoV.mjs} +5 -2
- package/fesm2022/acorex-modules-ai-management-assist.entity-CeALRRoV.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-index-1AKm3Wpv.mjs → acorex-modules-ai-management-model.entity-DiDaXVa3.mjs} +7 -4
- package/fesm2022/acorex-modules-ai-management-model.entity-DiDaXVa3.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-index-KMGY_nWq.mjs → acorex-modules-ai-management-open-ai-endpoint.entity-CZLNKtl0.mjs} +5 -2
- package/fesm2022/acorex-modules-ai-management-open-ai-endpoint.entity-CZLNKtl0.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-index-D-oYCWiP.mjs → acorex-modules-ai-management-rule.entity-CQNx4QEB.mjs} +5 -2
- package/fesm2022/acorex-modules-ai-management-rule.entity-CQNx4QEB.mjs.map +1 -0
- package/fesm2022/acorex-modules-ai-management.mjs +92 -92
- package/fesm2022/acorex-modules-ai-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-application-management-application-status.provider-BmTGAssq.mjs → acorex-modules-application-management-application-status.provider-CGRoY79H.mjs} +2 -2
- package/fesm2022/acorex-modules-application-management-application-status.provider-CGRoY79H.mjs.map +1 -0
- package/fesm2022/acorex-modules-application-management-permission-definition.provider-DEO50hd3.mjs.map +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +1150 -1147
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-CLXKpUoU.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-yboYQ8I-.mjs} +86 -85
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-yboYQ8I-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case-status.provider-rAq2m3xt.mjs → acorex-modules-assessment-management-assessment-case-status.provider-B9sQAPwy.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-assessment-case-status.provider-B9sQAPwy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-index-VYBOM8GR.mjs → acorex-modules-assessment-management-assessment-case.entity-BBWeshSs.mjs} +9 -6
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-BBWeshSs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session-answers-view.util-DECCIZSO.mjs → acorex-modules-assessment-management-assessment-session-answers-view.util-UCYBAHLk.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-UCYBAHLk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session-status.provider-B-0MdMq1.mjs → acorex-modules-assessment-management-assessment-session-status.provider-Lee6Cwg8.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-assessment-session-status.provider-Lee6Cwg8.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-index-Cj5KtvVT.mjs → acorex-modules-assessment-management-assessment-session.entity-Bp_dS1Js.mjs} +8 -6
- package/fesm2022/acorex-modules-assessment-management-assessment-session.entity-Bp_dS1Js.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-pLGZAFqT.mjs → acorex-modules-assessment-management-fill-assessment-session.command-VivCLw2H.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-VivCLw2H.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-Bgqajt80.mjs → acorex-modules-assessment-management-preview-question.command-CKF4BjCx.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-CKF4BjCx.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-B84qnNRw.mjs → acorex-modules-assessment-management-preview-questionnaire.command-B_2o4jC2.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-B_2o4jC2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-CyZGi_Zx.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-s8KcR3D0.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-s8KcR3D0.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-index-DDhc6vR7.mjs → acorex-modules-assessment-management-question-bank-item.entity-Sj-5woTX.mjs} +9 -7
- package/fesm2022/acorex-modules-assessment-management-question-bank-item.entity-Sj-5woTX.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-CRQjv1Vz.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-ClvQ18w6.mjs} +2 -2
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-ClvQ18w6.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-index-ClRMor3R.mjs → acorex-modules-assessment-management-questionnaire.entity-BbyNZvoc.mjs} +10 -8
- package/fesm2022/acorex-modules-assessment-management-questionnaire.entity-BbyNZvoc.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-review-assessment-session.command-Dgaf88SW.mjs → acorex-modules-assessment-management-review-assessment-session.command-B2QViI9d.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-review-assessment-session.command-B2QViI9d.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CocxFTxZ.mjs → acorex-modules-assessment-management-view-session-answers.command-CWdBtkn1.mjs} +3 -3
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-CWdBtkn1.mjs.map +1 -0
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-rental-history-status.provider-_iNFw6nf.mjs → acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs} +13 -4
- package/fesm2022/acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-index-Bza8Y2Qq.mjs → acorex-modules-asset-management-asset-rental-history.entity-D7g3TSrr.mjs} +10 -6
- package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-D7g3TSrr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-index-BE9Pt9Yl.mjs → acorex-modules-asset-management-asset-system-assignment.entity-ufjDJ-0D.mjs} +7 -4
- package/fesm2022/acorex-modules-asset-management-asset-system-assignment.entity-ufjDJ-0D.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-index-DDyvfemO.mjs → acorex-modules-asset-management-asset-system-type.entity-DbeerQdD.mjs} +7 -4
- package/fesm2022/acorex-modules-asset-management-asset-system-type.entity-DbeerQdD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-index-BQRNWXnd.mjs → acorex-modules-asset-management-asset-system.entity-0Fy7wSBh.mjs} +7 -4
- package/fesm2022/acorex-modules-asset-management-asset-system.entity-0Fy7wSBh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-index-BmydXxB7.mjs → acorex-modules-asset-management-asset-type-section-component.entity-OsuWeo2l.mjs} +7 -4
- package/fesm2022/acorex-modules-asset-management-asset-type-section-component.entity-OsuWeo2l.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-index-BGnVFHyV.mjs → acorex-modules-asset-management-asset-type-section.entity-C6tA_OBh.mjs} +7 -4
- package/fesm2022/acorex-modules-asset-management-asset-type-section.entity-C6tA_OBh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-index-CBoHnVCB.mjs → acorex-modules-asset-management-asset-type.entity-Cjy7Xetu.mjs} +9 -5
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-Cjy7Xetu.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-index-BNW-nI4M.mjs → acorex-modules-asset-management-asset.entity-D1HwzXL_.mjs} +12 -7
- package/fesm2022/acorex-modules-asset-management-asset.entity-D1HwzXL_.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management.mjs +119 -134
- package/fesm2022/acorex-modules-asset-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DBZfh3pH.mjs → acorex-modules-auth-acorex-modules-auth-CUpNfm_0.mjs} +129 -130
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-CUpNfm_0.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DN75LxY3.mjs → acorex-modules-auth-app-chooser.component-DLtnhyB9.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DN75LxY3.mjs.map → acorex-modules-auth-app-chooser.component-DLtnhyB9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-change-password.command-DDH7PMLT.mjs → acorex-modules-auth-change-password.command-DcGeenns.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-change-password.command-DDH7PMLT.mjs.map → acorex-modules-auth-change-password.command-DcGeenns.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-edit-account-info.command-BtzrBEGu.mjs → acorex-modules-auth-edit-account-info.command-BnPtwAxA.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-edit-account-info.command-BtzrBEGu.mjs.map → acorex-modules-auth-edit-account-info.command-BnPtwAxA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-lock-screen.command-BIiErYnc.mjs → acorex-modules-auth-lock-screen.command-Dh0Sgo3_.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-lock-screen.command-BIiErYnc.mjs.map → acorex-modules-auth-lock-screen.command-Dh0Sgo3_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-CM6a_pvB.mjs → acorex-modules-auth-login.module-C8psUPfq.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-CM6a_pvB.mjs.map → acorex-modules-auth-login.module-C8psUPfq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-D9al7lUX.mjs → acorex-modules-auth-master.layout-KMxMqtt8.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-D9al7lUX.mjs.map → acorex-modules-auth-master.layout-KMxMqtt8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CndekwOM.mjs → acorex-modules-auth-oauth-callback.component-BF_3fuuz.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CndekwOM.mjs.map → acorex-modules-auth-oauth-callback.component-BF_3fuuz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-open-sessions.command-Bgk9TcH-.mjs → acorex-modules-auth-open-sessions.command-vxmxqvOa.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-open-sessions.command-Bgk9TcH-.mjs.map → acorex-modules-auth-open-sessions.command-vxmxqvOa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BWEq8tpz.mjs → acorex-modules-auth-password.component-BOoUt4Gn.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-BWEq8tpz.mjs.map → acorex-modules-auth-password.component-BOoUt4Gn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Z980dxkh.mjs → acorex-modules-auth-password.component-Cpjc_S82.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Z980dxkh.mjs.map → acorex-modules-auth-password.component-Cpjc_S82.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-profile-activity-chart.component-8uSUOk9s.mjs → acorex-modules-auth-profile-activity-chart.component-DfWYy7TN.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-profile-activity-chart.component-8uSUOk9s.mjs.map → acorex-modules-auth-profile-activity-chart.component-DfWYy7TN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-profile-delete-account-danger-zone.component-C-zoKWsQ.mjs → acorex-modules-auth-profile-delete-account-danger-zone.component-DJcIyOxg.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-profile-delete-account-danger-zone.component-C-zoKWsQ.mjs.map → acorex-modules-auth-profile-delete-account-danger-zone.component-DJcIyOxg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-profile-page-component.provider-BoGC3tKI.mjs → acorex-modules-auth-profile-page-component.provider-DR2-c0_6.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-profile-page-component.provider-BoGC3tKI.mjs.map → acorex-modules-auth-profile-page-component.provider-DR2-c0_6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-profile-page.component-B-qdKgOT.mjs → acorex-modules-auth-profile-page.component-ChsI9B3Y.mjs} +6 -11
- package/fesm2022/acorex-modules-auth-profile-page.component-ChsI9B3Y.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-remove-pin-code.command-DnYc0CYG.mjs → acorex-modules-auth-remove-pin-code.command-LFwvvyZ9.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-remove-pin-code.command-DnYc0CYG.mjs.map → acorex-modules-auth-remove-pin-code.command-LFwvvyZ9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-Cg0xipUZ.mjs → acorex-modules-auth-routes-CuY_v2GN.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-Cg0xipUZ.mjs.map → acorex-modules-auth-routes-CuY_v2GN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-session-lock-overlay.component-BkpYhoVc.mjs → acorex-modules-auth-session-lock-overlay.component-CwNAumIp.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-session-lock-overlay.component-BkpYhoVc.mjs.map → acorex-modules-auth-session-lock-overlay.component-CwNAumIp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-set-pin-code.command-9DY-hUvp.mjs → acorex-modules-auth-set-pin-code.command-CfIHBTiI.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-set-pin-code.command-9DY-hUvp.mjs.map → acorex-modules-auth-set-pin-code.command-CfIHBTiI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-set-pin-code.component-QhO37PUy.mjs → acorex-modules-auth-set-pin-code.component-CNZE8NXL.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-set-pin-code.component-QhO37PUy.mjs.map → acorex-modules-auth-set-pin-code.component-CNZE8NXL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-settings.provider-DhaMQd28.mjs → acorex-modules-auth-settings.provider-BMc1yFRY.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-settings.provider-DhaMQd28.mjs.map → acorex-modules-auth-settings.provider-BMc1yFRY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Hy_FsSVy.mjs → acorex-modules-auth-tenant-chooser.component-OsTNt9lp.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Hy_FsSVy.mjs.map → acorex-modules-auth-tenant-chooser.component-OsTNt9lp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-l0zICZtk.mjs → acorex-modules-auth-two-factor.module-CcKZ6dpb.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-l0zICZtk.mjs.map → acorex-modules-auth-two-factor.module-CcKZ6dpb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-view-login-history.command-o2IzCKbr.mjs → acorex-modules-auth-view-login-history.command-Crx7Dw2t.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-view-login-history.command-o2IzCKbr.mjs.map → acorex-modules-auth-view-login-history.command-Crx7Dw2t.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-business-core-business-status.entity-BcfEL0kf.mjs +139 -0
- package/fesm2022/acorex-modules-business-core-business-status.entity-BcfEL0kf.mjs.map +1 -0
- package/fesm2022/acorex-modules-business-core-business-type.entity-BP5XZthY.mjs +139 -0
- package/fesm2022/acorex-modules-business-core-business-type.entity-BP5XZthY.mjs.map +1 -0
- package/fesm2022/acorex-modules-business-core-industry.entity-Byz8pFA7.mjs +139 -0
- package/fesm2022/acorex-modules-business-core-industry.entity-Byz8pFA7.mjs.map +1 -0
- package/fesm2022/acorex-modules-business-core-manufacturer.entity-CKzGz3Ix.mjs +286 -0
- package/fesm2022/acorex-modules-business-core-manufacturer.entity-CKzGz3Ix.mjs.map +1 -0
- package/fesm2022/acorex-modules-business-core.mjs +313 -993
- package/fesm2022/acorex-modules-business-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +73 -57
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +240 -136
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-content-management-acorex-modules-content-management-DSdJ2hZ-.mjs → acorex-modules-content-management-acorex-modules-content-management-B5zqb3b_.mjs} +138 -58
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-B5zqb3b_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-content-management-permission-definition.provider-DRVW7Xxa.mjs → acorex-modules-content-management-permission-definition.provider-DxI6NmP4.mjs} +2 -2
- package/fesm2022/acorex-modules-content-management-permission-definition.provider-DxI6NmP4.mjs.map +1 -0
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-edit.component-DwUqz7ZX.mjs → acorex-modules-content-management-template-content-editor-widget-edit.component-ChmkpMy9.mjs} +2 -2
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-edit.component-DwUqz7ZX.mjs.map → acorex-modules-content-management-template-content-editor-widget-edit.component-ChmkpMy9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-view.component-CnUc_fhC.mjs → acorex-modules-content-management-template-content-editor-widget-view.component-LyoQmopL.mjs} +2 -2
- package/fesm2022/{acorex-modules-content-management-template-content-editor-widget-view.component-CnUc_fhC.mjs.map → acorex-modules-content-management-template-content-editor-widget-view.component-LyoQmopL.mjs.map} +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +1 -1
- package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-DtFH9LbP.mjs → acorex-modules-conversation-acorex-modules-conversation-lPw23AJc.mjs} +191 -192
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-lPw23AJc.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Cpc1seYt.mjs → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-D0SGSQC8.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Cpc1seYt.mjs.map → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-D0SGSQC8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-comments-page.component-B1CmPB0U.mjs → acorex-modules-conversation-comments-page.component-Bqeplzuy.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-B1CmPB0U.mjs.map → acorex-modules-conversation-comments-page.component-Bqeplzuy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-BFFF5GTX.mjs → acorex-modules-conversation-send-assist-chat-message.command-CFwkUHCc.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-BFFF5GTX.mjs.map → acorex-modules-conversation-send-assist-chat-message.command-CFwkUHCc.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-C-KVIK-L.mjs → acorex-modules-conversation-start-assist-chat.command-aEOnD6ax.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-C-KVIK-L.mjs.map → acorex-modules-conversation-start-assist-chat.command-aEOnD6ax.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/{acorex-modules-customer-management-index-Df-6hCzG.mjs → acorex-modules-customer-management-activity.entity-BENCtWk0.mjs} +4 -2
- package/fesm2022/acorex-modules-customer-management-activity.entity-BENCtWk0.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-index-CQLsaDJ-.mjs → acorex-modules-customer-management-customer.entity-Doc1f5gH.mjs} +7 -3
- package/fesm2022/acorex-modules-customer-management-customer.entity-Doc1f5gH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-index-CQWjFZ-D.mjs → acorex-modules-customer-management-deal-contact-role.entity-BmDALoWz.mjs} +7 -4
- package/fesm2022/acorex-modules-customer-management-deal-contact-role.entity-BmDALoWz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-index-7teVSkdT.mjs → acorex-modules-customer-management-lead.entity-CH7iga2T.mjs} +5 -2
- package/fesm2022/acorex-modules-customer-management-lead.entity-CH7iga2T.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-index-B0wUbd2e.mjs → acorex-modules-customer-management-opportunity-stage.entity-gXGyRjOR.mjs} +4 -2
- package/fesm2022/acorex-modules-customer-management-opportunity-stage.entity-gXGyRjOR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-index-DwPwxZI6.mjs → acorex-modules-customer-management-opportunity.entity-BX1vocD3.mjs} +7 -3
- package/fesm2022/acorex-modules-customer-management-opportunity.entity-BX1vocD3.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-index-DHaf2JAF.mjs → acorex-modules-customer-management-sales-pipeline.entity-TN7eqaA1.mjs} +4 -2
- package/fesm2022/acorex-modules-customer-management-sales-pipeline.entity-TN7eqaA1.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management.mjs +28 -42
- package/fesm2022/acorex-modules-customer-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-d_3MEOVx.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-D2TrYnCW.mjs} +45 -49
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-D2TrYnCW.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-index-0npgb7TY.mjs → acorex-modules-dashboard-management-index-DAQNEq43.mjs} +2 -2
- package/fesm2022/acorex-modules-dashboard-management-index-DAQNEq43.mjs.map +1 -0
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +899 -900
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management-document-shortcut.entity-D3BI4azq.mjs +30 -0
- package/fesm2022/acorex-modules-document-management-document-shortcut.entity-D3BI4azq.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-drive-choose.component-DyJoXajP.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +75 -109
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-financial-core-data-source.provider-Do4rvgy4.mjs.map +1 -1
- package/fesm2022/acorex-modules-financial-core.mjs +625 -608
- package/fesm2022/acorex-modules-financial-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-CtTkFhXf.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-CNWAvD6Z.mjs +412 -0
- package/fesm2022/acorex-modules-form-template-management-template.entity-CNWAvD6Z.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management.mjs +30 -442
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-health-core-allergy-type.entity-Ba06KigW.mjs +68 -0
- package/fesm2022/acorex-modules-health-core-allergy-type.entity-Ba06KigW.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-blood-type.entity-165JDo8r.mjs +121 -0
- package/fesm2022/acorex-modules-health-core-blood-type.entity-165JDo8r.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-body-part.entity-CGk798g1.mjs +68 -0
- package/fesm2022/acorex-modules-health-core-body-part.entity-CGk798g1.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-CHeAJ1Mm.mjs +68 -0
- package/fesm2022/acorex-modules-health-core-chronic-condition-type.entity-CHeAJ1Mm.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-disability-status.entity-DN5reubi.mjs +121 -0
- package/fesm2022/acorex-modules-health-core-disability-status.entity-DN5reubi.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-injury-type.entity-x9bs6Zly.mjs +68 -0
- package/fesm2022/acorex-modules-health-core-injury-type.entity-x9bs6Zly.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core-vaccination-type.entity-DlQ4MQVm.mjs +68 -0
- package/fesm2022/acorex-modules-health-core-vaccination-type.entity-DlQ4MQVm.mjs.map +1 -0
- package/fesm2022/acorex-modules-health-core.mjs +92 -2407
- package/fesm2022/acorex-modules-health-core.mjs.map +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-AWSV_TiH.mjs → acorex-modules-help-desk-acorex-modules-help-desk-B8de7ifz.mjs} +204 -208
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-B8de7ifz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DjUG9lk7.mjs → acorex-modules-help-desk-capture-screen.component-O3qJdpnt.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DjUG9lk7.mjs.map → acorex-modules-help-desk-capture-screen.component-O3qJdpnt.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-BQ7fkZVA.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-CqROha3-.mjs} +201 -1699
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-CqROha3-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-8MwfTrgO.mjs → acorex-modules-human-capital-management-approve-leave-request.command-B0pyS4rY.mjs} +3 -3
- package/fesm2022/acorex-modules-human-capital-management-approve-leave-request.command-B0pyS4rY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-DJft6ua8.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-Dc0eoIAI.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-assign-position-assignment.command-Dc0eoIAI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-r5zEA5Oa.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-TjMXVKCB.mjs} +3 -3
- package/fesm2022/acorex-modules-human-capital-management-cancel-leave-request.command-TjMXVKCB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-edit-personal-info.command-CTQywAzz.mjs → acorex-modules-human-capital-management-edit-personal-info.command-uCNZW1KF.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-edit-personal-info.command-CTQywAzz.mjs.map → acorex-modules-human-capital-management-edit-personal-info.command-uCNZW1KF.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-edit-signature.command-9XI2V0Yt.mjs → acorex-modules-human-capital-management-edit-signature.command-9psDoX-o.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-edit-signature.command-9psDoX-o.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-BRkS6cY0.mjs +416 -0
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-BRkS6cY0.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-BZ1vVzeJ.mjs +99 -0
- package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-BZ1vVzeJ.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-C_hKrBJ1.mjs +292 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-C_hKrBJ1.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-1FFKAk-t.mjs +95 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-1FFKAk-t.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event-type.entity-3zBc21d1.mjs +121 -0
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event-type.entity-3zBc21d1.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event.entity-CeE-5Dko.mjs +226 -0
- package/fesm2022/acorex-modules-human-capital-management-lifecycle-event.entity-CeE-5Dko.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BABjM2Mr.mjs +267 -0
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BABjM2Mr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-Ba2f-i0A.mjs → acorex-modules-human-capital-management-reject-leave-request.command-DHqsjUdQ.mjs} +3 -3
- package/fesm2022/acorex-modules-human-capital-management-reject-leave-request.command-DHqsjUdQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-g9p7YKJ1.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-DQqsqBRM.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-revoke-position-assignment.command-DQqsqBRM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-start-leave-request-flow.command-BPFrBjWG.mjs → acorex-modules-human-capital-management-start-leave-request-flow.command-nF6sDrFL.mjs} +3 -3
- package/fesm2022/acorex-modules-human-capital-management-start-leave-request-flow.command-nF6sDrFL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-C62jEjUD.mjs → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-Bya_9T7H.mjs} +7 -19
- package/fesm2022/acorex-modules-human-capital-management-start-lifecycle-event-flow.command-Bya_9T7H.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-identifier-management.mjs +1 -11
- package/fesm2022/acorex-modules-identifier-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-learning-management-index-CnBTaY0y.mjs → acorex-modules-learning-management-attendance.entity-40THDVHu.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-attendance.entity-40THDVHu.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-Cb6YmwUo.mjs → acorex-modules-learning-management-certificate-definition.entity-DzRELZ1L.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-certificate-definition.entity-DzRELZ1L.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-pWAVoZBF.mjs → acorex-modules-learning-management-certificate-type.entity-Br35cJ-M.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-certificate-type.entity-Br35cJ-M.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-DdgLO2B8.mjs → acorex-modules-learning-management-certificate.entity-DA882F-J.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-certificate.entity-DA882F-J.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-DnUv_C6e.mjs → acorex-modules-learning-management-course-type.entity-DAc4cRbW.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-course-type.entity-DAc4cRbW.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-Da29yyOM.mjs → acorex-modules-learning-management-course.entity-HoC-FUPB.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-course.entity-HoC-FUPB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-DPb7aOIM.mjs → acorex-modules-learning-management-enrollment.entity-D4j7oSWb.mjs} +8 -5
- package/fesm2022/acorex-modules-learning-management-enrollment.entity-D4j7oSWb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-Dxutf3MN.mjs → acorex-modules-learning-management-learning-path-course.entity-B0DurZqy.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-learning-path-course.entity-B0DurZqy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-CnXPymvw.mjs → acorex-modules-learning-management-learning-path.entity-C-FcZefB.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-learning-path.entity-C-FcZefB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-CtfhNokr.mjs → acorex-modules-learning-management-mandatory-training-rule.entity-CxsoSJh-.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-mandatory-training-rule.entity-CxsoSJh-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-D4Yh8EmO.mjs → acorex-modules-learning-management-skill-level.entity-CnAgJyuR.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-skill-level.entity-CnAgJyuR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-DJ4H2IOW.mjs → acorex-modules-learning-management-skill.entity-DmIjc2gw.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-skill.entity-DmIjc2gw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-9Sessbgl.mjs → acorex-modules-learning-management-training-definition.entity-DPY0OQdW.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-training-definition.entity-DPY0OQdW.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-B2ZI7U9N.mjs → acorex-modules-learning-management-training-type.entity-Bt37GacX.mjs} +7 -4
- package/fesm2022/acorex-modules-learning-management-training-type.entity-Bt37GacX.mjs.map +1 -0
- package/fesm2022/{acorex-modules-learning-management-index-D3O6qDpQ.mjs → acorex-modules-learning-management-training.entity-BkxK-rqz.mjs} +8 -5
- package/fesm2022/acorex-modules-learning-management-training.entity-BkxK-rqz.mjs.map +1 -0
- package/fesm2022/acorex-modules-learning-management.mjs +168 -153
- package/fesm2022/acorex-modules-learning-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +71 -62
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +1211 -1210
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-status.provider-DM5m-VsU.mjs → acorex-modules-maintenance-management-failure-register-status.provider-B8-Snxbx.mjs} +2 -2
- package/fesm2022/acorex-modules-maintenance-management-failure-register-status.provider-B8-Snxbx.mjs.map +1 -0
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-B9Jp4r3m.mjs +487 -0
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-B9Jp4r3m.mjs.map +1 -0
- package/fesm2022/acorex-modules-maintenance-management-work-order-list-command-BMsD_d6k.mjs.map +1 -1
- package/fesm2022/acorex-modules-maintenance-management.mjs +631 -901
- package/fesm2022/acorex-modules-maintenance-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-measurement-core.mjs +923 -907
- package/fesm2022/acorex-modules-measurement-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-meeting-management-meeting-schedule.entity-BJGUKFuu.mjs +107 -0
- package/fesm2022/acorex-modules-meeting-management-meeting-schedule.entity-BJGUKFuu.mjs.map +1 -0
- package/fesm2022/acorex-modules-meeting-management.mjs +170 -278
- package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-notification-management-acorex-modules-notification-management-W0YINm5V.mjs → acorex-modules-notification-management-acorex-modules-notification-management-ZgxwReDF.mjs} +574 -584
- package/fesm2022/acorex-modules-notification-management-acorex-modules-notification-management-ZgxwReDF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-notification-management-notification-page.component-BAQGDRTj.mjs → acorex-modules-notification-management-notification-page.component-DlFbwB9o.mjs} +2 -2
- package/fesm2022/{acorex-modules-notification-management-notification-page.component-BAQGDRTj.mjs.map → acorex-modules-notification-management-notification-page.component-DlFbwB9o.mjs.map} +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +1 -1
- package/fesm2022/{acorex-modules-order-management-index-Du2PsO2f.mjs → acorex-modules-order-management-bulk-buy-order-item.entity-DsXE-kqT.mjs} +11 -5
- package/fesm2022/acorex-modules-order-management-bulk-buy-order-item.entity-DsXE-kqT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-bulk-buy-order-status.provider-C6HBZfQ_.mjs → acorex-modules-order-management-bulk-buy-order-status.provider-CECieSZF.mjs} +2 -2
- package/fesm2022/acorex-modules-order-management-bulk-buy-order-status.provider-CECieSZF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-index-DUMuaQGE.mjs → acorex-modules-order-management-bulk-buy-order.entity-B9f4Tppc.mjs} +8 -3
- package/fesm2022/acorex-modules-order-management-bulk-buy-order.entity-B9f4Tppc.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-entity.provider-BVlBsDWW.mjs → acorex-modules-order-management-entity.provider-ZaDnKtBk.mjs} +5 -5
- package/fesm2022/acorex-modules-order-management-entity.provider-ZaDnKtBk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-index-QHrmfhTE.mjs → acorex-modules-order-management-member-order-line.entity-BX3rQTJ1.mjs} +6 -2
- package/fesm2022/acorex-modules-order-management-member-order-line.entity-BX3rQTJ1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-member-order-status.provider-CKIrQc_7.mjs → acorex-modules-order-management-member-order-status.provider-Bkrzylqm.mjs} +2 -2
- package/fesm2022/acorex-modules-order-management-member-order-status.provider-Bkrzylqm.mjs.map +1 -0
- package/fesm2022/{acorex-modules-order-management-index-BeIiBPSs.mjs → acorex-modules-order-management-member-order.entity-BItj1CLq.mjs} +8 -3
- package/fesm2022/acorex-modules-order-management-member-order.entity-BItj1CLq.mjs.map +1 -0
- package/fesm2022/acorex-modules-order-management-menu.provider-DeMKkRZa.mjs.map +1 -1
- package/fesm2022/acorex-modules-order-management-permission-definition.provider-B8ext6Sn.mjs.map +1 -1
- package/fesm2022/acorex-modules-order-management-settings.provider-BFOghuIS.mjs.map +1 -1
- package/fesm2022/acorex-modules-order-management.mjs +54 -54
- package/fesm2022/acorex-modules-order-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management-JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY-BYfbGGOE.mjs +8 -0
- package/fesm2022/acorex-modules-organization-management-JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY-BYfbGGOE.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-Cl-ecmKK.mjs +917 -0
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-Cl-ecmKK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-23eGqIxP.mjs → acorex-modules-organization-management-add-business-unit-to-business-unit.command-BUOpdwIy.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-add-business-unit-to-business-unit.command-BUOpdwIy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-B4C1jxs3.mjs → acorex-modules-organization-management-add-position-to-business-unit.command-CcoGv5J7.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-add-position-to-business-unit.command-CcoGv5J7.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-add-team-to-business-unit.command-B5vh3rwS.mjs → acorex-modules-organization-management-add-team-to-business-unit.command-n9FYDyKE.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-add-team-to-business-unit.command-n9FYDyKE.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-business-unit.entity-LYKMuTLO.mjs +404 -0
- package/fesm2022/acorex-modules-organization-management-business-unit.entity-LYKMuTLO.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-chart.entity-BxAJonRP.mjs +200 -0
- package/fesm2022/acorex-modules-organization-management-chart.entity-BxAJonRP.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-company.entity-Cexgxajh.mjs +136 -0
- package/fesm2022/acorex-modules-organization-management-company.entity-Cexgxajh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-entity.provider-3IL0cFTC.mjs → acorex-modules-organization-management-entity.provider-Dqn382Z2.mjs} +15 -15
- package/fesm2022/acorex-modules-organization-management-entity.provider-Dqn382Z2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-DsSdRjcX.mjs → acorex-modules-organization-management-feature-definition.provider-C7VhASKJ.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-feature-definition.provider-C7VhASKJ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-BRovo6NC.mjs → acorex-modules-organization-management-job-definition-pages-component.provider-Bacrw4_J.mjs} +4 -4
- package/fesm2022/acorex-modules-organization-management-job-definition-pages-component.provider-Bacrw4_J.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-CNtaaDfp.mjs → acorex-modules-organization-management-job-definition-responsibilities-page.component-BJkc7c-G.mjs} +3 -3
- package/fesm2022/acorex-modules-organization-management-job-definition-responsibilities-page.component-BJkc7c-G.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-D1ymUBeQ.mjs → acorex-modules-organization-management-job-definition-skills-page.component-GuFiBC0r.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-job-definition-skills-page.component-GuFiBC0r.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-job-definition.entity-DsdjfMCs.mjs +321 -0
- package/fesm2022/acorex-modules-organization-management-job-definition.entity-DsdjfMCs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-_6F_fvTn.mjs → acorex-modules-organization-management-job-level.datasource-CCvVPEVM.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-job-level.datasource-CCvVPEVM.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-job-level.entity-BrBHqHqn.mjs +271 -0
- package/fesm2022/acorex-modules-organization-management-job-level.entity-BrBHqHqn.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-menu.provider-Dt7bfM-4.mjs → acorex-modules-organization-management-menu.provider-BeCkTwia.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-menu.provider-BeCkTwia.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-default-node-contribution.provider-Cf789vAr.mjs → acorex-modules-organization-management-org-chart-default-node-contribution.provider-DDY2Cgu6.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart-default-node-contribution.provider-DDY2Cgu6.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-CL32hDBZ.mjs → acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-DbSxtEz6.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-DbSxtEz6.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-CpNTM-Ts.mjs → acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-ByqjxY2S.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-ByqjxY2S.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-ux-node-contribution.provider-D-qPXdfm.mjs → acorex-modules-organization-management-org-chart-ux-node-contribution.provider-DdyF5QS0.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart-ux-node-contribution.provider-DdyF5QS0.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-BglvBI8J.mjs → acorex-modules-organization-management-org-chart.page-DD1lvTXR.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DD1lvTXR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-BOz0kQKZ.mjs → acorex-modules-organization-management-permission-definition.provider-CbXQwY_b.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-permission-definition.provider-CbXQwY_b.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-position.entity-qwL31RSs.mjs +543 -0
- package/fesm2022/acorex-modules-organization-management-position.entity-qwL31RSs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-CcfOkd7Z.mjs → acorex-modules-organization-management-remove-position-from-business-unit.command-B1mrTFbI.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-remove-position-from-business-unit.command-B1mrTFbI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-nNGkuyKE.mjs → acorex-modules-organization-management-replace-position-assignee.command-B3OVj92j.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-nNGkuyKE.mjs.map → acorex-modules-organization-management-replace-position-assignee.command-B3OVj92j.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CymCi80F.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-COCty9r1.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-CymCi80F.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-COCty9r1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-E46T_VO-.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BAC2jImJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-E46T_VO-.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BAC2jImJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-Bw22pUUE.mjs → acorex-modules-organization-management-responsibilities-matrix.component-CQ1RKj2l.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-CQ1RKj2l.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-DwpUOhLh.mjs +135 -0
- package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-DwpUOhLh.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-3d2Im-NE.mjs +203 -0
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-3d2Im-NE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-settings.provider-BOMwSEpo.mjs → acorex-modules-organization-management-settings.provider-B4ijPkN_.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-settings.provider-BOMwSEpo.mjs.map → acorex-modules-organization-management-settings.provider-B4ijPkN_.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-team-business-unit.entity-DdIc2pIC.mjs +300 -0
- package/fesm2022/acorex-modules-organization-management-team-business-unit.entity-DdIc2pIC.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-team-member-role.entity-UqmN5-zL.mjs +150 -0
- package/fesm2022/acorex-modules-organization-management-team-member-role.entity-UqmN5-zL.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-team-member.entity-BlsBC7oU.mjs +251 -0
- package/fesm2022/acorex-modules-organization-management-team-member.entity-BlsBC7oU.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-team.entity-rRp5rEKa.mjs +307 -0
- package/fesm2022/acorex-modules-organization-management-team.entity-rRp5rEKa.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +1 -1
- package/fesm2022/acorex-modules-person-core-education-level.entity-BudWedmZ.mjs +121 -0
- package/fesm2022/acorex-modules-person-core-education-level.entity-BudWedmZ.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-gender.entity-BrnPFMd_.mjs +121 -0
- package/fesm2022/acorex-modules-person-core-gender.entity-BrnPFMd_.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-marital-status.entity-JSXaOaKH.mjs +121 -0
- package/fesm2022/acorex-modules-person-core-marital-status.entity-JSXaOaKH.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BwQ0fj61.mjs +191 -0
- package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BwQ0fj61.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-person-title.entity-DPEl0HTw.mjs +121 -0
- package/fesm2022/acorex-modules-person-core-person-title.entity-DPEl0HTw.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-religion.entity-DD1UG9on.mjs +121 -0
- package/fesm2022/acorex-modules-person-core-religion.entity-DD1UG9on.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core.mjs +286 -1139
- package/fesm2022/acorex-modules-person-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-dev-tools-menu.provider-BYy7NCvH.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-dev-tools.mjs +27 -27
- package/fesm2022/acorex-modules-platform-dev-tools.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-CdMzH5Qu.mjs → acorex-modules-platform-management-acorex-modules-platform-management-ilmoyxAw.mjs} +46 -47
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-ilmoyxAw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-B8ZKMl1A.mjs → acorex-modules-platform-management-menu-list.component-MJCUVTho.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-B8ZKMl1A.mjs.map → acorex-modules-platform-management-menu-list.component-MJCUVTho.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-procurement-management.mjs +16 -15
- package/fesm2022/acorex-modules-procurement-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-product-catalog-brand.entity-DLK1M-a5.mjs +261 -0
- package/fesm2022/acorex-modules-product-catalog-brand.entity-DLK1M-a5.mjs.map +1 -0
- package/fesm2022/acorex-modules-product-catalog-product-sku.entity-Dd43Ph0b.mjs +596 -0
- package/fesm2022/acorex-modules-product-catalog-product-sku.entity-Dd43Ph0b.mjs.map +1 -0
- package/fesm2022/acorex-modules-product-catalog-product.entity-CcLvq1uX.mjs +668 -0
- package/fesm2022/acorex-modules-product-catalog-product.entity-CcLvq1uX.mjs.map +1 -0
- package/fesm2022/acorex-modules-product-catalog.mjs +33 -1545
- package/fesm2022/acorex-modules-product-catalog.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +230 -234
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-DaPEmTm9.mjs → acorex-modules-report-management-report-runner-root-page.component-Dum62tB8.mjs} +3 -2
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-Dum62tB8.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management-settings.provider-CA7o3xKu.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +3 -4
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-reservation-management-index-DySHYsCz.mjs → acorex-modules-reservation-management-reservation-class-status.entity-CsOec92Y.mjs} +6 -2
- package/fesm2022/acorex-modules-reservation-management-reservation-class-status.entity-CsOec92Y.mjs.map +1 -0
- package/fesm2022/{acorex-modules-reservation-management-index-DNLOtNNW.mjs → acorex-modules-reservation-management-reservation-resource-type.entity-DiEkzSO2.mjs} +6 -2
- package/fesm2022/acorex-modules-reservation-management-reservation-resource-type.entity-DiEkzSO2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-reservation-management-index-DSDnPzHh.mjs → acorex-modules-reservation-management-reservation-status-transition.entity-CSj9-uAb.mjs} +5 -2
- package/fesm2022/acorex-modules-reservation-management-reservation-status-transition.entity-CSj9-uAb.mjs.map +1 -0
- package/fesm2022/acorex-modules-reservation-management.mjs +52 -47
- package/fesm2022/acorex-modules-reservation-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-risk-management.mjs +115 -122
- package/fesm2022/acorex-modules-risk-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management-profile.entity-BSDeLsJ1.mjs +168 -0
- package/fesm2022/acorex-modules-security-management-profile.entity-BSDeLsJ1.mjs.map +1 -0
- package/fesm2022/acorex-modules-security-management-terminate-session.command-CRWFd-YW.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +322 -455
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-settings-management-acorex-modules-settings-management-e5asXiK4.mjs +798 -0
- package/fesm2022/acorex-modules-settings-management-acorex-modules-settings-management-e5asXiK4.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-CfCLhvZi.mjs → acorex-modules-settings-management-permission-definition.provider-D5DqCfiz.mjs} +2 -2
- package/fesm2022/acorex-modules-settings-management-permission-definition.provider-D5DqCfiz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-B7wP0i5k.mjs → acorex-modules-settings-management-setting-page.component-TxoOyBRc.mjs} +6 -9
- package/fesm2022/acorex-modules-settings-management-setting-page.component-TxoOyBRc.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-CG-GW2yS.mjs → acorex-modules-settings-management-setting-view.component-CuDjGo2x.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-CG-GW2yS.mjs.map → acorex-modules-settings-management-setting-view.component-CuDjGo2x.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +1 -813
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-subscription-management.mjs +52 -47
- package/fesm2022/acorex-modules-subscription-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-supplier-management.mjs +36 -34
- package/fesm2022/acorex-modules-supplier-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-system-insight.mjs +61 -74
- package/fesm2022/acorex-modules-system-insight.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-DhPzh72z.mjs → acorex-modules-task-management-task-board.page-t7bncwGo.mjs} +4 -4
- package/fesm2022/acorex-modules-task-management-task-board.page-t7bncwGo.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +4481 -4489
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-tenant-management.mjs +48 -42
- package/fesm2022/acorex-modules-tenant-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs +5 -0
- package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-acorex-modules-workflow-management-AgY9tA7s.mjs → acorex-modules-workflow-management-acorex-modules-workflow-management-LJ8Bb-CT.mjs} +142 -1452
- package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-LJ8Bb-CT.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-Bhx1tC1u.mjs +255 -0
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-Bhx1tC1u.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-automation.entity-C_WRtcFX.mjs +279 -0
- package/fesm2022/acorex-modules-workflow-management-automation.entity-C_WRtcFX.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-index-DmnrXTPk.mjs → acorex-modules-workflow-management-index--D61tV-f.mjs} +4 -3
- package/fesm2022/acorex-modules-workflow-management-index--D61tV-f.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-index-CvPrfCTv.mjs → acorex-modules-workflow-management-index-8gv17yqF.mjs} +3 -3
- package/fesm2022/{acorex-modules-workflow-management-index-CvPrfCTv.mjs.map → acorex-modules-workflow-management-index-8gv17yqF.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-index-78oCkrbR.mjs → acorex-modules-workflow-management-index-DXIQw3Ao.mjs} +5 -3
- package/fesm2022/acorex-modules-workflow-management-index-DXIQw3Ao.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-index-OK7e-UOe.mjs +264 -0
- package/fesm2022/acorex-modules-workflow-management-index-OK7e-UOe.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-save-workflow-definition-activities.command-aLlfQxaT.mjs → acorex-modules-workflow-management-save-workflow-definition-activities.command-huamhFhc.mjs} +3 -3
- package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-huamhFhc.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-configurator-widget-column.component-Ph_BjL_5.mjs → acorex-modules-workflow-management-workflow-configurator-widget-column.component-B0f5IsoE.mjs} +2 -2
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-column.component-B0f5IsoE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-configurator-widget-edit.component-CfKTRKNQ.mjs → acorex-modules-workflow-management-workflow-configurator-widget-edit.component-DQ703kRI.mjs} +3 -5
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-edit.component-DQ703kRI.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DFN7awRu.mjs +313 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DFN7awRu.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-DcqLomn4.mjs +256 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-DcqLomn4.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-run-history-popup.component-D1A_EHNk.mjs → acorex-modules-workflow-management-workflow-run-history-popup.component-FLqOdI2t.mjs} +7 -6
- package/fesm2022/acorex-modules-workflow-management-workflow-run-history-popup.component-FLqOdI2t.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-task-popover.component-CHvHPHt9.mjs → acorex-modules-workflow-management-workflow-task-popover.component-Cvbzknxk.mjs} +4 -4
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-Cvbzknxk.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +1 -1
- package/fesm2022/{acorex-modules-workplacesafety-management-hazard-ppe-rule-status.provider-CsJpSfdA.mjs → acorex-modules-workplacesafety-management-hazard-ppe-rule-status.provider-D1a0CBhs.mjs} +2 -2
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-ppe-rule-status.provider-D1a0CBhs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workplacesafety-management-hazard-status.provider-CmtTvpk0.mjs → acorex-modules-workplacesafety-management-hazard-status.provider-v1cFaa3q.mjs} +2 -2
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-status.provider-v1cFaa3q.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workplacesafety-management-ppe-item-status.provider-Bx2yqUVH.mjs → acorex-modules-workplacesafety-management-ppe-item-status.provider-VH_Bp0l5.mjs} +2 -2
- package/fesm2022/acorex-modules-workplacesafety-management-ppe-item-status.provider-VH_Bp0l5.mjs.map +1 -0
- package/fesm2022/acorex-modules-workplacesafety-management.mjs +548 -1214
- package/fesm2022/acorex-modules-workplacesafety-management.mjs.map +1 -1
- package/package.json +2 -18
- package/types/acorex-modules-ai-management.d.ts +34 -35
- package/types/acorex-modules-application-management.d.ts +47 -23
- package/types/acorex-modules-assessment-management.d.ts +677 -683
- package/types/acorex-modules-asset-management.d.ts +79 -96
- package/types/acorex-modules-auth.d.ts +9 -2
- package/types/acorex-modules-business-core.d.ts +64 -72
- package/types/acorex-modules-calendar-management.d.ts +4 -4
- package/types/acorex-modules-common.d.ts +117 -11
- package/types/acorex-modules-content-management.d.ts +31 -24
- package/types/acorex-modules-conversation.d.ts +73 -74
- package/types/acorex-modules-customer-management.d.ts +55 -69
- package/types/acorex-modules-dashboard-management.d.ts +66 -64
- package/types/acorex-modules-data-management.d.ts +22 -100
- package/types/acorex-modules-document-management.d.ts +40 -47
- package/types/acorex-modules-financial-core.d.ts +69 -69
- package/types/acorex-modules-form-template-management.d.ts +2 -4
- package/types/acorex-modules-health-core.d.ts +29 -241
- package/types/acorex-modules-help-desk.d.ts +38 -44
- package/types/acorex-modules-human-capital-management.d.ts +54 -67
- package/types/acorex-modules-learning-management.d.ts +2 -2
- package/types/acorex-modules-locale-management.d.ts +4 -4
- package/types/acorex-modules-location-management.d.ts +67 -67
- package/types/acorex-modules-maintenance-management.d.ts +43 -45
- package/types/acorex-modules-measurement-core.d.ts +106 -106
- package/types/acorex-modules-meeting-management.d.ts +23 -31
- package/types/acorex-modules-notification-management.d.ts +20 -19
- package/types/acorex-modules-order-management.d.ts +39 -39
- package/types/acorex-modules-organization-management.d.ts +109 -137
- package/types/acorex-modules-person-core.d.ts +52 -73
- package/types/acorex-modules-platform-management.d.ts +3 -1
- package/types/acorex-modules-procurement-management.d.ts +3 -1
- package/types/acorex-modules-product-catalog.d.ts +6 -13
- package/types/acorex-modules-project-management.d.ts +15 -16
- package/types/acorex-modules-report-management.d.ts +4 -3
- package/types/acorex-modules-reservation-management.d.ts +3 -3
- package/types/acorex-modules-risk-management.d.ts +54 -57
- package/types/acorex-modules-security-management.d.ts +63 -65
- package/types/acorex-modules-settings-management.d.ts +1 -15
- package/types/acorex-modules-subscription-management.d.ts +3 -4
- package/types/acorex-modules-supplier-management.d.ts +4 -4
- package/types/acorex-modules-system-insight.d.ts +3 -4
- package/types/acorex-modules-task-management.d.ts +205 -206
- package/types/acorex-modules-tenant-management.d.ts +4 -5
- package/types/acorex-modules-workflow-management.d.ts +4 -23
- package/types/acorex-modules-workplacesafety-management.d.ts +16 -153
- package/fesm2022/acorex-modules-ai-management-index-1AKm3Wpv.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-index-D-oYCWiP.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-index-IOX4YfSO.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-index-KMGY_nWq.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-index-r6kkpdsP.mjs.map +0 -1
- package/fesm2022/acorex-modules-application-management-application-status.provider-BmTGAssq.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-CLXKpUoU.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-case-status.provider-rAq2m3xt.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-session-answers-view.util-DECCIZSO.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-session-status.provider-B-0MdMq1.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-pLGZAFqT.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-index-Cj5KtvVT.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-index-ClRMor3R.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-index-DDhc6vR7.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-index-VYBOM8GR.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-Bgqajt80.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-questionnaire.command-B84qnNRw.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-CyZGi_Zx.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-questionnaire-viewer-popup.component-CRQjv1Vz.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-review-assessment-session.command-Dgaf88SW.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-view-session-answers.command-CocxFTxZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-rental-history-status.provider-_iNFw6nf.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-index-BE9Pt9Yl.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-index-BGnVFHyV.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-index-BNW-nI4M.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-index-BQRNWXnd.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-index-BmydXxB7.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-index-Bza8Y2Qq.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-index-CBoHnVCB.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-index-DDyvfemO.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DBZfh3pH.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-profile-page.component-B-qdKgOT.mjs.map +0 -1
- package/fesm2022/acorex-modules-calendar-management-index-DIxSknUT.mjs +0 -6
- package/fesm2022/acorex-modules-calendar-management-index-DIxSknUT.mjs.map +0 -1
- package/fesm2022/acorex-modules-calendar-management-index-pvTUhYWL.mjs +0 -6
- package/fesm2022/acorex-modules-calendar-management-index-pvTUhYWL.mjs.map +0 -1
- package/fesm2022/acorex-modules-calendar-management-index-xkdBRrFw.mjs +0 -6
- package/fesm2022/acorex-modules-calendar-management-index-xkdBRrFw.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-core-acorex-modules-contact-core-D9-WvwGJ.mjs +0 -425
- package/fesm2022/acorex-modules-contact-core-acorex-modules-contact-core-D9-WvwGJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-core-entity.provider-Cl4zx8WX.mjs +0 -35
- package/fesm2022/acorex-modules-contact-core-entity.provider-Cl4zx8WX.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-core-menu.provider-DfUbrqFh.mjs +0 -57
- package/fesm2022/acorex-modules-contact-core-menu.provider-DfUbrqFh.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-core-permission-definition.provider-Dni6YOWm.mjs +0 -24
- package/fesm2022/acorex-modules-contact-core-permission-definition.provider-Dni6YOWm.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-core.mjs +0 -2
- package/fesm2022/acorex-modules-contact-core.mjs.map +0 -1
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-DSdJ2hZ-.mjs.map +0 -1
- package/fesm2022/acorex-modules-content-management-permission-definition.provider-DRVW7Xxa.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DtFH9LbP.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-index-7teVSkdT.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-index-B0wUbd2e.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-index-CQLsaDJ-.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-index-CQWjFZ-D.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-index-DHaf2JAF.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-index-Df-6hCzG.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-index-DwPwxZI6.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-d_3MEOVx.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-index-0npgb7TY.mjs.map +0 -1
- package/fesm2022/acorex-modules-data-management-contracts.mjs +0 -351
- package/fesm2022/acorex-modules-data-management-contracts.mjs.map +0 -1
- package/fesm2022/acorex-modules-health-core-start-health-record-flow.command-BzGYbiw_.mjs +0 -257
- package/fesm2022/acorex-modules-health-core-start-health-record-flow.command-BzGYbiw_.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-AWSV_TiH.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-BQ7fkZVA.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-approve-leave-request.command-8MwfTrgO.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-assign-position-assignment.command-DJft6ua8.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-cancel-leave-request.command-r5zEA5Oa.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-edit-signature.command-9XI2V0Yt.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-reject-leave-request.command-Ba2f-i0A.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-revoke-position-assignment.command-g9p7YKJ1.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-start-leave-request-flow.command-BPFrBjWG.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-start-lifecycle-event-flow.command-C62jEjUD.mjs.map +0 -1
- package/fesm2022/acorex-modules-jira-management-index-BGnRJkkx.mjs +0 -179
- package/fesm2022/acorex-modules-jira-management-index-BGnRJkkx.mjs.map +0 -1
- package/fesm2022/acorex-modules-jira-management-index-BXgxorT1.mjs +0 -155
- package/fesm2022/acorex-modules-jira-management-index-BXgxorT1.mjs.map +0 -1
- package/fesm2022/acorex-modules-jira-management-index-Bw8ivjR_.mjs +0 -177
- package/fesm2022/acorex-modules-jira-management-index-Bw8ivjR_.mjs.map +0 -1
- package/fesm2022/acorex-modules-jira-management-index-CJNrjlaV.mjs +0 -143
- package/fesm2022/acorex-modules-jira-management-index-CJNrjlaV.mjs.map +0 -1
- package/fesm2022/acorex-modules-jira-management-index-CjgROlD2.mjs +0 -399
- package/fesm2022/acorex-modules-jira-management-index-CjgROlD2.mjs.map +0 -1
- package/fesm2022/acorex-modules-jira-management-index-D0vXHcrg.mjs +0 -372
- package/fesm2022/acorex-modules-jira-management-index-D0vXHcrg.mjs.map +0 -1
- package/fesm2022/acorex-modules-jira-management-index-D2wdvXoF.mjs +0 -123
- package/fesm2022/acorex-modules-jira-management-index-D2wdvXoF.mjs.map +0 -1
- package/fesm2022/acorex-modules-jira-management-index-DPRA7BCN.mjs +0 -281
- package/fesm2022/acorex-modules-jira-management-index-DPRA7BCN.mjs.map +0 -1
- package/fesm2022/acorex-modules-jira-management-index-DpCX35Ob.mjs +0 -222
- package/fesm2022/acorex-modules-jira-management-index-DpCX35Ob.mjs.map +0 -1
- package/fesm2022/acorex-modules-jira-management.mjs +0 -479
- package/fesm2022/acorex-modules-jira-management.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-9Sessbgl.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-B2ZI7U9N.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-Cb6YmwUo.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-CnBTaY0y.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-CnXPymvw.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-CtfhNokr.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-D3O6qDpQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-D4Yh8EmO.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-DJ4H2IOW.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-DPb7aOIM.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-Da29yyOM.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-DdgLO2B8.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-DnUv_C6e.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-Dxutf3MN.mjs.map +0 -1
- package/fesm2022/acorex-modules-learning-management-index-pWAVoZBF.mjs.map +0 -1
- package/fesm2022/acorex-modules-locale-management-contracts.mjs +0 -77
- package/fesm2022/acorex-modules-locale-management-contracts.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-failure-register-status.provider-DM5m-VsU.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-work-order-status.provider-BvnpsgY3.mjs +0 -181
- package/fesm2022/acorex-modules-maintenance-management-work-order-status.provider-BvnpsgY3.mjs.map +0 -1
- package/fesm2022/acorex-modules-notification-management-acorex-modules-notification-management-W0YINm5V.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-bulk-buy-order-status.provider-C6HBZfQ_.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-entity.provider-BVlBsDWW.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-index-BeIiBPSs.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-index-DUMuaQGE.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-index-Du2PsO2f.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-index-QHrmfhTE.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-member-order-status.provider-CKIrQc_7.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BALTqTo-.mjs +0 -4119
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BALTqTo-.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-add-business-unit-to-business-unit.command-23eGqIxP.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-add-position-to-business-unit.command-B4C1jxs3.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-add-team-to-business-unit.command-B5vh3rwS.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-entity.provider-3IL0cFTC.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-feature-definition.provider-DsSdRjcX.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-definition-pages-component.provider-BRovo6NC.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-definition-responsibilities-page.component-CNtaaDfp.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-definition-skills-page.component-D1ymUBeQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-job-level.datasource-_6F_fvTn.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-menu.provider-Dt7bfM-4.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-default-node-contribution.provider-Cf789vAr.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-CL32hDBZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-CpNTM-Ts.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-ux-node-contribution.provider-D-qPXdfm.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-BglvBI8J.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-permission-definition.provider-BOz0kQKZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-remove-position-from-business-unit.command-CcfOkd7Z.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-Bw22pUUE.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-CdMzH5Qu.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-DaPEmTm9.mjs.map +0 -1
- package/fesm2022/acorex-modules-reservation-management-index-DNLOtNNW.mjs.map +0 -1
- package/fesm2022/acorex-modules-reservation-management-index-DSDnPzHh.mjs.map +0 -1
- package/fesm2022/acorex-modules-reservation-management-index-DySHYsCz.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-permission-definition.provider-CfCLhvZi.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-setting-page.component-B7wP0i5k.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-DhPzh72z.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-AgY9tA7s.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-execute-workflow-with-input.command-DUYGWSu8.mjs +0 -127
- package/fesm2022/acorex-modules-workflow-management-execute-workflow-with-input.command-DUYGWSu8.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-execute-workflow.command-DSgQNTtL.mjs +0 -142
- package/fesm2022/acorex-modules-workflow-management-execute-workflow.command-DSgQNTtL.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-78oCkrbR.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-DmnrXTPk.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-aLlfQxaT.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-column.component-Ph_BjL_5.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-edit.component-CfKTRKNQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-run-history-popup.component-D1A_EHNk.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-CHvHPHt9.mjs.map +0 -1
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-ppe-rule-status.provider-CsJpSfdA.mjs.map +0 -1
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-risk-status.provider-CdzRLBqN.mjs +0 -42
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-risk-status.provider-CdzRLBqN.mjs.map +0 -1
- package/fesm2022/acorex-modules-workplacesafety-management-hazard-status.provider-CmtTvpk0.mjs.map +0 -1
- package/fesm2022/acorex-modules-workplacesafety-management-ppe-item-status.provider-Bx2yqUVH.mjs.map +0 -1
- package/types/acorex-modules-contact-core.d.ts +0 -70
- package/types/acorex-modules-data-management-contracts.d.ts +0 -256
- package/types/acorex-modules-jira-management.d.ts +0 -354
- package/types/acorex-modules-locale-management-contracts.d.ts +0 -66
package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BABjM2Mr.mjs
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { createAllQueryView, AXPEntityCommandScope } from '@acorex/platform/common';
|
|
2
|
+
import { entityMasterCrudActions } from '@acorex/platform/layout/entity';
|
|
3
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
4
|
+
import { c as AXPHumanCapitalManagementCommandKeys, R as RootConfig } from './acorex-modules-human-capital-management-acorex-modules-human-capital-management-CqROha3-.mjs';
|
|
5
|
+
|
|
6
|
+
async function factory() {
|
|
7
|
+
const entityDef = {
|
|
8
|
+
module: RootConfig.module.name,
|
|
9
|
+
name: RootConfig.entities.positionAssignment.name,
|
|
10
|
+
icon: 'fa-light fa-user-tie-hair',
|
|
11
|
+
plugins: [
|
|
12
|
+
{ name: 'history' },
|
|
13
|
+
{ name: 'lock' },
|
|
14
|
+
{ name: 'compare' },
|
|
15
|
+
{
|
|
16
|
+
name: 'status',
|
|
17
|
+
options: {
|
|
18
|
+
field: 'statusId',
|
|
19
|
+
definition: 'human-capital-management.status.position-assignment',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
title: RootConfig.entities.positionAssignment.title,
|
|
24
|
+
formats: {
|
|
25
|
+
individual: RootConfig.entities.positionAssignment.title,
|
|
26
|
+
plural: RootConfig.entities.positionAssignment.titlePlural,
|
|
27
|
+
searchResult: { title: '{{ position.title }}', description: RootConfig.module.title },
|
|
28
|
+
},
|
|
29
|
+
relatedEntities: [],
|
|
30
|
+
groups: [
|
|
31
|
+
{
|
|
32
|
+
id: 'assignment',
|
|
33
|
+
title: '@human-capital-management:position-assignments.entities.position-assignment.groups.assignment',
|
|
34
|
+
},
|
|
35
|
+
{ id: 'period', title: '@general:terms.datetime.period' },
|
|
36
|
+
{ id: 'additional', title: '@general:terms.interface.additional-info' },
|
|
37
|
+
],
|
|
38
|
+
properties: [
|
|
39
|
+
{
|
|
40
|
+
name: 'id',
|
|
41
|
+
title: 'ID',
|
|
42
|
+
groupId: 'assignment',
|
|
43
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'employeeId',
|
|
47
|
+
title: '@general:terms.people.employee',
|
|
48
|
+
groupId: 'assignment',
|
|
49
|
+
options: {
|
|
50
|
+
sort: { enabled: true },
|
|
51
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
52
|
+
},
|
|
53
|
+
schema: {
|
|
54
|
+
dataType: 'string',
|
|
55
|
+
interface: {
|
|
56
|
+
type: AXPWidgetsCatalog.lookup,
|
|
57
|
+
options: {
|
|
58
|
+
entity: `HumanCapitalManagement.Employee`,
|
|
59
|
+
textField: 'person.fullName',
|
|
60
|
+
valueField: 'id',
|
|
61
|
+
columns: ['person.fullName', 'employeeCode'],
|
|
62
|
+
expose: [
|
|
63
|
+
{ source: 'id', target: 'employee.id' },
|
|
64
|
+
{ source: 'person.fullName', target: 'employee.person.fullName' },
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
validations: [{ rule: 'required' }],
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'businessUnitId',
|
|
73
|
+
title: '@organization-management:business-units.terms.individual-title',
|
|
74
|
+
groupId: 'assignment',
|
|
75
|
+
options: {
|
|
76
|
+
sort: { enabled: true },
|
|
77
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
78
|
+
},
|
|
79
|
+
schema: {
|
|
80
|
+
dataType: 'object',
|
|
81
|
+
interface: {
|
|
82
|
+
type: AXPWidgetsCatalog.lookup,
|
|
83
|
+
options: {
|
|
84
|
+
entity: `OrganizationManagement.BusinessUnit`,
|
|
85
|
+
textField: 'title',
|
|
86
|
+
valueField: 'id',
|
|
87
|
+
look: 'lookup',
|
|
88
|
+
expose: [
|
|
89
|
+
{ source: 'id', target: 'businessUnit.id' },
|
|
90
|
+
{ source: 'title', target: 'businessUnit.title' },
|
|
91
|
+
{ source: 'positionIds', target: 'businessUnit.positionIds' },
|
|
92
|
+
{ source: 'positions', target: 'businessUnit.positions' },
|
|
93
|
+
],
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
validations: [{ rule: 'required' }],
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'positionId',
|
|
101
|
+
title: '@general:terms.organizations.position',
|
|
102
|
+
groupId: 'assignment',
|
|
103
|
+
options: {
|
|
104
|
+
sort: { enabled: true },
|
|
105
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
106
|
+
},
|
|
107
|
+
schema: {
|
|
108
|
+
dataType: 'string',
|
|
109
|
+
interface: {
|
|
110
|
+
type: AXPWidgetsCatalog.lookup,
|
|
111
|
+
options: {
|
|
112
|
+
entity: `OrganizationManagement.Position`,
|
|
113
|
+
textField: 'title',
|
|
114
|
+
valueField: 'id',
|
|
115
|
+
look: 'select',
|
|
116
|
+
columns: ['title'],
|
|
117
|
+
expose: [
|
|
118
|
+
{ source: 'id', target: 'position.id' },
|
|
119
|
+
{ source: 'title', target: 'position.title' },
|
|
120
|
+
],
|
|
121
|
+
filter: {
|
|
122
|
+
logic: 'and',
|
|
123
|
+
filters: [
|
|
124
|
+
{ field: 'id', operator: { type: 'in' }, value: '{{ context.eval("businessUnit.positionIds") }}' },
|
|
125
|
+
],
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
triggers: [{ event: "{{ events.context('businessUnitId') }}", action: `{{ widget.refresh() }}` }],
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
validations: [{ rule: 'required' }],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: 'startDate',
|
|
135
|
+
title: '@general:terms.datetime.start-date',
|
|
136
|
+
groupId: 'period',
|
|
137
|
+
options: {
|
|
138
|
+
sort: { enabled: true },
|
|
139
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
140
|
+
},
|
|
141
|
+
schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },
|
|
142
|
+
validations: [{ rule: 'required' }],
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
name: 'endDate',
|
|
146
|
+
title: '@general:terms.datetime.end-date',
|
|
147
|
+
groupId: 'period',
|
|
148
|
+
options: {
|
|
149
|
+
sort: { enabled: true },
|
|
150
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
151
|
+
},
|
|
152
|
+
schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: 'isPrimary',
|
|
156
|
+
title: '@general:terms.status.states.is-primary',
|
|
157
|
+
groupId: 'additional',
|
|
158
|
+
options: {
|
|
159
|
+
sort: { enabled: true },
|
|
160
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
161
|
+
},
|
|
162
|
+
schema: { dataType: 'boolean', interface: { type: AXPWidgetsCatalog.toggle } },
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
name: 'notes',
|
|
166
|
+
title: '@general:terms.common.notes',
|
|
167
|
+
groupId: 'additional',
|
|
168
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText } },
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
columns: [
|
|
172
|
+
{ name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },
|
|
173
|
+
{ name: 'businessUnitId', options: { dataPath: 'businessUnit.title' } },
|
|
174
|
+
{ name: 'positionId', options: { dataPath: 'position.title' } },
|
|
175
|
+
{ name: 'startDate' },
|
|
176
|
+
{ name: 'endDate' },
|
|
177
|
+
{ name: 'isPrimary' },
|
|
178
|
+
],
|
|
179
|
+
interfaces: {
|
|
180
|
+
master: {
|
|
181
|
+
create: {
|
|
182
|
+
sections: [{ id: 'assignment' }, { id: 'period' }, { id: 'additional' }],
|
|
183
|
+
properties: [
|
|
184
|
+
{ name: 'businessUnitId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
185
|
+
{ name: 'positionId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
186
|
+
{ name: 'startDate', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
187
|
+
{ name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
188
|
+
{ name: 'isPrimary', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
189
|
+
{ name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
190
|
+
],
|
|
191
|
+
},
|
|
192
|
+
update: {
|
|
193
|
+
sections: [{ id: 'assignment' }, { id: 'period' }, { id: 'additional' }],
|
|
194
|
+
properties: [
|
|
195
|
+
{ name: 'positionId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
196
|
+
{ name: 'businessUnitId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
197
|
+
{ name: 'startDate', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
198
|
+
{ name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
199
|
+
{ name: 'isPrimary', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
200
|
+
{ name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
201
|
+
],
|
|
202
|
+
},
|
|
203
|
+
single: {
|
|
204
|
+
title: `{{position.title}}`,
|
|
205
|
+
sections: [{ id: 'assignment' }, { id: 'period' }, { id: 'additional' }],
|
|
206
|
+
properties: [
|
|
207
|
+
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
208
|
+
{ name: 'positionId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
209
|
+
{ name: 'businessUnitId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
210
|
+
{ name: 'startDate', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
211
|
+
{ name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
212
|
+
{ name: 'isPrimary', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
213
|
+
{ name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
214
|
+
],
|
|
215
|
+
actions: [
|
|
216
|
+
{
|
|
217
|
+
title: '@human-capital-management:position-assignments.entities.position-assignment.actions.revoke.title',
|
|
218
|
+
command: {
|
|
219
|
+
name: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Revoke,
|
|
220
|
+
},
|
|
221
|
+
priority: 'secondary',
|
|
222
|
+
type: 'delete',
|
|
223
|
+
scope: AXPEntityCommandScope.Individual,
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
},
|
|
227
|
+
list: {
|
|
228
|
+
actions: [
|
|
229
|
+
{
|
|
230
|
+
title: '@human-capital-management:position-assignments.entities.position-assignment.actions.assign.title',
|
|
231
|
+
command: {
|
|
232
|
+
name: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Assign,
|
|
233
|
+
},
|
|
234
|
+
priority: 'primary',
|
|
235
|
+
type: 'create',
|
|
236
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
title: '@human-capital-management:position-assignments.entities.position-assignment.actions.revoke.title',
|
|
240
|
+
command: {
|
|
241
|
+
name: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Revoke,
|
|
242
|
+
},
|
|
243
|
+
priority: 'primary',
|
|
244
|
+
type: 'delete',
|
|
245
|
+
scope: AXPEntityCommandScope.Selected,
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
title: '@human-capital-management:position-assignments.entities.position-assignment.actions.revoke.title',
|
|
249
|
+
command: {
|
|
250
|
+
name: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Revoke,
|
|
251
|
+
},
|
|
252
|
+
priority: 'secondary',
|
|
253
|
+
type: 'delete',
|
|
254
|
+
scope: AXPEntityCommandScope.Individual,
|
|
255
|
+
},
|
|
256
|
+
...entityMasterCrudActions({ create: false, delete: false, view: true, edit: false }),
|
|
257
|
+
],
|
|
258
|
+
views: [createAllQueryView({ sorts: [{ name: 'startDate', dir: 'desc' }] })],
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
};
|
|
263
|
+
return entityDef;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export { factory };
|
|
267
|
+
//# sourceMappingURL=acorex-modules-human-capital-management-position-assignment.entity-BABjM2Mr.mjs.map
|
package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BABjM2Mr.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-human-capital-management-position-assignment.entity-BABjM2Mr.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/entities/position-assignment/position-assignment.entity.ts"],"sourcesContent":["import { AXPEntity, AXPEntityCommandScope, createAllQueryView } from '@acorex/platform/common';\nimport { entityMasterCrudActions } from '@acorex/platform/layout/entity';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { AXPHumanCapitalManagementCommandKeys } from '../../contracts/commands.keys';\nimport { RootConfig } from '../../const';\n\nexport async function factory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.positionAssignment.name,\n icon: 'fa-light fa-user-tie-hair',\n plugins: [\n { name: 'history' },\n { name: 'lock' },\n { name: 'compare' },\n {\n name: 'status',\n options: {\n field: 'statusId',\n definition: 'human-capital-management.status.position-assignment',\n },\n },\n ],\n title: RootConfig.entities.positionAssignment.title,\n formats: {\n individual: RootConfig.entities.positionAssignment.title,\n plural: RootConfig.entities.positionAssignment.titlePlural,\n searchResult: { title: '{{ position.title }}', description: RootConfig.module.title },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'assignment',\n title: '@human-capital-management:position-assignments.entities.position-assignment.groups.assignment',\n },\n { id: 'period', title: '@general:terms.datetime.period' },\n { id: 'additional', title: '@general:terms.interface.additional-info' },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'assignment',\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: 'assignment',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `HumanCapitalManagement.Employee`,\n textField: 'person.fullName',\n valueField: 'id',\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: 'businessUnitId',\n title: '@organization-management:business-units.terms.individual-title',\n groupId: 'assignment',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `OrganizationManagement.BusinessUnit`,\n textField: 'title',\n valueField: 'id',\n look: 'lookup',\n expose: [\n { source: 'id', target: 'businessUnit.id' },\n { source: 'title', target: 'businessUnit.title' },\n { source: 'positionIds', target: 'businessUnit.positionIds' },\n { source: 'positions', target: 'businessUnit.positions' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'positionId',\n title: '@general:terms.organizations.position',\n groupId: 'assignment',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `OrganizationManagement.Position`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n columns: ['title'],\n expose: [\n { source: 'id', target: 'position.id' },\n { source: 'title', target: 'position.title' },\n ],\n filter: {\n logic: 'and',\n filters: [\n { field: 'id', operator: { type: 'in' }, value: '{{ context.eval(\"businessUnit.positionIds\") }}' },\n ],\n },\n },\n triggers: [{ event: \"{{ events.context('businessUnitId') }}\", action: `{{ widget.refresh() }}` }],\n },\n },\n validations: [{ rule: 'required' }],\n },\n\n {\n name: 'startDate',\n title: '@general:terms.datetime.start-date',\n groupId: 'period',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'endDate',\n title: '@general:terms.datetime.end-date',\n groupId: 'period',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },\n },\n {\n name: 'isPrimary',\n title: '@general:terms.status.states.is-primary',\n groupId: 'additional',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: { dataType: 'boolean', interface: { type: AXPWidgetsCatalog.toggle } },\n },\n {\n name: 'notes',\n title: '@general:terms.common.notes',\n groupId: 'additional',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText } },\n },\n ],\n columns: [\n { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },\n { name: 'businessUnitId', options: { dataPath: 'businessUnit.title' } },\n { name: 'positionId', options: { dataPath: 'position.title' } },\n { name: 'startDate' },\n { name: 'endDate' },\n { name: 'isPrimary' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'assignment' }, { id: 'period' }, { id: 'additional' }],\n properties: [\n { name: 'businessUnitId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'positionId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'startDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isPrimary', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'assignment' }, { id: 'period' }, { id: 'additional' }],\n properties: [\n { name: 'positionId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'businessUnitId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'startDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isPrimary', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: `{{position.title}}`,\n sections: [{ id: 'assignment' }, { id: 'period' }, { id: 'additional' }],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'positionId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'businessUnitId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'startDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isPrimary', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [\n {\n title: '@human-capital-management:position-assignments.entities.position-assignment.actions.revoke.title',\n command: {\n name: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Revoke,\n },\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n },\n list: {\n actions: [\n {\n title: '@human-capital-management:position-assignments.entities.position-assignment.actions.assign.title',\n command: {\n name: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Assign,\n },\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: '@human-capital-management:position-assignments.entities.position-assignment.actions.revoke.title',\n command: {\n name: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Revoke,\n },\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: '@human-capital-management:position-assignments.entities.position-assignment.actions.revoke.title',\n command: {\n name: AXPHumanCapitalManagementCommandKeys.PositionAssignment.Revoke,\n },\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ...entityMasterCrudActions({ create: false, delete: false, view: true, edit: false }),\n ],\n views: [createAllQueryView({ sorts: [{ name: 'startDate', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;;AAMO,eAAe,OAAO,GAAA;AAE3B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,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CAAC,kBAAkB,CAAC,MAAM;AACrE,6BAAA;AACD,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACD,wBAAA,GAAG,uBAAuB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;AACtF,qBAAA;oBACD,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAC7E,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AXPSystemStatuses } from '@acorex/platform/
|
|
1
|
+
import { AXPSystemStatuses } from '@acorex/platform/common';
|
|
2
2
|
import { AXPEntityService } from '@acorex/platform/layout/entity';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { inject, Injectable } from '@angular/core';
|
|
5
|
-
import { R as RootConfig } from './acorex-modules-human-capital-management-acorex-modules-human-capital-management-
|
|
5
|
+
import { R as RootConfig } from './acorex-modules-human-capital-management-acorex-modules-human-capital-management-CqROha3-.mjs';
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
/**
|
|
@@ -59,4 +59,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
59
59
|
}] });
|
|
60
60
|
|
|
61
61
|
export { RejectLeaveRequestCommand };
|
|
62
|
-
//# sourceMappingURL=acorex-modules-human-capital-management-reject-leave-request.command-
|
|
62
|
+
//# sourceMappingURL=acorex-modules-human-capital-management-reject-leave-request.command-DHqsjUdQ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-human-capital-management-reject-leave-request.command-DHqsjUdQ.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/leave-request/commands/reject-leave-request.command.ts"],"sourcesContent":["import { AXPSystemStatuses } from '@acorex/platform/common';\nimport { AXPExecuteCommandResult } from '@acorex/platform/core';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { AXPCommand } from '@acorex/platform/runtime';\nimport { Injectable, inject } from '@angular/core';\nimport { RootConfig } from '../../../const';\n\n//#region ---- Types ----\n\nexport interface RejectLeaveRequestInput {\n id: string;\n reason?: string;\n note?: string;\n}\n\n//#endregion\n\n/**\n * Reject Leave Request Command\n * Updates the leave request status to Rejected\n */\n@Injectable({ providedIn: 'root' })\nexport class RejectLeaveRequestCommand implements AXPCommand<RejectLeaveRequestInput, void> {\n //#region ---- Services ----\n\n private readonly entityService = inject(AXPEntityService);\n\n //#endregion\n\n //#region ---- Command Implementation ----\n\n async execute(input: RejectLeaveRequestInput): Promise<AXPExecuteCommandResult<void>> {\n try {\n console.log('[RejectLeaveRequestCommand] Executing with input:', input);\n\n const dataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.leaveRequest.name)\n .data<string, any>();\n\n // Update the leave request status to Rejected\n const updateData: any = {\n statusId: AXPSystemStatuses.Rejected.name,\n };\n\n // Add reason/note if provided (these fields might not exist in entity model)\n if (input.reason) {\n updateData.reason = input.reason;\n }\n if (input.note) {\n updateData.note = input.note;\n }\n\n console.log('[RejectLeaveRequestCommand] Updating entity with:', updateData);\n\n await dataAccessor.update(input.id, updateData);\n\n console.log('[RejectLeaveRequestCommand] Update successful');\n\n return {\n success: true,\n };\n } catch (error: any) {\n console.error('[RejectLeaveRequestCommand] Error:', error);\n return {\n success: false,\n message: {\n text: error.message || 'Failed to reject leave request',\n },\n };\n }\n }\n\n //#endregion\n}\n"],"names":[],"mappings":";;;;;;AAeA;AAEA;;;AAGG;MAEU,yBAAyB,CAAA;AADtC,IA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A,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,cADZ,MAAM,EAAA,CAAA,CAAA;;2FACnB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
|
|
@@ -3,7 +3,7 @@ import { AXTranslationService } from '@acorex/core/translation';
|
|
|
3
3
|
import { AXPEntityService } from '@acorex/platform/layout/entity';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { inject, Injectable } from '@angular/core';
|
|
6
|
-
import { A as AXM_POSITION_ASSIGNMENT_STATUS, R as RootConfig, a as AXM_POSITION_ASSIGNMENT_OVERLAPPING_STATUS_IDS } from './acorex-modules-human-capital-management-acorex-modules-human-capital-management-
|
|
6
|
+
import { A as AXM_POSITION_ASSIGNMENT_STATUS, R as RootConfig, a as AXM_POSITION_ASSIGNMENT_OVERLAPPING_STATUS_IDS } from './acorex-modules-human-capital-management-acorex-modules-human-capital-management-CqROha3-.mjs';
|
|
7
7
|
|
|
8
8
|
class AXMRevokePositionAssignmentByIdCommand {
|
|
9
9
|
constructor() {
|
|
@@ -105,4 +105,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
105
105
|
}] });
|
|
106
106
|
|
|
107
107
|
export { AXMRevokePositionAssignmentByIdCommand };
|
|
108
|
-
//# sourceMappingURL=acorex-modules-human-capital-management-revoke-position-assignment.command-
|
|
108
|
+
//# sourceMappingURL=acorex-modules-human-capital-management-revoke-position-assignment.command-DQqsqBRM.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-human-capital-management-revoke-position-assignment.command-DQqsqBRM.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/organization-chart/commands/revoke-position-assignment.command.ts"],"sourcesContent":["import { AXDataSourceFilterOption } from '@acorex/cdk/common';\nimport { AXDialogService } from '@acorex/components/dialog';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPExecuteCommandResult } from '@acorex/platform/core';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { AXPCommand } from '@acorex/platform/runtime';\nimport { inject, Injectable } from '@angular/core';\nimport { RootConfig } from '../../../const';\nimport {\n AXM_POSITION_ASSIGNMENT_OVERLAPPING_STATUS_IDS,\n AXM_POSITION_ASSIGNMENT_STATUS,\n} from '../../shared/position-assignment-status.provider';\n\nexport interface AXMRevokePositionAssignmentByIdInput {\n __context__?: {\n data?: unknown;\n };\n data?: unknown;\n id?: unknown;\n positionId?: string;\n employeeId?: string;\n businessUnitId?: string;\n /** When true, do not show the revoke confirmation (caller already confirmed). */\n skipConfirmation?: boolean;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class AXMRevokePositionAssignmentByIdCommand\n implements AXPCommand<AXMRevokePositionAssignmentByIdInput, { revokedCount: number }>\n{\n private readonly dialogService = inject(AXDialogService);\n private readonly translationService = inject(AXTranslationService);\n private readonly entityService = inject(AXPEntityService);\n\n async execute(\n input: AXMRevokePositionAssignmentByIdInput,\n ): Promise<AXPExecuteCommandResult<{ revokedCount: number }>> {\n let ids = this.extractIds(input);\n if (!ids.length && input.positionId && input.employeeId) {\n ids = await this.findOverlappingLifecycleAssignmentIds(\n input.positionId,\n input.employeeId,\n input.businessUnitId,\n );\n }\n if (!ids.length) {\n if (input.skipConfirmation) {\n return { success: true, data: { revokedCount: 0 } };\n }\n return { success: false };\n }\n\n if (!input.skipConfirmation) {\n const confirmed = await this.confirmRevoke();\n if (!confirmed) {\n return { success: false };\n }\n }\n\n const payload: Record<string, unknown> = {\n endDate: new Date().toISOString(),\n statusId: AXM_POSITION_ASSIGNMENT_STATUS.revoked,\n };\n const data = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.positionAssignment.name)\n .data();\n for (const id of ids) {\n await data.update(id, payload as never);\n }\n\n return { success: true, data: { revokedCount: ids.length } };\n }\n\n private async confirmRevoke(): Promise<boolean> {\n const title = await this.translationService.translateAsync(\n '@human-capital-management:position-assignments.entities.position-assignment.actions.revoke.confirm.title',\n );\n const message = await this.translationService.translateAsync(\n '@human-capital-management:position-assignments.entities.position-assignment.actions.revoke.confirm.message',\n );\n const result = await this.dialogService.confirm(title, message, 'danger', 'horizontal', false, 'cancel');\n return result.result === true;\n }\n\n private extractIds(input: AXMRevokePositionAssignmentByIdInput): string[] {\n const raw = input?.__context__?.data ?? input?.data ?? input?.id ?? input;\n const values = Array.isArray(raw) ? raw : [raw];\n return values\n .map((value) => {\n if (typeof value === 'string') {\n return value;\n }\n if (value && typeof value === 'object') {\n const id = (value as { id?: unknown })['id'];\n return typeof id === 'string' ? id : '';\n }\n return '';\n })\n .filter((id) => id.trim().length > 0);\n }\n\n /**\n * Resolves assignment rows that still participate in overlap checks (active + scheduled).\n * Revoking only `active` left future-dated `scheduled` rows and blocked new assignments.\n */\n private async findOverlappingLifecycleAssignmentIds(\n positionId: string,\n employeeId: string,\n businessUnitId?: string,\n ): Promise<string[]> {\n const filters: AXDataSourceFilterOption[] = [\n { field: 'positionId', operator: { type: 'equal' }, value: positionId },\n { field: 'employeeId', operator: { type: 'equal' }, value: employeeId },\n { field: 'statusId', operator: { type: 'in' }, value: [...AXM_POSITION_ASSIGNMENT_OVERLAPPING_STATUS_IDS] },\n ];\n if (businessUnitId) {\n filters.push({ field: 'businessUnitId', operator: { type: 'equal' }, value: businessUnitId });\n }\n\n const result = await this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.positionAssignment.name)\n .data()\n .query({\n skip: 0,\n take: 50,\n sort: [{ field: 'startDate', dir: 'desc' }],\n filter: { logic: 'and', filters },\n });\n\n const items = (result.items ?? []) as Array<{ id?: string }>;\n const seen = new Set<string>();\n const ids: string[] = [];\n for (const item of items) {\n const id = typeof item.id === 'string' && item.id.trim().length > 0 ? item.id.trim() : '';\n if (id && !seen.has(id)) {\n seen.add(id);\n ids.push(id);\n }\n }\n return ids;\n }\n}\n\n"],"names":[],"mappings":";;;;;;;MA2Ba,sCAAsC,CAAA;AADnD,IAAA,WAAA,GAAA;AAImB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AACvC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACjD,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AA6G1D,IAAA;IA3GC,MAAM,OAAO,CACX,KAA2C,EAAA;QAE3C,IAAI,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;AAChC,QAAA,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,UAAU,EAAE;AACvD,YAAA,GAAG,GAAG,MAAM,IAAI,CAAC,qCAAqC,CACpD,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,cAAc,CACrB;QACH;AACA,QAAA,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE;AACf,YAAA,IAAI,KAAK,CAAC,gBAAgB,EAAE;AAC1B,gBAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE;YACrD;AACA,YAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;QAC3B;AAEA,QAAA,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;AAC3B,YAAA,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,aAAa,EAAE;YAC5C,IAAI,CAAC,SAAS,EAAE;AACd,gBAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;YAC3B;QACF;AAEA,QAAA,MAAM,OAA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UAAU,EAAE,MAAM,EAAE;;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AXDialogService } from '@acorex/components/dialog';
|
|
2
2
|
import { AXToastService } from '@acorex/components/toast';
|
|
3
3
|
import { AXTranslationService, resolveMultiLanguageString } from '@acorex/core/translation';
|
|
4
|
-
import { AXPSystemStatusType } from '@acorex/platform/
|
|
4
|
+
import { AXPSystemStatusType } from '@acorex/platform/common';
|
|
5
5
|
import { AXPEntityService, AXPEntityStorageService, getRecordWorkflowInstanceId } from '@acorex/platform/layout/entity';
|
|
6
6
|
import { AXPWorkflowManager, AXP_WORKFLOW_ENGINE } from '@acorex/platform/workflow';
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { inject, Injectable } from '@angular/core';
|
|
9
|
-
import { R as RootConfig,
|
|
9
|
+
import { R as RootConfig, e as AXMLeaveRequestOpenStatusIds } from './acorex-modules-human-capital-management-acorex-modules-human-capital-management-CqROha3-.mjs';
|
|
10
10
|
|
|
11
11
|
//#region ---- Imports ----
|
|
12
12
|
//#endregion
|
|
@@ -239,4 +239,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
239
239
|
}] });
|
|
240
240
|
|
|
241
241
|
export { StartLeaveRequestFlowCommand };
|
|
242
|
-
//# sourceMappingURL=acorex-modules-human-capital-management-start-leave-request-flow.command-
|
|
242
|
+
//# sourceMappingURL=acorex-modules-human-capital-management-start-leave-request-flow.command-nF6sDrFL.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-human-capital-management-start-leave-request-flow.command-nF6sDrFL.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/leave-request/commands/start-leave-request-flow.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXDialogService } from '@acorex/components/dialog';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXMultiLanguageString, AXTranslationService, resolveMultiLanguageString } from '@acorex/core/translation';\nimport { AXPSystemStatusType } from '@acorex/platform/common';\nimport { AXPExecuteCommandResult } from '@acorex/platform/core';\nimport {\n AXPEntityService,\n AXPEntityStorageService,\n getRecordWorkflowInstanceId,\n} from '@acorex/platform/layout/entity';\nimport { AXPCommand } from '@acorex/platform/runtime';\nimport {\n AXP_WORKFLOW_ENGINE,\n AXPWorkflowEngine,\n AXPWorkflowManager,\n} from '@acorex/platform/workflow';\nimport { inject, Injectable } from '@angular/core';\nimport { RootConfig } from '../../../const';\nimport { AXMLeaveRequestOpenStatusIds } from '../../../entities/leave-request/leave-request-status.constants';\n\n//#endregion\n\n//#region ---- Types ----\n\nexport interface StartLeaveRequestFlowInput {\n __context__?: {\n options?: StartLeaveRequestFlowOptions;\n };\n workflowId?: string;\n employeeId?: string;\n employeeDisplayName?: string;\n leaveTypeId?: string;\n leaveTypeTitle?: AXMultiLanguageString | string;\n}\n\nexport interface StartLeaveRequestFlowOptions {\n workflowId: string;\n input: {\n employeeId?: string;\n employeeDisplayName?: string;\n leaveTypeId: string;\n leaveTypeTitle?: AXMultiLanguageString | string;\n };\n}\n\ninterface OpenLeaveRequestRow {\n id: string;\n workflowInfo?: { instanceId?: string | null; correlationId?: string | null };\n leaveType?: { title?: AXMultiLanguageString | string };\n}\n\n//#endregion\n\n/**\n * Starts the leave request workflow after ensuring at most one pending request per employee and leave type.\n */\n@Injectable({ providedIn: 'root' })\nexport class StartLeaveRequestFlowCommand implements AXPCommand<StartLeaveRequestFlowInput, void> {\n //#region ---- Services & Dependencies ----\n\n private readonly dialogService = inject(AXDialogService);\n private readonly translationService = inject(AXTranslationService);\n private readonly toastService = inject(AXToastService);\n private readonly entityService = inject(AXPEntityService);\n private readonly entityStorageService = inject(AXPEntityStorageService);\n private readonly workflowManager = inject(AXPWorkflowManager);\n private readonly workflowEngine = inject(AXP_WORKFLOW_ENGINE, { optional: true });\n\n //#endregion\n\n //#region ---- Command Implementation ----\n\n async execute(input: StartLeaveRequestFlowInput): Promise<AXPExecuteCommandResult<void>> {\n const options = (input?.__context__?.options ?? input) as StartLeaveRequestFlowOptions;\n const flowInput = options.input;\n const workflowId = options.workflowId?.trim();\n const leaveTypeId = flowInput?.leaveTypeId?.trim();\n const employeeId = this.resolveFlowText(flowInput?.employeeId);\n const employeeDisplayName = this.resolveFlowText(flowInput?.employeeDisplayName);\n const leaveTypeTitleForWorkflow = this.coerceLeaveTypeTitleForWorkflow(flowInput?.leaveTypeTitle);\n const leaveTypeTitleDisplay = this.resolveFlowText(flowInput?.leaveTypeTitle);\n\n if (!workflowId || !leaveTypeId) {\n return { success: false, message: { text: 'Missing workflow or leave type context.' } };\n }\n\n try {\n const openRequests = employeeId\n ? await this.findOpenLeaveRequests(employeeId, leaveTypeId)\n : [];\n const orphanInstanceIds = employeeId\n ? await this.findOrphanRunningWorkflowInstanceIds(\n employeeId,\n leaveTypeId,\n workflowId,\n openRequests,\n )\n : [];\n\n if (openRequests.length > 0 || orphanInstanceIds.length > 0) {\n const confirmed = await this.confirmReplace(leaveTypeTitleDisplay);\n if (!confirmed) {\n return { success: false };\n }\n await this.closeOpenRuns(openRequests, orphanInstanceIds);\n }\n\n const correlationId = employeeId\n ? this.buildCorrelationId(employeeId, leaveTypeId, workflowId)\n : undefined;\n\n const startResult = await this.workflowManager.start(workflowId, {\n leaveTypeId,\n ...(leaveTypeTitleForWorkflow != null ? { leaveTypeTitle: leaveTypeTitleForWorkflow } : {}),\n ...(employeeId ? { employeeId, employeeDisplayName } : {}),\n ...(employeeId\n ? {\n refId: employeeId,\n refType: `${RootConfig.module.name}.Employee`,\n correlationId,\n }\n : {}),\n });\n\n if (!startResult.success) {\n this.toastService.show({\n color: 'danger',\n title: 'Workflow Execution Failed',\n content: startResult.error ?? 'Unknown error',\n closeButton: true,\n timeOut: 5000,\n });\n return { success: false, message: { text: startResult.error ?? 'Unknown error' } };\n }\n\n return { success: true };\n } catch (error: unknown) {\n const message = error instanceof Error ? error.message : 'Unknown error';\n console.error('[StartLeaveRequestFlowCommand]', error);\n this.toastService.show({\n color: 'danger',\n title: 'Workflow Execution Error',\n content: message,\n closeButton: true,\n timeOut: 5000,\n });\n return { success: false, message: { text: message } };\n }\n }\n\n //#endregion\n\n //#region ---- Open-run detection ----\n\n private async findOpenLeaveRequests(\n employeeId: string,\n leaveTypeId: string,\n ): Promise<OpenLeaveRequestRow[]> {\n const page = await this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.leaveRequest.name)\n .data()\n .query({\n skip: 0,\n take: 10,\n filter: {\n logic: 'and',\n filters: [\n { field: 'employeeId', operator: { type: 'equal' }, value: employeeId },\n { field: 'leaveTypeId', operator: { type: 'equal' }, value: leaveTypeId },\n {\n field: 'statusId',\n operator: { type: 'in' },\n value: [...AXMLeaveRequestOpenStatusIds],\n },\n ],\n },\n });\n\n return (page.items ?? []) as OpenLeaveRequestRow[];\n }\n\n private async findOrphanRunningWorkflowInstanceIds(\n employeeId: string,\n leaveTypeId: string,\n workflowId: string,\n openRequests: OpenLeaveRequestRow[],\n ): Promise<string[]> {\n const linkedInstanceIds = new Set(\n openRequests\n .map((row) => getRecordWorkflowInstanceId(row))\n .filter((id): id is string => !!id),\n );\n\n try {\n const page = await this.entityStorageService.query('WorkflowManagement.WorkflowInstance', {\n skip: 0,\n take: 50,\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'definitionId',\n operator: { type: 'equal' },\n value: workflowId,\n },\n { field: 'status', operator: { type: 'equal' }, value: 'Running' },\n ],\n },\n });\n\n const items = (page.items ?? []) as Array<{\n id?: string;\n workflowInstance?: { workflowState?: { input?: Record<string, unknown> } };\n }>;\n\n return items\n .filter((row) => {\n const id = row.id?.trim();\n if (!id || linkedInstanceIds.has(id)) {\n return false;\n }\n const runInput = row.workflowInstance?.workflowState?.input ?? {};\n return runInput['employeeId'] === employeeId && runInput['leaveTypeId'] === leaveTypeId;\n })\n .map((row) => row.id as string);\n } catch {\n return [];\n }\n }\n\n //#endregion\n\n //#region ---- Close and replace ----\n\n private async confirmReplace(leaveTypeTitle: string | undefined): Promise<boolean> {\n const title = await this.translationService.translateAsync(\n '@human-capital-management:leave-requests.messages.replace-open.confirm.title',\n );\n const message = await this.translationService.translateAsync(\n '@human-capital-management:leave-requests.messages.replace-open.confirm.message',\n {\n params: {\n leaveTypeTitle: String(leaveTypeTitle ?? '').trim() || '—',\n },\n },\n );\n const result = await this.dialogService.confirm(title, message, 'warning', 'horizontal', false, 'cancel');\n return result.result === true;\n }\n\n private async closeOpenRuns(\n openRequests: OpenLeaveRequestRow[],\n orphanInstanceIds: string[],\n ): Promise<void> {\n const data = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.leaveRequest.name)\n .data();\n\n const supersedeNote = 'Closed to start a new leave request run.';\n\n for (const request of openRequests) {\n await data.update(request.id, {\n statusId: AXPSystemStatusType.Cancelled,\n reason: supersedeNote,\n } as never);\n\n const instanceId = getRecordWorkflowInstanceId(request);\n if (instanceId) {\n await this.cancelWorkflowInstance(instanceId);\n }\n }\n\n for (const instanceId of orphanInstanceIds) {\n await this.cancelWorkflowInstance(instanceId);\n }\n }\n\n private async cancelWorkflowInstance(instanceId: string): Promise<void> {\n const engine = this.workflowEngine as AXPWorkflowEngine | null;\n if (engine?.cancelInstance) {\n await engine.cancelInstance(instanceId, 'superseded');\n return;\n }\n\n const now = new Date().toISOString();\n try {\n await this.entityStorageService.updateOne('WorkflowManagement.WorkflowInstance', instanceId, {\n status: 'Finished',\n subStatus: 'Cancelled',\n finishedAt: now,\n updatedAt: now,\n });\n } catch (error: unknown) {\n console.warn('[StartLeaveRequestFlowCommand] Failed to cancel workflow instance:', instanceId, error);\n }\n }\n\n //#endregion\n\n //#region ---- Helpers ----\n\n private resolveFlowText(value: unknown): string {\n if (value == null || value === false) {\n return '';\n }\n if (typeof value === 'string') {\n return value.trim();\n }\n if (typeof value === 'number' || typeof value === 'boolean') {\n return String(value).trim();\n }\n return resolveMultiLanguageString(value as never, this.translationService.getActiveLang()).trim();\n }\n\n /** Preserves multi-language leave type titles on the workflow instance for locale-aware task labels. */\n private coerceLeaveTypeTitleForWorkflow(\n value: AXMultiLanguageString | string | undefined,\n ): AXMultiLanguageString | string | undefined {\n if (value == null) {\n return undefined;\n }\n if (typeof value === 'object') {\n return value;\n }\n const trimmed = value.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n\n private buildCorrelationId(employeeId: string, leaveTypeId: string, workflowId: string): string {\n return `${RootConfig.module.name}.Employee:${employeeId}:${leaveTypeId}:${workflowId}`;\n }\n\n //#endregion\n}\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AAqDA;AAEA;;AAEG;MAEU,4BAA4B,CAAA;AADzC,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AACvC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACjD,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;AACrC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,oBAAoB,GAAG,MAAM,CAAC,uBAAuB,CAAC;AACtD,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,kBAAkB,CAAC;QAC5C,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,mBAAmB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AA2QlF,IAAA;;;IArQC,MAAM,OAAO,CAAC,KAAiC,EAAA;QAC7C,MAAM,OAAO,IAAI,KAAK,EAAE,WAAW,EAAE,OAAO,IAAI,KAAK,CAAiC;AACtF,QAAA,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK;QAC/B,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,EAAE,IAAI,EAAE;QAC7C,MAAM,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE;QAClD,MAAM,UAAU,GAAG,IAAI,CAA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AAK;QACd;AACA,QAAA,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE;AAC5B,QAAA,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,GAAG,OAAO,GAAG,SAAS;IACjD;AAEQ,IAAA,kBAAkB,CAAC,UAAkB,EAAE,WAAmB,EAAE,UAAkB,EAAA;AACpF,QAAA,OAAO,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,UAAA,EAAa,UAAU,CAAA,CAAA,EAAI,WAAW,CAAA,CAAA,EAAI,UAAU,EAAE;IACxF;8GAjRW,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,4BAA4B,cADf,MAAM,EAAA,CAAA,CAAA;;2FACnB,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBADxC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AXDialogService } from '@acorex/components/dialog';
|
|
2
2
|
import { AXToastService } from '@acorex/components/toast';
|
|
3
3
|
import { AXTranslationService, resolveMultiLanguageString } from '@acorex/core/translation';
|
|
4
|
-
import { AXPSystemStatusType } from '@acorex/platform/
|
|
4
|
+
import { AXPSystemStatusType } from '@acorex/platform/common';
|
|
5
5
|
import { AXPEntityService, AXPEntityStorageService, getRecordWorkflowInstanceId } from '@acorex/platform/layout/entity';
|
|
6
6
|
import { AXPWorkflowManager, AXP_WORKFLOW_ENGINE } from '@acorex/platform/workflow';
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { inject, Injectable } from '@angular/core';
|
|
9
|
-
import { R as RootConfig,
|
|
9
|
+
import { R as RootConfig, d as AXMLifecycleEventOpenStatusIds } from './acorex-modules-human-capital-management-acorex-modules-human-capital-management-CqROha3-.mjs';
|
|
10
10
|
|
|
11
11
|
//#region ---- Imports ----
|
|
12
12
|
//#endregion
|
|
@@ -33,10 +33,9 @@ class StartLifecycleEventFlowCommand {
|
|
|
33
33
|
const employeeId = this.resolveFlowText(flowInput?.employeeId);
|
|
34
34
|
const eventTypeId = flowInput?.eventTypeId?.trim();
|
|
35
35
|
const employeeDisplayName = this.resolveFlowText(flowInput?.employeeDisplayName);
|
|
36
|
-
const
|
|
37
|
-
const eventTypeTitleDisplay = this.resolveFlowText(flowInput?.eventTypeTitle);
|
|
36
|
+
const eventTypeTitle = this.resolveFlowText(flowInput?.eventTypeTitle);
|
|
38
37
|
const assessmentCaseTitle = this.resolveFlowText(flowInput?.assessmentCaseTitle) ||
|
|
39
|
-
this.buildAssessmentCaseTitle(
|
|
38
|
+
this.buildAssessmentCaseTitle(eventTypeTitle, employeeDisplayName);
|
|
40
39
|
if (!workflowId || !employeeId || !eventTypeId) {
|
|
41
40
|
return { success: false, message: { text: 'Missing workflow or employee context.' } };
|
|
42
41
|
}
|
|
@@ -44,7 +43,7 @@ class StartLifecycleEventFlowCommand {
|
|
|
44
43
|
const openEvents = await this.findOpenLifecycleEvents(employeeId, eventTypeId);
|
|
45
44
|
const orphanInstanceIds = await this.findOrphanRunningWorkflowInstanceIds(employeeId, eventTypeId, workflowId, openEvents);
|
|
46
45
|
if (openEvents.length > 0 || orphanInstanceIds.length > 0) {
|
|
47
|
-
const confirmed = await this.confirmReplace(
|
|
46
|
+
const confirmed = await this.confirmReplace(eventTypeTitle);
|
|
48
47
|
if (!confirmed) {
|
|
49
48
|
return { success: false };
|
|
50
49
|
}
|
|
@@ -54,7 +53,7 @@ class StartLifecycleEventFlowCommand {
|
|
|
54
53
|
employeeId,
|
|
55
54
|
employeeDisplayName,
|
|
56
55
|
eventTypeId: flowInput.eventTypeId,
|
|
57
|
-
|
|
56
|
+
eventTypeTitle,
|
|
58
57
|
assessmentCaseTitle,
|
|
59
58
|
questionnaireId: flowInput.questionnaireId,
|
|
60
59
|
...(flowInput.effectiveDate ? { effectiveDate: flowInput.effectiveDate } : {}),
|
|
@@ -212,17 +211,6 @@ class StartLifecycleEventFlowCommand {
|
|
|
212
211
|
}
|
|
213
212
|
return resolveMultiLanguageString(value, this.translationService.getActiveLang()).trim();
|
|
214
213
|
}
|
|
215
|
-
/** Preserves multi-language event type titles on the workflow instance for locale-aware task labels. */
|
|
216
|
-
coerceEventTypeTitleForWorkflow(value) {
|
|
217
|
-
if (value == null) {
|
|
218
|
-
return undefined;
|
|
219
|
-
}
|
|
220
|
-
if (typeof value === 'object') {
|
|
221
|
-
return value;
|
|
222
|
-
}
|
|
223
|
-
const trimmed = value.trim();
|
|
224
|
-
return trimmed.length > 0 ? trimmed : undefined;
|
|
225
|
-
}
|
|
226
214
|
buildAssessmentCaseTitle(eventTypeTitle, employeeDisplayName) {
|
|
227
215
|
if (eventTypeTitle && employeeDisplayName) {
|
|
228
216
|
return `${eventTypeTitle} — ${employeeDisplayName}`;
|
|
@@ -241,4 +229,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
241
229
|
}] });
|
|
242
230
|
|
|
243
231
|
export { StartLifecycleEventFlowCommand };
|
|
244
|
-
//# sourceMappingURL=acorex-modules-human-capital-management-start-lifecycle-event-flow.command-
|
|
232
|
+
//# sourceMappingURL=acorex-modules-human-capital-management-start-lifecycle-event-flow.command-Bya_9T7H.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-human-capital-management-start-lifecycle-event-flow.command-Bya_9T7H.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/lifecycle-event/commands/start-lifecycle-event-flow.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXDialogService } from '@acorex/components/dialog';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService, resolveMultiLanguageString } from '@acorex/core/translation';\nimport { AXPSystemStatusType } from '@acorex/platform/common';\nimport { AXPExecuteCommandResult } from '@acorex/platform/core';\nimport {\n AXPEntityStorageService,\n AXPEntityService,\n getRecordWorkflowInstanceId,\n} from '@acorex/platform/layout/entity';\nimport { AXPCommand } from '@acorex/platform/runtime';\nimport {\n AXP_WORKFLOW_ENGINE,\n AXPWorkflowEngine,\n AXPWorkflowManager,\n} from '@acorex/platform/workflow';\nimport { inject, Injectable } from '@angular/core';\nimport { RootConfig } from '../../../const';\nimport { AXMLifecycleEventOpenStatusIds } from '../../../entities/lifecycle-event/lifecycle-event-status.constants';\n\n//#endregion\n\n//#region ---- Types ----\n\nexport interface StartLifecycleEventFlowInput {\n __context__?: {\n options?: StartLifecycleEventFlowOptions;\n };\n workflowId?: string;\n employeeId?: string;\n employeeDisplayName?: string;\n eventTypeId?: string;\n eventTypeTitle?: string;\n questionnaireId?: string;\n targetEmployeeStatusId?: string;\n effectiveDate?: string;\n}\n\nexport interface StartLifecycleEventFlowOptions {\n workflowId: string;\n input: {\n employeeId: string;\n employeeDisplayName: string;\n eventTypeId: string;\n eventTypeTitle: string;\n questionnaireId: string;\n effectiveDate?: string;\n /** Precomposed case/popup title; computed by StartFlow when omitted. */\n assessmentCaseTitle?: string;\n };\n}\n\ninterface OpenLifecycleEventRow {\n id: string;\n workflowInfo?: { instanceId?: string | null; correlationId?: string | null };\n eventType?: { title?: unknown };\n}\n\n//#endregion\n\n/**\n * Starts the guided lifecycle workflow after ensuring at most one in-progress event per employee and event type.\n */\n@Injectable({ providedIn: 'root' })\nexport class StartLifecycleEventFlowCommand implements AXPCommand<StartLifecycleEventFlowInput, void> {\n //#region ---- Services & Dependencies ----\n\n private readonly dialogService = inject(AXDialogService);\n private readonly translationService = inject(AXTranslationService);\n private readonly toastService = inject(AXToastService);\n private readonly entityService = inject(AXPEntityService);\n private readonly entityStorageService = inject(AXPEntityStorageService);\n private readonly workflowManager = inject(AXPWorkflowManager);\n private readonly workflowEngine = inject(AXP_WORKFLOW_ENGINE, { optional: true });\n\n //#endregion\n\n //#region ---- Command Implementation ----\n\n async execute(input: StartLifecycleEventFlowInput): Promise<AXPExecuteCommandResult<void>> {\n const options = (input?.__context__?.options ?? input) as StartLifecycleEventFlowOptions;\n const flowInput = options.input;\n const workflowId = options.workflowId?.trim();\n const employeeId = this.resolveFlowText(flowInput?.employeeId);\n const eventTypeId = flowInput?.eventTypeId?.trim();\n const employeeDisplayName = this.resolveFlowText(flowInput?.employeeDisplayName);\n const eventTypeTitle = this.resolveFlowText(flowInput?.eventTypeTitle);\n const assessmentCaseTitle =\n this.resolveFlowText(flowInput?.assessmentCaseTitle) ||\n this.buildAssessmentCaseTitle(eventTypeTitle, employeeDisplayName);\n\n if (!workflowId || !employeeId || !eventTypeId) {\n return { success: false, message: { text: 'Missing workflow or employee context.' } };\n }\n\n try {\n const openEvents = await this.findOpenLifecycleEvents(employeeId, eventTypeId);\n const orphanInstanceIds = await this.findOrphanRunningWorkflowInstanceIds(\n employeeId,\n eventTypeId,\n workflowId,\n openEvents,\n );\n\n if (openEvents.length > 0 || orphanInstanceIds.length > 0) {\n const confirmed = await this.confirmReplace(eventTypeTitle);\n if (!confirmed) {\n return { success: false };\n }\n await this.closeOpenRuns(openEvents, orphanInstanceIds);\n }\n\n const startResult = await this.workflowManager.start(workflowId, {\n employeeId,\n employeeDisplayName,\n eventTypeId: flowInput.eventTypeId,\n eventTypeTitle,\n assessmentCaseTitle,\n questionnaireId: flowInput.questionnaireId,\n ...(flowInput.effectiveDate ? { effectiveDate: flowInput.effectiveDate } : {}),\n refId: employeeId,\n refType: `${RootConfig.module.name}.Employee`,\n correlationId: this.buildCorrelationId(employeeId, eventTypeId, workflowId),\n });\n\n if (!startResult.success) {\n this.toastService.show({\n color: 'danger',\n title: 'Workflow Execution Failed',\n content: startResult.error ?? 'Unknown error',\n closeButton: true,\n timeOut: 5000,\n });\n return { success: false, message: { text: startResult.error ?? 'Unknown error' } };\n }\n\n return { success: true };\n } catch (error: unknown) {\n const message = error instanceof Error ? error.message : 'Unknown error';\n console.error('[StartLifecycleEventFlowCommand]', error);\n this.toastService.show({\n color: 'danger',\n title: 'Workflow Execution Error',\n content: message,\n closeButton: true,\n timeOut: 5000,\n });\n return { success: false, message: { text: message } };\n }\n }\n\n //#endregion\n\n //#region ---- Open-run detection ----\n\n private async findOpenLifecycleEvents(\n employeeId: string,\n eventTypeId: string,\n ): Promise<OpenLifecycleEventRow[]> {\n const page = await this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.lifecycleEvent.name)\n .data()\n .query({\n skip: 0,\n take: 10,\n filter: {\n logic: 'and',\n filters: [\n { field: 'employeeId', operator: { type: 'equal' }, value: employeeId },\n { field: 'eventTypeId', operator: { type: 'equal' }, value: eventTypeId },\n {\n field: 'statusId',\n operator: { type: 'in' },\n value: [...AXMLifecycleEventOpenStatusIds],\n },\n ],\n },\n });\n\n return (page.items ?? []) as OpenLifecycleEventRow[];\n }\n\n private async findOrphanRunningWorkflowInstanceIds(\n employeeId: string,\n eventTypeId: string,\n workflowId: string,\n openEvents: OpenLifecycleEventRow[],\n ): Promise<string[]> {\n const linkedInstanceIds = new Set(\n openEvents\n .map((row) => getRecordWorkflowInstanceId(row))\n .filter((id): id is string => !!id),\n );\n\n try {\n const page = await this.entityStorageService.query('WorkflowManagement.WorkflowInstance', {\n skip: 0,\n take: 50,\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'definitionId',\n operator: { type: 'equal' },\n value: workflowId,\n },\n { field: 'status', operator: { type: 'equal' }, value: 'Running' },\n ],\n },\n });\n\n const items = (page.items ?? []) as Array<{\n id?: string;\n workflowInstance?: { workflowState?: { input?: Record<string, unknown> } };\n }>;\n\n return items\n .filter((row) => {\n const id = row.id?.trim();\n if (!id || linkedInstanceIds.has(id)) {\n return false;\n }\n const runInput = row.workflowInstance?.workflowState?.input ?? {};\n return runInput['employeeId'] === employeeId && runInput['eventTypeId'] === eventTypeId;\n })\n .map((row) => row.id as string);\n } catch {\n return [];\n }\n }\n\n //#endregion\n\n //#region ---- Close and replace ----\n\n private async confirmReplace(eventTypeTitle: string | undefined): Promise<boolean> {\n const title = await this.translationService.translateAsync(\n '@human-capital-management:lifecycle-events.messages.replace-open.confirm.title',\n );\n const message = await this.translationService.translateAsync(\n '@human-capital-management:lifecycle-events.messages.replace-open.confirm.message',\n {\n params: {\n eventTypeTitle: String(eventTypeTitle ?? '').trim() || '—',\n },\n },\n );\n const result = await this.dialogService.confirm(title, message, 'warning', 'horizontal', false, 'cancel');\n return result.result === true;\n }\n\n private async closeOpenRuns(\n openEvents: OpenLifecycleEventRow[],\n orphanInstanceIds: string[],\n ): Promise<void> {\n const data = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.lifecycleEvent.name)\n .data();\n\n const supersedeNote = 'Closed to start a new lifecycle run.';\n\n for (const event of openEvents) {\n await data.update(event.id, {\n statusId: AXPSystemStatusType.Cancelled,\n notes: supersedeNote,\n } as never);\n\n const instanceId = getRecordWorkflowInstanceId(event);\n if (instanceId) {\n await this.cancelWorkflowInstance(instanceId);\n }\n }\n\n for (const instanceId of orphanInstanceIds) {\n await this.cancelWorkflowInstance(instanceId);\n }\n }\n\n private async cancelWorkflowInstance(instanceId: string): Promise<void> {\n const engine = this.workflowEngine as AXPWorkflowEngine | null;\n if (engine?.cancelInstance) {\n await engine.cancelInstance(instanceId, 'superseded');\n return;\n }\n\n const now = new Date().toISOString();\n try {\n await this.entityStorageService.updateOne('WorkflowManagement.WorkflowInstance', instanceId, {\n status: 'Finished',\n subStatus: 'Cancelled',\n finishedAt: now,\n updatedAt: now,\n });\n } catch (error: unknown) {\n console.warn('[StartLifecycleEventFlowCommand] Failed to cancel workflow instance:', instanceId, error);\n }\n }\n\n //#endregion\n\n //#region ---- Helpers ----\n\n /** Normalizes workflow start input that may be plain text, ML, or a failed expression (`false`). */\n private resolveFlowText(value: unknown): string {\n if (value == null || value === false) {\n return '';\n }\n if (typeof value === 'string') {\n return value.trim();\n }\n if (typeof value === 'number' || typeof value === 'boolean') {\n return String(value).trim();\n }\n return resolveMultiLanguageString(value as never, this.translationService.getActiveLang()).trim();\n }\n\n private buildAssessmentCaseTitle(eventTypeTitle: string, employeeDisplayName: string): string {\n if (eventTypeTitle && employeeDisplayName) {\n return `${eventTypeTitle} — ${employeeDisplayName}`;\n }\n return eventTypeTitle || employeeDisplayName;\n }\n\n private buildCorrelationId(employeeId: string, eventTypeId: string, workflowId: string): string {\n return `${RootConfig.module.name}.Employee:${employeeId}:${eventTypeId}:${workflowId}`;\n }\n\n //#endregion\n}\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AA4DA;AAEA;;AAEG;MAEU,8BAA8B,CAAA;AAD3C,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AACvC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACjD,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;AACrC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,oBAAoB,GAAG,MAAM,CAAC,uBAAuB,CAAC;AACtD,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,kBAAkB,CAAC;QAC5C,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,mBAAmB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AA+PlF,IAAA;;;IAzPC,MAAM,OAAO,CAAC,KAAmC,EAAA;QAC/C,MAAM,OAAO,IAAI,KAAK,EAAE,WAAW,EAAE,OAAO,IAAI,KAAK,CAAmC;AACxF,QAAA,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK;QAC/B,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,EAAE,IAAI,EAAE;QAC7C,MAAM,UAAU,GAA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OAAO,CAAA,EAAG,cAAc,CAAA,GAAA,EAAM,mBAAmB,EAAE;QACrD;QACA,OAAO,cAAc,IAAI,mBAAmB;IAC9C;AAEQ,IAAA,kBAAkB,CAAC,UAAkB,EAAE,WAAmB,EAAE,UAAkB,EAAA;AACpF,QAAA,OAAO,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,UAAA,EAAa,UAAU,CAAA,CAAA,EAAI,WAAW,CAAA,CAAA,EAAI,UAAU,EAAE;IACxF;8GArQW,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,cADjB,MAAM,EAAA,CAAA,CAAA;;2FACnB,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAD1C,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { f as AXMHumanCapitalManagementDataSourceKeys, g as AXMHumanCapitalManagementModule, h as AXMLeaveRequestBadgeProvider, e as AXMLeaveRequestOpenStatusIds, i as AXMLeaveRequestResourceAppointmentProvider, j as AXMLeaveRequestTaskPopoverComponent, d as AXMLifecycleEventOpenStatusIds, k as AXMPermissionsKeys, a as AXM_POSITION_ASSIGNMENT_OVERLAPPING_STATUS_IDS, c as AXPHumanCapitalManagementCommandKeys, l as AXPHumanCapitalManagementFeatureDefinitionProvider, m as AXPHumanCapitalManagementFeatureKeys, n as AXPHumanCapitalManagementMenuKeys, o as AXPLeaveRequestDialogService, H as HCM_CATALOG_SCOPE_HR, p as HumanCapitalManagementManifest, R as RootConfig } from './acorex-modules-human-capital-management-acorex-modules-human-capital-management-CqROha3-.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-modules-human-capital-management.mjs.map
|
|
@@ -5,13 +5,6 @@ import { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER,
|
|
|
5
5
|
import { AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXPSearchCommandProvider } from '@acorex/platform/common';
|
|
6
6
|
import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
7
7
|
|
|
8
|
-
const AXMPermissionsKeys = {
|
|
9
|
-
IdentifierManagement: {
|
|
10
|
-
Management: 'IdentifierManagement:Permission:Management',
|
|
11
|
-
// TODO: Add permission keys when permissions are defined
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
|
|
15
8
|
const config = {
|
|
16
9
|
i18n: 'identifier-management',
|
|
17
10
|
};
|
|
@@ -32,9 +25,6 @@ const RootConfig = {
|
|
|
32
25
|
},
|
|
33
26
|
};
|
|
34
27
|
|
|
35
|
-
//#region ---- Contracts barrel ----
|
|
36
|
-
//#endregion
|
|
37
|
-
|
|
38
28
|
//#region ---- Imports ----
|
|
39
29
|
//#endregion
|
|
40
30
|
//#region ---- Manifest Definition ----
|
|
@@ -173,7 +163,7 @@ class AXMEntityProvider {
|
|
|
173
163
|
if (moduleName == RootConfig.module.name) {
|
|
174
164
|
switch (entityName
|
|
175
165
|
// case RootConfig.entities.sample.name:
|
|
176
|
-
// return (await import('./entities/sample/sample.entity')).
|
|
166
|
+
// return (await import('./entities/sample/sample.entity')).factory();
|
|
177
167
|
) {
|
|
178
168
|
}
|
|
179
169
|
}
|