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

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 (74) hide show
  1. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs +318 -0
  2. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs +516 -0
  4. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs +314 -0
  6. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs +250 -0
  8. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs +439 -0
  10. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs +385 -0
  12. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs +657 -0
  14. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs +248 -0
  16. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs +317 -0
  18. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs +413 -0
  20. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs +220 -0
  22. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs +366 -0
  24. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs +421 -0
  26. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-xL4H41ft.mjs +146 -0
  28. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-xL4H41ft.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BE6ZOUYI.mjs +203 -0
  30. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BE6ZOUYI.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CzApxGMJ.mjs +401 -0
  32. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CzApxGMJ.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-BWocZ2iP.mjs +199 -0
  34. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-BWocZ2iP.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-tU-53b9G.mjs +135 -0
  36. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-tU-53b9G.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-sOUJWK_4.mjs +324 -0
  38. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-sOUJWK_4.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-C866Av4K.mjs +270 -0
  40. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-C866Av4K.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-DI5SQJdb.mjs +542 -0
  42. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-DI5SQJdb.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-DHyK2SPK.mjs +133 -0
  44. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-DHyK2SPK.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-B3UAoNc6.mjs +202 -0
  46. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-B3UAoNc6.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-CCSV3xtX.mjs +298 -0
  48. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-CCSV3xtX.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-vnO44D26.mjs +105 -0
  50. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-vnO44D26.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-j7Zu11Fo.mjs +251 -0
  52. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-j7Zu11Fo.mjs.map +1 -0
  53. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-BBdUYFU0.mjs +306 -0
  54. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-BBdUYFU0.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs +2 -0
  56. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs.map +1 -0
  57. package/fesm2022/acorex-platform-module-organization-management-client-local-entities.mjs +41 -0
  58. package/fesm2022/acorex-platform-module-organization-management-client-local-entities.mjs.map +1 -0
  59. package/package.json +62 -2
  60. package/types/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.d.ts +5 -0
  61. package/types/acorex-platform-module-organization-management-client-contracts-entities-business-unit.d.ts +5 -0
  62. package/types/acorex-platform-module-organization-management-client-contracts-entities-chart.d.ts +5 -0
  63. package/types/acorex-platform-module-organization-management-client-contracts-entities-company.d.ts +5 -0
  64. package/types/acorex-platform-module-organization-management-client-contracts-entities-job-definition.d.ts +5 -0
  65. package/types/acorex-platform-module-organization-management-client-contracts-entities-job-level.d.ts +5 -0
  66. package/types/acorex-platform-module-organization-management-client-contracts-entities-position.d.ts +5 -0
  67. package/types/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.d.ts +5 -0
  68. package/types/acorex-platform-module-organization-management-client-contracts-entities-responsibility.d.ts +5 -0
  69. package/types/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.d.ts +5 -0
  70. package/types/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.d.ts +5 -0
  71. package/types/acorex-platform-module-organization-management-client-contracts-entities-team-member.d.ts +5 -0
  72. package/types/acorex-platform-module-organization-management-client-contracts-entities-team.d.ts +5 -0
  73. package/types/acorex-platform-module-organization-management-client-contracts-entity-catalog.d.ts +10 -0
  74. package/types/acorex-platform-module-organization-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,251 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-xL4H41ft.mjs';
