@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.
Files changed (163) hide show
  1. package/assessment-management/index.d.ts +0 -1
  2. package/business-core/index.d.ts +69 -2
  3. package/common/index.d.ts +21 -0
  4. package/contact-core/index.d.ts +1 -7
  5. package/customer-management/index.d.ts +1 -53
  6. package/data-management/index.d.ts +17 -4
  7. package/document-management/index.d.ts +0 -1
  8. package/fesm2022/acorex-modules-application-management.mjs +19 -27
  9. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  10. package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-CULLP39a.mjs} +65 -67
  11. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-CULLP39a.mjs.map +1 -0
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs → acorex-modules-assessment-management-assessment-case.entity-DMSrj4-x.mjs} +2 -2
  19. 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
  20. package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs → acorex-modules-assessment-management-assessment-session.entity-Amq-d0wb.mjs} +2 -2
  21. 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
  22. package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs → acorex-modules-assessment-management-fill-assessment-session.command-CdxcGakt.mjs} +3 -3
  23. 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
  24. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs → acorex-modules-assessment-management-preview-questionnaire.command-C5zwNwJi.mjs} +4 -4
  25. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-C5zwNwJi.mjs.map} +1 -1
  26. package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs → acorex-modules-assessment-management-question-bank-item.entity-MlspdBfD.mjs} +2 -2
  27. 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
  28. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs → acorex-modules-assessment-management-questionnaire-builder-edit.component-DswgENO1.mjs} +3 -3
  29. 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
  30. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs → acorex-modules-assessment-management-questionnaire-builder-view.component-C3BXFr5P.mjs} +2 -2
  31. 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
  32. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs → acorex-modules-assessment-management-questionnaire-builder.component-BMR71H5h.mjs} +3 -3
  33. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs.map → acorex-modules-assessment-management-questionnaire-builder.component-BMR71H5h.mjs.map} +1 -1
  34. 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
  35. 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
  36. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs → acorex-modules-assessment-management-questionnaire-viewer.service-CVF6-BFW.mjs} +2 -2
  37. 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
  38. package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs → acorex-modules-assessment-management-questionnaire.entity-BZj3A4yO.mjs} +2 -2
  39. package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs.map → acorex-modules-assessment-management-questionnaire.entity-BZj3A4yO.mjs.map} +1 -1
  40. 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
  41. 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
  42. package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
  43. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs → acorex-modules-auth-acorex-modules-auth-CCFM_tlK.mjs} +13 -13
  44. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs.map → acorex-modules-auth-acorex-modules-auth-CCFM_tlK.mjs.map} +1 -1
  45. package/fesm2022/{acorex-modules-auth-app-chooser.component-DJE47I8p.mjs → acorex-modules-auth-app-chooser.component-CK5MfqD3.mjs} +2 -2
  46. package/fesm2022/{acorex-modules-auth-app-chooser.component-DJE47I8p.mjs.map → acorex-modules-auth-app-chooser.component-CK5MfqD3.mjs.map} +1 -1
  47. package/fesm2022/{acorex-modules-auth-login.module-CI_lkyb7.mjs → acorex-modules-auth-login.module-CoRuFgHW.mjs} +4 -4
  48. package/fesm2022/{acorex-modules-auth-login.module-CI_lkyb7.mjs.map → acorex-modules-auth-login.module-CoRuFgHW.mjs.map} +1 -1
  49. package/fesm2022/{acorex-modules-auth-master.layout-CdY380qS.mjs → acorex-modules-auth-master.layout-DtQSZBEK.mjs} +2 -2
  50. package/fesm2022/{acorex-modules-auth-master.layout-CdY380qS.mjs.map → acorex-modules-auth-master.layout-DtQSZBEK.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-auth-menu.provider-Bk9KXBU3.mjs → acorex-modules-auth-menu.provider-CBNyM4Ax.mjs} +2 -14
  52. package/fesm2022/acorex-modules-auth-menu.provider-CBNyM4Ax.mjs.map +1 -0
  53. package/fesm2022/{acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs → acorex-modules-auth-oauth-callback.component-CLdkbMqN.mjs} +2 -2
  54. package/fesm2022/{acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs.map → acorex-modules-auth-oauth-callback.component-CLdkbMqN.mjs.map} +1 -1
  55. package/fesm2022/{acorex-modules-auth-password.component-Dw_v_EFQ.mjs → acorex-modules-auth-password.component-DFh6ylyI.mjs} +2 -2
  56. package/fesm2022/{acorex-modules-auth-password.component-Dw_v_EFQ.mjs.map → acorex-modules-auth-password.component-DFh6ylyI.mjs.map} +1 -1
  57. package/fesm2022/{acorex-modules-auth-password.component-CefISnvd.mjs → acorex-modules-auth-password.component-zygAB4zy.mjs} +2 -2
  58. package/fesm2022/{acorex-modules-auth-password.component-CefISnvd.mjs.map → acorex-modules-auth-password.component-zygAB4zy.mjs.map} +1 -1
  59. package/fesm2022/{acorex-modules-auth-routes-CwcJHbAi.mjs → acorex-modules-auth-routes-44-jn5HH.mjs} +2 -2
  60. package/fesm2022/{acorex-modules-auth-routes-CwcJHbAi.mjs.map → acorex-modules-auth-routes-44-jn5HH.mjs.map} +1 -1
  61. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs → acorex-modules-auth-tenant-chooser.component-B7og_Ed1.mjs} +2 -2
  62. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs.map → acorex-modules-auth-tenant-chooser.component-B7og_Ed1.mjs.map} +1 -1
  63. package/fesm2022/{acorex-modules-auth-two-factor.module-BOZB6sLo.mjs → acorex-modules-auth-two-factor.module--ToitCHE.mjs} +2 -2
  64. package/fesm2022/{acorex-modules-auth-two-factor.module-BOZB6sLo.mjs.map → acorex-modules-auth-two-factor.module--ToitCHE.mjs.map} +1 -1
  65. package/fesm2022/{acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs → acorex-modules-auth-user-sessions.component-B49q0G5k.mjs} +2 -2
  66. package/fesm2022/{acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs.map → acorex-modules-auth-user-sessions.component-B49q0G5k.mjs.map} +1 -1
  67. package/fesm2022/acorex-modules-auth.mjs +1 -1
  68. package/fesm2022/acorex-modules-business-core.mjs +439 -4
  69. package/fesm2022/acorex-modules-business-core.mjs.map +1 -1
  70. package/fesm2022/acorex-modules-common.mjs +49 -0
  71. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  72. package/fesm2022/{acorex-modules-contact-core-emergency-service.entity-Cro3bM4G.mjs → acorex-modules-contact-core-emergency-service.entity-l8rYNqP1.mjs} +2 -1
  73. package/fesm2022/acorex-modules-contact-core-emergency-service.entity-l8rYNqP1.mjs.map +1 -0
  74. package/fesm2022/acorex-modules-contact-core.mjs +6 -47
  75. package/fesm2022/acorex-modules-contact-core.mjs.map +1 -1
  76. package/fesm2022/acorex-modules-content-management.mjs +21 -22
  77. package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
  78. package/fesm2022/{acorex-modules-customer-management-customer.entity-CRp5g0OZ.mjs → acorex-modules-customer-management-customer.entity-BOUGKl2b.mjs} +61 -9
  79. package/fesm2022/acorex-modules-customer-management-customer.entity-BOUGKl2b.mjs.map +1 -0
  80. package/fesm2022/{acorex-modules-customer-management-lead.entity-Da9JTLOl.mjs → acorex-modules-customer-management-lead.entity-C-juNxOd.mjs} +19 -14
  81. package/fesm2022/acorex-modules-customer-management-lead.entity-C-juNxOd.mjs.map +1 -0
  82. package/fesm2022/acorex-modules-customer-management.mjs +34 -262
  83. package/fesm2022/acorex-modules-customer-management.mjs.map +1 -1
  84. package/fesm2022/acorex-modules-dashboard-management.mjs +28 -39
  85. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  86. package/fesm2022/acorex-modules-data-management.mjs +56 -45
  87. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  88. package/fesm2022/acorex-modules-document-management.mjs +51 -42
  89. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  90. package/fesm2022/acorex-modules-form-template-management.mjs +21 -17
  91. package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
  92. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-MfqQx2iN.mjs → acorex-modules-help-desk-acorex-modules-help-desk-6uU5upBy.mjs} +65 -70
  93. package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-6uU5upBy.mjs.map +1 -0
  94. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CATwc3fe.mjs → acorex-modules-help-desk-capture-screen.component-CqtTzbgS.mjs} +2 -2
  95. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CATwc3fe.mjs.map → acorex-modules-help-desk-capture-screen.component-CqtTzbgS.mjs.map} +1 -1
  96. package/fesm2022/acorex-modules-help-desk.mjs +1 -1
  97. 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
  98. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CS3Fr_k2.mjs.map +1 -0
  99. package/fesm2022/acorex-modules-human-capital-management.mjs +86 -77
  100. package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
  101. package/fesm2022/acorex-modules-learning-management.mjs +105 -137
  102. package/fesm2022/acorex-modules-learning-management.mjs.map +1 -1
  103. package/fesm2022/acorex-modules-location-management.mjs +64 -198
  104. package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
  105. package/fesm2022/acorex-modules-meeting-management.mjs +45 -39
  106. package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
  107. package/fesm2022/acorex-modules-order-management-menu.provider-DeMKkRZa.mjs +61 -0
  108. package/fesm2022/acorex-modules-order-management-menu.provider-DeMKkRZa.mjs.map +1 -0
  109. package/fesm2022/acorex-modules-order-management.mjs +2 -2
  110. package/fesm2022/acorex-modules-organization-management.mjs +140 -90
  111. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  112. package/fesm2022/acorex-modules-person-management.mjs +9 -19
  113. package/fesm2022/acorex-modules-person-management.mjs.map +1 -1
  114. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-ndbiBVUt.mjs → acorex-modules-platform-management-acorex-modules-platform-management-fAjKD6Y5.mjs} +20 -17
  115. 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
  116. package/fesm2022/{acorex-modules-platform-management-menu-list.component-w-Ix2VZA.mjs → acorex-modules-platform-management-menu-list.component-BJsd86Vf.mjs} +2 -2
  117. 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
  118. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  119. package/fesm2022/acorex-modules-procurement-management.mjs +13 -18
  120. package/fesm2022/acorex-modules-procurement-management.mjs.map +1 -1
  121. package/fesm2022/acorex-modules-product-catalog.mjs +24 -27
  122. package/fesm2022/acorex-modules-product-catalog.mjs.map +1 -1
  123. package/fesm2022/acorex-modules-reservation-management.mjs +91 -54
  124. package/fesm2022/acorex-modules-reservation-management.mjs.map +1 -1
  125. package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs → acorex-modules-settings-management-acorex-modules-settings-management-fj933lbu.mjs} +6 -6
  126. 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
  127. package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs → acorex-modules-settings-management-permission-definition.provider-CW3wSb7v.mjs} +2 -2
  128. package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs.map → acorex-modules-settings-management-permission-definition.provider-CW3wSb7v.mjs.map} +1 -1
  129. package/fesm2022/{acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs → acorex-modules-settings-management-setting-page.component-BqJ31scm.mjs} +2 -2
  130. package/fesm2022/{acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs.map → acorex-modules-settings-management-setting-page.component-BqJ31scm.mjs.map} +1 -1
  131. package/fesm2022/{acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs → acorex-modules-settings-management-setting-view.component-D7QpT246.mjs} +2 -2
  132. package/fesm2022/{acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs.map → acorex-modules-settings-management-setting-view.component-D7QpT246.mjs.map} +1 -1
  133. package/fesm2022/acorex-modules-settings-management.mjs +1 -1
  134. package/fesm2022/acorex-modules-subscription-management.mjs +19 -28
  135. package/fesm2022/acorex-modules-subscription-management.mjs.map +1 -1
  136. package/fesm2022/acorex-modules-supplier-management.mjs +19 -229
  137. package/fesm2022/acorex-modules-supplier-management.mjs.map +1 -1
  138. package/fesm2022/acorex-modules-tenant-management.mjs +9 -16
  139. package/fesm2022/acorex-modules-tenant-management.mjs.map +1 -1
  140. package/fesm2022/acorex-modules-workflow-management.mjs +51 -36
  141. package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
  142. package/learning-management/index.d.ts +6 -0
  143. package/meeting-management/index.d.ts +0 -1
  144. package/package.json +14 -14
  145. package/reservation-management/index.d.ts +13 -12
  146. package/supplier-management/index.d.ts +4 -50
  147. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs.map +0 -1
  148. package/fesm2022/acorex-modules-auth-menu.provider-Bk9KXBU3.mjs.map +0 -1
  149. package/fesm2022/acorex-modules-contact-core-emergency-service.entity-Cro3bM4G.mjs.map +0 -1
  150. package/fesm2022/acorex-modules-customer-management-customer-segment.entity-CoYAU5g3.mjs +0 -69
  151. package/fesm2022/acorex-modules-customer-management-customer-segment.entity-CoYAU5g3.mjs.map +0 -1
  152. package/fesm2022/acorex-modules-customer-management-customer-type.entity-pt4gpOGq.mjs +0 -79
  153. package/fesm2022/acorex-modules-customer-management-customer-type.entity-pt4gpOGq.mjs.map +0 -1
  154. package/fesm2022/acorex-modules-customer-management-customer.entity-CRp5g0OZ.mjs.map +0 -1
  155. package/fesm2022/acorex-modules-customer-management-lead.entity-Da9JTLOl.mjs.map +0 -1
  156. package/fesm2022/acorex-modules-customer-management-lifecycle-stage.entity-DNFSDcpD.mjs +0 -60
  157. package/fesm2022/acorex-modules-customer-management-lifecycle-stage.entity-DNFSDcpD.mjs.map +0 -1
  158. package/fesm2022/acorex-modules-customer-management-sales-territory.entity-Bw5YU_a3.mjs +0 -60
  159. package/fesm2022/acorex-modules-customer-management-sales-territory.entity-Bw5YU_a3.mjs.map +0 -1
  160. package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-MfqQx2iN.mjs.map +0 -1
  161. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs.map +0 -1
  162. package/fesm2022/acorex-modules-order-management-menu.provider-CDXy5oMa.mjs +0 -68
  163. package/fesm2022/acorex-modules-order-management-menu.provider-CDXy5oMa.mjs.map +0 -1
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable, inject, Injector, NgModule } from '@angular/core';
3
3
  import { AXP_MODULE_MANIFEST_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER } from '@acorex/platform/core';
