@acorex/modules 21.0.0-next.88 → 21.0.0-next.89

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 (289) hide show
  1. package/fesm2022/{acorex-modules-application-management-features-widget-view.component-uc8eGA-k.mjs → acorex-modules-application-management-features-widget-view.component-BNTT58PB.mjs} +2 -2
  2. package/fesm2022/{acorex-modules-application-management-features-widget-view.component-uc8eGA-k.mjs.map → acorex-modules-application-management-features-widget-view.component-BNTT58PB.mjs.map} +1 -1
  3. package/fesm2022/acorex-modules-application-management.mjs +1 -1
  4. package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-WGRBHMmQ.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-BDU2DZEq.mjs} +108 -53
  5. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-BDU2DZEq.mjs.map +1 -0
  6. package/fesm2022/{acorex-modules-assessment-management-assessment-session-answers-view.util-BWG9hI3t.mjs → acorex-modules-assessment-management-assessment-session-answers-view.util-CzgivU3s.mjs} +2 -2
  7. package/fesm2022/{acorex-modules-assessment-management-assessment-session-answers-view.util-BWG9hI3t.mjs.map → acorex-modules-assessment-management-assessment-session-answers-view.util-CzgivU3s.mjs.map} +1 -1
  8. package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-BtZ68Wt5.mjs → acorex-modules-assessment-management-fill-assessment-session.command-D6i0YZ3k.mjs} +2 -2
  9. package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-BtZ68Wt5.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-D6i0YZ3k.mjs.map} +1 -1
  10. package/fesm2022/{acorex-modules-assessment-management-index-_rWx2Vje.mjs → acorex-modules-assessment-management-index-BPQ9AiD6.mjs} +3 -3
  11. package/fesm2022/{acorex-modules-assessment-management-index-_rWx2Vje.mjs.map → acorex-modules-assessment-management-index-BPQ9AiD6.mjs.map} +1 -1
  12. package/fesm2022/{acorex-modules-assessment-management-index-CL6OmKwh.mjs → acorex-modules-assessment-management-index-BaMs2R6k.mjs} +3 -3
  13. package/fesm2022/{acorex-modules-assessment-management-index-CL6OmKwh.mjs.map → acorex-modules-assessment-management-index-BaMs2R6k.mjs.map} +1 -1
  14. package/fesm2022/{acorex-modules-assessment-management-index-BDqMpgdu.mjs → acorex-modules-assessment-management-index-YVENsZN4.mjs} +2 -2
  15. package/fesm2022/{acorex-modules-assessment-management-index-BDqMpgdu.mjs.map → acorex-modules-assessment-management-index-YVENsZN4.mjs.map} +1 -1
  16. package/fesm2022/{acorex-modules-assessment-management-index-BwZPHD1o.mjs → acorex-modules-assessment-management-index-oXkGQDat.mjs} +2 -2
  17. package/fesm2022/{acorex-modules-assessment-management-index-BwZPHD1o.mjs.map → acorex-modules-assessment-management-index-oXkGQDat.mjs.map} +1 -1
  18. package/fesm2022/{acorex-modules-assessment-management-preview-question.command-DMeQF_J0.mjs → acorex-modules-assessment-management-preview-question.command-B6rHNI4x.mjs} +2 -2
  19. package/fesm2022/{acorex-modules-assessment-management-preview-question.command-DMeQF_J0.mjs.map → acorex-modules-assessment-management-preview-question.command-B6rHNI4x.mjs.map} +1 -1
  20. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-CKmY95wj.mjs → acorex-modules-assessment-management-preview-questionnaire.command-DXB1Y7hz.mjs} +2 -2
  21. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-CKmY95wj.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-DXB1Y7hz.mjs.map} +1 -1
  22. package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-CXf2p-tS.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-D2CNfj8T.mjs} +2 -2
  23. package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-CXf2p-tS.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-D2CNfj8T.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-CLZuPzUo.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-CF_tV-2p.mjs} +2 -2
  25. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-CLZuPzUo.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-CF_tV-2p.mjs.map} +1 -1
  26. package/fesm2022/{acorex-modules-assessment-management-review-assessment-session.command-CcGyOKUI.mjs → acorex-modules-assessment-management-review-assessment-session.command-CtEvoUxA.mjs} +3 -3
  27. package/fesm2022/{acorex-modules-assessment-management-review-assessment-session.command-CcGyOKUI.mjs.map → acorex-modules-assessment-management-review-assessment-session.command-CtEvoUxA.mjs.map} +1 -1
  28. package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CmieuVjM.mjs → acorex-modules-assessment-management-view-session-answers.command-CkyBkiXC.mjs} +3 -3
  29. package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CmieuVjM.mjs.map → acorex-modules-assessment-management-view-session-answers.command-CkyBkiXC.mjs.map} +1 -1
  30. package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
  31. package/fesm2022/acorex-modules-asset-management.mjs +37 -23
  32. package/fesm2022/acorex-modules-asset-management.mjs.map +1 -1
  33. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CMRT9dQC.mjs → acorex-modules-auth-acorex-modules-auth-Nw701LHa.mjs} +30 -30
  34. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CMRT9dQC.mjs.map → acorex-modules-auth-acorex-modules-auth-Nw701LHa.mjs.map} +1 -1
  35. package/fesm2022/{acorex-modules-auth-app-chooser.component-mOPBXcQc.mjs → acorex-modules-auth-app-chooser.component-FqCIt_8E.mjs} +2 -2
  36. package/fesm2022/{acorex-modules-auth-app-chooser.component-mOPBXcQc.mjs.map → acorex-modules-auth-app-chooser.component-FqCIt_8E.mjs.map} +1 -1
  37. package/fesm2022/{acorex-modules-auth-change-password.command-CceYk6DE.mjs → acorex-modules-auth-change-password.command-DND9Oka4.mjs} +2 -2
  38. package/fesm2022/{acorex-modules-auth-change-password.command-CceYk6DE.mjs.map → acorex-modules-auth-change-password.command-DND9Oka4.mjs.map} +1 -1
  39. package/fesm2022/{acorex-modules-auth-edit-account-info.command-jF8A_Jsy.mjs → acorex-modules-auth-edit-account-info.command-bmdkZzYt.mjs} +2 -2
  40. package/fesm2022/{acorex-modules-auth-edit-account-info.command-jF8A_Jsy.mjs.map → acorex-modules-auth-edit-account-info.command-bmdkZzYt.mjs.map} +1 -1
  41. package/fesm2022/{acorex-modules-auth-lock-screen.command-BvruxuiF.mjs → acorex-modules-auth-lock-screen.command-DSGXqDVD.mjs} +2 -2
  42. package/fesm2022/{acorex-modules-auth-lock-screen.command-BvruxuiF.mjs.map → acorex-modules-auth-lock-screen.command-DSGXqDVD.mjs.map} +1 -1
  43. package/fesm2022/{acorex-modules-auth-login.module-CmBClJv2.mjs → acorex-modules-auth-login.module-DC3dzDf0.mjs} +4 -4
  44. package/fesm2022/{acorex-modules-auth-login.module-CmBClJv2.mjs.map → acorex-modules-auth-login.module-DC3dzDf0.mjs.map} +1 -1
  45. package/fesm2022/{acorex-modules-auth-master.layout-CLGmgSqo.mjs → acorex-modules-auth-master.layout-iMOvevEv.mjs} +2 -2
  46. package/fesm2022/{acorex-modules-auth-master.layout-CLGmgSqo.mjs.map → acorex-modules-auth-master.layout-iMOvevEv.mjs.map} +1 -1
  47. package/fesm2022/{acorex-modules-auth-oauth-callback.component-yxfNoBS-.mjs → acorex-modules-auth-oauth-callback.component-s9WMG92M.mjs} +3 -3
  48. package/fesm2022/{acorex-modules-auth-oauth-callback.component-yxfNoBS-.mjs.map → acorex-modules-auth-oauth-callback.component-s9WMG92M.mjs.map} +1 -1
  49. package/fesm2022/{acorex-modules-auth-open-sessions.command-DsWueHa3.mjs → acorex-modules-auth-open-sessions.command-CLL8rgjE.mjs} +2 -2
  50. package/fesm2022/{acorex-modules-auth-open-sessions.command-DsWueHa3.mjs.map → acorex-modules-auth-open-sessions.command-CLL8rgjE.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-auth-password.component-C3_tAt8j.mjs → acorex-modules-auth-password.component-BOEi91f7.mjs} +2 -2
  52. package/fesm2022/{acorex-modules-auth-password.component-C3_tAt8j.mjs.map → acorex-modules-auth-password.component-BOEi91f7.mjs.map} +1 -1
  53. package/fesm2022/{acorex-modules-auth-password.component-BrTEuc51.mjs → acorex-modules-auth-password.component-eA_3LtcO.mjs} +2 -2
  54. package/fesm2022/{acorex-modules-auth-password.component-BrTEuc51.mjs.map → acorex-modules-auth-password.component-eA_3LtcO.mjs.map} +1 -1
  55. package/fesm2022/{acorex-modules-auth-profile-activity-chart.component-C6_0oeCC.mjs → acorex-modules-auth-profile-activity-chart.component-BK1k4Lrh.mjs} +2 -2
  56. package/fesm2022/{acorex-modules-auth-profile-activity-chart.component-C6_0oeCC.mjs.map → acorex-modules-auth-profile-activity-chart.component-BK1k4Lrh.mjs.map} +1 -1
  57. package/fesm2022/{acorex-modules-auth-profile-delete-account-danger-zone.component-EhmuT88j.mjs → acorex-modules-auth-profile-delete-account-danger-zone.component-CHru1be-.mjs} +2 -2
  58. package/fesm2022/{acorex-modules-auth-profile-delete-account-danger-zone.component-EhmuT88j.mjs.map → acorex-modules-auth-profile-delete-account-danger-zone.component-CHru1be-.mjs.map} +1 -1
  59. package/fesm2022/{acorex-modules-auth-profile-page-component.provider-BHEdqBbF.mjs → acorex-modules-auth-profile-page-component.provider-MCsUPTrt.mjs} +4 -4
  60. package/fesm2022/{acorex-modules-auth-profile-page-component.provider-BHEdqBbF.mjs.map → acorex-modules-auth-profile-page-component.provider-MCsUPTrt.mjs.map} +1 -1
  61. package/fesm2022/{acorex-modules-auth-profile-page.component-Q0ixAWtC.mjs → acorex-modules-auth-profile-page.component-DOj2GhFJ.mjs} +2 -2
  62. package/fesm2022/{acorex-modules-auth-profile-page.component-Q0ixAWtC.mjs.map → acorex-modules-auth-profile-page.component-DOj2GhFJ.mjs.map} +1 -1
  63. package/fesm2022/{acorex-modules-auth-remove-pin-code.command-j5iobHAs.mjs → acorex-modules-auth-remove-pin-code.command-CqRxKR4Y.mjs} +2 -2
  64. package/fesm2022/{acorex-modules-auth-remove-pin-code.command-j5iobHAs.mjs.map → acorex-modules-auth-remove-pin-code.command-CqRxKR4Y.mjs.map} +1 -1
  65. package/fesm2022/{acorex-modules-auth-routes-BFACBfAG.mjs → acorex-modules-auth-routes-FZRnzT9V.mjs} +2 -2
  66. package/fesm2022/{acorex-modules-auth-routes-BFACBfAG.mjs.map → acorex-modules-auth-routes-FZRnzT9V.mjs.map} +1 -1
  67. package/fesm2022/{acorex-modules-auth-session-lock-overlay.component-flpWlR8p.mjs → acorex-modules-auth-session-lock-overlay.component-6o2uU9U5.mjs} +2 -2
  68. package/fesm2022/{acorex-modules-auth-session-lock-overlay.component-flpWlR8p.mjs.map → acorex-modules-auth-session-lock-overlay.component-6o2uU9U5.mjs.map} +1 -1
  69. package/fesm2022/{acorex-modules-auth-set-pin-code.command-B0sXGsok.mjs → acorex-modules-auth-set-pin-code.command-CsXJ30Fs.mjs} +2 -2
  70. package/fesm2022/{acorex-modules-auth-set-pin-code.command-B0sXGsok.mjs.map → acorex-modules-auth-set-pin-code.command-CsXJ30Fs.mjs.map} +1 -1
  71. package/fesm2022/{acorex-modules-auth-set-pin-code.component-D95Hn8R-.mjs → acorex-modules-auth-set-pin-code.component-DJhqru7e.mjs} +2 -2
  72. package/fesm2022/{acorex-modules-auth-set-pin-code.component-D95Hn8R-.mjs.map → acorex-modules-auth-set-pin-code.component-DJhqru7e.mjs.map} +1 -1
  73. package/fesm2022/{acorex-modules-auth-settings.provider-D0-hEHd2.mjs → acorex-modules-auth-settings.provider-BJ7lDjbr.mjs} +2 -2
  74. package/fesm2022/{acorex-modules-auth-settings.provider-D0-hEHd2.mjs.map → acorex-modules-auth-settings.provider-BJ7lDjbr.mjs.map} +1 -1
  75. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DBIVSBaM.mjs → acorex-modules-auth-tenant-chooser.component-DR7rH0m1.mjs} +2 -2
  76. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DBIVSBaM.mjs.map → acorex-modules-auth-tenant-chooser.component-DR7rH0m1.mjs.map} +1 -1
  77. package/fesm2022/{acorex-modules-auth-two-factor.module-DwXsAUlJ.mjs → acorex-modules-auth-two-factor.module-BvvDIlqe.mjs} +2 -2
  78. package/fesm2022/{acorex-modules-auth-two-factor.module-DwXsAUlJ.mjs.map → acorex-modules-auth-two-factor.module-BvvDIlqe.mjs.map} +1 -1
  79. package/fesm2022/{acorex-modules-auth-view-login-history.command-BpCog3dx.mjs → acorex-modules-auth-view-login-history.command-BUiXUbjA.mjs} +2 -2
  80. package/fesm2022/{acorex-modules-auth-view-login-history.command-BpCog3dx.mjs.map → acorex-modules-auth-view-login-history.command-BUiXUbjA.mjs.map} +1 -1
  81. package/fesm2022/acorex-modules-auth.mjs +1 -1
  82. package/fesm2022/acorex-modules-business-core.mjs +0 -6
  83. package/fesm2022/acorex-modules-business-core.mjs.map +1 -1
  84. package/fesm2022/{acorex-modules-common-search-popup.component-6_qrYkc2.mjs → acorex-modules-common-search-popup.component-BhItO3Sr.mjs} +2 -2
  85. package/fesm2022/{acorex-modules-common-search-popup.component-6_qrYkc2.mjs.map → acorex-modules-common-search-popup.component-BhItO3Sr.mjs.map} +1 -1
  86. package/fesm2022/acorex-modules-common.mjs +30 -43
  87. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  88. package/fesm2022/{acorex-modules-contact-core-acorex-modules-contact-core-CBMdv1GN.mjs → acorex-modules-contact-core-acorex-modules-contact-core-CELmV51p.mjs} +8 -7
  89. package/fesm2022/acorex-modules-contact-core-acorex-modules-contact-core-CELmV51p.mjs.map +1 -0
  90. package/fesm2022/{acorex-modules-contact-core-entity.provider-B8__CVGP.mjs → acorex-modules-contact-core-entity.provider-AH-gvpLJ.mjs} +3 -3
  91. package/fesm2022/{acorex-modules-contact-core-entity.provider-B8__CVGP.mjs.map → acorex-modules-contact-core-entity.provider-AH-gvpLJ.mjs.map} +1 -1
  92. package/fesm2022/{acorex-modules-contact-core-menu.provider-C-iEIPGe.mjs → acorex-modules-contact-core-menu.provider-T9IuzSBf.mjs} +11 -5
  93. package/fesm2022/acorex-modules-contact-core-menu.provider-T9IuzSBf.mjs.map +1 -0
  94. package/fesm2022/{acorex-modules-contact-core-permission-definition.provider-DXjdp846.mjs → acorex-modules-contact-core-permission-definition.provider-CnxI1ujq.mjs} +2 -2
  95. package/fesm2022/{acorex-modules-contact-core-permission-definition.provider-DXjdp846.mjs.map → acorex-modules-contact-core-permission-definition.provider-CnxI1ujq.mjs.map} +1 -1
  96. package/fesm2022/acorex-modules-contact-core.mjs +1 -1
  97. package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-CUjTT3M7.mjs → acorex-modules-conversation-acorex-modules-conversation-B_JcAHvL.mjs} +6394 -3666
  98. package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-B_JcAHvL.mjs.map +1 -0
  99. package/fesm2022/acorex-modules-conversation-after-message-sent.command-DcrS7_vV.mjs +34 -0
  100. package/fesm2022/acorex-modules-conversation-after-message-sent.command-DcrS7_vV.mjs.map +1 -0
  101. package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-CGcngwdA.mjs → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BCkJEAmX.mjs} +5 -5
  102. package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-CGcngwdA.mjs.map → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BCkJEAmX.mjs.map} +1 -1
  103. package/fesm2022/{acorex-modules-conversation-comments-page.component-hopaF6xW.mjs → acorex-modules-conversation-comments-page.component-B6TJhe4T.mjs} +2 -2
  104. package/fesm2022/{acorex-modules-conversation-comments-page.component-hopaF6xW.mjs.map → acorex-modules-conversation-comments-page.component-B6TJhe4T.mjs.map} +1 -1
  105. package/fesm2022/acorex-modules-conversation-emit-typing-indicator.command-CWRdPl-S.mjs +30 -0
  106. package/fesm2022/acorex-modules-conversation-emit-typing-indicator.command-CWRdPl-S.mjs.map +1 -0
  107. package/fesm2022/acorex-modules-conversation-mark-conversation-unread.command-CZlsLAsb.mjs +30 -0
  108. package/fesm2022/acorex-modules-conversation-mark-conversation-unread.command-CZlsLAsb.mjs.map +1 -0
  109. package/fesm2022/acorex-modules-conversation-retry-assist-response.command-Cly1-RKt.mjs +34 -0
  110. package/fesm2022/acorex-modules-conversation-retry-assist-response.command-Cly1-RKt.mjs.map +1 -0
  111. package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-CqDrZKFK.mjs → acorex-modules-conversation-send-assist-chat-message.command-D5QWTKqh.mjs} +19 -9
  112. package/fesm2022/acorex-modules-conversation-send-assist-chat-message.command-D5QWTKqh.mjs.map +1 -0
  113. package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-DiDAz-Is.mjs → acorex-modules-conversation-start-assist-chat.command-DkSZj8fj.mjs} +2 -2
  114. package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-DiDAz-Is.mjs.map → acorex-modules-conversation-start-assist-chat.command-DkSZj8fj.mjs.map} +1 -1
  115. package/fesm2022/acorex-modules-conversation-sync-read-state.command-jiEsdxUB.mjs +62 -0
  116. package/fesm2022/acorex-modules-conversation-sync-read-state.command-jiEsdxUB.mjs.map +1 -0
  117. package/fesm2022/acorex-modules-conversation.mjs +1 -1
  118. package/fesm2022/acorex-modules-customer-management.mjs +2 -2
  119. package/fesm2022/acorex-modules-customer-management.mjs.map +1 -1
  120. package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-Lx3VuIg6.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-DLuhOPFz.mjs} +1034 -395
  121. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DLuhOPFz.mjs.map +1 -0
  122. package/fesm2022/{acorex-modules-dashboard-management-index-DvY9N8FF.mjs → acorex-modules-dashboard-management-index-gjCiELmH.mjs} +2 -2
  123. package/fesm2022/{acorex-modules-dashboard-management-index-DvY9N8FF.mjs.map → acorex-modules-dashboard-management-index-gjCiELmH.mjs.map} +1 -1
  124. package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
  125. package/fesm2022/{acorex-modules-data-management-index-CxVSgxTM.mjs → acorex-modules-data-management-index-BYQncZ6e.mjs} +28 -6
  126. package/fesm2022/acorex-modules-data-management-index-BYQncZ6e.mjs.map +1 -0
  127. package/fesm2022/acorex-modules-data-management.mjs +6 -6
  128. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  129. package/fesm2022/acorex-modules-document-management.mjs +4 -4
  130. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  131. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-cLToc9fP.mjs → acorex-modules-form-template-management-template-picker.component-BGf98ooQ.mjs} +2 -2
  132. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-cLToc9fP.mjs.map → acorex-modules-form-template-management-template-picker.component-BGf98ooQ.mjs.map} +1 -1
  133. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  134. package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-DpVAfk3i.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-VJ2NUSm1.mjs} +20 -20
  135. package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-DpVAfk3i.mjs.map → acorex-modules-human-capital-management-acorex-modules-human-capital-management-VJ2NUSm1.mjs.map} +1 -1
  136. package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-BDv_eotn.mjs → acorex-modules-human-capital-management-approve-leave-request.command-FgXkyZR_.mjs} +2 -2
  137. package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-BDv_eotn.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-FgXkyZR_.mjs.map} +1 -1
  138. package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-CT49oS39.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-D2yCvifI.mjs} +2 -2
  139. package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-CT49oS39.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-D2yCvifI.mjs.map} +1 -1
  140. package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-zAunbLbf.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-DnmsVNwU.mjs} +2 -2
  141. package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-zAunbLbf.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-DnmsVNwU.mjs.map} +1 -1
  142. package/fesm2022/{acorex-modules-human-capital-management-edit-personal-info.command-8LKMNm4Z.mjs → acorex-modules-human-capital-management-edit-personal-info.command-B0ZUfbqn.mjs} +2 -6
  143. package/fesm2022/acorex-modules-human-capital-management-edit-personal-info.command-B0ZUfbqn.mjs.map +1 -0
  144. package/fesm2022/{acorex-modules-human-capital-management-edit-signature.command-BQ6Ysh-A.mjs → acorex-modules-human-capital-management-edit-signature.command-h2kTqSg0.mjs} +2 -2
  145. package/fesm2022/{acorex-modules-human-capital-management-edit-signature.command-BQ6Ysh-A.mjs.map → acorex-modules-human-capital-management-edit-signature.command-h2kTqSg0.mjs.map} +1 -1
  146. package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-CEAUhv0o.mjs → acorex-modules-human-capital-management-reject-leave-request.command-BdrdgvbN.mjs} +2 -2
  147. package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-CEAUhv0o.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-BdrdgvbN.mjs.map} +1 -1
  148. package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-DakWOslg.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-S7Px6Y4B.mjs} +2 -2
  149. package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-DakWOslg.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-S7Px6Y4B.mjs.map} +1 -1
  150. package/fesm2022/{acorex-modules-human-capital-management-start-leave-request-flow.command-BXMGzUuM.mjs → acorex-modules-human-capital-management-start-leave-request-flow.command-C_tE-D_Y.mjs} +2 -2
  151. package/fesm2022/{acorex-modules-human-capital-management-start-leave-request-flow.command-BXMGzUuM.mjs.map → acorex-modules-human-capital-management-start-leave-request-flow.command-C_tE-D_Y.mjs.map} +1 -1
  152. package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-B1s_i8U3.mjs → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-mMP3Yy01.mjs} +2 -2
  153. package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-B1s_i8U3.mjs.map → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-mMP3Yy01.mjs.map} +1 -1
  154. package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
  155. package/fesm2022/acorex-modules-learning-management.mjs +1 -1
  156. package/fesm2022/acorex-modules-learning-management.mjs.map +1 -1
  157. package/fesm2022/acorex-modules-location-management.mjs +2 -2
  158. package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
  159. package/fesm2022/acorex-modules-meeting-management.mjs +1 -1
  160. package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
  161. package/fesm2022/{acorex-modules-notification-management-acorex-modules-notification-management-DZSXFNgo.mjs → acorex-modules-notification-management-acorex-modules-notification-management-DZWUyu54.mjs} +4 -4
  162. package/fesm2022/{acorex-modules-notification-management-acorex-modules-notification-management-DZSXFNgo.mjs.map → acorex-modules-notification-management-acorex-modules-notification-management-DZWUyu54.mjs.map} +1 -1
  163. package/fesm2022/{acorex-modules-notification-management-notification-page.component-swzDjJUP.mjs → acorex-modules-notification-management-notification-page.component-BNxTMY-C.mjs} +3 -3
  164. package/fesm2022/{acorex-modules-notification-management-notification-page.component-swzDjJUP.mjs.map → acorex-modules-notification-management-notification-page.component-BNxTMY-C.mjs.map} +1 -1
  165. package/fesm2022/acorex-modules-notification-management.mjs +1 -1
  166. package/fesm2022/{acorex-modules-organization-management-acorex-modules-organization-management-B6zOrUAS.mjs → acorex-modules-organization-management-acorex-modules-organization-management-BjKrMO_L.mjs} +37 -37
  167. package/fesm2022/{acorex-modules-organization-management-acorex-modules-organization-management-B6zOrUAS.mjs.map → acorex-modules-organization-management-acorex-modules-organization-management-BjKrMO_L.mjs.map} +1 -1
  168. package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BG6AQs-j.mjs → acorex-modules-organization-management-add-business-unit-to-business-unit.command-CgqydSZh.mjs} +2 -2
  169. package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BG6AQs-j.mjs.map → acorex-modules-organization-management-add-business-unit-to-business-unit.command-CgqydSZh.mjs.map} +1 -1
  170. package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-DzA0h9ED.mjs → acorex-modules-organization-management-add-position-to-business-unit.command-B_BIg-aF.mjs} +2 -2
  171. package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-DzA0h9ED.mjs.map → acorex-modules-organization-management-add-position-to-business-unit.command-B_BIg-aF.mjs.map} +1 -1
  172. package/fesm2022/{acorex-modules-organization-management-add-team-to-business-unit.command-5ZGzmp95.mjs → acorex-modules-organization-management-add-team-to-business-unit.command-zFql0VH1.mjs} +2 -2
  173. package/fesm2022/{acorex-modules-organization-management-add-team-to-business-unit.command-5ZGzmp95.mjs.map → acorex-modules-organization-management-add-team-to-business-unit.command-zFql0VH1.mjs.map} +1 -1
  174. package/fesm2022/{acorex-modules-organization-management-entity.provider-DKhXlL2j.mjs → acorex-modules-organization-management-entity.provider-Buchg68Q.mjs} +15 -15
  175. package/fesm2022/{acorex-modules-organization-management-entity.provider-DKhXlL2j.mjs.map → acorex-modules-organization-management-entity.provider-Buchg68Q.mjs.map} +1 -1
  176. package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-DhCn97pE.mjs → acorex-modules-organization-management-feature-definition.provider-CulEun4H.mjs} +2 -2
  177. package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-DhCn97pE.mjs.map → acorex-modules-organization-management-feature-definition.provider-CulEun4H.mjs.map} +1 -1
  178. package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-C1WFmQ2x.mjs → acorex-modules-organization-management-job-definition-pages-component.provider-D3k2BNKU.mjs} +4 -4
  179. package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-C1WFmQ2x.mjs.map → acorex-modules-organization-management-job-definition-pages-component.provider-D3k2BNKU.mjs.map} +1 -1
  180. package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-Bs28OWW8.mjs → acorex-modules-organization-management-job-definition-responsibilities-page.component-CSwHAkh5.mjs} +3 -3
  181. package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-Bs28OWW8.mjs.map → acorex-modules-organization-management-job-definition-responsibilities-page.component-CSwHAkh5.mjs.map} +1 -1
  182. package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-C66FEcxc.mjs → acorex-modules-organization-management-job-definition-skills-page.component-CVo37Mx0.mjs} +2 -2
  183. package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-C66FEcxc.mjs.map → acorex-modules-organization-management-job-definition-skills-page.component-CVo37Mx0.mjs.map} +1 -1
  184. package/fesm2022/{acorex-modules-organization-management-job-level.datasource-DcOVF99r.mjs → acorex-modules-organization-management-job-level.datasource-CMxMInko.mjs} +2 -2
  185. package/fesm2022/{acorex-modules-organization-management-job-level.datasource-DcOVF99r.mjs.map → acorex-modules-organization-management-job-level.datasource-CMxMInko.mjs.map} +1 -1
  186. package/fesm2022/{acorex-modules-organization-management-menu.provider-B0v8w3eH.mjs → acorex-modules-organization-management-menu.provider-BL99vlod.mjs} +3 -3
  187. package/fesm2022/{acorex-modules-organization-management-menu.provider-B0v8w3eH.mjs.map → acorex-modules-organization-management-menu.provider-BL99vlod.mjs.map} +1 -1
  188. package/fesm2022/{acorex-modules-organization-management-org-chart-default-node-contribution.provider-B07M8tKi.mjs → acorex-modules-organization-management-org-chart-default-node-contribution.provider-CfvmOwYD.mjs} +2 -2
  189. package/fesm2022/{acorex-modules-organization-management-org-chart-default-node-contribution.provider-B07M8tKi.mjs.map → acorex-modules-organization-management-org-chart-default-node-contribution.provider-CfvmOwYD.mjs.map} +1 -1
  190. package/fesm2022/{acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-DSvij02R.mjs → acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-CsvhhcoW.mjs} +2 -2
  191. package/fesm2022/{acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-DSvij02R.mjs.map → acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-CsvhhcoW.mjs.map} +1 -1
  192. package/fesm2022/{acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-BYWq-Aco.mjs → acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-Dvo2XEHn.mjs} +2 -2
  193. package/fesm2022/{acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-BYWq-Aco.mjs.map → acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-Dvo2XEHn.mjs.map} +1 -1
  194. package/fesm2022/{acorex-modules-organization-management-org-chart-ux-node-contribution.provider-DiMvAEbk.mjs → acorex-modules-organization-management-org-chart-ux-node-contribution.provider-BsBsdoII.mjs} +2 -2
  195. package/fesm2022/{acorex-modules-organization-management-org-chart-ux-node-contribution.provider-DiMvAEbk.mjs.map → acorex-modules-organization-management-org-chart-ux-node-contribution.provider-BsBsdoII.mjs.map} +1 -1
  196. package/fesm2022/{acorex-modules-organization-management-org-chart.page-DwHB4ZGl.mjs → acorex-modules-organization-management-org-chart.page-DJNfsp4z.mjs} +2 -2
  197. package/fesm2022/{acorex-modules-organization-management-org-chart.page-DwHB4ZGl.mjs.map → acorex-modules-organization-management-org-chart.page-DJNfsp4z.mjs.map} +1 -1
  198. package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-CynLhaYz.mjs → acorex-modules-organization-management-permission-definition.provider-CuReVYo1.mjs} +2 -2
  199. package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-CynLhaYz.mjs.map → acorex-modules-organization-management-permission-definition.provider-CuReVYo1.mjs.map} +1 -1
  200. package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-DUgDxwtI.mjs → acorex-modules-organization-management-remove-position-from-business-unit.command-mPTX8Vpc.mjs} +2 -2
  201. package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-DUgDxwtI.mjs.map → acorex-modules-organization-management-remove-position-from-business-unit.command-mPTX8Vpc.mjs.map} +1 -1
  202. package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-BTAwsZNP.mjs → acorex-modules-organization-management-replace-position-assignee.command-DibpVA88.mjs} +2 -2
  203. package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-BTAwsZNP.mjs.map → acorex-modules-organization-management-replace-position-assignee.command-DibpVA88.mjs.map} +1 -1
  204. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-D904V181.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-zN1Vz3Om.mjs} +2 -2
  205. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-D904V181.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-zN1Vz3Om.mjs.map} +1 -1
  206. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BMFws_6Y.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BYOs9nrw.mjs} +2 -2
  207. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BMFws_6Y.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BYOs9nrw.mjs.map} +1 -1
  208. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-DXmsR1qV.mjs → acorex-modules-organization-management-responsibilities-matrix.component-DVlThT1h.mjs} +2 -2
  209. package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-DXmsR1qV.mjs.map → acorex-modules-organization-management-responsibilities-matrix.component-DVlThT1h.mjs.map} +1 -1
  210. package/fesm2022/{acorex-modules-organization-management-settings.provider-UFqps4Zg.mjs → acorex-modules-organization-management-settings.provider-BxoCS3w7.mjs} +2 -2
  211. package/fesm2022/{acorex-modules-organization-management-settings.provider-UFqps4Zg.mjs.map → acorex-modules-organization-management-settings.provider-BxoCS3w7.mjs.map} +1 -1
  212. package/fesm2022/acorex-modules-organization-management.mjs +1 -1
  213. package/fesm2022/acorex-modules-person-core.mjs +0 -6
  214. package/fesm2022/acorex-modules-person-core.mjs.map +1 -1
  215. package/fesm2022/acorex-modules-platform-dev-tools.mjs +2 -2
  216. package/fesm2022/acorex-modules-platform-dev-tools.mjs.map +1 -1
  217. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DsKPOWpy.mjs → acorex-modules-platform-management-acorex-modules-platform-management-B5hMhQp-.mjs} +2 -2
  218. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DsKPOWpy.mjs.map → acorex-modules-platform-management-acorex-modules-platform-management-B5hMhQp-.mjs.map} +1 -1
  219. package/fesm2022/{acorex-modules-platform-management-menu-list.component-Br4nL9zq.mjs → acorex-modules-platform-management-menu-list.component-DcOr1v-f.mjs} +3 -3
  220. package/fesm2022/{acorex-modules-platform-management-menu-list.component-Br4nL9zq.mjs.map → acorex-modules-platform-management-menu-list.component-DcOr1v-f.mjs.map} +1 -1
  221. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  222. package/fesm2022/acorex-modules-product-catalog.mjs +7 -6
  223. package/fesm2022/acorex-modules-product-catalog.mjs.map +1 -1
  224. package/fesm2022/acorex-modules-project-management.mjs +1 -1
  225. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  226. package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-DaPEmTm9.mjs → acorex-modules-report-management-report-runner-root-page.component-CgrBAgqq.mjs} +2 -2
  227. package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-DaPEmTm9.mjs.map → acorex-modules-report-management-report-runner-root-page.component-CgrBAgqq.mjs.map} +1 -1
  228. package/fesm2022/acorex-modules-report-management.mjs +7 -7
  229. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  230. package/fesm2022/acorex-modules-risk-management-preview-risk-matrix-cell.command-CWG3zUBo.mjs +120 -0
  231. package/fesm2022/acorex-modules-risk-management-preview-risk-matrix-cell.command-CWG3zUBo.mjs.map +1 -0
  232. package/fesm2022/acorex-modules-risk-management.mjs +13 -0
  233. package/fesm2022/acorex-modules-risk-management.mjs.map +1 -1
  234. package/fesm2022/acorex-modules-security-management.mjs +1 -1
  235. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  236. package/fesm2022/{acorex-modules-settings-management-setting-view.component-CG-GW2yS.mjs → acorex-modules-settings-management-setting-view.component-BRhZR1br.mjs} +109 -15
  237. package/fesm2022/acorex-modules-settings-management-setting-view.component-BRhZR1br.mjs.map +1 -0
  238. package/fesm2022/acorex-modules-settings-management.mjs +1 -1
  239. package/fesm2022/acorex-modules-supplier-management.mjs +1 -1
  240. package/fesm2022/acorex-modules-supplier-management.mjs.map +1 -1
  241. package/fesm2022/{acorex-modules-task-management-task-board.page-FFhsAyHF.mjs → acorex-modules-task-management-task-board.page-DTWxd_vG.mjs} +41 -32
  242. package/fesm2022/acorex-modules-task-management-task-board.page-DTWxd_vG.mjs.map +1 -0
  243. package/fesm2022/acorex-modules-task-management.mjs +55 -23
  244. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  245. package/fesm2022/{acorex-modules-workflow-management-acorex-modules-workflow-management-DJeUheQT.mjs → acorex-modules-workflow-management-acorex-modules-workflow-management-D04WU8wX.mjs} +32 -25
  246. package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-D04WU8wX.mjs.map +1 -0
  247. package/fesm2022/{acorex-modules-workflow-management-index--6gz3uRb.mjs → acorex-modules-workflow-management-index-Bfzsu6VL.mjs} +2 -2
  248. package/fesm2022/{acorex-modules-workflow-management-index--6gz3uRb.mjs.map → acorex-modules-workflow-management-index-Bfzsu6VL.mjs.map} +1 -1
  249. package/fesm2022/{acorex-modules-workflow-management-index-DV7Uf5hP.mjs → acorex-modules-workflow-management-index-CG1-u2Va.mjs} +3 -3
  250. package/fesm2022/{acorex-modules-workflow-management-index-DV7Uf5hP.mjs.map → acorex-modules-workflow-management-index-CG1-u2Va.mjs.map} +1 -1
  251. package/fesm2022/{acorex-modules-workflow-management-index-C702Snjg.mjs → acorex-modules-workflow-management-index-DtKZARCI.mjs} +3 -3
  252. package/fesm2022/{acorex-modules-workflow-management-index-C702Snjg.mjs.map → acorex-modules-workflow-management-index-DtKZARCI.mjs.map} +1 -1
  253. package/fesm2022/{acorex-modules-workflow-management-save-workflow-definition-activities.command-C60ABOUE.mjs → acorex-modules-workflow-management-save-workflow-definition-activities.command-80PIS1oE.mjs} +2 -2
  254. package/fesm2022/{acorex-modules-workflow-management-save-workflow-definition-activities.command-C60ABOUE.mjs.map → acorex-modules-workflow-management-save-workflow-definition-activities.command-80PIS1oE.mjs.map} +1 -1
  255. package/fesm2022/{acorex-modules-workflow-management-workflow-configurator-widget-column.component-ChnPuG_J.mjs → acorex-modules-workflow-management-workflow-configurator-widget-column.component-CXhrrqa_.mjs} +2 -2
  256. package/fesm2022/{acorex-modules-workflow-management-workflow-configurator-widget-column.component-ChnPuG_J.mjs.map → acorex-modules-workflow-management-workflow-configurator-widget-column.component-CXhrrqa_.mjs.map} +1 -1
  257. package/fesm2022/{acorex-modules-workflow-management-workflow-configurator-widget-edit.component-BqydSkbP.mjs → acorex-modules-workflow-management-workflow-configurator-widget-edit.component-CzPQUA9m.mjs} +47 -25
  258. package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-edit.component-CzPQUA9m.mjs.map +1 -0
  259. package/fesm2022/{acorex-modules-workflow-management-workflow-run-history-popup.component-D_yi-Ccp.mjs → acorex-modules-workflow-management-workflow-run-history-popup.component-CTs6Sdm2.mjs} +2 -2
  260. package/fesm2022/{acorex-modules-workflow-management-workflow-run-history-popup.component-D_yi-Ccp.mjs.map → acorex-modules-workflow-management-workflow-run-history-popup.component-CTs6Sdm2.mjs.map} +1 -1
  261. package/fesm2022/{acorex-modules-workflow-management-workflow-task-popover.component-CdvuOzXH.mjs → acorex-modules-workflow-management-workflow-task-popover.component-CaIIzv1r.mjs} +2 -2
  262. package/fesm2022/{acorex-modules-workflow-management-workflow-task-popover.component-CdvuOzXH.mjs.map → acorex-modules-workflow-management-workflow-task-popover.component-CaIIzv1r.mjs.map} +1 -1
  263. package/fesm2022/acorex-modules-workflow-management.mjs +1 -1
  264. package/fesm2022/acorex-modules-workplacesafety-management-hazard-risk-ppe-rule-status.provider-BsRNRZ6z.mjs +42 -0
  265. package/fesm2022/acorex-modules-workplacesafety-management-hazard-risk-ppe-rule-status.provider-BsRNRZ6z.mjs.map +1 -0
  266. package/fesm2022/acorex-modules-workplacesafety-management.mjs +494 -294
  267. package/fesm2022/acorex-modules-workplacesafety-management.mjs.map +1 -1
  268. package/package.json +2 -2
  269. package/types/acorex-modules-asset-management.d.ts +7 -3
  270. package/types/acorex-modules-contact-core.d.ts +1 -0
  271. package/types/acorex-modules-conversation.d.ts +898 -161
  272. package/types/acorex-modules-dashboard-management.d.ts +56 -10
  273. package/types/acorex-modules-document-management.d.ts +4 -0
  274. package/types/acorex-modules-report-management.d.ts +2 -0
  275. package/types/acorex-modules-task-management.d.ts +21 -5
  276. package/types/acorex-modules-workflow-management.d.ts +9 -4
  277. package/types/acorex-modules-workplacesafety-management.d.ts +55 -32
  278. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-WGRBHMmQ.mjs.map +0 -1
  279. package/fesm2022/acorex-modules-contact-core-acorex-modules-contact-core-CBMdv1GN.mjs.map +0 -1
  280. package/fesm2022/acorex-modules-contact-core-menu.provider-C-iEIPGe.mjs.map +0 -1
  281. package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-CUjTT3M7.mjs.map +0 -1
  282. package/fesm2022/acorex-modules-conversation-send-assist-chat-message.command-CqDrZKFK.mjs.map +0 -1
  283. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-Lx3VuIg6.mjs.map +0 -1
  284. package/fesm2022/acorex-modules-data-management-index-CxVSgxTM.mjs.map +0 -1
  285. package/fesm2022/acorex-modules-human-capital-management-edit-personal-info.command-8LKMNm4Z.mjs.map +0 -1
  286. package/fesm2022/acorex-modules-settings-management-setting-view.component-CG-GW2yS.mjs.map +0 -1
  287. package/fesm2022/acorex-modules-task-management-task-board.page-FFhsAyHF.mjs.map +0 -1
  288. package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-DJeUheQT.mjs.map +0 -1
  289. package/fesm2022/acorex-modules-workflow-management-workflow-configurator-widget-edit.component-BqydSkbP.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable } from '@angular/core';
