@acorex-platform/module-business-core-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 (49) hide show
  1. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-status.mjs +203 -0
  2. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-status.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-type.mjs +203 -0
  4. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-type.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-industry.mjs +203 -0
  6. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-industry.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.mjs +170 -0
  8. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-manufacturer.mjs +350 -0
  10. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-manufacturer.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-segment.mjs +184 -0
  12. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-segment.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-type.mjs +197 -0
  14. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-type.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party.mjs +392 -0
  16. package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-acorex-platform-module-business-core-client-contracts-entity-catalog-CgsGPgV1.mjs +92 -0
  18. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-acorex-platform-module-business-core-client-contracts-entity-catalog-CgsGPgV1.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-status.entity-DsqWCkLU.mjs +137 -0
  20. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-status.entity-DsqWCkLU.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-type.entity-wK3D1WEc.mjs +137 -0
  22. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-type.entity-wK3D1WEc.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-industry.entity-DBEKleao.mjs +137 -0
  24. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-industry.entity-DBEKleao.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-lifecycle-stage.entity-BWPn1XnS.mjs +104 -0
  26. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-lifecycle-stage.entity-BWPn1XnS.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-manufacturer.entity-CAd01aKL.mjs +284 -0
  28. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-manufacturer.entity-CAd01aKL.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-segment.entity-WNUL6gHc.mjs +118 -0
  30. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-segment.entity-WNUL6gHc.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-type.entity-9PmLR0SV.mjs +131 -0
  32. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-type.entity-9PmLR0SV.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party.entity-8vs-i3_r.mjs +326 -0
  34. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party.entity-8vs-i3_r.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog.mjs +2 -0
  36. package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-business-core-client-local-entities.mjs +36 -0
  38. package/fesm2022/acorex-platform-module-business-core-client-local-entities.mjs.map +1 -0
  39. package/package.json +43 -1
  40. package/types/acorex-platform-module-business-core-client-contracts-entities-business-status.d.ts +5 -0
  41. package/types/acorex-platform-module-business-core-client-contracts-entities-business-type.d.ts +5 -0
  42. package/types/acorex-platform-module-business-core-client-contracts-entities-industry.d.ts +5 -0
  43. package/types/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.d.ts +5 -0
  44. package/types/acorex-platform-module-business-core-client-contracts-entities-manufacturer.d.ts +5 -0
  45. package/types/acorex-platform-module-business-core-client-contracts-entities-party-segment.d.ts +5 -0
  46. package/types/acorex-platform-module-business-core-client-contracts-entities-party-type.d.ts +5 -0
  47. package/types/acorex-platform-module-business-core-client-contracts-entities-party.d.ts +5 -0
  48. package/types/acorex-platform-module-business-core-client-contracts-entity-catalog.d.ts +10 -0
  49. package/types/acorex-platform-module-business-core-client-local-entities.d.ts +12 -0