4
- import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER, entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterDeleteAction } from '@acorex/platform/layout/entity';
4
+ import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER, entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex/platform/layout/entity';
5
5
  import { AXP_MENU_PROVIDER, createAllQueryView } from '@acorex/platform/common';
6
6
  import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
7
7
  import { AXP_IDENTIFIER_RULES } from '@acorex/modules/identifier-management';
8
8
  import { AXTranslationService } from '@acorex/core/translation';
9
- import { AXPWidgetsList } from '@acorex/modules/common';
9
+ import { AXPCommonMenuKeys, AXPWidgetsList } from '@acorex/modules/common';
10
10
  import { RootConfig as RootConfig$1 } from '@acorex/modules/person-management';
11
11
  import { RootConfig as RootConfig$2 } from '@acorex/modules/financial-core';
12
12
  import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
@@ -31,20 +31,6 @@ const RootConfig = {
31
31
  titlePlural: `@${config.i18n}:suppliers.entities.supplier.plural`,
32
32
  icon: 'fa-light fa-truck',
33
33
  },
34
- supplierType: {
35
- name: 'SupplierType',
36
- source: `${config.module}.SupplierType`,
37
- title: `@${config.i18n}:suppliers.entities.supplier-type.title`,
38
- titlePlural: `@${config.i18n}:suppliers.entities.supplier-type.plural`,
39
- icon: 'fa-light fa-tags',
40
- },
41
- supplierSegment: {
42
- name: 'SupplierSegment',
43
- source: `${config.module}.SupplierSegment`,
44
- title: `@${config.i18n}:suppliers.entities.supplier-segment.title`,
45
- titlePlural: `@${config.i18n}:suppliers.entities.supplier-segment.plural`,
46
- icon: 'fa-light fa-chart-pie',
47
- },
48
34
  },