3
- import { g as AXPOrganizationManagementPermissionKeys, R as RootConfig } from './acorex-modules-organization-management-acorex-modules-organization-management-B6zOrUAS.mjs';
3
+ import { g as AXPOrganizationManagementPermissionKeys, R as RootConfig } from './acorex-modules-organization-management-acorex-modules-organization-management-BjKrMO_L.mjs';
4
4
 
5
5
  //#endregion
6
6
  //#region ---- Permission Definition Provider ----
@@ -73,4 +73,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
73
73
  }] });
74
74
 
75
75
  export { AXMPermissionDefinitionProvider };
76
- //# sourceMappingURL=acorex-modules-organization-management-permission-definition.provider-CynLhaYz.mjs.map
76
+ //# sourceMappingURL=acorex-modules-organization-management-permission-definition.provider-CuReVYo1.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-organization-management-permission-definition.provider-CynLhaYz.mjs","sources":["../../../../libs/modules/organization-management/src/lib/permission-definition.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex/platform/auth';\nimport { Injectable } from '@angular/core';\nimport { AXPOrganizationManagementPermissionKeys } from './contracts/permission.keys';\nimport { RootConfig } from './contracts';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Permission Definition Provider for Organization Management Module.\n * Defines permissions based on aggregate roots following domain-driven design principles.\n */\n@Injectable()\nexport class AXMPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPOrganizationManagementPermissionKeys;\n\n // I18n path constants for cleaner code\n const MODULE_PERMISSIONS = '@organization-management:module.permissions';\n const TEAM_PERMISSIONS = '@organization-management:team.permissions';\n const POSITION_PERMISSIONS = '@organization-management:position.permissions';\n const JOB_DEFINITION_PERMISSIONS = '@organization-management:job-definition.permissions';\n const JOB_LEVEL_PERMISSIONS = '@organization-management:job-level.permissions';\n const RESPONSIBILITY_PERMISSIONS = '@organization-management:responsibility.permissions';\n const BUSINESS_UNIT_PERMISSIONS = '@organization-management:business-unit.permissions';\n const BUSINESS_UNIT_TYPE_PERMISSIONS = '@organization-management:business-unit-type.permissions';\n const CHART_PERMISSIONS = '@organization-management:chart.permissions';\n\n context\n .addGroup(\n RootConfig.module.name,\n `${MODULE_PERMISSIONS}.title`,\n `${MODULE_PERMISSIONS}.description`\n )\n // Aggregate Root: Team (Important Entity - Full CRUD)\n .addPermission(\n keys.Team.Management,\n `${TEAM_PERMISSIONS}.title`,\n `${TEAM_PERMISSIONS}.description`\n )\n .addChild(\n keys.Team.View,\n `${TEAM_PERMISSIONS}.view.title`,\n `${TEAM_PERMISSIONS}.view.description`\n )\n .addChild(\n keys.Team.Create,\n `${TEAM_PERMISSIONS}.create.title`,\n `${TEAM_PERMISSIONS}.create.description`\n )\n .addChild(\n keys.Team.Update,\n `${TEAM_PERMISSIONS}.edit.title`,\n `${TEAM_PERMISSIONS}.edit.description`\n )\n .addChild(\n keys.Team.Delete,\n `${TEAM_PERMISSIONS}.delete.title`,\n `${TEAM_PERMISSIONS}.delete.description`\n )\n .endPermission()\n // Aggregate Root: Position (Important Entity - Full CRUD)\n .addPermission(\n keys.Position.Management,\n `${POSITION_PERMISSIONS}.title`,\n `${POSITION_PERMISSIONS}.description`\n )\n .addChild(\n keys.Position.View,\n `${POSITION_PERMISSIONS}.view.title`,\n `${POSITION_PERMISSIONS}.view.description`\n )\n .addChild(\n keys.Position.Create,\n `${POSITION_PERMISSIONS}.create.title`,\n `${POSITION_PERMISSIONS}.create.description`\n )\n .addChild(\n keys.Position.Update,\n `${POSITION_PERMISSIONS}.edit.title`,\n `${POSITION_PERMISSIONS}.edit.description`\n )\n .addChild(\n keys.Position.Delete,\n `${POSITION_PERMISSIONS}.delete.title`,\n `${POSITION_PERMISSIONS}.delete.description`\n )\n .endPermission()\n // Aggregate Root: JobDefinition (Important Entity - Full CRUD)\n .addPermission(\n keys.JobDefinition.Management,\n `${JOB_DEFINITION_PERMISSIONS}.title`,\n `${JOB_DEFINITION_PERMISSIONS}.description`\n )\n .addChild(\n keys.JobDefinition.View,\n `${JOB_DEFINITION_PERMISSIONS}.view.title`,\n `${JOB_DEFINITION_PERMISSIONS}.view.description`\n )\n .addChild(\n keys.JobDefinition.Create,\n `${JOB_DEFINITION_PERMISSIONS}.create.title`,\n `${JOB_DEFINITION_PERMISSIONS}.create.description`\n )\n .addChild(\n keys.JobDefinition.Update,\n `${JOB_DEFINITION_PERMISSIONS}.edit.title`,\n `${JOB_DEFINITION_PERMISSIONS}.edit.description`\n )\n .addChild(\n keys.JobDefinition.Delete,\n `${JOB_DEFINITION_PERMISSIONS}.delete.title`,\n `${JOB_DEFINITION_PERMISSIONS}.delete.description`\n )\n .endPermission()\n // Aggregate Root: JobLevel (Simple Entity - Management Only)\n .addPermission(\n keys.JobLevel.Management,\n `${JOB_LEVEL_PERMISSIONS}.title`,\n `${JOB_LEVEL_PERMISSIONS}.description`\n )\n .endPermission()\n // Aggregate Root: Responsibility (Simple Entity - Management Only)\n .addPermission(\n keys.Responsibility.Management,\n `${RESPONSIBILITY_PERMISSIONS}.title`,\n `${RESPONSIBILITY_PERMISSIONS}.description`\n )\n .endPermission()\n // Aggregate Root: BusinessUnit (Important Entity - Full CRUD)\n .addPermission(\n keys.BusinessUnit.Management,\n `${BUSINESS_UNIT_PERMISSIONS}.title`,\n `${BUSINESS_UNIT_PERMISSIONS}.description`\n )\n .addChild(\n keys.BusinessUnit.View,\n `${BUSINESS_UNIT_PERMISSIONS}.view.title`,\n `${BUSINESS_UNIT_PERMISSIONS}.view.description`\n )\n .addChild(\n keys.BusinessUnit.Create,\n `${BUSINESS_UNIT_PERMISSIONS}.create.title`,\n `${BUSINESS_UNIT_PERMISSIONS}.create.description`\n )\n .addChild(\n keys.BusinessUnit.Update,\n `${BUSINESS_UNIT_PERMISSIONS}.edit.title`,\n `${BUSINESS_UNIT_PERMISSIONS}.edit.description`\n )\n .addChild(\n keys.BusinessUnit.Delete,\n `${BUSINESS_UNIT_PERMISSIONS}.delete.title`,\n `${BUSINESS_UNIT_PERMISSIONS}.delete.description`\n )\n .endPermission()\n // Aggregate Root: BusinessUnitType (Simple Entity - Management Only)\n .addPermission(\n keys.BusinessUnitType.Management,\n `${BUSINESS_UNIT_TYPE_PERMISSIONS}.title`,\n `${BUSINESS_UNIT_TYPE_PERMISSIONS}.description`\n )\n .endPermission()\n // Aggregate Root: Chart (Simple Entity - Management Only)\n .addPermission(\n keys.Chart.Management,\n `${CHART_PERMISSIONS}.title`,\n `${CHART_PERMISSIONS}.description`\n )\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n\n"],"names":[],"mappings":";;;;AAOA;AAEA;AAEA;;;AAGG;MAEU,+BAA+B,CAAA;IAC1C,MAAM,MAAM,CAAC,OAA+C,EAAA;QAC1D,MAAM,IAAI,GAAG,uCAAuC;;QAGpD,MAAM,kBAAkB,GAAG,6CAA6C;QACxE,MAAM,gBA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AC,UAAU,EACrB,CAAA,EAAG,iBAAiB,CAAA,MAAA,CAAQ,EAC5B,CAAA,EAAG,iBAAiB,cAAc;AAEnC,aAAA,aAAa;AACb,aAAA,QAAQ,EAAE;IACf;8GA9JW,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAA/B,+BAA+B,EAAA,CAAA,CAAA;;2FAA/B,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAD3C;;;;;"}
1
+ {"version":3,"file":"acorex-modules-organization-management-permission-definition.provider-CuReVYo1.mjs","sources":["../../../../libs/modules/organization-management/src/lib/permission-definition.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex/platform/auth';\nimport { Injectable } from '@angular/core';\nimport { AXPOrganizationManagementPermissionKeys } from './contracts/permission.keys';\nimport { RootConfig } from './contracts';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Permission Definition Provider for Organization Management Module.\n * Defines permissions based on aggregate roots following domain-driven design principles.\n */\n@Injectable()\nexport class AXMPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPOrganizationManagementPermissionKeys;\n\n // I18n path constants for cleaner code\n const MODULE_PERMISSIONS = '@organization-management:module.permissions';\n const TEAM_PERMISSIONS = '@organization-management:team.permissions';\n const POSITION_PERMISSIONS = '@organization-management:position.permissions';\n const JOB_DEFINITION_PERMISSIONS = '@organization-management:job-definition.permissions';\n const JOB_LEVEL_PERMISSIONS = '@organization-management:job-level.permissions';\n const RESPONSIBILITY_PERMISSIONS = '@organization-management:responsibility.permissions';\n const BUSINESS_UNIT_PERMISSIONS = '@organization-management:business-unit.permissions';\n const BUSINESS_UNIT_TYPE_PERMISSIONS = '@organization-management:business-unit-type.permissions';\n const CHART_PERMISSIONS = '@organization-management:chart.permissions';\n\n context\n .addGroup(\n RootConfig.module.name,\n `${MODULE_PERMISSIONS}.title`,\n `${MODULE_PERMISSIONS}.description`\n )\n // Aggregate Root: Team (Important Entity - Full CRUD)\n .addPermission(\n keys.Team.Management,\n `${TEAM_PERMISSIONS}.title`,\n `${TEAM_PERMISSIONS}.description`\n )\n .addChild(\n keys.Team.View,\n `${TEAM_PERMISSIONS}.view.title`,\n `${TEAM_PERMISSIONS}.view.description`\n )\n .addChild(\n keys.Team.Create,\n `${TEAM_PERMISSIONS}.create.title`,\n `${TEAM_PERMISSIONS}.create.description`\n )\n .addChild(\n keys.Team.Update,\n `${TEAM_PERMISSIONS}.edit.title`,\n `${TEAM_PERMISSIONS}.edit.description`\n )\n .addChild(\n keys.Team.Delete,\n `${TEAM_PERMISSIONS}.delete.title`,\n `${TEAM_PERMISSIONS}.delete.description`\n )\n .endPermission()\n // Aggregate Root: Position (Important Entity - Full CRUD)\n .addPermission(\n keys.Position.Management,\n `${POSITION_PERMISSIONS}.title`,\n `${POSITION_PERMISSIONS}.description`\n )\n .addChild(\n keys.Position.View,\n `${POSITION_PERMISSIONS}.view.title`,\n `${POSITION_PERMISSIONS}.view.description`\n )\n .addChild(\n keys.Position.Create,\n `${POSITION_PERMISSIONS}.create.title`,\n `${POSITION_PERMISSIONS}.create.description`\n )\n .addChild(\n keys.Position.Update,\n `${POSITION_PERMISSIONS}.edit.title`,\n `${POSITION_PERMISSIONS}.edit.description`\n )\n .addChild(\n keys.Position.Delete,\n `${POSITION_PERMISSIONS}.delete.title`,\n `${POSITION_PERMISSIONS}.delete.description`\n )\n .endPermission()\n // Aggregate Root: JobDefinition (Important Entity - Full CRUD)\n .addPermission(\n keys.JobDefinition.Management,\n `${JOB_DEFINITION_PERMISSIONS}.title`,\n `${JOB_DEFINITION_PERMISSIONS}.description`\n )\n .addChild(\n keys.JobDefinition.View,\n `${JOB_DEFINITION_PERMISSIONS}.view.title`,\n `${JOB_DEFINITION_PERMISSIONS}.view.description`\n )\n .addChild(\n keys.JobDefinition.Create,\n `${JOB_DEFINITION_PERMISSIONS}.create.title`,\n `${JOB_DEFINITION_PERMISSIONS}.create.description`\n )\n .addChild(\n keys.JobDefinition.Update,\n `${JOB_DEFINITION_PERMISSIONS}.edit.title`,\n `${JOB_DEFINITION_PERMISSIONS}.edit.description`\n )\n .addChild(\n keys.JobDefinition.Delete,\n `${JOB_DEFINITION_PERMISSIONS}.delete.title`,\n `${JOB_DEFINITION_PERMISSIONS}.delete.description`\n )\n .endPermission()\n // Aggregate Root: JobLevel (Simple Entity - Management Only)\n .addPermission(\n keys.JobLevel.Management,\n `${JOB_LEVEL_PERMISSIONS}.title`,\n `${JOB_LEVEL_PERMISSIONS}.description`\n )\n .endPermission()\n // Aggregate Root: Responsibility (Simple Entity - Management Only)\n .addPermission(\n keys.Responsibility.Management,\n `${RESPONSIBILITY_PERMISSIONS}.title`,\n `${RESPONSIBILITY_PERMISSIONS}.description`\n )\n .endPermission()\n // Aggregate Root: BusinessUnit (Important Entity - Full CRUD)\n .addPermission(\n keys.BusinessUnit.Management,\n `${BUSINESS_UNIT_PERMISSIONS}.title`,\n `${BUSINESS_UNIT_PERMISSIONS}.description`\n )\n .addChild(\n keys.BusinessUnit.View,\n `${BUSINESS_UNIT_PERMISSIONS}.view.title`,\n `${BUSINESS_UNIT_PERMISSIONS}.view.description`\n )\n .addChild(\n keys.BusinessUnit.Create,\n `${BUSINESS_UNIT_PERMISSIONS}.create.title`,\n `${BUSINESS_UNIT_PERMISSIONS}.create.description`\n )\n .addChild(\n keys.BusinessUnit.Update,\n `${BUSINESS_UNIT_PERMISSIONS}.edit.title`,\n `${BUSINESS_UNIT_PERMISSIONS}.edit.description`\n )\n .addChild(\n keys.BusinessUnit.Delete,\n `${BUSINESS_UNIT_PERMISSIONS}.delete.title`,\n `${BUSINESS_UNIT_PERMISSIONS}.delete.description`\n )\n .endPermission()\n // Aggregate Root: BusinessUnitType (Simple Entity - Management Only)\n .addPermission(\n keys.BusinessUnitType.Management,\n `${BUSINESS_UNIT_TYPE_PERMISSIONS}.title`,\n `${BUSINESS_UNIT_TYPE_PERMISSIONS}.description`\n )\n .endPermission()\n // Aggregate Root: Chart (Simple Entity - Management Only)\n .addPermission(\n keys.Chart.Management,\n `${CHART_PERMISSIONS}.title`,\n `${CHART_PERMISSIONS}.description`\n )\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n\n"],"names":[],"mappings":";;;;AAOA;AAEA;AAEA;;;AAGG;MAEU,+BAA+B,CAAA;IAC1C,MAAM,MAAM,CAAC,OAA+C,EAAA;QAC1D,MAAM,IAAI,GAAG,uCAAuC;;QAGpD,MAAM,kBAAkB,GAAG,6CAA6C;QACxE,MAAM,gBAAgB,GAAG,2CAA2C;QACpE,MAAM,oBAAoB,GAAG,+CAA+C;QAC5E,MAAM,0BAA0B,GAAG,qDAAqD;QACxF,MAAM,qBAAqB,GAAG,gDAAgD;QAC9E,MAAM,0BAA0B,GAAG,qDAAqD;QACxF,MAAM,yBAAyB,GAAG,oDAAoD;QACtF,MAAM,8BAA8B,GAAG,yDAAyD;QAChG,MAAM,iBAAiB,GAAG,4CAA4C;QAEtE;AACG,aAAA,QAAQ,CACP,UAAU,CAAC,MAAM,CAAC,IAAI,EACtB,CAAA,EAAG,kBAAkB,CAAA,MAAA,CAAQ,EAC7B,CAAA,EAAG,kBAAkB,cAAc;;AAGpC,aAAA,aAAa,CACZ,IAAI,CAAC,IAAI,CAAC,UAAU,EACpB,CAAA,EAAG,gBAAgB,CAAA,MAAA,CAAQ,EAC3B,CAAA,EAAG,gBAAgB,cAAc;AAElC,aAAA,QAAQ,CACP,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,CAAA,EAAG,gBAAgB,CAAA,WAAA,CAAa,EAChC,CAAA,EAAG,gBAAgB,mBAAmB;AAEvC,aAAA,QAAQ,CACP,IAAI,CAAC,IAAI,CAAC,MAAM,EAChB,CAAA,EAAG,gBAAgB,CAAA,aAAA,CAAe,EACl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C,YAAY,CAAC,MAAM,EACxB,CAAA,EAAG,yBAAyB,CAAA,WAAA,CAAa,EACzC,CAAA,EAAG,yBAAyB,mBAAmB;AAEhD,aAAA,QAAQ,CACP,IAAI,CAAC,YAAY,CAAC,MAAM,EACxB,CAAA,EAAG,yBAAyB,CAAA,aAAA,CAAe,EAC3C,CAAA,EAAG,yBAAyB,qBAAqB;AAElD,aAAA,aAAa;;AAEb,aAAA,aAAa,CACZ,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAChC,CAAA,EAAG,8BAA8B,CAAA,MAAA,CAAQ,EACzC,CAAA,EAAG,8BAA8B,cAAc;AAEhD,aAAA,aAAa;;AAEb,aAAA,aAAa,CACZ,IAAI,CAAC,KAAK,CAAC,UAAU,EACrB,CAAA,EAAG,iBAAiB,CAAA,MAAA,CAAQ,EAC5B,CAAA,EAAG,iBAAiB,cAAc;AAEnC,aAAA,aAAa;AACb,aAAA,QAAQ,EAAE;IACf;8GA9JW,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAA/B,+BAA+B,EAAA,CAAA,CAAA;;2FAA/B,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAD3C;;;;;"}
@@ -4,7 +4,7 @@ import { AXPEntityService } from '@acorex/platform/layout/entity';
4
4
  import { AXPCommandService } from '@acorex/platform/runtime';