@@ -0,0 +1,392 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { contactAssignmentDetailsCrudActionsForPartyContext, contactAssignmentPartyConditions } from '@acorex-platform/module-person-core-client/contracts';
3
+ import { RootConfig as RootConfig$1, locationAssignmentDetailsCrudActionsForPartyContext, locationAssignmentPartyConditions } from '@acorex-platform/module-location-management-client/contracts';
4
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
5
+
6
+ const config = {
7
+ i18n: 'business-core',
8
+ module: 'BusinessCore',
9
+ };
10
+ const RootConfig = {
11
+ config,
12
+ module: {
13
+ name: config.module,
14
+ title: `@${config.i18n}:module.title`,
15
+ icon: 'fa-light fa-building',
16
+ },
17
+ entities: {
18
+ manufacturer: {
19
+ name: 'Manufacturer',
20
+ title: `@${config.i18n}:manufacturers.entities.manufacturer.title`,
21
+ titlePlural: `@${config.i18n}:manufacturers.entities.manufacturer.plural`,
22
+ icon: 'fa-light fa-industry',
23
+ },
24
+ industry: {
25
+ name: 'Industry',
26
+ title: `@${config.i18n}:industries.entities.industry.title`,
27
+ titlePlural: `@${config.i18n}:industries.entities.industry.plural`,
28
+ icon: 'fa-light fa-chart-line',
29
+ },
30
+ businessType: {
31
+ name: 'BusinessType',
32
+ title: `@${config.i18n}:business-types.entities.business-type.title`,
33
+ titlePlural: `@${config.i18n}:business-types.entities.business-type.plural`,
34
+ icon: 'fa-light fa-briefcase',
35
+ },
36
+ businessStatus: {
37
+ name: 'BusinessStatus',
38
+ title: `@${config.i18n}:business-statuses.entities.business-status.title`,
39
+ titlePlural: `@${config.i18n}:business-statuses.entities.business-status.plural`,
40
+ icon: 'fa-light fa-circle-check',
41
+ },
42
+ partyType: {
43
+ name: 'PartyType',
44
+ title: `@${config.i18n}:party-types.entities.party-type.title`,
45
+ titlePlural: `@${config.i18n}:party-types.entities.party-type.plural`,
46
+ icon: 'fa-light fa-tag',
47
+ },
48
+ partySegment: {
49
+ name: 'PartySegment',
50
+ title: `@${config.i18n}:party-segments.entities.party-segment.title`,
51
+ titlePlural: `@${config.i18n}:party-segments.entities.party-segment.plural`,
52
+ icon: 'fa-light fa-chart-pie',
53
+ },
54
+ lifecycleStage: {
55
+ name: 'LifecycleStage',
56
+ title: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.title`,
57
+ titlePlural: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.plural`,
58
+ icon: 'fa-light fa-timeline',
59
+ },
60
+ party: {
61
+ name: 'Party',
62
+ title: `@${config.i18n}:parties.entities.party.title`,
63
+ titlePlural: `@${config.i18n}:parties.entities.party.plural`,
64
+ icon: 'fa-light fa-building',
65
+ },
66
+ },
67
+ };
68
+
69
+ //#endregion
70
+ //#region ---- Repeater Children ----
71
+ const PHONES_REPEATER_CHILDREN = [
72
+ {
73
+ type: AXPWidgetsList.Editors.ContactBox,
74
+ mode: 'edit',
75
+ options: {
76
+ type: 'phone',
77
+ placeholder: '@business-core:parties.entities.party.fields.phone.placeholder',
78
+ },
79
+ },
80
+ ];
81
+ const EMAILS_REPEATER_CHILDREN = [
82
+ {
83
+ type: AXPWidgetsList.Editors.ContactBox,
84
+ mode: 'edit',
85
+ options: {
86
+ type: 'email',
87
+ placeholder: '@business-core:parties.entities.party.fields.email.placeholder',
88
+ },
89
+ },
90
+ ];
91
+ const LOCATION_ROLE_ENTITY = `${RootConfig$1.module.name}.${RootConfig$1.entities.locationRole.name}`;
92
+ const ADDRESSES_REPEATER_CHILDREN = [
93
+ {
94
+ type: AXPWidgetsList.Editors.AddressBox,
95
+ mode: 'edit',
96
+ options: {
97
+ mode: 'expandable',
98
+ hasLabel: true,
99
+ labelEntity: LOCATION_ROLE_ENTITY,
100
+ },
101
+ },
102
+ ];
103
+ //#endregion
104
+ //#region ---- Entity Factory ----
105
+ async function partyFactory() {
106
+ const entityDef = {
107
+ module: RootConfig.module.name,
108
+ name: RootConfig.entities.party.name,
109
+ title: RootConfig.entities.party.title,
110
+ icon: RootConfig.entities.party.icon,
111
+ formats: {
112
+ individual: RootConfig.entities.party.title,
113
+ plural: RootConfig.entities.party.titlePlural,
114
+ displayName: '@general:terms.common.profile',
115
+ searchResult: {
116
+ title: '{{ title }}',
117
+ description: '@business-core:parties.entities.party.search-result-description',
118
+ },
119
+ },
120
+ plugins: [
121
+ { name: 'identifier', options: { field: 'code', rule: 'party-code' } },
122
+ { name: 'compare' },
123
+ { name: 'history' },
124
+ { name: 'archive' },
125
+ ],
126
+ groups: [
127
+ {
128
+ id: 'profile',
129
+ title: '@business-core:parties.entities.party.groups.profile',
130
+ icon: 'fa-light fa-building',
131
+ },
132
+ {
133
+ id: 'image',
134
+ title: '@business-core:parties.entities.party.groups.image',
135
+ icon: 'fa-light fa-image',
136
+ },
137
+ {
138
+ id: 'phones',
139
+ title: '@business-core:parties.entities.party.groups.phones',
140
+ icon: 'fa-light fa-phone',
141
+ },
142
+ {
143
+ id: 'emails',
144
+ title: '@business-core:parties.entities.party.groups.emails',
145
+ icon: 'fa-light fa-envelope',
146
+ },
147
+ {
148
+ id: 'addresses',
149
+ title: '@business-core:parties.entities.party.groups.addresses',
150
+ icon: 'fa-light fa-location-dot',
151
+ },
152
+ ],
153
+ properties: [
154
+ {
155
+ name: 'code',
156
+ title: '@general:terms.common.code',
157
+ groupId: 'profile',
158
+ options: {
159
+ sort: { enabled: true },
160
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
161
+ },
162
+ schema: {
163
+ dataType: 'string',
164
+ interface: {
165
+ type: AXPWidgetsList.Editors.TextBox,
166
+ options: {
167
+ placeholder: '@business-core:parties.entities.party.fields.code.placeholder',
168
+ },
169
+ },
170
+ },
171
+ validations: [{ rule: 'required' }],
172
+ },
173
+ {
174
+ name: 'title',
175
+ title: '@general:terms.common.title',
176
+ groupId: 'profile',
177
+ options: {
178
+ sort: { enabled: true },
179
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
180
+ },
181
+ schema: {
182
+ dataType: 'string',
183
+ interface: {
184
+ type: AXPWidgetsList.Editors.TextBox,
185
+ options: {
186
+ placeholder: '@business-core:parties.entities.party.fields.title.placeholder',
187
+ },
188
+ },
189
+ },
190
+ validations: [{ rule: 'required' }],
191
+ },
192
+ {
193
+ name: 'description',
194
+ title: '@general:terms.common.description',
195
+ groupId: 'profile',
196
+ options: {
197
+ sort: { enabled: true },
198
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
199
+ },
200
+ schema: {
201
+ dataType: 'string',
202
+ interface: {
203
+ type: AXPWidgetsList.Editors.LargeTextBox,
204
+ options: {
205
+ placeholder: '@business-core:parties.entities.party.fields.description.placeholder',
206
+ rows: 3,
207
+ },
208
+ },
209
+ },
210
+ },
211
+ {
212
+ name: 'image',
213
+ title: '@business-core:parties.entities.party.groups.image',
214
+ groupId: 'image',
215
+ options: {
216
+ sort: { enabled: true },
217
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
218
+ },
219
+ schema: {
220
+ dataType: 'string',
221
+ interface: {
222
+ type: AXPWidgetsList.Advanced.Image,
223
+ options: {
224
+ type: 'profile-photo',
225
+ },
226
+ },
227
+ },
228
+ },
229
+ {
230
+ name: 'phones',
231
+ title: '@business-core:parties.entities.party.groups.phones',
232
+ groupId: 'phones',
233
+ schema: {
234
+ defaultValue: [],
235
+ dataType: 'array',
236
+ interface: {
237
+ type: AXPWidgetsList.Layouts.RepeaterLayout,
238
+ options: { hasControls: true },
239
+ children: [...PHONES_REPEATER_CHILDREN],
240
+ },
241
+ },
242
+ },
243
+ {
244
+ name: 'emails',
245
+ title: '@business-core:parties.entities.party.groups.emails',
246
+ groupId: 'emails',
247
+ schema: {
248
+ defaultValue: [],
249
+ dataType: 'array',
250
+ interface: {
251
+ type: AXPWidgetsList.Layouts.RepeaterLayout,
252
+ options: { hasControls: true },
253
+ children: [...EMAILS_REPEATER_CHILDREN],
254
+ },
255
+ },
256
+ },
257
+ {
258
+ name: 'addresses',
259
+ title: '@business-core:parties.entities.party.groups.addresses',
260
+ groupId: 'addresses',
261
+ schema: {
262
+ defaultValue: [],
263
+ dataType: 'array',
264
+ interface: {
265
+ type: AXPWidgetsList.Layouts.RepeaterLayout,
266
+ options: { hasControls: true },
267
+ children: [...ADDRESSES_REPEATER_CHILDREN],
268
+ },
269
+ },
270
+ },
271
+ ],
272
+ columns: [
273
+ { name: 'code', options: { width: '120px' } },
274
+ { name: 'title', options: { width: '250px' } },
275
+ { name: 'description', options: { width: '200px', visible: false } },
276
+ { name: 'image', options: { width: '80px' } },
277
+ { name: 'phones', options: { width: '200px' } },
278
+ { name: 'emails', options: { width: '200px' } },
279
+ { name: 'addresses', options: { width: '250px' } },
280
+ ],
281
+ relatedEntities: [
282
+ {
283
+ entity: `${"PersonCore"}.${"ContactAssignment"}`,
284
+ title: '@business-core:parties.entities.party.related-entities.contacts.title',
285
+ columns: [
286
+ { name: 'personId', title: '@general:terms.people.contact', options: { dataPath: 'person.fullName' } },
287
+ { name: 'roleId', options: { dataPath: 'role.title' } },
288
+ { name: 'person.phones', title: '@general:terms.communication.phones', options: { width: '180px' } },
289
+ { name: 'person.emails', title: '@general:terms.communication.emails', options: { width: '180px' } },
290
+ ],
291
+ conditions: contactAssignmentPartyConditions('id'),
292
+ actions: [...contactAssignmentDetailsCrudActionsForPartyContext('id')],
293
+ excludeProperties: ['partyId'],
294
+ layout: { type: 'page-list', position: 'after', order: 1 },
295
+ },
296
+ {
297
+ entity: `${"LocationManagement"}.${"LocationAssignment"}`,
298
+ title: '@business-core:parties.entities.party.related-entities.locations.title',
299
+ icon: 'fa-light fa-building-user',
300
+ columns: [
301
+ { name: 'locationId', title: '@general:terms.common.title', options: { dataPath: 'location.title' } },
302
+ { name: 'roleId', options: { dataPath: 'role.title' } },
303
+ { name: 'location.fullAddress', title: '@general:terms.geography.address' },
304
+ { name: 'personId', title: '@general:terms.people.contact', options: { dataPath: 'person.fullName' } },
305
+ { name: 'person.phones', title: '@general:terms.communication.phones', options: { width: '180px' } },
306
+ { name: 'notes', title: '@general:terms.common.notes' },
307
+ ],
308
+ conditions: locationAssignmentPartyConditions('id'),
309
+ actions: [...locationAssignmentDetailsCrudActionsForPartyContext('id')],
310
+ excludeProperties: ['ownerRef.id', 'ownerRef.type'],
311
+ layout: { type: 'page-list', position: 'after', order: 2 },
312
+ },
313
+ ],
314
+ interfaces: {
315
+ master: {
316
+ create: {
317
+ sections: [
318
+ { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
319
+ { id: 'image', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
320
+ { id: 'phones', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },
321
+ { id: 'emails', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },
322
+ { id: 'addresses', order: 3, layout: { positions: { lg: { colSpan: 12, colStart: 1 } } } },
323
+ ],
324
+ properties: [
325
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 0 } } } },
326
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 0 } } } },
327
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
328
+ { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 2 } } } },
329
+ { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },
330
+ { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },
331
+ { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },
332
+ ],
333
+ },
334
+ update: {
335
+ sections: [
336
+ { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
337
+ { id: 'image', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
338
+ { id: 'phones', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },
339
+ { id: 'emails', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },
340
+ { id: 'addresses', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
341
+ ],
342
+ properties: [
343
+ { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
344
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
345
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
346
+ { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
347
+ { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
348
+ { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
349
+ { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
350
+ ],
351
+ },
352
+ single: {
353
+ title: '{{ title }}',
354
+ sections: [
355
+ { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
356
+ { id: 'image', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
357
+ { id: 'phones', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },
358
+ { id: 'emails', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },
359
+ { id: 'addresses', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
360
+ ],
361
+ properties: [
362
+ { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
363
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
364
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
365
+ { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
366
+ { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
367
+ { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
368
+ { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
369
+ ],
370
+ actions: [...entityMasterRecordActions()],
371
+ },
372
+ list: {
373
+ actions: [...entityMasterCrudActions()],
374
+ views: [
375
+ createAllQueryView({
376
+ sorts: [{ name: 'title', dir: 'asc' }],
377
+ }),
378
+ ],
379
+ },
380
+ },
381
+ },
382
+ };
383
+ return entityDef;
384
+ }
385
+ //#endregion
386
+
387
+ /**
388
+ * Generated bundle index. Do not edit.
389
+ */
390
+
391
+ export { partyFactory };
392
+ //# sourceMappingURL=acorex-platform-module-business-core-client-contracts-entities-party.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-business-core-client-contracts-entities-party.mjs","sources":["../../../../libs/modules/business-core/contracts/src/root-config.ts","../../../../libs/modules/business-core/contracts/src/entities/party/party.entity.ts","../../../../libs/modules/business-core/contracts/src/acorex-platform-module-business-core-client-contracts-entities-party.ts"],"sourcesContent":["const config = {\n i18n: 'business-core',\n module: 'BusinessCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-building',\n },\n entities: {\n manufacturer: {\n name: 'Manufacturer',\n title: `@${config.i18n}:manufacturers.entities.manufacturer.title`,\n titlePlural: `@${config.i18n}:manufacturers.entities.manufacturer.plural`,\n icon: 'fa-light fa-industry',\n },\n industry: {\n name: 'Industry',\n title: `@${config.i18n}:industries.entities.industry.title`,\n titlePlural: `@${config.i18n}:industries.entities.industry.plural`,\n icon: 'fa-light fa-chart-line',\n },\n businessType: {\n name: 'BusinessType',\n title: `@${config.i18n}:business-types.entities.business-type.title`,\n titlePlural: `@${config.i18n}:business-types.entities.business-type.plural`,\n icon: 'fa-light fa-briefcase',\n },\n businessStatus: {\n name: 'BusinessStatus',\n title: `@${config.i18n}:business-statuses.entities.business-status.title`,\n titlePlural: `@${config.i18n}:business-statuses.entities.business-status.plural`,\n icon: 'fa-light fa-circle-check',\n },\n partyType: {\n name: 'PartyType',\n title: `@${config.i18n}:party-types.entities.party-type.title`,\n titlePlural: `@${config.i18n}:party-types.entities.party-type.plural`,\n icon: 'fa-light fa-tag',\n },\n partySegment: {\n name: 'PartySegment',\n title: `@${config.i18n}:party-segments.entities.party-segment.title`,\n titlePlural: `@${config.i18n}:party-segments.entities.party-segment.plural`,\n icon: 'fa-light fa-chart-pie',\n },\n lifecycleStage: {\n name: 'LifecycleStage',\n title: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.title`,\n titlePlural: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.plural`,\n icon: 'fa-light fa-timeline',\n },\n party: {\n name: 'Party',\n title: `@${config.i18n}:parties.entities.party.title`,\n titlePlural: `@${config.i18n}:parties.entities.party.plural`,\n icon: 'fa-light fa-building',\n },\n },\n} as const;\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n contactAssignmentDetailsCrudActionsForPartyContext,\n contactAssignmentPartyConditions,\n} from '@acorex-platform/module-person-core-client/contracts';\nimport {\n locationAssignmentDetailsCrudActionsForPartyContext,\n locationAssignmentPartyConditions,\n RootConfig as LocationRootConfig,\n} from '@acorex-platform/module-location-management-client/contracts';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Repeater Children ----\n\nconst PHONES_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Editors.ContactBox,\n mode: 'edit' as const,\n options: {\n type: 'phone',\n placeholder: '@business-core:parties.entities.party.fields.phone.placeholder',\n },\n },\n];\n\nconst EMAILS_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Editors.ContactBox,\n mode: 'edit' as const,\n options: {\n type: 'email',\n placeholder: '@business-core:parties.entities.party.fields.email.placeholder',\n },\n },\n];\n\nconst LOCATION_ROLE_ENTITY = `${LocationRootConfig.module.name}.${LocationRootConfig.entities.locationRole.name}`;\n\nconst ADDRESSES_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Editors.AddressBox,\n mode: 'edit' as const,\n options: {\n mode: 'expandable',\n hasLabel: true,\n labelEntity: LOCATION_ROLE_ENTITY,\n },\n },\n];\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function partyFactory(): Promise<AXPEntity> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.party.name,\n title: RootConfig.entities.party.title,\n icon: RootConfig.entities.party.icon,\n formats: {\n individual: RootConfig.entities.party.title,\n plural: RootConfig.entities.party.titlePlural,\n displayName: '@general:terms.common.profile',\n searchResult: {\n title: '{{ title }}',\n description: '@business-core:parties.entities.party.search-result-description',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'party-code' } },\n { name: 'compare' },\n { name: 'history' },\n { name: 'archive' },\n ],\n groups: [\n {\n id: 'profile',\n title: '@business-core:parties.entities.party.groups.profile',\n icon: 'fa-light fa-building',\n },\n {\n id: 'image',\n title: '@business-core:parties.entities.party.groups.image',\n icon: 'fa-light fa-image',\n },\n {\n id: 'phones',\n title: '@business-core:parties.entities.party.groups.phones',\n icon: 'fa-light fa-phone',\n },\n {\n id: 'emails',\n title: '@business-core:parties.entities.party.groups.emails',\n icon: 'fa-light fa-envelope',\n },\n {\n id: 'addresses',\n title: '@business-core:parties.entities.party.groups.addresses',\n icon: 'fa-light fa-location-dot',\n },\n ],\n properties: [\n {\n name: 'code',\n title: '@general:terms.common.code',\n groupId: 'profile',\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: '@business-core:parties.entities.party.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'profile',\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: '@business-core:parties.entities.party.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'profile',\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.LargeTextBox,\n options: {\n placeholder: '@business-core:parties.entities.party.fields.description.placeholder',\n rows: 3,\n },\n },\n },\n },\n {\n name: 'image',\n title: '@business-core:parties.entities.party.groups.image',\n groupId: 'image',\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.Advanced.Image,\n options: {\n type: 'profile-photo',\n },\n },\n },\n },\n {\n name: 'phones',\n title: '@business-core:parties.entities.party.groups.phones',\n groupId: 'phones',\n schema: {\n defaultValue: [],\n dataType: 'array',\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true },\n children: [...PHONES_REPEATER_CHILDREN],\n },\n },\n },\n {\n name: 'emails',\n title: '@business-core:parties.entities.party.groups.emails',\n groupId: 'emails',\n schema: {\n defaultValue: [],\n dataType: 'array',\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true },\n children: [...EMAILS_REPEATER_CHILDREN],\n },\n },\n },\n {\n name: 'addresses',\n title: '@business-core:parties.entities.party.groups.addresses',\n groupId: 'addresses',\n schema: {\n defaultValue: [],\n dataType: 'array',\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true },\n children: [...ADDRESSES_REPEATER_CHILDREN],\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px' } },\n { name: 'title', options: { width: '250px' } },\n { name: 'description', options: { width: '200px', visible: false } },\n { name: 'image', options: { width: '80px' } },\n { name: 'phones', options: { width: '200px' } },\n { name: 'emails', options: { width: '200px' } },\n { name: 'addresses', options: { width: '250px' } },\n ],\n relatedEntities: [\n {\n entity: `${\"PersonCore\"}.${\"ContactAssignment\"}`,\n title: '@business-core:parties.entities.party.related-entities.contacts.title',\n columns: [\n { name: 'personId', title: '@general:terms.people.contact', options: { dataPath: 'person.fullName' } },\n { name: 'roleId', options: { dataPath: 'role.title' } },\n { name: 'person.phones', title: '@general:terms.communication.phones', options: { width: '180px' } },\n { name: 'person.emails', title: '@general:terms.communication.emails', options: { width: '180px' } },\n ],\n conditions: contactAssignmentPartyConditions('id'),\n actions: [...contactAssignmentDetailsCrudActionsForPartyContext('id')],\n excludeProperties: ['partyId'],\n layout: { type: 'page-list', position: 'after', order: 1 },\n },\n {\n entity: `${\"LocationManagement\"}.${\"LocationAssignment\"}`,\n title: '@business-core:parties.entities.party.related-entities.locations.title',\n icon: 'fa-light fa-building-user',\n columns: [\n { name: 'locationId', title: '@general:terms.common.title', options: { dataPath: 'location.title' } },\n { name: 'roleId', options: { dataPath: 'role.title' } },\n { name: 'location.fullAddress', title: '@general:terms.geography.address' },\n { name: 'personId', title: '@general:terms.people.contact', options: { dataPath: 'person.fullName' } },\n { name: 'person.phones', title: '@general:terms.communication.phones', options: { width: '180px' } },\n { name: 'notes', title: '@general:terms.common.notes' },\n ],\n conditions: locationAssignmentPartyConditions('id'),\n actions: [...locationAssignmentDetailsCrudActionsForPartyContext('id')],\n excludeProperties: ['ownerRef.id', 'ownerRef.type'],\n layout: { type: 'page-list', position: 'after', order: 2 },\n },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'image', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'phones', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },\n { id: 'emails', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },\n { id: 'addresses', order: 3, layout: { positions: { lg: { colSpan: 12, colStart: 1 } } } },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 0 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 0 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'image', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'phones', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },\n { id: 'emails', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },\n { id: 'addresses', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'image', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'phones', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },\n { id: 'emails', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },\n { id: 'addresses', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n","/**\n *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;AACpB;AAEA;;ACpVA;;AAEG;;;;"}
@@ -0,0 +1,92 @@
1
+ const config = {
2
+ i18n: 'business-core',
3
+ module: 'BusinessCore',
4
+ };
5
+ const RootConfig = {
6
+ config,
7
+ module: {
8
+ name: config.module,
9
+ title: `@${config.i18n}:module.title`,
10
+ icon: 'fa-light fa-building',
11
+ },
12
+ entities: {
13
+ manufacturer: {
14
+ name: 'Manufacturer',
15
+ title: `@${config.i18n}:manufacturers.entities.manufacturer.title`,
16
+ titlePlural: `@${config.i18n}:manufacturers.entities.manufacturer.plural`,
17
+ icon: 'fa-light fa-industry',
18
+ },
19
+ industry: {
20
+ name: 'Industry',
21
+ title: `@${config.i18n}:industries.entities.industry.title`,
22
+ titlePlural: `@${config.i18n}:industries.entities.industry.plural`,
23
+ icon: 'fa-light fa-chart-line',
24
+ },
25
+ businessType: {
26
+ name: 'BusinessType',
27
+ title: `@${config.i18n}:business-types.entities.business-type.title`,
28
+ titlePlural: `@${config.i18n}:business-types.entities.business-type.plural`,
29
+ icon: 'fa-light fa-briefcase',
30
+ },
31
+ businessStatus: {
32
+ name: 'BusinessStatus',
33
+ title: `@${config.i18n}:business-statuses.entities.business-status.title`,
34
+ titlePlural: `@${config.i18n}:business-statuses.entities.business-status.plural`,
35
+ icon: 'fa-light fa-circle-check',
36
+ },
37
+ partyType: {
38
+ name: 'PartyType',
39
+ title: `@${config.i18n}:party-types.entities.party-type.title`,
40
+ titlePlural: `@${config.i18n}:party-types.entities.party-type.plural`,
41
+ icon: 'fa-light fa-tag',
42
+ },
43
+ partySegment: {
44
+ name: 'PartySegment',
45
+ title: `@${config.i18n}:party-segments.entities.party-segment.title`,
46
+ titlePlural: `@${config.i18n}:party-segments.entities.party-segment.plural`,
47
+ icon: 'fa-light fa-chart-pie',
48
+ },
49
+ lifecycleStage: {
50
+ name: 'LifecycleStage',
51
+ title: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.title`,
52
+ titlePlural: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.plural`,
53
+ icon: 'fa-light fa-timeline',
54
+ },
55
+ party: {
56
+ name: 'Party',
57
+ title: `@${config.i18n}:parties.entities.party.title`,
58
+ titlePlural: `@${config.i18n}:parties.entities.party.plural`,
59
+ icon: 'fa-light fa-building',
60
+ },
61
+ },
62
+ };
63
+
64
+ //#region ----- Imports -----
65
+ //#endregion
66
+ //#region ----- Local entity catalog -----
67
+ /**
68
+ * Lazy per-entity layout factories. Do not re-export from the contracts barrel
69
+ * so RootConfig imports stay light. Server seed and client `local-entities`
70
+ * consume this catalog explicitly.
71
+ */
72
+ const businessCoreLocalEntityCatalog = {
73
+ moduleName: RootConfig.module.name,
74
+ loaders: {
75
+ [RootConfig.entities.businessStatus.name]: () => import('./acorex-platform-module-business-core-client-contracts-entity-catalog-business-status.entity-DsqWCkLU.mjs').then((m) => m.businessStatusFactory()),
76
+ [RootConfig.entities.businessType.name]: () => import('./acorex-platform-module-business-core-client-contracts-entity-catalog-business-type.entity-wK3D1WEc.mjs').then((m) => m.businessTypeFactory()),
77
+ [RootConfig.entities.industry.name]: () => import('./acorex-platform-module-business-core-client-contracts-entity-catalog-industry.entity-DBEKleao.mjs').then((m) => m.industryFactory()),
78
+ [RootConfig.entities.lifecycleStage.name]: () => import('./acorex-platform-module-business-core-client-contracts-entity-catalog-lifecycle-stage.entity-BWPn1XnS.mjs').then((m) => m.lifecycleStageFactory()),
79
+ [RootConfig.entities.manufacturer.name]: () => import('./acorex-platform-module-business-core-client-contracts-entity-catalog-manufacturer.entity-CAd01aKL.mjs').then((m) => m.manufacturerFactory()),
80
+ [RootConfig.entities.party.name]: () => import('./acorex-platform-module-business-core-client-contracts-entity-catalog-party.entity-8vs-i3_r.mjs').then((m) => m.partyFactory()),
81
+ [RootConfig.entities.partySegment.name]: () => import('./acorex-platform-module-business-core-client-contracts-entity-catalog-party-segment.entity-WNUL6gHc.mjs').then((m) => m.partySegmentFactory()),
82
+ [RootConfig.entities.partyType.name]: () => import('./acorex-platform-module-business-core-client-contracts-entity-catalog-party-type.entity-9PmLR0SV.mjs').then((m) => m.partyTypeFactory()),
83
+ },
84
+ };
85
+ //#endregion
86
+
87
+ /**
88
+ * Generated bundle index. Do not edit.
89
+ */
90
+
91
+ export { RootConfig as R, businessCoreLocalEntityCatalog as b };
92
+ //# sourceMappingURL=acorex-platform-module-business-core-client-contracts-entity-catalog-acorex-platform-module-business-core-client-contracts-entity-catalog-CgsGPgV1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-business-core-client-contracts-entity-catalog-acorex-platform-module-business-core-client-contracts-entity-catalog-CgsGPgV1.mjs","sources":["../../../../libs/modules/business-core/contracts/src/root-config.ts","../../../../libs/modules/business-core/contracts/src/entity-catalog.ts","../../../../libs/modules/business-core/contracts/src/acorex-platform-module-business-core-client-contracts-entity-catalog.ts"],"sourcesContent":["const config = {\n i18n: 'business-core',\n module: 'BusinessCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-building',\n },\n entities: {\n manufacturer: {\n name: 'Manufacturer',\n title: `@${config.i18n}:manufacturers.entities.manufacturer.title`,\n titlePlural: `@${config.i18n}:manufacturers.entities.manufacturer.plural`,\n icon: 'fa-light fa-industry',\n },\n industry: {\n name: 'Industry',\n title: `@${config.i18n}:industries.entities.industry.title`,\n titlePlural: `@${config.i18n}:industries.entities.industry.plural`,\n icon: 'fa-light fa-chart-line',\n },\n businessType: {\n name: 'BusinessType',\n title: `@${config.i18n}:business-types.entities.business-type.title`,\n titlePlural: `@${config.i18n}:business-types.entities.business-type.plural`,\n icon: 'fa-light fa-briefcase',\n },\n businessStatus: {\n name: 'BusinessStatus',\n title: `@${config.i18n}:business-statuses.entities.business-status.title`,\n titlePlural: `@${config.i18n}:business-statuses.entities.business-status.plural`,\n icon: 'fa-light fa-circle-check',\n },\n partyType: {\n name: 'PartyType',\n title: `@${config.i18n}:party-types.entities.party-type.title`,\n titlePlural: `@${config.i18n}:party-types.entities.party-type.plural`,\n icon: 'fa-light fa-tag',\n },\n partySegment: {\n name: 'PartySegment',\n title: `@${config.i18n}:party-segments.entities.party-segment.title`,\n titlePlural: `@${config.i18n}:party-segments.entities.party-segment.plural`,\n icon: 'fa-light fa-chart-pie',\n },\n lifecycleStage: {\n name: 'LifecycleStage',\n title: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.title`,\n titlePlural: `@${config.i18n}:lifecycle-stages.entities.lifecycle-stage.plural`,\n icon: 'fa-light fa-timeline',\n },\n party: {\n name: 'Party',\n title: `@${config.i18n}:parties.entities.party.title`,\n titlePlural: `@${config.i18n}:parties.entities.party.plural`,\n icon: 'fa-light fa-building',\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 businessCoreLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.businessStatus.name]: () =>\n import('./entities/business-status/business-status.entity.js').then((m) => m.businessStatusFactory()),\n [RootConfig.entities.businessType.name]: () =>\n import('./entities/business-type/business-type.entity.js').then((m) => m.businessTypeFactory()),\n [RootConfig.entities.industry.name]: () =>\n import('./entities/industry/industry.entity.js').then((m) => m.industryFactory()),\n [RootConfig.entities.lifecycleStage.name]: () =>\n import('./entities/lifecycle-stage/lifecycle-stage.entity.js').then((m) => m.lifecycleStageFactory()),\n [RootConfig.entities.manufacturer.name]: () =>\n import('./entities/manufacturer/manufacturer.entity.js').then((m) => m.manufacturerFactory()),\n [RootConfig.entities.party.name]: () =>\n import('./entities/party/party.entity.js').then((m) => m.partyFactory()),\n [RootConfig.entities.partySegment.name]: () =>\n import('./entities/party-segment/party-segment.entity.js').then((m) => m.partySegmentFactory()),\n [RootConfig.entities.partyType.name]: () =>\n import('./entities/party-type/party-type.entity.js').then((m) => m.partyTypeFactory()),\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;AACX,IAAA,IAAI,EAAE,eAAe;AACrB,IAAA,MAAM,EAAE,cAAc;CACzB;AAEM,MAAM,UAAU,GAAG;IACtB,MAAM;AACN,IAAA,MAAM,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,sBAAsB;AAC/B,KAAA;AACD,IAAA,QAAQ,EAAE;AACN,QAAA,YAAY,EAAE;AACV,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,0CAAA,CAA4C;AAClE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,2CAAA,CAA6C;AACzE,YAAA,IAAI,EAAE,sBAAsB;AAC/B,SAAA;AACD,QAAA,QAAQ,EAAE;AACN,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,mCAAA,CAAqC;AAC3D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,oCAAA,CAAsC;AAClE,YAAA,IAAI,EAAE,wBAAwB;AACjC,SAAA;AACD,QAAA,YAAY,EAAE;AACV,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,4CAAA,CAA8C;AACpE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAA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