@acorex-platform/module-business-core-client 0.0.32 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-status.mjs +203 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-status.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-type.mjs +203 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-business-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-industry.mjs +203 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-industry.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.mjs +170 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-manufacturer.mjs +350 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-manufacturer.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-segment.mjs +184 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-segment.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-type.mjs +197 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party.mjs +392 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entities-party.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-acorex-platform-module-business-core-client-contracts-entity-catalog-CgsGPgV1.mjs +92 -0
- 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
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-status.entity-DsqWCkLU.mjs +137 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-status.entity-DsqWCkLU.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-type.entity-wK3D1WEc.mjs +137 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-business-type.entity-wK3D1WEc.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-industry.entity-DBEKleao.mjs +137 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-industry.entity-DBEKleao.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-lifecycle-stage.entity-BWPn1XnS.mjs +104 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-lifecycle-stage.entity-BWPn1XnS.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-manufacturer.entity-CAd01aKL.mjs +284 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-manufacturer.entity-CAd01aKL.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-segment.entity-WNUL6gHc.mjs +118 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-segment.entity-WNUL6gHc.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-type.entity-9PmLR0SV.mjs +131 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party-type.entity-9PmLR0SV.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party.entity-8vs-i3_r.mjs +326 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog-party.entity-8vs-i3_r.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-business-core-client-local-entities.mjs +36 -0
- package/fesm2022/acorex-platform-module-business-core-client-local-entities.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-business-core-client.mjs.map +1 -1
- package/package.json +43 -1
- package/types/acorex-platform-module-business-core-client-contracts-entities-business-status.d.ts +5 -0
- package/types/acorex-platform-module-business-core-client-contracts-entities-business-type.d.ts +5 -0
- package/types/acorex-platform-module-business-core-client-contracts-entities-industry.d.ts +5 -0
- package/types/acorex-platform-module-business-core-client-contracts-entities-lifecycle-stage.d.ts +5 -0
- package/types/acorex-platform-module-business-core-client-contracts-entities-manufacturer.d.ts +5 -0
- package/types/acorex-platform-module-business-core-client-contracts-entities-party-segment.d.ts +5 -0
- package/types/acorex-platform-module-business-core-client-contracts-entities-party-type.d.ts +5 -0
- package/types/acorex-platform-module-business-core-client-contracts-entities-party.d.ts +5 -0
- package/types/acorex-platform-module-business-core-client-contracts-entity-catalog.d.ts +10 -0
- 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,wBAAwB,GAAG;AAC7B,IAAA;AACI,QAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,UAAU;AACv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AAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;wBAC5F,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;wBAC7F,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;wBAC7F,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACnG,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC5C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACF,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACH,wBAAA,kBAAkB,CAAC;4BACf,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACzC,CAAC;AACL,qBAAA;AACJ,iBAAA;AACJ,aAAA;AACJ,SAAA;KACJ;AAED,IAAA,OAAO,SAAS;AACpB;AAEA;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { b as businessCoreLocalEntityCatalog } 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":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-business-core-client-contracts.mjs","sources":["../../../../libs/modules/business-core/contracts/src/menu.keys.ts","../../../../libs/modules/business-core/contracts/src/permission.keys.ts","../../../../libs/modules/business-core/contracts/src/root-config.ts","../../../../libs/modules/business-core/contracts/src/entities/business-status/business-status.types.ts","../../../../libs/modules/business-core/contracts/src/entities/business-type/business-type.types.ts","../../../../libs/modules/business-core/contracts/src/entities/industry/industry.types.ts","../../../../libs/modules/business-core/contracts/src/entities/party-segment/party-segment.types.ts","../../../../libs/modules/business-core/contracts/src/entities/party-type/party-type.types.ts","../../../../libs/modules/business-core/contracts/src/index.ts","../../../../libs/modules/business-core/contracts/src/acorex-platform-module-business-core-client-contracts.ts"],"sourcesContent":["export const AXMBusinessCoreMenuKeys = {\n Root: 'business-core',\n Manufacturers: 'business-core.manufacturers',\n Divider1: 'business-core.divider-1',\n Industries: 'business-core.industries',\n BusinessTypes: 'business-core.business-types',\n BusinessStatuses: 'business-core.business-statuses',\n Divider2: 'business-core.divider-2',\n PartyTypes: 'business-core.party-types',\n PartySegments: 'business-core.party-segments',\n LifecycleStages: 'business-core.lifecycle-stages',\n} as const;\n\n","/**\n * Sales & Customers capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPSalesCustomersPermissionKeys = {\n Access: 'SalesCustomers:Permission:Access',\n MaintainCustomers: 'SalesCustomers:Permission:MaintainCustomers',\n MaintainSales: 'SalesCustomers:Permission:MaintainSales',\n MaintainProducts: 'SalesCustomers:Permission:MaintainProducts',\n MaintainOrders: 'SalesCustomers:Permission:MaintainOrders',\n MaintainSubscriptions: 'SalesCustomers:Permission:MaintainSubscriptions',\n Setup: 'SalesCustomers:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPSalesCustomersPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMBusinessCorePermissionKeys = {\n BusinessCore: {\n Manufacturer: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n Industry: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n BusinessType: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n BusinessStatus: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n PartyType: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n PartySegment: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n LifecycleStage: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n },\n} as const;\n","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 { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Business Status Model ----\n\nexport interface AXMBusinessCoreBusinessStatusEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Business Type Model ----\n\nexport interface AXMBusinessCoreBusinessTypeEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Industry Model ----\n\nexport interface AXMBusinessCoreIndustryEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Party Segment Model ----\n\nexport interface AXMBusinessCorePartySegmentEntityModel extends AXPEntityModel<string> {\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n color?: string | null;\n isArchived?: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Party Type Model ----\n\nexport interface AXMBusinessCorePartyTypeEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n","//#region ---- Contracts barrel ----\n\nexport * from './menu.keys';\nexport * from './permission.keys';\n\nexport * from './root-config';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,uBAAuB,GAAG;AACnC,IAAA,IAAI,EAAE,eAAe;AACrB,IAAA,aAAa,EAAE,6BAA6B;AAC5C,IAAA,QAAQ,EAAE,yBAAyB;AACnC,IAAA,UAAU,EAAE,0BAA0B;AACtC,IAAA,aAAa,EAAE,8BAA8B;AAC7C,IAAA,gBAAgB,EAAE,iCAAiC;AACnD,IAAA,QAAQ,EAAE,yBAAyB;AACnC,IAAA,UAAU,EAAE,2BAA2B;AACvC,IAAA,aAAa,EAAE,8BAA8B;AAC7C,IAAA,eAAe,EAAE,gCAAgC;;;ACVrD;;;AAGG;AACI,MAAM,+BAA+B,GAAG;AAC7C,IAAA,MAAM,EAAE,kCAAkC;AAC1C,IAAA,iBAAiB,EAAE,6CAA6C;AAChE,IAAA,aAAa,EAAE,yCAAyC;AACxD,IAAA,gBAAgB,EAAE,4CAA4C;AAC9D,IAAA,cAAc,EAAE,0CAA0C;AAC1D,IAAA,qBAAqB,EAAE,iDAAiD;AACxE,IAAA,KAAK,EAAE,iCAAiC;;AAG1C;;;AAGG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A;AACD,QAAA,cAAc,EAAE;AACZ,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,gDAAA,CAAkD;AACxE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,iDAAA,CAAmD;AAC/E,YAAA,IAAI,EAAE,sBAAsB;AAC/B,SAAA;AACD,QAAA,KAAK,EAAE;AACH,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,6BAAA,CAA+B;AACrD,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,8BAAA,CAAgC;AAC5D,YAAA,IAAI,EAAE,sBAAsB;AAC/B,SAAA;AACJ,KAAA;;;AClDL;;ACAA;;ACAA;;ACAA;;ACAA;;ACXA;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-business-core-client-contracts.mjs","sources":["../../../../libs/modules/business-core/contracts/src/menu.keys.ts","../../../../libs/modules/business-core/contracts/src/permission.keys.ts","../../../../libs/modules/business-core/contracts/src/root-config.ts","../../../../libs/modules/business-core/contracts/src/entities/business-status/business-status.types.ts","../../../../libs/modules/business-core/contracts/src/entities/business-type/business-type.types.ts","../../../../libs/modules/business-core/contracts/src/entities/industry/industry.types.ts","../../../../libs/modules/business-core/contracts/src/entities/party-segment/party-segment.types.ts","../../../../libs/modules/business-core/contracts/src/entities/party-type/party-type.types.ts","../../../../libs/modules/business-core/contracts/src/index.ts","../../../../libs/modules/business-core/contracts/src/acorex-platform-module-business-core-client-contracts.ts"],"sourcesContent":["export const AXMBusinessCoreMenuKeys = {\n Root: 'business-core',\n Manufacturers: 'business-core.manufacturers',\n Divider1: 'business-core.divider-1',\n Industries: 'business-core.industries',\n BusinessTypes: 'business-core.business-types',\n BusinessStatuses: 'business-core.business-statuses',\n Divider2: 'business-core.divider-2',\n PartyTypes: 'business-core.party-types',\n PartySegments: 'business-core.party-segments',\n LifecycleStages: 'business-core.lifecycle-stages',\n} as const;\n\n","/**\n * Sales & Customers capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPSalesCustomersPermissionKeys = {\n Access: 'SalesCustomers:Permission:Access',\n MaintainCustomers: 'SalesCustomers:Permission:MaintainCustomers',\n MaintainSales: 'SalesCustomers:Permission:MaintainSales',\n MaintainProducts: 'SalesCustomers:Permission:MaintainProducts',\n MaintainOrders: 'SalesCustomers:Permission:MaintainOrders',\n MaintainSubscriptions: 'SalesCustomers:Permission:MaintainSubscriptions',\n Setup: 'SalesCustomers:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPSalesCustomersPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMBusinessCorePermissionKeys = {\n BusinessCore: {\n Manufacturer: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n Industry: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n BusinessType: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n BusinessStatus: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n PartyType: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n PartySegment: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n LifecycleStage: {\n Management: AXPSalesCustomersPermissionKeys.Setup,\n },\n },\n} as const;\n","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 { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Business Status Model ----\n\nexport interface AXMBusinessCoreBusinessStatusEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Business Type Model ----\n\nexport interface AXMBusinessCoreBusinessTypeEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Industry Model ----\n\nexport interface AXMBusinessCoreIndustryEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Party Segment Model ----\n\nexport interface AXMBusinessCorePartySegmentEntityModel extends AXPEntityModel<string> {\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n color?: string | null;\n isArchived?: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Party Type Model ----\n\nexport interface AXMBusinessCorePartyTypeEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n","//#region ---- Contracts barrel ----\n\nexport * from './menu.keys';\nexport * from './permission.keys';\n\nexport * from './root-config';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,uBAAuB,GAAG;AACnC,IAAA,IAAI,EAAE,eAAe;AACrB,IAAA,aAAa,EAAE,6BAA6B;AAC5C,IAAA,QAAQ,EAAE,yBAAyB;AACnC,IAAA,UAAU,EAAE,0BAA0B;AACtC,IAAA,aAAa,EAAE,8BAA8B;AAC7C,IAAA,gBAAgB,EAAE,iCAAiC;AACnD,IAAA,QAAQ,EAAE,yBAAyB;AACnC,IAAA,UAAU,E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,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,uCAAA,CAAyC;AACrE,YAAA,IAAI,EAAE,iBAAiB;AAC1B,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,IAAI,CAAA,6CAAA,CAA+C;AAC3E,YAAA,IAAI,EAAE,uBAAuB;AAChC,SAAA;AACD,QAAA,cAAc,EAAE;AACZ,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,gDAAA,CAAkD;AACxE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,iDAAA,CAAmD;AAC/E,YAAA,IAAI,EAAE,sBAAsB;AAC/B,SAAA;AACD,QAAA,KAAK,EAAE;AACH,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,6BAAA,CAA+B;AACrD,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,8BAAA,CAAgC;AAC5D,YAAA,IAAI,EAAE,sBAAsB;AAC/B,SAAA;AACJ,KAAA;;;AClDL;;ACAA;;ACAA;;ACAA;;ACAA;;ACXA;;ACAA;;AAEG;;"}
|
|
@@ -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;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-business-core-client.mjs","sources":["../../../../libs/modules/business-core/client/src/lib/manifest.ts","../../../../libs/modules/business-core/client/src/lib/business-core.module.ts","../../../../libs/modules/business-core/client/src/lib/menu.provider.ts","../../../../libs/modules/business-core/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/business-core/client/src/acorex-platform-module-business-core-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-business-core-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Business Core Module Manifest.\n * Defines module metadata and dependencies.\n */\nexport const BusinessCoreManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n type: 'domain',\n domain: 'finance-commerce',\n // Module dependencies (optional)\n};\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { NgModule } from '@angular/core';\nimport { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { BusinessCoreManifest } from './manifest';\nimport { AXP_MENU_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\n\n//#endregion\n\n//#region ---- Module ----\n\n@NgModule({\n imports: [],\n providers: [\n\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: BusinessCoreManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n provideLazyProvider(\n AXP_PERMISSION_DEFINITION_PROVIDER,\n () => import('./permission-definition.provider').then(m => m.AXMBusinessCorePermissionDefinitionProvider)\n ),\n provideLazyProvider(\n AXP_MENU_PROVIDER,\n () => import('./menu.provider').then(m => m.AXMBusinessCoreMenuProvider)\n ),\n \n ],\n})\nexport class AXMBusinessCoreModule { }\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport {\n RootConfig,\n AXPSalesCustomersPermissionKeys\n} from '@acorex-platform/module-business-core-client/contracts';\nimport { AXMBusinessCoreMenuKeys } from '@acorex-platform/module-business-core-client/contracts';\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport { inject } from '@angular/core';\n\n//#endregion\n\n//#region ---- Menu Provider ----\n\nexport class AXMBusinessCoreMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPSalesCustomersPermissionKeys;\n\n context.find(AXPCommonMenuKeys.Configuration).addItems([\n {\n name: AXMBusinessCoreMenuKeys.Root,\n priority: 8500,\n text: \"@business-core:module.menus.root.title\",\n icon: module.icon,\n policy: {\n features: [RootConfig.module.name],\n },\n children: [\n {\n name: AXMBusinessCoreMenuKeys.Manufacturers,\n text: RootConfig.entities.manufacturer.titlePlural,\n icon: RootConfig.entities.manufacturer.icon,\n priority: 1,\n path: this.entityService.withEntity(module.name, RootConfig.entities.manufacturer.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.Divider1,\n text: '',\n type: 'break',\n priority: 2,\n },\n {\n name: AXMBusinessCoreMenuKeys.Industries,\n text: RootConfig.entities.industry.titlePlural,\n icon: RootConfig.entities.industry.icon,\n priority: 3,\n path: this.entityService.withEntity(module.name, RootConfig.entities.industry.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.BusinessTypes,\n text: RootConfig.entities.businessType.titlePlural,\n icon: RootConfig.entities.businessType.icon,\n priority: 4,\n path: this.entityService.withEntity(module.name, RootConfig.entities.businessType.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.BusinessStatuses,\n text: RootConfig.entities.businessStatus.titlePlural,\n icon: RootConfig.entities.businessStatus.icon,\n priority: 5,\n path: this.entityService.withEntity(module.name, RootConfig.entities.businessStatus.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.Divider2,\n text: '',\n type: 'break',\n priority: 6,\n },\n {\n name: AXMBusinessCoreMenuKeys.PartyTypes,\n text: RootConfig.entities.partyType.titlePlural,\n icon: RootConfig.entities.partyType.icon,\n priority: 7,\n path: this.entityService.withEntity(module.name, RootConfig.entities.partyType.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.PartySegments,\n text: RootConfig.entities.partySegment.titlePlural,\n icon: RootConfig.entities.partySegment.icon,\n priority: 8,\n path: this.entityService.withEntity(module.name, RootConfig.entities.partySegment.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.LifecycleStages,\n text: RootConfig.entities.lifecycleStage.titlePlural,\n icon: RootConfig.entities.lifecycleStage.icon,\n priority: 9,\n path: this.entityService.withEntity(module.name, RootConfig.entities.lifecycleStage.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n ],\n },\n ]);\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport { AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Ensures Sales & Customers root + Customers section exist for business-core\n * (Setup owned by customer-management).\n */\n@Injectable()\nexport class AXMBusinessCorePermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const groups = AXPCommonPermissionGroupKeys;\n const G = '@common:permission-groups';\n\n context.addGroup(\n groups.SalesCustomers.Root,\n `${G}.sales-and-customers.title`,\n `${G}.sales-and-customers.description`,\n { order: 50 },\n );\n context\n .addGroup(\n groups.SalesCustomers.Customers,\n `${G}.sales-and-customers-customers.title`,\n `${G}.sales-and-customers-customers.description`,\n { parent: groups.SalesCustomers.Root, order: 10 },\n )\n .endGroup();\n }\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,oBAAoB,GAAsB;AACnD,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAE9B,IAAA,IAAI,EAAE,QAAQ;AACd,IAAA,MAAM,EAAE,kB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E,KAAK,EAAE,EAAE,EAAE;AAElD,aAAA,QAAQ,EAAE;IACf;8GAnBW,2CAA2C,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAA3C,2CAA2C,EAAA,CAAA,CAAA;;2FAA3C,2CAA2C,EAAA,UAAA,EAAA,CAAA;kBADvD;;;;;;;;ACjBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-business-core-client.mjs","sources":["../../../../libs/modules/business-core/client/src/lib/manifest.ts","../../../../libs/modules/business-core/client/src/lib/business-core.module.ts","../../../../libs/modules/business-core/client/src/lib/menu.provider.ts","../../../../libs/modules/business-core/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/business-core/client/src/acorex-platform-module-business-core-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-business-core-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Business Core Module Manifest.\n * Defines module metadata and dependencies.\n */\nexport const BusinessCoreManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n type: 'domain',\n domain: 'finance-commerce',\n // Module dependencies (optional)\n};\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { NgModule } from '@angular/core';\nimport { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { BusinessCoreManifest } from './manifest';\nimport { AXP_MENU_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\n\n//#endregion\n\n//#region ---- Module ----\n\n@NgModule({\n imports: [],\n providers: [\n\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: BusinessCoreManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n provideLazyProvider(\n AXP_PERMISSION_DEFINITION_PROVIDER,\n () => import('./permission-definition.provider').then(m => m.AXMBusinessCorePermissionDefinitionProvider)\n ),\n provideLazyProvider(\n AXP_MENU_PROVIDER,\n () => import('./menu.provider').then(m => m.AXMBusinessCoreMenuProvider)\n ),\n \n ],\n})\nexport class AXMBusinessCoreModule { }\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport {\n RootConfig,\n AXPSalesCustomersPermissionKeys\n} from '@acorex-platform/module-business-core-client/contracts';\nimport { AXMBusinessCoreMenuKeys } from '@acorex-platform/module-business-core-client/contracts';\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport { inject } from '@angular/core';\n\n//#endregion\n\n//#region ---- Menu Provider ----\n\nexport class AXMBusinessCoreMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPSalesCustomersPermissionKeys;\n\n context.find(AXPCommonMenuKeys.Configuration).addItems([\n {\n name: AXMBusinessCoreMenuKeys.Root,\n priority: 8500,\n text: \"@business-core:module.menus.root.title\",\n icon: module.icon,\n policy: {\n features: [RootConfig.module.name],\n },\n children: [\n {\n name: AXMBusinessCoreMenuKeys.Manufacturers,\n text: RootConfig.entities.manufacturer.titlePlural,\n icon: RootConfig.entities.manufacturer.icon,\n priority: 1,\n path: this.entityService.withEntity(module.name, RootConfig.entities.manufacturer.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.Divider1,\n text: '',\n type: 'break',\n priority: 2,\n },\n {\n name: AXMBusinessCoreMenuKeys.Industries,\n text: RootConfig.entities.industry.titlePlural,\n icon: RootConfig.entities.industry.icon,\n priority: 3,\n path: this.entityService.withEntity(module.name, RootConfig.entities.industry.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.BusinessTypes,\n text: RootConfig.entities.businessType.titlePlural,\n icon: RootConfig.entities.businessType.icon,\n priority: 4,\n path: this.entityService.withEntity(module.name, RootConfig.entities.businessType.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.BusinessStatuses,\n text: RootConfig.entities.businessStatus.titlePlural,\n icon: RootConfig.entities.businessStatus.icon,\n priority: 5,\n path: this.entityService.withEntity(module.name, RootConfig.entities.businessStatus.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.Divider2,\n text: '',\n type: 'break',\n priority: 6,\n },\n {\n name: AXMBusinessCoreMenuKeys.PartyTypes,\n text: RootConfig.entities.partyType.titlePlural,\n icon: RootConfig.entities.partyType.icon,\n priority: 7,\n path: this.entityService.withEntity(module.name, RootConfig.entities.partyType.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.PartySegments,\n text: RootConfig.entities.partySegment.titlePlural,\n icon: RootConfig.entities.partySegment.icon,\n priority: 8,\n path: this.entityService.withEntity(module.name, RootConfig.entities.partySegment.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMBusinessCoreMenuKeys.LifecycleStages,\n text: RootConfig.entities.lifecycleStage.titlePlural,\n icon: RootConfig.entities.lifecycleStage.icon,\n priority: 9,\n path: this.entityService.withEntity(module.name, RootConfig.entities.lifecycleStage.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n ],\n },\n ]);\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport { AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Ensures Sales & Customers root + Customers section exist for business-core\n * (Setup owned by customer-management).\n */\n@Injectable()\nexport class AXMBusinessCorePermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const groups = AXPCommonPermissionGroupKeys;\n const G = '@common:permission-groups';\n\n context.addGroup(\n groups.SalesCustomers.Root,\n `${G}.sales-and-customers.title`,\n `${G}.sales-and-customers.description`,\n { order: 50 },\n );\n context\n .addGroup(\n groups.SalesCustomers.Customers,\n `${G}.sales-and-customers-customers.title`,\n `${G}.sales-and-customers-customers.description`,\n { parent: groups.SalesCustomers.Root, order: 10 },\n )\n .endGroup();\n }\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,oBAAoB,GAAsB;AACnD,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAE9B,IAAA,IAAI,EAAE,QAAQ;AACd,IAAA,MAAM,EAAE,kBAAkB;;CAE3B;AAED;;ACzBA;AAQA;AAEA;MAwBa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAArB,qBAAqB,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,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