@acorex-platform/module-organization-management-client 1.0.2 → 2.0.0-beta.0

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 (89) hide show
  1. package/fesm2022/{acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-BrZiTl-n.mjs → acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-DZCI_b4d.mjs} +37 -36
  2. package/fesm2022/acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-DZCI_b4d.mjs.map +1 -0
  3. package/fesm2022/{acorex-platform-module-organization-management-client-add-business-unit-to-business-unit.command-CA2uZQyC.mjs → acorex-platform-module-organization-management-client-add-business-unit-to-business-unit.command-Co6vRsau.mjs} +1 -1
  4. package/fesm2022/{acorex-platform-module-organization-management-client-add-business-unit-to-business-unit.command-CA2uZQyC.mjs.map → acorex-platform-module-organization-management-client-add-business-unit-to-business-unit.command-Co6vRsau.mjs.map} +1 -1
  5. package/fesm2022/{acorex-platform-module-organization-management-client-add-position-to-business-unit.command-F7jD3jKs.mjs → acorex-platform-module-organization-management-client-add-position-to-business-unit.command-B5rtpGuC.mjs} +1 -1
  6. package/fesm2022/{acorex-platform-module-organization-management-client-add-position-to-business-unit.command-F7jD3jKs.mjs.map → acorex-platform-module-organization-management-client-add-position-to-business-unit.command-B5rtpGuC.mjs.map} +1 -1
  7. package/fesm2022/{acorex-platform-module-organization-management-client-add-team-to-business-unit.command-BLQFjhS5.mjs → acorex-platform-module-organization-management-client-add-team-to-business-unit.command-DYlTZPE3.mjs} +1 -1
  8. package/fesm2022/{acorex-platform-module-organization-management-client-add-team-to-business-unit.command-BLQFjhS5.mjs.map → acorex-platform-module-organization-management-client-add-team-to-business-unit.command-DYlTZPE3.mjs.map} +1 -1
  9. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs +1 -1
  10. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs.map +1 -1
  11. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-CFHn4pvd.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-Cl4P94TF.mjs} +57 -15
  12. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-Cl4P94TF.mjs.map +1 -0
  13. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-Bht0p9VW.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-DMyXpWnH.mjs} +2 -2
  14. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-Bht0p9VW.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-DMyXpWnH.mjs.map} +1 -1
  15. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-DW964xi2.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-BWo57l8C.mjs} +2 -2
  16. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-DW964xi2.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-BWo57l8C.mjs.map} +1 -1
  17. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-CQeacMEi.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-gN0n_Fhl.mjs} +2 -2
  18. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-CQeacMEi.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-gN0n_Fhl.mjs.map} +1 -1
  19. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-CcHfHQdK.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-DOyNvQ4C.mjs} +2 -2
  20. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-CcHfHQdK.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-DOyNvQ4C.mjs.map} +1 -1
  21. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-tRZ4mXoA.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-DDU8iiLK.mjs} +2 -2
  22. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-tRZ4mXoA.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-DDU8iiLK.mjs.map} +1 -1
  23. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-B4fR41Mq.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-C0uGWfNw.mjs} +2 -2
  24. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-B4fR41Mq.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-C0uGWfNw.mjs.map} +1 -1
  25. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BoxLq8XK.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-DI-5WTn7.mjs} +2 -2
  26. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BoxLq8XK.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-DI-5WTn7.mjs.map} +1 -1
  27. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-Bwv9vLoo.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-DkOWXkpz.mjs} +2 -2
  28. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-Bwv9vLoo.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-DkOWXkpz.mjs.map} +1 -1
  29. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-ZYMt_dzM.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-CVXBiqKG.mjs} +2 -2
  30. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-ZYMt_dzM.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-CVXBiqKG.mjs.map} +1 -1
  31. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-CSr0PM7b.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-CLw5ynY6.mjs} +2 -2
  32. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-CSr0PM7b.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-CLw5ynY6.mjs.map} +1 -1
  33. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-DXvtlD91.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-pjNgLg_E.mjs} +2 -2
  34. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-DXvtlD91.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-pjNgLg_E.mjs.map} +1 -1
  35. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-d8QbPDag.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-B16zfb0N.mjs} +3 -3
  36. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-B16zfb0N.mjs.map +1 -0
  37. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-f7t1HoIv.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-ChQolIap.mjs} +2 -2
  38. package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-f7t1HoIv.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-ChQolIap.mjs.map} +1 -1
  39. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs +1 -1
  40. package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs +47 -26
  41. package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs.map +1 -1
  42. package/fesm2022/{acorex-platform-module-organization-management-client-feature-definition.provider-BQKtvXOM.mjs → acorex-platform-module-organization-management-client-feature-definition.provider-B6oz0fcW.mjs} +1 -1
  43. package/fesm2022/{acorex-platform-module-organization-management-client-feature-definition.provider-BQKtvXOM.mjs.map → acorex-platform-module-organization-management-client-feature-definition.provider-B6oz0fcW.mjs.map} +1 -1
  44. package/fesm2022/{acorex-platform-module-organization-management-client-generate-org-chart.command-DJnFJKuo.mjs → acorex-platform-module-organization-management-client-generate-org-chart.command-DsjIC98S.mjs} +1 -1
  45. package/fesm2022/{acorex-platform-module-organization-management-client-generate-org-chart.command-DJnFJKuo.mjs.map → acorex-platform-module-organization-management-client-generate-org-chart.command-DsjIC98S.mjs.map} +1 -1
  46. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-CGRJXMOn.mjs → acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-D-Bq43Zo.mjs} +1 -1
  47. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-CGRJXMOn.mjs.map → acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-D-Bq43Zo.mjs.map} +1 -1
  48. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-CKXjoIvd.mjs → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-BTPdx9h4.mjs} +3 -3
  49. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-CKXjoIvd.mjs.map → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-BTPdx9h4.mjs.map} +1 -1
  50. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-D6NuCL7P.mjs → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-CVMxw87j.mjs} +3 -3
  51. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-D6NuCL7P.mjs.map → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-CVMxw87j.mjs.map} +1 -1
  52. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-skills-page.component-bQOqP1Tx.mjs → acorex-platform-module-organization-management-client-job-definition-skills-page.component-Cf7RfsVR.mjs} +2 -2
  53. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-skills-page.component-bQOqP1Tx.mjs.map → acorex-platform-module-organization-management-client-job-definition-skills-page.component-Cf7RfsVR.mjs.map} +1 -1
  54. package/fesm2022/{acorex-platform-module-organization-management-client-menu.provider-BgRoEC48.mjs → acorex-platform-module-organization-management-client-menu.provider-C2j0kbXX.mjs} +1 -1
  55. package/fesm2022/{acorex-platform-module-organization-management-client-menu.provider-BgRoEC48.mjs.map → acorex-platform-module-organization-management-client-menu.provider-C2j0kbXX.mjs.map} +1 -1
  56. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-default-node-contribution.provider-BQ0ihb43.mjs → acorex-platform-module-organization-management-client-org-chart-default-node-contribution.provider-CQ-CFO9v.mjs} +1 -1
  57. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-default-node-contribution.provider-BQ0ihb43.mjs.map → acorex-platform-module-organization-management-client-org-chart-default-node-contribution.provider-CQ-CFO9v.mjs.map} +1 -1
  58. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-3IyiZdhr.mjs → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-K_Qbdro7.mjs} +2 -2
  59. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-3IyiZdhr.mjs.map → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-K_Qbdro7.mjs.map} +1 -1
  60. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-position-employee-node-contribution.provider-BTicXn9n.mjs → acorex-platform-module-organization-management-client-org-chart-position-employee-node-contribution.provider-BGLEY3f6.mjs} +1 -1
  61. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-position-employee-node-contribution.provider-BTicXn9n.mjs.map → acorex-platform-module-organization-management-client-org-chart-position-employee-node-contribution.provider-BGLEY3f6.mjs.map} +1 -1
  62. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-C2XFBqrb.mjs → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-BUtxzlr9.mjs} +2 -2
  63. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-C2XFBqrb.mjs.map → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-BUtxzlr9.mjs.map} +1 -1
  64. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart.page-BrAjoBbm.mjs → acorex-platform-module-organization-management-client-org-chart.page-BNpKIEE9.mjs} +184 -12
  65. package/fesm2022/acorex-platform-module-organization-management-client-org-chart.page-BNpKIEE9.mjs.map +1 -0
  66. package/fesm2022/{acorex-platform-module-organization-management-client-permission-definition.provider-CiCdTBGo.mjs → acorex-platform-module-organization-management-client-permission-definition.provider-B9ehFxmM.mjs} +1 -1
  67. package/fesm2022/{acorex-platform-module-organization-management-client-permission-definition.provider-CiCdTBGo.mjs.map → acorex-platform-module-organization-management-client-permission-definition.provider-B9ehFxmM.mjs.map} +1 -1
  68. package/fesm2022/{acorex-platform-module-organization-management-client-remove-position-from-business-unit.command-BFQVTpfy.mjs → acorex-platform-module-organization-management-client-remove-position-from-business-unit.command-GzxjPxuy.mjs} +1 -1
  69. package/fesm2022/{acorex-platform-module-organization-management-client-remove-position-from-business-unit.command-BFQVTpfy.mjs.map → acorex-platform-module-organization-management-client-remove-position-from-business-unit.command-GzxjPxuy.mjs.map} +1 -1
  70. package/fesm2022/{acorex-platform-module-organization-management-client-replace-position-assignee.command-CSgERqLG.mjs → acorex-platform-module-organization-management-client-replace-position-assignee.command-bSDJsQoL.mjs} +1 -1
  71. package/fesm2022/{acorex-platform-module-organization-management-client-replace-position-assignee.command-CSgERqLG.mjs.map → acorex-platform-module-organization-management-client-replace-position-assignee.command-bSDJsQoL.mjs.map} +1 -1
  72. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-column.component-C5H0kcVW.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-column.component-D1iyKHzS.mjs} +1 -1
  73. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-column.component-C5H0kcVW.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-column.component-D1iyKHzS.mjs.map} +1 -1
  74. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Dtaaj36p.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-CXgwQWnX.mjs} +2 -2
  75. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Dtaaj36p.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-CXgwQWnX.mjs.map} +1 -1
  76. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-un_RTJx_.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-BSDCFBQk.mjs} +2 -2
  77. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-un_RTJx_.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-BSDCFBQk.mjs.map} +1 -1
  78. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix.component-BatNIVf7.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix.component-BYsoCxpV.mjs} +3 -3
  79. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix.component-BatNIVf7.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix.component-BYsoCxpV.mjs.map} +1 -1
  80. package/fesm2022/{acorex-platform-module-organization-management-client-settings.provider-D61-y9zD.mjs → acorex-platform-module-organization-management-client-settings.provider-B5bWq9Xo.mjs} +3 -2
  81. package/fesm2022/acorex-platform-module-organization-management-client-settings.provider-B5bWq9Xo.mjs.map +1 -0
  82. package/fesm2022/acorex-platform-module-organization-management-client.mjs +1 -1
  83. package/package.json +3 -2
  84. package/types/acorex-platform-module-organization-management-client-contracts.d.ts +3 -1
  85. package/fesm2022/acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-BrZiTl-n.mjs.map +0 -1
  86. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-CFHn4pvd.mjs.map +0 -1
  87. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-d8QbPDag.mjs.map +0 -1
  88. package/fesm2022/acorex-platform-module-organization-management-client-org-chart.page-BrAjoBbm.mjs.map +0 -1
  89. package/fesm2022/acorex-platform-module-organization-management-client-settings.provider-D61-y9zD.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
2
  import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
- import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-CFHn4pvd.mjs';
3
+ import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-Cl4P94TF.mjs';
4
4
 