49
35
  };
50
36
 
@@ -85,20 +71,6 @@ const AXPSupplierManagementPermissionKeys = {
85
71
  Edit: 'SupplierManagement:Permission:Suppliers.Edit',
86
72
  Delete: 'SupplierManagement:Permission:Suppliers.Delete',
87
73
  },
88
- SupplierTypes: {
89
- Management: 'SupplierManagement:Permission:SupplierTypes.Management',
90
- View: 'SupplierManagement:Permission:SupplierTypes.View',
91
- Create: 'SupplierManagement:Permission:SupplierTypes.Create',
92
- Edit: 'SupplierManagement:Permission:SupplierTypes.Edit',
93
- Delete: 'SupplierManagement:Permission:SupplierTypes.Delete',
94
- },
95
- SupplierSegments: {
96
- Management: 'SupplierManagement:Permission:SupplierSegments.Management',
97
- View: 'SupplierManagement:Permission:SupplierSegments.View',
98
- Create: 'SupplierManagement:Permission:SupplierSegments.Create',
99
- Edit: 'SupplierManagement:Permission:SupplierSegments.Edit',
100
- Delete: 'SupplierManagement:Permission:SupplierSegments.Delete',
101
- },
102
74
  };
103
75
  //#endregion
104
76
 
@@ -123,18 +95,6 @@ class AXMSupplierManagementPermissionDefinitionProvider {
123
95
  .addChild(keys.Suppliers.Edit, await trans('suppliers.permissions.suppliers.actions.edit.title'))
124
96
  .addChild(keys.Suppliers.Delete, await trans('suppliers.permissions.suppliers.actions.delete.title'))
125
97
  .endPermission()
126
- .addPermission(keys.SupplierTypes.Management, await trans('suppliers.permissions.supplier-types.title'))
127
- .addChild(keys.SupplierTypes.View, await trans('suppliers.permissions.supplier-types.actions.view.title'))
128
- .addChild(keys.SupplierTypes.Create, await trans('suppliers.permissions.supplier-types.actions.create.title'))
129
- .addChild(keys.SupplierTypes.Edit, await trans('suppliers.permissions.supplier-types.actions.edit.title'))
130
- .addChild(keys.SupplierTypes.Delete, await trans('suppliers.permissions.supplier-types.actions.delete.title'))
131
- .endPermission()
132
- .addPermission(keys.SupplierSegments.Management, await trans('suppliers.permissions.supplier-segments.title'))
133
- .addChild(keys.SupplierSegments.View, await trans('suppliers.permissions.supplier-segments.actions.view.title'))
134
- .addChild(keys.SupplierSegments.Create, await trans('suppliers.permissions.supplier-segments.actions.create.title'))
135
- .addChild(keys.SupplierSegments.Edit, await trans('suppliers.permissions.supplier-segments.actions.edit.title'))
136
- .addChild(keys.SupplierSegments.Delete, await trans('suppliers.permissions.supplier-segments.actions.delete.title'))
137
- .endPermission()
138
98
  .endGroup();
139
99
  }
