@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
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { NgModule, inject, Injector } from '@angular/core';
|
|
3
3
|
import { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider } from '@acorex/platform/core';
|
|
4
|
-
import { AXP_ENTITY_DEFINITION_LOADER, AXPEntityService } from '@acorex/platform/layout/entity';
|
|
5
|
-
import { AXP_MENU_PROVIDER } from '@acorex/platform/common';
|
|
4
|
+
import { AXP_ENTITY_DEFINITION_LOADER, entityMasterCrudActions, entityMasterRecordActions, AXPEntityService } from '@acorex/platform/layout/entity';
|
|
5
|
+
import { AXP_MENU_PROVIDER, createAllQueryView } from '@acorex/platform/common';
|
|
6
6
|
import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
7
|
-
import { AXPCommonMenuKeys } from '@acorex/modules/common';
|
|
7
|
+
import { AXPWidgetsList, AXPCommonMenuKeys } from '@acorex/modules/common';
|
|
8
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
8
9
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
9
10
|
|
|
10
11
|
const config = {
|
|
@@ -43,6 +44,24 @@ const RootConfig = {
|
|
|
43
44
|
titlePlural: `@${config.i18n}:business-statuses.entities.business-status.plural`,
|
|
44
45
|
icon: 'fa-light fa-circle-check',
|
|
45
46
|
},
|
|
47
|
+
partyType: {
|
|
48
|
+
name: 'PartyType',
|
|
49
|
+
title: `@${config.i18n}:party-types.entities.party-type.title`,
|
|
50
|
+
titlePlural: `@${config.i18n}:party-types.entities.party-type.plural`,
|
|
51
|
+
icon: 'fa-light fa-tag',
|
|
52
|
+
},
|
|
53
|
+
partySegment: {
|
|
54
|
+
name: 'PartySegment',
|
|
55
|
+
title: `@${config.i18n}:party-segments.entities.party-segment.title`,
|
|
56
|
+
titlePlural: `@${config.i18n}:party-segments.entities.party-segment.plural`,
|
|
57
|
+
icon: 'fa-light fa-chart-pie',
|
|
58
|
+
},
|
|
59
|
+
lifecycleStage: {
|
|
60
|
+
name: 'LifecycleStage',
|
|
61
|
+
title: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.title`,
|
|
62
|
+
titlePlural: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.plural`,
|
|
63
|
+
icon: 'fa-light fa-timeline',
|
|
64
|
+
},
|
|
46
65
|
},
|
|
47
66
|
};
|
|
48
67
|
|
|
@@ -110,6 +129,358 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
110
129
|
//#region ---- Business Status Model ----
|
|
111
130
|
//#endregion
|
|
112
131
|
|
|
132
|
+
//#region ---- Party Type Model ----
|
|
133
|
+
//#endregion
|
|
134
|
+
|
|
135
|
+
//#region ---- Imports ----
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region ---- Entity Factory ----
|
|
138
|
+
async function partyTypeFactory(injector) {
|
|
139
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
140
|
+
const propertyLayouts = [
|
|
141
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },
|
|
142
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },
|
|
143
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
144
|
+
];
|
|
145
|
+
const entityDef = {
|
|
146
|
+
module: RootConfig.module.name,
|
|
147
|
+
name: RootConfig.entities.partyType.name,
|
|
148
|
+
title: RootConfig.entities.partyType.title,
|
|
149
|
+
icon: RootConfig.entities.partyType.icon,
|
|
150
|
+
formats: {
|
|
151
|
+
individual: RootConfig.entities.partyType.title,
|
|
152
|
+
plural: RootConfig.entities.partyType.titlePlural,
|
|
153
|
+
searchResult: {
|
|
154
|
+
title: '{{ title }}',
|
|
155
|
+
description: '{{ code }}',
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }, { name: 'disable' }],
|
|
159
|
+
groups: [{ id: 'basic-info', title: '@business-core:party-types.entities.party-type.groups.basic-info' }],
|
|
160
|
+
properties: [
|
|
161
|
+
{
|
|
162
|
+
name: 'id',
|
|
163
|
+
title: '@general:terms.common.id',
|
|
164
|
+
groupId: 'basic-info',
|
|
165
|
+
schema: {
|
|
166
|
+
dataType: 'uuid',
|
|
167
|
+
visible: false,
|
|
168
|
+
readonly: true,
|
|
169
|
+
unique: { enabled: true },
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: 'code',
|
|
174
|
+
title: '@general:terms.common.code',
|
|
175
|
+
groupId: 'basic-info',
|
|
176
|
+
options: {
|
|
177
|
+
sort: { enabled: true },
|
|
178
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
179
|
+
},
|
|
180
|
+
schema: {
|
|
181
|
+
dataType: 'string',
|
|
182
|
+
interface: {
|
|
183
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
184
|
+
options: {
|
|
185
|
+
placeholder: '@business-core:party-types.entities.party-type.fields.code.placeholder',
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
validations: [{ rule: 'required' }],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: 'title',
|
|
193
|
+
title: '@general:terms.common.title',
|
|
194
|
+
groupId: 'basic-info',
|
|
195
|
+
options: {
|
|
196
|
+
sort: { enabled: true },
|
|
197
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
198
|
+
},
|
|
199
|
+
schema: {
|
|
200
|
+
dataType: 'string',
|
|
201
|
+
interface: {
|
|
202
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
203
|
+
options: {
|
|
204
|
+
placeholder: '@business-core:party-types.entities.party-type.fields.title.placeholder',
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
validations: [{ rule: 'required' }],
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
name: 'description',
|
|
212
|
+
title: '@general:terms.common.description',
|
|
213
|
+
groupId: 'basic-info',
|
|
214
|
+
schema: {
|
|
215
|
+
dataType: 'string',
|
|
216
|
+
interface: {
|
|
217
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
218
|
+
options: {
|
|
219
|
+
rows: 3,
|
|
220
|
+
placeholder: '@business-core:party-types.entities.party-type.fields.description.placeholder',
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
columns: [
|
|
227
|
+
{ name: 'code', options: { width: '120px', order: 1 } },
|
|
228
|
+
{ name: 'title', options: { width: '220px', order: 2 } },
|
|
229
|
+
],
|
|
230
|
+
interfaces: {
|
|
231
|
+
master: {
|
|
232
|
+
create: {
|
|
233
|
+
sections,
|
|
234
|
+
properties: propertyLayouts,
|
|
235
|
+
},
|
|
236
|
+
update: {
|
|
237
|
+
sections,
|
|
238
|
+
properties: propertyLayouts,
|
|
239
|
+
},
|
|
240
|
+
single: {
|
|
241
|
+
title: '{{ title }}',
|
|
242
|
+
sections,
|
|
243
|
+
properties: propertyLayouts,
|
|
244
|
+
actions: [...entityMasterRecordActions()],
|
|
245
|
+
},
|
|
246
|
+
list: {
|
|
247
|
+
actions: [...entityMasterCrudActions()],
|
|
248
|
+
views: [
|
|
249
|
+
createAllQueryView({
|
|
250
|
+
sorts: [{ name: 'code', dir: 'asc' }],
|
|
251
|
+
}),
|
|
252
|
+
],
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
};
|
|
257
|
+
return entityDef;
|
|
258
|
+
}
|
|
259
|
+
//#endregion
|
|
260
|
+
|
|
261
|
+
var partyType_entity = /*#__PURE__*/Object.freeze({
|
|
262
|
+
__proto__: null,
|
|
263
|
+
partyTypeFactory: partyTypeFactory
|
|
264
|
+
});
|
|
265
|
+
|
|
266
|
+
//#region ---- Party Segment Model ----
|
|
267
|
+
//#endregion
|
|
268
|
+
|
|
269
|
+
//#region ---- Imports ----
|
|
270
|
+
//#endregion
|
|
271
|
+
//#region ---- Entity Factory ----
|
|
272
|
+
async function partySegmentFactory(injector) {
|
|
273
|
+
const sections = [
|
|
274
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
275
|
+
{ id: 'appearance', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
276
|
+
];
|
|
277
|
+
const propertyLayouts = [
|
|
278
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
279
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
280
|
+
{ name: 'color', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
281
|
+
];
|
|
282
|
+
const entityDef = {
|
|
283
|
+
module: RootConfig.module.name,
|
|
284
|
+
name: RootConfig.entities.partySegment.name,
|
|
285
|
+
title: RootConfig.entities.partySegment.title,
|
|
286
|
+
icon: RootConfig.entities.partySegment.icon,
|
|
287
|
+
formats: {
|
|
288
|
+
individual: RootConfig.entities.partySegment.title,
|
|
289
|
+
plural: RootConfig.entities.partySegment.titlePlural,
|
|
290
|
+
searchResult: {
|
|
291
|
+
title: '{{ title }}',
|
|
292
|
+
description: RootConfig.module.title,
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
plugins: [{ name: 'color' }, { name: 'archive' }],
|
|
296
|
+
groups: [
|
|
297
|
+
{ id: 'basic-info', title: '@business-core:party-segments.entities.party-segment.groups.basic-info' },
|
|
298
|
+
{ id: 'appearance', title: '@general:terms.interface.appearance' },
|
|
299
|
+
],
|
|
300
|
+
properties: [
|
|
301
|
+
{
|
|
302
|
+
name: 'id',
|
|
303
|
+
title: '@general:terms.common.id',
|
|
304
|
+
groupId: 'basic-info',
|
|
305
|
+
schema: {
|
|
306
|
+
dataType: 'uuid',
|
|
307
|
+
visible: false,
|
|
308
|
+
readonly: true,
|
|
309
|
+
unique: { enabled: true },
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
name: 'title',
|
|
314
|
+
title: '@general:terms.common.title',
|
|
315
|
+
groupId: 'basic-info',
|
|
316
|
+
options: {
|
|
317
|
+
sort: { enabled: true },
|
|
318
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
319
|
+
},
|
|
320
|
+
schema: {
|
|
321
|
+
dataType: 'string',
|
|
322
|
+
interface: {
|
|
323
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
324
|
+
options: {
|
|
325
|
+
placeholder: '@business-core:party-segments.entities.party-segment.fields.title.placeholder',
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
validations: [{ rule: 'required' }],
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
name: 'description',
|
|
333
|
+
title: '@general:terms.common.description',
|
|
334
|
+
groupId: 'basic-info',
|
|
335
|
+
schema: {
|
|
336
|
+
dataType: 'string',
|
|
337
|
+
interface: {
|
|
338
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
339
|
+
options: {
|
|
340
|
+
rows: 3,
|
|
341
|
+
placeholder: '@business-core:party-segments.entities.party-segment.fields.description.placeholder',
|
|
342
|
+
},
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
],
|
|
347
|
+
columns: [
|
|
348
|
+
{ name: 'title', options: { width: '200px', order: 1 } },
|
|
349
|
+
{ name: 'description', options: { width: '280px', order: 2 } },
|
|
350
|
+
],
|
|
351
|
+
interfaces: {
|
|
352
|
+
master: {
|
|
353
|
+
create: {
|
|
354
|
+
sections,
|
|
355
|
+
properties: propertyLayouts,
|
|
356
|
+
},
|
|
357
|
+
update: {
|
|
358
|
+
sections,
|
|
359
|
+
properties: propertyLayouts,
|
|
360
|
+
},
|
|
361
|
+
single: {
|
|
362
|
+
title: '{{ title }}',
|
|
363
|
+
sections,
|
|
364
|
+
properties: propertyLayouts,
|
|
365
|
+
actions: [...entityMasterRecordActions()],
|
|
366
|
+
},
|
|
367
|
+
list: {
|
|
368
|
+
actions: [...entityMasterCrudActions()],
|
|
369
|
+
views: [
|
|
370
|
+
createAllQueryView({
|
|
371
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
372
|
+
}),
|
|
373
|
+
],
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
};
|
|
378
|
+
return entityDef;
|
|
379
|
+
}
|
|
380
|
+
//#endregion
|
|
381
|
+
|
|
382
|
+
var partySegment_entity = /*#__PURE__*/Object.freeze({
|
|
383
|
+
__proto__: null,
|
|
384
|
+
partySegmentFactory: partySegmentFactory
|
|
385
|
+
});
|
|
386
|
+
|
|
387
|
+
async function lifecycleStageFactory(injector) {
|
|
388
|
+
const i18n = RootConfig.config.i18n + ':lifecycle-stages.entities.lifecycle-stage';
|
|
389
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
390
|
+
const propertyLayouts = [
|
|
391
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
392
|
+
{ name: 'order', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },
|
|
393
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
394
|
+
];
|
|
395
|
+
const entityDef = {
|
|
396
|
+
module: RootConfig.module.name,
|
|
397
|
+
name: RootConfig.entities.lifecycleStage.name,
|
|
398
|
+
title: RootConfig.entities.lifecycleStage.title,
|
|
399
|
+
icon: RootConfig.entities.lifecycleStage.icon,
|
|
400
|
+
formats: {
|
|
401
|
+
individual: RootConfig.entities.lifecycleStage.title,
|
|
402
|
+
plural: RootConfig.entities.lifecycleStage.titlePlural,
|
|
403
|
+
searchResult: {
|
|
404
|
+
title: '{{ title }}',
|
|
405
|
+
description: RootConfig.module.title,
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
plugins: [{ name: 'archive' }],
|
|
409
|
+
groups: [{ id: 'basic-info', title: `@${i18n}.groups.basic-info` }],
|
|
410
|
+
properties: [
|
|
411
|
+
{
|
|
412
|
+
name: 'id',
|
|
413
|
+
title: '@general:terms.common.id',
|
|
414
|
+
groupId: 'basic-info',
|
|
415
|
+
schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } },
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
name: 'title',
|
|
419
|
+
title: `@${i18n}.fields.title.title`,
|
|
420
|
+
groupId: 'basic-info',
|
|
421
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
422
|
+
schema: {
|
|
423
|
+
dataType: 'string',
|
|
424
|
+
interface: {
|
|
425
|
+
type: AXPWidgetsCatalog.text,
|
|
426
|
+
options: { placeholder: `@${i18n}.fields.title.placeholder` },
|
|
427
|
+
},
|
|
428
|
+
},
|
|
429
|
+
validations: [{ rule: 'required' }],
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
name: 'order',
|
|
433
|
+
title: `@${i18n}.fields.order.title`,
|
|
434
|
+
groupId: 'basic-info',
|
|
435
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
436
|
+
schema: {
|
|
437
|
+
dataType: 'number',
|
|
438
|
+
interface: { type: AXPWidgetsCatalog.number, options: { placeholder: `@${i18n}.fields.order.placeholder` } },
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
name: 'description',
|
|
443
|
+
title: `@${i18n}.fields.description.title`,
|
|
444
|
+
groupId: 'basic-info',
|
|
445
|
+
schema: {
|
|
446
|
+
dataType: 'string',
|
|
447
|
+
interface: {
|
|
448
|
+
type: AXPWidgetsCatalog.largeText,
|
|
449
|
+
options: { rows: 3, placeholder: `@${i18n}.fields.description.placeholder` },
|
|
450
|
+
},
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
],
|
|
454
|
+
columns: [
|
|
455
|
+
{ name: 'title', options: { width: '200px', order: 1 } },
|
|
456
|
+
{ name: 'order', options: { width: '80px', order: 2 } },
|
|
457
|
+
{ name: 'description', options: { width: '280px', order: 3 } },
|
|
458
|
+
],
|
|
459
|
+
interfaces: {
|
|
460
|
+
master: {
|
|
461
|
+
create: { sections, properties: propertyLayouts },
|
|
462
|
+
update: { sections, properties: propertyLayouts },
|
|
463
|
+
single: {
|
|
464
|
+
title: '{{ title }}',
|
|
465
|
+
sections,
|
|
466
|
+
properties: propertyLayouts,
|
|
467
|
+
actions: [...entityMasterRecordActions()],
|
|
468
|
+
},
|
|
469
|
+
list: {
|
|
470
|
+
actions: [...entityMasterCrudActions()],
|
|
471
|
+
views: [createAllQueryView({ sorts: [{ name: 'order', dir: 'asc' }, { name: 'title', dir: 'asc' }] })],
|
|
472
|
+
},
|
|
473
|
+
},
|
|
474
|
+
},
|
|
475
|
+
};
|
|
476
|
+
return entityDef;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
var lifecycleStage_entity = /*#__PURE__*/Object.freeze({
|
|
480
|
+
__proto__: null,
|
|
481
|
+
lifecycleStageFactory: lifecycleStageFactory
|
|
482
|
+
});
|
|
483
|
+
|
|
113
484
|
// Entity Types
|
|
114
485
|
|
|
115
486
|
//#region ---- Imports ----
|
|
@@ -132,6 +503,12 @@ class AXMBusinessCoreEntityProvider {
|
|
|
132
503
|
return (await import('./acorex-modules-business-core-business-type.entity-DEy8LvEV.mjs')).businessTypeFactory(this.injector);
|
|
133
504
|
case RootConfig.entities.businessStatus.name:
|
|
134
505
|
return (await import('./acorex-modules-business-core-business-status.entity-BYUneIcN.mjs')).businessStatusFactory(this.injector);
|
|
506
|
+
case RootConfig.entities.partyType.name:
|
|
507
|
+
return (await Promise.resolve().then(function () { return partyType_entity; })).partyTypeFactory(this.injector);
|
|
508
|
+
case RootConfig.entities.partySegment.name:
|
|
509
|
+
return (await Promise.resolve().then(function () { return partySegment_entity; })).partySegmentFactory(this.injector);
|
|
510
|
+
case RootConfig.entities.lifecycleStage.name:
|
|
511
|
+
return (await Promise.resolve().then(function () { return lifecycleStage_entity; })).lifecycleStageFactory(this.injector);
|
|
135
512
|
}
|
|
136
513
|
return null;
|
|
137
514
|
}
|
|
@@ -154,6 +531,10 @@ const AXMBusinessCoreMenuKeys = {
|
|
|
154
531
|
Industries: 'business-core.industries',
|
|
155
532
|
BusinessTypes: 'business-core.business-types',
|
|
156
533
|
BusinessStatuses: 'business-core.business-statuses',
|
|
534
|
+
Divider2: 'business-core.divider-2',
|
|
535
|
+
PartyTypes: 'business-core.party-types',
|
|
536
|
+
PartySegments: 'business-core.party-segments',
|
|
537
|
+
LifecycleStages: 'business-core.lifecycle-stages',
|
|
157
538
|
};
|
|
158
539
|
|
|
159
540
|
const AXMBusinessCorePermissionKeys = {
|
|
@@ -170,6 +551,15 @@ const AXMBusinessCorePermissionKeys = {
|
|
|
170
551
|
BusinessStatus: {
|
|
171
552
|
Management: 'BusinessCore:Permission:BusinessStatus.Management',
|
|
172
553
|
},
|
|
554
|
+
PartyType: {
|
|
555
|
+
Management: 'BusinessCore:Permission:PartyType.Management',
|
|
556
|
+
},
|
|
557
|
+
PartySegment: {
|
|
558
|
+
Management: 'BusinessCore:Permission:PartySegment.Management',
|
|
559
|
+
},
|
|
560
|
+
LifecycleStage: {
|
|
561
|
+
Management: 'BusinessCore:Permission:LifecycleStage.Management',
|
|
562
|
+
},
|
|
173
563
|
},
|
|
174
564
|
};
|
|
175
565
|
|
|
@@ -238,6 +628,42 @@ class AXMBusinessCoreMenuProvider {
|
|
|
238
628
|
permissions: [AXMBusinessCorePermissionKeys.BusinessCore.BusinessStatus.Management],
|
|
239
629
|
},
|
|
240
630
|
},
|
|
631
|
+
{
|
|
632
|
+
name: AXMBusinessCoreMenuKeys.Divider2,
|
|
633
|
+
text: '',
|
|
634
|
+
type: 'break',
|
|
635
|
+
priority: 6,
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
name: AXMBusinessCoreMenuKeys.PartyTypes,
|
|
639
|
+
text: RootConfig.entities.partyType.titlePlural,
|
|
640
|
+
icon: RootConfig.entities.partyType.icon,
|
|
641
|
+
priority: 7,
|
|
642
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.partyType.name).createPath(),
|
|
643
|
+
policy: {
|
|
644
|
+
permissions: [AXMBusinessCorePermissionKeys.BusinessCore.PartyType.Management],
|
|
645
|
+
},
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
name: AXMBusinessCoreMenuKeys.PartySegments,
|
|
649
|
+
text: RootConfig.entities.partySegment.titlePlural,
|
|
650
|
+
icon: RootConfig.entities.partySegment.icon,
|
|
651
|
+
priority: 8,
|
|
652
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.partySegment.name).createPath(),
|
|
653
|
+
policy: {
|
|
654
|
+
permissions: [AXMBusinessCorePermissionKeys.BusinessCore.PartySegment.Management],
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
name: AXMBusinessCoreMenuKeys.LifecycleStages,
|
|
659
|
+
text: RootConfig.entities.lifecycleStage.titlePlural,
|
|
660
|
+
icon: RootConfig.entities.lifecycleStage.icon,
|
|
661
|
+
priority: 9,
|
|
662
|
+
path: this.entityService.withEntity(module.name, RootConfig.entities.lifecycleStage.name).createPath(),
|
|
663
|
+
policy: {
|
|
664
|
+
permissions: [AXMBusinessCorePermissionKeys.BusinessCore.LifecycleStage.Management],
|
|
665
|
+
},
|
|
666
|
+
},
|
|
241
667
|
],
|
|
242
668
|
},
|
|
243
669
|
]);
|
|
@@ -264,6 +690,9 @@ class AXMBusinessCorePermissionDefinitionProvider {
|
|
|
264
690
|
const industryTrans = (action) => this.translationService.translateAsync(`@business-core:industries.permissions.industry.${action}.title`);
|
|
265
691
|
const businessTypeTrans = (action) => this.translationService.translateAsync(`@business-core:business-types.permissions.business-type.${action}.title`);
|
|
266
692
|
const businessStatusTrans = (action) => this.translationService.translateAsync(`@business-core:business-statuses.permissions.business-status.${action}.title`);
|
|
693
|
+
const partyTypeTrans = (action) => this.translationService.translateAsync(`@business-core:party-types.permissions.party-type.${action}.title`);
|
|
694
|
+
const partySegmentTrans = (action) => this.translationService.translateAsync(`@business-core:party-segments.permissions.party-segment.${action}.title`);
|
|
695
|
+
const lifecycleStageTrans = (action) => this.translationService.translateAsync(`@business-core:lifecycle-stages.permissions.lifecycle-stage.${action}.title`);
|
|
267
696
|
context
|
|
268
697
|
.addGroup(RootConfig.module.name, moduleTitle)
|
|
269
698
|
.addPermission(keys.Manufacturer.Management, await manufacturerTrans('manage'))
|
|
@@ -274,6 +703,12 @@ class AXMBusinessCorePermissionDefinitionProvider {
|
|
|
274
703
|
.endPermission()
|
|
275
704
|
.addPermission(keys.BusinessStatus.Management, await businessStatusTrans('manage'))
|
|
276
705
|
.endPermission()
|
|
706
|
+
.addPermission(keys.PartyType.Management, await partyTypeTrans('manage'))
|
|
707
|
+
.endPermission()
|
|
708
|
+
.addPermission(keys.PartySegment.Management, await partySegmentTrans('manage'))
|
|
709
|
+
.endPermission()
|
|
710
|
+
.addPermission(keys.LifecycleStage.Management, await lifecycleStageTrans('manage'))
|
|
711
|
+
.endPermission()
|
|
277
712
|
.endGroup();
|
|
278
713
|
}
|
|
279
714
|
}
|
|
@@ -290,5 +725,5 @@ var permissionDefinition_provider = /*#__PURE__*/Object.freeze({
|
|
|
290
725
|
* Generated bundle index. Do not edit.
|
|
291
726
|
*/
|
|
292
727
|
|
|
293
|
-
export { AXMBusinessCoreEntityProvider, AXMBusinessCoreMenuProvider, AXMBusinessCoreModule, AXMBusinessCorePermissionDefinitionProvider, AXMBusinessCorePermissionKeys, RootConfig };
|
|
728
|
+
export { AXMBusinessCoreEntityProvider, AXMBusinessCoreMenuKeys, AXMBusinessCoreMenuProvider, AXMBusinessCoreModule, AXMBusinessCorePermissionDefinitionProvider, AXMBusinessCorePermissionKeys, RootConfig, lifecycleStageFactory, partySegmentFactory, partyTypeFactory };
|
|
294
729
|
//# sourceMappingURL=acorex-modules-business-core.mjs.map
|