5
5
  import * as i0 from '@angular/core';
6
6
  import { inject, Injectable } from '@angular/core';
7
- import { t as AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, R as RootConfig } from './acorex-modules-organization-management-acorex-modules-organization-management-B6zOrUAS.mjs';
7
+ import { t as AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, R as RootConfig } from './acorex-modules-organization-management-acorex-modules-organization-management-BjKrMO_L.mjs';
8
8
 
9
9
  //#region ---- Imports ----
10
10
  class AXMRemovePositionFromBusinessUnitCommand {
@@ -89,4 +89,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
89
89
  }] });
90
90
 
91
91
  export { AXMRemovePositionFromBusinessUnitCommand };
92
- //# sourceMappingURL=acorex-modules-organization-management-remove-position-from-business-unit.command-DUgDxwtI.mjs.map
92
+ //# sourceMappingURL=acorex-modules-organization-management-remove-position-from-business-unit.command-mPTX8Vpc.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-organization-management-remove-position-from-business-unit.command-DUgDxwtI.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/organization-chart/commands/remove-position-from-business-unit.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXDialogService } from '@acorex/components/dialog';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPExecuteCommandResult } from '@acorex/platform/contracts';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { AXPCommand, AXPCommandService } from '@acorex/platform/runtime';\nimport { inject, Injectable } from '@angular/core';\nimport { AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND } from '../../../contracts/commands.keys';\nimport { RootConfig } from '../../../contracts';\nimport type { AXMOrganizationManagementBusinessUnitEntityModel } from '../../../entities/business-unit/business-unit.types';\n\n//#endregion\n\nexport interface AXMRemovePositionFromBusinessUnitInput {\n businessUnitId: string;\n positionId: string;\n /** Primary assignee on the chart card; when set, active assignment is revoked before the seat is unlinked. */\n occupantEmployeeId?: string;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class AXMRemovePositionFromBusinessUnitCommand\n implements AXPCommand<AXMRemovePositionFromBusinessUnitInput, { businessUnitId: string; positionId: string }>\n{\n //#region ---- Services & Dependencies ----\n\n private readonly commandService = inject(AXPCommandService);\n private readonly entityService = inject(AXPEntityService);\n private readonly translationService = inject(AXTranslationService);\n private readonly dialogService = inject(AXDialogService);\n\n //#endregion\n\n //#region ---- Command ----\n\n async execute(\n input: AXMRemovePositionFromBusinessUnitInput,\n ): Promise<AXPExecuteCommandResult<{ businessUnitId: string; positionId: string }>> {\n const businessUnitId = input?.businessUnitId?.trim() ?? '';\n const positionId = input?.positionId?.trim() ?? '';\n if (!businessUnitId || !positionId) {\n return { success: false };\n }\n\n if (!(await this.confirmRemoveFromUnit())) {\n return { success: false };\n }\n\n const occupantId = input?.occupantEmployeeId?.trim() ?? '';\n if (occupantId.length > 0) {\n await this.commandService.execute(AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, {\n positionId,\n employeeId: occupantId,\n businessUnitId,\n skipConfirmation: true,\n });\n }\n\n const buData = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.businessUnit.name)\n .data<string, AXMOrganizationManagementBusinessUnitEntityModel>();\n\n const businessUnit = await buData.byKey(businessUnitId);\n if (!businessUnit?.id) {\n return { success: false };\n }\n\n const existingIds = this.normalizePositionIds(businessUnit.positionIds);\n const nextPositionIds = existingIds.filter((id) => id !== positionId);\n\n const headRaw = businessUnit.headPositionId != null ? String(businessUnit.headPositionId).trim() : '';\n\n const patch: Partial<AXMOrganizationManagementBusinessUnitEntityModel> = { positionIds: nextPositionIds };\n if (headRaw === positionId) {\n patch.headPositionId = null;\n }\n\n try {\n await buData.update(businessUnitId, patch);\n } catch {\n return { success: false };\n }\n\n return { success: true, data: { businessUnitId, positionId } };\n }\n\n //#endregion\n\n //#region ---- Helpers ----\n\n private normalizePositionIds(value: unknown): string[] {\n if (value == null) {\n return [];\n }\n if (Array.isArray(value)) {\n return value.map((v) => String(v ?? '').trim()).filter((id) => id.length > 0);\n }\n if (typeof value === 'string') {\n return value\n .split(',')\n .map((id) => id.trim())\n .filter((id) => id.length > 0);\n }\n return [];\n }\n\n private async confirmRemoveFromUnit(): Promise<boolean> {\n const title = await this.translationService.translateAsync(\n '@organization-management:organization-chart.node-actions.remove-from-unit-confirm.title',\n );\n const message = await this.translationService.translateAsync(\n '@organization-management:organization-chart.node-actions.remove-from-unit-confirm.message',\n );\n const result = await this.dialogService.confirm(title, message, 'danger', 'horiz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,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;QAC/E;AACA,QAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,YAAA,OAAO;iBACJ,KAAK,CAAC,GAAG;iBACT,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,IAAI,EAAE;AACrB,iBAAA,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;QAClC;AACA,QAAA,OAAO,EAAE;IACX;AAEQ,IAAA,MAAM,qBAAqB,GAAA;QACjC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,cAAc,CACxD,yFAAyF,CAC1F;QACD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,cAAc,CAC1D,2FAA2F,CAC5F;QACD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;AACxG,QAAA,OAAO,MAAM,CAAC,MAAM,KAAK,IAAI;IAC/B;8GA9FW,wCAAwC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAxC,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wCAAwC,cAD3B,MAAM,EAAA,CAAA,CAAA;;2FACnB,wCAAwC,EAAA,UAAA,EAAA,CAAA;kBADpD,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
1
+ {"version":3,"file":"acorex-modules-organization-management-remove-position-from-business-unit.command-mPTX8Vpc.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/organization-chart/commands/remove-position-from-business-unit.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXDialogService } from '@acorex/components/dialog';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPExecuteCommandResult } from '@acorex/platform/contracts';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { AXPCommand, AXPCommandService } from '@acorex/platform/runtime';\nimport { inject, Injectable } from '@angular/core';\nimport { AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND } from '../../../contracts/commands.keys';\nimport { RootConfig } from '../../../contracts';\nimport type { AXMOrganizationManagementBusinessUnitEntityModel } from '../../../entities/business-unit/business-unit.types';\n\n//#endregion\n\nexport interface AXMRemovePositionFromBusinessUnitInput {\n businessUnitId: string;\n positionId: string;\n /** Primary assignee on the chart card; when set, active assignment is revoked before the seat is unlinked. */\n occupantEmployeeId?: string;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class AXMRemovePositionFromBusinessUnitCommand\n implements AXPCommand<AXMRemovePositionFromBusinessUnitInput, { businessUnitId: string; positionId: string }>\n{\n //#region ---- Services & Dependencies ----\n\n private readonly commandService = inject(AXPCommandService);\n private readonly entityService = inject(AXPEntityService);\n private readonly translationService = inject(AXTranslationService);\n private readonly dialogService = inject(AXDialogService);\n\n //#endregion\n\n //#region ---- Command ----\n\n async execute(\n input: AXMRemovePositionFromBusinessUnitInput,\n ): Promise<AXPExecuteCommandResult<{ businessUnitId: string; positionId: string }>> {\n const businessUnitId = input?.businessUnitId?.trim() ?? '';\n const positionId = input?.positionId?.trim() ?? '';\n if (!businessUnitId || !positionId) {\n return { success: false };\n }\n\n if (!(await this.confirmRemoveFromUnit())) {\n return { success: false };\n }\n\n const occupantId = input?.occupantEmployeeId?.trim() ?? '';\n if (occupantId.length > 0) {\n await this.commandService.execute(AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, {\n positionId,\n employeeId: occupantId,\n businessUnitId,\n skipConfirmation: true,\n });\n }\n\n const buData = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.businessUnit.name)\n .data<string, AXMOrganizationManagementBusinessUnitEntityModel>();\n\n const businessUnit = await buData.byKey(businessUnitId);\n if (!businessUnit?.id) {\n return { success: false };\n }\n\n const existingIds = this.normalizePositionIds(businessUnit.positionIds);\n const nextPositionIds = existingIds.filter((id) => id !== positionId);\n\n const headRaw = businessUnit.headPositionId != null ? String(businessUnit.headPositionId).trim() : '';\n\n const patch: Partial<AXMOrganizationManagementBusinessUnitEntityModel> = { positionIds: nextPositionIds };\n if (headRaw === positionId) {\n patch.headPositionId = null;\n }\n\n try {\n await buData.update(businessUnitId, patch);\n } catch {\n return { success: false };\n }\n\n return { success: true, data: { businessUnitId, positionId } };\n }\n\n //#endregion\n\n //#region ---- Helpers ----\n\n private normalizePositionIds(value: unknown): string[] {\n if (value == null) {\n return [];\n }\n if (Array.isArray(value)) {\n return value.map((v) => String(v ?? '').trim()).filter((id) => id.length > 0);\n }\n if (typeof value === 'string') {\n return value\n .split(',')\n .map((id) => id.trim())\n .filter((id) => id.length > 0);\n }\n return [];\n }\n\n private async confirmRemoveFromUnit(): Promise<boolean> {\n const title = await this.translationService.translateAsync(\n '@organization-management:organization-chart.node-actions.remove-from-unit-confirm.title',\n );\n const message = await this.translationService.translateAsync(\n '@organization-management:organization-chart.node-actions.remove-from-unit-confirm.message',\n );\n const result = await this.dialogService.confirm(title, message, 'danger', 'horizontal', false, 'cancel');\n return result.result === true;\n }\n\n //#endregion\n}\n"],"names":[],"mappings":";;;;;;;;AAAA;MAsBa,wCAAwC,CAAA;AADrD,IAAA,WAAA,GAAA;;AAMmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACjD,QAAA,IAAA,CAAA,aAAa,GAAG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AAA,MAAM,qBAAqB,GAAA;QACjC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,cAAc,CACxD,yFAAyF,CAC1F;QACD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,cAAc,CAC1D,2FAA2F,CAC5F;QACD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;AACxG,QAAA,OAAO,MAAM,CAAC,MAAM,KAAK,IAAI;IAC/B;8GA9FW,wCAAwC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAxC,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wCAAwC,cAD3B,MAAM,EAAA,CAAA,CAAA;;2FACnB,wCAAwC,EAAA,UAAA,EAAA,CAAA;kBADpD,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
@@ -3,7 +3,7 @@ import { AXTranslationService } from '@acorex/core/translation';
3
3
  import { AXPCommandService } from '@acorex/platform/runtime';
