@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,516 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions, 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 factoryBusinessUnit() {
117
+ const i18n = RootConfig.config.i18n;
118
+ const entityName = 'business-unit';
119
+ const entityDef = {
120
+ module: RootConfig.module.name,
121
+ name: RootConfig.entities.businessUnit.name,
122
+ title: '@organization-management:business-units.entities.business-unit.title',
123
+ icon: 'fa-light fa-building-columns',
124
+ parentKey: 'parentId',
125
+ plugins: [
126
+ { name: 'identifier', options: { field: 'code', rule: 'organization-business-unit-code' } },
127
+ { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
128
+ { name: 'reports' },
129
+ ],
130
+ formats: {
131
+ individual: '@organization-management:business-units.entities.business-unit.title',
132
+ plural: '@organization-management:business-units.entities.business-unit.plural',
133
+ searchResult: { title: '{{ title }}', description: RootConfig.module.title },
134
+ },
135
+ relatedEntities: [
136
+ {
137
+ entity: `${RootConfig.module.name}.${RootConfig.entities.teamBusinessUnit.name}`,
138
+ title: '@organization-management:business-units.related-entities.teams.title',
139
+ columns: ['teamId', 'isPrimary', 'effectiveFrom', 'effectiveTo'],
140
+ conditions: [entityDetailsSimpleCondition('businessUnitId')],
141
+ actions: [...entityDetailsCrudActions('businessUnitId')],
142
+ layout: { type: 'page-list' },
143
+ excludeProperties: ['businessUnitId'],
144
+ },
145
+ ],
146
+ groups: [
147
+ { id: 'basic-info', title: '@general:terms.interface.basic-info' },
148
+ {
149
+ id: 'classification',
150
+ title: '@organization-management:business-units.entities.business-unit.groups.classification',
151
+ },
152
+ {
153
+ id: 'positions',
154
+ title: '@organization-management:business-units.entities.business-unit.fields.positions.title',
155
+ },
156
+ ],
157
+ properties: [
158
+ {
159
+ name: 'id',
160
+ title: 'ID',
161
+ groupId: 'basic-info',
162
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
163
+ },
164
+ {
165
+ name: 'code',
166
+ title: '@organization-management:business-units.entities.business-unit.fields.code.title',
167
+ groupId: 'basic-info',
168
+ options: {
169
+ sort: { enabled: true },
170
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
171
+ },
172
+ schema: {
173
+ dataType: 'string',
174
+ interface: {
175
+ type: AXPWidgetsList.Editors.TextBox,
176
+ options: {
177
+ placeholder: '@organization-management:business-units.entities.business-unit.fields.code.placeholder',
178
+ },
179
+ },
180
+ },
181
+ validations: [{ rule: 'required' }],
182
+ },
183
+ {
184
+ name: 'title',
185
+ title: '@general:terms.common.title',
186
+ groupId: 'basic-info',
187
+ schema: {
188
+ dataType: 'string',
189
+ interface: { type: AXPWidgetsList.Editors.TextBox },
190
+ },
191
+ validations: [{ rule: 'required' }],
192
+ },
193
+ {
194
+ name: 'description',
195
+ title: '@general:terms.common.description',
196
+ groupId: 'basic-info',
197
+ schema: {
198
+ dataType: 'string',
199
+ interface: { type: AXPWidgetsList.Editors.LargeTextBox },
200
+ },
201
+ },
202
+ {
203
+ name: 'parentId',
204
+ title: '@general:terms.classification.parent',
205
+ groupId: 'basic-info',
206
+ schema: {
207
+ dataType: 'string',
208
+ interface: {
209
+ type: AXPWidgetsList.Editors.LookupBox,
210
+ options: {
211
+ entity: `${RootConfig.module.name}.BusinessUnit`,
212
+ textField: 'title',
213
+ valueField: 'id',
214
+ expose: [
215
+ { source: 'id', target: 'parent.id' },
216
+ { source: 'title', target: 'parent.title' },
217
+ ],
218
+ },
219
+ },
220
+ },
221
+ },
222
+ {
223
+ name: 'typeId',
224
+ title: '@general:terms.common.type',
225
+ groupId: 'classification',
226
+ schema: {
227
+ dataType: 'string',
228
+ interface: {
229
+ type: AXPWidgetsList.Editors.LookupBox,
230
+ options: {
231
+ entity: `${RootConfig.module.name}.BusinessUnitType`,
232
+ textField: 'title',
233
+ valueField: 'id',
234
+ look: 'select',
235
+ expose: [
236
+ { source: 'id', target: 'type.id' },
237
+ { source: 'title', target: 'type.title' },
238
+ { source: 'isLocationBased', target: 'type.isLocationBased' },
239
+ { source: 'allowsDirectPositions', target: 'type.allowsDirectPositions' },
240
+ ],
241
+ },
242
+ },
243
+ },
244
+ validations: [{ rule: 'required' }],
245
+ },
246
+ {
247
+ name: 'geographicRegionId',
248
+ title: '@location-management:geographic-regions.entities.geographic-region.title',
249
+ groupId: 'classification',
250
+ schema: {
251
+ dataType: 'string',
252
+ visible: `{{ context.eval('type.isLocationBased') }}`,
253
+ interface: {
254
+ type: AXPWidgetsList.Editors.LookupBox,
255
+ options: {
256
+ entity: `LocationManagement.GeographicRegion`,
257
+ textField: 'title',
258
+ valueField: 'id',
259
+ look: 'lookup',
260
+ expose: [
261
+ { source: 'id', target: 'geographicRegion.id' },
262
+ { source: 'title', target: 'geographicRegion.title' },
263
+ ],
264
+ },
265
+ },
266
+ },
267
+ },
268
+ {
269
+ name: 'positionIds',
270
+ title: '@general:terms.organizations.positions',
271
+ groupId: 'positions',
272
+ schema: {
273
+ visible: `{{ context.eval('type.allowsDirectPositions') !== false }}`,
274
+ dataType: 'string',
275
+ interface: {
276
+ type: AXPWidgetsList.Editors.LookupBox,
277
+ options: {
278
+ entity: `${RootConfig.module.name}.${RootConfig.entities.position.name}`,
279
+ textField: 'title',
280
+ valueField: 'id',
281
+ look: 'select',
282
+ multiple: true,
283
+ expose: [
284
+ { source: 'id', target: 'positionsList.{id}' },
285
+ { source: 'title', target: 'positionsList.{title}' },
286
+ ],
287
+ },
288
+ },
289
+ },
290
+ },
291
+ {
292
+ name: 'headPositionId',
293
+ title: '@organization-management:business-units.entities.business-unit.fields.head-position.title',
294
+ groupId: 'positions',
295
+ schema: {
296
+ visible: `{{ context.eval('type.allowsDirectPositions') !== false }}`,
297
+ dataType: 'string',
298
+ interface: {
299
+ type: AXPWidgetsList.Editors.LookupBox,
300
+ options: {
301
+ entity: `${RootConfig.module.name}.${RootConfig.entities.position.name}`,
302
+ textField: 'title',
303
+ valueField: 'id',
304
+ look: 'select',
305
+ expose: [
306
+ { source: 'id', target: 'headPosition.id' },
307
+ { source: 'title', target: 'headPosition.title' },
308
+ ],
309
+ filter: {
310
+ logic: 'and',
311
+ filters: [
312
+ {
313
+ field: 'id',
314
+ operator: { type: 'in' },
315
+ value: '{{ context.eval("positionIds") }}',
316
+ },
317
+ {
318
+ field: 'isManager',
319
+ operator: { type: 'equal' },
320
+ value: true,
321
+ },
322
+ ],
323
+ },
324
+ },
325
+ triggers: [{ event: "{{ events.context('positionIds') }}", action: `{{ widget.refresh() }}` }],
326
+ },
327
+ },
328
+ },
329
+ ],
330
+ columns: [
331
+ { name: 'code' },
332
+ { name: 'title' },
333
+ { name: 'typeId', options: { dataPath: 'type.title' } },
334
+ { name: 'geographicRegionId', options: { dataPath: 'geographicRegion.title' } },
335
+ { name: 'headPositionId', options: { dataPath: 'headPosition.title' } },
336
+ { name: 'positionIds', options: { dataPath: 'positionsList' } },
337
+ ],
338
+ interfaces: {
339
+ master: {
340
+ create: {
341
+ sections: [
342
+ { id: 'basic-info', order: 1 },
343
+ { id: 'classification', order: 2 },
344
+ {
345
+ id: 'positions',
346
+ order: 3,
347
+ layout: {
348
+ visible: `{{ context.eval('type.allowsDirectPositions') !== false }}`,
349
+ },
350
+ },
351
+ ],
352
+ properties: [
353
+ {
354
+ name: 'title',
355
+ layout: {
356
+ order: 1,
357
+ positions: {
358
+ sm: { colSpan: 12, order: 1 },
359
+ md: { colSpan: 8, order: 1 },
360
+ lg: { colSpan: 8, order: 1 },
361
+ },
362
+ },
363
+ },
364
+ {
365
+ name: 'code',
366
+ layout: {
367
+ order: 2,
368
+ positions: {
369
+ sm: { colSpan: 12, order: 2 },
370
+ md: { colSpan: 4, order: 2 },
371
+ lg: { colSpan: 4, order: 2 },
372
+ },
373
+ },
374
+ },
375
+ {
376
+ name: 'description',
377
+ layout: {
378
+ order: 3,
379
+ positions: {
380
+ sm: { colSpan: 12, order: 3 },
381
+ md: { colSpan: 12, order: 3 },
382
+ lg: { colSpan: 12, order: 3 },
383
+ },
384
+ },
385
+ },
386
+ { name: 'parentId', layout: { positions: { lg: { colSpan: 6 } } } },
387
+ { name: 'typeId', layout: { positions: { lg: { colSpan: 6 } } } },
388
+ { name: 'geographicRegionId', layout: { positions: { lg: { colSpan: 6 } } } },
389
+ { name: 'positionIds', layout: { positions: { lg: { colSpan: 12 } } } },
390
+ { name: 'headPositionId', layout: { positions: { lg: { colSpan: 12 } } } },
391
+ ],
392
+ },
393
+ update: {
394
+ sections: [
395
+ { id: 'basic-info', order: 1 },
396
+ { id: 'classification', order: 2 },
397
+ {
398
+ id: 'positions',
399
+ order: 3,
400
+ layout: {
401
+ visible: `{{ context.eval('type.allowsDirectPositions') !== false }}`,
402
+ },
403
+ },
404
+ ],
405
+ properties: [
406
+ {
407
+ name: 'title',
408
+ layout: {
409
+ order: 1,
410
+ positions: {
411
+ sm: { colSpan: 12, order: 1 },
412
+ md: { colSpan: 8, order: 1 },
413
+ lg: { colSpan: 8, order: 1 },
414
+ },
415
+ },
416
+ },
417
+ {
418
+ name: 'code',
419
+ layout: {
420
+ order: 2,
421
+ positions: {
422
+ sm: { colSpan: 12, order: 2 },
423
+ md: { colSpan: 4, order: 2 },
424
+ lg: { colSpan: 4, order: 2 },
425
+ },
426
+ },
427
+ },
428
+ {
429
+ name: 'description',
430
+ layout: {
431
+ order: 3,
432
+ positions: {
433
+ sm: { colSpan: 12, order: 3 },
434
+ md: { colSpan: 12, order: 3 },
435
+ lg: { colSpan: 12, order: 3 },
436
+ },
437
+ },
438
+ },
439
+ { name: 'parentId', layout: { positions: { lg: { colSpan: 6 } } } },
440
+ { name: 'typeId', layout: { positions: { lg: { colSpan: 6 } } } },
441
+ { name: 'geographicRegionId', layout: { positions: { lg: { colSpan: 6 } } } },
442
+ { name: 'positionIds', layout: { positions: { lg: { colSpan: 12 } } } },
443
+ { name: 'headPositionId', layout: { positions: { lg: { colSpan: 12 } } } },
444
+ ],
445
+ },
446
+ single: {
447
+ title: '{{title}}',
448
+ sections: [
449
+ { id: 'basic-info', order: 1 },
450
+ { id: 'classification', order: 2 },
451
+ {
452
+ id: 'positions',
453
+ order: 3,
454
+ layout: {
455
+ visible: `{{ context.eval('type.allowsDirectPositions') !== false }}`,
456
+ },
457
+ },
458
+ ],
459
+ properties: [
460
+ {
461
+ name: 'title',
462
+ layout: {
463
+ order: 1,
464
+ positions: {
465
+ sm: { colSpan: 12, order: 1 },
466
+ md: { colSpan: 8, order: 1 },
467
+ lg: { colSpan: 8, order: 1 },
468
+ },
469
+ },
470
+ },
471
+ {
472
+ name: 'code',
473
+ layout: {
474
+ order: 2,
475
+ positions: {
476
+ sm: { colSpan: 12, order: 2 },
477
+ md: { colSpan: 4, order: 2 },
478
+ lg: { colSpan: 4, order: 2 },
479
+ },
480
+ },
481
+ },
482
+ {
483
+ name: 'description',
484
+ layout: {
485
+ order: 3,
486
+ positions: {
487
+ sm: { colSpan: 12, order: 3 },
488
+ md: { colSpan: 12, order: 3 },
489
+ lg: { colSpan: 12, order: 3 },
490
+ },
491
+ },
492
+ },
493
+ { name: 'parentId', layout: { positions: { lg: { colSpan: 6 } } } },
494
+ { name: 'typeId', layout: { positions: { lg: { colSpan: 6 } } } },
495
+ { name: 'geographicRegionId', layout: { positions: { lg: { colSpan: 6 } } } },
496
+ { name: 'positionIds', layout: { positions: { lg: { colSpan: 12 } } } },
497
+ { name: 'headPositionId', layout: { positions: { lg: { colSpan: 12 } } } },
498
+ ],
499
+ actions: [...entityMasterRecordActions()],
500
+ },
501
+ list: {
502
+ actions: [...entityMasterCrudActions()],
503
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
504
+ },
505
+ },
506
+ },
507
+ };
508
+ return entityDef;
509
+ }
510
+
511
+ /**
512
+ * Generated bundle index. Do not edit.
513
+ */
514
+
515
+ export { factoryBusinessUnit };
516
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/root-config.ts","../../../../libs/modules/organization-management/contracts/src/entities/business-unit/business-unit.entity.ts","../../../../libs/modules/organization-management/contracts/src/acorex-platform-module-organization-management-client-contracts-entities-business-unit.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, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryBusinessUnit(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n const entityName = 'business-unit';\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.businessUnit.name,\n title: '@organization-management:business-units.entities.business-unit.title',\n icon: 'fa-light fa-building-columns',\n parentKey: 'parentId',\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'organization-business-unit-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'reports' },\n ],\n formats: {\n individual: '@organization-management:business-units.entities.business-unit.title',\n plural: '@organization-management:business-units.entities.business-unit.plural',\n searchResult: { title: '{{ title }}', description: RootConfig.module.title },\n },\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamBusinessUnit.name}`,\n title: '@organization-management:business-units.related-entities.teams.title',\n columns: ['teamId', 'isPrimary', 'effectiveFrom', 'effectiveTo'],\n conditions: [entityDetailsSimpleCondition('businessUnitId')],\n actions: [...entityDetailsCrudActions('businessUnitId')],\n layout: { type: 'page-list' },\n excludeProperties: ['businessUnitId'],\n },\n ],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n {\n id: 'classification',\n title: '@organization-management:business-units.entities.business-unit.groups.classification',\n },\n {\n id: 'positions',\n title: '@organization-management:business-units.entities.business-unit.fields.positions.title',\n\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'code',\n title: '@organization-management:business-units.entities.business-unit.fields.code.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.TextBox,\n options: {\n placeholder: '@organization-management:business-units.entities.business-unit.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.TextBox },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.LargeTextBox },\n },\n },\n {\n name: 'parentId',\n title: '@general:terms.classification.parent',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.BusinessUnit`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'parent.id' },\n { source: 'title', target: 'parent.title' },\n ],\n },\n },\n },\n },\n {\n name: 'typeId',\n title: '@general:terms.common.type',\n groupId: 'classification',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.BusinessUnitType`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'type.id' },\n { source: 'title', target: 'type.title' },\n { source: 'isLocationBased', target: 'type.isLocationBased' },\n { source: 'allowsDirectPositions', target: 'type.allowsDirectPositions' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'geographicRegionId',\n title: '@location-management:geographic-regions.entities.geographic-region.title',\n groupId: 'classification',\n schema: {\n dataType: 'string',\n visible: `{{ context.eval('type.isLocationBased') }}`,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `LocationManagement.GeographicRegion`,\n textField: 'title',\n valueField: 'id',\n look: 'lookup',\n expose: [\n { source: 'id', target: 'geographicRegion.id' },\n { source: 'title', target: 'geographicRegion.title' },\n ],\n },\n },\n },\n },\n {\n name: 'positionIds',\n title: '@general:terms.organizations.positions',\n groupId: 'positions',\n schema: {\n visible: `{{ context.eval('type.allowsDirectPositions') !== false }}`,\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.position.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n multiple: true,\n expose: [\n { source: 'id', target: 'positionsList.{id}' },\n { source: 'title', target: 'positionsList.{title}' },\n ],\n },\n },\n },\n },\n {\n name: 'headPositionId',\n title: '@organization-management:business-units.entities.business-unit.fields.head-position.title',\n groupId: 'positions',\n schema: {\n visible: `{{ context.eval('type.allowsDirectPositions') !== false }}`,\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.position.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'headPosition.id' },\n { source: 'title', target: 'headPosition.title' },\n ],\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'id',\n operator: { type: 'in' },\n value: '{{ context.eval(\"positionIds\") }}',\n },\n {\n field: 'isManager',\n operator: { type: 'equal' },\n value: true,\n },\n ],\n },\n },\n triggers: [{ event: \"{{ events.context('positionIds') }}\", action: `{{ widget.refresh() }}` }],\n },\n },\n },\n ],\n columns: [\n { name: 'code' },\n { name: 'title' },\n { name: 'typeId', options: { dataPath: 'type.title' } },\n { name: 'geographicRegionId', options: { dataPath: 'geographicRegion.title' } },\n { name: 'headPositionId', options: { dataPath: 'headPosition.title' } },\n { name: 'positionIds', options: { dataPath: 'positionsList' } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info', order: 1 },\n { id: 'classification', order: 2 },\n {\n id: 'positions',\n order: 3,\n layout: {\n visible: `{{ context.eval('type.allowsDirectPositions') !== false }}`,\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 { name: 'parentId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'typeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'geographicRegionId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'positionIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'headPositionId', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info', order: 1 },\n { id: 'classification', order: 2 },\n {\n id: 'positions',\n order: 3,\n layout: {\n visible: `{{ context.eval('type.allowsDirectPositions') !== false }}`,\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 { name: 'parentId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'typeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'geographicRegionId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'positionIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'headPositionId', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n { id: 'basic-info', order: 1 },\n { id: 'classification', order: 2 },\n {\n id: 'positions',\n order: 3,\n layout: {\n visible: `{{ context.eval('type.allowsDirectPositions') !== false }}`,\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 { name: 'parentId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'typeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'geographicRegionId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'positionIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'headPositionId', layout: { positions: { lg: { colSpan: 12 } } } },\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.business-unit';\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,CAAiB;AACzC,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACD,QAAA,aAAa,EAAE;AACb,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,KAAK,EAAE,wEAAwE;AAC/E,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,cAAA,CAAgB;AACxC,YAAA,IAAI,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,8DAA8D;AACrE,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,SAAA,CAAW;AACnC,YAAA,IAAI,EAAE,yBAAyB;AAChC,SAAA;AACD,QAAA,mBAAmB,EAAE;AACnB,YAAA,IAAI,EAAE,qBAAqB;AAC3B,YAAA,KAAK,EAAE,oFAAoF;AAC3F,YAAA,WAAW,EAAE,qFAAqF;AAClG,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,oBAAA,CAAsB;AAC9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