140
100
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMSupplierManagementPermissionDefinitionProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
@@ -147,8 +107,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
147
107
  const AXPSupplierManagementMenuKeys = {
148
108
  Root: 'SupplierManagement:Menu',
149
109
  Suppliers: 'SupplierManagement:Menu:Suppliers',
150
- SupplierTypes: 'SupplierManagement:Menu:SupplierTypes',
151
- SupplierSegments: 'SupplierManagement:Menu:SupplierSegments',
152
110
  };
153
111
 
154
112
  class AXMSupplierMenuProvider {
@@ -157,38 +115,17 @@ class AXMSupplierMenuProvider {
157
115
  }
158
116
  async provide(context) {
159
117
  const module = RootConfig.module;
160
- context.addItems([
118
+ // Add Suppliers under Contacts menu
119
+ context.find(AXPCommonMenuKeys.Contacts).addItems([
161
120
  {
162
- name: AXPSupplierManagementMenuKeys.Root,
163
- priority: 9004,
164
- text: '@supplier-management:module.menus.root.title',
165
- icon: module.icon,
121
+ name: AXPSupplierManagementMenuKeys.Suppliers,
122
+ text: '@supplier-management:suppliers.entities.supplier.plural',
123
+ path: this.entityService.createPath(module.name, RootConfig.entities.supplier.name),
124
+ icon: RootConfig.entities.supplier.icon,
125
+ priority: 3,
166
126
  policy: {
167
- features: [module.name],
127
+ permissions: [AXPSupplierManagementPermissionKeys.Suppliers.View],
168
128
  },
169
- children: [
170
- {
171
- name: AXPSupplierManagementMenuKeys.Suppliers,
172
- text: '@supplier-management:suppliers.entities.supplier.plural',
173
- path: this.entityService.createPath(module.name, RootConfig.entities.supplier.name),
174
- icon: RootConfig.entities.supplier.icon,
175
- priority: 1,
176
- },
177
- {
178
- name: AXPSupplierManagementMenuKeys.SupplierTypes,
179
- text: '@supplier-management:suppliers.entities.supplier-type.plural',
180
- path: this.entityService.createPath(module.name, RootConfig.entities.supplierType.name),
181
- icon: RootConfig.entities.supplierType.icon,
182
- priority: 6,
183
- },
184
- {
185
- name: AXPSupplierManagementMenuKeys.SupplierSegments,
186
- text: '@supplier-management:suppliers.entities.supplier-segment.plural',
187
- path: this.entityService.createPath(module.name, RootConfig.entities.supplierSegment.name),
188
- icon: RootConfig.entities.supplierSegment.icon,
189
- priority: 7,
190
- },
191
- ],
192
129
  },
193
130
  ]);
194
131
  }
@@ -210,10 +147,6 @@ class AXMSupplierManagementEntityProvider {
210
147
  switch (entityName) {
211
148
  case RootConfig.entities.supplier.name:
212
149
  return (await Promise.resolve().then(function () { return supplier_entity; })).supplierFactory(this.injector);
213
- case RootConfig.entities.supplierType.name:
214
- return (await Promise.resolve().then(function () { return supplierType_entity; })).supplierTypeFactory(this.injector);
215
- case RootConfig.entities.supplierSegment.name:
216
- return (await Promise.resolve().then(function () { return supplierSegment_entity; })).supplierSegmentFactory(this.injector);
217
150
  }
218
151
  }
219
152
  return null;
@@ -386,13 +319,13 @@ async function supplierFactory(injector) {
386
319
  interface: {
387
320
  type: AXPWidgetsList.Editors.LookupBox,
388
321
  options: {
389
- entity: `${RootConfig.module.name}.${RootConfig.entities.supplierType.name}`,
322
+ entity: 'BusinessCore.PartyType',
390
323
  textField: 'title',
391
324
  valueField: 'id',
392
325
  look: 'select',
393
326
  expose: [
394
- { source: 'id', target: 'supplierType.id' },
395
- { source: 'title', target: 'supplierType.title' },
327
+ { source: 'id', target: 'partyType.id' },
328
+ { source: 'title', target: 'partyType.title' },
396
329
  ],
397
330
  },
398
331
  },
@@ -408,13 +341,13 @@ async function supplierFactory(injector) {
408
341
  interface: {
409
342
  type: AXPWidgetsList.Editors.LookupBox,
410
343
  options: {
411
- entity: `${RootConfig.module.name}.${RootConfig.entities.supplierSegment.name}`,
344
+ entity: 'BusinessCore.PartySegment',
412
345
  textField: 'title',
413
346
  valueField: 'id',
414
347
  look: 'select',
415
348
  expose: [
416
- { source: 'id', target: 'segment.id' },
417
- { source: 'title', target: 'segment.title' },
349
+ { source: 'id', target: 'partySegment.id' },
350
+ { source: 'title', target: 'partySegment.title' },
418
351
  ],
419
352
  },
420
353
  },
@@ -528,8 +461,8 @@ async function supplierFactory(injector) {
528
461
  showAs: { type: AXPWidgetsCatalog.text },
529
462
  },
530
463
  { name: 'supplierCode' },
531
- { name: 'supplierTypeId', options: { dataPath: 'supplierType.title' } },
532
- { name: 'segmentId', options: { dataPath: 'segment.title' } },
464
+ { name: 'supplierTypeId', options: { dataPath: 'partyType.title' } },
465
+ { name: 'segmentId', options: { dataPath: 'partySegment.title' } },
533
466
  { name: 'since' },
534
467
  { name: 'isPreferred' },
535
468
  { name: 'rating' },
@@ -631,152 +564,9 @@ var supplier_entity = /*#__PURE__*/Object.freeze({
631
564
  supplierFactory: supplierFactory
632
565
  });
633
566
 
634
- async function supplierTypeFactory(injector) {
635
- const i18n = RootConfig.config.i18n + ':suppliers.entities.supplier-type';
636
- const entityName = 'supplier-type';
637
- const entityDef = {
638
- module: RootConfig.module.name,
639
- name: RootConfig.entities.supplierType.name,
640
- title: RootConfig.entities.supplierType.title,
641
- icon: RootConfig.entities.supplierType.icon,
642
- plugins: [
643
- { name: 'archive' },
644
- { name: 'clone' },
645
- ],
646
- formats: {
647
- individual: RootConfig.entities.supplierType.title,
648
- plural: RootConfig.entities.supplierType.titlePlural,
649
- searchResult: { title: '{{ title }}', description: RootConfig.module.title },
650
- },
651
- groups: [
652
- { id: 'basic-info', title: `@${i18n}.groups.basic-info` },
653
- { id: 'settings', title: '@general:terms.interface.settings' },
654
- ],
655
- properties: [
656
- {
657
- name: 'title',
658
- title: `@${i18n}.fields.title.title`,
659
- groupId: 'basic-info',
660
- schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
661
- validations: [{ rule: 'required' }],
662
- },
663
- {
664
- name: 'description',
665
- title: `@${i18n}.fields.description.title`,
666
- groupId: 'basic-info',
667
- schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } } },
668
- },
669
- ],
670
- columns: [{ name: 'title' }, { name: 'description' }],
671
- interfaces: {
672
- master: {
673
- create: {
674
- sections: [{ id: 'basic-info' }, { id: 'settings' }],
675
- properties: [
676
- { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
677
- { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
678
- ],
679
- },
680
- update: {
681
- sections: [{ id: 'basic-info' }, { id: 'settings' }],
682
- properties: [
683
- { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
684
- { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
685
- ],
686
- },
687
- single: {
688
- title: '{{title}}',
689
- sections: [
690
- { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
691
- { id: 'settings', layout: { positions: { lg: { colSpan: 12 } } } },
692
- ],
693
- properties: [
694
- { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
695
- { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
696
- ],
697
- actions: [entityMasterDeleteAction()],
698
- },
699
- list: {
700
- actions: [...entityMasterCrudActions()],
701
- views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
702
- },
703
- },
704
- },
705
- };
706
- return entityDef;
707
- }
708
-
709
- var supplierType_entity = /*#__PURE__*/Object.freeze({
710
- __proto__: null,
711
- supplierTypeFactory: supplierTypeFactory
712
- });
713
-
714
- async function supplierSegmentFactory(injector) {
715
- const i18n = RootConfig.config.i18n + ':suppliers.entities.supplier-segment';
716
- const entityName = 'supplier-segment';
717
- const entityDef = {
718
- module: RootConfig.module.name,
719
- name: RootConfig.entities.supplierSegment.name,
720
- title: RootConfig.entities.supplierSegment.title,
721
- icon: RootConfig.entities.supplierSegment.icon,
722
- formats: {
723
- individual: RootConfig.entities.supplierSegment.title,
724
- plural: RootConfig.entities.supplierSegment.titlePlural,
725
- searchResult: { title: '{{ title }}', description: RootConfig.module.title },
726
- },
727
- plugins: [{ name: 'color' }, { name: 'archive' }],
728
- groups: [
729
- { id: 'basic-info', title: `@${i18n}.groups.basic-info` },
730
- { id: 'appearance', title: '@general:terms.interface.appearance' }
731
- ],
732
- properties: [
733
- { name: 'title', title: `@${i18n}.fields.title.title`, groupId: 'basic-info', schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } }, validations: [{ rule: 'required' }] },
734
- { name: 'description', title: `@${i18n}.fields.description.title`, groupId: 'basic-info', schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } } } },
735
- ],
736
- columns: [{ name: 'title' }, { name: 'description' }],
737
- interfaces: {
738
- master: {
739
- create: {
740
- sections: [{ id: 'basic-info' }],
741
- properties: [
742
- { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
743
- { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
744
- ],
745
- },
746
- update: {
747
- sections: [{ id: 'basic-info' }],
748
- properties: [
749
- { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
750
- { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
751
- ],
752
- },
753
- single: {
754
- title: '{{title}}',
755
- sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
756
- properties: [
757
- { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
758
- { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
759
- ],
760
- actions: [entityMasterDeleteAction()],
761
- },
762
- list: {
763
- actions: [...entityMasterCrudActions()],
764
- views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
765
- },
766
- },
767
- },
768
- };
769
- return entityDef;
770
- }
771
-
772
- var supplierSegment_entity = /*#__PURE__*/Object.freeze({
773
- __proto__: null,
774
- supplierSegmentFactory: supplierSegmentFactory
775
- });
776
-
777
567
  /**
778
568
  * Generated bundle index. Do not edit.
779
569
  */
780
570
 
781
- export { AXMSupplierManagementEntityProvider, AXMSupplierManagementModule, AXMSupplierManagementPermissionDefinitionProvider, AXMSupplierMenuProvider, AXPSupplierManagementMenuKeys, AXPSupplierManagementPermissionKeys, RootConfig, supplierFactory, supplierSegmentFactory, supplierTypeFactory };
571
+ export { AXMSupplierManagementEntityProvider, AXMSupplierManagementModule, AXMSupplierManagementPermissionDefinitionProvider, AXMSupplierMenuProvider, AXPSupplierManagementMenuKeys, AXPSupplierManagementPermissionKeys, RootConfig, supplierFactory };
782
572
  //# sourceMappingURL=acorex-modules-supplier-management.mjs.map