@acorex-platform/module-organization-management-client 0.0.32 → 0.0.37

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 (110) hide show
  1. package/fesm2022/{acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-UGWNdPxI.mjs → acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-ZM6X7IDO.mjs} +11 -11
  2. package/fesm2022/{acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-UGWNdPxI.mjs.map → acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-ZM6X7IDO.mjs.map} +1 -1
  3. package/fesm2022/acorex-platform-module-organization-management-client-add-business-unit-to-business-unit.command-CA2uZQyC.mjs.map +1 -1
  4. package/fesm2022/acorex-platform-module-organization-management-client-add-position-to-business-unit.command-F7jD3jKs.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-module-organization-management-client-add-team-to-business-unit.command-BLQFjhS5.mjs.map +1 -1
  6. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs +318 -0
  7. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs.map +1 -0
  8. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs +516 -0
  9. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs.map +1 -0
  10. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs +314 -0
  11. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs.map +1 -0
  12. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs +250 -0
  13. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs.map +1 -0
  14. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs +439 -0
  15. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs.map +1 -0
  16. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs +385 -0
  17. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs.map +1 -0
  18. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs +657 -0
  19. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs.map +1 -0
  20. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs +248 -0
  21. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs.map +1 -0
  22. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs +317 -0
  23. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs.map +1 -0
  24. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs +413 -0
  25. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs.map +1 -0
  26. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs +220 -0
  27. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs.map +1 -0
  28. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs +366 -0
  29. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs.map +1 -0
  30. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs +421 -0
  31. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs.map +1 -0
  32. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-vMiwmkDK.mjs +146 -0
  33. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-vMiwmkDK.mjs.map +1 -0
  34. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BmhCZeXd.mjs +203 -0
  35. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BmhCZeXd.mjs.map +1 -0
  36. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CIPmfbsM.mjs +401 -0
  37. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CIPmfbsM.mjs.map +1 -0
  38. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-sg_rI9It.mjs +199 -0
  39. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-sg_rI9It.mjs.map +1 -0
  40. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-BSDO_7eL.mjs +135 -0
  41. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-BSDO_7eL.mjs.map +1 -0
  42. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-0W6OSQH-.mjs +324 -0
  43. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-0W6OSQH-.mjs.map +1 -0
  44. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-DbMjRbn9.mjs +270 -0
  45. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-DbMjRbn9.mjs.map +1 -0
  46. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BkauiyPn.mjs +542 -0
  47. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BkauiyPn.mjs.map +1 -0
  48. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-BagFwJmO.mjs +133 -0
  49. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-BagFwJmO.mjs.map +1 -0
  50. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-DHhT7rSq.mjs +202 -0
  51. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-DHhT7rSq.mjs.map +1 -0
  52. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-hkCAl8so.mjs +298 -0
  53. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-hkCAl8so.mjs.map +1 -0
  54. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-BeGE4JUl.mjs +105 -0
  55. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-BeGE4JUl.mjs.map +1 -0
  56. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-10nYBrN4.mjs +251 -0
  57. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-10nYBrN4.mjs.map +1 -0
  58. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-Bygn5B_k.mjs +306 -0
  59. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-Bygn5B_k.mjs.map +1 -0
  60. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs +2 -0
  61. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs.map +1 -0
  62. package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs.map +1 -1
  63. package/fesm2022/acorex-platform-module-organization-management-client-feature-definition.provider-BQKtvXOM.mjs.map +1 -1
  64. package/fesm2022/acorex-platform-module-organization-management-client-generate-org-chart.command-DJnFJKuo.mjs.map +1 -1
  65. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-CGRJXMOn.mjs.map +1 -1
  66. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-TIHOAeAI.mjs → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-XH_rXGwz.mjs} +2 -2
  67. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-TIHOAeAI.mjs.map → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-XH_rXGwz.mjs.map} +1 -1
  68. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-KwOQXdX0.mjs → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-CpirrInU.mjs} +2 -2
  69. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-KwOQXdX0.mjs.map → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-CpirrInU.mjs.map} +1 -1
  70. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-skills-page.component-bQOqP1Tx.mjs.map +1 -1
  71. package/fesm2022/acorex-platform-module-organization-management-client-local-entities.mjs +41 -0
  72. package/fesm2022/acorex-platform-module-organization-management-client-local-entities.mjs.map +1 -0
  73. package/fesm2022/acorex-platform-module-organization-management-client-menu.provider-BgRoEC48.mjs.map +1 -1
  74. package/fesm2022/acorex-platform-module-organization-management-client-org-chart-default-node-contribution.provider-BQ0ihb43.mjs.map +1 -1
  75. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-DZs4VB50.mjs → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-ZnMtkQSg.mjs} +2 -2
  76. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-DZs4VB50.mjs.map → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-ZnMtkQSg.mjs.map} +1 -1
  77. package/fesm2022/acorex-platform-module-organization-management-client-org-chart-position-employee-node-contribution.provider-BTicXn9n.mjs.map +1 -1
  78. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-ISEbvMkZ.mjs → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-uZkFZFPA.mjs} +2 -2
  79. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-ISEbvMkZ.mjs.map → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-uZkFZFPA.mjs.map} +1 -1
  80. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart.page-CMd5nTa7.mjs → acorex-platform-module-organization-management-client-org-chart.page-BhXvP2qN.mjs} +7 -7
  81. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart.page-CMd5nTa7.mjs.map → acorex-platform-module-organization-management-client-org-chart.page-BhXvP2qN.mjs.map} +1 -1
  82. package/fesm2022/acorex-platform-module-organization-management-client-permission-definition.provider-CiCdTBGo.mjs.map +1 -1
  83. package/fesm2022/acorex-platform-module-organization-management-client-remove-position-from-business-unit.command-BFQVTpfy.mjs.map +1 -1
  84. package/fesm2022/acorex-platform-module-organization-management-client-replace-position-assignee.command-CSgERqLG.mjs.map +1 -1
  85. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-column.component-C5H0kcVW.mjs.map +1 -1
  86. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DmDQSgYC.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-m4S5GRko.mjs} +2 -2
  87. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DmDQSgYC.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-m4S5GRko.mjs.map} +1 -1
  88. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-BkLZhXhM.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-Cbua852d.mjs} +2 -2
  89. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-BkLZhXhM.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-Cbua852d.mjs.map} +1 -1
  90. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix.component-DqO6xE2p.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix.component-Cpgdxtw-.mjs} +2 -2
  91. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix.component-DqO6xE2p.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix.component-Cpgdxtw-.mjs.map} +1 -1
  92. package/fesm2022/acorex-platform-module-organization-management-client-settings.provider-B3nDm32f.mjs.map +1 -1
  93. package/fesm2022/acorex-platform-module-organization-management-client.mjs +1 -1
  94. package/package.json +62 -2
  95. package/types/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.d.ts +5 -0
  96. package/types/acorex-platform-module-organization-management-client-contracts-entities-business-unit.d.ts +5 -0
  97. package/types/acorex-platform-module-organization-management-client-contracts-entities-chart.d.ts +5 -0
  98. package/types/acorex-platform-module-organization-management-client-contracts-entities-company.d.ts +5 -0
  99. package/types/acorex-platform-module-organization-management-client-contracts-entities-job-definition.d.ts +5 -0
  100. package/types/acorex-platform-module-organization-management-client-contracts-entities-job-level.d.ts +5 -0
  101. package/types/acorex-platform-module-organization-management-client-contracts-entities-position.d.ts +5 -0
  102. package/types/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.d.ts +5 -0
  103. package/types/acorex-platform-module-organization-management-client-contracts-entities-responsibility.d.ts +5 -0
  104. package/types/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.d.ts +5 -0
  105. package/types/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.d.ts +5 -0
  106. package/types/acorex-platform-module-organization-management-client-contracts-entities-team-member.d.ts +5 -0
  107. package/types/acorex-platform-module-organization-management-client-contracts-entities-team.d.ts +5 -0
  108. package/types/acorex-platform-module-organization-management-client-contracts-entity-catalog.d.ts +10 -0
  109. package/types/acorex-platform-module-organization-management-client-contracts.d.ts +2 -2
  110. package/types/acorex-platform-module-organization-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,421 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterDeleteAction, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'organization-management',