4
4
  import * as i0 from '@angular/core';
5
5
  import { inject, Injectable } from '@angular/core';
6
- import { t as AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, k as AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND } from './acorex-modules-organization-management-acorex-modules-organization-management-B6zOrUAS.mjs';
6
+ import { t as AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, k as AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND } from './acorex-modules-organization-management-acorex-modules-organization-management-BjKrMO_L.mjs';
7
7
 
8
8
  //#region ---- Imports ----
9
9
  class AXMReplacePositionAssigneeCommand {
@@ -63,4 +63,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
63
63
  }] });
64
64
 
65
65
  export { AXMReplacePositionAssigneeCommand };
66
- //# sourceMappingURL=acorex-modules-organization-management-replace-position-assignee.command-BTAwsZNP.mjs.map
66
+ //# sourceMappingURL=acorex-modules-organization-management-replace-position-assignee.command-DibpVA88.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-organization-management-replace-position-assignee.command-BTAwsZNP.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/organization-chart/commands/replace-position-assignee.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXDialogService } from '@acorex/components/dialog';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPExecuteCommandResult } from '@acorex/platform/contracts';\nimport { AXPCommand, AXPCommandService } from '@acorex/platform/runtime';\nimport { inject, Injectable } from '@angular/core';\nimport { AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND } from '../../../contracts/commands.keys';\n\n//#endregion\n\nexport interface AXMReplacePositionAssigneeInput {\n businessUnitId: string;\n positionId: string;\n currentEmployeeId: string;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class AXMReplacePositionAssigneeCommand\n implements AXPCommand<AXMReplacePositionAssigneeInput, { businessUnitId: string; positionId: string }>\n{\n //#region ---- Services & Dependencies ----\n\n private readonly commandService = inject(AXPCommandService);\n private readonly translationService = inject(AXTranslationService);\n private readonly dialogService = inject(AXDialogService);\n\n //#endregion\n\n //#region ---- Command ----\n\n async execute(\n input: AXMReplacePositionAssigneeInput,\n ): Promise<AXPExecuteCommandResult<{ businessUnitId: string; positionId: string }>> {\n const businessUnitId = input?.businessUnitId?.trim() ?? '';\n const positionId = input?.positionId?.trim() ?? '';\n const currentEmployeeId = input?.currentEmployeeId?.trim() ?? '';\n if (!businessUnitId || !positionId || !currentEmployeeId) {\n return { success: false };\n }\n\n if (!(await this.confirmReplaceAssignee())) {\n return { success: false };\n }\n\n const revokeResult = await this.commandService.execute(AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, {\n positionId,\n employeeId: currentEmployeeId,\n businessUnitId,\n skipConfirmation: true,\n });\n if (!revokeResult?.success) {\n return { success: false };\n }\n\n const assignResult = await this.commandService.execute(AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, {\n data: {\n businessUnitId,\n positionId,\n isPrimary: false,\n },\n });\n\n return {\n success: assignResult?.success === true,\n data: { businessUnitId, positionId },\n };\n }\n\n //#endregion\n\n //#region ---- Helpers ----\n\n private async confirmReplaceAssignee(): Promise<boolean> {\n const title = await this.translationService.translateAsync(\n '@organization-management:organization-chart.node-actions.replace-assignee-confirm.title',\n );\n const message = await this.translationService.translateAsync(\n '@organization-management:organization-chart.node-actions.replace-assignee-confirm.message',\n );\n const result = await this.dialogService.confirm(title, message, 'primary', 'horizontal', false, 'cancel');\n return result.result === true;\n }\n\n //#endregion\n}\n"],"names":[],"mappings":";;;;;;;AAAA;MAkBa,iCAAiC,CAAA;AAD9C,IAAA,WAAA,GAAA;;AAMmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACjD,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AA4DzD,IAAA;;;IAtDC,MAAM,OAAO,CACX,KAAsC,EAAA;QAEtC,MAAM,cAAc,GAAG,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,EAAE;QAC1D,MAAM,UAAU,GAAG,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE;QAClD,MAAM,iBAAiB,GAAG,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,IAAI,EAAE;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AAK,IAAI;IAC/B;8GAhEW,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAjC,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iCAAiC,cADpB,MAAM,EAAA,CAAA,CAAA;;2FACnB,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAD7C,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
1
+ {"version":3,"file":"acorex-modules-organization-management-replace-position-assignee.command-DibpVA88.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/organization-chart/commands/replace-position-assignee.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXDialogService } from '@acorex/components/dialog';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPExecuteCommandResult } from '@acorex/platform/contracts';\nimport { AXPCommand, AXPCommandService } from '@acorex/platform/runtime';\nimport { inject, Injectable } from '@angular/core';\nimport { AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND } from '../../../contracts/commands.keys';\n\n//#endregion\n\nexport interface AXMReplacePositionAssigneeInput {\n businessUnitId: string;\n positionId: string;\n currentEmployeeId: string;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class AXMReplacePositionAssigneeCommand\n implements AXPCommand<AXMReplacePositionAssigneeInput, { businessUnitId: string; positionId: string }>\n{\n //#region ---- Services & Dependencies ----\n\n private readonly commandService = inject(AXPCommandService);\n private readonly translationService = inject(AXTranslationService);\n private readonly dialogService = inject(AXDialogService);\n\n //#endregion\n\n //#region ---- Command ----\n\n async execute(\n input: AXMReplacePositionAssigneeInput,\n ): Promise<AXPExecuteCommandResult<{ businessUnitId: string; positionId: string }>> {\n const businessUnitId = input?.businessUnitId?.trim() ?? '';\n const positionId = input?.positionId?.trim() ?? '';\n const currentEmployeeId = input?.currentEmployeeId?.trim() ?? '';\n if (!businessUnitId || !positionId || !currentEmployeeId) {\n return { success: false };\n }\n\n if (!(await this.confirmReplaceAssignee())) {\n return { success: false };\n }\n\n const revokeResult = await this.commandService.execute(AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, {\n positionId,\n employeeId: currentEmployeeId,\n businessUnitId,\n skipConfirmation: true,\n });\n if (!revokeResult?.success) {\n return { success: false };\n }\n\n const assignResult = await this.commandService.execute(AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, {\n data: {\n businessUnitId,\n positionId,\n isPrimary: false,\n },\n });\n\n return {\n success: assignResult?.success === true,\n data: { businessUnitId, positionId },\n };\n }\n\n //#endregion\n\n //#region ---- Helpers ----\n\n private async confirmReplaceAssignee(): Promise<boolean> {\n const title = await this.translationService.translateAsync(\n '@organization-management:organization-chart.node-actions.replace-assignee-confirm.title',\n );\n const message = await this.translationService.translateAsync(\n '@organization-management:organization-chart.node-actions.replace-assignee-confirm.message',\n );\n const result = await this.dialogService.confirm(title, message, 'primary', 'horizontal', false, 'cancel');\n return result.result === true;\n }\n\n //#endregion\n}\n"],"names":[],"mappings":";;;;;;;AAAA;MAkBa,iCAAiC,CAAA;AAD9C,IAAA,WAAA,GAAA;;AAMmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACjD,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AA4DzD,IAAA;;;IAtDC,MAAM,OAAO,CACX,KAAsC,EAAA;QAEtC,MAAM,cAAc,GAAG,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,EAAE;QAC1D,MAAM,UAAU,GAAG,KAAK,EAAE,U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,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;AACzG,QAAA,OAAO,MAAM,CAAC,MAAM,KAAK,IAAI;IAC/B;8GAhEW,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAjC,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iCAAiC,cADpB,MAAM,EAAA,CAAA,CAAA;;2FACnB,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAD7C,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;;"}
@@ -3,7 +3,7 @@ import { AXPValueWidgetComponent } from '@acorex/platform/layout/widget-core';
3
3
  import * as i0 from '@angular/core';
