@acorex/modules 20.7.16 → 20.7.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assessment-management/index.d.ts +0 -1
- package/business-core/index.d.ts +69 -2
- package/common/index.d.ts +21 -0
- package/contact-core/index.d.ts +1 -7
- package/customer-management/index.d.ts +1 -53
- package/data-management/index.d.ts +17 -4
- package/document-management/index.d.ts +0 -1
- package/fesm2022/acorex-modules-application-management.mjs +19 -27
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-CULLP39a.mjs} +65 -67
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-CULLP39a.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs → acorex-modules-assessment-management-answers-viewer-widget-column.component-BLjzQMgD.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-column.component-BLjzQMgD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs → acorex-modules-assessment-management-answers-viewer-widget-edit.component-Dy1fV5UY.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-edit.component-Dy1fV5UY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs → acorex-modules-assessment-management-answers-viewer-widget-view.component-UWn57QXA.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-view.component-UWn57QXA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs → acorex-modules-assessment-management-assessment-case.entity-DMSrj4-x.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs.map → acorex-modules-assessment-management-assessment-case.entity-DMSrj4-x.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs → acorex-modules-assessment-management-assessment-session.entity-Amq-d0wb.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs.map → acorex-modules-assessment-management-assessment-session.entity-Amq-d0wb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs → acorex-modules-assessment-management-fill-assessment-session.command-CdxcGakt.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-CdxcGakt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs → acorex-modules-assessment-management-preview-questionnaire.command-C5zwNwJi.mjs} +4 -4
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-C5zwNwJi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs → acorex-modules-assessment-management-question-bank-item.entity-MlspdBfD.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-MlspdBfD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs → acorex-modules-assessment-management-questionnaire-builder-edit.component-DswgENO1.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs.map → acorex-modules-assessment-management-questionnaire-builder-edit.component-DswgENO1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs → acorex-modules-assessment-management-questionnaire-builder-view.component-C3BXFr5P.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs.map → acorex-modules-assessment-management-questionnaire-builder-view.component-C3BXFr5P.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs → acorex-modules-assessment-management-questionnaire-builder.component-BMR71H5h.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs.map → acorex-modules-assessment-management-questionnaire-builder.component-BMR71H5h.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-Bj-JfJqq.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-Bj-JfJqq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs → acorex-modules-assessment-management-questionnaire-viewer.service-CVF6-BFW.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs.map → acorex-modules-assessment-management-questionnaire-viewer.service-CVF6-BFW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs → acorex-modules-assessment-management-questionnaire.entity-BZj3A4yO.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs.map → acorex-modules-assessment-management-questionnaire.entity-BZj3A4yO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs → acorex-modules-assessment-management-view-session-answers.command-BVwF-Qvd.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs.map → acorex-modules-assessment-management-view-session-answers.command-BVwF-Qvd.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs → acorex-modules-auth-acorex-modules-auth-CCFM_tlK.mjs} +13 -13
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs.map → acorex-modules-auth-acorex-modules-auth-CCFM_tlK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DJE47I8p.mjs → acorex-modules-auth-app-chooser.component-CK5MfqD3.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DJE47I8p.mjs.map → acorex-modules-auth-app-chooser.component-CK5MfqD3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-CI_lkyb7.mjs → acorex-modules-auth-login.module-CoRuFgHW.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-CI_lkyb7.mjs.map → acorex-modules-auth-login.module-CoRuFgHW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CdY380qS.mjs → acorex-modules-auth-master.layout-DtQSZBEK.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-CdY380qS.mjs.map → acorex-modules-auth-master.layout-DtQSZBEK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-menu.provider-Bk9KXBU3.mjs → acorex-modules-auth-menu.provider-CBNyM4Ax.mjs} +2 -14
- package/fesm2022/acorex-modules-auth-menu.provider-CBNyM4Ax.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs → acorex-modules-auth-oauth-callback.component-CLdkbMqN.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs.map → acorex-modules-auth-oauth-callback.component-CLdkbMqN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Dw_v_EFQ.mjs → acorex-modules-auth-password.component-DFh6ylyI.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Dw_v_EFQ.mjs.map → acorex-modules-auth-password.component-DFh6ylyI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CefISnvd.mjs → acorex-modules-auth-password.component-zygAB4zy.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-CefISnvd.mjs.map → acorex-modules-auth-password.component-zygAB4zy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-CwcJHbAi.mjs → acorex-modules-auth-routes-44-jn5HH.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-CwcJHbAi.mjs.map → acorex-modules-auth-routes-44-jn5HH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs → acorex-modules-auth-tenant-chooser.component-B7og_Ed1.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs.map → acorex-modules-auth-tenant-chooser.component-B7og_Ed1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-BOZB6sLo.mjs → acorex-modules-auth-two-factor.module--ToitCHE.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-BOZB6sLo.mjs.map → acorex-modules-auth-two-factor.module--ToitCHE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs → acorex-modules-auth-user-sessions.component-B49q0G5k.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs.map → acorex-modules-auth-user-sessions.component-B49q0G5k.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-business-core.mjs +439 -4
- package/fesm2022/acorex-modules-business-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +49 -0
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-contact-core-emergency-service.entity-Cro3bM4G.mjs → acorex-modules-contact-core-emergency-service.entity-l8rYNqP1.mjs} +2 -1
- package/fesm2022/acorex-modules-contact-core-emergency-service.entity-l8rYNqP1.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-core.mjs +6 -47
- package/fesm2022/acorex-modules-contact-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +21 -22
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer.entity-CRp5g0OZ.mjs → acorex-modules-customer-management-customer.entity-BOUGKl2b.mjs} +61 -9
- package/fesm2022/acorex-modules-customer-management-customer.entity-BOUGKl2b.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-lead.entity-Da9JTLOl.mjs → acorex-modules-customer-management-lead.entity-C-juNxOd.mjs} +19 -14
- package/fesm2022/acorex-modules-customer-management-lead.entity-C-juNxOd.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management.mjs +34 -262
- package/fesm2022/acorex-modules-customer-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +28 -39
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +56 -45
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +51 -42
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +21 -17
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-MfqQx2iN.mjs → acorex-modules-help-desk-acorex-modules-help-desk-6uU5upBy.mjs} +65 -70
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-6uU5upBy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CATwc3fe.mjs → acorex-modules-help-desk-capture-screen.component-CqtTzbgS.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CATwc3fe.mjs.map → acorex-modules-help-desk-capture-screen.component-CqtTzbgS.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs → acorex-modules-human-capital-management-leave-request.entity-CS3Fr_k2.mjs} +2 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CS3Fr_k2.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +86 -77
- package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-learning-management.mjs +105 -137
- package/fesm2022/acorex-modules-learning-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +64 -198
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-meeting-management.mjs +45 -39
- package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-order-management-menu.provider-DeMKkRZa.mjs +61 -0
- package/fesm2022/acorex-modules-order-management-menu.provider-DeMKkRZa.mjs.map +1 -0
- package/fesm2022/acorex-modules-order-management.mjs +2 -2
- package/fesm2022/acorex-modules-organization-management.mjs +140 -90
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-person-management.mjs +9 -19
- package/fesm2022/acorex-modules-person-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-ndbiBVUt.mjs → acorex-modules-platform-management-acorex-modules-platform-management-fAjKD6Y5.mjs} +20 -17
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-ndbiBVUt.mjs.map → acorex-modules-platform-management-acorex-modules-platform-management-fAjKD6Y5.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-w-Ix2VZA.mjs → acorex-modules-platform-management-menu-list.component-BJsd86Vf.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-w-Ix2VZA.mjs.map → acorex-modules-platform-management-menu-list.component-BJsd86Vf.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-procurement-management.mjs +13 -18
- package/fesm2022/acorex-modules-procurement-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-product-catalog.mjs +24 -27
- package/fesm2022/acorex-modules-product-catalog.mjs.map +1 -1
- package/fesm2022/acorex-modules-reservation-management.mjs +91 -54
- package/fesm2022/acorex-modules-reservation-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs → acorex-modules-settings-management-acorex-modules-settings-management-fj933lbu.mjs} +6 -6
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs.map → acorex-modules-settings-management-acorex-modules-settings-management-fj933lbu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs → acorex-modules-settings-management-permission-definition.provider-CW3wSb7v.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs.map → acorex-modules-settings-management-permission-definition.provider-CW3wSb7v.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs → acorex-modules-settings-management-setting-page.component-BqJ31scm.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs.map → acorex-modules-settings-management-setting-page.component-BqJ31scm.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs → acorex-modules-settings-management-setting-view.component-D7QpT246.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs.map → acorex-modules-settings-management-setting-view.component-D7QpT246.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/acorex-modules-subscription-management.mjs +19 -28
- package/fesm2022/acorex-modules-subscription-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-supplier-management.mjs +19 -229
- package/fesm2022/acorex-modules-supplier-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-tenant-management.mjs +9 -16
- package/fesm2022/acorex-modules-tenant-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management.mjs +51 -36
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/learning-management/index.d.ts +6 -0
- package/meeting-management/index.d.ts +0 -1
- package/package.json +14 -14
- package/reservation-management/index.d.ts +13 -12
- package/supplier-management/index.d.ts +4 -50
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-menu.provider-Bk9KXBU3.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-core-emergency-service.entity-Cro3bM4G.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-customer-segment.entity-CoYAU5g3.mjs +0 -69
- package/fesm2022/acorex-modules-customer-management-customer-segment.entity-CoYAU5g3.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-customer-type.entity-pt4gpOGq.mjs +0 -79
- package/fesm2022/acorex-modules-customer-management-customer-type.entity-pt4gpOGq.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-customer.entity-CRp5g0OZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-lead.entity-Da9JTLOl.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-lifecycle-stage.entity-DNFSDcpD.mjs +0 -60
- package/fesm2022/acorex-modules-customer-management-lifecycle-stage.entity-DNFSDcpD.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-sales-territory.entity-Bw5YU_a3.mjs +0 -60
- package/fesm2022/acorex-modules-customer-management-sales-territory.entity-Bw5YU_a3.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-MfqQx2iN.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-menu.provider-CDXy5oMa.mjs +0 -68
- package/fesm2022/acorex-modules-order-management-menu.provider-CDXy5oMa.mjs.map +0 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AXPCommonMenuKeys } from '@acorex/modules/common';
|
|
2
|
+
import { AXPEntityService } from '@acorex/platform/layout/entity';
|
|
3
|
+
import { inject } from '@angular/core';
|
|
4
|
+
import { RootConfig, AXMOrderManagementPermissionKeys, AXMOrderManagementMenuKeys } from './acorex-modules-order-management.mjs';
|
|
5
|
+
|
|
6
|
+
//#region ---- Imports ----
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region ---- Menu Provider ----
|
|
9
|
+
class AXMOrderManagementMenuProvider {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.entityService = inject(AXPEntityService);
|
|
12
|
+
}
|
|
13
|
+
async provide(context) {
|
|
14
|
+
const module = RootConfig.module;
|
|
15
|
+
const moduleName = module.name;
|
|
16
|
+
const i18n = RootConfig.config.i18n;
|
|
17
|
+
context.find(AXPCommonMenuKeys.Commerce).addItems([
|
|
18
|
+
{
|
|
19
|
+
name: AXMOrderManagementMenuKeys.BulkBuyOrders,
|
|
20
|
+
priority: 3,
|
|
21
|
+
text: `@${i18n}:bulk-buy-orders.menus.bulk-buy-orders.title`,
|
|
22
|
+
description: `@${i18n}:bulk-buy-orders.menus.bulk-buy-orders.description`,
|
|
23
|
+
icon: RootConfig.entities.bulkBuyOrder.icon,
|
|
24
|
+
path: this.entityService.createPath(moduleName, RootConfig.entities.bulkBuyOrder.name),
|
|
25
|
+
policy: {
|
|
26
|
+
features: [moduleName],
|
|
27
|
+
permissions: [AXMOrderManagementPermissionKeys.BulkBuyOrders.Management],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: AXMOrderManagementMenuKeys.AvailableOrders,
|
|
32
|
+
priority: 4,
|
|
33
|
+
text: `@${i18n}:bulk-buy-orders.menus.available-orders.title`,
|
|
34
|
+
description: `@${i18n}:bulk-buy-orders.menus.available-orders.description`,
|
|
35
|
+
icon: RootConfig.entities.bulkBuyOrder.icon,
|
|
36
|
+
path: this.entityService.createPath(moduleName, RootConfig.entities.bulkBuyOrder.name, 'available'),
|
|
37
|
+
policy: {
|
|
38
|
+
features: [moduleName],
|
|
39
|
+
permissions: [AXMOrderManagementPermissionKeys.BulkBuyOrders.Member],
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: AXMOrderManagementMenuKeys.MyOrders,
|
|
44
|
+
priority: 5,
|
|
45
|
+
text: `@${i18n}:bulk-buy-orders.menus.my-orders.title`,
|
|
46
|
+
description: `@${i18n}:bulk-buy-orders.menus.my-orders.description`,
|
|
47
|
+
icon: RootConfig.entities.memberOrder.icon,
|
|
48
|
+
path: this.entityService.createPath(moduleName, RootConfig.entities.memberOrder.name, 'my'),
|
|
49
|
+
policy: {
|
|
50
|
+
features: [moduleName],
|
|
51
|
+
permissions: [AXMOrderManagementPermissionKeys.BulkBuyOrders.Member],
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
{ name: `${AXMOrderManagementMenuKeys.Root}:divider`, text: '', type: 'break', priority: 6 },
|
|
55
|
+
]);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
|
|
60
|
+
export { AXMOrderManagementMenuProvider };
|
|
61
|
+
//# sourceMappingURL=acorex-modules-order-management-menu.provider-DeMKkRZa.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-order-management-menu.provider-DeMKkRZa.mjs","sources":["../tmp-esm2022/order-management/lib/menu.provider.js"],"sourcesContent":["//#region ---- Imports ----\nimport { AXPCommonMenuKeys } from '@acorex/modules/common';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { inject } from '@angular/core';\nimport { RootConfig } from './const';\nimport { AXMOrderManagementMenuKeys } from './menu.keys';\nimport { AXMOrderManagementPermissionKeys } from './permission.keys';\n//#endregion\n//#region ---- Menu Provider ----\nexport class AXMOrderManagementMenuProvider {\n constructor() {\n this.entityService = inject(AXPEntityService);\n }\n async provide(context) {\n const module = RootConfig.module;\n const moduleName = module.name;\n const i18n = RootConfig.config.i18n;\n context.find(AXPCommonMenuKeys.Commerce).addItems([\n {\n name: AXMOrderManagementMenuKeys.BulkBuyOrders,\n priority: 3,\n text: `@${i18n}:bulk-buy-orders.menus.bulk-buy-orders.title`,\n description: `@${i18n}:bulk-buy-orders.menus.bulk-buy-orders.description`,\n icon: RootConfig.entities.bulkBuyOrder.icon,\n path: this.entityService.createPath(moduleName, RootConfig.entities.bulkBuyOrder.name),\n policy: {\n features: [moduleName],\n permissions: [AXMOrderManagementPermissionKeys.BulkBuyOrders.Management],\n },\n },\n {\n name: AXMOrderManagementMenuKeys.AvailableOrders,\n priority: 4,\n text: `@${i18n}:bulk-buy-orders.menus.available-orders.title`,\n description: `@${i18n}:bulk-buy-orders.menus.available-orders.description`,\n icon: RootConfig.entities.bulkBuyOrder.icon,\n path: this.entityService.createPath(moduleName, RootConfig.entities.bulkBuyOrder.name, 'available'),\n policy: {\n features: [moduleName],\n permissions: [AXMOrderManagementPermissionKeys.BulkBuyOrders.Member],\n },\n },\n {\n name: AXMOrderManagementMenuKeys.MyOrders,\n priority: 5,\n text: `@${i18n}:bulk-buy-orders.menus.my-orders.title`,\n description: `@${i18n}:bulk-buy-orders.menus.my-orders.description`,\n icon: RootConfig.entities.memberOrder.icon,\n path: this.entityService.createPath(moduleName, RootConfig.entities.memberOrder.name, 'my'),\n policy: {\n features: [moduleName],\n permissions: [AXMOrderManagementPermissionKeys.BulkBuyOrders.Member],\n },\n },\n { name: `${AXMOrderManagementMenuKeys.Root}:divider`, text: '', type: 'break', priority: 6 },\n ]);\n }\n}\n//#endregion\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5wcm92aWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbW9kdWxlcy9vcmRlci1tYW5hZ2VtZW50L3NyYy9saWIvbWVudS5wcm92aWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSwrQkFBK0I7QUFFL0IsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFM0QsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDbEUsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQ3JDLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN6RCxPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUVyRSxZQUFZO0FBRVoscUNBQXFDO0FBRXJDLE1BQU0sT0FBTyw4QkFBOEI7SUFBM0M7UUFDcUIsa0JBQWEsR0FBRyxNQUFNLENBQUMsZ0JBQWdCLENBQUMsQ0FBQztJQStDOUQsQ0FBQztJQTdDRyxLQUFLLENBQUMsT0FBTyxDQUFDLE9BQStCO1FBQ3pDLE1BQU0sTUFBTSxHQUFHLFVBQVUsQ0FBQyxNQUFNLENBQUM7UUFDakMsTUFBTSxVQUFVLEdBQUcsTUFBTSxDQUFDLElBQUksQ0FBQztRQUMvQixNQUFNLElBQUksR0FBRyxVQUFVLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQztRQUVwQ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YW5hZ2VtZW50TWVudUtleXMuQnVsa0J1eU9yZGVycyxcbiAgICAgICAgICAgICAgICBwcmlvcml0eTogMyxcbiAgICAgICAgICAgICAgICB0ZXh0OiBgQCR7aTE4bn06YnVsay1idXktb3JkZXJzLm1lbnVzLmJ1bGstYnV5LW9yZGVycy50aXRsZWAsXG4gICAgICAgICAgICAgICAgZGVzY3JpcHRpb246IGBAJHtpMThufTpidWxrLWJ1eS1vcmRlcnMubWVudXMuYnVsay1idXktb3JkZXJzLmRlc2NyaXB0aW9uYCxcbiAgICAgICAgICAgICAgICBpY29uOiBSb290Q29uZmlnLmVudGl0aWVzLmJ1bGtCdXlPcmRlci5pY29uLFxuICAgICAgICAgICAgICAgIHBhdGg6IHRoaXMuZW50aXR5U2VydmljZS5jcmVhdGVQYXRoKG1vZHVsZU5hbWUsIFJvb3RDb25maWcuZW50aXRpZXMuYnVsa0J1eU9yZGVyLm5hbWUpLFxuICAgICAgICAgICAgICAgIHBvbGljeToge1xuICAgICAgICAgICAgICAgICAgICBmZWF0dXJlczogW21vZHVsZU5hbWVdLFxuICAgICAgICAgICAgICAgICAgICBwZXJtaXNzaW9uczogW0FYTU9yZGVyTWFuYWdlbWVudFBlcm1pc3Npb25LZXlzLkJ1bGtCdXlPcmRlcnMuTWFuYWdlbWVudF0sXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgbmFtZTogQVhNT3JkZXJNYW5hZ2VtZW50TWVudUtleXMuQXZhaWxhYmxlT3JkZXJzLFxuICAgICAgICAgICAgICAgIHByaW9yaXR5OiA0LFxuICAgICAgICAgICAgICAgIHRleHQ6IGBAJHtpMThufTpidWxrLWJ1eS1vcmRlcnMubWVudXMuYXZhaWxhYmxlLW9yZGVycy50aXRsZWAsXG4gICAgICAgICAgICAgICAgZGVzY3JpcHRpb246IGBAJHtpMThufTpidWxrLWJ1eS1vcmRlcnMubWVudXMuYXZhaWxhYmxlLW9yZGVycy5kZXNjcmlwdGlvbmAsXG4gICAgICAgICAgICAgICAgaWNvbjogUm9vdENvbmZpZy5lbnRpdGllcy5idWxrQnV5T3JkZXIuaWNvbixcbiAgICAgICAgICAgICAgICBwYXRoOiB0aGlzLmVudGl0eVNlcnZpY2UuY3JlYXRlUGF0aChtb2R1bGVOYW1lLCBSb290Q29uZmlnLmVudGl0aWVzLmJ1bGtCdXlPcmRlci5uYW1lLCAnYXZhaWxhYmxlJyksXG4gICAgICAgICAgICAgICAgcG9saWN5OiB7XG4gICAgICAgICAgICAgICAgICAgIGZlYXR1cmVzOiBbbW9kdWxlTmFtZV0sXG4gICAgICAgICAgICAgICAgICAgIHBlcm1pc3Npb25zOiBbQVhNT3JkZXJNYW5hZ2VtZW50UGVybWlzc2lvbktleXMuQnVsa0J1eU9yZGVycy5NZW1iZXJdLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIG5hbWU6IEFYTU9yZGVyTWFuYWdlbWVudE1lbnVLZXlzLk15T3JkZXJzLFxuICAgICAgICAgICAgICAgIHByaW9yaXR5OiA1LFxuICAgICAgICAgICAgICAgIHRleHQ6IGBAJHtpMThufTpidWxrLWJ1eS1vcmRlcnMubWVudXMubXktb3JkZXJzLnRpdGxlYCxcbiAgICAgICAgICAgICAgICBkZXNjcmlwdGlvbjogYEAke2kxOG59OmJ1bGstYnV5LW9yZGVycy5tZW51cy5teS1vcmRlcnMuZGVzY3JpcHRpb25gLFxuICAgICAgICAgICAgICAgIGljb246IFJvb3RDb25maWcuZW50aXRpZXMubWVtYmVyT3JkZXIuaWNvbixcbiAgICAgICAgICAgICAgICBwYXRoOiB0aGlzLmVudGl0eVNlcnZpY2UuY3JlYXRlUGF0aChtb2R1bGVOYW1lLCBSb290Q29uZmlnLmVudGl0aWVzLm1lbWJlck9yZGVyLm5hbWUsICdteScpLFxuICAgICAgICAgICAgICAgIHBvbGljeToge1xuICA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I,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC;AAC3G,gBAAgB,MAAM,EAAE;AACxB,oBAAoB,QAAQ,EAAE,CAAC,UAAU,CAAC;AAC1C,oBAAoB,WAAW,EAAE,CAAC,gCAAgC,CAAC,aAAa,CAAC,MAAM,CAAC;AACxF,iBAAiB;AACjB,aAAa;AACb,YAAY,EAAE,IAAI,EAAE,CAAC,EAAE,0BAA0B,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE;AACxG,SAAS,CAAC;AACV,IAAI;AACJ;AACA;;;;"}
|
|
@@ -161,7 +161,7 @@ class AXMOrderManagementModule {
|
|
|
161
161
|
},
|
|
162
162
|
// Provider references (lazy loaded)
|
|
163
163
|
provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => import('./acorex-modules-order-management-permission-definition.provider-JWbhTsxQ.mjs').then(m => m.AXMOrderManagementPermissionDefinitionProvider)),
|
|
164
|
-
provideLazyProvider(AXP_MENU_PROVIDER, () => import('./acorex-modules-order-management-menu.provider-
|
|
164
|
+
provideLazyProvider(AXP_MENU_PROVIDER, () => import('./acorex-modules-order-management-menu.provider-DeMKkRZa.mjs').then(m => m.AXMOrderManagementMenuProvider)),
|
|
165
165
|
provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => import('./acorex-modules-order-management-entity.provider-CbrywuqC.mjs').then(m => m.AXMOrderManagementEntityProvider)),
|
|
166
166
|
provideLazyProvider(AXP_FEATURE_DEFINITION_PROVIDER, () => import('./acorex-modules-order-management-feature-definition.provider-BgrmTQ_L.mjs').then(m => m.AXMOrderManagementFeatureDefinitionProvider)),
|
|
167
167
|
], imports: [
|
|
@@ -186,7 +186,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
186
186
|
},
|
|
187
187
|
// Provider references (lazy loaded)
|
|
188
188
|
provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => import('./acorex-modules-order-management-permission-definition.provider-JWbhTsxQ.mjs').then(m => m.AXMOrderManagementPermissionDefinitionProvider)),
|
|
189
|
-
provideLazyProvider(AXP_MENU_PROVIDER, () => import('./acorex-modules-order-management-menu.provider-
|
|
189
|
+
provideLazyProvider(AXP_MENU_PROVIDER, () => import('./acorex-modules-order-management-menu.provider-DeMKkRZa.mjs').then(m => m.AXMOrderManagementMenuProvider)),
|
|
190
190
|
provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => import('./acorex-modules-order-management-entity.provider-CbrywuqC.mjs').then(m => m.AXMOrderManagementEntityProvider)),
|
|
191
191
|
provideLazyProvider(AXP_FEATURE_DEFINITION_PROVIDER, () => import('./acorex-modules-order-management-feature-definition.provider-BgrmTQ_L.mjs').then(m => m.AXMOrderManagementFeatureDefinitionProvider)),
|
|
192
192
|
],
|
|
@@ -8,7 +8,7 @@ import { AXPDataSourceDefinitionProviderService, AXP_EXPRESSION_EVALUATOR_SCOPE_
|
|
|
8
8
|
import * as i1 from '@acorex/platform/layout/widget-core';
|
|
9
9
|
import { AXPWidgetsCatalog, AXPWidgetGroupEnum, AXP_WIDGETS_EDITOR_CATEGORY, AXPWidgetCoreModule } from '@acorex/platform/layout/widget-core';
|
|
10
10
|
import { ROUTES } from '@angular/router';
|
|
11
|
-
import { AXPWidgetsList } from '@acorex/modules/common';
|
|
11
|
+
import { AXPCommonMenuKeys, AXPWidgetsList } from '@acorex/modules/common';
|
|
12
12
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_LABEL_PROPERTY, AXP_READONLY_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/layout/widgets';
|
|
13
13
|
import { AXDataSource } from '@acorex/cdk/common';
|
|
14
14
|
|
|
@@ -545,6 +545,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
545
545
|
|
|
546
546
|
const AXPOrganizationManagementMenuKeys = {
|
|
547
547
|
Root: 'OrganizationManagement:Menu',
|
|
548
|
+
ConfigurationRoot: 'OrganizationManagement:Menu:Configuration',
|
|
548
549
|
Teams: 'OrganizationManagement:Menu:Teams',
|
|
549
550
|
TeamMemberRoles: 'OrganizationManagement:Menu:TeamMemberRoles',
|
|
550
551
|
Positions: 'OrganizationManagement:Menu:Positions',
|
|
@@ -565,6 +566,8 @@ const AXPOrganizationManagementMenuKeys = {
|
|
|
565
566
|
/**
|
|
566
567
|
* Organization Management Module Menu Provider.
|
|
567
568
|
* Provides menu structure for the Organization Management module.
|
|
569
|
+
* - Root "Organization": Teams, Positions, Business Units, Organization Chart (operational)
|
|
570
|
+
* - Configuration/Organization: Job Definitions, Job Levels, Responsibilities, etc. (reference data)
|
|
568
571
|
*/
|
|
569
572
|
class AXMMenuProvider {
|
|
570
573
|
constructor() {
|
|
@@ -577,101 +580,148 @@ class AXMMenuProvider {
|
|
|
577
580
|
//#region ---- Public Methods ----
|
|
578
581
|
async provide(context) {
|
|
579
582
|
const module = RootConfig.module;
|
|
580
|
-
context.
|
|
583
|
+
const organizationMenu = context.find(AXPCommonMenuKeys.Organization);
|
|
584
|
+
if (!organizationMenu.exists) {
|
|
585
|
+
// Root "Organization" - operational (Teams, Positions, Business Units, Chart + Employees, Leave from HCM)
|
|
586
|
+
context.addItems([
|
|
587
|
+
{
|
|
588
|
+
name: AXPCommonMenuKeys.Organization,
|
|
589
|
+
priority: 9000,
|
|
590
|
+
text: '@organization-management:module.menus.root.title',
|
|
591
|
+
icon: module.icon,
|
|
592
|
+
children: [
|
|
593
|
+
{
|
|
594
|
+
name: AXPOrganizationManagementMenuKeys.Teams,
|
|
595
|
+
text: '@organization-management:teams.menus.teams.title',
|
|
596
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.team.name),
|
|
597
|
+
priority: 10,
|
|
598
|
+
icon: RootConfig.entities.team.icon,
|
|
599
|
+
policy: {
|
|
600
|
+
features: [module.name],
|
|
601
|
+
permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
|
|
602
|
+
},
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
name: AXPOrganizationManagementMenuKeys.Positions,
|
|
606
|
+
text: '@organization-management:positions.menus.positions.title',
|
|
607
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.position.name),
|
|
608
|
+
priority: 15,
|
|
609
|
+
icon: RootConfig.entities.position.icon,
|
|
610
|
+
policy: {
|
|
611
|
+
features: [module.name],
|
|
612
|
+
permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
|
|
613
|
+
},
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
name: AXPOrganizationManagementMenuKeys.BusinessUnits,
|
|
617
|
+
text: '@organization-management:business-units.menus.business-units.title',
|
|
618
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.businessUnit.name),
|
|
619
|
+
priority: 35,
|
|
620
|
+
icon: RootConfig.entities.businessUnit.icon,
|
|
621
|
+
policy: {
|
|
622
|
+
features: [module.name],
|
|
623
|
+
permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
|
|
624
|
+
},
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
name: AXPOrganizationManagementMenuKeys.OrganizationChart,
|
|
628
|
+
text: '@organization-management:organization-chart.menus.chart.title',
|
|
629
|
+
path: `${this.sessionService.application?.name}/organization/chart`,
|
|
630
|
+
priority: 50,
|
|
631
|
+
icon: RootConfig.entities.chart.icon,
|
|
632
|
+
policy: {
|
|
633
|
+
features: [module.name],
|
|
634
|
+
permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
|
|
635
|
+
},
|
|
636
|
+
},
|
|
637
|
+
{ name: `${AXPOrganizationManagementMenuKeys.Root}:divider1`, text: '', type: 'break', priority: 55 },
|
|
638
|
+
],
|
|
639
|
+
},
|
|
640
|
+
]);
|
|
641
|
+
}
|
|
642
|
+
// Configuration/Organization - reference data (Job Definitions, Employment Types, etc.)
|
|
643
|
+
const orgConfigMenu = context.find(AXPCommonMenuKeys.OrganizationConfig);
|
|
644
|
+
if (!orgConfigMenu.exists) {
|
|
645
|
+
context.find(AXPCommonMenuKeys.Configuration).addItems([
|
|
646
|
+
{
|
|
647
|
+
name: AXPCommonMenuKeys.OrganizationConfig,
|
|
648
|
+
priority: 8600,
|
|
649
|
+
text: '@organization-management:module.menus.configuration.title',
|
|
650
|
+
icon: module.icon,
|
|
651
|
+
type: 'menu',
|
|
652
|
+
children: [],
|
|
653
|
+
},
|
|
654
|
+
]);
|
|
655
|
+
}
|
|
656
|
+
// Add org config items
|
|
657
|
+
context.find(AXPCommonMenuKeys.OrganizationConfig).addItems([
|
|
581
658
|
{
|
|
582
|
-
name: AXPOrganizationManagementMenuKeys.
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
659
|
+
name: AXPOrganizationManagementMenuKeys.TeamMemberRoles,
|
|
660
|
+
text: '@organization-management:team-member-roles.menus.team-member-roles.title',
|
|
661
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.teamMemberRole.name),
|
|
662
|
+
priority: 1,
|
|
663
|
+
icon: RootConfig.entities.teamMemberRole.icon,
|
|
664
|
+
policy: {
|
|
665
|
+
features: [module.name],
|
|
666
|
+
permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
|
|
667
|
+
},
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
name: AXPOrganizationManagementMenuKeys.JobDefinitions,
|
|
671
|
+
text: '@organization-management:job-definitions.menus.job-definitions.title',
|
|
672
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.jobDefinition.name),
|
|
673
|
+
priority: 2,
|
|
674
|
+
icon: RootConfig.entities.jobDefinition.icon,
|
|
675
|
+
policy: {
|
|
676
|
+
features: [module.name],
|
|
677
|
+
permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
|
|
678
|
+
},
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
name: AXPOrganizationManagementMenuKeys.JobLevels,
|
|
682
|
+
text: '@organization-management:job-levels.menus.job-levels.title',
|
|
683
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.jobLevel.name),
|
|
684
|
+
priority: 3,
|
|
685
|
+
icon: RootConfig.entities.jobLevel.icon,
|
|
686
|
+
policy: {
|
|
687
|
+
features: [module.name],
|
|
688
|
+
permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
|
|
689
|
+
},
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
name: AXPOrganizationManagementMenuKeys.Responsibilities,
|
|
693
|
+
text: '@organization-management:responsibilities.menus.responsibilities.title',
|
|
694
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.responsibility.name),
|
|
695
|
+
priority: 4,
|
|
696
|
+
icon: RootConfig.entities.responsibility.icon,
|
|
697
|
+
policy: {
|
|
698
|
+
features: [module.name],
|
|
699
|
+
permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
|
|
700
|
+
},
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
name: AXPOrganizationManagementMenuKeys.ResponsibilityLevels,
|
|
704
|
+
text: '@organization-management:responsibility-levels.menus.responsibility-levels.title',
|
|
705
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.responsibilityLevel.name),
|
|
706
|
+
priority: 5,
|
|
707
|
+
icon: RootConfig.entities.responsibilityLevel.icon,
|
|
708
|
+
policy: {
|
|
709
|
+
features: [module.name],
|
|
710
|
+
permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
|
|
711
|
+
},
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
name: AXPOrganizationManagementMenuKeys.BusinessUnitTypes,
|
|
715
|
+
text: '@organization-management:business-unit-types.menus.business-unit-types.title',
|
|
716
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.businessUnitType.name),
|
|
717
|
+
priority: 6,
|
|
718
|
+
icon: RootConfig.entities.businessUnitType.icon,
|
|
586
719
|
policy: {
|
|
587
720
|
features: [module.name],
|
|
588
721
|
permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
|
|
589
722
|
},
|
|
590
|
-
children: [
|
|
591
|
-
{
|
|
592
|
-
name: AXPOrganizationManagementMenuKeys.Teams,
|
|
593
|
-
text: '@organization-management:teams.menus.teams.title',
|
|
594
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.team.name),
|
|
595
|
-
priority: 10,
|
|
596
|
-
icon: RootConfig.entities.team.icon,
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
name: AXPOrganizationManagementMenuKeys.TeamMemberRoles,
|
|
600
|
-
text: '@organization-management:team-member-roles.menus.team-member-roles.title',
|
|
601
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.teamMemberRole.name),
|
|
602
|
-
priority: 11,
|
|
603
|
-
icon: RootConfig.entities.teamMemberRole.icon,
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
name: AXPOrganizationManagementMenuKeys.Positions,
|
|
607
|
-
text: '@organization-management:positions.menus.positions.title',
|
|
608
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.position.name),
|
|
609
|
-
priority: 15,
|
|
610
|
-
icon: RootConfig.entities.position.icon,
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
name: AXPOrganizationManagementMenuKeys.JobDefinitions,
|
|
614
|
-
text: '@organization-management:job-definitions.menus.job-definitions.title',
|
|
615
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.jobDefinition.name),
|
|
616
|
-
priority: 20,
|
|
617
|
-
icon: RootConfig.entities.jobDefinition.icon,
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
name: AXPOrganizationManagementMenuKeys.JobLevels,
|
|
621
|
-
text: '@organization-management:job-levels.menus.job-levels.title',
|
|
622
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.jobLevel.name),
|
|
623
|
-
priority: 22,
|
|
624
|
-
icon: RootConfig.entities.jobLevel.icon,
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
name: AXPOrganizationManagementMenuKeys.Responsibilities,
|
|
628
|
-
text: '@organization-management:responsibilities.menus.responsibilities.title',
|
|
629
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.responsibility.name),
|
|
630
|
-
priority: 25,
|
|
631
|
-
icon: RootConfig.entities.responsibility.icon,
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
name: AXPOrganizationManagementMenuKeys.ResponsibilityLevels,
|
|
635
|
-
text: '@organization-management:responsibility-levels.menus.responsibility-levels.title',
|
|
636
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.responsibilityLevel.name),
|
|
637
|
-
priority: 26,
|
|
638
|
-
icon: RootConfig.entities.responsibilityLevel.icon,
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
name: AXPOrganizationManagementMenuKeys.Divider1,
|
|
642
|
-
text: '',
|
|
643
|
-
type: 'break',
|
|
644
|
-
priority: 30,
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
name: AXPOrganizationManagementMenuKeys.BusinessUnits,
|
|
648
|
-
text: '@organization-management:business-units.menus.business-units.title',
|
|
649
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.businessUnit.name),
|
|
650
|
-
priority: 35,
|
|
651
|
-
icon: RootConfig.entities.businessUnit.icon,
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
name: AXPOrganizationManagementMenuKeys.BusinessUnitTypes,
|
|
655
|
-
text: '@organization-management:business-unit-types.menus.business-unit-types.title',
|
|
656
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.businessUnitType.name),
|
|
657
|
-
priority: 40,
|
|
658
|
-
icon: RootConfig.entities.businessUnitType.icon,
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
name: AXPOrganizationManagementMenuKeys.Divider2,
|
|
662
|
-
text: '',
|
|
663
|
-
type: 'break',
|
|
664
|
-
priority: 45,
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
name: AXPOrganizationManagementMenuKeys.OrganizationChart,
|
|
668
|
-
text: '@organization-management:organization-chart.menus.chart.title',
|
|
669
|
-
path: `${this.sessionService.application?.name}/organization/chart`,
|
|
670
|
-
priority: 50,
|
|
671
|
-
icon: RootConfig.entities.chart.icon,
|
|
672
|
-
},
|
|
673
|
-
],
|
|
674
723
|
},
|
|
724
|
+
{ name: `${AXPOrganizationManagementMenuKeys.Root}:staff-divider`, text: '', type: 'break', priority: 7 },
|
|
675
725
|
]);
|
|
676
726
|
}
|
|
677
727
|
}
|