@acorex/modules 21.0.0-next.34 → 21.0.0-next.39

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 (256) hide show
  1. package/fesm2022/{acorex-modules-ai-management-acorex-modules-ai-management-WuqoH4OL.mjs → acorex-modules-ai-management-acorex-modules-ai-management-CU2FvMTx.mjs} +260 -80
  2. package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-CU2FvMTx.mjs.map +1 -0
  3. package/fesm2022/{acorex-modules-ai-management-agent.entity-DK9GNMdR.mjs → acorex-modules-ai-management-agent.entity-CUO9Jczk.mjs} +14 -19
  4. package/fesm2022/acorex-modules-ai-management-agent.entity-CUO9Jczk.mjs.map +1 -0
  5. package/fesm2022/{acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CWXEW9yL.mjs → acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-daTGJ1Rd.mjs} +52 -8
  6. package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-daTGJ1Rd.mjs.map +1 -0
  7. package/fesm2022/{acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-CNKwIqUE.mjs → acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-Cmprtps-.mjs} +49 -7
  8. package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-Cmprtps-.mjs.map +1 -0
  9. package/fesm2022/{acorex-modules-ai-management-assist.entity-DX2U9sd5.mjs → acorex-modules-ai-management-assist.entity-C1nM_x4Z.mjs} +2 -2
  10. package/fesm2022/{acorex-modules-ai-management-assist.entity-DX2U9sd5.mjs.map → acorex-modules-ai-management-assist.entity-C1nM_x4Z.mjs.map} +1 -1
  11. package/fesm2022/{acorex-modules-ai-management-index-KX3TVRXr.mjs → acorex-modules-ai-management-index-CjTjfydP.mjs} +2 -2
  12. package/fesm2022/{acorex-modules-ai-management-index-KX3TVRXr.mjs.map → acorex-modules-ai-management-index-CjTjfydP.mjs.map} +1 -1
  13. package/fesm2022/{acorex-modules-ai-management-model.entity-BeuDUahR.mjs → acorex-modules-ai-management-model.entity-CPHxj8h7.mjs} +2 -2
  14. package/fesm2022/{acorex-modules-ai-management-model.entity-BeuDUahR.mjs.map → acorex-modules-ai-management-model.entity-CPHxj8h7.mjs.map} +1 -1
  15. package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-D-9unl6i.mjs → acorex-modules-ai-management-open-ai-endpoint.entity-a6MjMiXF.mjs} +2 -2
  16. package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-D-9unl6i.mjs.map → acorex-modules-ai-management-open-ai-endpoint.entity-a6MjMiXF.mjs.map} +1 -1
  17. package/fesm2022/acorex-modules-ai-management.mjs +1 -1
  18. package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-BNK6C-Ng.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-DniyhnPK.mjs} +509 -436
  19. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-DniyhnPK.mjs.map +1 -0
  20. package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-Ds8pRzvE.mjs → acorex-modules-assessment-management-assessment-case.entity-BggEmLhz.mjs} +2 -2
  21. package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-Ds8pRzvE.mjs.map → acorex-modules-assessment-management-assessment-case.entity-BggEmLhz.mjs.map} +1 -1
  22. package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-tq1Q4wkS.mjs → acorex-modules-assessment-management-assessment-session.entity-CWR1QZv1.mjs} +2 -2
  23. package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-tq1Q4wkS.mjs.map → acorex-modules-assessment-management-assessment-session.entity-CWR1QZv1.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-yf0PnWC0.mjs → acorex-modules-assessment-management-fill-assessment-session.command-qajn_XDh.mjs} +2 -2
  25. package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-yf0PnWC0.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-qajn_XDh.mjs.map} +1 -1
  26. package/fesm2022/{acorex-modules-assessment-management-index-B2SncZAW.mjs → acorex-modules-assessment-management-index-B2l5Se1l.mjs} +25 -26
  27. package/fesm2022/acorex-modules-assessment-management-index-B2l5Se1l.mjs.map +1 -0
  28. package/fesm2022/{acorex-modules-assessment-management-preview-question.command-DPzL8C44.mjs → acorex-modules-assessment-management-preview-question.command-BCS477_k.mjs} +10 -11
  29. package/fesm2022/acorex-modules-assessment-management-preview-question.command-BCS477_k.mjs.map +1 -0
  30. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BrI5gFtx.mjs → acorex-modules-assessment-management-preview-questionnaire.command-C8lyuqE-.mjs} +2 -2
  31. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BrI5gFtx.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-C8lyuqE-.mjs.map} +1 -1
  32. package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-XD5IJpvW.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DtowOBLy.mjs} +2 -2
  33. package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-XD5IJpvW.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DtowOBLy.mjs.map} +1 -1
  34. package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CZ32sQ9M.mjs → acorex-modules-assessment-management-question-bank-item.entity-Br7XcU_u.mjs} +2 -2
  35. package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CZ32sQ9M.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-Br7XcU_u.mjs.map} +1 -1
  36. package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-C7gf4s1y.mjs → acorex-modules-assessment-management-questionnaire-calculation.entity-DNUf5RD3.mjs} +2 -2
  37. package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-C7gf4s1y.mjs.map → acorex-modules-assessment-management-questionnaire-calculation.entity-DNUf5RD3.mjs.map} +1 -1
  38. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BZyIlYWg.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-BdBKHvHP.mjs} +3 -3
  39. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BZyIlYWg.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-BdBKHvHP.mjs.map} +1 -1
  40. package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CmmThk2f.mjs → acorex-modules-assessment-management-questionnaire.entity-B5aP_P4z.mjs} +3 -3
  41. package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CmmThk2f.mjs.map → acorex-modules-assessment-management-questionnaire.entity-B5aP_P4z.mjs.map} +1 -1
  42. package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-GLqvK8wB.mjs → acorex-modules-assessment-management-save-questionnaire-questions.command-C3Qt5fmY.mjs} +2 -2
  43. package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-GLqvK8wB.mjs.map → acorex-modules-assessment-management-save-questionnaire-questions.command-C3Qt5fmY.mjs.map} +1 -1
  44. package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CU1TVonZ.mjs → acorex-modules-assessment-management-view-session-answers.command-C9VS-Tp3.mjs} +2 -2
  45. package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CU1TVonZ.mjs.map → acorex-modules-assessment-management-view-session-answers.command-C9VS-Tp3.mjs.map} +1 -1
  46. package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
  47. package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-BDs0ZgD5.mjs → acorex-modules-asset-management-acorex-modules-asset-management-F7Ok5dhs.mjs} +519 -81
  48. package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-F7Ok5dhs.mjs.map +1 -0
  49. package/fesm2022/{acorex-modules-asset-management-asset-system-history.entity-CSCwWY_F.mjs → acorex-modules-asset-management-asset-system-history.entity-D1HZG9wO.mjs} +2 -2
  50. package/fesm2022/{acorex-modules-asset-management-asset-system-history.entity-CSCwWY_F.mjs.map → acorex-modules-asset-management-asset-system-history.entity-D1HZG9wO.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-CcefMT8J.mjs → acorex-modules-asset-management-asset-system-type.entity-DDh5RK5M.mjs} +60 -38
  52. package/fesm2022/acorex-modules-asset-management-asset-system-type.entity-DDh5RK5M.mjs.map +1 -0
  53. package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-6Rauu2Z1.mjs → acorex-modules-asset-management-asset-type-section-component.entity-em7lQ1eu.mjs} +2 -2
  54. package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-6Rauu2Z1.mjs.map → acorex-modules-asset-management-asset-type-section-component.entity-em7lQ1eu.mjs.map} +1 -1
  55. package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-r_H1QGwp.mjs → acorex-modules-asset-management-asset-type-section.entity-BtcNy6Ra.mjs} +6 -48
  56. package/fesm2022/acorex-modules-asset-management-asset-type-section.entity-BtcNy6Ra.mjs.map +1 -0
  57. package/fesm2022/{acorex-modules-asset-management-asset-type.entity-cWVqpbHH.mjs → acorex-modules-asset-management-asset-type.entity-DWhrFVFI.mjs} +53 -100
  58. package/fesm2022/acorex-modules-asset-management-asset-type.entity-DWhrFVFI.mjs.map +1 -0
  59. package/fesm2022/{acorex-modules-asset-management-asset.entity-CamZGWTM.mjs → acorex-modules-asset-management-asset.entity-BEjXfkPD.mjs} +66 -56
  60. package/fesm2022/acorex-modules-asset-management-asset.entity-BEjXfkPD.mjs.map +1 -0
  61. package/fesm2022/{acorex-modules-asset-management-assetSystem.entity-Dq2ASslk.mjs → acorex-modules-asset-management-assetSystem.entity-CJCVALaz.mjs} +2 -2
  62. package/fesm2022/{acorex-modules-asset-management-assetSystem.entity-Dq2ASslk.mjs.map → acorex-modules-asset-management-assetSystem.entity-CJCVALaz.mjs.map} +1 -1
  63. package/fesm2022/acorex-modules-asset-management.mjs +1 -1
  64. package/fesm2022/acorex-modules-common.mjs +38 -41
  65. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  66. package/fesm2022/acorex-modules-conversation.mjs +1046 -249
  67. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  68. package/fesm2022/acorex-modules-dashboard-management.mjs +1098 -706
  69. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  70. package/fesm2022/acorex-modules-data-management.mjs +63 -35
  71. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  72. package/fesm2022/acorex-modules-document-management.mjs +101 -57
  73. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  74. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-BRpqFRuI.mjs → acorex-modules-human-capital-management-employee.entity-BmF6_P6d.mjs} +48 -21
  75. package/fesm2022/acorex-modules-human-capital-management-employee.entity-BmF6_P6d.mjs.map +1 -0
  76. package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
  77. package/fesm2022/acorex-modules-location-management.mjs +18 -99
  78. package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
  79. package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-DtODwbIN.mjs +7137 -0
  80. package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-DtODwbIN.mjs.map +1 -0
  81. package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-DQJJtCqU.mjs → acorex-modules-maintenance-management-failure-effect.entity-BtczD4wu.mjs} +2 -2
  82. package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-DQJJtCqU.mjs.map → acorex-modules-maintenance-management-failure-effect.entity-BtczD4wu.mjs.map} +1 -1
  83. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-gg2fpT2N.mjs → acorex-modules-maintenance-management-failure-mode-asset-type.entity-CDUdEH-e.mjs} +2 -2
  84. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-gg2fpT2N.mjs.map → acorex-modules-maintenance-management-failure-mode-asset-type.entity-CDUdEH-e.mjs.map} +1 -1
  85. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-CHUaAnID.mjs → acorex-modules-maintenance-management-failure-mode-mechanism.entity-re5UvGp7.mjs} +2 -2
  86. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-CHUaAnID.mjs.map → acorex-modules-maintenance-management-failure-mode-mechanism.entity-re5UvGp7.mjs.map} +1 -1
  87. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-B93x1uP_.mjs → acorex-modules-maintenance-management-failure-mode-solution.entity-nbFz4LAe.mjs} +2 -2
  88. package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-B93x1uP_.mjs.map → acorex-modules-maintenance-management-failure-mode-solution.entity-nbFz4LAe.mjs.map} +1 -1
  89. package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-McM3l12Q.mjs → acorex-modules-maintenance-management-failure-register-cause.entity-CW2NlX59.mjs} +2 -2
  90. package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-McM3l12Q.mjs.map → acorex-modules-maintenance-management-failure-register-cause.entity-CW2NlX59.mjs.map} +1 -1
  91. package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-_jjy1oeg.mjs → acorex-modules-maintenance-management-failure-register-effect.entity-Bi5XgfoL.mjs} +2 -2
  92. package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-_jjy1oeg.mjs.map → acorex-modules-maintenance-management-failure-register-effect.entity-Bi5XgfoL.mjs.map} +1 -1
  93. package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-5CmdhowW.mjs → acorex-modules-maintenance-management-failure-register-mechanism.entity-DcW6sK01.mjs} +2 -2
  94. package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-5CmdhowW.mjs.map → acorex-modules-maintenance-management-failure-register-mechanism.entity-DcW6sK01.mjs.map} +1 -1
  95. package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-D_lQrda5.mjs → acorex-modules-maintenance-management-failure-register.entity-CUxVZo0w.mjs} +3 -3
  96. package/fesm2022/acorex-modules-maintenance-management-failure-register.entity-CUxVZo0w.mjs.map +1 -0
  97. package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BIZxoVIS.mjs → acorex-modules-maintenance-management-failure-severity.entity-B7LBO-UA.mjs} +2 -2
  98. package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BIZxoVIS.mjs.map → acorex-modules-maintenance-management-failure-severity.entity-B7LBO-UA.mjs.map} +1 -1
  99. package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-D6ATa-HR.mjs +443 -0
  100. package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-D6ATa-HR.mjs.map +1 -0
  101. package/fesm2022/acorex-modules-maintenance-management.mjs +1 -3579
  102. package/fesm2022/acorex-modules-maintenance-management.mjs.map +1 -1
  103. package/fesm2022/acorex-modules-notification-management.mjs +11 -5
  104. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  105. package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BrVNMCi_.mjs +356 -0
  106. package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BrVNMCi_.mjs.map +1 -0
  107. package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-CO8jMwVJ.mjs +181 -0
  108. package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-CO8jMwVJ.mjs.map +1 -0
  109. package/fesm2022/acorex-modules-organization-management-business-unit.entity-WiTemBLu.mjs +359 -0
  110. package/fesm2022/acorex-modules-organization-management-business-unit.entity-WiTemBLu.mjs.map +1 -0
  111. package/fesm2022/{acorex-modules-organization-management-chart.entity-bRxA8XHZ.mjs → acorex-modules-organization-management-chart.entity-D6Y7kZfM.mjs} +33 -29
  112. package/fesm2022/acorex-modules-organization-management-chart.entity-D6Y7kZfM.mjs.map +1 -0
  113. package/fesm2022/{acorex-modules-organization-management-company.entity-BohMJQNi.mjs → acorex-modules-organization-management-company.entity-wpNiu8g3.mjs} +6 -8
  114. package/fesm2022/acorex-modules-organization-management-company.entity-wpNiu8g3.mjs.map +1 -0
  115. package/fesm2022/acorex-modules-organization-management-data-source-evaluator-scope.provider-BrKtojM9.mjs +48 -0
  116. package/fesm2022/acorex-modules-organization-management-data-source-evaluator-scope.provider-BrKtojM9.mjs.map +1 -0
  117. package/fesm2022/acorex-modules-organization-management-entity.provider-B0XbUW1I.mjs +59 -0
  118. package/fesm2022/acorex-modules-organization-management-entity.provider-B0XbUW1I.mjs.map +1 -0
  119. package/fesm2022/acorex-modules-organization-management-feature-definition.provider-D7t_nNNk.mjs +19 -0
  120. package/fesm2022/acorex-modules-organization-management-feature-definition.provider-D7t_nNNk.mjs.map +1 -0
  121. package/fesm2022/{acorex-modules-organization-management-job-definition.entity-S9Jlmr-o.mjs → acorex-modules-organization-management-job-definition.entity-Cb6zEf65.mjs} +2 -2
  122. package/fesm2022/{acorex-modules-organization-management-job-definition.entity-S9Jlmr-o.mjs.map → acorex-modules-organization-management-job-definition.entity-Cb6zEf65.mjs.map} +1 -1
  123. package/fesm2022/acorex-modules-organization-management-job-level.datasource-RDGmLrqD.mjs +95 -0
  124. package/fesm2022/acorex-modules-organization-management-job-level.datasource-RDGmLrqD.mjs.map +1 -0
  125. package/fesm2022/acorex-modules-organization-management-job-level.entity-oedF18Xm.mjs +274 -0
  126. package/fesm2022/acorex-modules-organization-management-job-level.entity-oedF18Xm.mjs.map +1 -0
  127. package/fesm2022/acorex-modules-organization-management-menu.provider-DAKmAxld.mjs +193 -0
  128. package/fesm2022/acorex-modules-organization-management-menu.provider-DAKmAxld.mjs.map +1 -0
  129. package/fesm2022/acorex-modules-organization-management-org-chart.page-mHV0AWGZ.mjs +1081 -0
  130. package/fesm2022/acorex-modules-organization-management-org-chart.page-mHV0AWGZ.mjs.map +1 -0
  131. package/fesm2022/acorex-modules-organization-management-permission-definition.provider-Be8mvS_Z.mjs +77 -0
  132. package/fesm2022/acorex-modules-organization-management-permission-definition.provider-Be8mvS_Z.mjs.map +1 -0
  133. package/fesm2022/acorex-modules-organization-management-permission.keys-DwZNBc12.mjs +56 -0
  134. package/fesm2022/acorex-modules-organization-management-permission.keys-DwZNBc12.mjs.map +1 -0
  135. package/fesm2022/{acorex-modules-organization-management-position.entity-DLPufeWz.mjs → acorex-modules-organization-management-position.entity-BveMCKMd.mjs} +108 -106
  136. package/fesm2022/acorex-modules-organization-management-position.entity-BveMCKMd.mjs.map +1 -0
  137. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-mMZywr0X.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-ivufxxLL.mjs} +25 -29
  138. package/fesm2022/acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-ivufxxLL.mjs.map +1 -0
  139. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-CfRBMxLk.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-DptdG1Nt.mjs} +2 -2
  140. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-CfRBMxLk.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-DptdG1Nt.mjs.map} +1 -1
  141. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-B06t1G1E.mjs → acorex-modules-organization-management-responsibilities-matrix.component-qO33kvo_.mjs} +14 -21
  142. package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-qO33kvo_.mjs.map +1 -0
  143. package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-zOjyjm5H.mjs +137 -0
  144. package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-zOjyjm5H.mjs.map +1 -0
  145. package/fesm2022/{acorex-modules-organization-management-responsibility.entity-CMmr3wJa.mjs → acorex-modules-organization-management-responsibility.entity-jWEiPi5-.mjs} +2 -2
  146. package/fesm2022/{acorex-modules-organization-management-responsibility.entity-CMmr3wJa.mjs.map → acorex-modules-organization-management-responsibility.entity-jWEiPi5-.mjs.map} +1 -1
  147. package/fesm2022/acorex-modules-organization-management-settings.provider-D3ged-4h.mjs +228 -0
  148. package/fesm2022/acorex-modules-organization-management-settings.provider-D3ged-4h.mjs.map +1 -0
  149. package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-CZ4MibH4.mjs → acorex-modules-organization-management-team-member-role.entity-D9TZoACE.mjs} +68 -8
  150. package/fesm2022/acorex-modules-organization-management-team-member-role.entity-D9TZoACE.mjs.map +1 -0
  151. package/fesm2022/{acorex-modules-organization-management-team-member.entity-8sTjn5Jn.mjs → acorex-modules-organization-management-team-member.entity-Bz4o7c3d.mjs} +2 -2
  152. package/fesm2022/{acorex-modules-organization-management-team-member.entity-8sTjn5Jn.mjs.map → acorex-modules-organization-management-team-member.entity-Bz4o7c3d.mjs.map} +1 -1
  153. package/fesm2022/{acorex-modules-organization-management-team.entity-CGR0UlYl.mjs → acorex-modules-organization-management-team.entity-uVffZPeg.mjs} +100 -37
  154. package/fesm2022/acorex-modules-organization-management-team.entity-uVffZPeg.mjs.map +1 -0
  155. package/fesm2022/acorex-modules-organization-management-widget-definition.provider-D4yjuqwx.mjs +48 -0
  156. package/fesm2022/acorex-modules-organization-management-widget-definition.provider-D4yjuqwx.mjs.map +1 -0
  157. package/fesm2022/acorex-modules-organization-management.mjs +1 -2216
  158. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  159. package/fesm2022/acorex-modules-platform-dev-tools-menu.provider-BFueKnuF.mjs +40 -0
  160. package/fesm2022/acorex-modules-platform-dev-tools-menu.provider-BFueKnuF.mjs.map +1 -0
  161. package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs +33 -0
  162. package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs.map +1 -0
  163. package/fesm2022/acorex-modules-platform-dev-tools.mjs +14 -94
  164. package/fesm2022/acorex-modules-platform-dev-tools.mjs.map +1 -1
  165. package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-DPSNAAct.mjs → acorex-modules-report-management-report-runner-root-page.component-BjKrHoBg.mjs} +107 -107
  166. package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BjKrHoBg.mjs.map +1 -0
  167. package/fesm2022/acorex-modules-report-management.mjs +1 -1
  168. package/fesm2022/{acorex-modules-reservation-management-acorex-modules-reservation-management-BMemqW2V.mjs → acorex-modules-reservation-management-acorex-modules-reservation-management-BoUiTlmu.mjs} +65 -76
  169. package/fesm2022/acorex-modules-reservation-management-acorex-modules-reservation-management-BoUiTlmu.mjs.map +1 -0
  170. package/fesm2022/{acorex-modules-reservation-management-reservation-class-status.entity-Bg7d38wV.mjs → acorex-modules-reservation-management-reservation-class-status.entity-D-ZdqKa8.mjs} +2 -2
  171. package/fesm2022/{acorex-modules-reservation-management-reservation-class-status.entity-Bg7d38wV.mjs.map → acorex-modules-reservation-management-reservation-class-status.entity-D-ZdqKa8.mjs.map} +1 -1
  172. package/fesm2022/{acorex-modules-reservation-management-reservation-resource-type.entity-BK-rLEXi.mjs → acorex-modules-reservation-management-reservation-resource-type.entity-zPD-Psml.mjs} +2 -2
  173. package/fesm2022/{acorex-modules-reservation-management-reservation-resource-type.entity-BK-rLEXi.mjs.map → acorex-modules-reservation-management-reservation-resource-type.entity-zPD-Psml.mjs.map} +1 -1
  174. package/fesm2022/{acorex-modules-reservation-management-reservation-status-transition.entity-2ngXhKAV.mjs → acorex-modules-reservation-management-reservation-status-transition.entity-CQ85ZAGF.mjs} +2 -2
  175. package/fesm2022/{acorex-modules-reservation-management-reservation-status-transition.entity-2ngXhKAV.mjs.map → acorex-modules-reservation-management-reservation-status-transition.entity-CQ85ZAGF.mjs.map} +1 -1
  176. package/fesm2022/acorex-modules-reservation-management.mjs +1 -1
  177. package/fesm2022/acorex-modules-security-management.mjs +269 -190
  178. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  179. package/fesm2022/{acorex-modules-task-management-task-board.page-C1H_GTqy.mjs → acorex-modules-task-management-task-board.page-DA2563QE.mjs} +15 -10
  180. package/fesm2022/acorex-modules-task-management-task-board.page-DA2563QE.mjs.map +1 -0
  181. package/fesm2022/acorex-modules-task-management.mjs +27 -13
  182. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  183. package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs +5 -0
  184. package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs.map +1 -0
  185. package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-column.component-C8lgSjfc.mjs → acorex-modules-workflow-management-activity-command-configurator-widget-column.component-CDo0QVFy.mjs} +14 -6
  186. package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-column.component-CDo0QVFy.mjs.map +1 -0
  187. package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BGUPxGXP.mjs → acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BYJpDQRs.mjs} +31 -16
  188. package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BYJpDQRs.mjs.map +1 -0
  189. package/fesm2022/{acorex-modules-workflow-management-activity-definition.entity-Bvs1OfE_.mjs → acorex-modules-workflow-management-activity-definition.entity-B3DkgDQb.mjs} +10 -12
  190. package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-B3DkgDQb.mjs.map +1 -0
  191. package/fesm2022/{acorex-modules-workflow-management-index-DWIDQsWq.mjs → acorex-modules-workflow-management-index-C9Qc07oK.mjs} +125 -3
  192. package/fesm2022/acorex-modules-workflow-management-index-C9Qc07oK.mjs.map +1 -0
  193. package/fesm2022/acorex-modules-workflow-management-index-D8fjNgQJ.mjs +726 -0
  194. package/fesm2022/acorex-modules-workflow-management-index-D8fjNgQJ.mjs.map +1 -0
  195. package/fesm2022/acorex-modules-workflow-management-index-DMnJRDbq.mjs +294 -0
  196. package/fesm2022/acorex-modules-workflow-management-index-DMnJRDbq.mjs.map +1 -0
  197. package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs +56 -0
  198. package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs.map +1 -0
  199. package/fesm2022/{acorex-modules-workflow-management-workflow-definition.entity-aJou58ED.mjs → acorex-modules-workflow-management-workflow-definition.entity-DqPVpcSv.mjs} +101 -140
  200. package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DqPVpcSv.mjs.map +1 -0
  201. package/fesm2022/{acorex-modules-workflow-management-workflow-instance.entity-Cq7LE7u5.mjs → acorex-modules-workflow-management-workflow-instance.entity-sfsoT0is.mjs} +10 -1
  202. package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-sfsoT0is.mjs.map +1 -0
  203. package/fesm2022/{acorex-modules-workflow-management-workflow-task-popover.component-CIakASVR.mjs → acorex-modules-workflow-management-workflow-task-popover.component-NpUx0sB5.mjs} +11 -7
  204. package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-NpUx0sB5.mjs.map +1 -0
  205. package/fesm2022/acorex-modules-workflow-management.mjs +746 -402
  206. package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
  207. package/organization-management/README.md +1 -1
  208. package/package.json +2 -2
  209. package/types/acorex-modules-ai-management.d.ts +64 -16
  210. package/types/acorex-modules-asset-management.d.ts +115 -58
  211. package/types/acorex-modules-common.d.ts +2 -4
  212. package/types/acorex-modules-dashboard-management.d.ts +226 -109
  213. package/types/acorex-modules-data-management.d.ts +2 -2
  214. package/types/acorex-modules-document-management.d.ts +1 -2
  215. package/types/acorex-modules-human-capital-management.d.ts +6 -0
  216. package/types/acorex-modules-maintenance-management.d.ts +561 -41
  217. package/types/acorex-modules-notification-management.d.ts +7 -3
  218. package/types/acorex-modules-organization-management.d.ts +52 -107
  219. package/types/acorex-modules-security-management.d.ts +15 -1
  220. package/types/acorex-modules-task-management.d.ts +8 -13
  221. package/types/acorex-modules-workflow-management.d.ts +67 -13
  222. package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-WuqoH4OL.mjs.map +0 -1
  223. package/fesm2022/acorex-modules-ai-management-agent.entity-DK9GNMdR.mjs.map +0 -1
  224. package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CWXEW9yL.mjs.map +0 -1
  225. package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-CNKwIqUE.mjs.map +0 -1
  226. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-BNK6C-Ng.mjs.map +0 -1
  227. package/fesm2022/acorex-modules-assessment-management-index-B2SncZAW.mjs.map +0 -1
  228. package/fesm2022/acorex-modules-assessment-management-preview-question.command-DPzL8C44.mjs.map +0 -1
  229. package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-BDs0ZgD5.mjs.map +0 -1
  230. package/fesm2022/acorex-modules-asset-management-asset-system-type.entity-CcefMT8J.mjs.map +0 -1
  231. package/fesm2022/acorex-modules-asset-management-asset-type-section.entity-r_H1QGwp.mjs.map +0 -1
  232. package/fesm2022/acorex-modules-asset-management-asset-type.entity-cWVqpbHH.mjs.map +0 -1
  233. package/fesm2022/acorex-modules-asset-management-asset.entity-CamZGWTM.mjs.map +0 -1
  234. package/fesm2022/acorex-modules-human-capital-management-employee.entity-BRpqFRuI.mjs.map +0 -1
  235. package/fesm2022/acorex-modules-maintenance-management-failure-register.entity-D_lQrda5.mjs.map +0 -1
  236. package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-C-EKX6Oy.mjs +0 -91
  237. package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-C-EKX6Oy.mjs.map +0 -1
  238. package/fesm2022/acorex-modules-organization-management-chart.entity-bRxA8XHZ.mjs.map +0 -1
  239. package/fesm2022/acorex-modules-organization-management-company.entity-BohMJQNi.mjs.map +0 -1
  240. package/fesm2022/acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs +0 -784
  241. package/fesm2022/acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs.map +0 -1
  242. package/fesm2022/acorex-modules-organization-management-position.entity-DLPufeWz.mjs.map +0 -1
  243. package/fesm2022/acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-mMZywr0X.mjs.map +0 -1
  244. package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-B06t1G1E.mjs.map +0 -1
  245. package/fesm2022/acorex-modules-organization-management-team-member-role.entity-CZ4MibH4.mjs.map +0 -1
  246. package/fesm2022/acorex-modules-organization-management-team.entity-CGR0UlYl.mjs.map +0 -1
  247. package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-DPSNAAct.mjs.map +0 -1
  248. package/fesm2022/acorex-modules-reservation-management-acorex-modules-reservation-management-BMemqW2V.mjs.map +0 -1
  249. package/fesm2022/acorex-modules-task-management-task-board.page-C1H_GTqy.mjs.map +0 -1
  250. package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-column.component-C8lgSjfc.mjs.map +0 -1
  251. package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BGUPxGXP.mjs.map +0 -1
  252. package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-Bvs1OfE_.mjs.map +0 -1
  253. package/fesm2022/acorex-modules-workflow-management-index-DWIDQsWq.mjs.map +0 -1
  254. package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-aJou58ED.mjs.map +0 -1
  255. package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Cq7LE7u5.mjs.map +0 -1
  256. package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-CIakASVR.mjs.map +0 -1