4
4
  import { inject, computed, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
5
5
  import { get } from 'lodash-es';
6
- import { A as AXMOrganizationManagementResponsibilitiesMatrixComponent } from './acorex-modules-organization-management-responsibilities-matrix.component-DXmsR1qV.mjs';
6
+ import { A as AXMOrganizationManagementResponsibilitiesMatrixComponent } from './acorex-modules-organization-management-responsibilities-matrix.component-DVlThT1h.mjs';
7
7
 
8
8
  //#region ---- Imports ----
9
9
  //#endregion
@@ -136,4 +136,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
136
136
  }] });
137
137
 
138
138
  export { AXMResponsibilitiesMatrixWidgetEditComponent };
139
- //# sourceMappingURL=acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-D904V181.mjs.map
139
+ //# sourceMappingURL=acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-zN1Vz3Om.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-D904V181.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/responsibilities-matrix/responsibilities-matrix-widget-edit.component.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPSpreadsheetData, AXPSpreadsheetItem } from '@acorex/platform/layout/components';\nimport { AXPValueWidgetComponent } from '@acorex/platform/layout/widget-core';\nimport { ChangeDetectionStrategy, Component, computed, inject, ViewEncapsulation } from '@angular/core';\nimport { get } from 'lodash-es';\nimport { AXMOrganizationManagementResponsibilitiesMatrixComponent } from './responsibilities-matrix.component';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix-widget-edit',\n standalone: true,\n imports: [AXMOrganizationManagementResponsibilitiesMatrixComponent],\n template: `\n <axm-responsibilities-matrix\n [titles]=\"titles()\"\n [value]=\"matrixValue()\"\n [responsibilityIds]=\"responsibilityIds()\"\n [readonly]=\"readonly()\"\n (valueChange)=\"handleValueChange($any($event))\"\n (responsibilityIdsChange)=\"handleResponsibilityIdsChange($any($event))\"\n ></axm-responsibilities-matrix>\n `,\n host: {\n class: 'ax-block ax-w-full',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMResponsibilitiesMatrixWidgetEditComponent extends AXPValueWidgetComponent<AXPSpreadsheetData> {\n //#region ---- Services & Dependencies ----\n\n private readonly multiLanguageResolver = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Readonly mode from options\n */\n protected readonly = computed<boolean>(() => {\n const options = this.options();\n return options?.['readonly'] ?? false;\n });\n\n /**\n * Titles from context - reactively reads from context data signal\n * This ensures the titles update immediately when jobLevels changes in context\n */\n protected titles = computed<AXPSpreadsheetItem[]>(() => {\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const toItem = (item: any): AXPSpreadsheetItem => {\n if (typeof item === 'string') {\n return { id: item, title: item };\n }\n const id = item.id || item.value || String(item);\n const rawTitle = item.title ?? item.name ?? String(item);\n return {\n id,\n title: resolve(rawTitle) || String(rawTitle),\n description: item.description != null && item.description !== '' ? resolve(item.description) : undefined,\n };\n };\n\n // Read directly from context data signal for reactive updates\n const contextData = this.contextService.data();\n const jobLevelsFromContext = get(contextData, 'jobLevels') as any[] | undefined;\n\n if (Array.isArray(jobLevelsFromContext) && jobLevelsFromContext.length > 0) {\n return jobLevelsFromContext.map(toItem);\n }\n\n // Fallback to options (for initial load or when context is not yet available)\n const options = this.options();\n const rawTitles = options?.['titles'];\n\n if (!rawTitles) {\n return [];\n }\n\n if (Array.isArray(rawTitles)) {\n return rawTitles.map(toItem);\n }\n\n return [];\n });\n\n /**\n * Current matrix value\n */\n protected matrixValue = computed<AXPSpreadsheetData>(() => {\n return (this.getValue() as AXPSpreadsheetData) || {};\n });\n\n /**\n * Responsibility IDs extracted from value or from options\n */\n protected responsibilityIds = computed<string[]>(() => {\n const options = this.options();\n const responsibilityIdsFromOptions = options?.['responsibilityIds'] ?? [];\n\n // If responsibilityIds from options is an array, use it\n if (Array.isArray(responsibilityIdsFromOptions) && responsibilityIdsFromOptions.length > 0) {\n return responsibilityIdsFromOptions;\n }\n\n // Otherwise, extract from value (only if value exists and has items)\n const value = this.matrixValue();\n if (value && typeof value === 'object' && Object.keys(value).length > 0) {\n return Object.keys(value).filter((id) => id != null);\n }\n\n // Return empty array to prevent undefined issues\n return [];\n });\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle value change from responsibilities-matrix component\n */\n protected handleValueChange(data: AXPSpreadsheetData): void {\n if (data) {\n this.setValue(data);\n }\n }\n\n /**\n * Handle responsibility IDs change from responsibilities-matrix component\n */\n protected handleResponsibilityIdsChange(responsibilityIds: string[]): void {\n // Responsibility IDs are already reflected in the value\n // This handler is here for potential future use or side effects\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;AAAA;AAS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BvD,4CAA4C,EAAA,UAAA,EAAA,CAAA;kBApBxD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yCAAyC;AACnD,oBAAA,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,wDAAwD,CAAC;AACnE,oBAAA,QAAQ,EAAE;;;;;;;;;AAST,EAAA,CAAA;AACD,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE,oBAAoB;AAC5B,qBAAA;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;;;"}
1
+ {"version":3,"file":"acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-zN1Vz3Om.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/responsibilities-matrix/responsibilities-matrix-widget-edit.component.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPSpreadsheetData, AXPSpreadsheetItem } from '@acorex/platform/layout/components';\nimport { AXPValueWidgetComponent } from '@acorex/platform/layout/widget-core';\nimport { ChangeDetectionStrategy, Component, computed, inject, ViewEncapsulation } from '@angular/core';\nimport { get } from 'lodash-es';\nimport { AXMOrganizationManagementResponsibilitiesMatrixComponent } from './responsibilities-matrix.component';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix-widget-edit',\n standalone: true,\n imports: [AXMOrganizationManagementResponsibilitiesMatrixComponent],\n template: `\n <axm-responsibilities-matrix\n [titles]=\"titles()\"\n [value]=\"matrixValue()\"\n [responsibilityIds]=\"responsibilityIds()\"\n [readonly]=\"readonly()\"\n (valueChange)=\"handleValueChange($any($event))\"\n (responsibilityIdsChange)=\"handleResponsibilityIdsChange($any($event))\"\n ></axm-responsibilities-matrix>\n `,\n host: {\n class: 'ax-block ax-w-full',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMResponsibilitiesMatrixWidgetEditComponent extends AXPValueWidgetComponent<AXPSpreadsheetData> {\n //#region ---- Services & Dependencies ----\n\n private readonly multiLanguageResolver = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Readonly mode from options\n */\n protected readonly = computed<boolean>(() => {\n const options = this.options();\n return options?.['readonly'] ?? false;\n });\n\n /**\n * Titles from context - reactively reads from context data signal\n * This ensures the titles update immediately when jobLevels changes in context\n */\n protected titles = computed<AXPSpreadsheetItem[]>(() => {\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const toItem = (item: any): AXPSpreadsheetItem => {\n if (typeof item === 'string') {\n return { id: item, title: item };\n }\n const id = item.id || item.value || String(item);\n const rawTitle = item.title ?? item.name ?? String(item);\n return {\n id,\n title: resolve(rawTitle) || String(rawTitle),\n description: item.description != null && item.description !== '' ? resolve(item.description) : undefined,\n };\n };\n\n // Read directly from context data signal for reactive updates\n const contextData = this.contextService.data();\n const jobLevelsFromContext = get(contextData, 'jobLevels') as any[] | undefined;\n\n if (Array.isArray(jobLevelsFromContext) && jobLevelsFromContext.length > 0) {\n return jobLevelsFromContext.map(toItem);\n }\n\n // Fallback to options (for initial load or when context is not yet available)\n const options = this.options();\n const rawTitles = options?.['titles'];\n\n if (!rawTitles) {\n return [];\n }\n\n if (Array.isArray(rawTitles)) {\n return rawTitles.map(toItem);\n }\n\n return [];\n });\n\n /**\n * Current matrix value\n */\n protected matrixValue = computed<AXPSpreadsheetData>(() => {\n return (this.getValue() as AXPSpreadsheetData) || {};\n });\n\n /**\n * Responsibility IDs extracted from value or from options\n */\n protected responsibilityIds = computed<string[]>(() => {\n const options = this.options();\n const responsibilityIdsFromOptions = options?.['responsibilityIds'] ?? [];\n\n // If responsibilityIds from options is an array, use it\n if (Array.isArray(responsibilityIdsFromOptions) && responsibilityIdsFromOptions.length > 0) {\n return responsibilityIdsFromOptions;\n }\n\n // Otherwise, extract from value (only if value exists and has items)\n const value = this.matrixValue();\n if (value && typeof value === 'object' && Object.keys(value).length > 0) {\n return Object.keys(value).filter((id) => id != null);\n }\n\n // Return empty array to prevent undefined issues\n return [];\n });\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle value change from responsibilities-matrix component\n */\n protected handleValueChange(data: AXPSpreadsheetData): void {\n if (data) {\n this.setValue(data);\n }\n }\n\n /**\n * Handle responsibility IDs change from responsibilities-matrix component\n */\n protected handleResponsibilityIdsChange(responsibilityIds: string[]): void {\n // Responsibility IDs are already reflected in the value\n // This handler is here for potential future use or side effects\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;AAAA;AASA;AAEA;AAsBM,MAAO,4CAA6C,SAAQ,uBAA2C,CAAA;AApB7G,IAAA,WAAA,GAAA;;;AAuBmB,QAAA,IAAA,CAAA,qBAAqB,GAAG,MAAM,CAAC,oBAAoB,CAAC;;;AAMrE;;AAEG;AACO,QAAA,IAAA,CAAA,QAAQ,GAAG,QAAQ,CAAU,MAAK;AAC1C,YAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE;AAC9B,YAAA,OAAO,OAAO,GAAG,UAAU,CAAC,IAAI,KAAK;AACvC,QAAA,CAAC,+EAAC;AAEF;;;AAGG;AACO,QAAA,IAAA,CAAA,MAAM,GAAG,QAAQ,CAAuB,MAAK;AACrD,YAAA,MAAM,OAAO,GAAG,CAAC,CAAU,KAAK,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAQ,CAAC;AAC5E,YAAA,MAAM,MAAM,GAAG,CAAC,IAAS,KAAwB;AAC/C,gBAAA,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;oBAC5B,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;gBAClC;AACA,gBAAA,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,KAAK,IAAI,MAAM,CA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A,EAAA,QAAA,EAhB7C;;;;;;;;;AAST,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAVS,wDAAwD,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,OAAA,EAAA,UAAA,EAAA,mBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,YAAA,EAAA,yBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAiBvD,4CAA4C,EAAA,UAAA,EAAA,CAAA;kBApBxD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yCAAyC;AACnD,oBAAA,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,wDAAwD,CAAC;AACnE,oBAAA,QAAQ,EAAE;;;;;;;;;AAST,EAAA,CAAA;AACD,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE,oBAAoB;AAC5B,qBAAA;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { computed, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
3
3
  import { AXPValueWidgetComponent } from '@acorex/platform/layout/widget-core';
4
- import { A as AXMOrganizationManagementResponsibilitiesMatrixComponent } from './acorex-modules-organization-management-responsibilities-matrix.component-DXmsR1qV.mjs';
4
+ import { A as AXMOrganizationManagementResponsibilitiesMatrixComponent } from './acorex-modules-organization-management-responsibilities-matrix.component-DVlThT1h.mjs';
5
5
 
6
6
  //#region ---- Imports ----
7
7
  //#endregion
@@ -61,4 +61,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
61
61
  }] });