4
+
5
+ async function factoryTeamMember() {
6
+ const entityDef = {
7
+ module: RootConfig.module.name,
8
+ name: RootConfig.entities.teamMember.name,
9
+ title: '@organization-management:team-members.entities.team-member.title',
10
+ icon: 'fa-light fa-users',
11
+ formats: {
12
+ individual: '@organization-management:team-members.entities.team-member.title',
13
+ plural: '@organization-management:team-members.entities.team-member.plural',
14
+ searchResult: {
15
+ title: '@organization-management:team-members.entities.team-member.title',
16
+ description: RootConfig.module.title,
17
+ },
18
+ },
19
+ groups: [
20
+ {
21
+ id: 'basic-info',
22
+ title: '@general:terms.interface.basic-info',
23
+ },
24
+ ],
25
+ properties: [
26
+ {
27
+ name: 'id',
28
+ title: 'ID',
29
+ groupId: 'basic-info',
30
+ schema: {
31
+ dataType: 'uuid',
32
+ visible: false,
33
+ nullable: false,
34
+ readonly: true,
35
+ unique: {
36
+ enabled: true,
37
+ },
38
+ },
39
+ },
40
+ {
41
+ name: 'teamId',
42
+ title: '@organization-management:team-members.entities.team-member.fields.team.title',
43
+ groupId: 'basic-info',
44
+ options: {
45
+ sort: { enabled: true },
46
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
47
+ },
48
+ schema: {
49
+ dataType: 'string',
50
+ readonly: true,
51
+ interface: {
52
+ type: AXPWidgetsList.Editors.LookupBox,
53
+ options: {
54
+ entity: `${RootConfig.module.name}.${RootConfig.entities.team.name}`,
55
+ textField: 'title',
56
+ valueField: 'id',
57
+ expose: [
58
+ { source: 'id', target: 'team.id' },
59
+ { source: 'title', target: 'team.title' },
60
+ ],
61
+ },
62
+ },
63
+ },
64
+ validations: [
65
+ {
66
+ rule: 'required',
67
+ },
68
+ ],
69
+ },
70
+ {
71
+ name: 'employeeId',
72
+ title: '@organization-management:team-members.entities.team-member.fields.employee.title',
73
+ groupId: 'basic-info',
74
+ options: {
75
+ sort: { enabled: true },
76
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
77
+ },
78
+ schema: {
79
+ dataType: 'string',
80
+ interface: {
81
+ type: AXPWidgetsList.Editors.LookupBox,
82
+ options: {
83
+ entity: `HumanCapitalManagement.Employee`,
84
+ textField: 'person.fullName',
85
+ valueField: 'id',
86
+ look: 'select',
87
+ expose: [
88
+ { source: 'id', target: 'employee.id' },
89
+ { source: 'person.fullName', target: 'employee.person.fullName' },
90
+ ],
91
+ },
92
+ },
93
+ },
94
+ validations: [
95
+ {
96
+ rule: 'required',
97
+ },
98
+ ],
99
+ },
100
+ {
101
+ name: 'roleId',
102
+ title: '@organization-management:team-members.entities.team-member.fields.role.title',
103
+ groupId: 'basic-info',
104
+ options: {
105
+ sort: { enabled: true },
106
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
107
+ },
108
+ schema: {
109
+ dataType: 'string',
110
+ interface: {
111
+ type: AXPWidgetsList.Editors.LookupBox,
112
+ options: {
113
+ entity: `${RootConfig.module.name}.${RootConfig.entities.teamMemberRole.name}`,
114
+ textField: 'title',
115
+ valueField: 'id',
116
+ look: 'select',
117
+ expose: [
118
+ { source: 'id', target: 'role.id' },
119
+ { source: 'title', target: 'role.title' },
120
+ ],
121
+ },
122
+ },
123
+ },
124
+ validations: [
125
+ {
126
+ rule: 'required',
127
+ },
128
+ ],
129
+ },
130
+ ],
131
+ columns: [
132
+ { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },
133
+ { name: 'roleId', options: { dataPath: 'role.title' } },
134
+ ],
135
+ interfaces: {
136
+ master: {
137
+ create: {
138
+ sections: [
139
+ {
140
+ id: 'basic-info',
141
+ },
142
+ ],
143
+ properties: [
144
+ {
145
+ name: 'teamId',
146
+ layout: {
147
+ positions: {
148
+ lg: {
149
+ colSpan: 12,
150
+ order: 1,
151
+ },
152
+ },
153
+ },
154
+ },
155
+ {
156
+ name: 'employeeId',
157
+ layout: {
158
+ positions: {
159
+ lg: {
160
+ colSpan: 6,
161
+ order: 2,
162
+ },
163
+ },
164
+ },
165
+ },
166
+ {
167
+ name: 'roleId',
168
+ layout: {
169
+ positions: {
170
+ lg: {
171
+ colSpan: 6,
172
+ order: 3,
173
+ },
174
+ },
175
+ },
176
+ },
177
+ ],
178
+ },
179
+ update: {
180
+ sections: [
181
+ {
182
+ id: 'basic-info',
183
+ },
184
+ ],
185
+ properties: [
186
+ {
187
+ name: 'employeeId',
188
+ layout: {
189
+ positions: {
190
+ lg: {
191
+ colSpan: 6,
192
+ order: 1,
193
+ },
194
+ },
195
+ },
196
+ },
197
+ {
198
+ name: 'roleId',
199
+ layout: {
200
+ positions: {
201
+ lg: {
202
+ colSpan: 6,
203
+ order: 2,
204
+ },
205
+ },
206
+ },
207
+ },
208
+ ],
209
+ },
210
+ single: {
211
+ title: '{{ context.eval("employee.person.fullName") + " - " + context.eval("role.title", { pipes: ["translate"] }) }}',
212
+ sections: [
213
+ {
214
+ id: 'basic-info',
215
+ },
216
+ ],
217
+ properties: [
218
+ {
219
+ name: 'employeeId',
220
+ layout: {
221
+ positions: {
222
+ lg: {
223
+ colSpan: 6,
224
+ order: 1,
225
+ },
226
+ },
227
+ },
228
+ },
229
+ {
230
+ name: 'roleId',
231
+ layout: {
232
+ positions: {
233
+ lg: {
234
+ colSpan: 6,
235
+ order: 2,
236
+ },
237
+ },
238
+ },
239
+ },
240
+ ],
241
+ actions: [...entityMasterRecordActions()],
242
+ },
243
+ // No list interface - this entity is only accessible as a related entity
244
+ },
245
+ },
246
+ };
247
+ return entityDef;
248
+ }
249
+
250
+ export { factoryTeamMember };
251
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-j7Zu11Fo.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-j7Zu11Fo.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team-member/team-member.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeamMember(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.teamMember.name,\n title: '@organization-management:team-members.entities.team-member.title',\n icon: 'fa-light fa-users',\n formats: {\n individual: '@organization-management:team-members.entities.team-member.title',\n plural: '@organization-management:team-members.entities.team-member.plural',\n searchResult: {\n title: '@organization-management:team-members.entities.team-member.title',\n description: RootConfig.module.title,\n },\n },\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'teamId',\n title: '@organization-management:team-members.entities.team-member.fields.team.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.team.name}`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'team.id' },\n { source: 'title', target: 'team.title' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'employeeId',\n title: '@organization-management:team-members.entities.team-member.fields.employee.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `HumanCapitalManagement.Employee`,\n textField: 'person.fullName',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'employee.id' },\n { source: 'person.fullName', target: 'employee.person.fullName' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'roleId',\n title: '@organization-management:team-members.entities.team-member.fields.role.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamMemberRole.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'role.id' },\n { source: 'title', target: 'role.title' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n ],\n columns: [\n { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },\n { name: 'roleId', options: { dataPath: 'role.title' } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'teamId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n order: 1,\n },\n },\n },\n },\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 3,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 1,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n ],\n },\n single: {\n title:\n '{{ context.eval(\"employee.person.fullName\") + \" - \" + context.eval(\"role.title\", { pipes: [\"translate\"] }) }}',\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 1,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n // No list interface - this entity is only accessible as a related entity\n },\n },\n };\n\n return entityDef;\n}\n\n"],"names":[],"mappings":";;;;AAIO,eAAe,iBAAiB,GAAA;AAErC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI;AACzC,QAAA,KAAK,EAAE,kEAAkE;AACzE,QAAA,IAAI,EAAE,mBAAmB;AACzB,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,kEAAkE;AAC9E,YAAA,MAAM,EAAE,mEAAmE;AAC3E,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,kEAAkE;AACzE,gBAAA,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AACrC,aAAA;AACF,SAAA;AACD,QAAA,MAAM,EAAE;AACN,YAAA;AACE,gBAAA,EAAE,EAAE,YAAY;AAChB,gBAAA,KAAK,EAAE,qCAAqC;AAC7C,aAAA;AACF,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA;AACE,gBAAA,IAAI,EAAE,IAAI;AACV,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,OAAO,EAAE,YAAY;AACrB,gBAAA,MAAM,EAAE;AACN,oBAAA,QAAQ,EAAE,MAAM;AAChB,oBAAA,OAAO,EAAE,KAAK;AACd,oBAAA,QAAQ,EAAE,KAAK;AACf,oBAAA,QAAQ,EAAE,IAAI;AACd,oBAAA,MAAM,EAAE;AACN,wBAAA,OAAO,EAAE,IAAI;AACd,qBAAA;AACF,iBAAA;AACF,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,QAAQ;AACd,gBAAA,KAAK,EAAE,8EAA8E;AACrF,gBAAA,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,wCAAA,OAAO,EAAE,CAAC;AACV,wCAAA,KAAK,EAAE,CAAC;AACT,qCAAA;AACF,iCAAA;AACF,6BAAA;AACF,yBAAA;AACD,wBAAA;AACE,4BAAA,IAAI,EAAE,QAAQ;AACd,4BAAA,MAAM,EAAE;AACN,gCAAA,SAAS,EAAE;AACT,oCAAA,EAAE,EAAE;AACF,wCAAA,OAAO,EAAE,CAAC;AACV,wCAAA,KAAK,EAAE,CAAC;AACT,qCAAA;AACF,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;;AAEF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
@@ -0,0 +1,306 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterDeleteAction, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-xL4H41ft.mjs';
4
+
5
+ async function factoryTeam() {
6
+ const entityDef = {
7
+ module: RootConfig.module.name,
8
+ name: RootConfig.entities.team.name,
9
+ icon: RootConfig.entities.team.icon,
10
+ title: RootConfig.entities.team.title,
11
+ plugins: [
12
+ { name: 'comments', options: { display: 'page' } },
13
+ { name: 'history' },
14
+ { name: 'identifier', options: { field: 'code', rule: 'organization-team-code' } },
15
+ { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
16
+ { name: 'archive' },
17
+ { name: 'category' },
18
+ ],
19
+ formats: {
20
+ individual: '@organization-management:teams.entities.team.title',
21
+ plural: '@organization-management:teams.entities.team.plural',
22
+ searchResult: {
23
+ title: '{{ title }}',
24
+ description: RootConfig.module.title,
25
+ },
26
+ },
27
+ relatedEntities: [
28
+ {
29
+ entity: `${RootConfig.module.name}.${RootConfig.entities.teamMember.name}`,
30
+ title: '@organization-management:teams.related-entities.members.title',
31
+ persistence: { foreignKeyField: 'teamId' },
32
+ columns: ['employeeId', 'roleId'],
33
+ conditions: [entityDetailsSimpleCondition('teamId')],
34
+ actions: [...entityDetailsCrudActions()],
35
+ layout: { type: 'page-list' },
36
+ },
37
+ {
38
+ entity: `${RootConfig.module.name}.${RootConfig.entities.teamBusinessUnit.name}`,
39
+ title: '@organization-management:teams.related-entities.business-units.title',
40
+ columns: ['businessUnitId', 'isPrimary', 'effectiveFrom', 'effectiveTo'],
41
+ conditions: [entityDetailsSimpleCondition('teamId')],
42
+ actions: [...entityDetailsCrudActions('teamId')],
43
+ layout: { type: 'page-list' },
44
+ excludeProperties: ['teamId'],
45
+ },
46
+ ],
47
+ groups: [
48
+ {
49
+ id: 'basic-info',
50
+ title: '@general:terms.interface.basic-info',
51
+ },
52
+ ],
53
+ properties: [
54
+ {
55
+ name: 'id',
56
+ title: 'ID',
57
+ schema: {
58
+ dataType: 'uuid',
59
+ visible: false,
60
+ nullable: false,
61
+ readonly: true,
62
+ unique: {
63
+ enabled: true,
64
+ },
65
+ },
66
+ },
67
+ {
68
+ name: 'code',
69
+ title: '@organization-management:teams.entities.team.fields.code.title',
70
+ groupId: 'basic-info',
71
+ options: {
72
+ sort: {
73
+ enabled: true,
74
+ },
75
+ filter: {
76
+ advance: {
77
+ enabled: true,
78
+ },
79
+ inline: {
80
+ enabled: true,
81
+ },
82
+ },
83
+ },
84
+ schema: {
85
+ dataType: 'string',
86
+ unique: {
87
+ enabled: true,
88
+ },
89
+ interface: {
90
+ type: AXPWidgetsList.Editors.TextBox,
91
+ options: {
92
+ placeholder: '@organization-management:teams.entities.team.fields.code.placeholder',
93
+ },
94
+ },
95
+ },
96
+ validations: [
97
+ {
98
+ rule: 'required',
99
+ },
100
+ ],
101
+ },
102
+ {
103
+ name: 'title',
104
+ title: `@general:terms.common.title`,
105
+ groupId: 'basic-info',
106
+ options: {
107
+ sort: {
108
+ enabled: true,
109
+ },
110
+ filter: {
111
+ advance: {
112
+ enabled: true,
113
+ },
114
+ inline: {
115
+ enabled: true,
116
+ },
117
+ },
118
+ },
119
+ schema: {
120
+ dataType: 'string',
121
+ interface: {
122
+ type: AXPWidgetsList.Editors.TextBox,
123
+ },
124
+ },
125
+ validations: [
126
+ {
127
+ rule: 'required',
128
+ },
129
+ ],
130
+ },
131
+ {
132
+ name: 'description',
133
+ title: `@general:terms.common.description`,
134
+ groupId: 'basic-info',
135
+ schema: {
136
+ dataType: 'string',
137
+ interface: {
138
+ type: AXPWidgetsList.Editors.LargeTextBox,
139
+ },
140
+ },
141
+ },
142
+ ],
143
+ columns: [{ name: 'code' }, { name: 'title' }, { name: 'description' }],
144
+ interfaces: {
145
+ master: {
146
+ create: {
147
+ sections: [
148
+ {
149
+ id: 'basic-info',
150
+ layout: {
151
+ positions: {
152
+ sm: { colSpan: 12 },
153
+ md: { colSpan: 12 },
154
+ lg: { colSpan: 12 },
155
+ },
156
+ },
157
+ },
158
+ ],
159
+ properties: [
160
+ {
161
+ name: 'title',
162
+ layout: {
163
+ order: 1,
164
+ positions: {
165
+ sm: { colSpan: 12, order: 1 },
166
+ md: { colSpan: 8, order: 1 },
167
+ lg: { colSpan: 8, order: 1 },
168
+ },
169
+ },
170
+ },
171
+ {
172
+ name: 'code',
173
+ layout: {
174
+ order: 2,
175
+ positions: {
176
+ sm: { colSpan: 12, order: 2 },
177
+ md: { colSpan: 4, order: 2 },
178
+ lg: { colSpan: 4, order: 2 },
179
+ },
180
+ },
181
+ },
182
+ {
183
+ name: 'description',
184
+ layout: {
185
+ order: 3,
186
+ positions: {
187
+ sm: { colSpan: 12, order: 3 },
188
+ md: { colSpan: 12, order: 3 },
189
+ lg: { colSpan: 12, order: 3 },
190
+ },
191
+ },
192
+ },
193
+ ],
194
+ },
195
+ update: {
196
+ sections: [
197
+ {
198
+ id: 'basic-info',
199
+ layout: {
200
+ positions: {
201
+ sm: { colSpan: 12 },
202
+ md: { colSpan: 12 },
203
+ lg: { colSpan: 12 },
204
+ },
205
+ },
206
+ },
207
+ ],
208
+ properties: [
209
+ {
210
+ name: 'title',
211
+ layout: {
212
+ order: 1,
213
+ positions: {
214
+ sm: { colSpan: 12, order: 1 },
215
+ md: { colSpan: 8, order: 1 },
216
+ lg: { colSpan: 8, order: 1 },
217
+ },
218
+ },
219
+ },
220
+ {
221
+ name: 'code',
222
+ layout: {
223
+ order: 2,
224
+ positions: {
225
+ sm: { colSpan: 12, order: 2 },
226
+ md: { colSpan: 4, order: 2 },
227
+ lg: { colSpan: 4, order: 2 },
228
+ },
229
+ },
230
+ },
231
+ {
232
+ name: 'description',
233
+ layout: {
234
+ order: 3,
235
+ positions: {
236
+ sm: { colSpan: 12, order: 3 },
237
+ md: { colSpan: 12, order: 3 },
238
+ lg: { colSpan: 12, order: 3 },
239
+ },
240
+ },
241
+ },
242
+ ],
243
+ },
244
+ single: {
245
+ title: '{{ title }}',
246
+ sections: [
247
+ {
248
+ id: 'basic-info',
249
+ layout: {
250
+ positions: {
251
+ sm: { colSpan: 12 },
252
+ md: { colSpan: 12 },
253
+ lg: { colSpan: 12 },
254
+ },
255
+ },
256
+ },
257
+ ],
258
+ properties: [
259
+ {
260
+ name: 'title',
261
+ layout: {
262
+ order: 1,
263
+ positions: {
264
+ sm: { colSpan: 12, order: 1 },
265
+ md: { colSpan: 8, order: 1 },
266
+ lg: { colSpan: 8, order: 1 },
267
+ },
268
+ },
269
+ },
270
+ {
271
+ name: 'code',
272
+ layout: {
273
+ order: 2,
274
+ positions: {
275
+ sm: { colSpan: 12, order: 2 },
276
+ md: { colSpan: 4, order: 2 },
277
+ lg: { colSpan: 4, order: 2 },
278
+ },
279
+ },
280
+ },
281
+ {
282
+ name: 'description',
283
+ layout: {
284
+ order: 3,
285
+ positions: {
286
+ sm: { colSpan: 12, order: 3 },
287
+ md: { colSpan: 12, order: 3 },
288
+ lg: { colSpan: 12, order: 3 },
289
+ },
290
+ },
291
+ },
292
+ ],
293
+ actions: [entityMasterDeleteAction()],
294
+ },
295
+ list: {
296
+ actions: [...entityMasterCrudActions()],
297
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
298
+ },
299
+ },
300
+ },
301
+ };
302
+ return entityDef;
303
+ }
304
+
305
+ export { factoryTeam };
306
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-BBdUYFU0.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-BBdUYFU0.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team/team.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterCrudActions, entityMasterDeleteAction } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeam(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.team.name,\n icon: RootConfig.entities.team.icon,\n\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"],"names":[],"mappings":";;;;AAIO,eAAe,WAAW,GAAA;AAC/B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;AACnC,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;AAEnC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK;AACrC,QAAA,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;YAClD,EAAE,IAAI,EAAE,SAAS,EAAE;AACnB,YAAA,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE;AAClF,YAAA,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;YACvE,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EAAE,UAAU,EAAE;AACrB,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,oDAAoD;AAChE,YAAA,MAAM,EAAE,qDAAqD;AAC7D,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,aAAa;AACpB,gBAAA,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AACrC,aAAA;AACF,SAAA;A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,gCAAA,SAAS,EAAE;oCACT,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC5B,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;AAC7B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACD,wBAAA;AACE,4BAAA,IAAI,EAAE,aAAa;AACnB,4BAAA,MAAM,EAAE;AACN,gCAAA,KAAK,EAAE,CAAC;AACR,gCAAA,SAAS,EAAE;oCACT,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;AAC9B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,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;;;;"}
@@ -0,0 +1,2 @@
1
+ export { o as organizationManagementLocalEntityCatalog } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-xL4H41ft.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}