6
+ module: 'OrganizationManagement',
7
+ };
8
+ const RootConfig = {
9
+ config,
10
+ module: {
11
+ route: 'organization-management',
12
+ name: config.module,
13
+ title: '@organization-management:module.title',
14
+ icon: 'fa-light fa-sitemap',
15
+ },
16
+ entities: {
17
+ responsibility: {
18
+ name: 'Responsibility',
19
+ title: '@organization-management:responsibilities.entities.responsibility.title',
20
+ source: `${config.module}.Responsibility`,
21
+ icon: 'fa-light fa-tasks',
22
+ },
23
+ jobDefinition: {
24
+ name: 'JobDefinition',
25
+ title: '@organization-management:job-definitions.entities.job-definition.title',
26
+ source: `${config.module}.JobDefinition`,
27
+ icon: 'fa-light fa-user-tie',
28
+ },
29
+ jobLevel: {
30
+ name: 'JobLevel',
31
+ title: '@organization-management:job-levels.entities.job-level.title',
32
+ source: `${config.module}.JobLevel`,
33
+ icon: 'fa-light fa-layer-group',
34
+ },
35
+ responsibilityLevel: {
36
+ name: 'ResponsibilityLevel',
37
+ title: '@organization-management:responsibility-levels.entities.responsibility-level.title',
38
+ titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',
39
+ source: `${config.module}.ResponsibilityLevel`,
40
+ icon: 'fa-light fa-layer-group',
41
+ },
42
+ company: {
43
+ name: 'Company',
44
+ source: `${config.module}.Company`,
45
+ title: '@organization-management:companies.entities.company.title',
46
+ icon: 'fa-light fa-building',
47
+ },
48
+ team: {
49
+ name: 'Team',
50
+ source: `${config.module}.Team`,
51
+ title: '@organization-management:teams.entities.team.title',
52
+ icon: 'fa-light fa-people-group',
53
+ },
54
+ teamMemberRole: {
55
+ name: 'TeamMemberRole',
56
+ source: `${config.module}.TeamMemberRole`,
57
+ title: '@organization-management:team-member-roles.entities.team-member-role.title',
58
+ icon: 'fa-light fa-user-tag',
59
+ },
60
+ teamMember: {
61
+ name: 'TeamMember',
62
+ source: `${config.module}.TeamMember`,
63
+ title: '@organization-management:team-members.entities.team-member.title',
64
+ icon: 'fa-light fa-users',
65
+ },
66
+ teamBusinessUnit: {
67
+ name: 'TeamBusinessUnit',
68
+ source: `${config.module}.TeamBusinessUnit`,
69
+ title: '@organization-management:team-business-units.entities.team-business-unit.title',
70
+ icon: 'fa-light fa-link',
71
+ },
72
+ position: {
73
+ name: 'Position',
74
+ source: `${config.module}.Position`,
75
+ title: '@organization-management:positions.entities.position.title',
76
+ icon: 'fa-light fa-briefcase',
77
+ },
78
+ businessUnitType: {
79
+ name: 'BusinessUnitType',
80
+ source: `${config.module}.BusinessUnitType`,
81
+ title: '@organization-management:business-unit-types.entities.business-unit-type.title',
82
+ icon: 'fa-light fa-tag',
83
+ },
84
+ businessUnit: {
85
+ name: 'BusinessUnit',
86
+ source: `${config.module}.BusinessUnit`,
87
+ title: '@organization-management:business-units.entities.business-unit.title',
88
+ icon: 'fa-light fa-sitemap',
89
+ },
90
+ structure: {
91
+ name: 'ChartStructure',
92
+ source: `${config.module}.ChartStructure`,
93
+ title: '@organization-management:chart-configuration.components.chart-configuration.title',
94
+ menu: {
95
+ title: '@organization-management:chart-configuration.menus.chart-configuration.title',
96
+ },
97
+ icon: 'fa-light fa-gear',
98
+ },
99
+ chart: {
100
+ name: 'Chart',
101
+ source: `${config.module}.Chart`,
102
+ title: '@organization-management:organization-chart.components.chart.title',
103
+ menu: {
104
+ title: '@organization-management:organization-chart.menus.chart.title',
105
+ },
106
+ icon: 'fa-light fa-chart-diagram',
107
+ },
108
+ },
109
+ queries: {
110
+ dashboard: {
111
+ teamsBar: `${config.module}:Dashboard:TeamsBar`,
112
+ },
113
+ },
114
+ };
115
+
116
+ async function factoryTeam() {
117
+ const entityDef = {
118
+ module: RootConfig.module.name,
119
+ name: RootConfig.entities.team.name,
120
+ icon: RootConfig.entities.team.icon,
121
+ title: RootConfig.entities.team.title,
122
+ plugins: [
123
+ { name: 'comments', options: { display: 'page' } },
124
+ { name: 'history' },
125
+ { name: 'identifier', options: { field: 'code', rule: 'organization-team-code' } },
126
+ { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
127
+ { name: 'archive' },
128
+ { name: 'category' },
129
+ ],
130
+ formats: {
131
+ individual: '@organization-management:teams.entities.team.title',
132
+ plural: '@organization-management:teams.entities.team.plural',
133
+ searchResult: {
134
+ title: '{{ title }}',
135
+ description: RootConfig.module.title,
136
+ },
137
+ },
138
+ relatedEntities: [
139
+ {
140
+ entity: `${RootConfig.module.name}.${RootConfig.entities.teamMember.name}`,
141
+ title: '@organization-management:teams.related-entities.members.title',
142
+ persistence: { foreignKeyField: 'teamId' },
143
+ columns: ['employeeId', 'roleId'],
144
+ conditions: [entityDetailsSimpleCondition('teamId')],
145
+ actions: [...entityDetailsCrudActions()],
146
+ layout: { type: 'page-list' },
147
+ },
148
+ {
149
+ entity: `${RootConfig.module.name}.${RootConfig.entities.teamBusinessUnit.name}`,
150
+ title: '@organization-management:teams.related-entities.business-units.title',
151
+ columns: ['businessUnitId', 'isPrimary', 'effectiveFrom', 'effectiveTo'],
152
+ conditions: [entityDetailsSimpleCondition('teamId')],
153
+ actions: [...entityDetailsCrudActions('teamId')],
154
+ layout: { type: 'page-list' },
155
+ excludeProperties: ['teamId'],
156
+ },
157
+ ],
158
+ groups: [
159
+ {
160
+ id: 'basic-info',
161
+ title: '@general:terms.interface.basic-info',
162
+ },
163
+ ],
164
+ properties: [
165
+ {
166
+ name: 'id',
167
+ title: 'ID',
168
+ schema: {
169
+ dataType: 'uuid',
170
+ visible: false,
171
+ nullable: false,
172
+ readonly: true,
173
+ unique: {
174
+ enabled: true,
175
+ },
176
+ },
177
+ },
178
+ {
179
+ name: 'code',
180
+ title: '@organization-management:teams.entities.team.fields.code.title',
181
+ groupId: 'basic-info',
182
+ options: {
183
+ sort: {
184
+ enabled: true,
185
+ },
186
+ filter: {
187
+ advance: {
188
+ enabled: true,
189
+ },
190
+ inline: {
191
+ enabled: true,
192
+ },
193
+ },
194
+ },
195
+ schema: {
196
+ dataType: 'string',
197
+ unique: {
198
+ enabled: true,
199
+ },
200
+ interface: {
201
+ type: AXPWidgetsList.Editors.TextBox,
202
+ options: {
203
+ placeholder: '@organization-management:teams.entities.team.fields.code.placeholder',
204
+ },
205
+ },
206
+ },
207
+ validations: [
208
+ {
209
+ rule: 'required',
210
+ },
211
+ ],
212
+ },
213
+ {
214
+ name: 'title',
215
+ title: `@general:terms.common.title`,
216
+ groupId: 'basic-info',
217
+ options: {
218
+ sort: {
219
+ enabled: true,
220
+ },
221
+ filter: {
222
+ advance: {
223
+ enabled: true,
224
+ },
225
+ inline: {
226
+ enabled: true,
227
+ },
228
+ },
229
+ },
230
+ schema: {
231
+ dataType: 'string',
232
+ interface: {
233
+ type: AXPWidgetsList.Editors.TextBox,
234
+ },
235
+ },
236
+ validations: [
237
+ {
238
+ rule: 'required',
239
+ },
240
+ ],
241
+ },
242
+ {
243
+ name: 'description',
244
+ title: `@general:terms.common.description`,
245
+ groupId: 'basic-info',
246
+ schema: {
247
+ dataType: 'string',
248
+ interface: {
249
+ type: AXPWidgetsList.Editors.LargeTextBox,
250
+ },
251
+ },
252
+ },
253
+ ],
254
+ columns: [{ name: 'code' }, { name: 'title' }, { name: 'description' }],
255
+ interfaces: {
256
+ master: {
257
+ create: {
258
+ sections: [
259
+ {
260
+ id: 'basic-info',
261
+ layout: {
262
+ positions: {
263
+ sm: { colSpan: 12 },
264
+ md: { colSpan: 12 },
265
+ lg: { colSpan: 12 },
266
+ },
267
+ },
268
+ },
269
+ ],
270
+ properties: [
271
+ {
272
+ name: 'title',
273
+ layout: {
274
+ order: 1,
275
+ positions: {
276
+ sm: { colSpan: 12, order: 1 },
277
+ md: { colSpan: 8, order: 1 },
278
+ lg: { colSpan: 8, order: 1 },
279
+ },
280
+ },
281
+ },
282
+ {
283
+ name: 'code',
284
+ layout: {
285
+ order: 2,
286
+ positions: {
287
+ sm: { colSpan: 12, order: 2 },
288
+ md: { colSpan: 4, order: 2 },
289
+ lg: { colSpan: 4, order: 2 },
290
+ },
291
+ },
292
+ },
293
+ {
294
+ name: 'description',
295
+ layout: {
296
+ order: 3,
297
+ positions: {
298
+ sm: { colSpan: 12, order: 3 },
299
+ md: { colSpan: 12, order: 3 },
300
+ lg: { colSpan: 12, order: 3 },
301
+ },
302
+ },
303
+ },
304
+ ],
305
+ },
306
+ update: {
307
+ sections: [
308
+ {
309
+ id: 'basic-info',
310
+ layout: {
311
+ positions: {
312
+ sm: { colSpan: 12 },
313
+ md: { colSpan: 12 },
314
+ lg: { colSpan: 12 },
315
+ },
316
+ },
317
+ },
318
+ ],
319
+ properties: [
320
+ {
321
+ name: 'title',
322
+ layout: {
323
+ order: 1,
324
+ positions: {
325
+ sm: { colSpan: 12, order: 1 },
326
+ md: { colSpan: 8, order: 1 },
327
+ lg: { colSpan: 8, order: 1 },
328
+ },
329
+ },
330
+ },
331
+ {
332
+ name: 'code',
333
+ layout: {
334
+ order: 2,
335
+ positions: {
336
+ sm: { colSpan: 12, order: 2 },
337
+ md: { colSpan: 4, order: 2 },
338
+ lg: { colSpan: 4, order: 2 },
339
+ },
340
+ },
341
+ },
342
+ {
343
+ name: 'description',
344
+ layout: {
345
+ order: 3,
346
+ positions: {
347
+ sm: { colSpan: 12, order: 3 },
348
+ md: { colSpan: 12, order: 3 },
349
+ lg: { colSpan: 12, order: 3 },
350
+ },
351
+ },
352
+ },
353
+ ],
354
+ },
355
+ single: {
356
+ title: '{{ title }}',
357
+ sections: [
358
+ {
359
+ id: 'basic-info',
360
+ layout: {
361
+ positions: {
362
+ sm: { colSpan: 12 },
363
+ md: { colSpan: 12 },
364
+ lg: { colSpan: 12 },
365
+ },
366
+ },
367
+ },
368
+ ],
369
+ properties: [
370
+ {
371
+ name: 'title',
372
+ layout: {
373
+ order: 1,
374
+ positions: {
375
+ sm: { colSpan: 12, order: 1 },
376
+ md: { colSpan: 8, order: 1 },
377
+ lg: { colSpan: 8, order: 1 },
378
+ },
379
+ },
380
+ },
381
+ {
382
+ name: 'code',
383
+ layout: {
384
+ order: 2,
385
+ positions: {
386
+ sm: { colSpan: 12, order: 2 },
387
+ md: { colSpan: 4, order: 2 },
388
+ lg: { colSpan: 4, order: 2 },
389
+ },
390
+ },
391
+ },
392
+ {
393
+ name: 'description',
394
+ layout: {
395
+ order: 3,
396
+ positions: {
397
+ sm: { colSpan: 12, order: 3 },
398
+ md: { colSpan: 12, order: 3 },
399
+ lg: { colSpan: 12, order: 3 },
400
+ },
401
+ },
402
+ },
403
+ ],
404
+ actions: [entityMasterDeleteAction()],
405
+ },
406
+ list: {
407
+ actions: [...entityMasterCrudActions()],
408
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
409
+ },
410
+ },
411
+ },
412
+ };
413
+ return entityDef;
414
+ }
415
+
416
+ /**
417
+ * Generated bundle index. Do not edit.
418
+ */
419
+
420
+ export { factoryTeam };
421
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entities-team.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entities-team.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/root-config.ts","../../../../libs/modules/organization-management/contracts/src/entities/team/team.entity.ts","../../../../libs/modules/organization-management/contracts/src/acorex-platform-module-organization-management-client-contracts-entities-team.ts"],"sourcesContent":["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","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\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: '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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.team';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EA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C7B,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;;ACjTA;;AAEG;;"}
@@ -0,0 +1,146 @@
1
+ const config = {
2
+ i18n: 'organization-management',
3
+ module: 'OrganizationManagement',
4
+ };
5
+ const RootConfig = {
6
+ config,
7
+ module: {
8
+ route: 'organization-management',
9
+ name: config.module,
10
+ title: '@organization-management:module.title',
11
+ icon: 'fa-light fa-sitemap',
12
+ },
13
+ entities: {
14
+ responsibility: {
15
+ name: 'Responsibility',
16
+ title: '@organization-management:responsibilities.entities.responsibility.title',
17
+ source: `${config.module}.Responsibility`,
18
+ icon: 'fa-light fa-tasks',
19
+ },
20
+ jobDefinition: {
21
+ name: 'JobDefinition',
22
+ title: '@organization-management:job-definitions.entities.job-definition.title',
23
+ source: `${config.module}.JobDefinition`,
24
+ icon: 'fa-light fa-user-tie',
25
+ },
26
+ jobLevel: {
27
+ name: 'JobLevel',
28
+ title: '@organization-management:job-levels.entities.job-level.title',
29
+ source: `${config.module}.JobLevel`,
30
+ icon: 'fa-light fa-layer-group',
31
+ },
32
+ responsibilityLevel: {
33
+ name: 'ResponsibilityLevel',
34
+ title: '@organization-management:responsibility-levels.entities.responsibility-level.title',
35
+ titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',
36
+ source: `${config.module}.ResponsibilityLevel`,
37
+ icon: 'fa-light fa-layer-group',
38
+ },
39
+ company: {
40
+ name: 'Company',
41
+ source: `${config.module}.Company`,
42
+ title: '@organization-management:companies.entities.company.title',
43
+ icon: 'fa-light fa-building',
44
+ },
45
+ team: {
46
+ name: 'Team',
47
+ source: `${config.module}.Team`,
48
+ title: '@organization-management:teams.entities.team.title',
49
+ icon: 'fa-light fa-people-group',
50
+ },
51
+ teamMemberRole: {
52
+ name: 'TeamMemberRole',
53
+ source: `${config.module}.TeamMemberRole`,
54
+ title: '@organization-management:team-member-roles.entities.team-member-role.title',
55
+ icon: 'fa-light fa-user-tag',
56
+ },
57
+ teamMember: {
58
+ name: 'TeamMember',
59
+ source: `${config.module}.TeamMember`,
60
+ title: '@organization-management:team-members.entities.team-member.title',
61
+ icon: 'fa-light fa-users',
62
+ },
63
+ teamBusinessUnit: {
64
+ name: 'TeamBusinessUnit',
65
+ source: `${config.module}.TeamBusinessUnit`,
66
+ title: '@organization-management:team-business-units.entities.team-business-unit.title',
67
+ icon: 'fa-light fa-link',
68
+ },
69
+ position: {
70
+ name: 'Position',
71
+ source: `${config.module}.Position`,
72
+ title: '@organization-management:positions.entities.position.title',
73
+ icon: 'fa-light fa-briefcase',
74
+ },
75
+ businessUnitType: {
76
+ name: 'BusinessUnitType',
77
+ source: `${config.module}.BusinessUnitType`,
78
+ title: '@organization-management:business-unit-types.entities.business-unit-type.title',
79
+ icon: 'fa-light fa-tag',
80
+ },
81
+ businessUnit: {
82
+ name: 'BusinessUnit',
83
+ source: `${config.module}.BusinessUnit`,
84
+ title: '@organization-management:business-units.entities.business-unit.title',
85
+ icon: 'fa-light fa-sitemap',
86
+ },
87
+ structure: {
88
+ name: 'ChartStructure',
89
+ source: `${config.module}.ChartStructure`,
90
+ title: '@organization-management:chart-configuration.components.chart-configuration.title',
91
+ menu: {
92
+ title: '@organization-management:chart-configuration.menus.chart-configuration.title',
93
+ },
94
+ icon: 'fa-light fa-gear',
95
+ },
96
+ chart: {
97
+ name: 'Chart',
98
+ source: `${config.module}.Chart`,
99
+ title: '@organization-management:organization-chart.components.chart.title',
100
+ menu: {
101
+ title: '@organization-management:organization-chart.menus.chart.title',
102
+ },
103
+ icon: 'fa-light fa-chart-diagram',
104
+ },
105
+ },
106
+ queries: {
107
+ dashboard: {
108
+ teamsBar: `${config.module}:Dashboard:TeamsBar`,
109
+ },
110
+ },
111
+ };
112
+
113
+ //#region ----- Imports -----
114
+ //#endregion
115
+ //#region ----- Local entity catalog -----
116
+ /**
117
+ * Lazy per-entity layout factories. Do not re-export from the contracts barrel
118
+ * so RootConfig imports stay light. Server seed and client `local-entities`
119
+ * consume this catalog explicitly.
120
+ */
121
+ const organizationManagementLocalEntityCatalog = {
122
+ moduleName: RootConfig.module.name,
123
+ loaders: {
124
+ [RootConfig.entities.businessUnit.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CIPmfbsM.mjs').then((m) => m.factoryBusinessUnit()),
125
+ [RootConfig.entities.businessUnitType.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BmhCZeXd.mjs').then((m) => m.factoryBusinessUnitType()),
126
+ [RootConfig.entities.chart.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-sg_rI9It.mjs').then((m) => m.factoryChart()),
127
+ [RootConfig.entities.company.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-BSDO_7eL.mjs').then((m) => m.factoryCompany()),
128
+ [RootConfig.entities.jobDefinition.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-0W6OSQH-.mjs').then((m) => m.factoryJobDefinition()),
129
+ [RootConfig.entities.jobLevel.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-DbMjRbn9.mjs').then((m) => m.factoryJobLevel()),
130
+ [RootConfig.entities.position.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BkauiyPn.mjs').then((m) => m.factoryPosition()),
131
+ [RootConfig.entities.responsibility.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-DHhT7rSq.mjs').then((m) => m.factoryResponsibility()),
132
+ [RootConfig.entities.responsibilityLevel.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-BagFwJmO.mjs').then((m) => m.factoryResponsibilityLevel()),
133
+ [RootConfig.entities.team.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-Bygn5B_k.mjs').then((m) => m.factoryTeam()),
134
+ [RootConfig.entities.teamBusinessUnit.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-hkCAl8so.mjs').then((m) => m.factoryTeamBusinessUnit()),
135
+ [RootConfig.entities.teamMember.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-10nYBrN4.mjs').then((m) => m.factoryTeamMember()),
136
+ [RootConfig.entities.teamMemberRole.name]: () => import('./acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-BeGE4JUl.mjs').then((m) => m.factoryTeamMemberRole()),
137
+ },
138
+ };
139
+ //#endregion
140
+
141
+ /**
142
+ * Generated bundle index. Do not edit.
143
+ */
144
+
145
+ export { RootConfig as R, organizationManagementLocalEntityCatalog as o };
146
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-vMiwmkDK.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-vMiwmkDK.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/root-config.ts","../../../../libs/modules/organization-management/contracts/src/entity-catalog.ts","../../../../libs/modules/organization-management/contracts/src/acorex-platform-module-organization-management-client-contracts-entity-catalog.ts"],"sourcesContent":["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 type { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ----- Local entity catalog -----\n\n/**\n * Lazy per-entity layout factories. Do not re-export from the contracts barrel\n * so RootConfig imports stay light. Server seed and client `local-entities`\n * consume this catalog explicitly.\n */\nexport const organizationManagementLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.businessUnit.name]: () =>\n import('./entities/business-unit/business-unit.entity.js').then((m) => m.factoryBusinessUnit()),\n [RootConfig.entities.businessUnitType.name]: () =>\n import('./entities/business-unit-type/business-unit-type.entity.js').then((m) => m.factoryBusinessUnitType()),\n [RootConfig.entities.chart.name]: () =>\n import('./entities/chart/chart.entity.js').then((m) => m.factoryChart()),\n [RootConfig.entities.company.name]: () =>\n import('./entities/company/company.entity.js').then((m) => m.factoryCompany()),\n [RootConfig.entities.jobDefinition.name]: () =>\n import('./entities/job-definition/job-definition.entity.js').then((m) => m.factoryJobDefinition()),\n [RootConfig.entities.jobLevel.name]: () =>\n import('./entities/job-level/job-level.entity.js').then((m) => m.factoryJobLevel()),\n [RootConfig.entities.position.name]: () =>\n import('./entities/position/position.entity.js').then((m) => m.factoryPosition()),\n [RootConfig.entities.responsibility.name]: () =>\n import('./entities/responsibility/responsibility.entity.js').then((m) => m.factoryResponsibility()),\n [RootConfig.entities.responsibilityLevel.name]: () =>\n import('./entities/responsibility-level/responsibility-level.entity.js').then((m) => m.factoryResponsibilityLevel()),\n [RootConfig.entities.team.name]: () =>\n import('./entities/team/team.entity.js').then((m) => m.factoryTeam()),\n [RootConfig.entities.teamBusinessUnit.name]: () =>\n import('./entities/team-business-unit/team-business-unit.entity.js').then((m) => m.factoryTeamBusinessUnit()),\n [RootConfig.entities.teamMember.name]: () =>\n import('./entities/team-member/team-member.entity.js').then((m) => m.factoryTeamMember()),\n [RootConfig.entities.teamMemberRole.name]: () =>\n import('./entities/team-member-role/team-member-role.entity.js').then((m) => m.factoryTeamMemberRole()),\n },\n};\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-catalog';\n"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EAAE,wBAAwB;CACjC;AACM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,yBAAyB;QAChC,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,uCAAuC;AAC9C,QAAA,IAAI,EAAE,qBAAqB;AAC5B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,cAAc,EAAE;AACd,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,KAAK,EAAE,yEAAyE;AAChF,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,eAAA,CAAi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