62
62
 
63
63
  export { AXMResponsibilitiesMatrixWidgetViewComponent };
64
- //# sourceMappingURL=acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BMFws_6Y.mjs.map
64
+ //# sourceMappingURL=acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BYOs9nrw.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BMFws_6Y.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/responsibilities-matrix/responsibilities-matrix-widget-view.component.ts"],"sourcesContent":["//#region ---- Imports ----\n\n\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXPValueWidgetComponent } from '@acorex/platform/layout/widget-core';\nimport { AXPSpreadsheetData } from '@acorex/platform/layout/components';\nimport { AXMOrganizationManagementResponsibilitiesMatrixComponent } from './responsibilities-matrix.component';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix-widget-view',\n standalone: true,\n imports: [\n AXMOrganizationManagementResponsibilitiesMatrixComponent\n],\n template: `\n <axm-responsibilities-matrix\n [value]=\"matrixValue()\"\n [readonly]=\"true\"\n (valueChange)=\"handleValueChange($any($event))\"\n ></axm-responsibilities-matrix>\n `,\n host: {\n class: 'ax-block ax-w-full',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMResponsibilitiesMatrixWidgetViewComponent extends AXPValueWidgetComponent<AXPSpreadsheetData> {\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Current matrix value\n */\n protected matrixValue = computed<AXPSpreadsheetData>(() => {\n return (this.getValue() as AXPSpreadsheetData) || {};\n });\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle value change from responsibilities-matrix component\n */\n protected handleVal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AA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAe/C,4CAA4C,EAAA,UAAA,EAAA,CAAA;kBAnBxD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,yCAAyC;AACnD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE;wBACT;AACH,qBAAA;AACG,oBAAA,QAAQ,EAAE;;;;;;AAMT,IAAA,CAAA;AACD,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE,oBAAoB;AAC9B,qBAAA;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAClD,iBAAA;;;;;"}
1
+ {"version":3,"file":"acorex-modules-organization-management-responsibilities-matrix-widget-view.component-BYOs9nrw.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/responsibilities-matrix/responsibilities-matrix-widget-view.component.ts"],"sourcesContent":["//#region ---- Imports ----\n\n\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXPValueWidgetComponent } from '@acorex/platform/layout/widget-core';\nimport { AXPSpreadsheetData } from '@acorex/platform/layout/components';\nimport { AXMOrganizationManagementResponsibilitiesMatrixComponent } from './responsibilities-matrix.component';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix-widget-view',\n standalone: true,\n imports: [\n AXMOrganizationManagementResponsibilitiesMatrixComponent\n],\n template: `\n <axm-responsibilities-matrix\n [value]=\"matrixValue()\"\n [readonly]=\"true\"\n (valueChange)=\"handleValueChange($any($event))\"\n ></axm-responsibilities-matrix>\n `,\n host: {\n class: 'ax-block ax-w-full',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMResponsibilitiesMatrixWidgetViewComponent extends AXPValueWidgetComponent<AXPSpreadsheetData> {\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Current matrix value\n */\n protected matrixValue = computed<AXPSpreadsheetData>(() => {\n return (this.getValue() as AXPSpreadsheetData) || {};\n });\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle value change from responsibilities-matrix component\n */\n protected handleValueChange(data: AXPSpreadsheetData): void {\n if (data) {\n this.setValue(data);\n }\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAaA;AAEA;AAqBM,MAAO,4CAA6C,SAAQ,uBAA2C,CAAA;AAnB7G,IAAA,WAAA,GAAA;;;;AAwBI;;AAEG;AACO,QAAA,IAAA,CAAA,WAAW,GAAG,QAAQ,CAAqB,MAAK;AACtD,YAAA,OAAQ,IAAI,CAAC,QAAQ,EAAyB,IAAI,EAAE;AACxD,QAAA,CAAC,kFAAC;AAgBL,IAAA;;;AAVG;;AAEG;AACO,IAAA,iBAAiB,CAAC,IAAwB,EAAA;QAChD,IAAI,IAAI,EAAE;AACN,YAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;QACvB;IACJ;8GAvBS,4CAA4C,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA5C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,4CAA4C,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yCAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,oBAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAb3C;;;;;;AAMT,IAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EARD,wDAAwD,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,OAAA,EAAA,UAAA,EAAA,mBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,YAAA,EAAA,yBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAe/C,4CAA4C,EAAA,UAAA,EAAA,CAAA;kBAnBxD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,yCAAyC;AACnD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE;wBACT;AACH,qBAAA;AACG,oBAAA,QAAQ,EAAE;;;;;;AAMT,IAAA,CAAA;AACD,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE,oBAAoB;AAC9B,qBAAA;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAClD,iBAAA;;;;;"}
@@ -11,7 +11,7 @@ import * as i3 from '@angular/common';
11
11
  import { CommonModule } from '@angular/common';
12
12
  import * as i0 from '@angular/core';
13
13
  import { inject, input, output, signal, computed, effect, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
14
- import { R as RootConfig } from './acorex-modules-organization-management-acorex-modules-organization-management-B6zOrUAS.mjs';
14
+ import { R as RootConfig } from './acorex-modules-organization-management-acorex-modules-organization-management-BjKrMO_L.mjs';
15
15
 
16
16
  //#region ---- Imports ----
17
17
  //#endregion
@@ -384,4 +384,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
384
384
  }], ctorParameters: () => [], propDecorators: { titles: [{ type: i0.Input, args: [{ isSignal: true, alias: "titles", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], responsibilityIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "responsibilityIds", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], cellChange: [{ type: i0.Output, args: ["cellChange"] }], responsibilityIdsChange: [{ type: i0.Output, args: ["responsibilityIdsChange"] }] } });
385
385
 
386
386
  export { AXMOrganizationManagementResponsibilitiesMatrixComponent as A };
