@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-approve-leave-request.command-8MwfTrgO.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/leave-request/commands/approve-leave-request.command.ts"],"sourcesContent":["import { AXPSystemStatuses } from '@acorex/platform/contracts';\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 '../../../contracts';\n\n//#region ---- Types ----\n\nexport interface ApproveLeaveRequestInput {\n id: string;\n reason?: string;\n note?: string;\n}\n\n//#endregion\n\n/**\n * Approve Leave Request Command\n * Updates the leave request status to Approved\n */\n@Injectable({ providedIn: 'root' })\nexport class ApproveLeaveRequestCommand implements AXPCommand<ApproveLeaveRequestInput, void> {\n //#region ---- Services ----\n\n private readonly entityService = inject(AXPEntityService);\n\n //#endregion\n\n //#region ---- Command Implementation ----\n\n async execute(input: ApproveLeaveRequestInput): Promise<AXPExecuteCommandResult<void>> {\n try {\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 Approved\n const updateData: any = {\n statusId: AXPSystemStatuses.Approved.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 await dataAccessor.update(input.id, updateData);\n\n return {\n success: true,\n };\n } catch (error: any) {\n console.error('[ApproveLeaveRequestCommand] Error:', error);\n return {\n success: false,\n message: {\n text: error.message || 'Failed to approve leave request',\n },\n };\n }\n }\n\n //#endregion\n}\n"],"names":[],"mappings":";;;;;;AAeA;AAEA;;;AAGG;MAEU,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AA0C1D,IAAA;;;IApCC,MAAM,OAAO,CAAC,KAA+B,EAAA;AAC3C,QAAA,IAAI;AACF,YAAA,MAAM,YAAY,GAAG,IAAI,CAAC;AACvB,iBAAA,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI;AACxE,iBAAA,IAAI,EAAe;;AAGtB,YAAA,MAAM,UAAU,GAAQ;AACtB,gBAAA,QAAQ,EAAE,iBAAiB,CAAC,QAAQ,CAAC,IAAI;aAC1C;;AAGD,YAAA,IAAI,KAAK,CAAC,MAAM,EAAE;AAChB,gBAAA,UAAU,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM;YAClC;AACA,YAAA,IAAI,KAAK,CAAC,IAAI,EAAE;AACd,gBAAA,UAAU,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI;YAC9B;YAEA,MAAM,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,UAAU,CAAC;YAE/C,OAAO;AACL,gBAAA,OAAO,EAAE,IAAI;aACd;QACH;QAAE,OAAO,KAAU,EAAE;AACnB,YAAA,OAAO,CAAC,KAAK,CAAC,qCAAqC,EAAE,KAAK,CAAC;YAC3D,OAAO;AACL,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,OAAO,EAAE;AACP,oBAAA,IAAI,EAAE,KAAK,CAAC,OAAO,IAAI,iCAAiC;AACzD,iBAAA;aACF;QACH;IACF;8GA1CW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA1B,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,0BAA0B,cADb,MAAM,EAAA,CAAA,CAAA;;2FACnB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-assign-position-assignment.command-DJft6ua8.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/organization-chart/commands/assign-position-assignment.command.ts"],"sourcesContent":["import { AXPExecuteCommandResult } from '@acorex/platform/core';\nimport { AXPEntityDataSelectorService, AXPEntityDefinitionRegistryService } from '@acorex/platform/layout/entity';\nimport { AXPCommand, AXPCommandService } from '@acorex/platform/runtime';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { inject, Injectable } from '@angular/core';\nimport { RootConfig } from '../../../contracts';\nimport { AXM_POSITION_ASSIGNMENT_STATUS } from '../../../contracts';\n\nexport interface AXMAssignPositionAssignmentInput {\n __context__?: {\n data?: Record<string, unknown>;\n };\n data?: Record<string, unknown>;\n employeeId?: string;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class AXMAssignPositionAssignmentCommand implements AXPCommand<AXMAssignPositionAssignmentInput, unknown> {\n private readonly commandService = inject(AXPCommandService);\n private readonly entityRegistry = inject(AXPEntityDefinitionRegistryService);\n private readonly entitySelector = inject(AXPEntityDataSelectorService);\n private readonly translationService = inject(AXTranslationService);\n\n private readonly positionAssignmentSource = RootConfig.entities.positionAssignment.source;\n private readonly positionAssignmentEntityInfo = {\n module: RootConfig.module.name,\n name: RootConfig.entities.positionAssignment.name,\n title: RootConfig.entities.positionAssignment.title,\n };\n\n async execute(input: AXMAssignPositionAssignmentInput): Promise<AXPExecuteCommandResult<unknown>> {\n const payload = {\n ...((input?.__context__?.data ?? input?.data ?? {}) as Record<string, unknown>),\n };\n const rawEmployeeId = (input?.employeeId ?? payload['employeeId']) as string | undefined;\n const employeeId = rawEmployeeId && rawEmployeeId.trim().length > 0 ? rawEmployeeId : await this.selectEmployeeId();\n if (!employeeId) {\n return { success: false };\n }\n payload['employeeId'] = employeeId;\n payload['statusId'] = this.resolveStatusId(payload['startDate'], payload['endDate']);\n\n return (\n await this.commandService.execute('Entity:Create', {\n __context__: {\n entity: this.positionAssignmentSource,\n entityInfo: this.positionAssignmentEntityInfo,\n data: payload,\n options: {\n process: {\n redirect: false,\n },\n },\n },\n })\n ) ?? { success: false };\n }\n\n private async selectEmployeeId(): Promise<string | undefined> {\n const employeeEntity = await this.entityRegistry.resolve(RootConfig.module.name, RootConfig.entities.employee.name);\n if (!employeeEntity) {\n return undefined;\n }\n\n const title = await this.translationService.translateAsync(\n '@human-capital-management:organization-chart.node-actions.select-employee',\n );\n const result = await this.entitySelector.open({\n entity: employeeEntity,\n title,\n allowMultiple: false,\n columns: ['person.fullName', 'employeeCode'],\n });\n\n const selected = result?.items?.[0];\n const selectedId = selected?.['id'] ?? selected?.['_id'];\n return typeof selectedId === 'string' && selectedId.trim().length > 0 ? selectedId : undefined;\n }\n\n private resolveStatusId(startDate: unknown, endDate: unknown): string {\n const nowTime = Date.now();\n const startTime = this.parseTime(startDate);\n const endTime = this.parseTime(endDate);\n if (endTime !== undefined && endTime <= nowTime) {\n return AXM_POSITION_ASSIGNMENT_STATUS.expired;\n }\n if (startTime !== undefined && startTime > nowTime) {\n return AXM_POSITION_ASSIGNMENT_STATUS.scheduled;\n }\n return AXM_POSITION_ASSIGNMENT_STATUS.active;\n }\n\n private parseTime(value: unknown): number | undefined {\n if (!value) {\n return undefined;\n }\n const dateValue = value instanceof Date ? value : new Date(String(value));\n const time = dateValue.getTime();\n return Number.isFinite(time) ? time : undefined;\n }\n}\n\n"],"names":[],"mappings":";;;;;;;MAiBa,kCAAkC,CAAA;AAD/C,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,kCAAkC,CAAC;AAC3D,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACrD,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;QAEjD,IAAA,CAAA,wBAAwB,GAAG,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,MAAM;AACxE,QAAA,IAAA,CAAA,4BAA4B,GAAG;AAC9C,YAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,YAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;AACjD,YAAA,KAAK,EAAE,U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AAM,SAAS,GAAG,KAAK,YAAY,IAAI,GAAG,KAAK,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACzE,QAAA,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,EAAE;AAChC,QAAA,OAAO,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS;IACjD;8GAlFW,kCAAkC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlC,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,kCAAkC,cADrB,MAAM,EAAA,CAAA,CAAA;;2FACnB,kCAAkC,EAAA,UAAA,EAAA,CAAA;kBAD9C,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-cancel-leave-request.command-r5zEA5Oa.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/leave-request/commands/cancel-leave-request.command.ts"],"sourcesContent":["import { AXPSystemStatuses } from '@acorex/platform/contracts';\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 '../../../contracts';\n\n//#region ---- Types ----\n\nexport interface CancelLeaveRequestInput {\n id: string;\n reason?: string;\n note?: string;\n}\n\n//#endregion\n\n/**\n * Cancel Leave Request Command\n * Updates the leave request status to Cancelled\n */\n@Injectable({ providedIn: 'root' })\nexport class CancelLeaveRequestCommand implements AXPCommand<CancelLeaveRequestInput, void> {\n //#region ---- Services ----\n\n private readonly entityService = inject(AXPEntityService);\n\n //#endregion\n\n //#region ---- Command Implementation ----\n\n async execute(input: CancelLeaveRequestInput): Promise<AXPExecuteCommandResult<void>> {\n try {\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 Cancelled\n const updateData: any = {\n statusId: AXPSystemStatuses.Cancelled.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 await dataAccessor.update(input.id, updateData);\n\n return {\n success: true,\n };\n } catch (error: any) {\n console.error('[CancelLeaveRequestCommand] Error:', error);\n return {\n success: false,\n message: {\n text: error.message || 'Failed to cancel leave request',\n },\n };\n }\n }\n\n //#endregion\n}\n"],"names":[],"mappings":";;;;;;AAeA;AAEA;;;AAGG;MAEU,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AA0C1D,IAAA;;;IApCC,MAAM,OAAO,CAAC,KAA8B,EAAA;AAC1C,QAAA,IAAI;AACF,YAAA,MAAM,YAAY,GAAG,IAAI,CAAC;AACvB,iBAAA,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI;AACxE,iBAAA,IAAI,EAAe;;AAGtB,YAAA,MAAM,UAAU,GAAQ;AACtB,gBAAA,QAAQ,EAAE,iBAAiB,CAAC,SAAS,CAAC,IAAI;aAC3C;;AAGD,YAAA,IAAI,KAAK,CAAC,MAAM,EAAE;AAChB,gBAAA,UAAU,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM;YAClC;AACA,YAAA,IAAI,KAAK,CAAC,IAAI,EAAE;AACd,gBAAA,UAAU,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI;YAC9B;YAEA,MAAM,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,UAAU,CAAC;YAE/C,OAAO;AACL,gBAAA,OAAO,EAAE,IAAI;aACd;QACH;QAAE,OAAO,KAAU,EAAE;AACnB,YAAA,OAAO,CAAC,KAAK,CAAC,oCAAoC,EAAE,KAAK,CAAC;YAC1D,OAAO;AACL,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,OAAO,EAAE;AACP,oBAAA,IAAI,EAAE,KAAK,CAAC,OAAO,IAAI,gCAAgC;AACxD,iBAAA;aACF;QACH;IACF;8GA1CW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,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;;;;;"}
|
package/fesm2022/acorex-modules-human-capital-management-edit-signature.command-9XI2V0Yt.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-edit-signature.command-9XI2V0Yt.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/profile-page/commands/edit-signature.command.ts"],"sourcesContent":["import { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPExecuteCommandResult } from '@acorex/platform/core';\nimport { AXPSignatureEditorService } from '@acorex/platform/layout/components';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { AXPCommand } from '@acorex/platform/runtime';\nimport { inject, Injectable } from '@angular/core';\nimport { defaultTo, isEmpty, isNil, trim } from 'lodash-es';\n\nimport { RootConfig } from '../../../contracts';\nimport { AXMHumanCapitalManagementEmployeeEntityModel } from '../../../entities/employee/employee.types';\nimport { AXMHcmProfileContextService } from '../profile-context.service';\n\n//#region ---- Edit signature command ----\n\n/** Opens the shared signature editor for the current employee record. */\n@Injectable({ providedIn: 'root' })\nexport class AXMHcmEditSignatureCommand implements AXPCommand {\n //#region ---- Services & Dependencies ----\n\n private readonly signatureEditorService = inject(AXPSignatureEditorService);\n private readonly entityService = inject(AXPEntityService);\n private readonly profileContextService = inject(AXMHcmProfileContextService);\n private readonly toastService = inject(AXToastService);\n private readonly translateService = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Command ----\n\n async execute(): Promise<AXPExecuteCommandResult<void>> {\n const profileContext = await this.profileContextService.resolve();\n if (isNil(profileContext)) {\n return {\n success: false,\n message: {\n text: await this.translateService.translateAsync(\n '@human-capital-management:profile-page.commands.edit-signature.messages.no-employee',\n ),\n },\n };\n }\n\n const employeeData = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.employee.name)\n .data<string, AXMHumanCapitalManagementEmployeeEntityModel>();\n\n const employee = await employeeData.byKey(profileContext.employeeId);\n if (isNil(employee)) {\n return {\n success: false,\n message: {\n text: await this.translateService.translateAsync(\n '@human-capital-management:profile-page.commands.edit-signature.messages.employee-not-found',\n ),\n },\n };\n }\n\n const existingSignature = defaultTo(employee.signature, '');\n const submitActionKey = isEmpty(existingSignature)\n ? '@general:actions.save.title'\n : '@general:actions.update.title';\n\n const dialogTitle = await this.translateService.translateAsync(\n '@human-capital-management:profile-page.commands.edit-signature.dialog.title',\n );\n\n const result = await this.signatureEditorService.open({\n title: dialogTitle,\n value: existingSignature,\n submitActionKey,\n });\n\n if (result.action === 'cancel') {\n return { success: false };\n }\n\n const signature = trim(defaultTo(result.value, ''));\n await employeeData.update(profileContext.employeeId, { signature });\n\n const successTitle = await this.translateService.translateAsync(\n isEmpty(signature)\n ? '@human-capital-management:profile-page.commands.edit-signature.messages.removed'\n : '@human-capital-management:profile-page.commands.edit-signature.messages.success',\n );\n this.toastService.show({ color: 'success', title: successTitle });\n return { success: true };\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;;;AAaA;AAEA;MAEa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,sBAAsB,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAC1D,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,qBAAqB,GAAG,MAAM,CAAC,2BAA2B,CAAC;AAC3D,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;AACrC,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAmEjE,IAAA;;;AA7DC,IAAA,MAAM,OAAO,GAAA;QACX,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,OAAO,EAAE;AACjE,QAAA,IAAI,KAAK,CAAC,cAAc,CAAC,EAAE;YACzB,OAAO;AACL,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,OAAO,EAAE;oBACP,IAAI,EAAE,MAAM,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAC9C,qFAAqF,CACtF;AACF,iBAAA;aACF;QACH;AAEA,QAAA,MAAM,YAAY,GAAG,IAAI,CAAC;AACvB,aAAA,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI;AACpE,aAAA,IAAI,EAAwD;QAE/D,MAAM,QAAQ,GAAG,MAAM,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC;AACpE,QAAA,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE;YACnB,OAAO;AACL,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,OAAO,EAAE;oBACP,IAAI,EAAE,MAAM,IAAI,CAAC,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,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,cADb,MAAM,EAAA,CAAA,CAAA;;2FACnB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-reject-leave-request.command-Ba2f-i0A.mjs","sources":["../../../../libs/modules/human-capital-management/src/lib/features/leave-request/commands/reject-leave-request.command.ts"],"sourcesContent":["import { AXPSystemStatuses } from '@acorex/platform/contracts';\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 '../../../contracts';\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,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAgD1D,IAAA;;;IA1CC,MAAM,OAAO,CAAC,KAA8B,EAAA;AAC1C,QAAA,IAAI;AACF,YAAA,OAAO,CAAC,GAAG,CAAC,mDAAmD,EAAE,KAAK,CAAC;AAEvE,YAAA,MAAM,YAAY,GAAG,IAAI,CAAC;AACvB,iBAAA,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI;AACxE,iBAAA,IAAI,EAAe;;AAGtB,YAAA,MAAM,UAAU,GAAQ;AACtB,gBAAA,QAAQ,EAAE,iBAAiB,CAAC,QAAQ,CAAC,IAAI;aAC1C;;AAGD,YAAA,IAAI,KAAK,CAAC,MAAM,EAAE;AAChB,gBAAA,UAAU,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM;YAClC;AACA,YAAA,IAAI,KAAK,CAAC,IAAI,EAAE;AACd,gBAAA,UAAU,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI;YAC9B;AAEA,YAAA,OAAO,CAAC,GAAG,CAAC,mDAAmD,EAAE,UAAU,CAAC;YAE5E,MAAM,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,UAAU,CAAC;AAE/C,YAAA,OAAO,CAAC,GAAG,CAAC,+CAA+C,CAAC;YAE5D,OAAO;AACL,gBAAA,OAAO,EAAE,IAAI;aACd;QACH;QAAE,OAAO,KAAU,EAAE;AACnB,YAAA,OAAO,CAAC,KAAK,CAAC,oCAAoC,EAAE,KAAK,CAAC;YAC1D,OAAO;AACL,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,OAAO,EAAE;AACP,oBAAA,IAAI,EAAE,KAAK,CAAC,OAAO,IAAI,gCAAgC;AACxD,iBAAA;aACF;QACH;IACF;8GAhDW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,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;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-revoke-position-assignment.command-g9p7YKJ1.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 '../../../contracts';\nimport {\n AXM_POSITION_ASSIGNMENT_OVERLAPPING_STATUS_IDS,\n AXM_POSITION_ASSIGNMENT_STATUS,\n} from '../../../contracts';\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,M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,EAAE,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE;YACzF,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE;AACvB,gBAAA,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AACZ,gBAAA,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;YACd;QACF;AACA,QAAA,OAAO,GAAG;IACZ;8GAjHW,sCAAsC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAtC,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,sCAAsC,cADzB,MAAM,EAAA,CAAA,CAAA;;2FACnB,sCAAsC,EAAA,UAAA,EAAA,CAAA;kBADlD,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-start-leave-request-flow.command-BPFrBjWG.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/contracts';\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 '../../../contracts';\nimport { AXMLeaveRequestOpenStatusIds } from '../../../contracts';\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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AAC,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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-human-capital-management-start-lifecycle-event-flow.command-C62jEjUD.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, type AXMultiLanguageString } from '@acorex/core/translation';\nimport { AXPSystemStatusType } from '@acorex/platform/contracts';\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 '../../../contracts';\nimport {\n AXMLifecycleEventOpenStatusIds,\n} from '../../../contracts';\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?: AXMultiLanguageString | 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?: AXMultiLanguageString | 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 eventTypeTitleForWorkflow = this.coerceEventTypeTitleForWorkflow(flowInput?.eventTypeTitle);\n const eventTypeTitleDisplay = this.resolveFlowText(flowInput?.eventTypeTitle);\n const assessmentCaseTitle =\n this.resolveFlowText(flowInput?.assessmentCaseTitle) ||\n this.buildAssessmentCaseTitle(eventTypeTitleDisplay, 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(eventTypeTitleDisplay);\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 ...(eventTypeTitleForWorkflow != null ? { eventTypeTitle: eventTypeTitleForWorkflow } : {}),\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 /** Preserves multi-language event type titles on the workflow instance for locale-aware task labels. */\n private coerceEventTypeTitleForWorkflow(\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 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;AA8DA;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;AA8QlF,IAAA;;;IAxQC,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,GAAG,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,UAAU,CAAC;QAC9D,MAAM,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE;QAClD,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,IAAI,KAAK,IAAI,IAAI,EAAE;AACjB,YAAA,OAAO,SAAS;QAClB;AACA,QAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,YAAA,OAAO,KAAK;QACd;AACA,QAAA,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE;AAC5B,QAAA,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,GAAG,OAAO,GAAG,SAAS;IACjD;IAEQ,wBAAwB,CAAC,cAAsB,EAAE,mBAA2B,EAAA;AAClF,QAAA,IAAI,cAAc,IAAI,mBAAmB,EAAE;AACzC,YAAA,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;8GApRW,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,179 +0,0 @@
|
|
|
1
|
-
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions, AXPWidgetsCatalog } from '@acorex/platform/contracts';
|
|
2
|
-
import { RootConfig } from './acorex-modules-jira-management.mjs';
|
|
3
|
-
|
|
4
|
-
//#region ---- Entity Factory ----
|
|
5
|
-
async function jiraWorklogFactory() {
|
|
6
|
-
const i18n = `${RootConfig.config.i18n}:worklogs.entities.worklog`;
|
|
7
|
-
const module = RootConfig.module.name;
|
|
8
|
-
const entityDef = {
|
|
9
|
-
module,
|
|
10
|
-
name: RootConfig.entities.jiraWorklog.name,
|
|
11
|
-
title: RootConfig.entities.jiraWorklog.title,
|
|
12
|
-
icon: RootConfig.entities.jiraWorklog.icon,
|
|
13
|
-
plugins: [{ name: 'history' }],
|
|
14
|
-
formats: {
|
|
15
|
-
individual: RootConfig.entities.jiraWorklog.title,
|
|
16
|
-
plural: RootConfig.entities.jiraWorklog.titlePlural,
|
|
17
|
-
searchResult: {
|
|
18
|
-
title: '{{ issue.jiraIssueKey }} — {{ timeSpentDisplay }}',
|
|
19
|
-
description: '{{ authorDisplayName }}',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
groups: [
|
|
23
|
-
{ id: 'basic-info', title: '@general:terms.interface.basic-info' },
|
|
24
|
-
{ id: 'time', title: `@${i18n}.groups.time` },
|
|
25
|
-
{ id: 'jira-meta', title: `@${i18n}.groups.jira-meta` },
|
|
26
|
-
],
|
|
27
|
-
properties: [
|
|
28
|
-
{
|
|
29
|
-
name: 'id',
|
|
30
|
-
title: 'ID',
|
|
31
|
-
groupId: 'basic-info',
|
|
32
|
-
schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
name: 'issueId',
|
|
36
|
-
title: `@${i18n}.fields.issue.title`,
|
|
37
|
-
groupId: 'basic-info',
|
|
38
|
-
schema: {
|
|
39
|
-
dataType: 'string',
|
|
40
|
-
interface: {
|
|
41
|
-
type: AXPWidgetsCatalog.lookup,
|
|
42
|
-
options: {
|
|
43
|
-
entity: `${module}.${RootConfig.entities.jiraIssue.name}`,
|
|
44
|
-
textField: 'jiraIssueKey',
|
|
45
|
-
valueField: 'id',
|
|
46
|
-
look: 'select',
|
|
47
|
-
columns: ['jiraIssueKey', 'summary'],
|
|
48
|
-
expose: [
|
|
49
|
-
{ source: 'id', target: 'issue.id' },
|
|
50
|
-
{ source: 'jiraIssueKey', target: 'issue.jiraIssueKey' },
|
|
51
|
-
{ source: 'summary', target: 'issue.summary' },
|
|
52
|
-
],
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
validations: [{ rule: 'required' }],
|
|
57
|
-
options: { sort: { enabled: true }, filter: { advance: { enabled: true } } },
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
name: 'jiraWorklogId',
|
|
61
|
-
title: `@${i18n}.fields.jira-worklog-id.title`,
|
|
62
|
-
groupId: 'jira-meta',
|
|
63
|
-
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
|
|
64
|
-
validations: [{ rule: 'required' }],
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: 'authorAccountId',
|
|
68
|
-
title: `@${i18n}.fields.author-account-id.title`,
|
|
69
|
-
groupId: 'basic-info',
|
|
70
|
-
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
name: 'authorDisplayName',
|
|
74
|
-
title: `@${i18n}.fields.author-display-name.title`,
|
|
75
|
-
groupId: 'basic-info',
|
|
76
|
-
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
|
|
77
|
-
options: { sort: { enabled: true }, filter: { inline: { enabled: true } } },
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
name: 'started',
|
|
81
|
-
title: `@${i18n}.fields.started.title`,
|
|
82
|
-
groupId: 'time',
|
|
83
|
-
schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },
|
|
84
|
-
validations: [{ rule: 'required' }],
|
|
85
|
-
options: { sort: { enabled: true }, filter: { advance: { enabled: true } } },
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
name: 'timeSpentSeconds',
|
|
89
|
-
title: `@${i18n}.fields.time-spent-seconds.title`,
|
|
90
|
-
groupId: 'time',
|
|
91
|
-
schema: {
|
|
92
|
-
dataType: 'number',
|
|
93
|
-
interface: { type: AXPWidgetsCatalog.number, options: { minValue: 0 } },
|
|
94
|
-
},
|
|
95
|
-
validations: [{ rule: 'required' }],
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
name: 'timeSpentDisplay',
|
|
99
|
-
title: `@${i18n}.fields.time-spent-display.title`,
|
|
100
|
-
groupId: 'time',
|
|
101
|
-
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
name: 'comment',
|
|
105
|
-
title: `@${i18n}.fields.comment.title`,
|
|
106
|
-
groupId: 'basic-info',
|
|
107
|
-
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 4 } } },
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
name: 'jiraCreated',
|
|
111
|
-
title: `@${i18n}.fields.jira-created.title`,
|
|
112
|
-
groupId: 'jira-meta',
|
|
113
|
-
schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
name: 'jiraUpdated',
|
|
117
|
-
title: `@${i18n}.fields.jira-updated.title`,
|
|
118
|
-
groupId: 'jira-meta',
|
|
119
|
-
schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
columns: [
|
|
123
|
-
{ name: 'issueId', options: { dataPath: 'issue.jiraIssueKey' } },
|
|
124
|
-
{ name: 'authorDisplayName' },
|
|
125
|
-
{ name: 'started' },
|
|
126
|
-
{ name: 'timeSpentDisplay' },
|
|
127
|
-
{ name: 'timeSpentSeconds' },
|
|
128
|
-
],
|
|
129
|
-
interfaces: {
|
|
130
|
-
master: {
|
|
131
|
-
create: {
|
|
132
|
-
sections: [{ id: 'basic-info' }, { id: 'time' }, { id: 'jira-meta' }],
|
|
133
|
-
properties: [
|
|
134
|
-
{ name: 'issueId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
135
|
-
{ name: 'jiraWorklogId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
136
|
-
{ name: 'authorDisplayName', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
137
|
-
{ name: 'started', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
138
|
-
{ name: 'timeSpentSeconds', layout: { positions: { lg: { colSpan: 3 } } } },
|
|
139
|
-
{ name: 'timeSpentDisplay', layout: { positions: { lg: { colSpan: 3 } } } },
|
|
140
|
-
{ name: 'comment', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
141
|
-
],
|
|
142
|
-
},
|
|
143
|
-
update: {
|
|
144
|
-
sections: [{ id: 'basic-info' }, { id: 'time' }, { id: 'jira-meta' }],
|
|
145
|
-
properties: [
|
|
146
|
-
{ name: 'issueId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
147
|
-
{ name: 'jiraWorklogId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
148
|
-
{ name: 'authorDisplayName', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
149
|
-
{ name: 'started', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
150
|
-
{ name: 'timeSpentSeconds', layout: { positions: { lg: { colSpan: 3 } } } },
|
|
151
|
-
{ name: 'timeSpentDisplay', layout: { positions: { lg: { colSpan: 3 } } } },
|
|
152
|
-
{ name: 'comment', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
153
|
-
{ name: 'jiraCreated', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
154
|
-
{ name: 'jiraUpdated', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
155
|
-
],
|
|
156
|
-
},
|
|
157
|
-
single: {
|
|
158
|
-
title: '{{ timeSpentDisplay }}',
|
|
159
|
-
sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
160
|
-
properties: [
|
|
161
|
-
{ name: 'issueId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
162
|
-
{ name: 'started', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
163
|
-
{ name: 'timeSpentDisplay', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
164
|
-
],
|
|
165
|
-
actions: [...entityMasterRecordActions()],
|
|
166
|
-
},
|
|
167
|
-
list: {
|
|
168
|
-
actions: [...entityMasterCrudActions()],
|
|
169
|
-
views: [createAllQueryView({ sorts: [{ name: 'started', dir: 'desc' }] })],
|
|
170
|
-
},
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
};
|
|
174
|
-
return entityDef;
|
|
175
|
-
}
|
|
176
|
-
//#endregion
|
|
177
|
-
|
|
178
|
-
export { jiraWorklogFactory };
|
|
179
|
-
//# sourceMappingURL=acorex-modules-jira-management-index-BGnRJkkx.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-jira-management-index-BGnRJkkx.mjs","sources":["../../../../libs/modules/jira-management/src/lib/entities/jira-worklog/jira-worklog.entity.ts"],"sourcesContent":["import {\n AXPEntity,\n AXPWidgetsCatalog,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex/platform/contracts';\nimport { RootConfig } from '../../contracts';\n\n//#region ---- Entity Factory ----\n\nexport async function jiraWorklogFactory(): Promise<AXPEntity | null> {\n const i18n = `${RootConfig.config.i18n}:worklogs.entities.worklog`;\n const module = RootConfig.module.name;\n\n const entityDef: AXPEntity = {\n module,\n name: RootConfig.entities.jiraWorklog.name,\n title: RootConfig.entities.jiraWorklog.title,\n icon: RootConfig.entities.jiraWorklog.icon,\n plugins: [{ name: 'history' }],\n formats: {\n individual: RootConfig.entities.jiraWorklog.title,\n plural: RootConfig.entities.jiraWorklog.titlePlural,\n searchResult: {\n title: '{{ issue.jiraIssueKey }} — {{ timeSpentDisplay }}',\n description: '{{ authorDisplayName }}',\n },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'time', title: `@${i18n}.groups.time` },\n { id: 'jira-meta', title: `@${i18n}.groups.jira-meta` },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'issueId',\n title: `@${i18n}.fields.issue.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${module}.${RootConfig.entities.jiraIssue.name}`,\n textField: 'jiraIssueKey',\n valueField: 'id',\n look: 'select',\n columns: ['jiraIssueKey', 'summary'],\n expose: [\n { source: 'id', target: 'issue.id' },\n { source: 'jiraIssueKey', target: 'issue.jiraIssueKey' },\n { source: 'summary', target: 'issue.summary' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n options: { sort: { enabled: true }, filter: { advance: { enabled: true } } },\n },\n {\n name: 'jiraWorklogId',\n title: `@${i18n}.fields.jira-worklog-id.title`,\n groupId: 'jira-meta',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'authorAccountId',\n title: `@${i18n}.fields.author-account-id.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n },\n {\n name: 'authorDisplayName',\n title: `@${i18n}.fields.author-display-name.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n options: { sort: { enabled: true }, filter: { inline: { enabled: true } } },\n },\n {\n name: 'started',\n title: `@${i18n}.fields.started.title`,\n groupId: 'time',\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },\n validations: [{ rule: 'required' }],\n options: { sort: { enabled: true }, filter: { advance: { enabled: true } } },\n },\n {\n name: 'timeSpentSeconds',\n title: `@${i18n}.fields.time-spent-seconds.title`,\n groupId: 'time',\n schema: {\n dataType: 'number',\n interface: { type: AXPWidgetsCatalog.number, options: { minValue: 0 } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'timeSpentDisplay',\n title: `@${i18n}.fields.time-spent-display.title`,\n groupId: 'time',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n },\n {\n name: 'comment',\n title: `@${i18n}.fields.comment.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 4 } } },\n },\n {\n name: 'jiraCreated',\n title: `@${i18n}.fields.jira-created.title`,\n groupId: 'jira-meta',\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },\n },\n {\n name: 'jiraUpdated',\n title: `@${i18n}.fields.jira-updated.title`,\n groupId: 'jira-meta',\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime } },\n },\n ],\n columns: [\n { name: 'issueId', options: { dataPath: 'issue.jiraIssueKey' } },\n { name: 'authorDisplayName' },\n { name: 'started' },\n { name: 'timeSpentDisplay' },\n { name: 'timeSpentSeconds' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'time' }, { id: 'jira-meta' }],\n properties: [\n { name: 'issueId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'jiraWorklogId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'authorDisplayName', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'started', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'timeSpentSeconds', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'timeSpentDisplay', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'comment', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'time' }, { id: 'jira-meta' }],\n properties: [\n { name: 'issueId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'jiraWorklogId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'authorDisplayName', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'started', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'timeSpentSeconds', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'timeSpentDisplay', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'comment', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'jiraCreated', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'jiraUpdated', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n single: {\n title: '{{ timeSpentDisplay }}',\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'issueId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'started', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'timeSpentDisplay', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'started', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;AASA;AAEO,eAAe,kBAAkB,GAAA;IACtC,MAAM,IAAI,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,0BAAA,CAA4B;AAClE,IAAA,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAErC,IAAA,MAAM,SAAS,GAAc;QAC3B,MAAM;AACN,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK;AAC5C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,I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EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC5E,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAC3E,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions, AXPWidgetsCatalog } from '@acorex/platform/contracts';
|
|
2
|
-
import { RootConfig } from './acorex-modules-jira-management.mjs';
|
|
3
|
-
|
|
4
|
-
//#region ---- Entity Factory ----
|
|
5
|
-
async function jiraIssueTypeFactory() {
|
|
6
|
-
const i18n = `${RootConfig.config.i18n}:issue-types.entities.issue-type`;
|
|
7
|
-
const module = RootConfig.module.name;
|
|
8
|
-
const entityDef = {
|
|
9
|
-
module,
|
|
10
|
-
name: RootConfig.entities.jiraIssueType.name,
|
|
11
|
-
title: RootConfig.entities.jiraIssueType.title,
|
|
12
|
-
icon: RootConfig.entities.jiraIssueType.icon,
|
|
13
|
-
plugins: [
|
|
14
|
-
{ name: 'history' },
|
|
15
|
-
{ name: 'unique-fields', options: { fields: ['jiraInstanceId', 'jiraIssueTypeId'], scope: 'global' } },
|
|
16
|
-
],
|
|
17
|
-
formats: {
|
|
18
|
-
individual: RootConfig.entities.jiraIssueType.title,
|
|
19
|
-
plural: RootConfig.entities.jiraIssueType.titlePlural,
|
|
20
|
-
searchResult: { title: '{{ name }}', description: '{{ jiraIssueTypeId }}' },
|
|
21
|
-
},
|
|
22
|
-
groups: [
|
|
23
|
-
{ id: 'basic-info', title: '@general:terms.interface.basic-info' },
|
|
24
|
-
{ id: 'jira-meta', title: `@${i18n}.groups.jira-meta` },
|
|
25
|
-
],
|
|
26
|
-
properties: [
|
|
27
|
-
{
|
|
28
|
-
name: 'id',
|
|
29
|
-
title: 'ID',
|
|
30
|
-
groupId: 'basic-info',
|
|
31
|
-
schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
name: 'jiraInstanceId',
|
|
35
|
-
title: `@${i18n}.fields.jira-instance.title`,
|
|
36
|
-
groupId: 'basic-info',
|
|
37
|
-
schema: {
|
|
38
|
-
dataType: 'string',
|
|
39
|
-
interface: {
|
|
40
|
-
type: AXPWidgetsCatalog.lookup,
|
|
41
|
-
options: {
|
|
42
|
-
entity: `${module}.${RootConfig.entities.jiraInstance.name}`,
|
|
43
|
-
textField: 'title',
|
|
44
|
-
valueField: 'id',
|
|
45
|
-
look: 'select',
|
|
46
|
-
expose: [
|
|
47
|
-
{ source: 'id', target: 'jiraInstance.id' },
|
|
48
|
-
{ source: 'title', target: 'jiraInstance.title' },
|
|
49
|
-
],
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
validations: [{ rule: 'required' }],
|
|
54
|
-
options: { sort: { enabled: true }, filter: { advance: { enabled: true } } },
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
name: 'jiraIssueTypeId',
|
|
58
|
-
title: `@${i18n}.fields.jira-issue-type-id.title`,
|
|
59
|
-
groupId: 'jira-meta',
|
|
60
|
-
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
|
|
61
|
-
validations: [{ rule: 'required' }],
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
name: 'name',
|
|
65
|
-
title: `@${i18n}.fields.name.title`,
|
|
66
|
-
groupId: 'basic-info',
|
|
67
|
-
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
|
|
68
|
-
validations: [{ rule: 'required' }],
|
|
69
|
-
options: { sort: { enabled: true }, filter: { inline: { enabled: true }, advance: { enabled: true } } },
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: 'description',
|
|
73
|
-
title: '@general:terms.common.description',
|
|
74
|
-
groupId: 'basic-info',
|
|
75
|
-
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 2 } } },
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: 'subtask',
|
|
79
|
-
title: `@${i18n}.fields.subtask.title`,
|
|
80
|
-
groupId: 'jira-meta',
|
|
81
|
-
schema: { dataType: 'boolean', defaultValue: false, interface: { type: AXPWidgetsCatalog.toggle } },
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: 'hierarchyLevel',
|
|
85
|
-
title: `@${i18n}.fields.hierarchy-level.title`,
|
|
86
|
-
groupId: 'jira-meta',
|
|
87
|
-
schema: {
|
|
88
|
-
dataType: 'number',
|
|
89
|
-
defaultValue: 0,
|
|
90
|
-
interface: { type: AXPWidgetsCatalog.number, options: { minValue: 0 } },
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
name: 'iconUrl',
|
|
95
|
-
title: `@${i18n}.fields.icon-url.title`,
|
|
96
|
-
groupId: 'jira-meta',
|
|
97
|
-
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
columns: [
|
|
101
|
-
{ name: 'name' },
|
|
102
|
-
{ name: 'jiraIssueTypeId' },
|
|
103
|
-
{ name: 'jiraInstanceId', options: { dataPath: 'jiraInstance.title' } },
|
|
104
|
-
{ name: 'subtask' },
|
|
105
|
-
{ name: 'hierarchyLevel' },
|
|
106
|
-
],
|
|
107
|
-
interfaces: {
|
|
108
|
-
master: {
|
|
109
|
-
create: {
|
|
110
|
-
sections: [{ id: 'basic-info' }, { id: 'jira-meta' }],
|
|
111
|
-
properties: [
|
|
112
|
-
{ name: 'jiraInstanceId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
113
|
-
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
114
|
-
{ name: 'jiraIssueTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
115
|
-
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
116
|
-
{ name: 'subtask', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
117
|
-
{ name: 'hierarchyLevel', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
118
|
-
{ name: 'iconUrl', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
119
|
-
],
|
|
120
|
-
},
|
|
121
|
-
update: {
|
|
122
|
-
sections: [{ id: 'basic-info' }, { id: 'jira-meta' }],
|
|
123
|
-
properties: [
|
|
124
|
-
{ name: 'jiraInstanceId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
125
|
-
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
126
|
-
{ name: 'jiraIssueTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
127
|
-
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
128
|
-
{ name: 'subtask', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
129
|
-
{ name: 'hierarchyLevel', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
130
|
-
{ name: 'iconUrl', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
131
|
-
],
|
|
132
|
-
},
|
|
133
|
-
single: {
|
|
134
|
-
title: '{{ name }}',
|
|
135
|
-
sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
136
|
-
properties: [
|
|
137
|
-
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
138
|
-
{ name: 'jiraIssueTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
139
|
-
{ name: 'jiraInstanceId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
140
|
-
],
|
|
141
|
-
actions: [...entityMasterRecordActions()],
|
|
142
|
-
},
|
|
143
|
-
list: {
|
|
144
|
-
actions: [...entityMasterCrudActions()],
|
|
145
|
-
views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
};
|
|
150
|
-
return entityDef;
|
|
151
|
-
}
|
|
152
|
-
//#endregion
|
|
153
|
-
|
|
154
|
-
export { jiraIssueTypeFactory };
|
|
155
|
-
//# sourceMappingURL=acorex-modules-jira-management-index-BXgxorT1.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-jira-management-index-BXgxorT1.mjs","sources":["../../../../libs/modules/jira-management/src/lib/entities/jira-issue-type/jira-issue-type.entity.ts"],"sourcesContent":["import {\n AXPEntity,\n AXPWidgetsCatalog,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex/platform/contracts';\nimport { RootConfig } from '../../contracts';\n\n//#region ---- Entity Factory ----\n\nexport async function jiraIssueTypeFactory(): Promise<AXPEntity | null> {\n const i18n = `${RootConfig.config.i18n}:issue-types.entities.issue-type`;\n const module = RootConfig.module.name;\n\n const entityDef: AXPEntity = {\n module,\n name: RootConfig.entities.jiraIssueType.name,\n title: RootConfig.entities.jiraIssueType.title,\n icon: RootConfig.entities.jiraIssueType.icon,\n plugins: [\n { name: 'history' },\n { name: 'unique-fields', options: { fields: ['jiraInstanceId', 'jiraIssueTypeId'], scope: 'global' } },\n ],\n formats: {\n individual: RootConfig.entities.jiraIssueType.title,\n plural: RootConfig.entities.jiraIssueType.titlePlural,\n searchResult: { title: '{{ name }}', description: '{{ jiraIssueTypeId }}' },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'jira-meta', title: `@${i18n}.groups.jira-meta` },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'jiraInstanceId',\n title: `@${i18n}.fields.jira-instance.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${module}.${RootConfig.entities.jiraInstance.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'jiraInstance.id' },\n { source: 'title', target: 'jiraInstance.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n options: { sort: { enabled: true }, filter: { advance: { enabled: true } } },\n },\n {\n name: 'jiraIssueTypeId',\n title: `@${i18n}.fields.jira-issue-type-id.title`,\n groupId: 'jira-meta',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'name',\n title: `@${i18n}.fields.name.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n validations: [{ rule: 'required' }],\n options: { sort: { enabled: true }, filter: { inline: { enabled: true }, advance: { enabled: true } } },\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 2 } } },\n },\n {\n name: 'subtask',\n title: `@${i18n}.fields.subtask.title`,\n groupId: 'jira-meta',\n schema: { dataType: 'boolean', defaultValue: false, interface: { type: AXPWidgetsCatalog.toggle } },\n },\n {\n name: 'hierarchyLevel',\n title: `@${i18n}.fields.hierarchy-level.title`,\n groupId: 'jira-meta',\n schema: {\n dataType: 'number',\n defaultValue: 0,\n interface: { type: AXPWidgetsCatalog.number, options: { minValue: 0 } },\n },\n },\n {\n name: 'iconUrl',\n title: `@${i18n}.fields.icon-url.title`,\n groupId: 'jira-meta',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n },\n ],\n columns: [\n { name: 'name' },\n { name: 'jiraIssueTypeId' },\n { name: 'jiraInstanceId', options: { dataPath: 'jiraInstance.title' } },\n { name: 'subtask' },\n { name: 'hierarchyLevel' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'jira-meta' }],\n properties: [\n { name: 'jiraInstanceId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'jiraIssueTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'subtask', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'hierarchyLevel', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'iconUrl', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'jira-meta' }],\n properties: [\n { name: 'jiraInstanceId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'jiraIssueTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'subtask', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'hierarchyLevel', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'iconUrl', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ name }}',\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'jiraIssueTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'jiraInstanceId', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: '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