@acorex/modules 21.0.0-next.37 → 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,784 +0,0 @@
1
- import { AXPanViewDirective } from '@acorex/cdk/pan-view';
2
- import { AXBadgeModule } from '@acorex/components/badge';
3
- import { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';
4
- import * as i1 from '@acorex/components/button';
5
- import { AXButtonModule } from '@acorex/components/button';
6
- import * as i2 from '@acorex/components/decorators';
7
- import { AXDecoratorModule } from '@acorex/components/decorators';
8
- import { AXDropdownButtonModule } from '@acorex/components/dropdown-button';
9
- import { AXLoadingModule } from '@acorex/components/loading';
10
- import { AXContextMenuComponent, AXMenuModule } from '@acorex/components/menu';
11
- import * as i4 from '@acorex/core/translation';
12
- import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
13
- import { AXPPageLayoutBaseComponent, AXPPageLayoutComponent, AXPPageLayoutBase } from '@acorex/platform/layout/views';
14
- import { AXPAvatarComponent, AXPThemeLayoutBlockComponent } from '@acorex/platform/layout/components';
15
- import { CommonModule } from '@angular/common';
16
- import * as i0 from '@angular/core';
17
- import { InjectionToken, input, computed, ChangeDetectionStrategy, Component, inject, ViewEncapsulation, signal, Injectable, viewChild, NgZone, Injector, ViewContainerRef, afterNextRender } from '@angular/core';
18
- import { RouterModule } from '@angular/router';
19
- import set from 'lodash-es/set';
20
- import { AXMOrgChartNodeType, AXMOrganizationManagementChartEntityService, RootConfig, AXMOrgChartCategory } from './acorex-modules-organization-management.mjs';
21
- import { AXPResolveMultiLanguageStringPipe, createMultiLanguageString, AXPDataGenerator, getActionButton } from '@acorex/platform/core';
22
- import { AXLoadingDialogService } from '@acorex/components/loading-dialog';
23
- import { AXPExportService } from '@acorex/platform/common';
24
- import { AXPCommandService } from '@acorex/platform/runtime';
25
- import { AXPLayoutBuilderService } from '@acorex/platform/layout/builder';
26
-
27
- const AXM_ORG_CHART_HOST = new InjectionToken('AXM_ORG_CHART_HOST');
28
-
29
- //#region ---- Imports ----
30
- //#endregion
31
- //#region ---- Employee card (org chart node) ----
32
- /**
33
- * Compact row for org-chart employee nodes: initials avatar, full name, and optional position line.
34
- */
35
- class AXMOrgChartEmployeeCardComponent {
36
- constructor() {
37
- /** When true, shows {@link vacantLabel} and placeholder avatar instead of the name. */
38
- this.isVacant = input(false, ...(ngDevMode ? [{ debugName: "isVacant" }] : /* istanbul ignore next */ []));
39
- /** Resolved display name (e.g. employee full name); ignored when {@link isVacant} is true. */
40
- this.fullName = input('', ...(ngDevMode ? [{ debugName: "fullName" }] : /* istanbul ignore next */ []));
41
- /** Resolved “Vacant” (or equivalent) label when {@link isVacant} is true. */
42
- this.vacantLabel = input(undefined, ...(ngDevMode ? [{ debugName: "vacantLabel" }] : /* istanbul ignore next */ []));
43
- /** Resolved job title, description, or other secondary line; omit or empty to hide. */
44
- this.position = input(undefined, ...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
45
- /** Whether the avatar uses placeholder styling (vacant or missing name). */
46
- this.avatarPlaceholder = computed(() => this.isVacant() || !this.fullName().trim(), ...(ngDevMode ? [{ debugName: "avatarPlaceholder" }] : /* istanbul ignore next */ []));
47
- }
48
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartEmployeeCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
49
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMOrgChartEmployeeCardComponent, isStandalone: true, selector: "axm-org-chart-employee-card", inputs: { isVacant: { classPropertyName: "isVacant", publicName: "isVacant", isSignal: true, isRequired: false, transformFunction: null }, fullName: { classPropertyName: "fullName", publicName: "fullName", isSignal: true, isRequired: false, transformFunction: null }, vacantLabel: { classPropertyName: "vacantLabel", publicName: "vacantLabel", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "--org-chart-person-row" }, ngImport: i0, template: "<axp-avatar [fullName]=\"fullName()\" [placeholder]=\"avatarPlaceholder()\" [size]=\"44\" />\n<div class=\"--merged-role-text\">\n @if (isVacant()) {\n @if (vacantLabel(); as vacant) {\n <span class=\"--merged-vacant\">{{ vacant }}</span>\n }\n @if (position()) {\n <span class=\"--merged-position\">{{ position() }}</span>\n }\n } @else {\n @if (fullName()) {\n <span class=\"--merged-name\">{{ fullName() }}</span>\n }\n @if (position()) {\n <span class=\"--merged-position\">{{ position() }}</span>\n }\n }\n</div>\n", dependencies: [{ kind: "component", type: AXPAvatarComponent, selector: "axp-avatar", inputs: ["size", "src", "fullName", "fallbackText", "placeholder"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
50
- }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartEmployeeCardComponent, decorators: [{
52
- type: Component,
53
- args: [{ selector: 'axm-org-chart-employee-card', imports: [AXPAvatarComponent], host: {
54
- class: '--org-chart-person-row',
55
- }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<axp-avatar [fullName]=\"fullName()\" [placeholder]=\"avatarPlaceholder()\" [size]=\"44\" />\n<div class=\"--merged-role-text\">\n @if (isVacant()) {\n @if (vacantLabel(); as vacant) {\n <span class=\"--merged-vacant\">{{ vacant }}</span>\n }\n @if (position()) {\n <span class=\"--merged-position\">{{ position() }}</span>\n }\n } @else {\n @if (fullName()) {\n <span class=\"--merged-name\">{{ fullName() }}</span>\n }\n @if (position()) {\n <span class=\"--merged-position\">{{ position() }}</span>\n }\n }\n</div>\n" }]
56
- }], propDecorators: { isVacant: [{ type: i0.Input, args: [{ isSignal: true, alias: "isVacant", required: false }] }], fullName: [{ type: i0.Input, args: [{ isSignal: true, alias: "fullName", required: false }] }], vacantLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "vacantLabel", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }] } });
57
-
58
- //#region ---- Imports ----
59
- //#endregion
60
- //#region ---- Component ----
61
- /** Standard icon + title card used when a node is not using a merged template. */
62
- class AXMOrgChartDefaultNodeCardComponent {
63
- constructor() {
64
- this.host = inject(AXM_ORG_CHART_HOST);
65
- this.data = input.required(...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
66
- /** Semantic color token passed to {@link AXMOrgChartHostApi.getNodeColors}. */
67
- this.colorKey = input.required(...(ngDevMode ? [{ debugName: "colorKey" }] : /* istanbul ignore next */ []));
68
- }
69
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartDefaultNodeCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
70
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMOrgChartDefaultNodeCardComponent, isStandalone: true, selector: "axm-org-chart-default-node-card", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, colorKey: { classPropertyName: "colorKey", publicName: "colorKey", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div #node class=\"--node-container\" [style]=\"host.getNodeColors(colorKey())\">\n <div class=\"--container\">\n <div class=\"--heading-container\">\n <div class=\"--content\">\n <div class=\"--icon\">\n <i class=\"fa-light fa-xl fa-fw\" [class]=\"data().icon\"></i>\n </div>\n <div class=\"--titles\">\n <span class=\"--title\" [title]=\"data().title | axpResolveMultiLanguageString\">{{\n data().title | axpResolveMultiLanguageString\n }}</span>\n @if (data().subtitle) {\n <span class=\"--sub-title\" [title]=\"data().subtitle! | axpResolveMultiLanguageString\">{{\n data().subtitle! | axpResolveMultiLanguageString\n }}</span>\n }\n </div>\n @if (data().children?.length) {\n <div class=\"--badge\">\n <span>{{ data().children?.length ?? 0 }}</span>\n </div>\n }\n </div>\n </div>\n @if (data().description) {\n <div class=\"--body-container\">\n <div class=\"--description\" [class.ax-pb-3]=\"data().children && data().children!.length > 0\">\n <span>{{ data().description | axpResolveMultiLanguageString }}</span>\n </div>\n </div>\n }\n @if (data().children && data().children!.length > 0) {\n <div class=\"--toggle\">\n <ax-button class=\"ax-xs ax-rounded-sm\" (onClick)=\"host.toggleNode(data(), node)\">\n <ax-icon icon=\"fa-solid\" [class]=\"data().isExpanded === false ? 'fa-chevron-down' : 'fa-chevron-up'\"></ax-icon>\n </ax-button>\n </div>\n }\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "pipe", type: AXPResolveMultiLanguageStringPipe, name: "axpResolveMultiLanguageString" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
71
- }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartDefaultNodeCardComponent, decorators: [{
73
- type: Component,
74
- args: [{ selector: 'axm-org-chart-default-node-card', imports: [AXButtonModule, AXDecoratorModule, AXPResolveMultiLanguageStringPipe], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div #node class=\"--node-container\" [style]=\"host.getNodeColors(colorKey())\">\n <div class=\"--container\">\n <div class=\"--heading-container\">\n <div class=\"--content\">\n <div class=\"--icon\">\n <i class=\"fa-light fa-xl fa-fw\" [class]=\"data().icon\"></i>\n </div>\n <div class=\"--titles\">\n <span class=\"--title\" [title]=\"data().title | axpResolveMultiLanguageString\">{{\n data().title | axpResolveMultiLanguageString\n }}</span>\n @if (data().subtitle) {\n <span class=\"--sub-title\" [title]=\"data().subtitle! | axpResolveMultiLanguageString\">{{\n data().subtitle! | axpResolveMultiLanguageString\n }}</span>\n }\n </div>\n @if (data().children?.length) {\n <div class=\"--badge\">\n <span>{{ data().children?.length ?? 0 }}</span>\n </div>\n }\n </div>\n </div>\n @if (data().description) {\n <div class=\"--body-container\">\n <div class=\"--description\" [class.ax-pb-3]=\"data().children && data().children!.length > 0\">\n <span>{{ data().description | axpResolveMultiLanguageString }}</span>\n </div>\n </div>\n }\n @if (data().children && data().children!.length > 0) {\n <div class=\"--toggle\">\n <ax-button class=\"ax-xs ax-rounded-sm\" (onClick)=\"host.toggleNode(data(), node)\">\n <ax-icon icon=\"fa-solid\" [class]=\"data().isExpanded === false ? 'fa-chevron-down' : 'fa-chevron-up'\"></ax-icon>\n </ax-button>\n </div>\n }\n </div>\n</div>\n" }]
75
- }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], colorKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorKey", required: true }] }] } });
76
-
77
- //#region ---- Imports ----
78
- //#endregion
79
- //#region ---- Component ----
80
- /** Business unit node (division / department / branch): merged unit or default card. */
81
- class AXMOrgChartBusinessUnitNodeComponent {
82
- constructor() {
83
- this.host = inject(AXM_ORG_CHART_HOST);
84
- this.data = input.required(...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
85
- }
86
- isRegional() {
87
- return this.data().metadata?.['isRegional'] === true;
88
- }
89
- getColorKey() {
90
- return this.isRegional() ? 'accent1' : 'accent2';
91
- }
92
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartBusinessUnitNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
93
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMOrgChartBusinessUnitNodeComponent, isStandalone: true, selector: "axm-org-chart-business-unit-node", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div>\n @if (data().metadata?.['chartTemplate'] === 'merged-unit') {\n <div #node class=\"--node-container --merged-card --merged-unit\" [class.--vacant]=\"data().metadata?.['unitHead']?.['vacant']\"\n [style]=\"host.getNodeColors(getColorKey())\">\n <div class=\"--container\">\n <div class=\"--merged-top\">\n <span class=\"--merged-entity-title\" [title]=\"data().title | axpResolveMultiLanguageString\">{{\n data().title | axpResolveMultiLanguageString\n }}</span>\n @if (data().description) {\n <span class=\"--merged-entity-desc\">{{ data().description | axpResolveMultiLanguageString }}</span>\n }\n </div>\n @if (data().metadata?.['unitHead']; as unitHead) {\n <axm-org-chart-employee-card\n [isVacant]=\"unitHead['vacant'] || !unitHead['employeeName']\"\n [fullName]=\"unitHead['employeeName'] ?? ''\"\n [vacantLabel]=\"host.chartML.vacant | axpResolveMultiLanguageString\"\n [position]=\"unitHead['positionTitle'] | axpResolveMultiLanguageString\" />\n }\n @if (data().metadata?.['stats']?.['directChildren'] != null) {\n <div class=\"--merged-stats\">\n <span class=\"--merged-stat-n\">{{ data().metadata!['stats']!['directChildren'] }}</span>\n <span class=\"--merged-stat-label\">{{ host.chartML.teamMembers | axpResolveMultiLanguageString }}</span>\n </div>\n }\n @if (data().children && data().children!.length > 0) {\n <div class=\"--toggle\">\n <ax-button class=\"ax-xs ax-rounded-sm\" (onClick)=\"host.toggleNode(data(), node)\">\n <ax-icon icon=\"fa-solid\" [class]=\"data().isExpanded === false ? 'fa-chevron-down' : 'fa-chevron-up'\"></ax-icon>\n </ax-button>\n </div>\n }\n </div>\n </div>\n } @else {\n <axm-org-chart-default-node-card [data]=\"data()\" [colorKey]=\"getColorKey()\" />\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXMOrgChartEmployeeCardComponent, selector: "axm-org-chart-employee-card", inputs: ["isVacant", "fullName", "vacantLabel", "position"] }, { kind: "component", type: AXMOrgChartDefaultNodeCardComponent, selector: "axm-org-chart-default-node-card", inputs: ["data", "colorKey"] }, { kind: "pipe", type: AXPResolveMultiLanguageStringPipe, name: "axpResolveMultiLanguageString" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
94
- }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartBusinessUnitNodeComponent, decorators: [{
96
- type: Component,
97
- args: [{ selector: 'axm-org-chart-business-unit-node', imports: [
98
- AXButtonModule,
99
- AXDecoratorModule,
100
- AXPResolveMultiLanguageStringPipe,
101
- AXMOrgChartEmployeeCardComponent,
102
- AXMOrgChartDefaultNodeCardComponent,
103
- ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div>\n @if (data().metadata?.['chartTemplate'] === 'merged-unit') {\n <div #node class=\"--node-container --merged-card --merged-unit\" [class.--vacant]=\"data().metadata?.['unitHead']?.['vacant']\"\n [style]=\"host.getNodeColors(getColorKey())\">\n <div class=\"--container\">\n <div class=\"--merged-top\">\n <span class=\"--merged-entity-title\" [title]=\"data().title | axpResolveMultiLanguageString\">{{\n data().title | axpResolveMultiLanguageString\n }}</span>\n @if (data().description) {\n <span class=\"--merged-entity-desc\">{{ data().description | axpResolveMultiLanguageString }}</span>\n }\n </div>\n @if (data().metadata?.['unitHead']; as unitHead) {\n <axm-org-chart-employee-card\n [isVacant]=\"unitHead['vacant'] || !unitHead['employeeName']\"\n [fullName]=\"unitHead['employeeName'] ?? ''\"\n [vacantLabel]=\"host.chartML.vacant | axpResolveMultiLanguageString\"\n [position]=\"unitHead['positionTitle'] | axpResolveMultiLanguageString\" />\n }\n @if (data().metadata?.['stats']?.['directChildren'] != null) {\n <div class=\"--merged-stats\">\n <span class=\"--merged-stat-n\">{{ data().metadata!['stats']!['directChildren'] }}</span>\n <span class=\"--merged-stat-label\">{{ host.chartML.teamMembers | axpResolveMultiLanguageString }}</span>\n </div>\n }\n @if (data().children && data().children!.length > 0) {\n <div class=\"--toggle\">\n <ax-button class=\"ax-xs ax-rounded-sm\" (onClick)=\"host.toggleNode(data(), node)\">\n <ax-icon icon=\"fa-solid\" [class]=\"data().isExpanded === false ? 'fa-chevron-down' : 'fa-chevron-up'\"></ax-icon>\n </ax-button>\n </div>\n }\n </div>\n </div>\n } @else {\n <axm-org-chart-default-node-card [data]=\"data()\" [colorKey]=\"getColorKey()\" />\n }\n</div>\n" }]
104
- }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }] } });
105
-
106
- //#region ---- Imports ----
107
- //#endregion
108
- //#region ---- Component ----
109
- /** Company node: merged executive (CEO block) or default card. */
110
- class AXMOrgChartCompanyNodeComponent {
111
- constructor() {
112
- this.host = inject(AXM_ORG_CHART_HOST);
113
- this.data = input.required(...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
114
- }
115
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartCompanyNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
116
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMOrgChartCompanyNodeComponent, isStandalone: true, selector: "axm-org-chart-company-node", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div>\n @if (data().metadata?.['chartTemplate'] === 'merged-executive') {\n <div #node class=\"--node-container --merged-card\" [class.--vacant]=\"data().metadata?.['topRole']?.['vacant']\"\n [style]=\"host.getNodeColors('primary')\">\n <div class=\"--container\">\n <div class=\"--merged-top\">\n <span class=\"--merged-entity-title\" [title]=\"data().title | axpResolveMultiLanguageString\">{{\n data().title | axpResolveMultiLanguageString\n }}</span>\n </div>\n @if (data().metadata?.['topRole']; as topRole) {\n <axm-org-chart-employee-card\n [isVacant]=\"topRole['vacant'] || !topRole['employeeName']\"\n [fullName]=\"topRole['employeeName'] ?? ''\"\n [vacantLabel]=\"host.chartML.vacant | axpResolveMultiLanguageString\"\n [position]=\"topRole['positionTitle'] | axpResolveMultiLanguageString\" />\n }\n @if (data().metadata?.['stats']?.['directChildren'] != null) {\n <div class=\"--merged-stats\">\n <span class=\"--merged-stat-n\">{{ data().metadata!['stats']!['directChildren'] }}</span>\n <span class=\"--merged-stat-label\">{{ host.chartML.teamMembers | axpResolveMultiLanguageString }}</span>\n </div>\n }\n </div>\n </div>\n } @else {\n <axm-org-chart-default-node-card [data]=\"data()\" colorKey=\"primary\" />\n }\n</div>\n", dependencies: [{ kind: "component", type: AXMOrgChartEmployeeCardComponent, selector: "axm-org-chart-employee-card", inputs: ["isVacant", "fullName", "vacantLabel", "position"] }, { kind: "component", type: AXMOrgChartDefaultNodeCardComponent, selector: "axm-org-chart-default-node-card", inputs: ["data", "colorKey"] }, { kind: "pipe", type: AXPResolveMultiLanguageStringPipe, name: "axpResolveMultiLanguageString" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
117
- }
118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartCompanyNodeComponent, decorators: [{
119
- type: Component,
120
- args: [{ selector: 'axm-org-chart-company-node', imports: [AXPResolveMultiLanguageStringPipe, AXMOrgChartEmployeeCardComponent, AXMOrgChartDefaultNodeCardComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div>\n @if (data().metadata?.['chartTemplate'] === 'merged-executive') {\n <div #node class=\"--node-container --merged-card\" [class.--vacant]=\"data().metadata?.['topRole']?.['vacant']\"\n [style]=\"host.getNodeColors('primary')\">\n <div class=\"--container\">\n <div class=\"--merged-top\">\n <span class=\"--merged-entity-title\" [title]=\"data().title | axpResolveMultiLanguageString\">{{\n data().title | axpResolveMultiLanguageString\n }}</span>\n </div>\n @if (data().metadata?.['topRole']; as topRole) {\n <axm-org-chart-employee-card\n [isVacant]=\"topRole['vacant'] || !topRole['employeeName']\"\n [fullName]=\"topRole['employeeName'] ?? ''\"\n [vacantLabel]=\"host.chartML.vacant | axpResolveMultiLanguageString\"\n [position]=\"topRole['positionTitle'] | axpResolveMultiLanguageString\" />\n }\n @if (data().metadata?.['stats']?.['directChildren'] != null) {\n <div class=\"--merged-stats\">\n <span class=\"--merged-stat-n\">{{ data().metadata!['stats']!['directChildren'] }}</span>\n <span class=\"--merged-stat-label\">{{ host.chartML.teamMembers | axpResolveMultiLanguageString }}</span>\n </div>\n }\n </div>\n </div>\n } @else {\n <axm-org-chart-default-node-card [data]=\"data()\" colorKey=\"primary\" />\n }\n</div>\n" }]
121
- }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }] } });
122
-
123
- //#region ---- Imports ----
124
- //#endregion
125
- //#region ---- Component ----
126
- /** Employee node: compact employee card or default card. */
127
- class AXMOrgChartEmployeeNodeComponent {
128
- constructor() {
129
- this.host = inject(AXM_ORG_CHART_HOST);
130
- this.data = input.required(...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
131
- }
132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartEmployeeNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
133
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMOrgChartEmployeeNodeComponent, isStandalone: true, selector: "axm-org-chart-employee-node", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div>\n @if (data().metadata?.['chartTemplate'] === 'employee-card') {\n <div #node class=\"--node-container --employee-card\" [style]=\"host.getNodeColors('surface')\">\n <div class=\"--container\">\n <axm-org-chart-employee-card [fullName]=\"data().title | axpResolveMultiLanguageString\" [position]=\"\n data().subtitle ? (data().subtitle! | axpResolveMultiLanguageString) : undefined\n \" />\n </div>\n </div>\n } @else {\n <axm-org-chart-default-node-card [data]=\"data()\" colorKey=\"surface\" />\n }\n</div>", dependencies: [{ kind: "component", type: AXMOrgChartEmployeeCardComponent, selector: "axm-org-chart-employee-card", inputs: ["isVacant", "fullName", "vacantLabel", "position"] }, { kind: "component", type: AXMOrgChartDefaultNodeCardComponent, selector: "axm-org-chart-default-node-card", inputs: ["data", "colorKey"] }, { kind: "pipe", type: AXPResolveMultiLanguageStringPipe, name: "axpResolveMultiLanguageString" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
134
- }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartEmployeeNodeComponent, decorators: [{
136
- type: Component,
137
- args: [{ selector: 'axm-org-chart-employee-node', imports: [AXPResolveMultiLanguageStringPipe, AXMOrgChartEmployeeCardComponent, AXMOrgChartDefaultNodeCardComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div>\n @if (data().metadata?.['chartTemplate'] === 'employee-card') {\n <div #node class=\"--node-container --employee-card\" [style]=\"host.getNodeColors('surface')\">\n <div class=\"--container\">\n <axm-org-chart-employee-card [fullName]=\"data().title | axpResolveMultiLanguageString\" [position]=\"\n data().subtitle ? (data().subtitle! | axpResolveMultiLanguageString) : undefined\n \" />\n </div>\n </div>\n } @else {\n <axm-org-chart-default-node-card [data]=\"data()\" colorKey=\"surface\" />\n }\n</div>" }]
138
- }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }] } });
139
-
140
- //#region ---- Imports ----
141
- //#endregion
142
- //#region ---- Component ----
143
- /** Position node: merged manager, IC seat, or default card. */
144
- class AXMOrgChartPositionNodeComponent {
145
- constructor() {
146
- this.host = inject(AXM_ORG_CHART_HOST);
147
- this.data = input.required(...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
148
- }
149
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartPositionNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
150
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMOrgChartPositionNodeComponent, isStandalone: true, selector: "axm-org-chart-position-node", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div>\n @if (data().metadata?.['chartTemplate'] === 'merged-manager') {\n <div #node class=\"--node-container --merged-card --merged-manager\" [class.--vacant]=\"data().metadata?.['vacant']\"\n [style]=\"host.getNodeColors('accent3')\">\n <div class=\"--container\">\n <div class=\"--merged-top --merged-top-compact\">\n <i class=\"fa-light fa-user-tie fa-fw --merged-type-icon\"></i>\n <span class=\"--merged-entity-title\" [title]=\"data().title | axpResolveMultiLanguageString\">{{\n data().title | axpResolveMultiLanguageString\n }}</span>\n </div>\n <axm-org-chart-employee-card\n [isVacant]=\"!!data().metadata?.['vacant'] || !data().metadata?.['occupant']?.['displayName']\"\n [fullName]=\"data().metadata?.['occupant']?.['displayName'] ?? ''\"\n [vacantLabel]=\"host.chartML.vacant | axpResolveMultiLanguageString\"\n [position]=\"\n data().description && !data().metadata?.['vacant'] && data().metadata?.['occupant']?.['displayName']\n ? (data().description! | axpResolveMultiLanguageString)\n : undefined\n \" />\n @if (data().metadata?.['stats']; as s) {\n @if (s['directReports'] != null && s['directReports'] > 0) {\n <div class=\"--merged-stats\">\n <span class=\"--merged-stat-n\">{{ s['directReports'] }}</span>\n <span class=\"--merged-stat-label\">{{ host.chartML.directReports | axpResolveMultiLanguageString }}</span>\n </div>\n }\n }\n @if (data().children && data().children!.length > 0) {\n <div class=\"--toggle\">\n <ax-button class=\"ax-xs ax-rounded-sm\" (onClick)=\"host.toggleNode(data(), node)\">\n <ax-icon icon=\"fa-solid\" [class]=\"data().isExpanded === false ? 'fa-chevron-down' : 'fa-chevron-up'\"></ax-icon>\n </ax-button>\n </div>\n }\n </div>\n </div>\n } @else if (data().metadata?.['chartTemplate'] === 'position-ic') {\n <div #node class=\"--node-container --ic-position\" [class.--vacant]=\"data().metadata?.['vacant']\"\n [style]=\"host.getNodeColors('accent3')\">\n <div class=\"--container\">\n <div class=\"--heading-container\">\n <div class=\"--content\">\n <div class=\"--icon\">\n <i class=\"fa-light fa-xl fa-fw\" [class]=\"data().icon\"></i>\n </div>\n <div class=\"--titles\">\n <span class=\"--title\" [title]=\"data().title | axpResolveMultiLanguageString\">{{\n data().title | axpResolveMultiLanguageString\n }}</span>\n @if (data().metadata?.['vacant']) {\n <span class=\"--sub-title\">{{ host.chartML.vacant | axpResolveMultiLanguageString }}</span>\n }\n </div>\n @if (data().children?.length) {\n <div class=\"--badge\">\n <span>{{ data().children?.length ?? 0 }}</span>\n </div>\n }\n </div>\n </div>\n @if (data().children && data().children!.length > 0) {\n <div class=\"--toggle\">\n <ax-button class=\"ax-xs ax-rounded-sm\" (onClick)=\"host.toggleNode(data(), node)\">\n <ax-icon icon=\"fa-solid\" [class]=\"data().isExpanded === false ? 'fa-chevron-down' : 'fa-chevron-up'\"></ax-icon>\n </ax-button>\n </div>\n }\n </div>\n </div>\n } @else {\n <axm-org-chart-default-node-card [data]=\"data()\" colorKey=\"accent3\" />\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXMOrgChartEmployeeCardComponent, selector: "axm-org-chart-employee-card", inputs: ["isVacant", "fullName", "vacantLabel", "position"] }, { kind: "component", type: AXMOrgChartDefaultNodeCardComponent, selector: "axm-org-chart-default-node-card", inputs: ["data", "colorKey"] }, { kind: "pipe", type: AXPResolveMultiLanguageStringPipe, name: "axpResolveMultiLanguageString" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
151
- }
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartPositionNodeComponent, decorators: [{
153
- type: Component,
154
- args: [{ selector: 'axm-org-chart-position-node', imports: [
155
- AXButtonModule,
156
- AXDecoratorModule,
157
- AXPResolveMultiLanguageStringPipe,
158
- AXMOrgChartEmployeeCardComponent,
159
- AXMOrgChartDefaultNodeCardComponent,
160
- ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div>\n @if (data().metadata?.['chartTemplate'] === 'merged-manager') {\n <div #node class=\"--node-container --merged-card --merged-manager\" [class.--vacant]=\"data().metadata?.['vacant']\"\n [style]=\"host.getNodeColors('accent3')\">\n <div class=\"--container\">\n <div class=\"--merged-top --merged-top-compact\">\n <i class=\"fa-light fa-user-tie fa-fw --merged-type-icon\"></i>\n <span class=\"--merged-entity-title\" [title]=\"data().title | axpResolveMultiLanguageString\">{{\n data().title | axpResolveMultiLanguageString\n }}</span>\n </div>\n <axm-org-chart-employee-card\n [isVacant]=\"!!data().metadata?.['vacant'] || !data().metadata?.['occupant']?.['displayName']\"\n [fullName]=\"data().metadata?.['occupant']?.['displayName'] ?? ''\"\n [vacantLabel]=\"host.chartML.vacant | axpResolveMultiLanguageString\"\n [position]=\"\n data().description && !data().metadata?.['vacant'] && data().metadata?.['occupant']?.['displayName']\n ? (data().description! | axpResolveMultiLanguageString)\n : undefined\n \" />\n @if (data().metadata?.['stats']; as s) {\n @if (s['directReports'] != null && s['directReports'] > 0) {\n <div class=\"--merged-stats\">\n <span class=\"--merged-stat-n\">{{ s['directReports'] }}</span>\n <span class=\"--merged-stat-label\">{{ host.chartML.directReports | axpResolveMultiLanguageString }}</span>\n </div>\n }\n }\n @if (data().children && data().children!.length > 0) {\n <div class=\"--toggle\">\n <ax-button class=\"ax-xs ax-rounded-sm\" (onClick)=\"host.toggleNode(data(), node)\">\n <ax-icon icon=\"fa-solid\" [class]=\"data().isExpanded === false ? 'fa-chevron-down' : 'fa-chevron-up'\"></ax-icon>\n </ax-button>\n </div>\n }\n </div>\n </div>\n } @else if (data().metadata?.['chartTemplate'] === 'position-ic') {\n <div #node class=\"--node-container --ic-position\" [class.--vacant]=\"data().metadata?.['vacant']\"\n [style]=\"host.getNodeColors('accent3')\">\n <div class=\"--container\">\n <div class=\"--heading-container\">\n <div class=\"--content\">\n <div class=\"--icon\">\n <i class=\"fa-light fa-xl fa-fw\" [class]=\"data().icon\"></i>\n </div>\n <div class=\"--titles\">\n <span class=\"--title\" [title]=\"data().title | axpResolveMultiLanguageString\">{{\n data().title | axpResolveMultiLanguageString\n }}</span>\n @if (data().metadata?.['vacant']) {\n <span class=\"--sub-title\">{{ host.chartML.vacant | axpResolveMultiLanguageString }}</span>\n }\n </div>\n @if (data().children?.length) {\n <div class=\"--badge\">\n <span>{{ data().children?.length ?? 0 }}</span>\n </div>\n }\n </div>\n </div>\n @if (data().children && data().children!.length > 0) {\n <div class=\"--toggle\">\n <ax-button class=\"ax-xs ax-rounded-sm\" (onClick)=\"host.toggleNode(data(), node)\">\n <ax-icon icon=\"fa-solid\" [class]=\"data().isExpanded === false ? 'fa-chevron-down' : 'fa-chevron-up'\"></ax-icon>\n </ax-button>\n </div>\n }\n </div>\n </div>\n } @else {\n <axm-org-chart-default-node-card [data]=\"data()\" colorKey=\"accent3\" />\n }\n</div>\n" }]
161
- }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }] } });
162
-
163
- //#region ---- Imports ----
164
- //#endregion
165
- //#region ---- Component ----
166
- /**
167
- * Picks the org chart card by node type. Uses a static @switch (not NgComponentOutlet) so
168
- * components render reliably when the host is created in code and moved into an SVG foreignObject.
169
- */
170
- class AXMOrgChartNodeOutletComponent {
171
- constructor() {
172
- this.NodeTypes = AXMOrgChartNodeType;
173
- this.data = input.required(...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
174
- }
175
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartNodeOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
176
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMOrgChartNodeOutletComponent, isStandalone: true, selector: "axm-org-chart-node-outlet", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, host: { styleAttribute: "display: block; width: 100%; min-height: 1px; box-sizing: border-box;", classAttribute: "axm-org-chart-node-outlet" }, ngImport: i0, template: "@switch (data().type) {\n@case (NodeTypes.Company) {\n<axm-org-chart-company-node [data]=\"data()\" />\n} @case (NodeTypes.BusinessUnit) {\n<axm-org-chart-business-unit-node [data]=\"data()\" />\n} @case (NodeTypes.Position) {\n<axm-org-chart-position-node [data]=\"data()\" />\n} @case (NodeTypes.Employee) {\n<axm-org-chart-employee-node [data]=\"data()\" />\n} @default {\n<axm-org-chart-company-node [data]=\"data()\" />\n} }", dependencies: [{ kind: "component", type: AXMOrgChartCompanyNodeComponent, selector: "axm-org-chart-company-node", inputs: ["data"] }, { kind: "component", type: AXMOrgChartBusinessUnitNodeComponent, selector: "axm-org-chart-business-unit-node", inputs: ["data"] }, { kind: "component", type: AXMOrgChartPositionNodeComponent, selector: "axm-org-chart-position-node", inputs: ["data"] }, { kind: "component", type: AXMOrgChartEmployeeNodeComponent, selector: "axm-org-chart-employee-node", inputs: ["data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
177
- }
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartNodeOutletComponent, decorators: [{
179
- type: Component,
180
- args: [{ selector: 'axm-org-chart-node-outlet', imports: [
181
- AXMOrgChartCompanyNodeComponent,
182
- AXMOrgChartBusinessUnitNodeComponent,
183
- AXMOrgChartPositionNodeComponent,
184
- AXMOrgChartEmployeeNodeComponent,
185
- ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
186
- class: 'axm-org-chart-node-outlet',
187
- style: 'display: block; width: 100%; min-height: 1px; box-sizing: border-box;',
188
- }, template: "@switch (data().type) {\n@case (NodeTypes.Company) {\n<axm-org-chart-company-node [data]=\"data()\" />\n} @case (NodeTypes.BusinessUnit) {\n<axm-org-chart-business-unit-node [data]=\"data()\" />\n} @case (NodeTypes.Position) {\n<axm-org-chart-position-node [data]=\"data()\" />\n} @case (NodeTypes.Employee) {\n<axm-org-chart-employee-node [data]=\"data()\" />\n} @default {\n<axm-org-chart-company-node [data]=\"data()\" />\n} }" }]
189
- }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }] } });
190
-
191
- class AXMOrgChartService {
192
- constructor() {
193
- // Employee moved to HCM; resolve via runtime query mapping instead of direct service
194
- this.chartService = inject(AXMOrganizationManagementChartEntityService);
195
- this.loadingDialog = inject(AXLoadingDialogService);
196
- this.exportService = inject(AXPExportService);
197
- this.translationService = inject(AXTranslationService);
198
- this.commandService = inject(AXPCommandService);
199
- this.layoutBuilder = inject(AXPLayoutBuilderService);
200
- this._rootNode = signal({
201
- id: AXPDataGenerator.uuid(),
202
- type: AXMOrgChartNodeType.Company,
203
- /** Until `load()`; keep in sync with `organization-management.organization-chart.nodes.company`. */
204
- title: createMultiLanguageString('Company', 'شرکت'),
205
- }, ...(ngDevMode ? [{ debugName: "_rootNode" }] : /* istanbul ignore next */ []));
206
- this.rootNode = this._rootNode.asReadonly();
207
- }
208
- async load() {
209
- const first = (await this.chartService.query({
210
- skip: 0,
211
- take: 1,
212
- sort: [{ field: 'version', dir: 'desc' }],
213
- })).items[0];
214
- //
215
- if (first && first.data) {
216
- const data = first.data;
217
- this._rootNode.set(data);
218
- }
219
- else {
220
- await this.generate();
221
- await this.load();
222
- }
223
- }
224
- async generate() {
225
- const dialogResult = await this.showGenerateDialog();
226
- if (dialogResult.cancelled) {
227
- return;
228
- }
229
- const input = dialogResult.input || { mode: 'structure' };
230
- await this.commandService.execute('OrganizationManagement.OrgChart:Generate', input);
231
- }
232
- /**
233
- * Show dialog to get OrgChart generation parameters from user
234
- */
235
- async showGenerateDialog() {
236
- const modeLabel = await this.translationService.translateAsync('@organization-management:organization-chart.components.generate-dialog.fields.mode.label');
237
- return this.layoutBuilder
238
- .create()
239
- .dialog(dialog => {
240
- dialog
241
- .setTitle('@organization-management:organization-chart.components.generate-dialog.title')
242
- .setMessage('@organization-management:organization-chart.components.generate-dialog.message')
243
- .setContext({
244
- mode: 'structure',
245
- })
246
- .content(flex => {
247
- flex.formField(modeLabel, (field) => {
248
- field.path('mode');
249
- field.selectionList({
250
- valueField: 'value',
251
- textField: 'text',
252
- dataSource: [
253
- { value: 'structure', text: '@organization-management:organization-chart.options.mode.structure' },
254
- { value: 'location', text: '@organization-management:organization-chart.options.mode.location' },
255
- { value: 'reporting', text: '@organization-management:organization-chart.options.mode.reporting' }
256
- ]
257
- });
258
- });
259
- })
260
- .setActions(actions => {
261
- actions
262
- .cancel()
263
- .submit('@general:generate');
264
- })
265
- .onAction(async (dialogRef) => {
266
- const context = dialogRef.context();
267
- const action = dialogRef.action();
268
- if (!context || action === 'cancel') {
269
- return { cancelled: true };
270
- }
271
- // dialogRef.setLoading(true);
272
- // await new Promise((r) => setTimeout(r, 800));
273
- // dialogRef.setLoading(false);
274
- // if (1 == 1) {
275
- // throw new Error('test');
276
- // }
277
- return {
278
- cancelled: false,
279
- input: context
280
- };
281
- });
282
- })
283
- .show();
284
- }
285
- //#region ---- Printing ----
286
- async printChart(element) {
287
- const d = this.loadingDialog.show({
288
- title: 'Printing Organization Chart...',
289
- mode: 'determinate',
290
- progressColor: 'primary',
291
- progressValue: 0,
292
- status: '0/10',
293
- text: 'Initializing print process...',
294
- buttons: [
295
- { text: 'Cancel', color: 'danger', onClick: () => d.close() }
296
- ],
297
- });
298
- try {
299
- await this.updateStep(d, await this.translate('@organization-management:organization-chart.states.preparing-document'), 10, '1/10');
300
- const chartElement = element;
301
- const { originalStyles, modifiedStyles } = this.expandChart(chartElement);
302
- await this.updateStep(d, await this.translate('@organization-management:organization-chart.states.rendering-chart-image'), 25, '2.5/10');
303
- const blob = await this.exportService.generateBlobFromElement(chartElement, {
304
- popup: true,
305
- filter: (node) => !(node instanceof Element && node.classList.contains('--toggle')),
306
- bgcolor: 'transparent',
307
- scale: 2,
308
- quality: 1,
309
- height: Number.parseInt(modifiedStyles.modifiedHeight),
310
- width: Number.parseInt(modifiedStyles.modifiedWidth),
311
- });
312
- await this.updateStep(d, await this.translate('@organization-management:organization-chart.states.finalizing-image-processing'), 50, '5/10');
313
- this.restoreChartStyles(chartElement, originalStyles);
314
- await this.updateStep(d, await this.translate('@organization-management:organization-chart.states.downloading-image'), 75, '7.5/10');
315
- this.exportService.download(blob, 'org-chart.png');
316
- await this.updateStep(d, await this.translate('@organization-management:organization-chart.states.process-complete'), 100, '10/10');
317
- setTimeout(() => d.close(), 1500);
318
- }
319
- catch (err) {
320
- console.error('Error capturing chart:', err);
321
- await this.updateStep(d, await this.translate('@organization-management:organization-chart.states.failed-to-generate-chart-image'), 100, 'Error', 'danger');
322
- d.close();
323
- }
324
- }
325
- expandChart(chartElement) {
326
- const originalStyles = {
327
- originalOverflow: chartElement.style.overflow,
328
- originalWidth: chartElement.style.width,
329
- originalHeight: chartElement.style.height,
330
- };
331
- const modifiedStyles = {
332
- modifiedOverflow: 'visible',
333
- modifiedWidth: `${chartElement.scrollWidth}px`,
334
- modifiedHeight: `${chartElement.scrollHeight}px`,
335
- };
336
- chartElement.style.overflow = modifiedStyles.modifiedOverflow;
337
- chartElement.style.width = modifiedStyles.modifiedWidth;
338
- chartElement.style.height = modifiedStyles.modifiedHeight;
339
- return { originalStyles, modifiedStyles };
340
- }
341
- restoreChartStyles(chartElement, originalStyles) {
342
- chartElement.style.overflow = originalStyles.originalOverflow;
343
- chartElement.style.width = originalStyles.originalWidth;
344
- chartElement.style.height = originalStyles.originalHeight;
345
- }
346
- async updateStep(dialog, text, progress, status, color = 'primary') {
347
- return new Promise((resolve) => {
348
- dialog.setProgressColor(color);
349
- dialog.setProgressText(text);
350
- dialog.setProgressValue(progress);
351
- dialog.setProgressStatus(status);
352
- resolve();
353
- });
354
- }
355
- async translate(key) {
356
- return (await this.translationService.translateAsync(key)) + '...';
357
- }
358
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
359
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartService }); }
360
- }
361
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartService, decorators: [{
362
- type: Injectable
363
- }] });
364
-
365
- /**
366
- * Component for displaying and interacting with an organizational chart.
367
- */
368
- class AXMOrgChartPage extends AXPPageLayoutBaseComponent {
369
- constructor() {
370
- super(...arguments);
371
- this.rootConfig = RootConfig;
372
- this.treeContainer = viewChild.required('chart');
373
- this.parent = viewChild.required('parent');
374
- this.contextMenu = viewChild(AXContextMenuComponent, ...(ngDevMode ? [{ debugName: "contextMenu" }] : /* istanbul ignore next */ []));
375
- this.panView = viewChild(AXPanViewDirective, ...(ngDevMode ? [{ debugName: "panView" }] : /* istanbul ignore next */ []));
376
- this.ngzone = inject(NgZone);
377
- this.pageInjector = inject(Injector);
378
- this.viewContainerRef = inject(ViewContainerRef);
379
- // printing is handled by service itself
380
- this.chartService = inject(AXMOrgChartService);
381
- this.NODE_STROKE_COLOR = 'rgba(var(--ax-sys-color-primary-400))';
382
- this.LINK_STROKE_WIDTH = 1;
383
- this.isFullscreen = signal(false, ...(ngDevMode ? [{ debugName: "isFullscreen" }] : /* istanbul ignore next */ []));
384
- this.panX = signal(0, ...(ngDevMode ? [{ debugName: "panX" }] : /* istanbul ignore next */ []));
385
- this.panY = signal(0, ...(ngDevMode ? [{ debugName: "panY" }] : /* istanbul ignore next */ []));
386
- this.panZoomLevel = signal(100, ...(ngDevMode ? [{ debugName: "panZoomLevel" }] : /* istanbul ignore next */ []));
387
- this.isChartRendered = false;
388
- this.nodeTypes = [
389
- { title: 'Company', color: 'primary', icon: 'fal fa-building', category: AXMOrgChartCategory.Company },
390
- { title: 'Business Unit', color: 'accent2', icon: 'fal fa-sitemap', category: AXMOrgChartCategory.BusinessUnit },
391
- { title: 'Position', color: 'accent3', icon: 'fal fa-user-tie', category: AXMOrgChartCategory.Position },
392
- { title: 'Employee', color: 'surface', icon: 'fal fa-address-card', category: AXMOrgChartCategory.Employee },
393
- ];
394
- /**
395
- * UI chrome for chart cards; align copy with `organization-chart.organization-chart.nodes` / mock `org-chart-labels`.
396
- */
397
- this.chartML = {
398
- vacant: createMultiLanguageString('Vacant', 'خالی'),
399
- directReports: createMultiLanguageString('Direct reports', 'گزارش مستقیم'),
400
- teamMembers: createMultiLanguageString('Team members', 'اعضای تیم'),
401
- };
402
- this.#initialize = afterNextRender(async () => {
403
- this.d3 = await import('d3');
404
- await this.refresh();
405
- });
406
- }
407
- #initialize;
408
- /**
409
- * Zooms in the chart.
410
- */
411
- zoomIn() {
412
- this.panView()?.zoomIn();
413
- }
414
- /**
415
- * Zooms out the chart.
416
- */
417
- zoomOut() {
418
- this.panView()?.zoomOut();
419
- }
420
- /**
421
- * Resets the zoom level and pan position of the chart.
422
- */
423
- zoomReset() {
424
- this.panView()?.resetPosition();
425
- }
426
- /**
427
- * Toggles fullscreen mode for the chart.
428
- */
429
- toggleFullscreen() {
430
- if (this.isFullscreen()) {
431
- document.exitFullscreen();
432
- this.isFullscreen.set(false);
433
- }
434
- else {
435
- this.parent().nativeElement.requestFullscreen();
436
- this.isFullscreen.set(true);
437
- }
438
- document.querySelector(`foreignObject[node="node-${this.chartService.rootNode().id}"]`)?.scrollIntoView({
439
- behavior: 'smooth',
440
- block: 'start',
441
- inline: 'center',
442
- });
443
- }
444
- /**
445
- * Calculates the maximum depth of the organizational chart.
446
- * @param node - The root node of the chart.
447
- * @returns The maximum depth of the chart.
448
- */
449
- calculateMaxDepth(node) {
450
- if (!node.children || node.children.length === 0 || node.isExpanded === false) {
451
- return 1;
452
- }
453
- return 1 + Math.max(...node.children.map((child) => this.calculateMaxDepth(child)));
454
- }
455
- /**
456
- * Calculates the maximum breadth of the organizational chart.
457
- * @param node - The root node of the chart.
458
- * @returns The maximum breadth of the chart.
459
- */
460
- calculateMaxBreadth(node) {
461
- if (!node.children || node.children.length === 0 || node.isExpanded === false) {
462
- return 1;
463
- }
464
- return node.children.reduce((acc, child) => acc + this.calculateMaxBreadth(child), 0);
465
- }
466
- /**
467
- * Creates and renders the organizational chart.
468
- * @param el - The container element for the chart.
469
- * @param data - The root node of the organizational chart.
470
- */
471
- createChart(el, data) {
472
- if (!this.d3) {
473
- return;
474
- }
475
- this.ngzone.runOutsideAngular(() => {
476
- const NODE_WIDTH_BASE = 300;
477
- const NODE_HEIGHT_BASE = 220;
478
- const HORIZONTAL_SPACING = 20;
479
- const VERTICAL_SPACING = 40;
480
- this.clearChart(el);
481
- const newSvg = this.d3.select(el).append('svg');
482
- const root = this.d3.hierarchy(data);
483
- root.descendants().forEach((node) => {
484
- if (node.data.isExpanded === false) {
485
- node.children = undefined;
486
- }
487
- });
488
- const treeLayout = this.d3
489
- .tree()
490
- .nodeSize([NODE_WIDTH_BASE + HORIZONTAL_SPACING, NODE_HEIGHT_BASE + VERTICAL_SPACING]);
491
- treeLayout(root);
492
- let minX = Infinity, maxX = -Infinity, minY = Infinity, maxY = -Infinity;
493
- root.descendants().forEach((d) => {
494
- if (d.x < minX)
495
- minX = d.x;
496
- if (d.x > maxX)
497
- maxX = d.x;
498
- if (d.y < minY)
499
- minY = d.y;
500
- if (d.y > maxY)
501
- maxY = d.y;
502
- });
503
- const CONTAINER_WIDTH = maxX - minX + NODE_WIDTH_BASE + 2 * HORIZONTAL_SPACING;
504
- const CONTAINER_HEIGHT = maxY - minY + NODE_HEIGHT_BASE + 2 * VERTICAL_SPACING;
505
- newSvg.attr('width', CONTAINER_WIDTH).attr('height', CONTAINER_HEIGHT);
506
- const g = newSvg
507
- .append('g')
508
- .attr('transform', `translate(${-minX + NODE_WIDTH_BASE / 2 + HORIZONTAL_SPACING / 2}, ${-minY + NODE_HEIGHT_BASE / 2 + VERTICAL_SPACING / 2})`);
509
- const link = g
510
- .selectAll('.link')
511
- .data(root.links())
512
- .enter()
513
- .append('path')
514
- .attr('class', 'link')
515
- .attr('d', (d) => {
516
- const source = d.source;
517
- const target = d.target;
518
- return `M${source.x},${source.y}V${(source.y + target.y) / 2}H${target.x}V${target.y - 10}`;
519
- })
520
- .attr('fill', 'none')
521
- .attr('stroke', this.NODE_STROKE_COLOR)
522
- .attr('stroke-width', this.LINK_STROKE_WIDTH)
523
- .attr('from', (d) => `node-${d.source.data.id}`)
524
- .attr('to', (d) => `node-${d.target.data.id}`);
525
- const node = g
526
- .selectAll('.axp-chart-node')
527
- .data(root.descendants())
528
- .enter()
529
- .append('foreignObject')
530
- .attr('class', 'axp-chart-node')
531
- .attr('node', (d) => `node-${d.data.id}`)
532
- .attr('x', (d) => d.x - NODE_WIDTH_BASE / 2)
533
- .attr('y', (d) => d.y - NODE_HEIGHT_BASE / 2 + 10)
534
- .attr('width', NODE_WIDTH_BASE)
535
- .attr('height', NODE_HEIGHT_BASE)
536
- .each((d) => this.renderNodeTemplate(d.data, d.x, d.y));
537
- this.contextMenu()?.refresh();
538
- });
539
- if (!this.isChartRendered) {
540
- // document.querySelector(`foreignObject[node="node-${data.id}"] .--heading-container`)?.scrollIntoView({
541
- // behavior: 'smooth',
542
- // block: 'center',
543
- // inline: 'center',
544
- // });
545
- this.isChartRendered = true;
546
- this.panView()?.resetPosition();
547
- }
548
- }
549
- /**
550
- * Renders the node template for a given organizational node.
551
- * @param data - The node data.
552
- * @param x - The x-coordinate of the node.
553
- * @param y - The y-coordinate of the node.
554
- */
555
- renderNodeTemplate(data, _x, _y) {
556
- if (data.type == null) {
557
- set(data, 'type', AXMOrgChartNodeType.Company);
558
- }
559
- set(data, 'category', data.type);
560
- // D3 runs inside runOutsideAngular; created views must be updated inside the zone.
561
- this.ngzone.run(() => {
562
- // Dynamic subviews can use an injector that does not inherit the page `providers`.
563
- // Bridge `AXM_ORG_CHART_HOST` explicitly so child node components can inject it.
564
- const nodeTreeInjector = Injector.create({
565
- parent: this.pageInjector,
566
- providers: [{ provide: AXM_ORG_CHART_HOST, useValue: this }],
567
- });
568
- const ref = this.viewContainerRef.createComponent(AXMOrgChartNodeOutletComponent, { injector: nodeTreeInjector });
569
- ref.setInput('data', data);
570
- const nodeElement = this.d3.select(this.treeContainer().nativeElement).select(`[node="node-${data.id}"]`);
571
- const element = nodeElement.node();
572
- if (element) {
573
- element.appendChild(ref.location.nativeElement);
574
- ref.changeDetectorRef.detectChanges();
575
- }
576
- else {
577
- ref.destroy();
578
- }
579
- });
580
- }
581
- /**
582
- * Toggles the expansion state of a node.
583
- * @param data - The node data.
584
- * @param el - The HTML element representing the node.
585
- */
586
- toggleNode(data, _el) {
587
- data.isExpanded = data.isExpanded === undefined ? false : !data.isExpanded;
588
- this.createChart(this.treeContainer().nativeElement, this.chartService.rootNode());
589
- // el.scrollIntoView({
590
- // behavior: 'smooth',
591
- // });
592
- }
593
- /**
594
- * Clears the chart from the container element.
595
- * @param el - The container element.
596
- */
597
- clearChart(el) {
598
- if (this.d3) {
599
- this.d3.select(el).select('svg').remove();
600
- this.viewContainerRef.clear();
601
- }
602
- }
603
- async refresh() {
604
- if (this.d3) {
605
- await this.chartService.load();
606
- this.createChart(this.treeContainer().nativeElement, this.chartService.rootNode());
607
- }
608
- }
609
- //#region Context Menu
610
- // protected async handleContextMenuOnOpening(e: AXContextMenuOpeningEvent) {
611
- // const node = get(e.targetElement, '__data__.data') as any as AXMOrganizationNode;
612
- // const allowedAddItems = await this.chartService.getAllowedAddMenuItems(node);
613
- // const allowDelete = node.type != AXMOrganizationNodeType.Company;
614
- // const isPasteAvailable = await this.chartService.isPasteAvailable();
615
- // const allowPaste = await this.chartService.allowPaste(node);
616
- // //
617
- // if (allowedAddItems.length) {
618
- // e.items.push({
619
- // text: 'Add New',
620
- // icon: 'fa-light fa-plus',
621
- // items: allowedAddItems,
622
- // break: allowDelete,
623
- // });
624
- // }
625
- // //
626
- // if (allowDelete) {
627
- // e.items.push({
628
- // name: 'cut',
629
- // text: 'Cut',
630
- // icon: 'fa-light fa-cut',
631
- // data: node,
632
- // });
633
- // e.items.push({
634
- // name: 'copy',
635
- // text: 'Copy',
636
- // icon: 'fa-light fa-copy',
637
- // data: node,
638
- // break: !isPasteAvailable,
639
- // });
640
- // }
641
- // if (isPasteAvailable) {
642
- // e.items.push({
643
- // name: 'paste',
644
- // text: 'Paste',
645
- // icon: 'fa-light fa-paste',
646
- // data: node,
647
- // break: true,
648
- // disabled: !allowPaste,
649
- // });
650
- // }
651
- // //
652
- // if (allowDelete) {
653
- // e.items.push({
654
- // name: 'remove',
655
- // text: 'Remove',
656
- // color: 'danger',
657
- // icon: 'fa-light fa-trash-can',
658
- // data: node,
659
- // });
660
- // }
661
- // //
662
- // if (e.items.length == 0) {
663
- // e.canceled = true;
664
- // }
665
- // }
666
- async handleContextMenuItemClick(e) {
667
- }
668
- //#endregion
669
- /**
670
- * Prints the organizational chart.
671
- */
672
- async printChart() {
673
- let [panX, panY, panZoomLevel] = [this.panX(), this.panY(), this.panZoomLevel()];
674
- this.panX.set(0), this.panY.set(0), this.panZoomLevel.set(100);
675
- await this.chartService.printChart(this.treeContainer().nativeElement);
676
- this.panX.set(panX), this.panY.set(panY), this.panZoomLevel.set(panZoomLevel);
677
- }
678
- /**
679
- * Gets the node colors based on the provided color.
680
- * @param color - The color to use for the node.
681
- * @returns An object containing the node's background, text, and border colors.
682
- */
683
- getNodeColors(color) {
684
- if (color.includes('surface')) {
685
- return {
686
- '--node-bg-color': `var(--ax-sys-color-${color})`,
687
- '--node-text-color': `var(--ax-sys-color-on-${color})`,
688
- '--node-border-color': `var(--ax-sys-color-border-${color})`,
689
- };
690
- }
691
- return {
692
- '--node-bg-color': `var(--ax-sys-color-${color}-surface)`,
693
- '--node-text-color': `var(--ax-sys-color-on-${color}-surface)`,
694
- '--node-border-color': `var(--ax-sys-color-border-${color}-surface)`,
695
- };
696
- }
697
- updateVar(oldValue, newValue) {
698
- oldValue.cat = newValue;
699
- }
700
- async getPageTitle() {
701
- return await this.translateService.translateAsync('@organization-management:organization-chart.components.chart.title');
702
- }
703
- async getPageDescription() {
704
- return await this.translateService.translateAsync('@organization-management:organization-chart.components.chart.description');
705
- }
706
- async getSecondaryMenuItems() {
707
- return [
708
- {
709
- ...getActionButton('print'),
710
- command: {
711
- name: 'print',
712
- },
713
- },
714
- {
715
- ...getActionButton('refresh'),
716
- command: {
717
- name: 'refresh',
718
- },
719
- }
720
- ];
721
- }
722
- async getPageBreadcrumbs() {
723
- return [
724
- {
725
- title: await this.translateService.translateAsync('@organization-management:module.menus.root.title')
726
- },
727
- ];
728
- }
729
- async execute(command) {
730
- if (command.name == 'print') {
731
- await this.printChart();
732
- }
733
- if (command.name == 'refresh') {
734
- await this.chartService.generate();
735
- await this.refresh();
736
- }
737
- }
738
- ngOnDestroy() {
739
- this.clearChart(this.treeContainer().nativeElement);
740
- }
741
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartPage, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
742
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: AXMOrgChartPage, isStandalone: true, selector: "ng-component", providers: [
743
- AXMOrgChartService,
744
- {
745
- provide: AXPPageLayoutBase,
746
- useExisting: AXMOrgChartPage
747
- },
748
- { provide: AXM_ORG_CHART_HOST, useExisting: AXMOrgChartPage }
749
- ], viewQueries: [{ propertyName: "treeContainer", first: true, predicate: ["chart"], descendants: true, isSignal: true }, { propertyName: "parent", first: true, predicate: ["parent"], descendants: true, isSignal: true }, { propertyName: "contextMenu", first: true, predicate: AXContextMenuComponent, descendants: true, isSignal: true }, { propertyName: "panView", first: true, predicate: AXPanViewDirective, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n <axp-page-content class=\"ax-overflow-hidden\">\n <div class=\"ax-h-[calc(100vh-290px)]\" #parent id=\"parent\">\n <div #chart axPanView [(panX)]=\"panX\" [(panY)]=\"panY\" [freeMode]=\"true\" [(zoom)]=\"panZoomLevel\"\n [fitContent]=\"true\" wrapperClasses=\"h\" class=\"ax-light\"></div>\n </div>\n </axp-page-content>\n <axp-page-footer>\n <!-- <axp-layout-prefix>\n <div class=\"ax-flex ax-gap-1 ax-light ax-flex-wrap ax-justify-center\">\n @let v = {cat:'Company'}; @for (item of nodeTypes; track $index) {\n <div class=\"axp-node-hint\" [style]=\"getNodeColors(item.color)\" [class.ax-ms-4]=\"v.cat!=item.category\">\n <div class=\"--badge\"></div>\n {{item.title}}\n </div>\n {{updateVar(v, item.category)}} }\n </div>\n </axp-layout-prefix> -->\n <axp-layout-suffix>\n <div class=\"ax-flex ax-gap-2\">\n <ax-button (onClick)=\"zoomOut()\">\n <ax-icon class=\"fa-solid fa-minus\"> </ax-icon>\n </ax-button>\n <ax-button [text]=\"panZoomLevel()\" (onClick)=\"zoomReset()\"></ax-button>\n <ax-button (onClick)=\"zoomIn()\">\n <ax-icon class=\"fa-solid fa-add\"> </ax-icon>\n </ax-button>\n <ax-button (onClick)=\"toggleFullscreen()\">\n <ax-icon>\n <i class=\"fa-solid\" [class]=\"isFullscreen()? 'fa-compress' : 'fa-expand'\"></i>\n </ax-icon>\n </ax-button>\n </div>\n </axp-layout-suffix>\n </axp-page-footer>\n</axp-page-layout>", styles: [".axp-node-hint{display:flex;align-items:center;justify-content:center;gap:.25rem;font-size:.75rem;line-height:1rem}.axp-node-hint>div.--badge{background-color:rgba(var(--node-bg-color));color:rgba(var(--node-text-color));display:flex;width:.75rem;height:.75rem;align-items:center;justify-content:center;border-radius:.125rem}.axp-chart-node{display:flex;align-items:center;justify-content:center}.axp-chart-node .--node-container{position:relative;cursor:pointer;--node-bg-color: var(--ax-sys-color-primary-surface);--node-text-color: var(--ax-sys-color-on-primary-surface);--node-border-color: var(--ax-sys-color-border-primary-surface)}.axp-chart-node .--node-container .--container{display:flex;max-height:100%;width:100%;flex-direction:column;overflow:hidden;border-radius:.375rem;border-width:1px;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border-color:rgba(var(--node-border-color))}.axp-chart-node .--node-container .--container .--heading-container{background-color:rgba(var(--node-bg-color));color:rgba(var(--node-text-color));width:100%;padding:.5rem .75rem}.axp-chart-node .--node-container .--container .--heading-container .--content{display:flex;width:100%;align-items:center;justify-content:center;gap:.5rem;overflow:hidden}.axp-chart-node .--node-container .--container .--heading-container .--content .--icon{background-color:color-mix(in srgb,rgba(var(--node-bg-color),1) 85%,black);display:flex;width:2.75rem;height:2.75rem;flex:none;align-items:center;justify-content:center;border-radius:.5rem}.axp-chart-node .--node-container .--container .--heading-container .--content .--badge{background-color:color-mix(in srgb,rgba(var(--node-bg-color),1) 85%,black);display:flex;width:1.5rem;height:1.5rem;flex:none;align-items:center;justify-content:center;border-radius:.375rem;line-height:1}.axp-chart-node .--node-container .--container .--heading-container .--content .--badge>span{font-size:.75rem;line-height:1rem}.axp-chart-node .--node-container .--container .--heading-container .--content .--titles{display:flex;width:100%;flex:1 1 0%;flex-direction:column;overflow:hidden}.axp-chart-node .--node-container .--container .--heading-container .--content .--titles .--title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.125rem;line-height:1.75rem;font-weight:600}.axp-chart-node .--node-container .--container .--heading-container .--content .--titles .--sub-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;opacity:.85}.axp-chart-node .--node-container .--container .--body-container{width:100%;--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-lightest-surface),var(--tw-bg-opacity, 1));padding:.5rem .75rem;--tw-text-opacity: 1;color:rgba(var(--ax-sys-color-on-lightest-surface),var(--tw-text-opacity, 1))}.axp-chart-node .--node-container .--container .--body-container .--description{text-align:center;font-size:.875rem;line-height:1rem;opacity:.85}.axp-chart-node .--node-container .--container .--toggle{position:absolute;left:0;right:0;bottom:-.75rem;display:flex;width:100%;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center}.axp-chart-node .--node-container .--container .--org-chart-person-row{box-sizing:border-box;display:flex;width:100%;min-width:0px;align-items:center;gap:.75rem;padding:.625rem .75rem;--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-lightest-surface),var(--tw-bg-opacity, 1))}.axp-chart-node .--node-container .--container .--merged-role-text,.axp-chart-node .--node-container .--container .--employee-text{display:flex;min-width:0px;flex:1 1 0%;flex-direction:column;gap:.125rem}.axp-chart-node .--node-container .--container .--merged-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:700;line-height:1.25;color:rgba(var(--ax-sys-color-on-surface))}.axp-chart-node .--node-container .--container .--merged-position,.axp-chart-node .--node-container .--container .--merged-position-sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:400;line-height:1.375;color:rgba(var(--ax-sys-color-on-surface-variant))}.axp-chart-node .--node-container .--container .--merged-vacant{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:500;text-transform:uppercase;letter-spacing:.025em;color:rgba(var(--ax-sys-color-on-surface-variant))}.axp-chart-node .--node-container.--merged-card .--container{min-width:280px}.axp-chart-node .--node-container.--merged-card.--vacant .--container{border-style:dashed;opacity:.95}.axp-chart-node .--node-container.--merged-card .--merged-top{background-color:rgba(var(--node-bg-color));color:rgba(var(--node-text-color));display:flex;flex-direction:column;gap:.125rem;padding:.5rem .75rem}.axp-chart-node .--node-container.--merged-card .--merged-top-compact{flex-direction:row;align-items:center;gap:.5rem}.axp-chart-node .--node-container.--merged-card .--merged-type-icon{opacity:.9}.axp-chart-node .--node-container.--merged-card .--merged-entity-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.5rem;font-weight:600;line-height:1.25}.axp-chart-node .--node-container.--merged-card .--merged-entity-desc{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:.75rem;line-height:1rem;opacity:.8}.axp-chart-node .--node-container.--merged-card .--merged-actions{margin-top:.25rem;display:flex;flex-wrap:wrap;gap:.25rem}.axp-chart-node .--node-container.--merged-card .--merged-stats{display:flex;align-items:baseline;gap:.5rem;border-top-width:1px;--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-lightest-surface),var(--tw-bg-opacity, 1));padding:.375rem .75rem;border-color:rgba(var(--ax-sys-color-border-neutral))}.axp-chart-node .--node-container.--merged-card .--merged-stat-n{font-size:.875rem;line-height:1.25rem;font-weight:600}.axp-chart-node .--node-container.--merged-card .--merged-stat-label{font-size:.75rem;line-height:1rem;opacity:.75}.axp-chart-node .--node-container.--ic-position.--vacant .--container{border-style:dashed}.axp-chart-node .--node-container.--ic-position .--ic-actions{justify-content:flex-end;padding-left:.5rem;padding-right:.5rem;padding-bottom:.5rem}.axp-chart-node .--node-container.--employee-card .--container{min-width:220px}#parent:fullscreen{background-color:rgba(var(--ax-sys-color-primary-lightest-surface))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type:
750
- //
751
- AXMenuModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDropdownButtonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i4.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "directive", type: AXPanViewDirective, selector: "[axPanView]", inputs: ["zoomStep", "minZoom", "maxZoom", "freeMode", "fitContent", "disablePan", "disableZoom", "wrapperClasses", "panX", "panY", "zoom"], outputs: ["panXChange", "panYChange", "zoomChange", "positionChange"], exportAs: ["axPanView"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type:
752
- //
753
- AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer-container, axp-page-footer, axp-page-header, axp-page-header-container, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
754
- }
755
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMOrgChartPage, decorators: [{
756
- type: Component,
757
- args: [{ imports: [
758
- CommonModule,
759
- RouterModule,
760
- //
761
- AXMenuModule,
762
- AXButtonModule,
763
- AXDropdownButtonModule,
764
- AXTranslationModule,
765
- AXDecoratorModule,
766
- AXPanViewDirective,
767
- AXLoadingModule,
768
- AXBreadcrumbsModule,
769
- AXBadgeModule,
770
- //
771
- AXPThemeLayoutBlockComponent,
772
- AXPPageLayoutComponent,
773
- ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
774
- AXMOrgChartService,
775
- {
776
- provide: AXPPageLayoutBase,
777
- useExisting: AXMOrgChartPage
778
- },
779
- { provide: AXM_ORG_CHART_HOST, useExisting: AXMOrgChartPage }
780
- ], template: "<axp-page-layout *translate=\"let t\">\n <axp-page-content class=\"ax-overflow-hidden\">\n <div class=\"ax-h-[calc(100vh-290px)]\" #parent id=\"parent\">\n <div #chart axPanView [(panX)]=\"panX\" [(panY)]=\"panY\" [freeMode]=\"true\" [(zoom)]=\"panZoomLevel\"\n [fitContent]=\"true\" wrapperClasses=\"h\" class=\"ax-light\"></div>\n </div>\n </axp-page-content>\n <axp-page-footer>\n <!-- <axp-layout-prefix>\n <div class=\"ax-flex ax-gap-1 ax-light ax-flex-wrap ax-justify-center\">\n @let v = {cat:'Company'}; @for (item of nodeTypes; track $index) {\n <div class=\"axp-node-hint\" [style]=\"getNodeColors(item.color)\" [class.ax-ms-4]=\"v.cat!=item.category\">\n <div class=\"--badge\"></div>\n {{item.title}}\n </div>\n {{updateVar(v, item.category)}} }\n </div>\n </axp-layout-prefix> -->\n <axp-layout-suffix>\n <div class=\"ax-flex ax-gap-2\">\n <ax-button (onClick)=\"zoomOut()\">\n <ax-icon class=\"fa-solid fa-minus\"> </ax-icon>\n </ax-button>\n <ax-button [text]=\"panZoomLevel()\" (onClick)=\"zoomReset()\"></ax-button>\n <ax-button (onClick)=\"zoomIn()\">\n <ax-icon class=\"fa-solid fa-add\"> </ax-icon>\n </ax-button>\n <ax-button (onClick)=\"toggleFullscreen()\">\n <ax-icon>\n <i class=\"fa-solid\" [class]=\"isFullscreen()? 'fa-compress' : 'fa-expand'\"></i>\n </ax-icon>\n </ax-button>\n </div>\n </axp-layout-suffix>\n </axp-page-footer>\n</axp-page-layout>", styles: [".axp-node-hint{display:flex;align-items:center;justify-content:center;gap:.25rem;font-size:.75rem;line-height:1rem}.axp-node-hint>div.--badge{background-color:rgba(var(--node-bg-color));color:rgba(var(--node-text-color));display:flex;width:.75rem;height:.75rem;align-items:center;justify-content:center;border-radius:.125rem}.axp-chart-node{display:flex;align-items:center;justify-content:center}.axp-chart-node .--node-container{position:relative;cursor:pointer;--node-bg-color: var(--ax-sys-color-primary-surface);--node-text-color: var(--ax-sys-color-on-primary-surface);--node-border-color: var(--ax-sys-color-border-primary-surface)}.axp-chart-node .--node-container .--container{display:flex;max-height:100%;width:100%;flex-direction:column;overflow:hidden;border-radius:.375rem;border-width:1px;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border-color:rgba(var(--node-border-color))}.axp-chart-node .--node-container .--container .--heading-container{background-color:rgba(var(--node-bg-color));color:rgba(var(--node-text-color));width:100%;padding:.5rem .75rem}.axp-chart-node .--node-container .--container .--heading-container .--content{display:flex;width:100%;align-items:center;justify-content:center;gap:.5rem;overflow:hidden}.axp-chart-node .--node-container .--container .--heading-container .--content .--icon{background-color:color-mix(in srgb,rgba(var(--node-bg-color),1) 85%,black);display:flex;width:2.75rem;height:2.75rem;flex:none;align-items:center;justify-content:center;border-radius:.5rem}.axp-chart-node .--node-container .--container .--heading-container .--content .--badge{background-color:color-mix(in srgb,rgba(var(--node-bg-color),1) 85%,black);display:flex;width:1.5rem;height:1.5rem;flex:none;align-items:center;justify-content:center;border-radius:.375rem;line-height:1}.axp-chart-node .--node-container .--container .--heading-container .--content .--badge>span{font-size:.75rem;line-height:1rem}.axp-chart-node .--node-container .--container .--heading-container .--content .--titles{display:flex;width:100%;flex:1 1 0%;flex-direction:column;overflow:hidden}.axp-chart-node .--node-container .--container .--heading-container .--content .--titles .--title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.125rem;line-height:1.75rem;font-weight:600}.axp-chart-node .--node-container .--container .--heading-container .--content .--titles .--sub-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;opacity:.85}.axp-chart-node .--node-container .--container .--body-container{width:100%;--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-lightest-surface),var(--tw-bg-opacity, 1));padding:.5rem .75rem;--tw-text-opacity: 1;color:rgba(var(--ax-sys-color-on-lightest-surface),var(--tw-text-opacity, 1))}.axp-chart-node .--node-container .--container .--body-container .--description{text-align:center;font-size:.875rem;line-height:1rem;opacity:.85}.axp-chart-node .--node-container .--container .--toggle{position:absolute;left:0;right:0;bottom:-.75rem;display:flex;width:100%;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center}.axp-chart-node .--node-container .--container .--org-chart-person-row{box-sizing:border-box;display:flex;width:100%;min-width:0px;align-items:center;gap:.75rem;padding:.625rem .75rem;--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-lightest-surface),var(--tw-bg-opacity, 1))}.axp-chart-node .--node-container .--container .--merged-role-text,.axp-chart-node .--node-container .--container .--employee-text{display:flex;min-width:0px;flex:1 1 0%;flex-direction:column;gap:.125rem}.axp-chart-node .--node-container .--container .--merged-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:700;line-height:1.25;color:rgba(var(--ax-sys-color-on-surface))}.axp-chart-node .--node-container .--container .--merged-position,.axp-chart-node .--node-container .--container .--merged-position-sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:400;line-height:1.375;color:rgba(var(--ax-sys-color-on-surface-variant))}.axp-chart-node .--node-container .--container .--merged-vacant{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:500;text-transform:uppercase;letter-spacing:.025em;color:rgba(var(--ax-sys-color-on-surface-variant))}.axp-chart-node .--node-container.--merged-card .--container{min-width:280px}.axp-chart-node .--node-container.--merged-card.--vacant .--container{border-style:dashed;opacity:.95}.axp-chart-node .--node-container.--merged-card .--merged-top{background-color:rgba(var(--node-bg-color));color:rgba(var(--node-text-color));display:flex;flex-direction:column;gap:.125rem;padding:.5rem .75rem}.axp-chart-node .--node-container.--merged-card .--merged-top-compact{flex-direction:row;align-items:center;gap:.5rem}.axp-chart-node .--node-container.--merged-card .--merged-type-icon{opacity:.9}.axp-chart-node .--node-container.--merged-card .--merged-entity-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.5rem;font-weight:600;line-height:1.25}.axp-chart-node .--node-container.--merged-card .--merged-entity-desc{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:.75rem;line-height:1rem;opacity:.8}.axp-chart-node .--node-container.--merged-card .--merged-actions{margin-top:.25rem;display:flex;flex-wrap:wrap;gap:.25rem}.axp-chart-node .--node-container.--merged-card .--merged-stats{display:flex;align-items:baseline;gap:.5rem;border-top-width:1px;--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-lightest-surface),var(--tw-bg-opacity, 1));padding:.375rem .75rem;border-color:rgba(var(--ax-sys-color-border-neutral))}.axp-chart-node .--node-container.--merged-card .--merged-stat-n{font-size:.875rem;line-height:1.25rem;font-weight:600}.axp-chart-node .--node-container.--merged-card .--merged-stat-label{font-size:.75rem;line-height:1rem;opacity:.75}.axp-chart-node .--node-container.--ic-position.--vacant .--container{border-style:dashed}.axp-chart-node .--node-container.--ic-position .--ic-actions{justify-content:flex-end;padding-left:.5rem;padding-right:.5rem;padding-bottom:.5rem}.axp-chart-node .--node-container.--employee-card .--container{min-width:220px}#parent:fullscreen{background-color:rgba(var(--ax-sys-color-primary-lightest-surface))}\n"] }]
781
- }], propDecorators: { treeContainer: [{ type: i0.ViewChild, args: ['chart', { isSignal: true }] }], parent: [{ type: i0.ViewChild, args: ['parent', { isSignal: true }] }], contextMenu: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXContextMenuComponent), { isSignal: true }] }], panView: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXPanViewDirective), { isSignal: true }] }] } });
782
-
783
- export { AXMOrgChartPage };
784
- //# sourceMappingURL=acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs.map