@@ -1,2217 +1,2 @@
1
- import { AXMEntityCrudServiceImpl, AXPEntityService, entityMasterCrudActions, entityMasterDeleteAction, entityMasterRecordActions, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
2
- import * as i0 from '@angular/core';
3
- import { Injectable, NgModule, inject, Injector } from '@angular/core';
4
- import { CommonModule } from '@angular/common';
5
- import { AXPSessionService, AXPAuthGuard, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
6
- import { createAllQueryView, AXP_HOME_PAGES, AXP_MENU_PROVIDER } from '@acorex/platform/common';
7
- import { AXPDataSourceDefinitionProviderService, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER } from '@acorex/platform/core';
8
- import { AXPWidgetsCatalog, AXPWidgetGroupEnum, AXP_WIDGETS_EDITOR_CATEGORY, AXPWidgetCoreModule, AXP_WIDGET_DEFINITION_PROVIDER } from '@acorex/platform/layout/widget-core';
9
- import { ROUTES } from '@angular/router';
10
- import { AXPCommonMenuKeys, AXPWidgetsList } from '@acorex/modules/common';
11
- import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_LABEL_PROPERTY, AXP_READONLY_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/layout/widgets';
12
- import { AXDataSource } from '@acorex/cdk/common';
13
-
14
- const config = {
15
- i18n: 'organization-management',
16
- module: 'OrganizationManagement',
17
- };
18
- const RootConfig = {
19
- config,
20
- module: {
21
- route: 'organization-management',
22
- name: config.module,
23
- title: '@organization-management:module.title',
24
- icon: 'fa-light fa-sitemap',
25
- },
26
- entities: {
27
- responsibility: {
28
- name: 'Responsibility',
29
- title: '@organization-management:responsibilities.entities.responsibility.title',
30
- source: `${config.module}.Responsibility`,
31
- icon: 'fa-light fa-tasks',
32
- },
33
- jobDefinition: {
34
- name: 'JobDefinition',
35
- title: '@organization-management:job-definitions.entities.job-definition.title',
36
- source: `${config.module}.JobDefinition`,
37
- icon: 'fa-light fa-user-tie',
38
- },
39
- jobLevel: {
40
- name: 'JobLevel',
41
- title: '@organization-management:job-levels.entities.job-level.title',
42
- source: `${config.module}.JobLevel`,
43
- icon: 'fa-light fa-layer-group',
44
- },
45
- responsibilityLevel: {
46
- name: 'ResponsibilityLevel',
47
- title: '@organization-management:responsibility-levels.entities.responsibility-level.title',
48
- titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',
49
- source: `${config.module}.ResponsibilityLevel`,
50
- icon: 'fa-light fa-layer-group',
51
- },
52
- company: {
53
- name: 'Company',
54
- source: `${config.module}.Company`,
55
- title: `t("company.individual-title", {scope:"${config.i18n}"})`,
56
- icon: 'fa-light fa-building',
57
- },
58
- team: {
59
- name: 'Team',
60
- source: `${config.module}.Team`,
61
- title: '@organization-management:teams.entities.team.title',
62
- icon: 'fa-light fa-people-group',
63
- },
64
- teamMemberRole: {
65
- name: 'TeamMemberRole',
66
- source: `${config.module}.TeamMemberRole`,
67
- title: '@organization-management:team-member-roles.entities.team-member-role.title',
68
- icon: 'fa-light fa-user-tag',
69
- },
70
- teamMember: {
71
- name: 'TeamMember',
72
- source: `${config.module}.TeamMember`,
73
- title: '@organization-management:team-members.entities.team-member.title',
74
- icon: 'fa-light fa-users',
75
- },
76
- position: {
77
- name: 'Position',
78
- source: `${config.module}.Position`,
79
- title: '@organization-management:positions.entities.position.title',
80
- icon: 'fa-light fa-briefcase',
81
- },
82
- businessUnitType: {
83
- name: 'BusinessUnitType',
84
- source: `${config.module}.BusinessUnitType`,
85
- title: '@organization-management:business-unit-types.entities.business-unit-type.title',
86
- icon: 'fa-light fa-tag',
87
- },
88
- businessUnit: {
89
- name: 'BusinessUnit',
90
- source: `${config.module}.BusinessUnit`,
91
- title: '@organization-management:business-units.entities.business-unit.title',
92
- icon: 'fa-light fa-sitemap',
93
- },
94
- structure: {
95
- name: 'ChartStructure',
96
- source: `${config.module}.ChartStructure`,
97
- title: '@organization-management:chart-configuration.components.chart-configuration.title',
98
- menu: {
99
- title: '@organization-management:chart-configuration.menus.chart-configuration.title',
100
- },
101
- icon: 'fa-light fa-gear',
102
- },
103
- chart: {
104
- name: 'Chart',
105
- source: `${config.module}.Chart`,
106
- title: '@organization-management:organization-chart.components.chart.title',
107
- menu: {
108
- title: '@organization-management:organization-chart.menus.chart.title',
109
- },
110
- icon: 'fa-light fa-chart-diagram',
111
- },
112
- },
113
- };
114
-
115
- class AXMOrganizationManagementChartEntityService extends AXMEntityCrudServiceImpl {
116
- }
117
- class AXMOrganizationManagementChartEntityServiceImpl extends AXMOrganizationManagementChartEntityService {
118
- constructor() {
119
- super(`${RootConfig.module.name}.${RootConfig.entities.chart.name}`);
120
- }
121
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementChartEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
122
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementChartEntityServiceImpl }); }
123
- }
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementChartEntityServiceImpl, decorators: [{
125
- type: Injectable
126
- }], ctorParameters: () => [] });
127
-
128
- class AXMOrganizationManagementChartEntityModule {
129
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementChartEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
130
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementChartEntityModule }); }
131
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementChartEntityModule, providers: [
132
- {
133
- provide: AXMOrganizationManagementChartEntityService,
134
- useClass: AXMOrganizationManagementChartEntityServiceImpl,
135
- },
136
- ] }); }
137
- }
138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementChartEntityModule, decorators: [{
139
- type: NgModule,
140
- args: [{
141
- imports: [],
142
- exports: [],
143
- declarations: [],
144
- providers: [
145
- {
146
- provide: AXMOrganizationManagementChartEntityService,
147
- useClass: AXMOrganizationManagementChartEntityServiceImpl,
148
- },
149
- ],
150
- }]
151
- }] });
152
-
153
- class AXMOrganizationManagementPositionEntityService extends AXMEntityCrudServiceImpl {
154
- }
155
- class AXMOrganizationManagementPositionEntityServiceImpl extends AXMOrganizationManagementPositionEntityService {
156
- constructor() {
157
- super(`${RootConfig.module.name}.${RootConfig.entities.position.name}`);
158
- }
159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementPositionEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
160
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementPositionEntityServiceImpl }); }
161
- }
162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementPositionEntityServiceImpl, decorators: [{
163
- type: Injectable
164
- }], ctorParameters: () => [] });
165
-
166
- class AXMOrganizationManagementPositionEntityModule {
167
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementPositionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
168
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementPositionEntityModule }); }
169
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementPositionEntityModule, providers: [
170
- {
171
- provide: AXMOrganizationManagementPositionEntityService,
172
- useClass: AXMOrganizationManagementPositionEntityServiceImpl,
173
- },
174
- ] }); }
175
- }
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementPositionEntityModule, decorators: [{
177
- type: NgModule,
178
- args: [{
179
- imports: [],
180
- exports: [],
181
- declarations: [],
182
- providers: [
183
- {
184
- provide: AXMOrganizationManagementPositionEntityService,
185
- useClass: AXMOrganizationManagementPositionEntityServiceImpl,
186
- },
187
- ],
188
- }]
189
- }] });
190
-
191
- class AXMOrganizationManagementJobDefinitionEntityService extends AXMEntityCrudServiceImpl {
192
- }
193
- class AXMOrganizationManagementJobDefinitionEntityServiceImpl extends AXMOrganizationManagementJobDefinitionEntityService {
194
- constructor() {
195
- super(`${RootConfig.module.name}.${RootConfig.entities.jobDefinition.name}`);
196
- }
197
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobDefinitionEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
198
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobDefinitionEntityServiceImpl }); }
199
- }
200
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobDefinitionEntityServiceImpl, decorators: [{
201
- type: Injectable
202
- }], ctorParameters: () => [] });
203
-
204
- class AXMOrganizationManagementJobDefinitionEntityModule {
205
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobDefinitionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
206
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobDefinitionEntityModule }); }
207
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobDefinitionEntityModule, providers: [
208
- {
209
- provide: AXMOrganizationManagementJobDefinitionEntityService,
210
- useClass: AXMOrganizationManagementJobDefinitionEntityServiceImpl,
211
- },
212
- ] }); }
213
- }
214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobDefinitionEntityModule, decorators: [{
215
- type: NgModule,
216
- args: [{
217
- imports: [],
218
- exports: [],
219
- declarations: [],
220
- providers: [
221
- {
222
- provide: AXMOrganizationManagementJobDefinitionEntityService,
223
- useClass: AXMOrganizationManagementJobDefinitionEntityServiceImpl,
224
- },
225
- ],
226
- }]
227
- }] });
228
-
229
- class AXMOrganizationManagementTeamEntityService extends AXMEntityCrudServiceImpl {
230
- }
231
- class AXMOrganizationManagementTeamEntityServiceImpl extends AXMOrganizationManagementTeamEntityService {
232
- constructor() {
233
- super(`${RootConfig.module.name}.${RootConfig.entities.team.name}`);
234
- }
235
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementTeamEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
236
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementTeamEntityServiceImpl }); }
237
- }
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementTeamEntityServiceImpl, decorators: [{
239
- type: Injectable
240
- }], ctorParameters: () => [] });
241
-
242
- class AXMOrganizationManagementTeamEntityModule {
243
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementTeamEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
244
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementTeamEntityModule }); }
245
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementTeamEntityModule, providers: [
246
- {
247
- provide: AXMOrganizationManagementTeamEntityService,
248
- useClass: AXMOrganizationManagementTeamEntityServiceImpl,
249
- },
250
- ] }); }
251
- }
252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementTeamEntityModule, decorators: [{
253
- type: NgModule,
254
- args: [{
255
- imports: [],
256
- exports: [],
257
- declarations: [],
258
- providers: [
259
- {
260
- provide: AXMOrganizationManagementTeamEntityService,
261
- useClass: AXMOrganizationManagementTeamEntityServiceImpl,
262
- },
263
- ],
264
- }]
265
- }] });
266
-
267
- class AXMOrganizationManagementBusinessUnitEntityService extends AXMEntityCrudServiceImpl {
268
- }
269
- class AXMOrganizationManagementBusinessUnitEntityServiceImpl extends AXMOrganizationManagementBusinessUnitEntityService {
270
- constructor() {
271
- super(`${RootConfig.module.name}.${RootConfig.entities.businessUnit.name}`);
272
- }
273
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementBusinessUnitEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
274
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementBusinessUnitEntityServiceImpl }); }
275
- }
276
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementBusinessUnitEntityServiceImpl, decorators: [{
277
- type: Injectable
278
- }], ctorParameters: () => [] });
279
-
280
- class AXMOrganizationManagementBusinessUnitEntityModule {
281
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementBusinessUnitEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
282
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementBusinessUnitEntityModule }); }
283
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementBusinessUnitEntityModule, providers: [
284
- {
285
- provide: AXMOrganizationManagementBusinessUnitEntityService,
286
- useClass: AXMOrganizationManagementBusinessUnitEntityServiceImpl,
287
- },
288
- ] }); }
289
- }
290
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementBusinessUnitEntityModule, decorators: [{
291
- type: NgModule,
292
- args: [{
293
- providers: [
294
- {
295
- provide: AXMOrganizationManagementBusinessUnitEntityService,
296
- useClass: AXMOrganizationManagementBusinessUnitEntityServiceImpl,
297
- },
298
- ],
299
- }]
300
- }] });
301
-
302
- class AXMOrganizationManagementResponsibilityLevelEntityService extends AXMEntityCrudServiceImpl {
303
- }
304
- class AXMOrganizationManagementResponsibilityLevelEntityServiceImpl extends AXMOrganizationManagementResponsibilityLevelEntityService {
305
- constructor() {
306
- super(`${RootConfig.module.name}.${RootConfig.entities.responsibilityLevel.name}`);
307
- }
308
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementResponsibilityLevelEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
309
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementResponsibilityLevelEntityServiceImpl }); }
310
- }
311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementResponsibilityLevelEntityServiceImpl, decorators: [{
312
- type: Injectable
313
- }], ctorParameters: () => [] });
314
-
315
- class AXMOrganizationManagementResponsibilityLevelEntityModule {
316
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementResponsibilityLevelEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
317
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementResponsibilityLevelEntityModule, imports: [CommonModule] }); }
318
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementResponsibilityLevelEntityModule, providers: [
319
- {
320
- provide: AXMOrganizationManagementResponsibilityLevelEntityService,
321
- useClass: AXMOrganizationManagementResponsibilityLevelEntityServiceImpl,
322
- },
323
- ], imports: [CommonModule] }); }
324
- }
325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementResponsibilityLevelEntityModule, decorators: [{
326
- type: NgModule,
327
- args: [{
328
- declarations: [],
329
- imports: [CommonModule],
330
- exports: [],
331
- providers: [
332
- {
333
- provide: AXMOrganizationManagementResponsibilityLevelEntityService,
334
- useClass: AXMOrganizationManagementResponsibilityLevelEntityServiceImpl,
335
- },
336
- ],
337
- }]
338
- }] });
339
-
340
- class AXMOrganizationManagementJobLevelEntityService extends AXMEntityCrudServiceImpl {
341
- }
342
- class AXMOrganizationManagementJobLevelEntityServiceImpl extends AXMOrganizationManagementJobLevelEntityService {
343
- constructor() {
344
- super(`${RootConfig.module.name}.${RootConfig.entities.jobLevel.name}`);
345
- }
346
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobLevelEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
347
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobLevelEntityServiceImpl }); }
348
- }
349
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobLevelEntityServiceImpl, decorators: [{
350
- type: Injectable
351
- }], ctorParameters: () => [] });
352
-
353
- class AXMOrganizationManagementJobLevelEntityModule {
354
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobLevelEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
355
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobLevelEntityModule, imports: [CommonModule] }); }
356
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobLevelEntityModule, providers: [
357
- {
358
- provide: AXMOrganizationManagementJobLevelEntityService,
359
- useClass: AXMOrganizationManagementJobLevelEntityServiceImpl,
360
- },
361
- ], imports: [CommonModule] }); }
362
- }
363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementJobLevelEntityModule, decorators: [{
364
- type: NgModule,
365
- args: [{
366
- declarations: [],
367
- imports: [CommonModule],
368
- exports: [],
369
- providers: [
370
- {
371
- provide: AXMOrganizationManagementJobLevelEntityService,
372
- useClass: AXMOrganizationManagementJobLevelEntityServiceImpl,
373
- },
374
- ],
375
- }]
376
- }] });
377
-
378
- /**
379
- * Chart nodes use {@link AXPMultiLanguageString} for every user-visible string on the card
380
- * (`title`, `subtitle`, `description`) so stored chart JSON and the UI respect locale.
381
- *
382
- * - Prefer **locale maps** `{ 'en-US': '…', 'fa-IR': '…' }` (see `createMultiLanguageString` in platform core).
383
- * - A **plain string** is allowed as a narrow fallback; the resolver treats it as the value for any locale.
384
- * - **`metadata`** fields that are shown in templates must also be `AXPMultiLanguageString` (or plain string
385
- * with the same rules), not English-only literals baked into the feature code.
386
- */
387
- var AXMOrgChartNodeType;
388
- (function (AXMOrgChartNodeType) {
389
- AXMOrgChartNodeType["Company"] = "Company";
390
- AXMOrgChartNodeType["BusinessUnit"] = "BusinessUnit";
391
- AXMOrgChartNodeType["Position"] = "Position";
392
- AXMOrgChartNodeType["Employee"] = "Employee";
393
- })(AXMOrgChartNodeType || (AXMOrgChartNodeType = {}));
394
- // Minimal high-level categories for rendering/legend only
395
- var AXMOrgChartCategory;
396
- (function (AXMOrgChartCategory) {
397
- AXMOrgChartCategory["Company"] = "Company";
398
- AXMOrgChartCategory["BusinessUnit"] = "BusinessUnit";
399
- AXMOrgChartCategory["Position"] = "Position";
400
- AXMOrgChartCategory["Employee"] = "Employee";
401
- })(AXMOrgChartCategory || (AXMOrgChartCategory = {}));
402
-
403
- //#region ---- Imports ----
404
- //#endregion
405
- //#region ---- Manifest Definition ----
406
- /**
407
- * Organization Management Module Manifest.
408
- * Defines module metadata, features, and provider references.
409
- */
410
- const OrganizationManagementManifest = {
411
- name: RootConfig.module.name,
412
- version: '1.0.0',
413
- title: RootConfig.module.title,
414
- icon: RootConfig.module.icon,
415
- i18n: RootConfig.config.i18n,
416
- // Module dependencies
417
- dependencies: ['LearningManagement'],
418
- };
419
- //#endregion
420
-
421
- const AXPOrganizationManagementPermissionKeys = {
422
- OrganizationManagement: {
423
- Management: 'OrganizationManagement:Permission:OrganizationManagement.Management',
424
- },
425
- // Important Entity - Full CRUD
426
- Team: {
427
- Management: 'OrganizationManagement:Permission:Team.Management',
428
- View: 'OrganizationManagement:Permission:Team.View',
429
- Create: 'OrganizationManagement:Permission:Team.Create',
430
- Update: 'OrganizationManagement:Permission:Team.Update',
431
- Delete: 'OrganizationManagement:Permission:Team.Delete',
432
- },
433
- // Important Entity - Full CRUD
434
- Position: {
435
- Management: 'OrganizationManagement:Permission:Position.Management',
436
- View: 'OrganizationManagement:Permission:Position.View',
437
- Create: 'OrganizationManagement:Permission:Position.Create',
438
- Update: 'OrganizationManagement:Permission:Position.Update',
439
- Delete: 'OrganizationManagement:Permission:Position.Delete',
440
- },
441
- // Important Entity - Full CRUD
442
- JobDefinition: {
443
- Management: 'OrganizationManagement:Permission:JobDefinition.Management',
444
- View: 'OrganizationManagement:Permission:JobDefinition.View',
445
- Create: 'OrganizationManagement:Permission:JobDefinition.Create',
446
- Update: 'OrganizationManagement:Permission:JobDefinition.Update',
447
- Delete: 'OrganizationManagement:Permission:JobDefinition.Delete',
448
- },
449
- // Simple Entity - Management Only
450
- JobLevel: {
451
- Management: 'OrganizationManagement:Permission:JobLevel.Management',
452
- },
453
- // Simple Entity - Management Only
454
- Responsibility: {
455
- Management: 'OrganizationManagement:Permission:Responsibility.Management',
456
- },
457
- // Important Entity - Full CRUD
458
- BusinessUnit: {
459
- Management: 'OrganizationManagement:Permission:BusinessUnit.Management',
460
- View: 'OrganizationManagement:Permission:BusinessUnit.View',
461
- Create: 'OrganizationManagement:Permission:BusinessUnit.Create',
462
- Update: 'OrganizationManagement:Permission:BusinessUnit.Update',
463
- Delete: 'OrganizationManagement:Permission:BusinessUnit.Delete',
464
- },
465
- // Simple Entity - Management Only
466
- BusinessUnitType: {
467
- Management: 'OrganizationManagement:Permission:BusinessUnitType.Management',
468
- },
469
- // Simple Entity - Management Only
470
- Chart: {
471
- Management: 'OrganizationManagement:Permission:Chart.Management',
472
- },
473
- };
474
-
475
- //#endregion
476
- //#region ---- Permission Definition Provider ----
477
- /**
478
- * Permission Definition Provider for Organization Management Module.
479
- * Defines permissions based on aggregate roots following domain-driven design principles.
480
- */
481
- class AXMPermissionDefinitionProvider {
482
- async define(context) {
483
- const keys = AXPOrganizationManagementPermissionKeys;
484
- // I18n path constants for cleaner code
485
- const MODULE_PERMISSIONS = '@organization-management:module.permissions';
486
- const TEAM_PERMISSIONS = '@organization-management:team.permissions';
487
- const POSITION_PERMISSIONS = '@organization-management:position.permissions';
488
- const JOB_DEFINITION_PERMISSIONS = '@organization-management:job-definition.permissions';
489
- const JOB_LEVEL_PERMISSIONS = '@organization-management:job-level.permissions';
490
- const RESPONSIBILITY_PERMISSIONS = '@organization-management:responsibility.permissions';
491
- const BUSINESS_UNIT_PERMISSIONS = '@organization-management:business-unit.permissions';
492
- const BUSINESS_UNIT_TYPE_PERMISSIONS = '@organization-management:business-unit-type.permissions';
493
- const CHART_PERMISSIONS = '@organization-management:chart.permissions';
494
- context
495
- .addGroup(RootConfig.module.name, `${MODULE_PERMISSIONS}.title`, `${MODULE_PERMISSIONS}.description`)
496
- // Aggregate Root: Team (Important Entity - Full CRUD)
497
- .addPermission(keys.Team.Management, `${TEAM_PERMISSIONS}.title`, `${TEAM_PERMISSIONS}.description`)
498
- .addChild(keys.Team.View, `${TEAM_PERMISSIONS}.view.title`, `${TEAM_PERMISSIONS}.view.description`)
499
- .addChild(keys.Team.Create, `${TEAM_PERMISSIONS}.create.title`, `${TEAM_PERMISSIONS}.create.description`)
500
- .addChild(keys.Team.Update, `${TEAM_PERMISSIONS}.edit.title`, `${TEAM_PERMISSIONS}.edit.description`)
501
- .addChild(keys.Team.Delete, `${TEAM_PERMISSIONS}.delete.title`, `${TEAM_PERMISSIONS}.delete.description`)
502
- .endPermission()
503
- // Aggregate Root: Position (Important Entity - Full CRUD)
504
- .addPermission(keys.Position.Management, `${POSITION_PERMISSIONS}.title`, `${POSITION_PERMISSIONS}.description`)
505
- .addChild(keys.Position.View, `${POSITION_PERMISSIONS}.view.title`, `${POSITION_PERMISSIONS}.view.description`)
506
- .addChild(keys.Position.Create, `${POSITION_PERMISSIONS}.create.title`, `${POSITION_PERMISSIONS}.create.description`)
507
- .addChild(keys.Position.Update, `${POSITION_PERMISSIONS}.edit.title`, `${POSITION_PERMISSIONS}.edit.description`)
508
- .addChild(keys.Position.Delete, `${POSITION_PERMISSIONS}.delete.title`, `${POSITION_PERMISSIONS}.delete.description`)
509
- .endPermission()
510
- // Aggregate Root: JobDefinition (Important Entity - Full CRUD)
511
- .addPermission(keys.JobDefinition.Management, `${JOB_DEFINITION_PERMISSIONS}.title`, `${JOB_DEFINITION_PERMISSIONS}.description`)
512
- .addChild(keys.JobDefinition.View, `${JOB_DEFINITION_PERMISSIONS}.view.title`, `${JOB_DEFINITION_PERMISSIONS}.view.description`)
513
- .addChild(keys.JobDefinition.Create, `${JOB_DEFINITION_PERMISSIONS}.create.title`, `${JOB_DEFINITION_PERMISSIONS}.create.description`)
514
- .addChild(keys.JobDefinition.Update, `${JOB_DEFINITION_PERMISSIONS}.edit.title`, `${JOB_DEFINITION_PERMISSIONS}.edit.description`)
515
- .addChild(keys.JobDefinition.Delete, `${JOB_DEFINITION_PERMISSIONS}.delete.title`, `${JOB_DEFINITION_PERMISSIONS}.delete.description`)
516
- .endPermission()
517
- // Aggregate Root: JobLevel (Simple Entity - Management Only)
518
- .addPermission(keys.JobLevel.Management, `${JOB_LEVEL_PERMISSIONS}.title`, `${JOB_LEVEL_PERMISSIONS}.description`)
519
- .endPermission()
520
- // Aggregate Root: Responsibility (Simple Entity - Management Only)
521
- .addPermission(keys.Responsibility.Management, `${RESPONSIBILITY_PERMISSIONS}.title`, `${RESPONSIBILITY_PERMISSIONS}.description`)
522
- .endPermission()
523
- // Aggregate Root: BusinessUnit (Important Entity - Full CRUD)
524
- .addPermission(keys.BusinessUnit.Management, `${BUSINESS_UNIT_PERMISSIONS}.title`, `${BUSINESS_UNIT_PERMISSIONS}.description`)
525
- .addChild(keys.BusinessUnit.View, `${BUSINESS_UNIT_PERMISSIONS}.view.title`, `${BUSINESS_UNIT_PERMISSIONS}.view.description`)
526
- .addChild(keys.BusinessUnit.Create, `${BUSINESS_UNIT_PERMISSIONS}.create.title`, `${BUSINESS_UNIT_PERMISSIONS}.create.description`)
527
- .addChild(keys.BusinessUnit.Update, `${BUSINESS_UNIT_PERMISSIONS}.edit.title`, `${BUSINESS_UNIT_PERMISSIONS}.edit.description`)
528
- .addChild(keys.BusinessUnit.Delete, `${BUSINESS_UNIT_PERMISSIONS}.delete.title`, `${BUSINESS_UNIT_PERMISSIONS}.delete.description`)
529
- .endPermission()
530
- // Aggregate Root: BusinessUnitType (Simple Entity - Management Only)
531
- .addPermission(keys.BusinessUnitType.Management, `${BUSINESS_UNIT_TYPE_PERMISSIONS}.title`, `${BUSINESS_UNIT_TYPE_PERMISSIONS}.description`)
532
- .endPermission()
533
- // Aggregate Root: Chart (Simple Entity - Management Only)
534
- .addPermission(keys.Chart.Management, `${CHART_PERMISSIONS}.title`, `${CHART_PERMISSIONS}.description`)
535
- .endPermission()
536
- .endGroup();
537
- }
538
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMPermissionDefinitionProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
539
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMPermissionDefinitionProvider }); }
540
- }
541
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMPermissionDefinitionProvider, decorators: [{
542
- type: Injectable
543
- }] });
544
-
545
- const AXPOrganizationManagementMenuKeys = {
546
- Root: 'OrganizationManagement:Menu',
547
- ConfigurationRoot: 'OrganizationManagement:Menu:Configuration',
548
- Teams: 'OrganizationManagement:Menu:Teams',
549
- TeamMemberRoles: 'OrganizationManagement:Menu:TeamMemberRoles',
550
- Positions: 'OrganizationManagement:Menu:Positions',
551
- JobDefinitions: 'OrganizationManagement:Menu:JobDefinitions',
552
- JobLevels: 'OrganizationManagement:Menu:JobLevels',
553
- Responsibilities: 'OrganizationManagement:Menu:Responsibilities',
554
- ResponsibilityLevels: 'OrganizationManagement:Menu:ResponsibilityLevels',
555
- Divider1: 'OrganizationManagement:Menu:Divider1',
556
- BusinessUnits: 'OrganizationManagement:Menu:BusinessUnits',
557
- BusinessUnitTypes: 'OrganizationManagement:Menu:BusinessUnitTypes',
558
- Divider2: 'OrganizationManagement:Menu:Divider2',
559
- OrganizationChart: 'OrganizationManagement:Menu:OrganizationChart',
560
- };
561
-
562
- //#region ---- Imports ----
563
- //#endregion
564
- //#region ---- Menu Provider ----
565
- /**
566
- * Organization Management Module Menu Provider.
567
- * Provides menu structure for the Organization Management module.
568
- * - Root "Organization": Teams, Positions, Business Units, Organization Chart (operational)
569
- * - Configuration/Organization: Job Definitions, Job Levels, Responsibilities, etc. (reference data)
570
- */
571
- class AXMMenuProvider {
572
- constructor() {
573
- //#region ---- Services & Dependencies ----
574
- this.entityService = inject(AXPEntityService);
575
- this.sessionService = inject(AXPSessionService);
576
- //#endregion
577
- }
578
- //#endregion
579
- //#region ---- Public Methods ----
580
- async provide(context) {
581
- const module = RootConfig.module;
582
- const organizationMenu = context.find(AXPCommonMenuKeys.Organization);
583
- if (!organizationMenu.exists) {
584
- // Root "Organization" - operational (Teams, Positions, Business Units, Chart + Employees, Leave from HCM)
585
- context.addItems([
586
- {
587
- name: AXPCommonMenuKeys.Organization,
588
- priority: 9000,
589
- text: '@organization-management:module.menus.root.title',
590
- icon: module.icon,
591
- children: [
592
- {
593
- name: AXPOrganizationManagementMenuKeys.Teams,
594
- text: '@organization-management:teams.menus.teams.title',
595
- path: this.entityService.createPath(module.name, RootConfig.entities.team.name),
596
- priority: 10,
597
- icon: RootConfig.entities.team.icon,
598
- policy: {
599
- features: [module.name],
600
- permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
601
- },
602
- },
603
- {
604
- name: AXPOrganizationManagementMenuKeys.Positions,
605
- text: '@organization-management:positions.menus.positions.title',
606
- path: this.entityService.createPath(module.name, RootConfig.entities.position.name),
607
- priority: 15,
608
- icon: RootConfig.entities.position.icon,
609
- policy: {
610
- features: [module.name],
611
- permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
612
- },
613
- },
614
- {
615
- name: AXPOrganizationManagementMenuKeys.BusinessUnits,
616
- text: '@organization-management:business-units.menus.business-units.title',
617
- path: this.entityService.createPath(module.name, RootConfig.entities.businessUnit.name),
618
- priority: 35,
619
- icon: RootConfig.entities.businessUnit.icon,
620
- policy: {
621
- features: [module.name],
622
- permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
623
- },
624
- },
625
- {
626
- name: AXPOrganizationManagementMenuKeys.OrganizationChart,
627
- text: '@organization-management:organization-chart.menus.chart.title',
628
- path: `${this.sessionService.application?.name}/organization/chart`,
629
- priority: 50,
630
- icon: RootConfig.entities.chart.icon,
631
- policy: {
632
- features: [module.name],
633
- permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
634
- },
635
- },
636
- { name: `${AXPOrganizationManagementMenuKeys.Root}:divider1`, text: '', type: 'break', priority: 55 },
637
- ],
638
- },
639
- ]);
640
- }
641
- // Configuration/Organization - reference data (Job Definitions, Employment Types, etc.)
642
- const orgConfigMenu = context.find(AXPCommonMenuKeys.OrganizationConfig);
643
- if (!orgConfigMenu.exists) {
644
- context.find(AXPCommonMenuKeys.Configuration).addItems([
645
- {
646
- name: AXPCommonMenuKeys.OrganizationConfig,
647
- priority: 8600,
648
- text: '@organization-management:module.menus.configuration.title',
649
- icon: module.icon,
650
- type: 'menu',
651
- children: [],
652
- },
653
- ]);
654
- }
655
- // Add org config items
656
- context.find(AXPCommonMenuKeys.OrganizationConfig).addItems([
657
- {
658
- name: AXPOrganizationManagementMenuKeys.TeamMemberRoles,
659
- text: '@organization-management:team-member-roles.menus.team-member-roles.title',
660
- path: this.entityService.createPath(module.name, RootConfig.entities.teamMemberRole.name),
661
- priority: 1,
662
- icon: RootConfig.entities.teamMemberRole.icon,
663
- policy: {
664
- features: [module.name],
665
- permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
666
- },
667
- },
668
- {
669
- name: AXPOrganizationManagementMenuKeys.JobDefinitions,
670
- text: '@organization-management:job-definitions.menus.job-definitions.title',
671
- path: this.entityService.createPath(module.name, RootConfig.entities.jobDefinition.name),
672
- priority: 2,
673
- icon: RootConfig.entities.jobDefinition.icon,
674
- policy: {
675
- features: [module.name],
676
- permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
677
- },
678
- },
679
- {
680
- name: AXPOrganizationManagementMenuKeys.JobLevels,
681
- text: '@organization-management:job-levels.menus.job-levels.title',
682
- path: this.entityService.createPath(module.name, RootConfig.entities.jobLevel.name),
683
- priority: 3,
684
- icon: RootConfig.entities.jobLevel.icon,
685
- policy: {
686
- features: [module.name],
687
- permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
688
- },
689
- },
690
- {
691
- name: AXPOrganizationManagementMenuKeys.Responsibilities,
692
- text: '@organization-management:responsibilities.menus.responsibilities.title',
693
- path: this.entityService.createPath(module.name, RootConfig.entities.responsibility.name),
694
- priority: 4,
695
- icon: RootConfig.entities.responsibility.icon,
696
- policy: {
697
- features: [module.name],
698
- permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
699
- },
700
- },
701
- {
702
- name: AXPOrganizationManagementMenuKeys.ResponsibilityLevels,
703
- text: '@organization-management:responsibility-levels.menus.responsibility-levels.title',
704
- path: this.entityService.createPath(module.name, RootConfig.entities.responsibilityLevel.name),
705
- priority: 5,
706
- icon: RootConfig.entities.responsibilityLevel.icon,
707
- policy: {
708
- features: [module.name],
709
- permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
710
- },
711
- },
712
- {
713
- name: AXPOrganizationManagementMenuKeys.BusinessUnitTypes,
714
- text: '@organization-management:business-unit-types.menus.business-unit-types.title',
715
- path: this.entityService.createPath(module.name, RootConfig.entities.businessUnitType.name),
716
- priority: 6,
717
- icon: RootConfig.entities.businessUnitType.icon,
718
- policy: {
719
- features: [module.name],
720
- permissions: [AXPOrganizationManagementPermissionKeys.OrganizationManagement.Management],
721
- },
722
- },
723
- { name: `${AXPOrganizationManagementMenuKeys.Root}:staff-divider`, text: '', type: 'break', priority: 7 },
724
- ]);
725
- }
726
- }
727
- //#endregion
728
-
729
- class AXMOrganizationModuleEntityProvider {
730
- constructor() {
731
- this.injector = inject(Injector);
732
- }
733
- preload() {
734
- const module = RootConfig.module.name;
735
- return Array.from(Object.values(RootConfig.entities)).map((entity) => ({
736
- module: module,
737
- entity: entity.name,
738
- }));
739
- }
740
- async get(moduleName, entityName) {
741
- if (moduleName == RootConfig.module.name) {
742
- switch (entityName) {
743
- case RootConfig.entities.company.name:
744
- return (await import('./acorex-modules-organization-management-company.entity-BohMJQNi.mjs')).factory(this.injector);
745
- case RootConfig.entities.businessUnitType.name:
746
- return (await import('./acorex-modules-organization-management-business-unit-type.entity-C-EKX6Oy.mjs')).factory(this.injector);
747
- case RootConfig.entities.businessUnit.name:
748
- return (await Promise.resolve().then(function () { return businessUnit_entity; })).factory(this.injector);
749
- case RootConfig.entities.position.name:
750
- return (await import('./acorex-modules-organization-management-position.entity-DLPufeWz.mjs')).factory(this.injector);
751
- case RootConfig.entities.chart.name:
752
- return (await import('./acorex-modules-organization-management-chart.entity-bRxA8XHZ.mjs')).factory(this.injector);
753
- case RootConfig.entities.team.name:
754
- return (await import('./acorex-modules-organization-management-team.entity-CGR0UlYl.mjs')).factory(this.injector);
755
- case RootConfig.entities.teamMemberRole.name:
756
- return (await import('./acorex-modules-organization-management-team-member-role.entity-CZ4MibH4.mjs')).factory(this.injector);
757
- case RootConfig.entities.teamMember.name:
758
- return (await import('./acorex-modules-organization-management-team-member.entity-8sTjn5Jn.mjs')).factory(this.injector);
759
- case RootConfig.entities.jobDefinition.name:
760
- return (await import('./acorex-modules-organization-management-job-definition.entity-S9Jlmr-o.mjs')).factory(this.injector);
761
- case RootConfig.entities.responsibility.name:
762
- return (await import('./acorex-modules-organization-management-responsibility.entity-CMmr3wJa.mjs')).factory(this.injector);
763
- case RootConfig.entities.responsibilityLevel.name:
764
- return (await Promise.resolve().then(function () { return responsibilityLevel_entity; })).factory(this.injector);
765
- case RootConfig.entities.jobLevel.name:
766
- return (await Promise.resolve().then(function () { return jobLevel_entity; })).factory(this.injector);
767
- }
768
- }
769
- return null;
770
- }
771
- async list() {
772
- const m = RootConfig.module.name;
773
- return Promise.resolve(Object.values(RootConfig.entities).map((e) => ({ name: e.name, module: m })));
774
- }
775
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationModuleEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
776
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationModuleEntityProvider }); }
777
- }
778
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationModuleEntityProvider, decorators: [{
779
- type: Injectable
780
- }] });
781
-
782
- //#region ---- Imports ----
783
- //#endregion
784
- //#region ---- Feature Definition Provider ----
785
- /**
786
- * Organization Management Module Feature Definition Provider.
787
- * Provides feature definitions for the Organization Management module.
788
- */
789
- class AXPOrganizationManagementFeatureDefinitionProvider {
790
- async provide(context) {
791
- const i18n = RootConfig.config.i18n;
792
- // Management feature removed - module name is used directly as feature key
793
- }
794
- }
795
- //#endregion
796
-
797
- async function factory$2(injector) {
798
- const entityDef = {
799
- module: RootConfig.module.name,
800
- name: RootConfig.entities.jobLevel.name,
801
- plugins: [
802
- { name: 'history' },
803
- { name: 'lock' },
804
- { name: 'compare' },
805
- ],
806
- title: RootConfig.entities.jobLevel.title,
807
- icon: RootConfig.entities.jobLevel.icon,
808
- formats: {
809
- individual: '@organization-management:job-levels.entities.job-level.title',
810
- plural: '@organization-management:job-levels.entities.job-level.plural',
811
- searchResult: {
812
- title: '{{ title }}',
813
- description: RootConfig.module.title,
814
- },
815
- },
816
- relatedEntities: [],
817
- groups: [
818
- {
819
- id: 'basic-info',
820
- title: `@general:terms.interface.basic-info`,
821
- },
822
- ],
823
- properties: [
824
- {
825
- name: 'id',
826
- title: 'ID',
827
- schema: {
828
- dataType: 'uuid',
829
- visible: false,
830
- nullable: false,
831
- readonly: true,
832
- unique: {
833
- enabled: true,
834
- },
835
- },
836
- },
837
- {
838
- name: 'title',
839
- title: `@general:terms.common.title`,
840
- groupId: 'basic-info',
841
- options: {
842
- sort: {
843
- enabled: true,
844
- },
845
- filter: {
846
- advance: {
847
- enabled: true,
848
- },
849
- inline: {
850
- enabled: true,
851
- },
852
- },
853
- },
854
- schema: {
855
- dataType: 'string',
856
- interface: {
857
- type: AXPWidgetsCatalog.text,
858
- options: { multiLanguage: true },
859
- },
860
- },
861
- validations: [
862
- {
863
- rule: 'required',
864
- },
865
- ],
866
- },
867
- {
868
- name: 'description',
869
- title: `@general:terms.common.description`,
870
- groupId: 'basic-info',
871
- schema: {
872
- dataType: 'string',
873
- interface: {
874
- type: AXPWidgetsCatalog.largeText,
875
- options: { multiLanguage: true },
876
- },
877
- },
878
- },
879
- {
880
- name: 'level',
881
- title: '@organization-management:job-levels.entities.job-level.fields.level.title',
882
- groupId: 'basic-info',
883
- options: {
884
- sort: {
885
- enabled: true,
886
- },
887
- filter: {
888
- advance: {
889
- enabled: true,
890
- },
891
- inline: {
892
- enabled: true,
893
- },
894
- },
895
- },
896
- schema: {
897
- dataType: 'number',
898
- interface: {
899
- type: AXPWidgetsList.Editors.NumberBox,
900
- options: {
901
- minValue: 0,
902
- },
903
- },
904
- },
905
- },
906
- ],
907
- columns: [{ name: 'title' }, { name: 'description' }, { name: 'level' }],
908
- interfaces: {
909
- master: {
910
- create: {
911
- sections: [
912
- {
913
- id: 'basic-info',
914
- },
915
- ],
916
- properties: [
917
- {
918
- name: 'title',
919
- layout: {
920
- positions: {
921
- lg: {
922
- colSpan: 12,
923
- order: 1,
924
- },
925
- },
926
- },
927
- },
928
- {
929
- name: 'level',
930
- layout: {
931
- positions: {
932
- lg: {
933
- colSpan: 6,
934
- order: 2,
935
- },
936
- },
937
- },
938
- },
939
- {
940
- name: 'description',
941
- layout: {
942
- positions: {
943
- lg: {
944
- colSpan: 12,
945
- order: 3,
946
- },
947
- },
948
- },
949
- },
950
- ],
951
- },
952
- update: {
953
- sections: [
954
- {
955
- id: 'basic-info',
956
- },
957
- ],
958
- properties: [
959
- {
960
- name: 'title',
961
- layout: {
962
- positions: {
963
- lg: {
964
- colSpan: 12,
965
- order: 1,
966
- },
967
- },
968
- },
969
- },
970
- {
971
- name: 'level',
972
- layout: {
973
- positions: {
974
- lg: {
975
- colSpan: 6,
976
- order: 2,
977
- },
978
- },
979
- },
980
- },
981
- {
982
- name: 'description',
983
- layout: {
984
- positions: {
985
- lg: {
986
- colSpan: 12,
987
- order: 3,
988
- },
989
- },
990
- },
991
- },
992
- ],
993
- },
994
- single: {
995
- title: '{{title}}',
996
- sections: [
997
- {
998
- id: 'basic-info',
999
- layout: {
1000
- positions: {
1001
- lg: {
1002
- colSpan: 12,
1003
- },
1004
- },
1005
- },
1006
- },
1007
- ],
1008
- properties: [
1009
- {
1010
- name: 'title',
1011
- layout: {
1012
- positions: {
1013
- lg: {
1014
- colSpan: 12,
1015
- order: 1,
1016
- },
1017
- },
1018
- },
1019
- },
1020
- {
1021
- name: 'level',
1022
- layout: {
1023
- positions: {
1024
- lg: {
1025
- colSpan: 6,
1026
- order: 2,
1027
- },
1028
- },
1029
- },
1030
- },
1031
- {
1032
- name: 'description',
1033
- layout: {
1034
- positions: {
1035
- lg: {
1036
- colSpan: 12,
1037
- order: 3,
1038
- },
1039
- },
1040
- },
1041
- },
1042
- ],
1043
- actions: [
1044
- entityMasterDeleteAction()
1045
- ],
1046
- },
1047
- list: {
1048
- actions: [
1049
- ...entityMasterCrudActions()
1050
- ],
1051
- views: [
1052
- createAllQueryView({
1053
- sorts: [{ name: 'level', dir: 'asc' }],
1054
- }),
1055
- ],
1056
- },
1057
- },
1058
- },
1059
- };
1060
- return entityDef;
1061
- }
1062
-
1063
- var jobLevel_entity = /*#__PURE__*/Object.freeze({
1064
- __proto__: null,
1065
- factory: factory$2
1066
- });
1067
-
1068
- //#region ---- Imports ----
1069
- //#endregion
1070
- //#region ---- Entity Factory ----
1071
- async function factory$1(injector) {
1072
- const entityDef = {
1073
- module: RootConfig.module.name,
1074
- name: RootConfig.entities.responsibilityLevel.name,
1075
- title: RootConfig.entities.responsibilityLevel.title,
1076
- icon: RootConfig.entities.responsibilityLevel.icon,
1077
- plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }],
1078
- formats: {
1079
- individual: RootConfig.entities.responsibilityLevel.title,
1080
- plural: RootConfig.entities.responsibilityLevel.titlePlural,
1081
- searchResult: {
1082
- title: '{{ title }}',
1083
- description: '{{ level }}',
1084
- },
1085
- },
1086
- groups: [{ id: 'basic-info', title: '@organization-management:responsibility-levels.entities.responsibility-level.groups.basic-info' }],
1087
- properties: [
1088
- {
1089
- name: 'id',
1090
- title: 'ID',
1091
- groupId: 'basic-info',
1092
- schema: {
1093
- dataType: 'uuid',
1094
- visible: false,
1095
- nullable: false,
1096
- readonly: true,
1097
- unique: { enabled: true },
1098
- },
1099
- },
1100
- {
1101
- name: 'title',
1102
- title: '@general:terms.common.title',
1103
- groupId: 'basic-info',
1104
- options: {
1105
- sort: { enabled: true },
1106
- filter: { advance: { enabled: true }, inline: { enabled: true } },
1107
- },
1108
- schema: {
1109
- dataType: 'string',
1110
- interface: {
1111
- type: AXPWidgetsList.Editors.TextBox,
1112
- options: { multiLanguage: true },
1113
- },
1114
- },
1115
- validations: [{ rule: 'required' }],
1116
- },
1117
- {
1118
- name: 'level',
1119
- title: '@organization-management:responsibility-levels.entities.responsibility-level.fields.level.title',
1120
- groupId: 'basic-info',
1121
- options: {
1122
- sort: { enabled: true },
1123
- filter: { advance: { enabled: true }, inline: { enabled: true } },
1124
- },
1125
- schema: {
1126
- dataType: 'number',
1127
- interface: {
1128
- type: AXPWidgetsList.Editors.NumberBox,
1129
- options: {
1130
- minValue: 1,
1131
- placeholder: '@organization-management:responsibility-levels.entities.responsibility-level.fields.level.placeholder',
1132
- },
1133
- },
1134
- },
1135
- validations: [{ rule: 'required' }],
1136
- },
1137
- {
1138
- name: 'description',
1139
- title: '@organization-management:responsibility-levels.entities.responsibility-level.fields.description.title',
1140
- groupId: 'basic-info',
1141
- options: {
1142
- sort: { enabled: false },
1143
- filter: { advance: { enabled: true }, inline: { enabled: false } },
1144
- },
1145
- schema: {
1146
- dataType: 'string',
1147
- interface: {
1148
- type: AXPWidgetsList.Editors.LargeTextBox,
1149
- options: {
1150
- rows: 3,
1151
- multiLanguage: true,
1152
- placeholder: '@organization-management:responsibility-levels.entities.responsibility-level.fields.description.placeholder',
1153
- },
1154
- },
1155
- },
1156
- },
1157
- ],
1158
- columns: [{ name: 'level' }, { name: 'title' }, { name: 'description' }],
1159
- interfaces: {
1160
- master: {
1161
- create: {
1162
- sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
1163
- properties: [
1164
- { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 1 } } } },
1165
- { name: 'level', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },
1166
- { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
1167
- ],
1168
- },
1169
- update: {
1170
- sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
1171
- properties: [
1172
- { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 1 } } } },
1173
- { name: 'level', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },
1174
- { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
1175
- ],
1176
- },
1177
- single: {
1178
- title: '{{ title }}',
1179
- sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
1180
- properties: [
1181
- { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 1 } } } },
1182
- { name: 'level', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },
1183
- { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
1184
- ],
1185
- actions: [...entityMasterRecordActions()],
1186
- },
1187
- list: {
1188
- actions: [...entityMasterCrudActions()],
1189
- views: [createAllQueryView({ sorts: [{ name: 'level', dir: 'asc' }] })],
1190
- },
1191
- },
1192
- },
1193
- };
1194
- return entityDef;
1195
- }
1196
- //#endregion
1197
-
1198
- var responsibilityLevel_entity = /*#__PURE__*/Object.freeze({
1199
- __proto__: null,
1200
- factory: factory$1
1201
- });
1202
-
1203
- async function factory(injector) {
1204
- const i18n = RootConfig.config.i18n;
1205
- const entityName = 'business-unit';
1206
- const entityDef = {
1207
- module: RootConfig.module.name,
1208
- name: RootConfig.entities.businessUnit.name,
1209
- title: '@organization-management:business-units.entities.business-unit.title',
1210
- icon: 'fa-light fa-building-columns',
1211
- parentKey: 'parentId',
1212
- formats: {
1213
- individual: '@organization-management:business-units.entities.business-unit.title',
1214
- plural: '@organization-management:business-units.entities.business-unit.plural',
1215
- searchResult: { title: '{{ title }}', description: RootConfig.module.title },
1216
- },
1217
- groups: [
1218
- { id: 'basic-info', title: '@general:terms.interface.basic-info' },
1219
- {
1220
- id: 'classification',
1221
- title: '@organization-management:business-units.entities.business-unit.groups.classification',
1222
- },
1223
- {
1224
- id: 'positions',
1225
- title: '@organization-management:business-units.entities.business-unit.fields.positions.title',
1226
- },
1227
- ],
1228
- properties: [
1229
- {
1230
- name: 'id',
1231
- title: 'ID',
1232
- groupId: 'basic-info',
1233
- schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
1234
- },
1235
- {
1236
- name: 'title',
1237
- title: '@general:terms.common.title',
1238
- groupId: 'basic-info',
1239
- schema: {
1240
- dataType: 'string',
1241
- interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },
1242
- },
1243
- validations: [{ rule: 'required' }],
1244
- },
1245
- {
1246
- name: 'description',
1247
- title: '@general:terms.common.description',
1248
- groupId: 'basic-info',
1249
- schema: {
1250
- dataType: 'string',
1251
- interface: { type: AXPWidgetsCatalog.largeText, options: { multiLanguage: true } },
1252
- },
1253
- },
1254
- {
1255
- name: 'parentId',
1256
- title: '@general:terms.classification.parent',
1257
- groupId: 'basic-info',
1258
- schema: {
1259
- dataType: 'string',
1260
- interface: {
1261
- type: AXPWidgetsList.Editors.LookupBox,
1262
- options: {
1263
- entity: `${RootConfig.module.name}.BusinessUnit`,
1264
- textField: 'title',
1265
- valueField: 'id',
1266
- look: 'select',
1267
- expose: [
1268
- { source: 'id', target: 'parent.id' },
1269
- { source: 'title', target: 'parent.title' },
1270
- ],
1271
- },
1272
- },
1273
- },
1274
- },
1275
- {
1276
- name: 'typeId',
1277
- title: '@general:terms.common.type',
1278
- groupId: 'classification',
1279
- schema: {
1280
- dataType: 'string',
1281
- interface: {
1282
- type: AXPWidgetsList.Editors.LookupBox,
1283
- options: {
1284
- entity: `${RootConfig.module.name}.BusinessUnitType`,
1285
- textField: 'title',
1286
- valueField: 'id',
1287
- look: 'select',
1288
- expose: [
1289
- { source: 'id', target: 'type.id' },
1290
- { source: 'name', target: 'type.name' },
1291
- { source: 'title', target: 'type.title' },
1292
- { source: 'isLocationBased', target: 'type.isLocationBased' },
1293
- ],
1294
- },
1295
- },
1296
- },
1297
- validations: [{ rule: 'required' }],
1298
- },
1299
- {
1300
- name: 'geographicRegionId',
1301
- title: '@location-management:geographic-regions.entities.geographic-region.title',
1302
- groupId: 'classification',
1303
- schema: {
1304
- dataType: 'string',
1305
- visible: `{{ context.eval('type.isLocationBased') }}`,
1306
- interface: {
1307
- type: AXPWidgetsList.Editors.LookupBox,
1308
- options: {
1309
- entity: `LocationManagement.GeographicRegion`,
1310
- textField: 'title',
1311
- valueField: 'id',
1312
- look: 'lookup',
1313
- hasClearButton: true,
1314
- expose: [
1315
- { source: 'id', target: 'geographicRegion.id' },
1316
- { source: 'title', target: 'geographicRegion.title' },
1317
- ],
1318
- },
1319
- },
1320
- },
1321
- },
1322
- {
1323
- name: 'positionIds',
1324
- title: '@general:terms.organizations.positions',
1325
- groupId: 'positions',
1326
- schema: {
1327
- dataType: 'string',
1328
- interface: {
1329
- type: AXPWidgetsList.Editors.LookupBox,
1330
- options: {
1331
- entity: `${RootConfig.module.name}.${RootConfig.entities.position.name}`,
1332
- textField: 'title',
1333
- valueField: 'id',
1334
- look: 'select',
1335
- multiple: true,
1336
- expose: [
1337
- { source: 'id', target: 'positions.{id}' },
1338
- { source: 'title', target: 'positions.{title}' },
1339
- ],
1340
- },
1341
- },
1342
- },
1343
- },
1344
- {
1345
- name: 'headPositionId',
1346
- title: '@organization-management:business-units.entities.business-unit.fields.head-position.title',
1347
- groupId: 'positions',
1348
- schema: {
1349
- dataType: 'string',
1350
- interface: {
1351
- type: AXPWidgetsList.Editors.LookupBox,
1352
- options: {
1353
- entity: `${RootConfig.module.name}.${RootConfig.entities.position.name}`,
1354
- textField: 'title',
1355
- valueField: 'id',
1356
- look: 'select',
1357
- hasClearButton: true,
1358
- expose: [
1359
- { source: 'id', target: 'headPosition.id' },
1360
- { source: 'title', target: 'headPosition.title' },
1361
- ],
1362
- filter: {
1363
- logic: 'and',
1364
- filters: [
1365
- {
1366
- field: 'id',
1367
- operator: { type: 'in' },
1368
- value: '{{ context.eval("positionIds") }}',
1369
- },
1370
- {
1371
- field: 'isManager',
1372
- operator: { type: 'equal' },
1373
- value: true,
1374
- },
1375
- ],
1376
- },
1377
- },
1378
- triggers: [{ event: "{{ events.context('positionIds') }}", action: `{{ widget.refresh() }}` }],
1379
- },
1380
- },
1381
- },
1382
- ],
1383
- columns: [
1384
- { name: 'title' },
1385
- { name: 'typeId', options: { dataPath: 'type.title' } },
1386
- { name: 'geographicRegionId', options: { dataPath: 'geographicRegion.title' } },
1387
- { name: 'headPositionId', options: { dataPath: 'headPosition.title' } },
1388
- { name: 'positionIds', options: { dataPath: 'positions' } },
1389
- ],
1390
- interfaces: {
1391
- master: {
1392
- create: {
1393
- sections: [{ id: 'basic-info' }, { id: 'classification' }, { id: 'positions' }],
1394
- properties: [
1395
- { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
1396
- { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
1397
- { name: 'parentId', layout: { positions: { lg: { colSpan: 6 } } } },
1398
- { name: 'typeId', layout: { positions: { lg: { colSpan: 6 } } } },
1399
- { name: 'geographicRegionId', layout: { positions: { lg: { colSpan: 6 } } } },
1400
- { name: 'positionIds', layout: { positions: { lg: { colSpan: 12 } } } },
1401
- { name: 'headPositionId', layout: { positions: { lg: { colSpan: 12 } } } },
1402
- ],
1403
- },
1404
- update: {
1405
- sections: [{ id: 'basic-info' }, { id: 'classification' }, { id: 'positions' }],
1406
- properties: [
1407
- { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
1408
- { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
1409
- { name: 'parentId', layout: { positions: { lg: { colSpan: 6 } } } },
1410
- { name: 'typeId', layout: { positions: { lg: { colSpan: 6 } } } },
1411
- { name: 'geographicRegionId', layout: { positions: { lg: { colSpan: 6 } } } },
1412
- { name: 'positionIds', layout: { positions: { lg: { colSpan: 12 } } } },
1413
- { name: 'headPositionId', layout: { positions: { lg: { colSpan: 12 } } } },
1414
- ],
1415
- },
1416
- single: {
1417
- title: '{{title}}',
1418
- sections: [{ id: 'basic-info' }, { id: 'classification' }, { id: 'positions' }],
1419
- properties: [
1420
- { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
1421
- { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
1422
- { name: 'parentId', layout: { positions: { lg: { colSpan: 6 } } } },
1423
- { name: 'typeId', layout: { positions: { lg: { colSpan: 6 } } } },
1424
- { name: 'geographicRegionId', layout: { positions: { lg: { colSpan: 6 } } } },
1425
- { name: 'positionIds', layout: { positions: { lg: { colSpan: 12 } } } },
1426
- { name: 'headPositionId', layout: { positions: { lg: { colSpan: 12 } } } },
1427
- ],
1428
- actions: [...entityMasterRecordActions()],
1429
- },
1430
- list: {
1431
- actions: [...entityMasterCrudActions()],
1432
- views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
1433
- },
1434
- },
1435
- },
1436
- };
1437
- return entityDef;
1438
- }
1439
-
1440
- var businessUnit_entity = /*#__PURE__*/Object.freeze({
1441
- __proto__: null,
1442
- factory: factory
1443
- });
1444
-
1445
- const AXMResponsibilitiesMatrixWidget = {
1446
- name: 'responsibilities-matrix-editor',
1447
- title: 'Responsibilities Matrix',
1448
- categories: AXP_WIDGETS_EDITOR_CATEGORY,
1449
- groups: [AXPWidgetGroupEnum.UtilityWidget],
1450
- description: 'Matrix widget for managing responsibility levels',
1451
- icon: 'fa-light fa-table',
1452
- type: 'editor',
1453
- options: {
1454
- needLabel: false,
1455
- },
1456
- properties: [
1457
- AXP_NAME_PROPERTY,
1458
- AXP_DATA_PATH_PROPERTY,
1459
- AXP_LABEL_PROPERTY,
1460
- AXP_READONLY_PROPERTY,
1461
- AXP_DISABLED_PROPERTY,
1462
- ],
1463
- components: {
1464
- view: {
1465
- component: () => import('./acorex-modules-organization-management-responsibilities-matrix-widget-view.component-CfRBMxLk.mjs').then((c) => c.AXMResponsibilitiesMatrixWidgetViewComponent),
1466
- },
1467
- edit: {
1468
- component: () => import('./acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-mMZywr0X.mjs').then((c) => c.AXMResponsibilitiesMatrixWidgetEditComponent),
1469
- },
1470
- },
1471
- };
1472
-
1473
- //#endregion
1474
- //#region ---- Organization Management Widgets Provider ----
1475
- class AXMOrganizationManagementWidgetsProvider {
1476
- getWidgets() {
1477
- return [AXMResponsibilitiesMatrixWidget];
1478
- }
1479
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementWidgetsProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1480
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementWidgetsProvider }); }
1481
- }
1482
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementWidgetsProvider, decorators: [{
1483
- type: Injectable
1484
- }] });
1485
-
1486
- class AXMDepartmentDataSourceDefinition {
1487
- constructor() {
1488
- this.departmentService = inject(AXMOrganizationManagementBusinessUnitEntityService);
1489
- }
1490
- items() {
1491
- return Promise.resolve([
1492
- {
1493
- name: 'departments',
1494
- title: 'Departments',
1495
- source: () => {
1496
- return new AXDataSource({
1497
- key: 'id',
1498
- load: async (_) => {
1499
- try {
1500
- const res = await this.departmentService.query();
1501
- return {
1502
- items: res.items.map((item) => ({
1503
- ...item,
1504
- })),
1505
- total: res.total,
1506
- };
1507
- }
1508
- catch (e) {
1509
- console.log(e);
1510
- throw e;
1511
- }
1512
- },
1513
- byKey: async (key) => {
1514
- return await this.departmentService.getOne(key);
1515
- },
1516
- pageSize: 100,
1517
- });
1518
- },
1519
- columns: [
1520
- {
1521
- name: 'id',
1522
- title: 'ID',
1523
- datatype: 'uuid',
1524
- type: AXPWidgetsCatalog.text,
1525
- },
1526
- {
1527
- name: 'title',
1528
- title: `Title`,
1529
- datatype: 'string',
1530
- type: AXPWidgetsCatalog.text,
1531
- },
1532
- ],
1533
- filters: [
1534
- {
1535
- field: 'title',
1536
- title: 'Title',
1537
- operator: {
1538
- type: 'equal',
1539
- },
1540
- widget: {
1541
- type: AXPWidgetsCatalog.text,
1542
- },
1543
- filterType: {
1544
- advance: true,
1545
- inline: true,
1546
- },
1547
- },
1548
- ],
1549
- textField: {
1550
- name: 'title',
1551
- title: 'Title',
1552
- },
1553
- valueField: {
1554
- name: 'id',
1555
- title: 'ID',
1556
- },
1557
- },
1558
- ]);
1559
- }
1560
- }
1561
-
1562
- class AXMDivisionDataSourceDefinition {
1563
- constructor() {
1564
- this.divisionService = inject(AXMOrganizationManagementBusinessUnitEntityService);
1565
- }
1566
- items() {
1567
- return Promise.resolve([
1568
- {
1569
- name: 'divisions',
1570
- title: 'Divisions',
1571
- source: () => {
1572
- return new AXDataSource({
1573
- key: 'id',
1574
- load: async (_) => {
1575
- try {
1576
- const res = await this.divisionService.query();
1577
- return {
1578
- items: res.items.map((item) => ({
1579
- ...item,
1580
- })),
1581
- total: res.total,
1582
- };
1583
- }
1584
- catch (e) {
1585
- console.log(e);
1586
- throw e;
1587
- }
1588
- },
1589
- byKey: async (key) => {
1590
- return await this.divisionService.getOne(key);
1591
- },
1592
- pageSize: 100,
1593
- });
1594
- },
1595
- columns: [
1596
- {
1597
- name: 'id',
1598
- title: 'ID',
1599
- datatype: 'uuid',
1600
- type: AXPWidgetsCatalog.text,
1601
- },
1602
- {
1603
- name: 'title',
1604
- title: 'Title',
1605
- datatype: 'string',
1606
- type: AXPWidgetsCatalog.text,
1607
- },
1608
- {
1609
- name: 'description',
1610
- title: 'Description',
1611
- datatype: 'string',
1612
- type: AXPWidgetsCatalog.text,
1613
- },
1614
- ],
1615
- filters: [
1616
- {
1617
- field: 'title',
1618
- title: 'Title',
1619
- operator: {
1620
- type: 'equal',
1621
- },
1622
- widget: {
1623
- type: AXPWidgetsCatalog.text,
1624
- },
1625
- filterType: {
1626
- advance: true,
1627
- inline: true,
1628
- },
1629
- },
1630
- ],
1631
- textField: {
1632
- name: 'title',
1633
- title: 'Title',
1634
- },
1635
- valueField: {
1636
- name: 'id',
1637
- title: 'ID',
1638
- },
1639
- },
1640
- ]);
1641
- }
1642
- }
1643
-
1644
- class AXMJobDefinitionDataSourceDefinition {
1645
- constructor() {
1646
- this.jobDefinitionService = inject(AXMOrganizationManagementJobDefinitionEntityService);
1647
- }
1648
- items() {
1649
- return Promise.resolve([
1650
- {
1651
- name: 'job-definitions',
1652
- title: 'Job Definitions',
1653
- source: () => {
1654
- return new AXDataSource({
1655
- key: 'id',
1656
- load: async (_) => {
1657
- try {
1658
- const res = await this.jobDefinitionService.query();
1659
- return {
1660
- items: res.items.map((item) => ({
1661
- ...item,
1662
- })),
1663
- total: res.total,
1664
- };
1665
- }
1666
- catch (e) {
1667
- console.log(e);
1668
- throw e;
1669
- }
1670
- },
1671
- byKey: async (key) => {
1672
- return await this.jobDefinitionService.getOne(key);
1673
- },
1674
- pageSize: 100,
1675
- });
1676
- },
1677
- columns: [
1678
- {
1679
- name: 'id',
1680
- title: 'ID',
1681
- datatype: 'uuid',
1682
- type: AXPWidgetsCatalog.text,
1683
- },
1684
- {
1685
- name: 'title',
1686
- title: 'Title',
1687
- datatype: 'string',
1688
- type: AXPWidgetsCatalog.text,
1689
- },
1690
- {
1691
- name: 'description',
1692
- title: 'Description',
1693
- datatype: 'string',
1694
- type: AXPWidgetsCatalog.text,
1695
- },
1696
- ],
1697
- filters: [
1698
- {
1699
- field: 'title',
1700
- title: 'Title',
1701
- operator: {
1702
- type: 'equal',
1703
- },
1704
- widget: {
1705
- type: AXPWidgetsCatalog.text,
1706
- },
1707
- filterType: {
1708
- advance: true,
1709
- inline: true,
1710
- },
1711
- },
1712
- ],
1713
- textField: {
1714
- name: 'title',
1715
- title: 'Title',
1716
- },
1717
- valueField: {
1718
- name: 'id',
1719
- title: 'ID',
1720
- },
1721
- },
1722
- ]);
1723
- }
1724
- }
1725
-
1726
- class AXMJobLevelDataSourceDefinition {
1727
- constructor() {
1728
- this.jobLevelService = inject(AXMOrganizationManagementJobLevelEntityService);
1729
- }
1730
- items() {
1731
- return Promise.resolve([
1732
- {
1733
- name: 'job-levels',
1734
- title: 'Job Levels',
1735
- source: () => {
1736
- return new AXDataSource({
1737
- key: 'id',
1738
- load: async (_) => {
1739
- try {
1740
- const res = await this.jobLevelService.query();
1741
- return {
1742
- items: res.items.map((item) => ({
1743
- ...item,
1744
- })).sort((a, b) => (a.level ?? 0) - (b.level ?? 0)),
1745
- total: res.total,
1746
- };
1747
- }
1748
- catch (e) {
1749
- console.log(e);
1750
- throw e;
1751
- }
1752
- },
1753
- byKey: async (key) => {
1754
- return await this.jobLevelService.getOne(key);
1755
- },
1756
- pageSize: 100,
1757
- });
1758
- },
1759
- columns: [
1760
- {
1761
- name: 'id',
1762
- title: 'ID',
1763
- datatype: 'uuid',
1764
- type: AXPWidgetsCatalog.text,
1765
- },
1766
- {
1767
- name: 'title',
1768
- title: 'Title',
1769
- datatype: 'string',
1770
- type: AXPWidgetsCatalog.text,
1771
- },
1772
- {
1773
- name: 'description',
1774
- title: 'Description',
1775
- datatype: 'string',
1776
- type: AXPWidgetsCatalog.text,
1777
- },
1778
- ],
1779
- filters: [
1780
- {
1781
- field: 'title',
1782
- title: 'Title',
1783
- operator: {
1784
- type: 'equal',
1785
- },
1786
- widget: {
1787
- type: AXPWidgetsCatalog.text,
1788
- },
1789
- filterType: {
1790
- advance: true,
1791
- inline: true,
1792
- },
1793
- },
1794
- ],
1795
- textField: {
1796
- name: 'title',
1797
- title: 'Title',
1798
- },
1799
- valueField: {
1800
- name: 'id',
1801
- title: 'ID',
1802
- },
1803
- },
1804
- ]);
1805
- }
1806
- }
1807
-
1808
- class AXMTeamDataSourceDefinition {
1809
- constructor() {
1810
- this.teamService = inject(AXMOrganizationManagementTeamEntityService);
1811
- }
1812
- items() {
1813
- return Promise.resolve([
1814
- {
1815
- name: 'teams',
1816
- title: 'Teams',
1817
- source: () => {
1818
- return new AXDataSource({
1819
- key: 'id',
1820
- load: async (_) => {
1821
- try {
1822
- const res = await this.teamService.query();
1823
- return {
1824
- items: res.items.map((item) => ({
1825
- ...item,
1826
- })),
1827
- total: res.total,
1828
- };
1829
- }
1830
- catch (e) {
1831
- console.log(e);
1832
- throw e;
1833
- }
1834
- },
1835
- byKey: async (key) => {
1836
- return await this.teamService.getOne(key);
1837
- },
1838
- pageSize: 100,
1839
- });
1840
- },
1841
- columns: [
1842
- {
1843
- name: 'id',
1844
- title: 'ID',
1845
- datatype: 'uuid',
1846
- type: AXPWidgetsCatalog.text,
1847
- },
1848
- {
1849
- name: 'title',
1850
- title: 'Title',
1851
- datatype: 'string',
1852
- type: AXPWidgetsCatalog.text,
1853
- },
1854
- {
1855
- name: 'description',
1856
- title: 'Description',
1857
- datatype: 'string',
1858
- type: AXPWidgetsCatalog.text,
1859
- },
1860
- ],
1861
- filters: [
1862
- {
1863
- field: 'title',
1864
- title: 'Title',
1865
- operator: {
1866
- type: 'equal',
1867
- },
1868
- widget: {
1869
- type: AXPWidgetsCatalog.text,
1870
- },
1871
- filterType: {
1872
- advance: true,
1873
- inline: true,
1874
- },
1875
- },
1876
- ],
1877
- textField: {
1878
- name: 'title',
1879
- title: 'Title',
1880
- },
1881
- valueField: {
1882
- name: 'id',
1883
- title: 'ID',
1884
- },
1885
- },
1886
- ]);
1887
- }
1888
- }
1889
-
1890
- class AXMPositionDataSourceDefinition {
1891
- constructor() {
1892
- this.positionService = inject(AXMOrganizationManagementPositionEntityService);
1893
- }
1894
- items() {
1895
- return Promise.resolve([
1896
- {
1897
- name: 'positions',
1898
- title: 'Positions',
1899
- source: () => {
1900
- return new AXDataSource({
1901
- key: 'id',
1902
- load: async (_) => {
1903
- try {
1904
- const res = await this.positionService.query();
1905
- return {
1906
- items: res.items.map((item) => ({
1907
- ...item,
1908
- })),
1909
- total: res.total,
1910
- };
1911
- }
1912
- catch (e) {
1913
- console.log(e);
1914
- throw e;
1915
- }
1916
- },
1917
- byKey: async (key) => {
1918
- return await this.positionService.getOne(key);
1919
- },
1920
- pageSize: 100,
1921
- });
1922
- },
1923
- columns: [
1924
- {
1925
- name: 'id',
1926
- title: 'ID',
1927
- datatype: 'uuid',
1928
- type: AXPWidgetsCatalog.text,
1929
- },
1930
- {
1931
- name: 'title',
1932
- title: 'Title',
1933
- datatype: 'string',
1934
- type: AXPWidgetsCatalog.text,
1935
- },
1936
- {
1937
- name: 'description',
1938
- title: 'Description',
1939
- datatype: 'string',
1940
- type: AXPWidgetsCatalog.text,
1941
- },
1942
- ],
1943
- filters: [
1944
- {
1945
- field: 'title',
1946
- title: 'Title',
1947
- operator: {
1948
- type: 'equal',
1949
- },
1950
- widget: {
1951
- type: AXPWidgetsCatalog.text,
1952
- },
1953
- filterType: {
1954
- advance: true,
1955
- inline: true,
1956
- },
1957
- },
1958
- ],
1959
- textField: {
1960
- name: 'title',
1961
- title: 'Title',
1962
- },
1963
- valueField: {
1964
- name: 'id',
1965
- title: 'ID',
1966
- },
1967
- },
1968
- ]);
1969
- }
1970
- }
1971
-
1972
- class AXMOrganizationManagementDataSourceEvaluatorScopeProvider {
1973
- constructor() {
1974
- this.dataSourceDefinitionService = inject(AXPDataSourceDefinitionProviderService);
1975
- }
1976
- async provide(context) {
1977
- context.addScope('dataSource', {
1978
- /**
1979
- * Load all items from a data source definition as an array
1980
- * @param dataSourceName - Name of the data source definition
1981
- * @returns Array of items from the data source
1982
- */
1983
- toArray: async (dataSourceName) => {
1984
- if (!dataSourceName) {
1985
- return [];
1986
- }
1987
- try {
1988
- const dataSourceDefinition = await this.dataSourceDefinitionService.get(dataSourceName);
1989
- if (!dataSourceDefinition) {
1990
- return [];
1991
- }
1992
- const source = dataSourceDefinition.source();
1993
- const dataSource = source instanceof Promise ? await source : source;
1994
- if (!dataSource) {
1995
- return [];
1996
- }
1997
- // Access the load function from the data source config
1998
- // The load function is provided in the AXDataSource config
1999
- const dataSourceAny = dataSource;
2000
- if (dataSourceAny.config?.load) {
2001
- const result = await dataSourceAny.config.load({ skip: 0, take: 10000 });
2002
- return result.items || [];
2003
- }
2004
- return [];
2005
- }
2006
- catch (error) {
2007
- console.error(`Error loading data source "${dataSourceName}":`, error);
2008
- return [];
2009
- }
2010
- },
2011
- });
2012
- }
2013
- }
2014
-
2015
- function routesFacory() {
2016
- const config = inject(AXP_ENTITY_CONFIG_TOKEN);
2017
- const routes = [
2018
- {
2019
- loadComponent: () => {
2020
- return config.viewers.root();
2021
- },
2022
- path: ':app/organization',
2023
- canActivate: [AXPAuthGuard],
2024
- children: [
2025
- {
2026
- path: 'chart',
2027
- loadComponent: () => import('./acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs').then((c) => c.AXMOrgChartPage),
2028
- },
2029
- ],
2030
- },
2031
- ];
2032
- return routes;
2033
- }
2034
- function routesFactory() {
2035
- const config = inject(AXP_ENTITY_CONFIG_TOKEN);
2036
- return {
2037
- path: ':app/organization',
2038
- loadComponent: () => {
2039
- return config.viewers.root();
2040
- },
2041
- children: [
2042
- {
2043
- path: 'chart',
2044
- loadComponent: () => import('./acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs').then((c) => c.AXMOrgChartPage),
2045
- },
2046
- ],
2047
- };
2048
- }
2049
- class AXMOrganizationManagementModule {
2050
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2051
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementModule, imports: [CommonModule,
2052
- AXPWidgetCoreModule,
2053
- AXMOrganizationManagementResponsibilityLevelEntityModule,
2054
- AXMOrganizationManagementJobDefinitionEntityModule,
2055
- AXMOrganizationManagementJobLevelEntityModule,
2056
- AXMOrganizationManagementTeamEntityModule,
2057
- AXMOrganizationManagementPositionEntityModule,
2058
- AXMOrganizationManagementChartEntityModule,
2059
- AXMOrganizationManagementBusinessUnitEntityModule] }); }
2060
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementModule, providers: [
2061
- // Module-specific providers (not part of manifest system)
2062
- {
2063
- provide: ROUTES,
2064
- multi: true,
2065
- useFactory: routesFacory,
2066
- },
2067
- {
2068
- provide: AXP_HOME_PAGES,
2069
- multi: true,
2070
- useFactory: () => [
2071
- {
2072
- key: 'organization-chart',
2073
- title: 'Organization Chart',
2074
- route: routesFactory(),
2075
- },
2076
- ],
2077
- },
2078
- // Register data source evaluator scope provider for dataSource.toArray() support
2079
- {
2080
- provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
2081
- useClass: AXMOrganizationManagementDataSourceEvaluatorScopeProvider,
2082
- multi: true,
2083
- },
2084
- // Register data source definition providers
2085
- {
2086
- provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
2087
- useClass: AXMJobLevelDataSourceDefinition,
2088
- multi: true,
2089
- },
2090
- // Module Manifest Provider
2091
- {
2092
- provide: AXP_MODULE_MANIFEST_PROVIDER,
2093
- useValue: OrganizationManagementManifest,
2094
- multi: true,
2095
- },
2096
- // Provider references (now using tokens)
2097
- {
2098
- provide: AXP_PERMISSION_DEFINITION_PROVIDER,
2099
- useClass: AXMPermissionDefinitionProvider,
2100
- multi: true,
2101
- },
2102
- {
2103
- provide: AXP_MENU_PROVIDER,
2104
- useClass: AXMMenuProvider,
2105
- multi: true,
2106
- },
2107
- {
2108
- provide: AXP_ENTITY_DEFINITION_LOADER,
2109
- useClass: AXMOrganizationModuleEntityProvider,
2110
- multi: true,
2111
- },
2112
- {
2113
- provide: AXP_FEATURE_DEFINITION_PROVIDER,
2114
- useClass: AXPOrganizationManagementFeatureDefinitionProvider,
2115
- multi: true,
2116
- },
2117
- {
2118
- provide: AXP_WIDGET_DEFINITION_PROVIDER,
2119
- useClass: AXMOrganizationManagementWidgetsProvider,
2120
- multi: true,
2121
- },
2122
- ], imports: [CommonModule,
2123
- AXPWidgetCoreModule,
2124
- AXMOrganizationManagementResponsibilityLevelEntityModule,
2125
- AXMOrganizationManagementJobDefinitionEntityModule,
2126
- AXMOrganizationManagementJobLevelEntityModule,
2127
- AXMOrganizationManagementTeamEntityModule,
2128
- AXMOrganizationManagementPositionEntityModule,
2129
- AXMOrganizationManagementChartEntityModule,
2130
- AXMOrganizationManagementBusinessUnitEntityModule] }); }
2131
- }
2132
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrganizationManagementModule, decorators: [{
2133
- type: NgModule,
2134
- args: [{
2135
- imports: [
2136
- CommonModule,
2137
- AXPWidgetCoreModule,
2138
- AXMOrganizationManagementResponsibilityLevelEntityModule,
2139
- AXMOrganizationManagementJobDefinitionEntityModule,
2140
- AXMOrganizationManagementJobLevelEntityModule,
2141
- AXMOrganizationManagementTeamEntityModule,
2142
- AXMOrganizationManagementPositionEntityModule,
2143
- AXMOrganizationManagementChartEntityModule,
2144
- AXMOrganizationManagementBusinessUnitEntityModule,
2145
- ],
2146
- providers: [
2147
- // Module-specific providers (not part of manifest system)
2148
- {
2149
- provide: ROUTES,
2150
- multi: true,
2151
- useFactory: routesFacory,
2152
- },
2153
- {
2154
- provide: AXP_HOME_PAGES,
2155
- multi: true,
2156
- useFactory: () => [
2157
- {
2158
- key: 'organization-chart',
2159
- title: 'Organization Chart',
2160
- route: routesFactory(),
2161
- },
2162
- ],
2163
- },
2164
- // Register data source evaluator scope provider for dataSource.toArray() support
2165
- {
2166
- provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
2167
- useClass: AXMOrganizationManagementDataSourceEvaluatorScopeProvider,
2168
- multi: true,
2169
- },
2170
- // Register data source definition providers
2171
- {
2172
- provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
2173
- useClass: AXMJobLevelDataSourceDefinition,
2174
- multi: true,
2175
- },
2176
- // Module Manifest Provider
2177
- {
2178
- provide: AXP_MODULE_MANIFEST_PROVIDER,
2179
- useValue: OrganizationManagementManifest,
2180
- multi: true,
2181
- },
2182
- // Provider references (now using tokens)
2183
- {
2184
- provide: AXP_PERMISSION_DEFINITION_PROVIDER,
2185
- useClass: AXMPermissionDefinitionProvider,
2186
- multi: true,
2187
- },
2188
- {
2189
- provide: AXP_MENU_PROVIDER,
2190
- useClass: AXMMenuProvider,
2191
- multi: true,
2192
- },
2193
- {
2194
- provide: AXP_ENTITY_DEFINITION_LOADER,
2195
- useClass: AXMOrganizationModuleEntityProvider,
2196
- multi: true,
2197
- },
2198
- {
2199
- provide: AXP_FEATURE_DEFINITION_PROVIDER,
2200
- useClass: AXPOrganizationManagementFeatureDefinitionProvider,
2201
- multi: true,
2202
- },
2203
- {
2204
- provide: AXP_WIDGET_DEFINITION_PROVIDER,
2205
- useClass: AXMOrganizationManagementWidgetsProvider,
2206
- multi: true,
2207
- },
2208
- ],
2209
- }]
2210
- }] });
2211
-
2212
- /**
2213
- * Generated bundle index. Do not edit.
2214
- */
2215
-
2216
- export { AXMOrgChartCategory, AXMOrgChartNodeType, AXMOrganizationManagementBusinessUnitEntityModule, AXMOrganizationManagementBusinessUnitEntityService, AXMOrganizationManagementBusinessUnitEntityServiceImpl, AXMOrganizationManagementChartEntityModule, AXMOrganizationManagementChartEntityService, AXMOrganizationManagementChartEntityServiceImpl, AXMOrganizationManagementJobDefinitionEntityModule, AXMOrganizationManagementJobDefinitionEntityService, AXMOrganizationManagementJobDefinitionEntityServiceImpl, AXMOrganizationManagementJobLevelEntityModule, AXMOrganizationManagementJobLevelEntityService, AXMOrganizationManagementJobLevelEntityServiceImpl, AXMOrganizationManagementModule, AXMOrganizationManagementPositionEntityModule, AXMOrganizationManagementPositionEntityService, AXMOrganizationManagementPositionEntityServiceImpl, AXMOrganizationManagementResponsibilityLevelEntityModule, AXMOrganizationManagementResponsibilityLevelEntityService, AXMOrganizationManagementResponsibilityLevelEntityServiceImpl, AXMOrganizationManagementTeamEntityModule, AXMOrganizationManagementTeamEntityService, AXMOrganizationManagementTeamEntityServiceImpl, RootConfig };
1
+ export { b as AXMOrgChartCategory, A as AXMOrgChartNodeType, c as AXMOrganizationManagementModule, d as AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION, R as RootConfig } from './acorex-modules-organization-management-acorex-modules-organization-management-BrVNMCi_.mjs';
2217
2
  //# sourceMappingURL=acorex-modules-organization-management.mjs.map