387
- //# sourceMappingURL=acorex-modules-organization-management-responsibilities-matrix.component-DXmsR1qV.mjs.map
387
+ //# sourceMappingURL=acorex-modules-organization-management-responsibilities-matrix.component-DVlThT1h.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-organization-management-responsibilities-matrix.component-DXmsR1qV.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/responsibilities-matrix/responsibilities-matrix.component.ts","../../../../libs/modules/organization-management/src/lib/features/responsibilities-matrix/responsibilities-matrix.component.html"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { AXPWidgetsList } from '@acorex/platform/contracts';\nimport { AXPEntity } from '@acorex/platform/common';\nimport {\n AXPSpreadsheetCellChangeEvent,\n AXPSpreadsheetColumn,\n AXPSpreadsheetComponent,\n AXPSpreadsheetData,\n AXPSpreadsheetItem,\n AXPSpreadsheetRowChangeEvent,\n} from '@acorex/platform/layout/components';\nimport {\n AXPEntityDataSelectorService,\n AXPEntityDefinitionRegistryService,\n AXPEntityService,\n} from '@acorex/platform/layout/entity';\nimport { AXPWidgetNode } from '@acorex/platform/layout/widget-core';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n inject,\n input,\n output,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RootConfig } from '../../contracts';\nimport { AXMOrganizationManagementResponsibilityLevelEntityModel } from '../../entities/responsibility-level/responsibility-level.types';\nimport { AXMOrganizationManagementResponsibilityEntityModel } from '../../entities/responsibility/responsibility.types';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix',\n standalone: true,\n imports: [CommonModule, AXPSpreadsheetComponent, AXButtonModule, AXDecoratorModule, AXTranslationModule],\n templateUrl: './responsibilities-matrix.component.html',\n styleUrl: './responsibilities-matrix.component.scss',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'axm-responsibilities-matrix',\n },\n})\nexport class AXMOrganizationManagementResponsibilitiesMatrixComponent {\n //#endregion\n\n //#region ---- Services & Dependencies ----\n\n private readonly entityService = inject(AXPEntityService);\n private readonly responsibilityLevelDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.responsibilityLevel.name)\n .data<string, AXMOrganizationManagementResponsibilityLevelEntityModel>();\n private readonly responsibilityDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.responsibility.name)\n .data<string, AXMOrganizationManagementResponsibilityEntityModel>();\n private readonly entityDataSelectorService = inject(AXPEntityDataSelectorService);\n private readonly entityResolver = inject(AXPEntityDefinitionRegistryService);\n private readonly multiLanguageResolver = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Inputs ----\n\n /**\n * Array of job levels to display as columns (e.g., Junior, Mid-Level, Senior)\n */\n titles = input<AXPSpreadsheetItem[]>([]);\n\n /**\n * Initial matrix data: { [responsibilityId]: { [title.id]: responsibilityLevelId } }\n */\n value = input<AXPSpreadsheetData>({});\n\n /**\n * Whether the matrix is in readonly mode\n */\n readonly = input<boolean>(false);\n\n /**\n * Initial responsibility IDs (for syncing with parent entity)\n */\n responsibilityIds = input<string[]>([]);\n\n //#endregion\n\n //#region ---- Outputs ----\n\n /**\n * Emitted when the matrix value changes\n */\n valueChange = output<AXPSpreadsheetData>();\n\n /**\n * Emitted when a single cell value changes\n */\n cellChange = output<AXPSpreadsheetCellChangeEvent>();\n\n /**\n * Emitted when selected responsibilities change (responsibility IDs array)\n */\n responsibilityIdsChange = output<string[]>();\n\n //#endregion\n\n //#region ---- Class Properties ----\n\n /**\n * Responsibility levels loaded from the service\n */\n private responsibilityLevels = signal<AXMOrganizationManagementResponsibilityLevelEntityModel[]>([]);\n\n /**\n * Selected responsibilities (internal state)\n */\n protected selectedResponsibilities = signal<AXMOrganizationManagementResponsibilityEntityModel[]>([]);\n\n /**\n * Responsibility entity definition\n */\n private responsibilityEntityDef = signal<AXPEntity | null>(null);\n\n /**\n * Loading state\n */\n protected isLoading = signal<boolean>(true);\n\n /**\n * Loading state for responsibility entity\n */\n protected isLoadingResponsibilityEntity = signal<boolean>(false);\n\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Vertical titles (responsibilities) - rows of the matrix\n */\n protected verticalTitles = computed<AXPSpreadsheetItem[]>(() => {\n const responsibilities = this.selectedResponsibilities();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (responsibilities ?? []).map((responsibility) => ({\n id: responsibility.id,\n title: resolve(responsibility.title),\n description: responsibility.description ? resolve(responsibility.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Horizontal titles (job levels) - columns of the matrix\n */\n protected horizontalTitles = computed<AXPSpreadsheetItem[]>(() => {\n const titlesInput = this.titles();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (titlesInput ?? []).map((title) => ({\n id: title.id,\n title: resolve(title.title),\n description: title.description ? resolve(title.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Cell options (responsibility levels) - dropdown options for each cell, loaded from service\n */\n protected cellOptions = computed<AXPSpreadsheetItem[]>(() => {\n const levels = this.responsibilityLevels();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (levels ?? []).map((level) => ({\n id: level.id,\n title: resolve(level.title),\n description: level.description ? resolve(level.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Spreadsheet columns - converted from horizontalTitles (job levels)\n */\n protected spreadsheetColumns = computed<AXPSpreadsheetColumn[]>(() => {\n const horizontalTitles = this.horizontalTitles();\n const cellOptions = this.cellOptions();\n\n // Create SelectBox widget configuration for responsibility levels\n const selectBoxWidget: AXPWidgetNode = {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: cellOptions.map((option) => ({\n id: option.id,\n title: option.title,\n description: option.description,\n })),\n },\n };\n\n // Convert horizontal titles to columns\n return horizontalTitles.map((title) => ({\n name: title.id,\n title: title.title,\n description: title.description,\n path: title.id, // Path to access the value in row object\n widget: selectBoxWidget,\n }));\n });\n\n /**\n * Spreadsheet rows - converted from matrix data and vertical titles\n */\n protected spreadsheetRows = computed<Record<string, any>[]>(() => {\n const verticalTitles = this.verticalTitles();\n const horizontalTitles = this.horizontalTitles();\n const matrixData = this.value();\n\n // Convert matrix data to spreadsheet rows\n return verticalTitles.map((responsibility) => {\n const row: Record<string, any> = {\n name: responsibility.id, // Required for fixed mode row identification\n _responsibilityTitle: responsibility.title, // For row header display\n _responsibilityDescription: responsibility.description, // For row header description\n };\n\n // Add cell values for each horizontal title (column)\n horizontalTitles.forEach((title) => {\n const cellValue = matrixData[responsibility.id]?.[title.id] ?? null;\n row[title.id] = cellValue;\n });\n\n return row;\n });\n });\n\n //#endregion\n\n //#region ---- Lifecycle Methods ----\n\n constructor() {\n // Load responsibility levels and responsibility entity definition when component initializes\n this.loadResponsibilityLevels();\n this.loadResponsibilityEntityDef();\n\n // Watch for responsibilityIds input changes and sync selected responsibilities\n effect(() => {\n const ids = this.responsibilityIds();\n if (ids && ids.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(ids);\n } else if (!ids || ids.length === 0) {\n // Try to extract responsibility IDs from matrix data keys\n const matrixData = this.value();\n const responsibilityIdsFromMatrix = Object.keys(matrixData || {});\n if (responsibilityIdsFromMatrix.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(responsibilityIdsFromMatrix);\n } else {\n this.selectedResponsibilities.set([]);\n }\n }\n });\n\n // Watch for matrix value changes and extract responsibility IDs\n effect(() => {\n const matrixData = this.value();\n const currentResponsibilityIds = this.selectedResponsibilities().map((r) => r.id);\n const responsibilityIdsFromMatrix = Object.keys(matrixData || {});\n\n // If matrix has responsibilities that aren't in selectedResponsibilities, load them\n const missingIds = responsibilityIdsFromMatrix.filter((id) => !currentResponsibilityIds.includes(id));\n if (missingIds.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(missingIds);\n }\n });\n }\n\n //#endregion\n\n //#region ---- Data Loading Methods ----\n\n /**\n * Load responsibility levels from the service\n */\n private async loadResponsibilityLevels(): Promise<void> {\n try {\n this.isLoading.set(true);\n const query = {\n skip: 0,\n take: 1000,\n sort: [{ field: 'level', dir: 'asc' as const }],\n };\n const result = await this.responsibilityLevelDataAccessor.query(query);\n this.responsibilityLevels.set(result.items || []);\n } catch (error) {\n console.error('Error loading responsibility levels:', error);\n this.responsibilityLevels.set([]);\n } finally {\n this.isLoading.set(false);\n }\n }\n\n /**\n * Load responsibility entity definition\n */\n private async loadResponsibilityEntityDef(): Promise<void> {\n try {\n this.isLoadingResponsibilityEntity.set(true);\n const entityDef = await this.entityResolver.resolve(\n RootConfig.module.name,\n RootConfig.entities.responsibility.name,\n );\n this.responsibilityEntityDef.set(entityDef);\n } catch (error) {\n console.error('Error loading responsibility entity definition:', error);\n this.responsibilityEntityDef.set(null);\n } finally {\n this.isLoadingResponsibilityEntity.set(false);\n }\n }\n\n /**\n * Load responsibilities by IDs\n */\n private async loadResponsibilitiesByIds(ids: string[]): Promise<void> {\n try {\n const responsibilities: AXMOrganizationManagementResponsibilityEntityModel[] = [];\n\n for (const id of ids) {\n try {\n const responsibility = await this.responsibilityDataAccessor.byKey(id);\n if (responsibility) {\n responsibilities.push(responsibility);\n }\n } catch (error) {\n console.error(`Error loading responsibility ${id}:`, error);\n }\n }\n\n this.selectedResponsibilities.set(responsibilities);\n } catch (error) {\n console.error('Error loading responsibilities by IDs:', error);\n }\n }\n\n //#endregion\n\n //#region ---- Data Transformation Methods ----\n\n /**\n * Convert spreadsheet rows back to matrix data format\n */\n private convertSpreadsheetRowsToMatrixData(rows: Record<string, any>[]): AXPSpreadsheetData {\n const horizontalTitles = this.horizontalTitles();\n const matrixData: AXPSpreadsheetData = {};\n\n rows.forEach((row) => {\n const responsibilityId = row['name']; // Row identifier (responsibility ID)\n if (!responsibilityId) {\n return;\n }\n\n matrixData[responsibilityId] = {};\n\n // Extract cell values for each column\n horizontalTitles.forEach((title) => {\n const cellValue = row[title.id] ?? null;\n matrixData[responsibilityId][title.id] = cellValue;\n });\n });\n\n return matrixData;\n }\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle spreadsheet change event - convert to matrix format\n */\n protected handleSpreadsheetChange(rows: Record<string, any>[]): void {\n const matrixData = this.convertSpreadsheetRowsToMatrixData(rows);\n this.valueChange.emit(matrixData);\n\n // Extract responsibility IDs from row names and emit\n const responsibilityIds = rows.map((row) => row['name']).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n\n /**\n * Handle cell change event from spreadsheet\n */\n protected handleCellChange(event: AXPSpreadsheetCellChangeEvent): void {\n this.cellChange.emit(event);\n }\n\n /**\n * Open responsibility selector dialog\n */\n protected async handleSelectResponsibilities(): Promise<void> {\n const entityDef = this.responsibilityEntityDef();\n if (!entityDef) {\n console.error('Responsibility entity definition not loaded');\n return;\n }\n\n try {\n // Get currently selected responsibility IDs\n const selectedItemIds = this.selectedResponsibilities()\n .map((responsibility) => responsibility.id)\n .filter((id) => id != null);\n\n const result = await this.entityDataSelectorService.open({\n entity: entityDef,\n title: 'Select Responsibilities',\n allowMultiple: true,\n selectedItemIds: selectedItemIds.length > 0 ? selectedItemIds : undefined,\n });\n\n if (result && result.items && result.items.length > 0) {\n // Update selected responsibilities\n this.selectedResponsibilities.set(result.items);\n // Emit responsibility IDs change\n const responsibilityIds = result.items.map((item) => item.id).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n } catch (error) {\n console.error('Error opening responsibility selector:', error);\n }\n }\n\n /**\n * Remove a responsibility from selection\n */\n protected handleRemoveResponsibility(responsibilityId: string): void {\n const currentResponsibilities = this.selectedResponsibilities();\n const updatedResponsibilities = currentResponsibilities.filter(\n (responsibility) => responsibility.id !== responsibilityId,\n );\n this.selectedResponsibilities.set(updatedResponsibilities);\n\n // Remove responsibility data from matrix value\n const currentMatrixData = this.value();\n const updatedMatrixData = { ...currentMatrixData };\n delete updatedMatrixData[responsibilityId];\n\n // Emit updated matrix data\n this.valueChange.emit(updatedMatrixData);\n\n // Emit responsibility IDs change\n const responsibilityIds = updatedResponsibilities.map((r) => r.id).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n\n /**\n * Handle row change event from spreadsheet (add/remove)\n */\n protected handleRowChange(event: AXPSpreadsheetRowChangeEvent): void {\n if (event.type === 'remove') {\n // Remove responsibility from selection\n this.handleRemoveResponsibility(event.rowId);\n }\n // Note: 'add' type shouldn't happen in fixed mode, but if it does, we can handle it here\n }\n\n //#endregion\n}\n\n//#endregion\n","<div class=\"__container\">\n <div class=\"__matrix-section\">\n <div class=\"__matrix-header ax-sm\">\n @if (!readonly()) {\n <ax-button color=\"primary\"\n [text]=\"'@organization-management:job-definitions.components.responsibilities-matrix.actions.choose-responsibilities.title' | translate | async\"\n (onClick)=\"handleSelectResponsibilities()\" [disabled]=\"isLoadingResponsibilityEntity()\">\n <ax-icon icon=\"far fa-plus\"></ax-icon>\n </ax-button>\n }\n </div>\n @if (isLoading()) {\n <div class=\"__loading\">\n <span>{{ '@organization-management:job-definitions.components.responsibilities-matrix.messages.loading-responsibility-levels' | translate | async\n }}</span>\n </div>\n } @else {\n <axp-spreadsheet [title]=\"'Responsibility / Level'\" [columns]=\"spreadsheetColumns()\" [rowsInput]=\"spreadsheetRows()\"\n [rowMode]=\"'fixed'\" [readonly]=\"readonly()\" [allowRemoveRows]=\"true\" [rowTitlePath]=\"'_responsibilityTitle'\"\n [rowDescriptionPath]=\"'_responsibilityDescription'\" (cellChange)=\"handleCellChange($event)\"\n (spreadsheetChange)=\"handleSpreadsheetChange($event)\" (rowChange)=\"handleRowChange($event)\"></axp-spreadsheet>\n }\n </div>\n</div>\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;AAAA;AAqCA;AAEA;MAca,wDAAwD,CAAA;;;AAmMnE,IAAA,WAAA,GAAA;;;AA9LiB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;QACxC,IAAA,CAAA,+BAA+B,GAAG,IAAI,CAAC;AACrD,aAAA,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,mBAAmB,CAAC,IAAI;AAC/E,aAAA,IAAI,EAAmE;QACzD,IAAA,CAAA,0BAA0B,GAAG,IAAI,CAAC;AAChD,aAAA,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC1E,aAAA,IAAI,EAA8D;AACpD,QAAA,IAAA,CAAA,yBAAyB,GAAG,MAAM,CAAC,4BAA4B,CAAC;AAChE,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,kCAAkC,CAAC;AAC3D,QAAA,IAAA,CAAA,qBAAqB,GAAG,MAAM,CAAC,oBAAoB,CAAC;;;AAMrE;;AAEG;AACH,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAuB,EAAE,6EAAC;AAExC;;AAEG;AACH,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAqB,EAAE,4EAAC;AAErC;;AAEG;AACH,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAEhC;;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,EAAA,MAAA,EAAA,aAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,YAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,mBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAA,IAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAS5F,wDAAwD,EAAA,UAAA,EAAA,CAAA;kBAZpE,SAAS;+BACE,6BAA6B,EAAA,UAAA,EAC3B,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,uBAAuB,EAAE,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,CAAC,iBAGzF,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,wBAAA,KAAK,EAAE,6BAA6B;AACrC,qBAAA,EAAA,QAAA,EAAA,+vCAAA,EAAA,MAAA,EAAA,CAAA,kgBAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"acorex-modules-organization-management-responsibilities-matrix.component-DVlThT1h.mjs","sources":["../../../../libs/modules/organization-management/src/lib/features/responsibilities-matrix/responsibilities-matrix.component.ts","../../../../libs/modules/organization-management/src/lib/features/responsibilities-matrix/responsibilities-matrix.component.html"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { AXPWidgetsList } from '@acorex/platform/contracts';\nimport { AXPEntity } from '@acorex/platform/common';\nimport {\n AXPSpreadsheetCellChangeEvent,\n AXPSpreadsheetColumn,\n AXPSpreadsheetComponent,\n AXPSpreadsheetData,\n AXPSpreadsheetItem,\n AXPSpreadsheetRowChangeEvent,\n} from '@acorex/platform/layout/components';\nimport {\n AXPEntityDataSelectorService,\n AXPEntityDefinitionRegistryService,\n AXPEntityService,\n} from '@acorex/platform/layout/entity';\nimport { AXPWidgetNode } from '@acorex/platform/layout/widget-core';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n inject,\n input,\n output,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RootConfig } from '../../contracts';\nimport { AXMOrganizationManagementResponsibilityLevelEntityModel } from '../../entities/responsibility-level/responsibility-level.types';\nimport { AXMOrganizationManagementResponsibilityEntityModel } from '../../entities/responsibility/responsibility.types';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix',\n standalone: true,\n imports: [CommonModule, AXPSpreadsheetComponent, AXButtonModule, AXDecoratorModule, AXTranslationModule],\n templateUrl: './responsibilities-matrix.component.html',\n styleUrl: './responsibilities-matrix.component.scss',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'axm-responsibilities-matrix',\n },\n})\nexport class AXMOrganizationManagementResponsibilitiesMatrixComponent {\n //#endregion\n\n //#region ---- Services & Dependencies ----\n\n private readonly entityService = inject(AXPEntityService);\n private readonly responsibilityLevelDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.responsibilityLevel.name)\n .data<string, AXMOrganizationManagementResponsibilityLevelEntityModel>();\n private readonly responsibilityDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.responsibility.name)\n .data<string, AXMOrganizationManagementResponsibilityEntityModel>();\n private readonly entityDataSelectorService = inject(AXPEntityDataSelectorService);\n private readonly entityResolver = inject(AXPEntityDefinitionRegistryService);\n private readonly multiLanguageResolver = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Inputs ----\n\n /**\n * Array of job levels to display as columns (e.g., Junior, Mid-Level, Senior)\n */\n titles = input<AXPSpreadsheetItem[]>([]);\n\n /**\n * Initial matrix data: { [responsibilityId]: { [title.id]: responsibilityLevelId } }\n */\n value = input<AXPSpreadsheetData>({});\n\n /**\n * Whether the matrix is in readonly mode\n */\n readonly = input<boolean>(false);\n\n /**\n * Initial responsibility IDs (for syncing with parent entity)\n */\n responsibilityIds = input<string[]>([]);\n\n //#endregion\n\n //#region ---- Outputs ----\n\n /**\n * Emitted when the matrix value changes\n */\n valueChange = output<AXPSpreadsheetData>();\n\n /**\n * Emitted when a single cell value changes\n */\n cellChange = output<AXPSpreadsheetCellChangeEvent>();\n\n /**\n * Emitted when selected responsibilities change (responsibility IDs array)\n */\n responsibilityIdsChange = output<string[]>();\n\n //#endregion\n\n //#region ---- Class Properties ----\n\n /**\n * Responsibility levels loaded from the service\n */\n private responsibilityLevels = signal<AXMOrganizationManagementResponsibilityLevelEntityModel[]>([]);\n\n /**\n * Selected responsibilities (internal state)\n */\n protected selectedResponsibilities = signal<AXMOrganizationManagementResponsibilityEntityModel[]>([]);\n\n /**\n * Responsibility entity definition\n */\n private responsibilityEntityDef = signal<AXPEntity | null>(null);\n\n /**\n * Loading state\n */\n protected isLoading = signal<boolean>(true);\n\n /**\n * Loading state for responsibility entity\n */\n protected isLoadingResponsibilityEntity = signal<boolean>(false);\n\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Vertical titles (responsibilities) - rows of the matrix\n */\n protected verticalTitles = computed<AXPSpreadsheetItem[]>(() => {\n const responsibilities = this.selectedResponsibilities();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (responsibilities ?? []).map((responsibility) => ({\n id: responsibility.id,\n title: resolve(responsibility.title),\n description: responsibility.description ? resolve(responsibility.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Horizontal titles (job levels) - columns of the matrix\n */\n protected horizontalTitles = computed<AXPSpreadsheetItem[]>(() => {\n const titlesInput = this.titles();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (titlesInput ?? []).map((title) => ({\n id: title.id,\n title: resolve(title.title),\n description: title.description ? resolve(title.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Cell options (responsibility levels) - dropdown options for each cell, loaded from service\n */\n protected cellOptions = computed<AXPSpreadsheetItem[]>(() => {\n const levels = this.responsibilityLevels();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (levels ?? []).map((level) => ({\n id: level.id,\n title: resolve(level.title),\n description: level.description ? resolve(level.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Spreadsheet columns - converted from horizontalTitles (job levels)\n */\n protected spreadsheetColumns = computed<AXPSpreadsheetColumn[]>(() => {\n const horizontalTitles = this.horizontalTitles();\n const cellOptions = this.cellOptions();\n\n // Create SelectBox widget configuration for responsibility levels\n const selectBoxWidget: AXPWidgetNode = {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: cellOptions.map((option) => ({\n id: option.id,\n title: option.title,\n description: option.description,\n })),\n },\n };\n\n // Convert horizontal titles to columns\n return horizontalTitles.map((title) => ({\n name: title.id,\n title: title.title,\n description: title.description,\n path: title.id, // Path to access the value in row object\n widget: selectBoxWidget,\n }));\n });\n\n /**\n * Spreadsheet rows - converted from matrix data and vertical titles\n */\n protected spreadsheetRows = computed<Record<string, any>[]>(() => {\n const verticalTitles = this.verticalTitles();\n const horizontalTitles = this.horizontalTitles();\n const matrixData = this.value();\n\n // Convert matrix data to spreadsheet rows\n return verticalTitles.map((responsibility) => {\n const row: Record<string, any> = {\n name: responsibility.id, // Required for fixed mode row identification\n _responsibilityTitle: responsibility.title, // For row header display\n _responsibilityDescription: responsibility.description, // For row header description\n };\n\n // Add cell values for each horizontal title (column)\n horizontalTitles.forEach((title) => {\n const cellValue = matrixData[responsibility.id]?.[title.id] ?? null;\n row[title.id] = cellValue;\n });\n\n return row;\n });\n });\n\n //#endregion\n\n //#region ---- Lifecycle Methods ----\n\n constructor() {\n // Load responsibility levels and responsibility entity definition when component initializes\n this.loadResponsibilityLevels();\n this.loadResponsibilityEntityDef();\n\n // Watch for responsibilityIds input changes and sync selected responsibilities\n effect(() => {\n const ids = this.responsibilityIds();\n if (ids && ids.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(ids);\n } else if (!ids || ids.length === 0) {\n // Try to extract responsibility IDs from matrix data keys\n const matrixData = this.value();\n const responsibilityIdsFromMatrix = Object.keys(matrixData || {});\n if (responsibilityIdsFromMatrix.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(responsibilityIdsFromMatrix);\n } else {\n this.selectedResponsibilities.set([]);\n }\n }\n });\n\n // Watch for matrix value changes and extract responsibility IDs\n effect(() => {\n const matrixData = this.value();\n const currentResponsibilityIds = this.selectedResponsibilities().map((r) => r.id);\n const responsibilityIdsFromMatrix = Object.keys(matrixData || {});\n\n // If matrix has responsibilities that aren't in selectedResponsibilities, load them\n const missingIds = responsibilityIdsFromMatrix.filter((id) => !currentResponsibilityIds.includes(id));\n if (missingIds.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(missingIds);\n }\n });\n }\n\n //#endregion\n\n //#region ---- Data Loading Methods ----\n\n /**\n * Load responsibility levels from the service\n */\n private async loadResponsibilityLevels(): Promise<void> {\n try {\n this.isLoading.set(true);\n const query = {\n skip: 0,\n take: 1000,\n sort: [{ field: 'level', dir: 'asc' as const }],\n };\n const result = await this.responsibilityLevelDataAccessor.query(query);\n this.responsibilityLevels.set(result.items || []);\n } catch (error) {\n console.error('Error loading responsibility levels:', error);\n this.responsibilityLevels.set([]);\n } finally {\n this.isLoading.set(false);\n }\n }\n\n /**\n * Load responsibility entity definition\n */\n private async loadResponsibilityEntityDef(): Promise<void> {\n try {\n this.isLoadingResponsibilityEntity.set(true);\n const entityDef = await this.entityResolver.resolve(\n RootConfig.module.name,\n RootConfig.entities.responsibility.name,\n );\n this.responsibilityEntityDef.set(entityDef);\n } catch (error) {\n console.error('Error loading responsibility entity definition:', error);\n this.responsibilityEntityDef.set(null);\n } finally {\n this.isLoadingResponsibilityEntity.set(false);\n }\n }\n\n /**\n * Load responsibilities by IDs\n */\n private async loadResponsibilitiesByIds(ids: string[]): Promise<void> {\n try {\n const responsibilities: AXMOrganizationManagementResponsibilityEntityModel[] = [];\n\n for (const id of ids) {\n try {\n const responsibility = await this.responsibilityDataAccessor.byKey(id);\n if (responsibility) {\n responsibilities.push(responsibility);\n }\n } catch (error) {\n console.error(`Error loading responsibility ${id}:`, error);\n }\n }\n\n this.selectedResponsibilities.set(responsibilities);\n } catch (error) {\n console.error('Error loading responsibilities by IDs:', error);\n }\n }\n\n //#endregion\n\n //#region ---- Data Transformation Methods ----\n\n /**\n * Convert spreadsheet rows back to matrix data format\n */\n private convertSpreadsheetRowsToMatrixData(rows: Record<string, any>[]): AXPSpreadsheetData {\n const horizontalTitles = this.horizontalTitles();\n const matrixData: AXPSpreadsheetData = {};\n\n rows.forEach((row) => {\n const responsibilityId = row['name']; // Row identifier (responsibility ID)\n if (!responsibilityId) {\n return;\n }\n\n matrixData[responsibilityId] = {};\n\n // Extract cell values for each column\n horizontalTitles.forEach((title) => {\n const cellValue = row[title.id] ?? null;\n matrixData[responsibilityId][title.id] = cellValue;\n });\n });\n\n return matrixData;\n }\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle spreadsheet change event - convert to matrix format\n */\n protected handleSpreadsheetChange(rows: Record<string, any>[]): void {\n const matrixData = this.convertSpreadsheetRowsToMatrixData(rows);\n this.valueChange.emit(matrixData);\n\n // Extract responsibility IDs from row names and emit\n const responsibilityIds = rows.map((row) => row['name']).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n\n /**\n * Handle cell change event from spreadsheet\n */\n protected handleCellChange(event: AXPSpreadsheetCellChangeEvent): void {\n this.cellChange.emit(event);\n }\n\n /**\n * Open responsibility selector dialog\n */\n protected async handleSelectResponsibilities(): Promise<void> {\n const entityDef = this.responsibilityEntityDef();\n if (!entityDef) {\n console.error('Responsibility entity definition not loaded');\n return;\n }\n\n try {\n // Get currently selected responsibility IDs\n const selectedItemIds = this.selectedResponsibilities()\n .map((responsibility) => responsibility.id)\n .filter((id) => id != null);\n\n const result = await this.entityDataSelectorService.open({\n entity: entityDef,\n title: 'Select Responsibilities',\n allowMultiple: true,\n selectedItemIds: selectedItemIds.length > 0 ? selectedItemIds : undefined,\n });\n\n if (result && result.items && result.items.length > 0) {\n // Update selected responsibilities\n this.selectedResponsibilities.set(result.items);\n // Emit responsibility IDs change\n const responsibilityIds = result.items.map((item) => item.id).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n } catch (error) {\n console.error('Error opening responsibility selector:', error);\n }\n }\n\n /**\n * Remove a responsibility from selection\n */\n protected handleRemoveResponsibility(responsibilityId: string): void {\n const currentResponsibilities = this.selectedResponsibilities();\n const updatedResponsibilities = currentResponsibilities.filter(\n (responsibility) => responsibility.id !== responsibilityId,\n );\n this.selectedResponsibilities.set(updatedResponsibilities);\n\n // Remove responsibility data from matrix value\n const currentMatrixData = this.value();\n const updatedMatrixData = { ...currentMatrixData };\n delete updatedMatrixData[responsibilityId];\n\n // Emit updated matrix data\n this.valueChange.emit(updatedMatrixData);\n\n // Emit responsibility IDs change\n const responsibilityIds = updatedResponsibilities.map((r) => r.id).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n\n /**\n * Handle row change event from spreadsheet (add/remove)\n */\n protected handleRowChange(event: AXPSpreadsheetRowChangeEvent): void {\n if (event.type === 'remove') {\n // Remove responsibility from selection\n this.handleRemoveResponsibility(event.rowId);\n }\n // Note: 'add' type shouldn't happen in fixed mode, but if it does, we can handle it here\n }\n\n //#endregion\n}\n\n//#endregion\n","<div class=\"__container\">\n <div class=\"__matrix-section\">\n <div class=\"__matrix-header ax-sm\">\n @if (!readonly()) {\n <ax-button color=\"primary\"\n [text]=\"'@organization-management:job-definitions.components.responsibilities-matrix.actions.choose-responsibilities.title' | translate | async\"\n (onClick)=\"handleSelectResponsibilities()\" [disabled]=\"isLoadingResponsibilityEntity()\">\n <ax-icon icon=\"far fa-plus\"></ax-icon>\n </ax-button>\n }\n </div>\n @if (isLoading()) {\n <div class=\"__loading\">\n <span>{{ '@organization-management:job-definitions.components.responsibilities-matrix.messages.loading-responsibility-levels' | translate | async\n }}</span>\n </div>\n } @else {\n <axp-spreadsheet [title]=\"'Responsibility / Level'\" [columns]=\"spreadsheetColumns()\" [rowsInput]=\"spreadsheetRows()\"\n [rowMode]=\"'fixed'\" [readonly]=\"readonly()\" [allowRemoveRows]=\"true\" [rowTitlePath]=\"'_responsibilityTitle'\"\n [rowDescriptionPath]=\"'_responsibilityDescription'\" (cellChange)=\"handleCellChange($event)\"\n (spreadsheetChange)=\"handleSpreadsheetChange($event)\" (rowChange)=\"handleRowChange($event)\"></axp-spreadsheet>\n }\n </div>\n</div>\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;AAAA;AAqCA;AAEA;MAca,wDAAwD,CAAA;;;AAmMnE,IAAA,WAAA,GAAA;;;AA9LiB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;QACxC,IAAA,CAAA,+BAA+B,GAAG,IAAI,CAAC;AACrD,aAAA,UAAU,CAAC,UAAU,CAAC,MAAM,CAA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IAAA,EAAA,MAAA,EAAA,IAAA,EAAAA,IAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAS5F,wDAAwD,EAAA,UAAA,EAAA,CAAA;kBAZpE,SAAS;+BACE,6BAA6B,EAAA,UAAA,EAC3B,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,uBAAuB,EAAE,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,CAAC,iBAGzF,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,wBAAA,KAAK,EAAE,6BAA6B;AACrC,qBAAA,EAAA,QAAA,EAAA,+vCAAA,EAAA,MAAA,EAAA,CAAA,kgBAAA,CAAA,EAAA;;;;;"}
@@ -3,7 +3,7 @@ import { AXMLocationManagementDataSourceKeys } from '@acorex/modules/location-ma
3
3
  import { inject } from '@angular/core';
