@acorex-platform/module-business-core-client 0.0.30 → 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,326 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { contactAssignmentDetailsCrudActionsForPartyContext, contactAssignmentPartyConditions } from '@acorex-platform/module-person-core-client/contracts';
3
+ import { RootConfig, locationAssignmentDetailsCrudActionsForPartyContext, locationAssignmentPartyConditions } from '@acorex-platform/module-location-management-client/contracts';
4
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
5
+ import { R as RootConfig$1 } from './acorex-platform-module-business-core-client-contracts-entity-catalog-acorex-platform-module-business-core-client-contracts-entity-catalog-CgsGPgV1.mjs';
6
+
7
+ //#endregion
8
+ //#region ---- Repeater Children ----
9
+ const PHONES_REPEATER_CHILDREN = [
10
+ {
11
+ type: AXPWidgetsList.Editors.ContactBox,
12
+ mode: 'edit',
13
+ options: {
14
+ type: 'phone',
15
+ placeholder: '@business-core:parties.entities.party.fields.phone.placeholder',
16
+ },
17
+ },
18
+ ];
19
+ const EMAILS_REPEATER_CHILDREN = [
20
+ {
21
+ type: AXPWidgetsList.Editors.ContactBox,
22
+ mode: 'edit',
23
+ options: {
24
+ type: 'email',
25
+ placeholder: '@business-core:parties.entities.party.fields.email.placeholder',
26
+ },
27
+ },
28
+ ];
29
+ const LOCATION_ROLE_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.locationRole.name}`;
30
+ const ADDRESSES_REPEATER_CHILDREN = [
31
+ {
32
+ type: AXPWidgetsList.Editors.AddressBox,
33
+ mode: 'edit',
34
+ options: {
35
+ mode: 'expandable',
36
+ hasLabel: true,
37
+ labelEntity: LOCATION_ROLE_ENTITY,
38
+ },
39
+ },
40
+ ];
41
+ //#endregion
42
+ //#region ---- Entity Factory ----
43
+ async function partyFactory() {
44
+ const entityDef = {
45
+ module: RootConfig$1.module.name,
46
+ name: RootConfig$1.entities.party.name,
47
+ title: RootConfig$1.entities.party.title,
48
+ icon: RootConfig$1.entities.party.icon,
49
+ formats: {
50
+ individual: RootConfig$1.entities.party.title,
51
+ plural: RootConfig$1.entities.party.titlePlural,
52
+ displayName: '@general:terms.common.profile',
53
+ searchResult: {
54
+ title: '{{ title }}',
55
+ description: '@business-core:parties.entities.party.search-result-description',
56
+ },
57
+ },
58
+ plugins: [
59
+ { name: 'identifier', options: { field: 'code', rule: 'party-code' } },
60
+ { name: 'compare' },
61
+ { name: 'history' },
62
+ { name: 'archive' },
63
+ ],
64
+ groups: [
65
+ {
66
+ id: 'profile',
67
+ title: '@business-core:parties.entities.party.groups.profile',
68
+ icon: 'fa-light fa-building',
69
+ },
70
+ {
71
+ id: 'image',
72
+ title: '@business-core:parties.entities.party.groups.image',
73
+ icon: 'fa-light fa-image',
74
+ },
75
+ {
76
+ id: 'phones',
77
+ title: '@business-core:parties.entities.party.groups.phones',
78
+ icon: 'fa-light fa-phone',
79
+ },
80
+ {
81
+ id: 'emails',
82
+ title: '@business-core:parties.entities.party.groups.emails',
83
+ icon: 'fa-light fa-envelope',
84
+ },
85
+ {
86
+ id: 'addresses',
87
+ title: '@business-core:parties.entities.party.groups.addresses',
88
+ icon: 'fa-light fa-location-dot',
89
+ },
90
+ ],
91
+ properties: [
92
+ {
93
+ name: 'code',
94
+ title: '@general:terms.common.code',
95
+ groupId: 'profile',
96
+ options: {
97
+ sort: { enabled: true },
98
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
99
+ },
100
+ schema: {
101
+ dataType: 'string',
102
+ interface: {
103
+ type: AXPWidgetsList.Editors.TextBox,
104
+ options: {
105
+ placeholder: '@business-core:parties.entities.party.fields.code.placeholder',
106
+ },
107
+ },
108
+ },
109
+ validations: [{ rule: 'required' }],
110
+ },
111
+ {
112
+ name: 'title',
113
+ title: '@general:terms.common.title',
114
+ groupId: 'profile',
115
+ options: {
116
+ sort: { enabled: true },
117
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
118
+ },
119
+ schema: {
120
+ dataType: 'string',
121
+ interface: {
122
+ type: AXPWidgetsList.Editors.TextBox,
123
+ options: {
124
+ placeholder: '@business-core:parties.entities.party.fields.title.placeholder',
125
+ },
126
+ },
127
+ },
128
+ validations: [{ rule: 'required' }],
129
+ },
130
+ {
131
+ name: 'description',
132
+ title: '@general:terms.common.description',
133
+ groupId: 'profile',
134
+ options: {
135
+ sort: { enabled: true },
136
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
137
+ },
138
+ schema: {
139
+ dataType: 'string',
140
+ interface: {
141
+ type: AXPWidgetsList.Editors.LargeTextBox,
142
+ options: {
143
+ placeholder: '@business-core:parties.entities.party.fields.description.placeholder',
144
+ rows: 3,
145
+ },
146
+ },
147
+ },
148
+ },
149
+ {
150
+ name: 'image',
151
+ title: '@business-core:parties.entities.party.groups.image',
152
+ groupId: 'image',
153
+ options: {
154
+ sort: { enabled: true },
155
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
156
+ },
157
+ schema: {
158
+ dataType: 'string',
159
+ interface: {
160
+ type: AXPWidgetsList.Advanced.Image,
161
+ options: {
162
+ type: 'profile-photo',
163
+ },
164
+ },
165
+ },
166
+ },
167
+ {
168
+ name: 'phones',
169
+ title: '@business-core:parties.entities.party.groups.phones',
170
+ groupId: 'phones',
171
+ schema: {
172
+ defaultValue: [],
173
+ dataType: 'array',
174
+ interface: {
175
+ type: AXPWidgetsList.Layouts.RepeaterLayout,
176
+ options: { hasControls: true },
177
+ children: [...PHONES_REPEATER_CHILDREN],
178
+ },
179
+ },
180
+ },
181
+ {
182
+ name: 'emails',
183
+ title: '@business-core:parties.entities.party.groups.emails',
184
+ groupId: 'emails',
185
+ schema: {
186
+ defaultValue: [],
187
+ dataType: 'array',
188
+ interface: {
189
+ type: AXPWidgetsList.Layouts.RepeaterLayout,
190
+ options: { hasControls: true },
191
+ children: [...EMAILS_REPEATER_CHILDREN],
192
+ },
193
+ },
194
+ },
195
+ {
196
+ name: 'addresses',
197
+ title: '@business-core:parties.entities.party.groups.addresses',
198
+ groupId: 'addresses',
199
+ schema: {
200
+ defaultValue: [],
201
+ dataType: 'array',
202
+ interface: {
203
+ type: AXPWidgetsList.Layouts.RepeaterLayout,
204
+ options: { hasControls: true },
205
+ children: [...ADDRESSES_REPEATER_CHILDREN],
206
+ },
207
+ },
208
+ },
209
+ ],
210
+ columns: [
211
+ { name: 'code', options: { width: '120px' } },
212
+ { name: 'title', options: { width: '250px' } },
213
+ { name: 'description', options: { width: '200px', visible: false } },
214
+ { name: 'image', options: { width: '80px' } },
215
+ { name: 'phones', options: { width: '200px' } },
216
+ { name: 'emails', options: { width: '200px' } },
217
+ { name: 'addresses', options: { width: '250px' } },
218
+ ],
219
+ relatedEntities: [
220
+ {
221
+ entity: `${"PersonCore"}.${"ContactAssignment"}`,
222
+ title: '@business-core:parties.entities.party.related-entities.contacts.title',
223
+ columns: [
224
+ { name: 'personId', title: '@general:terms.people.contact', options: { dataPath: 'person.fullName' } },
225
+ { name: 'roleId', options: { dataPath: 'role.title' } },
226
+ { name: 'person.phones', title: '@general:terms.communication.phones', options: { width: '180px' } },
227
+ { name: 'person.emails', title: '@general:terms.communication.emails', options: { width: '180px' } },
228
+ ],
229
+ conditions: contactAssignmentPartyConditions('id'),
230
+ actions: [...contactAssignmentDetailsCrudActionsForPartyContext('id')],
231
+ excludeProperties: ['partyId'],
232
+ layout: { type: 'page-list', position: 'after', order: 1 },
233
+ },
234
+ {
235
+ entity: `${"LocationManagement"}.${"LocationAssignment"}`,
236
+ title: '@business-core:parties.entities.party.related-entities.locations.title',
237
+ icon: 'fa-light fa-building-user',
238
+ columns: [
239
+ { name: 'locationId', title: '@general:terms.common.title', options: { dataPath: 'location.title' } },
240
+ { name: 'roleId', options: { dataPath: 'role.title' } },
241
+ { name: 'location.fullAddress', title: '@general:terms.geography.address' },
242
+ { name: 'personId', title: '@general:terms.people.contact', options: { dataPath: 'person.fullName' } },
243
+ { name: 'person.phones', title: '@general:terms.communication.phones', options: { width: '180px' } },
244
+ { name: 'notes', title: '@general:terms.common.notes' },
245
+ ],
246
+ conditions: locationAssignmentPartyConditions('id'),
247
+ actions: [...locationAssignmentDetailsCrudActionsForPartyContext('id')],
248
+ excludeProperties: ['ownerRef.id', 'ownerRef.type'],
249
+ layout: { type: 'page-list', position: 'after', order: 2 },
250
+ },
251
+ ],
252
+ interfaces: {
253
+ master: {
254
+ create: {
255
+ sections: [
256
+ { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
257
+ { id: 'image', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
258
+ { id: 'phones', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },
259
+ { id: 'emails', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },
260
+ { id: 'addresses', order: 3, layout: { positions: { lg: { colSpan: 12, colStart: 1 } } } },
261
+ ],
262
+ properties: [
263
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 0 } } } },
264
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 0 } } } },
265
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
266
+ { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 2 } } } },
267
+ { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },
268
+ { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },
269
+ { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },
270
+ ],
271
+ },
272
+ update: {
273
+ sections: [
274
+ { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
275
+ { id: 'image', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
276
+ { id: 'phones', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },
277
+ { id: 'emails', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },
278
+ { id: 'addresses', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
279
+ ],
280
+ properties: [
281
+ { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
282
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
283
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
284
+ { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
285
+ { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
286
+ { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
287
+ { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
288
+ ],
289
+ },
290
+ single: {
291
+ title: '{{ title }}',
292
+ sections: [
293
+ { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
294
+ { id: 'image', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
295
+ { id: 'phones', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },
296
+ { id: 'emails', order: 2, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },
297
+ { id: 'addresses', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
298
+ ],
299
+ properties: [
300
+ { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
301
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
302
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
303
+ { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
304
+ { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
305
+ { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
306
+ { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
307
+ ],
308
+ actions: [...entityMasterRecordActions()],
309
+ },
310
+ list: {
311
+ actions: [...entityMasterCrudActions()],
312
+ views: [
313
+ createAllQueryView({
314
+ sorts: [{ name: 'title', dir: 'asc' }],
315
+ }),
316
+ ],
317
+ },
318
+ },
319
+ },
320
+ };
321
+ return entityDef;
322
+ }
323
+ //#endregion
324
+
325
+ export { partyFactory };
326
+ //# sourceMappingURL=acorex-platform-module-business-core-client-contracts-entity-catalog-party.entity-8vs-i3_r.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-business-core-client-contracts-entity-catalog-party.entity-8vs-i3_r.mjs","sources":["../../../../libs/modules/business-core/contracts/src/entities/party/party.entity.ts"],"sourcesContent":["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"],"names":["LocationRootConfig","RootConfig"],"mappings":";;;;;;AAcA;AAEA;AAEA,MAAM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LocalEntityCatalog } from './acorex-platform-module-business-core-client-contracts-entity-catalog-acorex-platform-module-business-core-client-contracts-entity-catalog-CgsGPgV1.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-business-core-client-contracts-entity-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-business-core-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
1
+ import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
2
+ import { RootConfig } from '@acorex-platform/module-business-core-client/contracts';
3
+ export { businessCoreLocalEntityCatalog } from '@acorex-platform/module-business-core-client/contracts/entity-catalog';
4
+
5
+ //#region ----- Imports -----
6
+ //#endregion
7
+ //#region ----- Provide local entities -----
8
+ /**
9
+ * Registers business-core layouts on the client from packaged factories.
10
+ * Each `import()` targets a secondary entry so unused entities stay out of the
11
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
12
+ * `Domain:GetEntityLayout`.
13
+ */
14
+ function provideBusinessCoreLocalEntities() {
15
+ return provideLocalEntityCatalog({
16
+ moduleName: RootConfig.module.name,
17
+ loaders: {
18
+ [RootConfig.entities.businessStatus.name]: () => import('@acorex-platform/module-business-core-client/contracts/entities/business-status').then((m) => m.businessStatusFactory()),
19
+ [RootConfig.entities.businessType.name]: () => import('@acorex-platform/module-business-core-client/contracts/entities/business-type').then((m) => m.businessTypeFactory()),
20
+ [RootConfig.entities.industry.name]: () => import('@acorex-platform/module-business-core-client/contracts/entities/industry').then((m) => m.industryFactory()),
21
+ [RootConfig.entities.lifecycleStage.name]: () => import('@acorex-platform/module-business-core-client/contracts/entities/lifecycle-stage').then((m) => m.lifecycleStageFactory()),
22
+ [RootConfig.entities.manufacturer.name]: () => import('@acorex-platform/module-business-core-client/contracts/entities/manufacturer').then((m) => m.manufacturerFactory()),
23
+ [RootConfig.entities.party.name]: () => import('@acorex-platform/module-business-core-client/contracts/entities/party').then((m) => m.partyFactory()),
24
+ [RootConfig.entities.partySegment.name]: () => import('@acorex-platform/module-business-core-client/contracts/entities/party-segment').then((m) => m.partySegmentFactory()),
25
+ [RootConfig.entities.partyType.name]: () => import('@acorex-platform/module-business-core-client/contracts/entities/party-type').then((m) => m.partyTypeFactory()),
26
+ },
27
+ });
28
+ }
29
+ //#endregion
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { provideBusinessCoreLocalEntities };
36
+ //# sourceMappingURL=acorex-platform-module-business-core-client-local-entities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-business-core-client-local-entities.mjs","sources":["../../../../libs/modules/business-core/client/src/lib/provide-local-entities.ts","../../../../libs/modules/business-core/client/src/lib/acorex-platform-module-business-core-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-business-core-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers business-core layouts on the client from packaged factories.\n * Each `import()` targets a secondary entry so unused entities stay out of the\n * bundle. Do not add this to the demo app; demo continues to load layouts via\n * `Domain:GetEntityLayout`.\n */\nexport function provideBusinessCoreLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.businessStatus.name]: () =>\n import('@acorex-platform/module-business-core-client/contracts/entities/business-status').then((m) => m.businessStatusFactory()),\n [RootConfig.entities.businessType.name]: () =>\n import('@acorex-platform/module-business-core-client/contracts/entities/business-type').then((m) => m.businessTypeFactory()),\n [RootConfig.entities.industry.name]: () =>\n import('@acorex-platform/module-business-core-client/contracts/entities/industry').then((m) => m.industryFactory()),\n [RootConfig.entities.lifecycleStage.name]: () =>\n import('@acorex-platform/module-business-core-client/contracts/entities/lifecycle-stage').then((m) => m.lifecycleStageFactory()),\n [RootConfig.entities.manufacturer.name]: () =>\n import('@acorex-platform/module-business-core-client/contracts/entities/manufacturer').then((m) => m.manufacturerFactory()),\n [RootConfig.entities.party.name]: () =>\n import('@acorex-platform/module-business-core-client/contracts/entities/party').then((m) => m.partyFactory()),\n [RootConfig.entities.partySegment.name]: () =>\n import('@acorex-platform/module-business-core-client/contracts/entities/party-segment').then((m) => m.partySegmentFactory()),\n [RootConfig.entities.partyType.name]: () =>\n import('@acorex-platform/module-business-core-client/contracts/entities/party-type').then((m) => m.partyTypeFactory()),\n },\n });\n}\n\nexport { businessCoreLocalEntityCatalog } from '@acorex-platform/module-business-core-client/contracts/entity-catalog';\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './provide-local-entities';\n"],"names":[],"mappings":";;;;AAAA;AAKA;AAEA;AAEA;;;;;AAKG;SACa,gCAAgC,GAAA;AAC9C,IAAA,OAAO,yBAAyB,CAAC;AAC/B,QAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,QAAA,OAAO,EAAE;AACP,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,GAAG,MACzC,OAAO,iFAAiF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAqB,EAAE,CAAC;AAClI,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,GAAG,MACvC,OAAO,+EAA+E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,mBAAmB,EAAE,CAAC;AAC9H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,MACnC,OAAO,0EAA0E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC;AACrH,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,GAAG,MACzC,OAAO,iFAAiF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAqB,EAAE,CAAC;AAClI,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,GAAG,MACvC,OAAO,8EAA8E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,mBAAmB,EAAE,CAAC;AAC7H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,GAAG,MAChC,OAAO,uEAAuE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,EAAE,CAAC;AAC/G,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,GAAG,MACvC,OAAO,+EAA+E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,mBAAmB,EAAE,CAAC;AAC9H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,MACpC,OAAO,4EAA4E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,gBAAgB,EAAE,CAAC;AACzH,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;ACzCA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "@acorex-platform/module-business-core-client",
3
- "version": "0.0.30",
3
+ "version": "0.0.33",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
+ "@acorex-platform/module-location-management-client": "0.0.33",
7
+ "@acorex-platform/module-person-core-client": "0.0.33",
6
8
  "@angular/common": "^21.0.0 || ^22.0.0",
7
9
  "@angular/core": "^21.0.0 || ^22.0.0"
8
10
  },
@@ -22,6 +24,46 @@
22
24
  "./contracts": {
23
25
  "types": "./types/acorex-platform-module-business-core-client-contracts.d.ts",
24
26
  "default": "./fesm2022/acorex-platform-module-business-core-client-contracts.mjs"
27
+ },
28
+ "./contracts/entities/business-status": {
29
+ "types": "./types/acorex-platform-module-business-core-client-contracts-entities-business-status.d.ts",
30
+ "default": "./fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-status.mjs"
31
+ },
32
+ "./contracts/entities/business-type": {
33
+ "types": "./types/acorex-platform-module-business-core-client-contracts-entities-business-type.d.ts",
34
+ "default": "./fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-type.mjs"
35
+ },
36
+ "./contracts/entities/industry": {
37
+ "types": "./types/acorex-platform-module-business-core-client-contracts-entities-industry.d.ts",
38
+ "default": "./fesm2022/acorex-platform-module-business-core-client-contracts-entities-industry.mjs"
39
+ },
40
+ "./contracts/entities/lifecycle-stage": {
41
+ "types": "./types/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.d.ts",
42
+ "default": "./fesm2022/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.mjs"
43
+ },
44
+ "./contracts/entities/manufacturer": {
45
+ "types": "./types/acorex-platform-module-business-core-client-contracts-entities-manufacturer.d.ts",
46
+ "default": "./fesm2022/acorex-platform-module-business-core-client-contracts-entities-manufacturer.mjs"
47
+ },
48
+ "./contracts/entities/party": {
49
+ "types": "./types/acorex-platform-module-business-core-client-contracts-entities-party.d.ts",
50
+ "default": "./fesm2022/acorex-platform-module-business-core-client-contracts-entities-party.mjs"
51
+ },
52
+ "./contracts/entities/party-segment": {
53
+ "types": "./types/acorex-platform-module-business-core-client-contracts-entities-party-segment.d.ts",
54
+ "default": "./fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-segment.mjs"
55
+ },
56
+ "./contracts/entities/party-type": {
57
+ "types": "./types/acorex-platform-module-business-core-client-contracts-entities-party-type.d.ts",
58
+ "default": "./fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-type.mjs"
59
+ },
60
+ "./contracts/entity-catalog": {
61
+ "types": "./types/acorex-platform-module-business-core-client-contracts-entity-catalog.d.ts",
62
+ "default": "./fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog.mjs"
63
+ },
64
+ "./local-entities": {
65
+ "types": "./types/acorex-platform-module-business-core-client-local-entities.d.ts",
66
+ "default": "./fesm2022/acorex-platform-module-business-core-client-local-entities.mjs"
25
67
  }
26
68
  },
27
69
  "type": "module"
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function businessStatusFactory(): Promise<AXPEntity>;
4
+
5
+ export { businessStatusFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function businessTypeFactory(): Promise<AXPEntity>;
4
+
5
+ export { businessTypeFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function industryFactory(): Promise<AXPEntity>;
4
+
5
+ export { industryFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function lifecycleStageFactory(): Promise<AXPEntity>;
4
+
5
+ export { lifecycleStageFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function manufacturerFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { manufacturerFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function partySegmentFactory(): Promise<AXPEntity>;
4
+
5
+ export { partySegmentFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function partyTypeFactory(): Promise<AXPEntity>;
4
+
5
+ export { partyTypeFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function partyFactory(): Promise<AXPEntity>;
4
+
5
+ export { partyFactory };
@@ -0,0 +1,10 @@
1
+ import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
2
+
3
+ /**
4
+ * Lazy per-entity layout factories. Do not re-export from the contracts barrel
5
+ * so RootConfig imports stay light. Server seed and client `local-entities`
6
+ * consume this catalog explicitly.
7
+ */
8
+ declare const businessCoreLocalEntityCatalog: AXPLocalEntityCatalog;
9
+
10
+ export { businessCoreLocalEntityCatalog };
@@ -0,0 +1,12 @@
1
+ import * as _angular_core from '@angular/core';
2
+ export { businessCoreLocalEntityCatalog } from '@acorex-platform/module-business-core-client/contracts/entity-catalog';
3
+
4
+ /**
5
+ * Registers business-core layouts on the client from packaged factories.
6
+ * Each `import()` targets a secondary entry so unused entities stay out of the
7
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
8
+ * `Domain:GetEntityLayout`.
9
+ */
10
+ declare function provideBusinessCoreLocalEntities(): _angular_core.EnvironmentProviders;
11
+
12
+ export { provideBusinessCoreLocalEntities };