5
5
  async function factoryTeamMemberRole() {
6
6
  const entityDef = {
@@ -113,4 +113,4 @@ async function factoryTeamMemberRole() {
113
113
  }
114
114
 
115
115
  export { factoryTeamMemberRole };
116
- //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-DXvtlD91.mjs.map
116
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-pjNgLg_E.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-DXvtlD91.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team-member-role/team-member-role.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeamMemberRole(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.teamMemberRole.name,\n title: '@organization-management:team-member-roles.entities.team-member-role.title',\n icon: 'fa-light fa-user-tag',\n searchTags: [\n 'team-member-role',\n 'team member role',\n 'team role type',\n 'member role catalog',\n 'team leadership role',\n 'نقش عضو تیم',\n 'نقش‌های عضو تیم',\n 'تیم',\n 'عضو تیم',\n ],\n formats: {\n individual: '@organization-management:team-member-roles.entities.team-member-role.title',\n plural: '@organization-management:team-member-roles.entities.team-member-role.plural',\n searchResult: { title: '{{ title }}', description: RootConfig.module.title },\n },\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n },\n validations: [{ rule: 'required' }],\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n ],\n columns: [{ name: 'title' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n"],"names":[],"mappings":";;;;AAIO,eAAe,qBAAqB,GAAA;AACzC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,KAAK,EAAE,4EAA4E;AACnF,QAAA,IAAI,EAAE,sBAAsB;AAC5B,QAAA,UAAU,EAAE;YACV,kBAAkB;YAClB,kBAAkB;YAClB,gBAAgB;YAChB,qBAAqB;YACrB,sBAAsB;YACtB,aAAa;YACb,iBAAiB;YACjB,KAAK;YACL,SAAS;AACV,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,4EAA4E;AACxF,YAAA,MAAM,EAAE,6EAA6E;AACrF,YAAA,YAAY,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE;AAC7E,SAAA;QACD,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E;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;AAC9B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;"}
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-pjNgLg_E.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team-member-role/team-member-role.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeamMemberRole(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.teamMemberRole.name,\n title: '@organization-management:team-member-roles.entities.team-member-role.title',\n icon: 'fa-light fa-user-tag',\n searchTags: [\n 'team-member-role',\n 'team member role',\n 'team role type',\n 'member role catalog',\n 'team leadership role',\n 'نقش عضو تیم',\n 'نقش‌های عضو تیم',\n 'تیم',\n 'عضو تیم',\n ],\n formats: {\n individual: '@organization-management:team-member-roles.entities.team-member-role.title',\n plural: '@organization-management:team-member-roles.entities.team-member-role.plural',\n searchResult: { title: '{{ title }}', description: RootConfig.module.title },\n },\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n },\n validations: [{ rule: 'required' }],\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n ],\n columns: [{ name: 'title' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n"],"names":[],"mappings":";;;;AAIO,eAAe,qBAAqB,GAAA;AACzC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc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AAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;AAC9B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACF,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,WAAW;AAClB,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC;AAChC,oBAAA,UAAU,EAAE;AACV,wBAAA;AACE,4BAAA,IAAI,EAAE,OAAO;AACb,4BAAA,MAAM,EAAE;AACN,gCAAA,KAAK,EAAE,CAAC;AACR,gCAAA,SAAS,EAAE;oCACT,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;AAC9B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;"}
@@ -1,6 +1,6 @@
1
1
  import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
2
  import { entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
- import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-CFHn4pvd.mjs';
3
+ import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-Cl4P94TF.mjs';
4
4
 
5
5
  async function factoryTeamMember() {
6
6
  const entityDef = {
@@ -119,7 +119,7 @@ async function factoryTeamMember() {
119
119
  filter: { advance: { enabled: true }, inline: { enabled: true } },
120
120
  },
121
121
  schema: {
122
- dataType: 'string',
122
+ dataType: 'reference',
123
123
  interface: {
124
124
  type: AXPWidgetsList.Editors.LookupBox,
125
125
  options: {
@@ -261,4 +261,4 @@ async function factoryTeamMember() {
261
261
  }
262
262
 
263
263
  export { factoryTeamMember };
264
- //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-d8QbPDag.mjs.map
264
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-B16zfb0N.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-B16zfb0N.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team-member/team-member.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeamMember(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.teamMember.name,\n title: '@organization-management:team-members.entities.team-member.title',\n icon: 'fa-light fa-users',\n searchTags: [\n 'team-member',\n 'team member',\n 'team membership',\n 'employee on team',\n 'member role',\n 'team assignment',\n 'عضو تیم',\n 'اعضای تیم',\n 'کارمند',\n 'نقش',\n 'تیم',\n ],\n formats: {\n individual: '@organization-management:team-members.entities.team-member.title',\n plural: '@organization-management:team-members.entities.team-member.plural',\n searchResult: {\n title: '@organization-management:team-members.entities.team-member.title',\n description: RootConfig.module.title,\n },\n },\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'teamId',\n title: '@organization-management:team-members.entities.team-member.fields.team.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.team.name}`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'team.id' },\n { source: 'title', target: 'team.title' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'employeeId',\n title: '@organization-management:team-members.entities.team-member.fields.employee.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `HumanCapitalManagement.Employee`,\n textField: 'person.fullName',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'employee.id' },\n { source: 'person.fullName', target: 'employee.person.fullName' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'roleId',\n title: '@organization-management:team-members.entities.team-member.fields.role.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'reference',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamMemberRole.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'role.id' },\n { source: 'title', target: 'role.title' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n ],\n columns: [\n { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },\n { name: 'roleId', options: { dataPath: 'role.title' } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'teamId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n order: 1,\n },\n },\n },\n },\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 3,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 1,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n ],\n },\n single: {\n title:\n '{{ context.eval(\"employee.person.fullName\") + \" - \" + context.eval(\"role.title\", { pipes: [\"translate\"] }) }}',\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 1,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n // No list interface - this entity is only accessible as a related entity\n },\n },\n };\n\n return entityDef;\n}\n\n"],"names":[],"mappings":";;;;AAIO,eAAe,iBAAiB,GAAA;AAErC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI;AACzC,QAAA,KAAK,EAAE,kEAAkE;AACzE,QAAA,IAAI,EAAE,mBAAmB;AACzB,QAAA,U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;AACT,qCAAA;AACF,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;;AAEF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;"}
@@ -1,6 +1,6 @@
1
1
  import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
2
  import { createAllQueryView, entityMasterCrudActions, entityMasterDeleteAction, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
3
- import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-CFHn4pvd.mjs';
3
+ import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-Cl4P94TF.mjs';
4
4
 
5
5
  async function factoryTeam() {
6
6
  const entityDef = {
@@ -315,4 +315,4 @@ async function factoryTeam() {
315
315
  }
316
316
 
317
317
  export { factoryTeam };
318
- //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-f7t1HoIv.mjs.map
318
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-ChQolIap.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-f7t1HoIv.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team/team.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterCrudActions, entityMasterDeleteAction } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeam(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.team.name,\n icon: RootConfig.entities.team.icon,\n searchTags: [\n 'team',\n 'work team',\n 'team code',\n 'team members',\n 'business units',\n 'organizational team',\n 'تیم',\n 'تیم‌ها',\n 'اعضای تیم',\n 'واحدهای سازمانی',\n ],\n\n title: RootConfig.entities.team.title,\n plugins: [\n { name: 'comments', options: { display: 'page' } },\n { name: 'history' },\n { name: 'identifier', options: { field: 'code', rule: 'organization-team-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n { name: 'category' },\n ],\n formats: {\n individual: '@organization-management:teams.entities.team.title',\n plural: '@organization-management:teams.entities.team.plural',\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamMember.name}`,\n title: '@organization-management:teams.related-entities.members.title',\n persistence: { foreignKeyField: 'teamId' },\n columns: ['employeeId', 'roleId'],\n conditions: [entityDetailsSimpleCondition('teamId')],\n actions: [...entityDetailsCrudActions()],\n layout: { type: 'page-list' },\n },\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamBusinessUnit.name}`,\n title: '@organization-management:teams.related-entities.business-units.title',\n columns: ['businessUnitId', 'isPrimary', 'effectiveFrom', 'effectiveTo'],\n conditions: [entityDetailsSimpleCondition('teamId')],\n actions: [...entityDetailsCrudActions('teamId')],\n layout: { type: 'page-list' },\n excludeProperties: ['teamId'],\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'code',\n title: '@organization-management:teams.entities.team.fields.code.title',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n unique: {\n enabled: true,\n },\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@organization-management:teams.entities.team.fields.code.placeholder',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'title',\n title: `@general:terms.common.title`,\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'description',\n title: `@general:terms.common.description`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n },\n },\n },\n ],\n columns: [{ name: 'code' }, { name: 'title' }, { name: 'description' }],\n\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basic-info',\n layout: {\n positions: {\n sm: { colSpan: 12 },\n md: { colSpan: 12 },\n lg: { colSpan: 12 },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 8, order: 1 },\n lg: { colSpan: 8, order: 1 },\n },\n },\n },\n {\n name: 'code',\n layout: {\n order: 2,\n positions: {\n sm: { colSpan: 12, order: 2 },\n md: { colSpan: 4, order: 2 },\n lg: { colSpan: 4, order: 2 },\n },\n },\n },\n {\n name: 'description',\n layout: {\n order: 3,\n positions: {\n sm: { colSpan: 12, order: 3 },\n md: { colSpan: 12, order: 3 },\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basic-info',\n layout: {\n positions: {\n sm: { colSpan: 12 },\n md: { colSpan: 12 },\n lg: { colSpan: 12 },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 8, order: 1 },\n lg: { colSpan: 8, order: 1 },\n },\n },\n },\n {\n name: 'code',\n layout: {\n order: 2,\n positions: {\n sm: { colSpan: 12, order: 2 },\n md: { colSpan: 4, order: 2 },\n lg: { colSpan: 4, order: 2 },\n },\n },\n },\n {\n name: 'description',\n layout: {\n order: 3,\n positions: {\n sm: { colSpan: 12, order: 3 },\n md: { colSpan: 12, order: 3 },\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n {\n id: 'basic-info',\n layout: {\n positions: {\n sm: { colSpan: 12 },\n md: { colSpan: 12 },\n lg: { colSpan: 12 },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 8, order: 1 },\n lg: { colSpan: 8, order: 1 },\n },\n },\n },\n {\n name: 'code',\n layout: {\n order: 2,\n positions: {\n sm: { colSpan: 12, order: 2 },\n md: { colSpan: 4, order: 2 },\n lg: { colSpan: 4, order: 2 },\n },\n },\n },\n {\n name: 'description',\n layout: {\n order: 3,\n positions: {\n sm: { colSpan: 12, order: 3 },\n md: { colSpan: 12, order: 3 },\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n ],\n actions: [entityMasterDeleteAction()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAIO,eAAe,WAAW,GAAA;AAC/B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;AACnC,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;AACnC,QAAA,UAAU,EAAE;YACV,MAAM;YACN,WAAW;YACX,WAAW;YACX,cAAc;YACd,gBAAgB;YAChB,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E,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;AAC9B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,wBAAwB,EAAE,CAAC;AACtC,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;"}
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-ChQolIap.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team/team.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterCrudActions, entityMasterDeleteAction } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeam(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.team.name,\n icon: RootConfig.entities.team.icon,\n searchTags: [\n 'team',\n 'work team',\n 'team code',\n 'team members',\n 'business units',\n 'organizational team',\n 'تیم',\n 'تیم‌ها',\n 'اعضای تیم',\n 'واحدهای سازمانی',\n ],\n\n title: RootConfig.entities.team.title,\n plugins: [\n { name: 'comments', options: { display: 'page' } },\n { name: 'history' },\n { name: 'identifier', options: { field: 'code', rule: 'organization-team-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n { name: 'category' },\n ],\n formats: {\n individual: '@organization-management:teams.entities.team.title',\n plural: '@organization-management:teams.entities.team.plural',\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamMember.name}`,\n title: '@organization-management:teams.related-entities.members.title',\n persistence: { foreignKeyField: 'teamId' },\n columns: ['employeeId', 'roleId'],\n conditions: [entityDetailsSimpleCondition('teamId')],\n actions: [...entityDetailsCrudActions()],\n layout: { type: 'page-list' },\n },\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamBusinessUnit.name}`,\n title: '@organization-management:teams.related-entities.business-units.title',\n columns: ['businessUnitId', 'isPrimary', 'effectiveFrom', 'effectiveTo'],\n conditions: [entityDetailsSimpleCondition('teamId')],\n actions: [...entityDetailsCrudActions('teamId')],\n layout: { type: 'page-list' },\n excludeProperties: ['teamId'],\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'code',\n title: '@organization-management:teams.entities.team.fields.code.title',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n unique: {\n enabled: true,\n },\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@organization-management:teams.entities.team.fields.code.placeholder',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'title',\n title: `@general:terms.common.title`,\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'description',\n title: `@general:terms.common.description`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n },\n },\n },\n ],\n columns: [{ name: 'code' }, { name: 'title' }, { name: 'description' }],\n\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basic-info',\n layout: {\n positions: {\n sm: { colSpan: 12 },\n md: { colSpan: 12 },\n lg: { colSpan: 12 },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 8, order: 1 },\n lg: { colSpan: 8, order: 1 },\n },\n },\n },\n {\n name: 'code',\n layout: {\n order: 2,\n positions: {\n sm: { colSpan: 12, order: 2 },\n md: { colSpan: 4, order: 2 },\n lg: { colSpan: 4, order: 2 },\n },\n },\n },\n {\n name: 'description',\n layout: {\n order: 3,\n positions: {\n sm: { colSpan: 12, order: 3 },\n md: { colSpan: 12, order: 3 },\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basic-info',\n layout: {\n positions: {\n sm: { colSpan: 12 },\n md: { colSpan: 12 },\n lg: { colSpan: 12 },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 8, order: 1 },\n lg: { colSpan: 8, order: 1 },\n },\n },\n },\n {\n name: 'code',\n layout: {\n order: 2,\n positions: {\n sm: { colSpan: 12, order: 2 },\n md: { colSpan: 4, order: 2 },\n lg: { colSpan: 4, order: 2 },\n },\n },\n },\n {\n name: 'description',\n layout: {\n order: 3,\n positions: {\n sm: { colSpan: 12, order: 3 },\n md: { colSpan: 12, order: 3 },\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n {\n id: 'basic-info',\n layout: {\n positions: {\n sm: { colSpan: 12 },\n md: { colSpan: 12 },\n lg: { colSpan: 12 },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 8, order: 1 },\n lg: { colSpan: 8, order: 1 },\n },\n },\n },\n {\n name: 'code',\n layout: {\n order: 2,\n positions: {\n sm: { colSpan: 12, order: 2 },\n md: { colSpan: 4, order: 2 },\n lg: { colSpan: 4, order: 2 },\n },\n },\n },\n {\n name: 'description',\n layout: {\n order: 3,\n positions: {\n sm: { colSpan: 12, order: 3 },\n md: { colSpan: 12, order: 3 },\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n ],\n actions: [entityMasterDeleteAction()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAIO,eAAe,WAAW,GAAA;AAC/B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;AACnC,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;AACnC,QAAA,UAAU,EAAE;YACV,MAAM;YACN,WAAW;YACX,WAAW;YACX,cAAc;YACd,gBAAgB;YAChB,qBAAqB;YACrB,KAAK;YACL,QAAQ;YACR,WAAW;YACX,iBAAiB;AAClB,SAAA;AAED,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK;AACrC,QAAA,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,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EAAE;AAC9B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,wBAAwB,EAAE,CAAC;AACtC,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;"}
@@ -1,2 +1,2 @@
1
- export { o as organizationManagementLocalEntityCatalog } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-CFHn4pvd.mjs';
1
+ export { o as organizationManagementLocalEntityCatalog } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-Cl4P94TF.mjs';
2
2
  //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs.map
@@ -1,5 +1,51 @@
1
+ import { axpRegisterDataExecutionCapabilities } from '@acorex-platform/framework-shared/runtime';
2
+ import { axpRegisterEntityPublicReadFields } from '@acorex-platform/framework-shared/entity';
1
3
  import { resolveMultiLanguageString } from '@acorex-platform/framework-shared/core';
2
4
 
5
+ /**
6
+ * People & Organization capabilities used by this module.
7
+ * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
8
+ */
9
+ const AXPPeopleOrganizationPermissionKeys = {
10
+ Access: 'PeopleOrganization:Permission:Access',
11
+ ViewOrganization: 'PeopleOrganization:Permission:ViewOrganization',
12
+ MaintainOrganization: 'PeopleOrganization:Permission:MaintainOrganization',
13
+ MaintainTeams: 'PeopleOrganization:Permission:MaintainTeams',
14
+ MaintainEmployees: 'PeopleOrganization:Permission:MaintainEmployees',
15
+ ManageEmployeeActions: 'PeopleOrganization:Permission:ManageEmployeeActions',
16
+ MaintainPersons: 'PeopleOrganization:Permission:MaintainPersons',
17
+ MaintainAttendance: 'PeopleOrganization:Permission:MaintainAttendance',
18
+ ManageAttendanceActions: 'PeopleOrganization:Permission:ManageAttendanceActions',
19
+ DesignJobs: 'PeopleOrganization:Permission:DesignJobs',
20
+ Setup: 'PeopleOrganization:Permission:Setup',
21
+ };
22
+ /**
23
+ * @deprecated Prefer {@link AXPPeopleOrganizationPermissionKeys}.
24
+ * Alias of the full People & Organization key set (including persons/attendance caps).
25
+ */
26
+ const AXPOrganizationManagementPermissionKeys = AXPPeopleOrganizationPermissionKeys;
27
+
28
+ // Preparation uses this module's existing read entitlements and never grants access.
29
+ function registerOrganizationManagementReferencePreparation() {
30
+ for (const [name, permission] of [
31
+ ['OrganizationManagement.BusinessUnitType', AXPPeopleOrganizationPermissionKeys.Setup],
32
+ ['OrganizationManagement.JobLevel', AXPPeopleOrganizationPermissionKeys.Setup],
33
+ ['OrganizationManagement.Responsibility', AXPPeopleOrganizationPermissionKeys.Setup],
34
+ ['OrganizationManagement.ResponsibilityLevel', AXPPeopleOrganizationPermissionKeys.Setup],
35
+ ['OrganizationManagement.TeamMemberRole', AXPPeopleOrganizationPermissionKeys.Setup],
36
+ ]) {
37
+ axpRegisterDataExecutionCapabilities({
38
+ targetKind: 'Entity', targetKey: name, revision: 'organization-management-reference-preparation-v1',
39
+ operations: ['read', 'getOne', 'query'],
40
+ readAccess: { permissions: [permission], features: [] },
41
+ });
42
+ }
43
+ }
44
+ registerOrganizationManagementReferencePreparation();
45
+
46
+ // Hierarchy read output carried by existing BusinessUnit records.
47
+ axpRegisterEntityPublicReadFields('OrganizationManagement.BusinessUnit', 'hasChild');
48
+
3
49
  //#region ---- Client command keys ----
4
50
  /**
5
51
  * Client-side command keys (UI, dialogs, orchestration).
@@ -338,29 +384,6 @@ function getOrgChartMergedBusinessUnitId() {
338
384
  }
339
385
  //#endregion
340
386
 
341
- /**
342
- * People & Organization capabilities used by this module.
343
- * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
344
- */
345
- const AXPPeopleOrganizationPermissionKeys = {
346
- Access: 'PeopleOrganization:Permission:Access',
347
- ViewOrganization: 'PeopleOrganization:Permission:ViewOrganization',
348
- MaintainOrganization: 'PeopleOrganization:Permission:MaintainOrganization',
349
- MaintainTeams: 'PeopleOrganization:Permission:MaintainTeams',
350
- MaintainEmployees: 'PeopleOrganization:Permission:MaintainEmployees',
351
- ManageEmployeeActions: 'PeopleOrganization:Permission:ManageEmployeeActions',
352
- MaintainPersons: 'PeopleOrganization:Permission:MaintainPersons',
353
- MaintainAttendance: 'PeopleOrganization:Permission:MaintainAttendance',
354
- ManageAttendanceActions: 'PeopleOrganization:Permission:ManageAttendanceActions',
355
- DesignJobs: 'PeopleOrganization:Permission:DesignJobs',
356
- Setup: 'PeopleOrganization:Permission:Setup',
357
- };
358
- /**
359
- * @deprecated Prefer {@link AXPPeopleOrganizationPermissionKeys}.
360
- * Alias of the full People & Organization key set (including persons/attendance caps).
361
- */
362
- const AXPOrganizationManagementPermissionKeys = AXPPeopleOrganizationPermissionKeys;
363
-
364
387
  const config = {
365
388
  i18n: 'organization-management',
366
389
  module: 'OrganizationManagement',
@@ -497,11 +520,9 @@ const OrganizationManagementManifest = {
497
520
  /** Persisted org-chart JSON: all chart modes in one row (`structure` column). */
498
521
  const AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION = 1;
499
522
 
500
- //#region ---- Contracts barrel ----
501
-
502
523
  /**
503
524
  * Generated bundle index. Do not edit.
504
525
  */
505
526
 
506
- export { AXMOrganizationManagementCommandKeys, AXMOrganizationManagementServerCommands, AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION, AXPOrganizationManagementFeatureKeys, AXPOrganizationManagementMenuKeys, AXPOrganizationManagementPermissionKeys, AXPOrganizationManagementSettings, AXPPeopleOrganizationPermissionKeys, AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT, COMPANY_EMAIL_ORG_SETTING_KEYS, JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY, JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY, OrganizationManagementManifest, RootConfig, buildCompanyEmailMergeDefaults, buildCompanyEmailMergeFromOrganization, buildCompanyLogoFileDownloadPath, configureOrgChartMergedBusinessUnitId, extractCompanyLogoFileId, getOrgChartMergedBusinessUnitId };
527
+ export { AXMOrganizationManagementCommandKeys, AXMOrganizationManagementServerCommands, AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION, AXPOrganizationManagementFeatureKeys, AXPOrganizationManagementMenuKeys, AXPOrganizationManagementPermissionKeys, AXPOrganizationManagementSettings, AXPPeopleOrganizationPermissionKeys, AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT, COMPANY_EMAIL_ORG_SETTING_KEYS, JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY, JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY, OrganizationManagementManifest, RootConfig, buildCompanyEmailMergeDefaults, buildCompanyEmailMergeFromOrganization, buildCompanyLogoFileDownloadPath, configureOrgChartMergedBusinessUnitId, extractCompanyLogoFileId, getOrgChartMergedBusinessUnitId, registerOrganizationManagementReferencePreparation };
507
528
  //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-organization-management-client-contracts.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/commands.keys.ts","../../../../libs/modules/organization-management/contracts/src/server-commands.ts","../../../../libs/modules/organization-management/contracts/src/settings.keys.ts","../../../../libs/modules/organization-management/contracts/src/company-email-merge.util.ts","../../../../libs/modules/organization-management/contracts/src/features.keys.ts","../../../../libs/modules/organization-management/contracts/src/JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/organization-management/contracts/src/JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/organization-management/contracts/src/menu.keys.ts","../../../../libs/modules/organization-management/contracts/src/org-chart-merged-business-unit.configure.ts","../../../../libs/modules/organization-management/contracts/src/permission.keys.ts","../../../../libs/modules/organization-management/contracts/src/root-config.ts","../../../../libs/modules/organization-management/contracts/src/manifest.ts","../../../../libs/modules/organization-management/contracts/src/entities/chart/chart.types.ts","../../../../libs/modules/organization-management/contracts/src/index.ts","../../../../libs/modules/organization-management/contracts/src/acorex-platform-module-organization-management-client-contracts.ts"],"sourcesContent":["//#region ---- Client command keys ----\n\n/**\n * Client-side command keys (UI, dialogs, orchestration).\n * Server handlers use {@link AXMOrganizationManagementServerCommands} — never reuse these strings.\n */\nexport const AXMOrganizationManagementCommandKeys = {\n OrganizationChart: {\n Generate: 'OrganizationManagement.OrgChart:Generate',\n AddPositionToBusinessUnit: 'OrganizationManagement.OrgChart:AddPositionToBusinessUnit',\n AddBusinessUnitToBusinessUnit: 'OrganizationManagement.OrgChart:AddBusinessUnitToBusinessUnit',\n AddTeamToBusinessUnit: 'OrganizationManagement.OrgChart:AddTeamToBusinessUnit',\n RemovePositionFromBusinessUnit: 'OrganizationManagement.OrgChart:RemovePositionFromBusinessUnit',\n ReplacePositionAssignee: 'OrganizationManagement.OrgChart:ReplacePositionAssignee',\n },\n} as const;\n\n//#endregion\n\n/** HCM command key (string only; avoid importing HCM from org-management). */\nexport const AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND =\n 'HumanCapitalManagement.PositionAssignment:Assign' as const;\n\n/** HCM command key (string only; avoid importing HCM from org-management). */\nexport const AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND =\n 'HumanCapitalManagement.PositionAssignment:Revoke' as const;\n","//#region ---- Server command keys ----\n\n/**\n * Server-only runtime command keys for Organization Management.\n * Must stay distinct from client {@link AXMOrganizationManagementCommandKeys}.\n */\nexport const AXMOrganizationManagementServerCommands = {\n OrganizationChart: {\n Generate: 'OrganizationManagement:Server:OrgChart:Generate',\n },\n} as const;\n\n//#endregion\n","export enum AXPOrganizationManagementSettings {\n OrganizationName = 'OrganizationManagement:Setting:Organization.OrganizationName',\n OrganizationNameDisplay = 'OrganizationManagement:Setting:Organization.OrganizationNameDisplay',\n TradingName = 'OrganizationManagement:Setting:Organization.TradingName',\n TradingNameDisplay = 'OrganizationManagement:Setting:Organization.TradingNameDisplay',\n CompanyBio = 'OrganizationManagement:Setting:Organization.CompanyBio',\n BusinessRegistrationNumber = 'OrganizationManagement:Setting:Organization.BusinessRegistrationNumber',\n CompanyRegistrationNumber = 'OrganizationManagement:Setting:Organization.CompanyRegistrationNumber',\n LicenceNumber = 'OrganizationManagement:Setting:Organization.LicenceNumber',\n OrganizationID = 'OrganizationManagement:Setting:Organization.OrganizationID',\n ContactEmail = 'OrganizationManagement:Setting:Organization.ContactEmail',\n ContactPhone = 'OrganizationManagement:Setting:Organization.ContactPhone',\n OrganizationStreet1 = 'OrganizationManagement:Setting:Organization.Street1',\n OrganizationStreet2 = 'OrganizationManagement:Setting:Organization.Street2',\n OrganizationCountryId = 'OrganizationManagement:Setting:Organization.CountryId',\n OrganizationStateId = 'OrganizationManagement:Setting:Organization.StateId',\n OrganizationCityId = 'OrganizationManagement:Setting:Organization.CityId',\n OrganizationPostalCode = 'OrganizationManagement:Setting:Organization.PostalCode',\n BrandingColor = 'OrganizationManagement:Setting:Organization.Branding.Color',\n BrandingLogo = 'OrganizationManagement:Setting:Organization.Branding.Logo',\n CopyrightText = 'OrganizationManagement:Setting:Organization.CopyrightText',\n SupportEmail = 'OrganizationManagement:Setting:Organization.SupportEmail',\n InfoEmail = 'OrganizationManagement:Setting:Organization.InfoEmail',\n FaxNumber = 'OrganizationManagement:Setting:Organization.FaxNumber',\n Relations = 'OrganizationManagement:Setting:Organization.Relations',\n\n /** User preference: organization hierarchy chart mode (`structure` | `location` | `reporting` | `positionHierarchy`). */\n HierarchyChartMode = 'OrganizationManagement:Setting:User.HierarchyChart.Mode',\n /** User preference: show vacant leaf seats (structure / geographic modes). */\n HierarchyChartShowVacantLeafSeats = 'OrganizationManagement:Setting:User.HierarchyChart.ShowVacantLeafSeats',\n}\n","import { AXPOrganizationManagementSettings } from './settings.keys';\nimport {\n resolveMultiLanguageString,\n type AXPMultiLanguageString,\n} from '@acorex-platform/framework-shared/core';\n\n//#region ---- Company email merge from organization settings (leaf) ----\n\n/** Keys read from platform/tenant settings for company email master tokens. */\nexport const COMPANY_EMAIL_ORG_SETTING_KEYS = {\n OrganizationName: AXPOrganizationManagementSettings.OrganizationName,\n BrandingLogo: AXPOrganizationManagementSettings.BrandingLogo,\n BrandingColor: AXPOrganizationManagementSettings.BrandingColor,\n ContactEmail: AXPOrganizationManagementSettings.ContactEmail,\n ContactPhone: AXPOrganizationManagementSettings.ContactPhone,\n SupportEmail: AXPOrganizationManagementSettings.SupportEmail,\n InfoEmail: AXPOrganizationManagementSettings.InfoEmail,\n Street1: AXPOrganizationManagementSettings.OrganizationStreet1,\n Street2: AXPOrganizationManagementSettings.OrganizationStreet2,\n PostalCode: AXPOrganizationManagementSettings.OrganizationPostalCode,\n CopyrightText: AXPOrganizationManagementSettings.CopyrightText,\n} as const;\n\n/**\n * Definition default for {@link AXPOrganizationManagementSettings.CopyrightText}.\n * Used when the key is not yet persisted (inherited settings often stay client-only).\n */\nexport const AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT = '© 2026 Your Company';\n\nexport interface CompanyEmailTenantSnapshot {\n title?: AXPMultiLanguageString | null;\n email?: string | null;\n phone?: string | null;\n supportEmail?: string | null;\n logo?: string | null;\n color?: string | null;\n city?: { title?: AXPMultiLanguageString | null } | null;\n state?: { title?: AXPMultiLanguageString | null } | null;\n country?: { title?: AXPMultiLanguageString | null } | null;\n}\n\nexport interface BuildCompanyEmailMergeInput {\n settingsValues?: Record<string, unknown> | null;\n tenant?: CompanyEmailTenantSnapshot | null;\n /** UI origin for absolutizing `/assets/...` logo paths in outbound email. */\n webOrigin?: string | null;\n /**\n * API origin (no trailing slash, no `/api` suffix) used to absolutize\n * file-storage download URLs for logo file ids. Email/print callers should\n * prefer {@link inlinedLogoUrl} because download is JWT-protected.\n */\n apiOrigin?: string | null;\n /**\n * Pre-resolved logo URL (typically a `data:` URI after FileStorage inlining).\n * Takes precedence over branding / tenant logo refs.\n */\n inlinedLogoUrl?: string | null;\n /**\n * Locale for resolving multi-language organization settings / tenant title\n * (`companyName`, `copyrightText`, address region titles, …).\n * Defaults to `en-US` when omitted.\n */\n locale?: string | null;\n overrides?: Record<string, string>;\n}\n\n/** Matches platform file-storage ids (and optional `file:` cast prefix). */\nconst FILE_STORAGE_ID_PATTERN =\n /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;\n\nfunction coerceString(value: unknown, fallback = '', locale = 'en-US'): string {\n if (typeof value === 'string') {\n return value.trim() || fallback;\n }\n return resolveMultiLanguageString(value, locale).trim() || fallback;\n}\n\nfunction pickSetting(\n values: Record<string, unknown> | null | undefined,\n key: string,\n locale: string,\n): string {\n return coerceString(values?.[key], '', locale);\n}\n\nfunction normalizeLogoRef(value: string): string {\n const trimmed = value.trim();\n return trimmed.startsWith('file:') ? trimmed.slice('file:'.length).trim() : trimmed;\n}\n\nfunction isFileStorageId(value: string): boolean {\n return FILE_STORAGE_ID_PATTERN.test(normalizeLogoRef(value));\n}\n\n/** Relative download path served by `FileStorageController.download`. */\nexport function buildCompanyLogoFileDownloadPath(fileId: string): string {\n const id = normalizeLogoRef(fileId);\n return `/api/v1/file-storage/download/${encodeURIComponent(id)}?v=raw`;\n}\n\nconst FILE_DOWNLOAD_ID_PATTERN =\n /\\/file-storage\\/download\\/([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})/i;\n\n/**\n * File-storage id from a branding logo setting, tenant.logo, or download URL.\n * Used by the server to inline the binary as a data URI (download is JWT-protected).\n */\nexport function extractCompanyLogoFileId(value: unknown): string | undefined {\n const ref = extractLogoRef(value);\n if (!ref) {\n return undefined;\n }\n const fromPath = ref.match(FILE_DOWNLOAD_ID_PATTERN)?.[1];\n if (fromPath && isFileStorageId(fromPath)) {\n return normalizeLogoRef(fromPath);\n }\n return isFileStorageId(ref) ? normalizeLogoRef(ref) : undefined;\n}\n\nfunction extractLogoRef(value: unknown): string {\n if (typeof value === 'string') {\n return value.trim();\n }\n if (value && typeof value === 'object') {\n const record = value as { url?: unknown; fileId?: unknown; id?: unknown };\n return (\n coerceString(record.url, '') ||\n coerceString(record.fileId, '') ||\n coerceString(record.id, '')\n );\n }\n return '';\n}\n\nfunction buildAddressFromSettings(\n values: Record<string, unknown> | null | undefined,\n locale: string,\n): string {\n return [\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.Street1, locale),\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.Street2, locale),\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.PostalCode, locale),\n ]\n .filter(Boolean)\n .join(', ');\n}\n\nfunction buildAddressFromTenant(\n tenant: CompanyEmailTenantSnapshot | null | undefined,\n locale: string,\n): string {\n if (!tenant) {\n return '';\n }\n return [tenant.city?.title, tenant.state?.title, tenant.country?.title]\n .map((part) => coerceString(part, '', locale))\n .filter(Boolean)\n .join(', ');\n}\n\nfunction buildInitials(name: string): string {\n const parts = name.split(/\\s+/).filter(Boolean);\n if (!parts.length) {\n return 'CO';\n }\n if (parts.length === 1) {\n return parts[0]!.slice(0, 2).toUpperCase();\n }\n return `${parts[0]![0] ?? ''}${parts[1]![0] ?? ''}`.toUpperCase();\n}\n\nfunction isLocalWebOrigin(webOrigin?: string | null): boolean {\n const origin = coerceString(webOrigin, '');\n if (!origin) {\n return true;\n }\n try {\n const host = new URL(origin).hostname.toLowerCase();\n return host === 'localhost' || host === '127.0.0.1' || host === '::1' || host.endsWith('.local');\n } catch {\n return true;\n }\n}\n\n/**\n * Resolves a logo URL for template merge / preview.\n * - File-storage ids → `/api/v1/file-storage/download/{id}` (absolutized with apiOrigin).\n * Outbound email cannot fetch that URL (JWT + often localhost); pass `inlinedLogoUrl`.\n * - Keep app-relative paths (`/assets/...`) as-is for in-app preview.\n * - Absolutize asset paths only against a public (non-localhost) web origin for outbound email.\n */\nfunction resolveLogoUrl(\n logo: string,\n options: { webOrigin?: string | null; apiOrigin?: string | null } = {},\n): string {\n if (!logo) {\n return '';\n }\n if (isFileStorageId(logo)) {\n const path = buildCompanyLogoFileDownloadPath(logo);\n const apiOrigin = coerceString(options.apiOrigin, '').replace(/\\/$/, '');\n return apiOrigin ? `${apiOrigin}${path}` : path;\n }\n if (/^https?:\\/\\//i.test(logo) || logo.startsWith('data:')) {\n if (/^https?:\\/\\//i.test(logo) && isLocalWebOrigin(logo)) {\n return '';\n }\n return logo;\n }\n if (logo.startsWith('/')) {\n if (isLocalWebOrigin(options.webOrigin)) {\n return logo;\n }\n const origin = coerceString(options.webOrigin, '').replace(/\\/$/, '');\n return origin ? `${origin}${logo}` : logo;\n }\n return logo;\n}\n\nfunction escapeHtmlAttribute(value: string): string {\n return value\n .replace(/&/g, '&amp;')\n .replace(/\"/g, '&quot;')\n .replace(/</g, '&lt;')\n .replace(/>/g, '&gt;');\n}\n\nfunction escapeHtmlText(value: string): string {\n return value\n .replace(/&/g, '&amp;')\n .replace(/</g, '&lt;')\n .replace(/>/g, '&gt;');\n}\n\nfunction buildLogoMarkHtml(companyName: string, initials: string, logoUrl: string, brandColor: string): string {\n if (logoUrl) {\n return (\n `<img src=\"${escapeHtmlAttribute(logoUrl)}\" alt=\"${escapeHtmlAttribute(companyName)}\" width=\"40\" height=\"40\" ` +\n `style=\"display:inline-block;border:0;outline:none;height:40px;width:40px;object-fit:contain;\" />`\n );\n }\n return (\n `<div style=\"font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:700;` +\n `line-height:56px;color:${escapeHtmlAttribute(brandColor)};letter-spacing:0.5px;\">` +\n `${escapeHtmlText(initials)}</div>`\n );\n}\n\n/**\n * Builds merge tokens for the company email master from organization settings,\n * falling back to tenant snapshot fields when settings are empty (common after seed).\n */\nexport function buildCompanyEmailMergeFromOrganization(\n input: BuildCompanyEmailMergeInput = {},\n): Record<string, string> {\n const values = input.settingsValues ?? {};\n const tenant = input.tenant ?? null;\n const locale =\n (typeof input.locale === 'string' && input.locale.trim()) || 'en-US';\n const year = String(new Date().getFullYear());\n\n const companyName =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.OrganizationName, locale) ||\n coerceString(tenant?.title, '', locale) ||\n 'Your Company';\n\n const companyEmail =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.ContactEmail, locale) ||\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.InfoEmail, locale) ||\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.SupportEmail, locale) ||\n coerceString(tenant?.email, '', locale) ||\n coerceString(tenant?.supportEmail, '', locale);\n\n const companyPhone =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.ContactPhone, locale) ||\n coerceString(tenant?.phone, '', locale);\n\n const companyAddress =\n buildAddressFromSettings(values, locale) || buildAddressFromTenant(tenant, locale);\n\n const companyBrandColor =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.BrandingColor, locale) ||\n coerceString(tenant?.color, '', locale) ||\n '#0f172a';\n\n const rawLogo =\n extractLogoRef(values[COMPANY_EMAIL_ORG_SETTING_KEYS.BrandingLogo]) ||\n extractLogoRef(tenant?.logo);\n const companyLogoUrl =\n coerceString(input.inlinedLogoUrl, '') ||\n resolveLogoUrl(rawLogo, {\n webOrigin: input.webOrigin,\n apiOrigin: input.apiOrigin,\n });\n const companyNameInitials = buildInitials(companyName);\n\n const copyrightText =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.CopyrightText, locale) ||\n AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT;\n\n return {\n companyName,\n companyNameInitials,\n companyLogoUrl,\n companyLogoMarkHtml: buildLogoMarkHtml(\n companyName,\n companyNameInitials,\n companyLogoUrl,\n companyBrandColor,\n ),\n companyBrandColor,\n companyPhone,\n companyAddress,\n companyEmail,\n copyrightText,\n currentYear: year,\n ...(input.overrides ?? {}),\n };\n}\n\n/** @deprecated Prefer {@link buildCompanyEmailMergeFromOrganization}. */\nexport function buildCompanyEmailMergeDefaults(\n overrides: Record<string, string> = {},\n): Record<string, string> {\n return buildCompanyEmailMergeFromOrganization({ overrides });\n}\n\n//#endregion\n","//#region ---- Feature Keys ----\n\n/**\n * Organization Management Module Feature Keys.\n * Defines all available features for the Organization Management module.\n */\n// Management feature removed - module name is used directly as feature key\nexport const AXPOrganizationManagementFeatureKeys = {} as const;\n\n//#endregion\n\n","/** Page tab for editing job-definition responsibilities matrix. Registered via {@link AXP_PAGE_COMPONENT_PROVIDER}. */\nexport const JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY = 'job-definition-responsibilities-page';\n","/** Page tab for editing job-definition skills matrix. Registered via {@link AXP_PAGE_COMPONENT_PROVIDER}. */\nexport const JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY = 'job-definition-skills-page';\n","export const AXPOrganizationManagementMenuKeys = {\n Root: 'OrganizationManagement:Menu',\n ConfigurationRoot: 'OrganizationManagement:Menu:Configuration',\n Teams: 'OrganizationManagement:Menu:Teams',\n TeamMemberRoles: 'OrganizationManagement:Menu:TeamMemberRoles',\n Positions: 'OrganizationManagement:Menu:Positions',\n JobDefinitions: 'OrganizationManagement:Menu:JobDefinitions',\n JobLevels: 'OrganizationManagement:Menu:JobLevels',\n Responsibilities: 'OrganizationManagement:Menu:Responsibilities',\n ResponsibilityLevels: 'OrganizationManagement:Menu:ResponsibilityLevels',\n Divider1: 'OrganizationManagement:Menu:Divider1',\n BusinessUnits: 'OrganizationManagement:Menu:BusinessUnits',\n BusinessUnitTypes: 'OrganizationManagement:Menu:BusinessUnitTypes',\n Divider2: 'OrganizationManagement:Menu:Divider2',\n OrganizationChart: 'OrganizationManagement:Menu:OrganizationChart',\n} as const;\n\n","//#region ----- Org-chart merged corporate business unit id -----\n\n/**\n * Optional id of the enterprise-root / corporate HQ business unit that org-chart\n * builders merge into the company node (skip a separate chart card).\n *\n * Empty default (`null`) = no merge. The Safetyminder business-unit mock sets it\n * when that module loads; the demo UI sets the browser copy the same way.\n */\nlet orgChartMergedBusinessUnitId: string | null = null;\n\n/**\n * Configure the business-unit id treated as the merged corporate root on org charts.\n * Pass `null` (or empty string) to disable merge behavior.\n */\nexport function configureOrgChartMergedBusinessUnitId(id: string | null): void {\n orgChartMergedBusinessUnitId =\n typeof id === 'string' && id.trim().length > 0 ? id.trim() : null;\n}\n\n/** Configured merged corporate business-unit id, or `null` when merge is disabled. */\nexport function getOrgChartMergedBusinessUnitId(): string | null {\n return orgChartMergedBusinessUnitId;\n}\n\n//#endregion\n","/**\n * People & Organization capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPPeopleOrganizationPermissionKeys = {\n Access: 'PeopleOrganization:Permission:Access',\n ViewOrganization: 'PeopleOrganization:Permission:ViewOrganization',\n MaintainOrganization: 'PeopleOrganization:Permission:MaintainOrganization',\n MaintainTeams: 'PeopleOrganization:Permission:MaintainTeams',\n MaintainEmployees: 'PeopleOrganization:Permission:MaintainEmployees',\n ManageEmployeeActions: 'PeopleOrganization:Permission:ManageEmployeeActions',\n MaintainPersons: 'PeopleOrganization:Permission:MaintainPersons',\n MaintainAttendance: 'PeopleOrganization:Permission:MaintainAttendance',\n ManageAttendanceActions: 'PeopleOrganization:Permission:ManageAttendanceActions',\n DesignJobs: 'PeopleOrganization:Permission:DesignJobs',\n Setup: 'PeopleOrganization:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPPeopleOrganizationPermissionKeys}.\n * Alias of the full People & Organization key set (including persons/attendance caps).\n */\nexport const AXPOrganizationManagementPermissionKeys = AXPPeopleOrganizationPermissionKeys;\n","const config = {\n i18n: 'organization-management',\n module: 'OrganizationManagement',\n};\nexport const RootConfig = {\n config,\n module: {\n route: 'organization-management',\n name: config.module,\n title: '@organization-management:module.title',\n icon: 'fa-light fa-sitemap',\n },\n entities: {\n responsibility: {\n name: 'Responsibility',\n title: '@organization-management:responsibilities.entities.responsibility.title',\n source: `${config.module}.Responsibility`,\n icon: 'fa-light fa-tasks',\n },\n jobDefinition: {\n name: 'JobDefinition',\n title: '@organization-management:job-definitions.entities.job-definition.title',\n source: `${config.module}.JobDefinition`,\n icon: 'fa-light fa-user-tie',\n },\n jobLevel: {\n name: 'JobLevel',\n title: '@organization-management:job-levels.entities.job-level.title',\n source: `${config.module}.JobLevel`,\n icon: 'fa-light fa-layer-group',\n },\n responsibilityLevel: {\n name: 'ResponsibilityLevel',\n title: '@organization-management:responsibility-levels.entities.responsibility-level.title',\n titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',\n source: `${config.module}.ResponsibilityLevel`,\n icon: 'fa-light fa-layer-group',\n },\n company: {\n name: 'Company',\n source: `${config.module}.Company`,\n title: '@organization-management:companies.entities.company.title',\n icon: 'fa-light fa-building',\n },\n team: {\n name: 'Team',\n source: `${config.module}.Team`,\n title: '@organization-management:teams.entities.team.title',\n icon: 'fa-light fa-people-group',\n },\n teamMemberRole: {\n name: 'TeamMemberRole',\n source: `${config.module}.TeamMemberRole`,\n title: '@organization-management:team-member-roles.entities.team-member-role.title',\n icon: 'fa-light fa-user-tag',\n },\n teamMember: {\n name: 'TeamMember',\n source: `${config.module}.TeamMember`,\n title: '@organization-management:team-members.entities.team-member.title',\n icon: 'fa-light fa-users',\n },\n teamBusinessUnit: {\n name: 'TeamBusinessUnit',\n source: `${config.module}.TeamBusinessUnit`,\n title: '@organization-management:team-business-units.entities.team-business-unit.title',\n icon: 'fa-light fa-link',\n },\n position: {\n name: 'Position',\n source: `${config.module}.Position`,\n title: '@organization-management:positions.entities.position.title',\n icon: 'fa-light fa-briefcase',\n },\n businessUnitType: {\n name: 'BusinessUnitType',\n source: `${config.module}.BusinessUnitType`,\n title: '@organization-management:business-unit-types.entities.business-unit-type.title',\n icon: 'fa-light fa-tag',\n },\n businessUnit: {\n name: 'BusinessUnit',\n source: `${config.module}.BusinessUnit`,\n title: '@organization-management:business-units.entities.business-unit.title',\n icon: 'fa-light fa-sitemap',\n },\n\n structure: {\n name: 'ChartStructure',\n source: `${config.module}.ChartStructure`,\n title: '@organization-management:chart-configuration.components.chart-configuration.title',\n menu: {\n title: '@organization-management:chart-configuration.menus.chart-configuration.title',\n },\n icon: 'fa-light fa-gear',\n },\n chart: {\n name: 'Chart',\n source: `${config.module}.Chart`,\n title: '@organization-management:organization-chart.components.chart.title',\n menu: {\n title: '@organization-management:organization-chart.menus.chart.title',\n },\n icon: 'fa-light fa-chart-diagram',\n },\n },\n queries: {\n dashboard: {\n teamsBar: `${config.module}:Dashboard:TeamsBar`,\n },\n },\n} as const;\n","//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Organization Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const OrganizationManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n type: 'platform',\n domain: 'platform',\n // LearningManagement is optional (job-definition skills page). Do not list it as a\n // hard dependency — feature resolution would auto-enable Learning for every tenant\n // that has OrganizationManagement (e.g. Safetyminder without Learning).\n};\n\n//#endregion\n\n","import { type AXPEntityReference, AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n/** Persisted org-chart JSON: all chart modes in one row (`structure` column). */\nexport const AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION = 1 as const;\n\nexport interface AXMOrgChartStructurePayload {\n schemaVersion: typeof AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION;\n modes: {\n structure: AXMOrganizationManagementChartNodeEntityModel;\n location: AXMOrganizationManagementChartNodeEntityModel;\n reporting: AXMOrganizationManagementChartNodeEntityModel;\n positionHierarchy: AXMOrganizationManagementChartNodeEntityModel;\n };\n}\n\nexport interface AXMOrganizationManagementChartEntityModel extends AXPEntityModel<string> {\n version: string;\n structure: AXMOrgChartStructurePayload;\n}\n\nexport interface AXMOrganizationManagementChartNodeEntityModel extends AXPEntityModel<string> {\n id: string; // Unique identifier for the node\n title: AXPMultiLanguageString;\n subtitle?: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n isExpanded?: boolean; // Add this property\n children?: AXMOrganizationManagementChartNodeEntityModel[];\n icon?: string;\n type?: string; // Type of the node\n parentId?: string | null; // ID of the parent node (null for root)\n entity?: AXPEntityReference;\n metadata?: Record<string, any>; // Additional metadata (e.g., roles, counts, etc.)\n}\n","//#region ---- Contracts barrel ----\n\nexport * from './commands.keys';\nexport * from './server-commands';\nexport * from './company-email-merge.util';\nexport * from './features.keys';\nexport * from './JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY';\nexport * from './JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY';\nexport * from './menu.keys';\nexport * from './org-chart-merged-business-unit.configure';\nexport * from './permission.keys';\nexport * from './settings.keys';\n\nexport * from './root-config';\nexport * from './manifest';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;AAEA;;;AAGG;AACI,MAAM,oCAAoC,GAAG;A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AI,EAAE;AACJ,gBAAA,KAAK,EAAE,8EAA8E;AACtF,aAAA;AACD,YAAA,IAAI,EAAE,kBAAkB;AACzB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,MAAA,CAAQ;AAChC,YAAA,KAAK,EAAE,oEAAoE;AAC3E,YAAA,IAAI,EAAE;AACJ,gBAAA,KAAK,EAAE,+DAA+D;AACvE,aAAA;AACD,YAAA,IAAI,EAAE,2BAA2B;AAClC,SAAA;AACF,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,SAAS,EAAE;AACT,YAAA,QAAQ,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,mBAAA,CAAqB;AAChD,SAAA;AACF,KAAA;;;AC9GH;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,8BAA8B,GAAsB;AAC/D,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAE5B,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,MAAM,EAAE,UAAU;;;;;AAMpB;;ACzBA;AACO,MAAM,sCAAsC,GAAG;;ACHtD;;ACAA;;AAEG;;"}
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-contracts.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/permission.keys.ts","../../../../libs/modules/organization-management/contracts/src/reference-preparation.capabilities.ts","../../../../libs/modules/organization-management/contracts/src/data-execution.capabilities.ts","../../../../libs/modules/organization-management/contracts/src/commands.keys.ts","../../../../libs/modules/organization-management/contracts/src/server-commands.ts","../../../../libs/modules/organization-management/contracts/src/settings.keys.ts","../../../../libs/modules/organization-management/contracts/src/company-email-merge.util.ts","../../../../libs/modules/organization-management/contracts/src/features.keys.ts","../../../../libs/modules/organization-management/contracts/src/JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/organization-management/contracts/src/JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/organization-management/contracts/src/menu.keys.ts","../../../../libs/modules/organization-management/contracts/src/org-chart-merged-business-unit.configure.ts","../../../../libs/modules/organization-management/contracts/src/root-config.ts","../../../../libs/modules/organization-management/contracts/src/manifest.ts","../../../../libs/modules/organization-management/contracts/src/entities/chart/chart.types.ts","../../../../libs/modules/organization-management/contracts/src/acorex-platform-module-organization-management-client-contracts.ts"],"sourcesContent":["/**\n * People & Organization capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPPeopleOrganizationPermissionKeys = {\n Access: 'PeopleOrganization:Permission:Access',\n ViewOrganization: 'PeopleOrganization:Permission:ViewOrganization',\n MaintainOrganization: 'PeopleOrganization:Permission:MaintainOrganization',\n MaintainTeams: 'PeopleOrganization:Permission:MaintainTeams',\n MaintainEmployees: 'PeopleOrganization:Permission:MaintainEmployees',\n ManageEmployeeActions: 'PeopleOrganization:Permission:ManageEmployeeActions',\n MaintainPersons: 'PeopleOrganization:Permission:MaintainPersons',\n MaintainAttendance: 'PeopleOrganization:Permission:MaintainAttendance',\n ManageAttendanceActions: 'PeopleOrganization:Permission:ManageAttendanceActions',\n DesignJobs: 'PeopleOrganization:Permission:DesignJobs',\n Setup: 'PeopleOrganization:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPPeopleOrganizationPermissionKeys}.\n * Alias of the full People & Organization key set (including persons/attendance caps).\n */\nexport const AXPOrganizationManagementPermissionKeys = AXPPeopleOrganizationPermissionKeys;\n","import { axpRegisterDataExecutionCapabilities } from '@acorex-platform/framework-shared/runtime';\nimport { AXPPeopleOrganizationPermissionKeys } from './permission.keys';\n\n// Preparation uses this module's existing read entitlements and never grants access.\nexport function registerOrganizationManagementReferencePreparation(): void {\n for (const [name, permission] of [\n ['OrganizationManagement.BusinessUnitType', AXPPeopleOrganizationPermissionKeys.Setup],\n ['OrganizationManagement.JobLevel', AXPPeopleOrganizationPermissionKeys.Setup],\n ['OrganizationManagement.Responsibility', AXPPeopleOrganizationPermissionKeys.Setup],\n ['OrganizationManagement.ResponsibilityLevel', AXPPeopleOrganizationPermissionKeys.Setup],\n ['OrganizationManagement.TeamMemberRole', AXPPeopleOrganizationPermissionKeys.Setup],\n ] as const) {\n axpRegisterDataExecutionCapabilities({\n targetKind: 'Entity', targetKey: name, revision: 'organization-management-reference-preparation-v1',\n operations: ['read', 'getOne', 'query'],\n readAccess: { permissions: [permission], features: [] },\n });\n }\n}\nregisterOrganizationManagementReferencePreparation();\n","import { axpRegisterEntityPublicReadFields } from '@acorex-platform/framework-shared/entity';\n\n// Hierarchy read output carried by existing BusinessUnit records.\naxpRegisterEntityPublicReadFields('OrganizationManagement.BusinessUnit', 'hasChild');\n","//#region ---- Client command keys ----\n\n/**\n * Client-side command keys (UI, dialogs, orchestration).\n * Server handlers use {@link AXMOrganizationManagementServerCommands} — never reuse these strings.\n */\nexport const AXMOrganizationManagementCommandKeys = {\n OrganizationChart: {\n Generate: 'OrganizationManagement.OrgChart:Generate',\n AddPositionToBusinessUnit: 'OrganizationManagement.OrgChart:AddPositionToBusinessUnit',\n AddBusinessUnitToBusinessUnit: 'OrganizationManagement.OrgChart:AddBusinessUnitToBusinessUnit',\n AddTeamToBusinessUnit: 'OrganizationManagement.OrgChart:AddTeamToBusinessUnit',\n RemovePositionFromBusinessUnit: 'OrganizationManagement.OrgChart:RemovePositionFromBusinessUnit',\n ReplacePositionAssignee: 'OrganizationManagement.OrgChart:ReplacePositionAssignee',\n },\n} as const;\n\n//#endregion\n\n/** HCM command key (string only; avoid importing HCM from org-management). */\nexport const AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND =\n 'HumanCapitalManagement.PositionAssignment:Assign' as const;\n\n/** HCM command key (string only; avoid importing HCM from org-management). */\nexport const AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND =\n 'HumanCapitalManagement.PositionAssignment:Revoke' as const;\n","//#region ---- Server command keys ----\n\n/**\n * Server-only runtime command keys for Organization Management.\n * Must stay distinct from client {@link AXMOrganizationManagementCommandKeys}.\n */\nexport const AXMOrganizationManagementServerCommands = {\n OrganizationChart: {\n Generate: 'OrganizationManagement:Server:OrgChart:Generate',\n },\n} as const;\n\n//#endregion\n","export enum AXPOrganizationManagementSettings {\n OrganizationName = 'OrganizationManagement:Setting:Organization.OrganizationName',\n OrganizationNameDisplay = 'OrganizationManagement:Setting:Organization.OrganizationNameDisplay',\n TradingName = 'OrganizationManagement:Setting:Organization.TradingName',\n TradingNameDisplay = 'OrganizationManagement:Setting:Organization.TradingNameDisplay',\n CompanyBio = 'OrganizationManagement:Setting:Organization.CompanyBio',\n BusinessRegistrationNumber = 'OrganizationManagement:Setting:Organization.BusinessRegistrationNumber',\n CompanyRegistrationNumber = 'OrganizationManagement:Setting:Organization.CompanyRegistrationNumber',\n LicenceNumber = 'OrganizationManagement:Setting:Organization.LicenceNumber',\n OrganizationID = 'OrganizationManagement:Setting:Organization.OrganizationID',\n ContactEmail = 'OrganizationManagement:Setting:Organization.ContactEmail',\n ContactPhone = 'OrganizationManagement:Setting:Organization.ContactPhone',\n OrganizationStreet1 = 'OrganizationManagement:Setting:Organization.Street1',\n OrganizationStreet2 = 'OrganizationManagement:Setting:Organization.Street2',\n OrganizationCountryId = 'OrganizationManagement:Setting:Organization.CountryId',\n OrganizationStateId = 'OrganizationManagement:Setting:Organization.StateId',\n OrganizationCityId = 'OrganizationManagement:Setting:Organization.CityId',\n OrganizationPostalCode = 'OrganizationManagement:Setting:Organization.PostalCode',\n BrandingColor = 'OrganizationManagement:Setting:Organization.Branding.Color',\n BrandingLogo = 'OrganizationManagement:Setting:Organization.Branding.Logo',\n CopyrightText = 'OrganizationManagement:Setting:Organization.CopyrightText',\n SupportEmail = 'OrganizationManagement:Setting:Organization.SupportEmail',\n InfoEmail = 'OrganizationManagement:Setting:Organization.InfoEmail',\n FaxNumber = 'OrganizationManagement:Setting:Organization.FaxNumber',\n Relations = 'OrganizationManagement:Setting:Organization.Relations',\n\n /** User preference: organization hierarchy chart mode (`structure` | `location` | `reporting` | `positionHierarchy`). */\n HierarchyChartMode = 'OrganizationManagement:Setting:User.HierarchyChart.Mode',\n /** User preference: show vacant leaf seats (structure / geographic modes). */\n HierarchyChartShowVacantLeafSeats = 'OrganizationManagement:Setting:User.HierarchyChart.ShowVacantLeafSeats',\n}\n","import { AXPOrganizationManagementSettings } from './settings.keys';\nimport {\n resolveMultiLanguageString,\n type AXPMultiLanguageString,\n} from '@acorex-platform/framework-shared/core';\n\n//#region ---- Company email merge from organization settings (leaf) ----\n\n/** Keys read from platform/tenant settings for company email master tokens. */\nexport const COMPANY_EMAIL_ORG_SETTING_KEYS = {\n OrganizationName: AXPOrganizationManagementSettings.OrganizationName,\n BrandingLogo: AXPOrganizationManagementSettings.BrandingLogo,\n BrandingColor: AXPOrganizationManagementSettings.BrandingColor,\n ContactEmail: AXPOrganizationManagementSettings.ContactEmail,\n ContactPhone: AXPOrganizationManagementSettings.ContactPhone,\n SupportEmail: AXPOrganizationManagementSettings.SupportEmail,\n InfoEmail: AXPOrganizationManagementSettings.InfoEmail,\n Street1: AXPOrganizationManagementSettings.OrganizationStreet1,\n Street2: AXPOrganizationManagementSettings.OrganizationStreet2,\n PostalCode: AXPOrganizationManagementSettings.OrganizationPostalCode,\n CopyrightText: AXPOrganizationManagementSettings.CopyrightText,\n} as const;\n\n/**\n * Definition default for {@link AXPOrganizationManagementSettings.CopyrightText}.\n * Used when the key is not yet persisted (inherited settings often stay client-only).\n */\nexport const AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT = '© 2026 Your Company';\n\nexport interface CompanyEmailTenantSnapshot {\n title?: AXPMultiLanguageString | null;\n email?: string | null;\n phone?: string | null;\n supportEmail?: string | null;\n logo?: string | null;\n color?: string | null;\n city?: { title?: AXPMultiLanguageString | null } | null;\n state?: { title?: AXPMultiLanguageString | null } | null;\n country?: { title?: AXPMultiLanguageString | null } | null;\n}\n\nexport interface BuildCompanyEmailMergeInput {\n settingsValues?: Record<string, unknown> | null;\n tenant?: CompanyEmailTenantSnapshot | null;\n /** UI origin for absolutizing `/assets/...` logo paths in outbound email. */\n webOrigin?: string | null;\n /**\n * API origin (no trailing slash, no `/api` suffix) used to absolutize\n * file-storage download URLs for logo file ids. Email/print callers should\n * prefer {@link inlinedLogoUrl} because download is JWT-protected.\n */\n apiOrigin?: string | null;\n /**\n * Pre-resolved logo URL (typically a `data:` URI after FileStorage inlining).\n * Takes precedence over branding / tenant logo refs.\n */\n inlinedLogoUrl?: string | null;\n /**\n * Locale for resolving multi-language organization settings / tenant title\n * (`companyName`, `copyrightText`, address region titles, …).\n * Defaults to `en-US` when omitted.\n */\n locale?: string | null;\n overrides?: Record<string, string>;\n}\n\n/** Matches platform file-storage ids (and optional `file:` cast prefix). */\nconst FILE_STORAGE_ID_PATTERN =\n /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;\n\nfunction coerceString(value: unknown, fallback = '', locale = 'en-US'): string {\n if (typeof value === 'string') {\n return value.trim() || fallback;\n }\n return resolveMultiLanguageString(value, locale).trim() || fallback;\n}\n\nfunction pickSetting(\n values: Record<string, unknown> | null | undefined,\n key: string,\n locale: string,\n): string {\n return coerceString(values?.[key], '', locale);\n}\n\nfunction normalizeLogoRef(value: string): string {\n const trimmed = value.trim();\n return trimmed.startsWith('file:') ? trimmed.slice('file:'.length).trim() : trimmed;\n}\n\nfunction isFileStorageId(value: string): boolean {\n return FILE_STORAGE_ID_PATTERN.test(normalizeLogoRef(value));\n}\n\n/** Relative download path served by `FileStorageController.download`. */\nexport function buildCompanyLogoFileDownloadPath(fileId: string): string {\n const id = normalizeLogoRef(fileId);\n return `/api/v1/file-storage/download/${encodeURIComponent(id)}?v=raw`;\n}\n\nconst FILE_DOWNLOAD_ID_PATTERN =\n /\\/file-storage\\/download\\/([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})/i;\n\n/**\n * File-storage id from a branding logo setting, tenant.logo, or download URL.\n * Used by the server to inline the binary as a data URI (download is JWT-protected).\n */\nexport function extractCompanyLogoFileId(value: unknown): string | undefined {\n const ref = extractLogoRef(value);\n if (!ref) {\n return undefined;\n }\n const fromPath = ref.match(FILE_DOWNLOAD_ID_PATTERN)?.[1];\n if (fromPath && isFileStorageId(fromPath)) {\n return normalizeLogoRef(fromPath);\n }\n return isFileStorageId(ref) ? normalizeLogoRef(ref) : undefined;\n}\n\nfunction extractLogoRef(value: unknown): string {\n if (typeof value === 'string') {\n return value.trim();\n }\n if (value && typeof value === 'object') {\n const record = value as { url?: unknown; fileId?: unknown; id?: unknown };\n return (\n coerceString(record.url, '') ||\n coerceString(record.fileId, '') ||\n coerceString(record.id, '')\n );\n }\n return '';\n}\n\nfunction buildAddressFromSettings(\n values: Record<string, unknown> | null | undefined,\n locale: string,\n): string {\n return [\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.Street1, locale),\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.Street2, locale),\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.PostalCode, locale),\n ]\n .filter(Boolean)\n .join(', ');\n}\n\nfunction buildAddressFromTenant(\n tenant: CompanyEmailTenantSnapshot | null | undefined,\n locale: string,\n): string {\n if (!tenant) {\n return '';\n }\n return [tenant.city?.title, tenant.state?.title, tenant.country?.title]\n .map((part) => coerceString(part, '', locale))\n .filter(Boolean)\n .join(', ');\n}\n\nfunction buildInitials(name: string): string {\n const parts = name.split(/\\s+/).filter(Boolean);\n if (!parts.length) {\n return 'CO';\n }\n if (parts.length === 1) {\n return parts[0]!.slice(0, 2).toUpperCase();\n }\n return `${parts[0]![0] ?? ''}${parts[1]![0] ?? ''}`.toUpperCase();\n}\n\nfunction isLocalWebOrigin(webOrigin?: string | null): boolean {\n const origin = coerceString(webOrigin, '');\n if (!origin) {\n return true;\n }\n try {\n const host = new URL(origin).hostname.toLowerCase();\n return host === 'localhost' || host === '127.0.0.1' || host === '::1' || host.endsWith('.local');\n } catch {\n return true;\n }\n}\n\n/**\n * Resolves a logo URL for template merge / preview.\n * - File-storage ids → `/api/v1/file-storage/download/{id}` (absolutized with apiOrigin).\n * Outbound email cannot fetch that URL (JWT + often localhost); pass `inlinedLogoUrl`.\n * - Keep app-relative paths (`/assets/...`) as-is for in-app preview.\n * - Absolutize asset paths only against a public (non-localhost) web origin for outbound email.\n */\nfunction resolveLogoUrl(\n logo: string,\n options: { webOrigin?: string | null; apiOrigin?: string | null } = {},\n): string {\n if (!logo) {\n return '';\n }\n if (isFileStorageId(logo)) {\n const path = buildCompanyLogoFileDownloadPath(logo);\n const apiOrigin = coerceString(options.apiOrigin, '').replace(/\\/$/, '');\n return apiOrigin ? `${apiOrigin}${path}` : path;\n }\n if (/^https?:\\/\\//i.test(logo) || logo.startsWith('data:')) {\n if (/^https?:\\/\\//i.test(logo) && isLocalWebOrigin(logo)) {\n return '';\n }\n return logo;\n }\n if (logo.startsWith('/')) {\n if (isLocalWebOrigin(options.webOrigin)) {\n return logo;\n }\n const origin = coerceString(options.webOrigin, '').replace(/\\/$/, '');\n return origin ? `${origin}${logo}` : logo;\n }\n return logo;\n}\n\nfunction escapeHtmlAttribute(value: string): string {\n return value\n .replace(/&/g, '&amp;')\n .replace(/\"/g, '&quot;')\n .replace(/</g, '&lt;')\n .replace(/>/g, '&gt;');\n}\n\nfunction escapeHtmlText(value: string): string {\n return value\n .replace(/&/g, '&amp;')\n .replace(/</g, '&lt;')\n .replace(/>/g, '&gt;');\n}\n\nfunction buildLogoMarkHtml(companyName: string, initials: string, logoUrl: string, brandColor: string): string {\n if (logoUrl) {\n return (\n `<img src=\"${escapeHtmlAttribute(logoUrl)}\" alt=\"${escapeHtmlAttribute(companyName)}\" width=\"40\" height=\"40\" ` +\n `style=\"display:inline-block;border:0;outline:none;height:40px;width:40px;object-fit:contain;\" />`\n );\n }\n return (\n `<div style=\"font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:700;` +\n `line-height:56px;color:${escapeHtmlAttribute(brandColor)};letter-spacing:0.5px;\">` +\n `${escapeHtmlText(initials)}</div>`\n );\n}\n\n/**\n * Builds merge tokens for the company email master from organization settings,\n * falling back to tenant snapshot fields when settings are empty (common after seed).\n */\nexport function buildCompanyEmailMergeFromOrganization(\n input: BuildCompanyEmailMergeInput = {},\n): Record<string, string> {\n const values = input.settingsValues ?? {};\n const tenant = input.tenant ?? null;\n const locale =\n (typeof input.locale === 'string' && input.locale.trim()) || 'en-US';\n const year = String(new Date().getFullYear());\n\n const companyName =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.OrganizationName, locale) ||\n coerceString(tenant?.title, '', locale) ||\n 'Your Company';\n\n const companyEmail =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.ContactEmail, locale) ||\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.InfoEmail, locale) ||\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.SupportEmail, locale) ||\n coerceString(tenant?.email, '', locale) ||\n coerceString(tenant?.supportEmail, '', locale);\n\n const companyPhone =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.ContactPhone, locale) ||\n coerceString(tenant?.phone, '', locale);\n\n const companyAddress =\n buildAddressFromSettings(values, locale) || buildAddressFromTenant(tenant, locale);\n\n const companyBrandColor =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.BrandingColor, locale) ||\n coerceString(tenant?.color, '', locale) ||\n '#0f172a';\n\n const rawLogo =\n extractLogoRef(values[COMPANY_EMAIL_ORG_SETTING_KEYS.BrandingLogo]) ||\n extractLogoRef(tenant?.logo);\n const companyLogoUrl =\n coerceString(input.inlinedLogoUrl, '') ||\n resolveLogoUrl(rawLogo, {\n webOrigin: input.webOrigin,\n apiOrigin: input.apiOrigin,\n });\n const companyNameInitials = buildInitials(companyName);\n\n const copyrightText =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.CopyrightText, locale) ||\n AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT;\n\n return {\n companyName,\n companyNameInitials,\n companyLogoUrl,\n companyLogoMarkHtml: buildLogoMarkHtml(\n companyName,\n companyNameInitials,\n companyLogoUrl,\n companyBrandColor,\n ),\n companyBrandColor,\n companyPhone,\n companyAddress,\n companyEmail,\n copyrightText,\n currentYear: year,\n ...(input.overrides ?? {}),\n };\n}\n\n/** @deprecated Prefer {@link buildCompanyEmailMergeFromOrganization}. */\nexport function buildCompanyEmailMergeDefaults(\n overrides: Record<string, string> = {},\n): Record<string, string> {\n return buildCompanyEmailMergeFromOrganization({ overrides });\n}\n\n//#endregion\n","//#region ---- Feature Keys ----\n\n/**\n * Organization Management Module Feature Keys.\n * Defines all available features for the Organization Management module.\n */\n// Management feature removed - module name is used directly as feature key\nexport const AXPOrganizationManagementFeatureKeys = {} as const;\n\n//#endregion\n\n","/** Page tab for editing job-definition responsibilities matrix. Registered via {@link AXP_PAGE_COMPONENT_PROVIDER}. */\nexport const JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY = 'job-definition-responsibilities-page';\n","/** Page tab for editing job-definition skills matrix. Registered via {@link AXP_PAGE_COMPONENT_PROVIDER}. */\nexport const JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY = 'job-definition-skills-page';\n","export const AXPOrganizationManagementMenuKeys = {\n Root: 'OrganizationManagement:Menu',\n ConfigurationRoot: 'OrganizationManagement:Menu:Configuration',\n Teams: 'OrganizationManagement:Menu:Teams',\n TeamMemberRoles: 'OrganizationManagement:Menu:TeamMemberRoles',\n Positions: 'OrganizationManagement:Menu:Positions',\n JobDefinitions: 'OrganizationManagement:Menu:JobDefinitions',\n JobLevels: 'OrganizationManagement:Menu:JobLevels',\n Responsibilities: 'OrganizationManagement:Menu:Responsibilities',\n ResponsibilityLevels: 'OrganizationManagement:Menu:ResponsibilityLevels',\n Divider1: 'OrganizationManagement:Menu:Divider1',\n BusinessUnits: 'OrganizationManagement:Menu:BusinessUnits',\n BusinessUnitTypes: 'OrganizationManagement:Menu:BusinessUnitTypes',\n Divider2: 'OrganizationManagement:Menu:Divider2',\n OrganizationChart: 'OrganizationManagement:Menu:OrganizationChart',\n} as const;\n\n","//#region ----- Org-chart merged corporate business unit id -----\n\n/**\n * Optional id of the enterprise-root / corporate HQ business unit that org-chart\n * builders merge into the company node (skip a separate chart card).\n *\n * Empty default (`null`) = no merge. The Safetyminder business-unit mock sets it\n * when that module loads; the demo UI sets the browser copy the same way.\n */\nlet orgChartMergedBusinessUnitId: string | null = null;\n\n/**\n * Configure the business-unit id treated as the merged corporate root on org charts.\n * Pass `null` (or empty string) to disable merge behavior.\n */\nexport function configureOrgChartMergedBusinessUnitId(id: string | null): void {\n orgChartMergedBusinessUnitId =\n typeof id === 'string' && id.trim().length > 0 ? id.trim() : null;\n}\n\n/** Configured merged corporate business-unit id, or `null` when merge is disabled. */\nexport function getOrgChartMergedBusinessUnitId(): string | null {\n return orgChartMergedBusinessUnitId;\n}\n\n//#endregion\n","const config = {\n i18n: 'organization-management',\n module: 'OrganizationManagement',\n};\nexport const RootConfig = {\n config,\n module: {\n route: 'organization-management',\n name: config.module,\n title: '@organization-management:module.title',\n icon: 'fa-light fa-sitemap',\n },\n entities: {\n responsibility: {\n name: 'Responsibility',\n title: '@organization-management:responsibilities.entities.responsibility.title',\n source: `${config.module}.Responsibility`,\n icon: 'fa-light fa-tasks',\n },\n jobDefinition: {\n name: 'JobDefinition',\n title: '@organization-management:job-definitions.entities.job-definition.title',\n source: `${config.module}.JobDefinition`,\n icon: 'fa-light fa-user-tie',\n },\n jobLevel: {\n name: 'JobLevel',\n title: '@organization-management:job-levels.entities.job-level.title',\n source: `${config.module}.JobLevel`,\n icon: 'fa-light fa-layer-group',\n },\n responsibilityLevel: {\n name: 'ResponsibilityLevel',\n title: '@organization-management:responsibility-levels.entities.responsibility-level.title',\n titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',\n source: `${config.module}.ResponsibilityLevel`,\n icon: 'fa-light fa-layer-group',\n },\n company: {\n name: 'Company',\n source: `${config.module}.Company`,\n title: '@organization-management:companies.entities.company.title',\n icon: 'fa-light fa-building',\n },\n team: {\n name: 'Team',\n source: `${config.module}.Team`,\n title: '@organization-management:teams.entities.team.title',\n icon: 'fa-light fa-people-group',\n },\n teamMemberRole: {\n name: 'TeamMemberRole',\n source: `${config.module}.TeamMemberRole`,\n title: '@organization-management:team-member-roles.entities.team-member-role.title',\n icon: 'fa-light fa-user-tag',\n },\n teamMember: {\n name: 'TeamMember',\n source: `${config.module}.TeamMember`,\n title: '@organization-management:team-members.entities.team-member.title',\n icon: 'fa-light fa-users',\n },\n teamBusinessUnit: {\n name: 'TeamBusinessUnit',\n source: `${config.module}.TeamBusinessUnit`,\n title: '@organization-management:team-business-units.entities.team-business-unit.title',\n icon: 'fa-light fa-link',\n },\n position: {\n name: 'Position',\n source: `${config.module}.Position`,\n title: '@organization-management:positions.entities.position.title',\n icon: 'fa-light fa-briefcase',\n },\n businessUnitType: {\n name: 'BusinessUnitType',\n source: `${config.module}.BusinessUnitType`,\n title: '@organization-management:business-unit-types.entities.business-unit-type.title',\n icon: 'fa-light fa-tag',\n },\n businessUnit: {\n name: 'BusinessUnit',\n source: `${config.module}.BusinessUnit`,\n title: '@organization-management:business-units.entities.business-unit.title',\n icon: 'fa-light fa-sitemap',\n },\n\n structure: {\n name: 'ChartStructure',\n source: `${config.module}.ChartStructure`,\n title: '@organization-management:chart-configuration.components.chart-configuration.title',\n menu: {\n title: '@organization-management:chart-configuration.menus.chart-configuration.title',\n },\n icon: 'fa-light fa-gear',\n },\n chart: {\n name: 'Chart',\n source: `${config.module}.Chart`,\n title: '@organization-management:organization-chart.components.chart.title',\n menu: {\n title: '@organization-management:organization-chart.menus.chart.title',\n },\n icon: 'fa-light fa-chart-diagram',\n },\n },\n queries: {\n dashboard: {\n teamsBar: `${config.module}:Dashboard:TeamsBar`,\n },\n },\n} as const;\n","//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Organization Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const OrganizationManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n type: 'platform',\n domain: 'platform',\n // LearningManagement is optional (job-definition skills page). Do not list it as a\n // hard dependency — feature resolution would auto-enable Learning for every tenant\n // that has OrganizationManagement (e.g. Safetyminder without Learning).\n};\n\n//#endregion\n\n","import { type AXPEntityReference, AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n/** Persisted org-chart JSON: all chart modes in one row (`structure` column). */\nexport const AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION = 1 as const;\n\nexport interface AXMOrgChartStructurePayload {\n schemaVersion: typeof AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION;\n modes: {\n structure: AXMOrganizationManagementChartNodeEntityModel;\n location: AXMOrganizationManagementChartNodeEntityModel;\n reporting: AXMOrganizationManagementChartNodeEntityModel;\n positionHierarchy: AXMOrganizationManagementChartNodeEntityModel;\n };\n}\n\nexport interface AXMOrganizationManagementChartEntityModel extends AXPEntityModel<string> {\n version: string;\n structure: AXMOrgChartStructurePayload;\n}\n\nexport interface AXMOrganizationManagementChartNodeEntityModel extends AXPEntityModel<string> {\n id: string; // Unique identifier for the node\n title: AXPMultiLanguageString;\n subtitle?: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n isExpanded?: boolean; // Add this property\n children?: AXMOrganizationManagementChartNodeEntityModel[];\n icon?: string;\n type?: string; // Type of the node\n parentId?: string | null; // ID of the parent node (null for root)\n entity?: AXPEntityReference;\n metadata?: Record<string, any>; // Additional metadata (e.g., roles, counts, etc.)\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;;AAGG;AACI,MAAM,mCAAmC,GAAG;AACjD,IAAA,MAAM,EAAE,sCAAsC;AAC9C,IAAA,gBAAgB,EAAE,gDAAgD;AAClE,IAAA,oBAAoB,EAAE,oDAAoD;AAC1E,IAAA,aAAa,EAAE,6CAA6C;AAC5D,IAAA,iBAAiB,EAAE,iDAAiD;AACpE,IAAA,qBAAqB,EAAE,qDAAqD;AAC5E,IAAA,eAAe,EAAE,+CAA+C;AAChE,IAAA,kBAAkB,EAAE,kDAAkD;AACtE,IAAA,uBAAuB,EAAE,uDAAuD;AAChF,IAAA,UAAU,EAAE,0CAA0C;AACtD,IAAA,KAAK,EAAE,qCAAqC;;AAG9C;;;AAGG;AACI,MAAM,uCAAuC,GAAG;;ACnBvD;SACgB,kDAAkD,GAAA;AAChE,IAAA,KAAK,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI;AAC/B,QAAA,CAAC,yCAAyC,EAAE,mCAAmC,CAAC,KAAK,CAAC;AACtF,QAAA,CAAC,iCAAiC,EAAE,mCAAmC,CAAC,KAAK,CAAC;AAC9E,QAAA,CAAC,uCAAuC,EAAE,mCAAmC,CAAC,KAAK,CAAC;AACpF,QAAA,CAAC,4CAA4C,EAAE,mCAAmC,CAAC,KAAK,CAAC;AACzF,QAAA,CAAC,uCAAuC,EAAE,mCAAmC,CAAC,KAAK,CAAC;AAC5E,KAAA,EAAE;AACV,QAAA,oCAAoC,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AAE,kBAAkB;AACzB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,MAAA,CAAQ;AAChC,YAAA,KAAK,EAAE,oEAAoE;AAC3E,YAAA,IAAI,EAAE;AACJ,gBAAA,KAAK,EAAE,+DAA+D;AACvE,aAAA;AACD,YAAA,IAAI,EAAE,2BAA2B;AAClC,SAAA;AACF,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,SAAS,EAAE;AACT,YAAA,QAAQ,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,mBAAA,CAAqB;AAChD,SAAA;AACF,KAAA;;;AC9GH;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,8BAA8B,GAAsB;AAC/D,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAE5B,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,MAAM,EAAE,UAAU;;;;;AAMpB;;ACzBA;AACO,MAAM,sCAAsC,GAAG;;ACHtD;;AAEG;;"}
@@ -16,4 +16,4 @@ class AXPOrganizationManagementFeatureDefinitionProvider {
16
16
  //#endregion
17
17
 
18
18
  export { AXPOrganizationManagementFeatureDefinitionProvider };
19
- //# sourceMappingURL=acorex-platform-module-organization-management-client-feature-definition.provider-BQKtvXOM.mjs.map
19
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-feature-definition.provider-B6oz0fcW.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-organization-management-client-feature-definition.provider-BQKtvXOM.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/feature-definition.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPFeatureDefinitionProvider,\n AXPFeatureDefinitionProviderContext,\n} from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-organization-management-client/contracts';\n\n//#endregion\n\n//#region ---- Feature Definition Provider ----\n\n/**\n * Organization Management Module Feature Definition Provider.\n * Provides feature definitions for the Organization Management module.\n */\nexport class AXPOrganizationManagementFeatureDefinitionProvider\n implements AXPFeatureDefinitionProvider {\n async provide(context: AXPFeatureDefinitionProviderContext): Promise<void> {\n const i18n = RootConfig.config.i18n;\n\n // Management feature removed - module name is used directly as feature key\n }\n}\n\n//#endregion\n\n"],"names":[],"mappings":";;AAAA;AAQA;AAEA;AAEA;;;AAGG;MACU,kDAAkD,CAAA;IAE3D,MAAM,OAAO,CAAC,OAA4C,EAAA;AACtD,QAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;;IAGvC;AACH;AAED;;"}
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-feature-definition.provider-B6oz0fcW.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/feature-definition.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPFeatureDefinitionProvider,\n AXPFeatureDefinitionProviderContext,\n} from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-organization-management-client/contracts';\n\n//#endregion\n\n//#region ---- Feature Definition Provider ----\n\n/**\n * Organization Management Module Feature Definition Provider.\n * Provides feature definitions for the Organization Management module.\n */\nexport class AXPOrganizationManagementFeatureDefinitionProvider\n implements AXPFeatureDefinitionProvider {\n async provide(context: AXPFeatureDefinitionProviderContext): Promise<void> {\n const i18n = RootConfig.config.i18n;\n\n // Management feature removed - module name is used directly as feature key\n }\n}\n\n//#endregion\n\n"],"names":[],"mappings":";;AAAA;AAQA;AAEA;AAEA;;;AAGG;MACU,kDAAkD,CAAA;IAE3D,MAAM,OAAO,CAAC,OAA4C,EAAA;AACtD,QAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;;IAGvC;AACH;AAED;;"}
@@ -88,4 +88,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
88
88
  }] });
89
89
 
90
90
  export { AXMGenerateOrgChartCommand };
91
- //# sourceMappingURL=acorex-platform-module-organization-management-client-generate-org-chart.command-DJnFJKuo.mjs.map
91
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-generate-org-chart.command-DsjIC98S.mjs.map