4
4
  import { objectKeyValueTransforms } from '@acorex/platform/core';
5
5
  import { AXPSessionService } from '@acorex/platform/auth';
6
- import { b as AXPOrganizationManagementSettings } from './acorex-modules-organization-management-acorex-modules-organization-management-B6zOrUAS.mjs';
6
+ import { b as AXPOrganizationManagementSettings } from './acorex-modules-organization-management-acorex-modules-organization-management-BjKrMO_L.mjs';
7
7
 
8
8
  const I18N_SECTION = '@organization-management:settings.sections';
9
9
  class AXMSettingProvider {
@@ -176,4 +176,4 @@ class AXMSettingProvider {
176
176
  }
177
177
 
178
178
  export { AXMSettingProvider };
179
- //# sourceMappingURL=acorex-modules-organization-management-settings.provider-UFqps4Zg.mjs.map
179
+ //# sourceMappingURL=acorex-modules-organization-management-settings.provider-BxoCS3w7.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-organization-management-settings.provider-UFqps4Zg.mjs","sources":["../../../../libs/modules/organization-management/src/lib/settings.provider.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex/platform/contracts';\nimport { AXMLocationManagementDataSourceKeys } from '@acorex/modules/location-management';\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';\nimport { inject } from '@angular/core';\nimport { objectKeyValueTransforms } from '@acorex/platform/core';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXPOrganizationManagementSettings } from './contracts/settings.keys';\n\nconst I18N_SECTION = '@organization-management:settings.sections';\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n private readonly sessionService = inject(AXPSessionService);\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n context\n .addGroup(\n 'organization-settings',\n `${I18N_SECTION}.organization-settings.nav-title`,\n `${I18N_SECTION}.organization-settings.description`,\n 'fa-light fa-building',\n `${I18N_SECTION}.organization-settings.title`,\n 20,\n )\n // Branding Section\n .addSection('branding', `${I18N_SECTION}.branding.title`, `${I18N_SECTION}.branding.description`)\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationName,\n title: `${I18N_SECTION}.branding-name.title`,\n scope: 'T',\n isInherited: false,\n defaultValue: this.sessionService.tenant?.title,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.branding-name.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.BrandingLogo,\n title: `${I18N_SECTION}.branding-logo.title`,\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Advanced.Avatar,\n options: {\n fileTypes: ['image/png', 'image/jpeg'],\n },\n },\n description: `${I18N_SECTION}.branding-logo.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CopyrightText,\n title: `${I18N_SECTION}.branding-copyright.title`,\n scope: 'T',\n isInherited: true,\n defaultValue: '© 2025 Your Company',\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.branding-copyright.description`,\n })\n .endSection()\n\n // Contact Details Section\n .addSection('contact', 'Contact Details', 'Set company contact information.')\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactEmail,\n title: 'Company Email',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: 'Primary email address for the company.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.SupportEmail,\n title: 'Support Email',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: 'Support email address for customer inquiries.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.InfoEmail,\n title: 'Info Email',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: 'General information email address.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactPhone,\n title: 'Company Phone',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'phone',\n hasLabel: false,\n },\n },\n description: 'Primary contact phone number.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.FaxNumber,\n title: 'Fax Number',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'phone',\n hasLabel: false,\n },\n },\n description: 'Fax number for the company.',\n })\n .endSection()\n\n // Address Section\n .addSection('address', 'Address', 'Manage company address details.')\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationAddress,\n title: 'Street Address',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: 'Street address of the company.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationCity,\n title: 'City',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: 'City where the company is located.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationCountry,\n title: 'Country',\n scope: 'T',\n isInherited: false,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: AXMLocationManagementDataSourceKeys.Countries,\n },\n },\n description: 'Country where the company is based.',\n })\n .endSection()\n\n .endGroup();\n }\n}\n"],"names":[],"mappings":";;;;;;;AAQA,MAAM,YAAY,GAAG,4CAA4C;MAEpD,kBAAkB,CAAA;AAA/B,IAAA,WAAA,GAAA;AACmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;IA+K7D;IA7KE,MAAM,OAAO,CAAC,OAA4C,EAAA;QACxD;AACG,aAAA,QAAQ,CACP,uBAAuB,EACvB,GAAG,YAAY,CAAA,gCAAA,CAAkC,EACjD,CAAA,EAAG,YAAY,CAAA,kCAAA,CAAoC,EACnD,sBAAsB,EACtB,CAAA,EAAG,YAAY,CAAA,4BAAA,CAA8B,EAC7C,EAAE;;aAGH,UAAU,CAAC,UAAU,EAAE,CAAA,EAAG,YAAY,iBAAiB,EAAE,CAAA,EAAG,YAAY,CAAA,qBAAA,CAAuB;AAC/F,aAAA,UAAU,CAAC;YACV,GAAG,EAAE,iCAAiC,CAAC,gBAAgB;YACvD,KAAK,EAAE,CAAA,EAAG,YAAY,CAAA,oBAAA,CAAsB;AAC5C,YAAA,KAAK,EAAE,GAAG;AACV,YAAA,WAAW,EAAE,KAAK;AAClB,YAAA,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK;AAC/C,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO;AACrC,aAAA;YACD,WAAW,EAAE,CAAA,EAAG,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AiC,CAAC,mBAAmB;AAC1D,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,KAAK,EAAE,GAAG;AACV,YAAA,WAAW,EAAE,KAAK;AAClB,YAAA,eAAe,EAAE,wBAAwB,CAAC,IAAI,CAAC;AAC/C,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,SAAS;AACtC,gBAAA,OAAO,EAAE;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE,OAAO;oBAClB,UAAU,EAAE,mCAAmC,CAAC,SAAS;AAC1D,iBAAA;AACF,aAAA;AACD,YAAA,WAAW,EAAE,qCAAqC;SACnD;AACA,aAAA,UAAU;AAEV,aAAA,QAAQ,EAAE;IACf;AACD;;;;"}
1
+ {"version":3,"file":"acorex-modules-organization-management-settings.provider-BxoCS3w7.mjs","sources":["../../../../libs/modules/organization-management/src/lib/settings.provider.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex/platform/contracts';\nimport { AXMLocationManagementDataSourceKeys } from '@acorex/modules/location-management';\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';\nimport { inject } from '@angular/core';\nimport { objectKeyValueTransforms } from '@acorex/platform/core';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXPOrganizationManagementSettings } from './contracts/settings.keys';\n\nconst I18N_SECTION = '@organization-management:settings.sections';\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n private readonly sessionService = inject(AXPSessionService);\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n context\n .addGroup(\n 'organization-settings',\n `${I18N_SECTION}.organization-settings.nav-title`,\n `${I18N_SECTION}.organization-settings.description`,\n 'fa-light fa-building',\n `${I18N_SECTION}.organization-settings.title`,\n 20,\n )\n // Branding Section\n .addSection('branding', `${I18N_SECTION}.branding.title`, `${I18N_SECTION}.branding.description`)\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationName,\n title: `${I18N_SECTION}.branding-name.title`,\n scope: 'T',\n isInherited: false,\n defaultValue: this.sessionService.tenant?.title,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.branding-name.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.BrandingLogo,\n title: `${I18N_SECTION}.branding-logo.title`,\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Advanced.Avatar,\n options: {\n fileTypes: ['image/png', 'image/jpeg'],\n },\n },\n description: `${I18N_SECTION}.branding-logo.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CopyrightText,\n title: `${I18N_SECTION}.branding-copyright.title`,\n scope: 'T',\n isInherited: true,\n defaultValue: '© 2025 Your Company',\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.branding-copyright.description`,\n })\n .endSection()\n\n // Contact Details Section\n .addSection('contact', 'Contact Details', 'Set company contact information.')\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactEmail,\n title: 'Company Email',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: 'Primary email address for the company.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.SupportEmail,\n title: 'Support Email',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: 'Support email address for customer inquiries.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.InfoEmail,\n title: 'Info Email',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: 'General information email address.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactPhone,\n title: 'Company Phone',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'phone',\n hasLabel: false,\n },\n },\n description: 'Primary contact phone number.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.FaxNumber,\n title: 'Fax Number',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'phone',\n hasLabel: false,\n },\n },\n description: 'Fax number for the company.',\n })\n .endSection()\n\n // Address Section\n .addSection('address', 'Address', 'Manage company address details.')\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationAddress,\n title: 'Street Address',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: 'Street address of the company.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationCity,\n title: 'City',\n scope: 'T',\n isInherited: false,\n defaultValue: '',\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: 'City where the company is located.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationCountry,\n title: 'Country',\n scope: 'T',\n isInherited: false,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: AXMLocationManagementDataSourceKeys.Countries,\n },\n },\n description: 'Country where the company is based.',\n })\n .endSection()\n\n .endGroup();\n }\n}\n"],"names":[],"mappings":";;;;;;;AAQA,MAAM,YAAY,GAAG,4CAA4C;MAEpD,kBAAkB,CAAA;AAA/B,IAAA,WAAA,GAAA;AACmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;IA+K7D;IA7KE,MAAM,OAAO,CAAC,OAA4C,EAAA;QACxD;AACG,aAAA,QAAQ,CACP,uBAAuB,EACvB,GAAG,YAAY,CAAA,gCAAA,CAAkC,EACjD,CAAA,EAAG,YAAY,CAAA,kCAAA,CAAoC,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AG;AACV,YAAA,WAAW,EAAE,KAAK;AAClB,YAAA,YAAY,EAAE,EAAE;AAChB,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO;AACrC,aAAA;AACD,YAAA,WAAW,EAAE,gCAAgC;SAC9C;AACA,aAAA,UAAU,CAAC;YACV,GAAG,EAAE,iCAAiC,CAAC,gBAAgB;AACvD,YAAA,KAAK,EAAE,MAAM;AACb,YAAA,KAAK,EAAE,GAAG;AACV,YAAA,WAAW,EAAE,KAAK;AAClB,YAAA,YAAY,EAAE,EAAE;AAChB,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO;AACrC,aAAA;AACD,YAAA,WAAW,EAAE,oCAAoC;SAClD;AACA,aAAA,UAAU,CAAC;YACV,GAAG,EAAE,iCAAiC,CAAC,mBAAmB;AAC1D,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,KAAK,EAAE,GAAG;AACV,YAAA,WAAW,EAAE,KAAK;AAClB,YAAA,eAAe,EAAE,wBAAwB,CAAC,IAAI,CAAC;AAC/C,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,SAAS;AACtC,gBAAA,OAAO,EAAE;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE,OAAO;oBAClB,UAAU,EAAE,mCAAmC,CAAC,SAAS;AAC1D,iBAAA;AACF,aAAA;AACD,YAAA,WAAW,EAAE,qCAAqC;SACnD;AACA,aAAA,UAAU;AAEV,aAAA,QAAQ,EAAE;IACf;AACD;;;;"}
@@ -1,2 +1,2 @@
1
- export { d as AXMOrgChartCategory, A as AXMOrgChartNodeType, c as AXMOrgChartStructureRefreshHub, j as AXMOrganizationManagementCommandKeys, f as AXMOrganizationManagementDataSourceKeys, u as AXMOrganizationManagementModule, k as AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, t as AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, v as AXM_ORG_CHART_COMMUNICATION_SUBMENU_GROUP_ID, w as AXM_ORG_CHART_COMMUNICATION_SUBMENU_ICON, x as AXM_ORG_CHART_COMMUNICATION_SUBMENU_TITLE_I18N_KEY, e as AXM_ORG_CHART_EMPLOYEE_SUBMENU_GROUP_ID, m as AXM_ORG_CHART_EMPLOYEE_SUBMENU_ICON, o as AXM_ORG_CHART_EMPLOYEE_SUBMENU_TITLE_I18N_KEY, s as AXM_ORG_CHART_LAYOUT_SUBMENU_GROUP_ID, q as AXM_ORG_CHART_LAYOUT_SUBMENU_ICON, r as AXM_ORG_CHART_LAYOUT_SUBMENU_TITLE_I18N_KEY, a as AXM_ORG_CHART_NODE_CONTRIBUTOR, y as AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION, z as AXPOrganizationManagementFeatureKeys, h as AXPOrganizationManagementMenuKeys, g as AXPOrganizationManagementPermissionKeys, b as AXPOrganizationManagementSettings, J as JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY, i as JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY, R as RootConfig, l as axmResolveOrgChartFlyoutEmployeeId, B as factoryBusinessUnit, C as factoryBusinessUnitType, D as factoryChart, E as factoryCompany, F as factoryJobDefinition, G as factoryJobLevel, H as factoryPosition, I as factoryResponsibility, K as factoryResponsibilityLevel, L as factoryTeam, M as factoryTeamBusinessUnit, N as factoryTeamMember, O as factoryTeamMemberRole } from './acorex-modules-organization-management-acorex-modules-organization-management-B6zOrUAS.mjs';
1
+ export { d as AXMOrgChartCategory, A as AXMOrgChartNodeType, c as AXMOrgChartStructureRefreshHub, j as AXMOrganizationManagementCommandKeys, f as AXMOrganizationManagementDataSourceKeys, u as AXMOrganizationManagementModule, k as AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, t as AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, v as AXM_ORG_CHART_COMMUNICATION_SUBMENU_GROUP_ID, w as AXM_ORG_CHART_COMMUNICATION_SUBMENU_ICON, x as AXM_ORG_CHART_COMMUNICATION_SUBMENU_TITLE_I18N_KEY, e as AXM_ORG_CHART_EMPLOYEE_SUBMENU_GROUP_ID, m as AXM_ORG_CHART_EMPLOYEE_SUBMENU_ICON, o as AXM_ORG_CHART_EMPLOYEE_SUBMENU_TITLE_I18N_KEY, s as AXM_ORG_CHART_LAYOUT_SUBMENU_GROUP_ID, q as AXM_ORG_CHART_LAYOUT_SUBMENU_ICON, r as AXM_ORG_CHART_LAYOUT_SUBMENU_TITLE_I18N_KEY, a as AXM_ORG_CHART_NODE_CONTRIBUTOR, y as AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION, z as AXPOrganizationManagementFeatureKeys, h as AXPOrganizationManagementMenuKeys, g as AXPOrganizationManagementPermissionKeys, b as AXPOrganizationManagementSettings, J as JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY, i as JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY, R as RootConfig, l as axmResolveOrgChartFlyoutEmployeeId, B as factoryBusinessUnit, C as factoryBusinessUnitType, D as factoryChart, E as factoryCompany, F as factoryJobDefinition, G as factoryJobLevel, H as factoryPosition, I as factoryResponsibility, K as factoryResponsibilityLevel, L as factoryTeam, M as factoryTeamBusinessUnit, N as factoryTeamMember, O as factoryTeamMemberRole } from './acorex-modules-organization-management-acorex-modules-organization-management-BjKrMO_L.mjs';
2
2
  //# sourceMappingURL=acorex-modules-organization-management.mjs.map
@@ -857,8 +857,6 @@ const PHONES_REPEATER_CHILDREN = [
857
857
  {
858
858
  type: AXPWidgetsList.Editors.ContactBox,
859
859
  mode: 'edit',
860
- path: 'value',
861
- name: 'value',
862
860
  options: { type: 'phone', placeholder: '@person-core:persons.entities.person.fields.phone.placeholder' },
863
861
  },
864
862
  ];
@@ -866,8 +864,6 @@ const EMAILS_REPEATER_CHILDREN = [
866
864
  {
867
865
  type: AXPWidgetsList.Editors.ContactBox,
868
866
  mode: 'edit',
869
- path: 'value',
870
- name: 'value',
871
867
  options: { type: 'email', placeholder: '@person-core:persons.entities.person.fields.email.placeholder' },
872
868
  },
873
869
  ];
@@ -880,8 +876,6 @@ const ADDRESSES_REPEATER_CHILDREN = [
880
876
  {
881
877
  type: AXPWidgetsList.Editors.AddressBox,
882
878
  mode: 'edit',
883
- path: '.',
884
- name: 'address',
885
879
  options: {
886
880
  mode: 'expandable',
887
881
  hasLabel: true,