@acorex-platform/module-order-management-client 0.0.32 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-platform-module-order-management-client-bulk-buy-order-status.provider-CwTTegNe.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entities-bulk-buy-order-item.mjs +399 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entities-bulk-buy-order-item.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entities-bulk-buy-order.mjs +325 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entities-bulk-buy-order.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entities-member-order-line.mjs +285 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entities-member-order-line.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entities-member-order.mjs +316 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entities-member-order.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog-acorex-platform-module-order-management-client-contracts-entity-catalog-CwK6VbHl.mjs +71 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog-acorex-platform-module-order-management-client-contracts-entity-catalog-CwK6VbHl.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog-bulk-buy-order-item.entity-Bdm37iF8.mjs +350 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog-bulk-buy-order-item.entity-Bdm37iF8.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog-bulk-buy-order.entity-Bv8b-3_O.mjs +276 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog-bulk-buy-order.entity-Bv8b-3_O.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog-member-order-line.entity-BJNnKNe4.mjs +236 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog-member-order-line.entity-BJNnKNe4.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog-member-order.entity-cKfUjSOr.mjs +267 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog-member-order.entity-cKfUjSOr.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-order-management-client-feature-definition.provider-BgrmTQ_L.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-order-management-client-local-entities.mjs +32 -0
- package/fesm2022/acorex-platform-module-order-management-client-local-entities.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-order-management-client-member-order-status.provider-DMVZas07.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-order-management-client-menu.provider-BXlthUUX.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-order-management-client-permission-definition.provider-C0wAdsnZ.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-order-management-client-settings.provider-DVCQ3vhJ.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-order-management-client.mjs.map +1 -1
- package/package.json +25 -1
- package/types/acorex-platform-module-order-management-client-contracts-entities-bulk-buy-order-item.d.ts +5 -0
- package/types/acorex-platform-module-order-management-client-contracts-entities-bulk-buy-order.d.ts +5 -0
- package/types/acorex-platform-module-order-management-client-contracts-entities-member-order-line.d.ts +5 -0
- package/types/acorex-platform-module-order-management-client-contracts-entities-member-order.d.ts +5 -0
- package/types/acorex-platform-module-order-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-order-management-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { AXPWidgetsList, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-order-management-client-contracts-entity-catalog-acorex-platform-module-order-management-client-contracts-entity-catalog-CwK6VbHl.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Factory Function ----
|
|
7
|
+
async function memberOrderFactory() {
|
|
8
|
+
const i18n = `${RootConfig.config.i18n}:bulk-buy-orders.entities.member-order`;
|
|
9
|
+
const entityDef = {
|
|
10
|
+
module: RootConfig.module.name,
|
|
11
|
+
name: RootConfig.entities.memberOrder.name,
|
|
12
|
+
title: RootConfig.entities.memberOrder.title,
|
|
13
|
+
icon: RootConfig.entities.memberOrder.icon,
|
|
14
|
+
formats: {
|
|
15
|
+
individual: RootConfig.entities.memberOrder.title,
|
|
16
|
+
plural: RootConfig.entities.memberOrder.titlePlural,
|
|
17
|
+
searchResult: {
|
|
18
|
+
title: '{{ member.displayName }}',
|
|
19
|
+
description: '{{ totalOwing }}',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
plugins: [
|
|
23
|
+
{ name: 'history' },
|
|
24
|
+
{ name: 'lock' },
|
|
25
|
+
{ name: 'notes' },
|
|
26
|
+
{
|
|
27
|
+
name: 'status',
|
|
28
|
+
options: {
|
|
29
|
+
field: 'statusId',
|
|
30
|
+
definition: 'order-management.status.member-order',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'computed-property',
|
|
35
|
+
options: {
|
|
36
|
+
fields: [
|
|
37
|
+
{
|
|
38
|
+
name: 'productTotal',
|
|
39
|
+
title: `@${i18n}.fields.product-total.title`,
|
|
40
|
+
value: '{{ context.eval("productTotal") || 0 }}',
|
|
41
|
+
group: {
|
|
42
|
+
id: 'financial-info',
|
|
43
|
+
title: `@${i18n}.groups.financial-info`,
|
|
44
|
+
},
|
|
45
|
+
showAs: {
|
|
46
|
+
type: AXPWidgetsCatalog.number,
|
|
47
|
+
options: {
|
|
48
|
+
readonly: true,
|
|
49
|
+
format: 'currency',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'freightShare',
|
|
55
|
+
title: `@${i18n}.fields.freight-share.title`,
|
|
56
|
+
value: '{{ context.eval("freightShare") || 0 }}',
|
|
57
|
+
group: {
|
|
58
|
+
id: 'financial-info',
|
|
59
|
+
title: `@${i18n}.groups.financial-info`,
|
|
60
|
+
},
|
|
61
|
+
showAs: {
|
|
62
|
+
type: AXPWidgetsCatalog.number,
|
|
63
|
+
options: {
|
|
64
|
+
readonly: true,
|
|
65
|
+
format: 'currency',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'totalOwing',
|
|
71
|
+
title: `@${i18n}.fields.total-owing.title`,
|
|
72
|
+
value: '{{ (context.eval("productTotal") || 0) + (context.eval("freightShare") || 0) }}',
|
|
73
|
+
group: {
|
|
74
|
+
id: 'financial-info',
|
|
75
|
+
title: `@${i18n}.groups.financial-info`,
|
|
76
|
+
},
|
|
77
|
+
showAs: {
|
|
78
|
+
type: AXPWidgetsCatalog.number,
|
|
79
|
+
options: {
|
|
80
|
+
readonly: true,
|
|
81
|
+
format: 'currency',
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
groups: [
|
|
90
|
+
{ id: 'order-info', title: `@${i18n}.groups.order-info` },
|
|
91
|
+
{ id: 'member-info', title: `@${i18n}.groups.member-info` },
|
|
92
|
+
{ id: 'financial-info', title: `@${i18n}.groups.financial-info` },
|
|
93
|
+
],
|
|
94
|
+
properties: [
|
|
95
|
+
{
|
|
96
|
+
name: 'id',
|
|
97
|
+
title: 'ID',
|
|
98
|
+
groupId: 'order-info',
|
|
99
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: 'bulkBuyOrderId',
|
|
103
|
+
title: `@${i18n}.fields.bulk-buy-order.title`,
|
|
104
|
+
groupId: 'order-info',
|
|
105
|
+
options: {
|
|
106
|
+
sort: { enabled: true },
|
|
107
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
108
|
+
},
|
|
109
|
+
schema: {
|
|
110
|
+
dataType: 'string',
|
|
111
|
+
interface: {
|
|
112
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
113
|
+
options: {
|
|
114
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.bulkBuyOrder.name}`,
|
|
115
|
+
textField: 'title',
|
|
116
|
+
valueField: 'id',
|
|
117
|
+
look: 'select',
|
|
118
|
+
expose: [
|
|
119
|
+
{ source: 'id', target: 'bulkBuyOrder.id' },
|
|
120
|
+
{ source: 'orderNumber', target: 'bulkBuyOrder.orderNumber' },
|
|
121
|
+
{ source: 'title', target: 'bulkBuyOrder.title' },
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
validations: [{ rule: 'required' }],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: 'memberId',
|
|
130
|
+
title: `@${i18n}.fields.member.title`,
|
|
131
|
+
groupId: 'member-info',
|
|
132
|
+
options: {
|
|
133
|
+
sort: { enabled: true },
|
|
134
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
135
|
+
},
|
|
136
|
+
schema: {
|
|
137
|
+
dataType: 'string',
|
|
138
|
+
interface: {
|
|
139
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
140
|
+
options: {
|
|
141
|
+
entity: `${"PersonCore"}.${"Person"}`,
|
|
142
|
+
textField: 'displayName',
|
|
143
|
+
valueField: 'id',
|
|
144
|
+
look: 'select',
|
|
145
|
+
expose: [
|
|
146
|
+
{ source: 'id', target: 'member.id' },
|
|
147
|
+
{ source: 'displayName', target: 'member.displayName' },
|
|
148
|
+
{ source: 'email', target: 'member.email' },
|
|
149
|
+
],
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
validations: [{ rule: 'required' }],
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: 'productTotal',
|
|
157
|
+
title: `@${i18n}.fields.product-total.title`,
|
|
158
|
+
groupId: 'financial-info',
|
|
159
|
+
schema: {
|
|
160
|
+
dataType: 'number',
|
|
161
|
+
visible: false,
|
|
162
|
+
interface: {
|
|
163
|
+
type: AXPWidgetsCatalog.number,
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'freightShare',
|
|
169
|
+
title: `@${i18n}.fields.freight-share.title`,
|
|
170
|
+
groupId: 'financial-info',
|
|
171
|
+
schema: {
|
|
172
|
+
dataType: 'number',
|
|
173
|
+
visible: false,
|
|
174
|
+
interface: {
|
|
175
|
+
type: AXPWidgetsCatalog.number,
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: 'paidDate',
|
|
181
|
+
title: `@${i18n}.fields.paid-date.title`,
|
|
182
|
+
groupId: 'financial-info',
|
|
183
|
+
options: {
|
|
184
|
+
sort: { enabled: true },
|
|
185
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
186
|
+
},
|
|
187
|
+
schema: {
|
|
188
|
+
dataType: 'date',
|
|
189
|
+
interface: {
|
|
190
|
+
type: AXPWidgetsCatalog.dateTime,
|
|
191
|
+
options: {
|
|
192
|
+
showTime: false,
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
columns: [
|
|
199
|
+
{ name: 'memberId', options: { dataPath: 'member.displayName' } },
|
|
200
|
+
{ name: 'bulkBuyOrderId', options: { dataPath: 'bulkBuyOrder.orderNumber' } },
|
|
201
|
+
{ name: 'productTotal' },
|
|
202
|
+
{ name: 'freightShare' },
|
|
203
|
+
{ name: 'totalOwing' },
|
|
204
|
+
{ name: 'statusId' },
|
|
205
|
+
{ name: 'paidDate' },
|
|
206
|
+
],
|
|
207
|
+
relatedEntities: [
|
|
208
|
+
{
|
|
209
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.memberOrderLine.name}`,
|
|
210
|
+
title: RootConfig.entities.memberOrderLine.titlePlural,
|
|
211
|
+
columns: ['bulkBuyOrderItemId', 'quantity', 'price', 'lineTotal'],
|
|
212
|
+
conditions: [entityDetailsSimpleCondition('memberOrderId')],
|
|
213
|
+
actions: [...entityDetailsCrudActions('memberOrderId')],
|
|
214
|
+
layout: { type: 'tab-list' },
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
interfaces: {
|
|
218
|
+
master: {
|
|
219
|
+
create: {
|
|
220
|
+
sections: [{ id: 'order-info' }, { id: 'member-info' }, { id: 'financial-info' }],
|
|
221
|
+
properties: [
|
|
222
|
+
{ name: 'bulkBuyOrderId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
223
|
+
{ name: 'memberId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
224
|
+
],
|
|
225
|
+
},
|
|
226
|
+
update: {
|
|
227
|
+
sections: [{ id: 'order-info' }, { id: 'member-info' }, { id: 'financial-info' }],
|
|
228
|
+
properties: [
|
|
229
|
+
{ name: 'bulkBuyOrderId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
230
|
+
{ name: 'memberId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
231
|
+
{ name: 'paidDate', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
232
|
+
],
|
|
233
|
+
},
|
|
234
|
+
single: {
|
|
235
|
+
title: '{{ member.displayName }}',
|
|
236
|
+
sections: [
|
|
237
|
+
{ id: 'order-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
238
|
+
{ id: 'member-info', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
239
|
+
{ id: 'financial-info', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
240
|
+
],
|
|
241
|
+
properties: [
|
|
242
|
+
{ name: 'bulkBuyOrderId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
243
|
+
{ name: 'memberId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
244
|
+
{ name: 'productTotal', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
245
|
+
{ name: 'freightShare', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
246
|
+
{ name: 'totalOwing', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
247
|
+
{ name: 'paidDate', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
248
|
+
],
|
|
249
|
+
actions: [...entityMasterRecordActions()],
|
|
250
|
+
},
|
|
251
|
+
list: {
|
|
252
|
+
actions: [...entityMasterCrudActions()],
|
|
253
|
+
views: [
|
|
254
|
+
createAllQueryView({
|
|
255
|
+
sorts: [{ name: 'member.displayName', dir: 'asc' }],
|
|
256
|
+
}),
|
|
257
|
+
],
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
};
|
|
262
|
+
return entityDef;
|
|
263
|
+
}
|
|
264
|
+
//#endregion
|
|
265
|
+
|
|
266
|
+
export { memberOrderFactory };
|
|
267
|
+
//# sourceMappingURL=acorex-platform-module-order-management-client-contracts-entity-catalog-member-order.entity-cKfUjSOr.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-order-management-client-contracts-entity-catalog-member-order.entity-cKfUjSOr.mjs","sources":["../../../../libs/modules/order-management/contracts/src/entities/member-order/member-order.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Factory Function ----\n\nexport async function memberOrderFactory(): Promise<AXPEntity | null> {\n const i18n = `${RootConfig.config.i18n}:bulk-buy-orders.entities.member-order`;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.memberOrder.name,\n title: RootConfig.entities.memberOrder.title,\n icon: RootConfig.entities.memberOrder.icon,\n formats: {\n individual: RootConfig.entities.memberOrder.title,\n plural: RootConfig.entities.memberOrder.titlePlural,\n searchResult: {\n title: '{{ member.displayName }}',\n description: '{{ totalOwing }}',\n },\n },\n plugins: [\n { name: 'history' },\n { name: 'lock' },\n { name: 'notes' },\n {\n name: 'status',\n options: {\n field: 'statusId',\n definition: 'order-management.status.member-order',\n },\n },\n {\n name: 'computed-property',\n options: {\n fields: [\n {\n name: 'productTotal',\n title: `@${i18n}.fields.product-total.title`,\n value: '{{ context.eval(\"productTotal\") || 0 }}',\n group: {\n id: 'financial-info',\n title: `@${i18n}.groups.financial-info`,\n },\n showAs: {\n type: AXPWidgetsCatalog.number,\n options: {\n readonly: true,\n format: 'currency',\n },\n },\n },\n {\n name: 'freightShare',\n title: `@${i18n}.fields.freight-share.title`,\n value: '{{ context.eval(\"freightShare\") || 0 }}',\n group: {\n id: 'financial-info',\n title: `@${i18n}.groups.financial-info`,\n },\n showAs: {\n type: AXPWidgetsCatalog.number,\n options: {\n readonly: true,\n format: 'currency',\n },\n },\n },\n {\n name: 'totalOwing',\n title: `@${i18n}.fields.total-owing.title`,\n value: '{{ (context.eval(\"productTotal\") || 0) + (context.eval(\"freightShare\") || 0) }}',\n group: {\n id: 'financial-info',\n title: `@${i18n}.groups.financial-info`,\n },\n showAs: {\n type: AXPWidgetsCatalog.number,\n options: {\n readonly: true,\n format: 'currency',\n },\n },\n },\n ],\n },\n },\n ],\n groups: [\n { id: 'order-info', title: `@${i18n}.groups.order-info` },\n { id: 'member-info', title: `@${i18n}.groups.member-info` },\n { id: 'financial-info', title: `@${i18n}.groups.financial-info` },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'order-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'bulkBuyOrderId',\n title: `@${i18n}.fields.bulk-buy-order.title`,\n groupId: 'order-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.bulkBuyOrder.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'bulkBuyOrder.id' },\n { source: 'orderNumber', target: 'bulkBuyOrder.orderNumber' },\n { source: 'title', target: 'bulkBuyOrder.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'memberId',\n title: `@${i18n}.fields.member.title`,\n groupId: 'member-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${\"PersonCore\"}.${\"Person\"}`,\n textField: 'displayName',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'member.id' },\n { source: 'displayName', target: 'member.displayName' },\n { source: 'email', target: 'member.email' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'productTotal',\n title: `@${i18n}.fields.product-total.title`,\n groupId: 'financial-info',\n schema: {\n dataType: 'number',\n visible: false,\n interface: {\n type: AXPWidgetsCatalog.number,\n },\n },\n },\n {\n name: 'freightShare',\n title: `@${i18n}.fields.freight-share.title`,\n groupId: 'financial-info',\n schema: {\n dataType: 'number',\n visible: false,\n interface: {\n type: AXPWidgetsCatalog.number,\n },\n },\n },\n {\n name: 'paidDate',\n title: `@${i18n}.fields.paid-date.title`,\n groupId: 'financial-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsCatalog.dateTime,\n options: {\n showTime: false,\n },\n },\n },\n },\n ],\n columns: [\n { name: 'memberId', options: { dataPath: 'member.displayName' } },\n { name: 'bulkBuyOrderId', options: { dataPath: 'bulkBuyOrder.orderNumber' } },\n { name: 'productTotal' },\n { name: 'freightShare' },\n { name: 'totalOwing' },\n { name: 'statusId' },\n { name: 'paidDate' },\n ],\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.memberOrderLine.name}`,\n title: RootConfig.entities.memberOrderLine.titlePlural,\n columns: ['bulkBuyOrderItemId', 'quantity', 'price', 'lineTotal'],\n conditions: [entityDetailsSimpleCondition('memberOrderId')],\n actions: [...entityDetailsCrudActions('memberOrderId')],\n layout: { type: 'tab-list' },\n },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'order-info' }, { id: 'member-info' }, { id: 'financial-info' }],\n properties: [\n { name: 'bulkBuyOrderId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'memberId', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'order-info' }, { id: 'member-info' }, { id: 'financial-info' }],\n properties: [\n { name: 'bulkBuyOrderId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'memberId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'paidDate', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n single: {\n title: '{{ member.displayName }}',\n sections: [\n { id: 'order-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'member-info', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'financial-info', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'bulkBuyOrderId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'memberId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'productTotal', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'freightShare', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'totalOwing', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'paidDate', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'member.displayName', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,kBAAkB,GAAA;IACpC,MAAM,IAAI,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,sCAAA,CAAwC;AAE9E,IAAA,MAAM,SAAS,GAAc;AACzB,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK;AAC5C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,QAAA,OAAO,EAAE;AACL,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK;AACjD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,WAAW;AACnD,YAAA,YAAY,EAAE;AACV,gBAAA,KAAK,EAAE,0BAA0B;AACjC,gBAAA,WAAW,EAAE,kBAAkB;AAClC,aAAA;AACJ,SAAA;AACD,QAAA,OAAO,EAAE;YACL,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EAAE,MAAM,E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og } from './acorex-platform-module-order-management-client-contracts-entity-catalog-acorex-platform-module-order-management-client-contracts-entity-catalog-CwK6VbHl.mjs';
|
|
2
|
+
//# sourceMappingURL=acorex-platform-module-order-management-client-contracts-entity-catalog.mjs.map
|
package/fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-order-management-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-order-management-client-contracts.mjs","sources":["../../../../libs/modules/order-management/contracts/src/features.keys.ts","../../../../libs/modules/order-management/contracts/src/menu.keys.ts","../../../../libs/modules/order-management/contracts/src/permission.keys.ts","../../../../libs/modules/order-management/contracts/src/settings.keys.ts","../../../../libs/modules/order-management/contracts/src/root-config.ts","../../../../libs/modules/order-management/contracts/src/index.ts","../../../../libs/modules/order-management/contracts/src/acorex-platform-module-order-management-client-contracts.ts"],"sourcesContent":["// Management feature removed - module name is used directly as feature key\nexport const AXMOrderManagementFeatureKeys = {} as const;\n\n","export const AXMOrderManagementMenuKeys = {\n Root: 'OrderManagement:Menu',\n BulkBuyOrders: 'OrderManagement:Menu:BulkBuyOrders',\n AvailableOrders: 'OrderManagement:Menu:AvailableOrders',\n MyOrders: 'OrderManagement:Menu:MyOrders',\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 AXMOrderManagementPermissionKeys = {\n Orders: {\n Management: AXPSalesCustomersPermissionKeys.MaintainOrders,\n View: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Create: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Edit: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Delete: AXPSalesCustomersPermissionKeys.MaintainOrders,\n },\n GroupOrders: {\n Management: AXPSalesCustomersPermissionKeys.MaintainOrders,\n View: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Create: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Edit: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Delete: AXPSalesCustomersPermissionKeys.MaintainOrders,\n MemberView: AXPSalesCustomersPermissionKeys.MaintainOrders,\n },\n BulkBuyOrders: {\n Management: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Member: AXPSalesCustomersPermissionKeys.MaintainOrders,\n },\n} as const;\n","//#region ---- Settings Keys ----\n\n/**\n * Order Management Settings Keys\n * Follows pattern: OrderManagement:Setting:{Category}.{SettingName}\n */\nexport enum AXMOrderManagementSettings {\n TaxRate = 'OrderManagement:Setting:BulkBuy.TaxRate',\n}\n\n//#endregion\n\n","//#region ---- Module Configuration ----\n\nconst config = {\n i18n: 'order-management',\n module: 'OrderManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'order-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-file-invoice',\n },\n entities: {\n bulkBuyOrder: {\n name: 'BulkBuyOrder',\n source: `${config.module}.BulkBuyOrder`,\n title: '@order-management:bulk-buy-orders.entities.bulk-buy-order.title',\n titlePlural: '@order-management:bulk-buy-orders.entities.bulk-buy-order.plural',\n icon: 'fa-light fa-file-invoice',\n },\n bulkBuyOrderItem: {\n name: 'BulkBuyOrderItem',\n source: `${config.module}.BulkBuyOrderItem`,\n title: '@order-management:bulk-buy-orders.entities.bulk-buy-order-item.title',\n titlePlural: '@order-management:bulk-buy-orders.entities.bulk-buy-order-item.plural',\n icon: 'fa-light fa-list',\n },\n memberOrder: {\n name: 'MemberOrder',\n source: `${config.module}.MemberOrder`,\n title: '@order-management:bulk-buy-orders.entities.member-order.title',\n titlePlural: '@order-management:bulk-buy-orders.entities.member-order.plural',\n icon: 'fa-light fa-user-check',\n },\n memberOrderLine: {\n name: 'MemberOrderLine',\n source: `${config.module}.MemberOrderLine`,\n title: '@order-management:bulk-buy-orders.entities.member-order-line.title',\n titlePlural: '@order-management:bulk-buy-orders.entities.member-order-line.plural',\n icon: 'fa-light fa-list-check',\n },\n },\n};\n\n//#endregion\n\n","//#region ---- Contracts barrel ----\n\nexport * from './features.keys';\nexport * from './menu.keys';\nexport * from './permission.keys';\nexport * from './settings.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":"AAAA;AACO,MAAM,6BAA6B,GAAG;;ACDtC,MAAM,0BAA0B,GAAG;AACtC,IAAA,IAAI,EAAE,sBAAsB;AAC5B,IAAA,aAAa,EAAE,oCAAoC;AACnD,IAAA,eAAe,EAAE,sCAAsC;AACvD,IAAA,QAAQ,EAAE,+BAA+B;;;ACJ7C;;;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;AACI,MAAM,gCAAgC,GAAG;AAC9C,IAAA,MAAM,EAAE;QACN,UAAU,EAAE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AAM,CAAA,aAAA,CAAe;AACvC,YAAA,KAAK,EAAE,iEAAiE;AACxE,YAAA,WAAW,EAAE,kEAAkE;AAC/E,YAAA,IAAI,EAAE,0BAA0B;AACnC,SAAA;AACD,QAAA,gBAAgB,EAAE;AACd,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,iBAAA,CAAmB;AAC3C,YAAA,KAAK,EAAE,sEAAsE;AAC7E,YAAA,WAAW,EAAE,uEAAuE;AACpF,YAAA,IAAI,EAAE,kBAAkB;AAC3B,SAAA;AACD,QAAA,WAAW,EAAE;AACT,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,YAAA,CAAc;AACtC,YAAA,KAAK,EAAE,+DAA+D;AACtE,YAAA,WAAW,EAAE,gEAAgE;AAC7E,YAAA,IAAI,EAAE,wBAAwB;AACjC,SAAA;AACD,QAAA,eAAe,EAAE;AACb,YAAA,IAAI,EAAE,iBAAiB;AACvB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,gBAAA,CAAkB;AAC1C,YAAA,KAAK,EAAE,oEAAoE;AAC3E,YAAA,WAAW,EAAE,qEAAqE;AAClF,YAAA,IAAI,EAAE,wBAAwB;AACjC,SAAA;AACJ,KAAA;;AAGL;;AC/CA;;ACAA;;AAEG
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-order-management-client-contracts.mjs","sources":["../../../../libs/modules/order-management/contracts/src/features.keys.ts","../../../../libs/modules/order-management/contracts/src/menu.keys.ts","../../../../libs/modules/order-management/contracts/src/permission.keys.ts","../../../../libs/modules/order-management/contracts/src/settings.keys.ts","../../../../libs/modules/order-management/contracts/src/root-config.ts","../../../../libs/modules/order-management/contracts/src/index.ts","../../../../libs/modules/order-management/contracts/src/acorex-platform-module-order-management-client-contracts.ts"],"sourcesContent":["// Management feature removed - module name is used directly as feature key\nexport const AXMOrderManagementFeatureKeys = {} as const;\n\n","export const AXMOrderManagementMenuKeys = {\n Root: 'OrderManagement:Menu',\n BulkBuyOrders: 'OrderManagement:Menu:BulkBuyOrders',\n AvailableOrders: 'OrderManagement:Menu:AvailableOrders',\n MyOrders: 'OrderManagement:Menu:MyOrders',\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 AXMOrderManagementPermissionKeys = {\n Orders: {\n Management: AXPSalesCustomersPermissionKeys.MaintainOrders,\n View: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Create: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Edit: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Delete: AXPSalesCustomersPermissionKeys.MaintainOrders,\n },\n GroupOrders: {\n Management: AXPSalesCustomersPermissionKeys.MaintainOrders,\n View: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Create: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Edit: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Delete: AXPSalesCustomersPermissionKeys.MaintainOrders,\n MemberView: AXPSalesCustomersPermissionKeys.MaintainOrders,\n },\n BulkBuyOrders: {\n Management: AXPSalesCustomersPermissionKeys.MaintainOrders,\n Member: AXPSalesCustomersPermissionKeys.MaintainOrders,\n },\n} as const;\n","//#region ---- Settings Keys ----\n\n/**\n * Order Management Settings Keys\n * Follows pattern: OrderManagement:Setting:{Category}.{SettingName}\n */\nexport enum AXMOrderManagementSettings {\n TaxRate = 'OrderManagement:Setting:BulkBuy.TaxRate',\n}\n\n//#endregion\n\n","//#region ---- Module Configuration ----\n\nconst config = {\n i18n: 'order-management',\n module: 'OrderManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'order-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-file-invoice',\n },\n entities: {\n bulkBuyOrder: {\n name: 'BulkBuyOrder',\n source: `${config.module}.BulkBuyOrder`,\n title: '@order-management:bulk-buy-orders.entities.bulk-buy-order.title',\n titlePlural: '@order-management:bulk-buy-orders.entities.bulk-buy-order.plural',\n icon: 'fa-light fa-file-invoice',\n },\n bulkBuyOrderItem: {\n name: 'BulkBuyOrderItem',\n source: `${config.module}.BulkBuyOrderItem`,\n title: '@order-management:bulk-buy-orders.entities.bulk-buy-order-item.title',\n titlePlural: '@order-management:bulk-buy-orders.entities.bulk-buy-order-item.plural',\n icon: 'fa-light fa-list',\n },\n memberOrder: {\n name: 'MemberOrder',\n source: `${config.module}.MemberOrder`,\n title: '@order-management:bulk-buy-orders.entities.member-order.title',\n titlePlural: '@order-management:bulk-buy-orders.entities.member-order.plural',\n icon: 'fa-light fa-user-check',\n },\n memberOrderLine: {\n name: 'MemberOrderLine',\n source: `${config.module}.MemberOrderLine`,\n title: '@order-management:bulk-buy-orders.entities.member-order-line.title',\n titlePlural: '@order-management:bulk-buy-orders.entities.member-order-line.plural',\n icon: 'fa-light fa-list-check',\n },\n },\n};\n\n//#endregion\n\n","//#region ---- Contracts barrel ----\n\nexport * from './features.keys';\nexport * from './menu.keys';\nexport * from './permission.keys';\nexport * from './settings.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":"AAAA;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MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,gBAAA,CAAkB;AAC1C,YAAA,KAAK,EAAE,oEAAoE;AAC3E,YAAA,WAAW,EAAE,qEAAqE;AAClF,YAAA,IAAI,EAAE,wBAAwB;AACjC,SAAA;AACJ,KAAA;;AAGL;;AC/CA;;ACAA;;AAEG;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-order-management-client-feature-definition.provider-BgrmTQ_L.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/feature-definition.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPFeatureDefinitionProvider,\n AXPFeatureDefinitionProviderContext,\n} from '@acorex-platform/framework-client/core';\n\n//#endregion\n\n//#region ---- Feature Definition Provider ----\n\n/**\n * Order Management Feature Definition Provider.\n * Provides feature definitions for the Order Management module.\n */\nexport class AXMOrderManagementFeatureDefinitionProvider implements AXPFeatureDefinitionProvider {\n async provide(context: AXPFeatureDefinitionProviderContext): Promise<void> {\n // Management feature removed - module name is used directly as feature key\n }\n}\n\n//#endregion\n\n"],"names":[],"mappings":"AAAA;AAOA;AAEA;AAEA;;;AAGG;MACU,2CAA2C,CAAA;IACpD,MAAM,OAAO,CAAC,OAA4C,EAAA;;IAE1D;AACH;AAED
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-order-management-client-feature-definition.provider-BgrmTQ_L.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/feature-definition.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPFeatureDefinitionProvider,\n AXPFeatureDefinitionProviderContext,\n} from '@acorex-platform/framework-client/core';\n\n//#endregion\n\n//#region ---- Feature Definition Provider ----\n\n/**\n * Order Management Feature Definition Provider.\n * Provides feature definitions for the Order Management module.\n */\nexport class AXMOrderManagementFeatureDefinitionProvider implements AXPFeatureDefinitionProvider {\n async provide(context: AXPFeatureDefinitionProviderContext): Promise<void> {\n // Management feature removed - module name is used directly as feature key\n }\n}\n\n//#endregion\n\n"],"names":[],"mappings":"AAAA;AAOA;AAEA;AAEA;;;AAGG;MACU,2CAA2C,CAAA;IACpD,MAAM,OAAO,CAAC,OAA4C,EAAA;;IAE1D;AACH;AAED;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
|
|
2
|
+
import { RootConfig } from '@acorex-platform/module-order-management-client/contracts';
|
|
3
|
+
export { orderManagementLocalEntityCatalog } from '@acorex-platform/module-order-management-client/contracts/entity-catalog';
|
|
4
|
+
|
|
5
|
+
//#region ----- Imports -----
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ----- Provide local entities -----
|
|
8
|
+
/**
|
|
9
|
+
* Registers order-management 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 provideOrderManagementLocalEntities() {
|
|
15
|
+
return provideLocalEntityCatalog({
|
|
16
|
+
moduleName: RootConfig.module.name,
|
|
17
|
+
loaders: {
|
|
18
|
+
[RootConfig.entities.bulkBuyOrder.name]: () => import('@acorex-platform/module-order-management-client/contracts/entities/bulk-buy-order').then((m) => m.bulkBuyOrderFactory()),
|
|
19
|
+
[RootConfig.entities.bulkBuyOrderItem.name]: () => import('@acorex-platform/module-order-management-client/contracts/entities/bulk-buy-order-item').then((m) => m.bulkBuyOrderItemFactory()),
|
|
20
|
+
[RootConfig.entities.memberOrder.name]: () => import('@acorex-platform/module-order-management-client/contracts/entities/member-order').then((m) => m.memberOrderFactory()),
|
|
21
|
+
[RootConfig.entities.memberOrderLine.name]: () => import('@acorex-platform/module-order-management-client/contracts/entities/member-order-line').then((m) => m.memberOrderLineFactory()),
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Generated bundle index. Do not edit.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
export { provideOrderManagementLocalEntities };
|
|
32
|
+
//# sourceMappingURL=acorex-platform-module-order-management-client-local-entities.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-order-management-client-local-entities.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/provide-local-entities.ts","../../../../libs/modules/order-management/client/src/lib/acorex-platform-module-order-management-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-order-management-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers order-management 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 provideOrderManagementLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.bulkBuyOrder.name]: () =>\n import('@acorex-platform/module-order-management-client/contracts/entities/bulk-buy-order').then((m) => m.bulkBuyOrderFactory()),\n [RootConfig.entities.bulkBuyOrderItem.name]: () =>\n import('@acorex-platform/module-order-management-client/contracts/entities/bulk-buy-order-item').then((m) => m.bulkBuyOrderItemFactory()),\n [RootConfig.entities.memberOrder.name]: () =>\n import('@acorex-platform/module-order-management-client/contracts/entities/member-order').then((m) => m.memberOrderFactory()),\n [RootConfig.entities.memberOrderLine.name]: () =>\n import('@acorex-platform/module-order-management-client/contracts/entities/member-order-line').then((m) => m.memberOrderLineFactory()),\n },\n });\n}\n\nexport { orderManagementLocalEntityCatalog } from '@acorex-platform/module-order-management-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,mCAAmC,GAAA;AACjD,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,YAAY,CAAC,IAAI,GAAG,MACvC,OAAO,mFAAmF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,mBAAmB,EAAE,CAAC;AAClI,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,GAAG,MAC3C,OAAO,wFAAwF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAuB,EAAE,CAAC;AAC3I,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,GAAG,MACtC,OAAO,iFAAiF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC;AAC/H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,GAAG,MAC1C,OAAO,sFAAsF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,sBAAsB,EAAE,CAAC;AACzI,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;ACjCA;;AAEG;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-order-management-client-member-order-status.provider-DMVZas07.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/features/bulk-buy-order/member-order-status.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPStatusDefinition, AXPStatusProvider, AXPStatusTransition, AXPSystemStatusType, systemStatusToDefinition } from '@acorex-platform/framework-shared/core';\n\n//#endregion\n\n//#region ---- Member Order Status Provider ----\n\n/**\n * Member Order status provider defining lifecycle states: Pending, Confirmed, Paid, Cancelled.\n * Used by the status plugin to manage member order status transitions and metadata.\n */\nexport class AXMMemberOrderStatusProvider extends AXPStatusProvider {\n readonly key = 'order-management.status.member-order';\n\n readonly defaultStatus = AXPSystemStatusType.Pending;\n\n readonly statuses: AXPStatusDefinition[] = [\n systemStatusToDefinition(AXPSystemStatusType.Pending, {\n title: '@order-management:bulk-buy-orders.states.pending',\n generateView: true,\n }),\n {\n name: 'confirmed',\n title: '@order-management:bulk-buy-orders.states.confirmed',\n color: 'info',\n icon: 'fa-light fa-check',\n order: 2,\n generateView: true,\n },\n {\n name: 'paid',\n title: '@order-management:bulk-buy-orders.states.paid',\n color: 'success',\n icon: 'fa-light fa-check-circle',\n order: 3,\n isFinal: true,\n generateView: true,\n },\n systemStatusToDefinition(AXPSystemStatusType.Cancelled, {\n title: '@order-management:bulk-buy-orders.states.cancelled',\n generateView: true,\n }),\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n {\n from: AXPSystemStatusType.Pending,\n to: 'confirmed',\n title: '@order-management:bulk-buy-orders.transitions.confirm',\n },\n {\n from: 'confirmed',\n to: 'paid',\n title: '@order-management:bulk-buy-orders.transitions.mark-paid',\n },\n {\n from: AXPSystemStatusType.Pending,\n to: AXPSystemStatusType.Cancelled,\n title: '@order-management:bulk-buy-orders.transitions.cancel',\n },\n {\n from: 'confirmed',\n to: AXPSystemStatusType.Cancelled,\n title: '@order-management:bulk-buy-orders.transitions.cancel',\n },\n ];\n}\n\n//#endregion\n\n"],"names":[],"mappings":";;AAAA;AAIA;AAEA;AAEA;;;AAGG;AACG,MAAO,4BAA6B,SAAQ,iBAAiB,CAAA;AAAnE,IAAA,WAAA,GAAA;;QACa,IAAA,CAAA,GAAG,GAAG,sCAAsC;AAE5C,QAAA,IAAA,CAAA,aAAa,GAAG,mBAAmB,CAAC,OAAO;AAE3C,QAAA,IAAA,CAAA,QAAQ,GAA0B;AACvC,YAAA,wBAAwB,CAAC,mBAAmB,CAAC,OAAO,EAAE;AAClD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
1
|
+
{"version":3,"file":"acorex-platform-module-order-management-client-member-order-status.provider-DMVZas07.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/features/bulk-buy-order/member-order-status.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPStatusDefinition, AXPStatusProvider, AXPStatusTransition, AXPSystemStatusType, systemStatusToDefinition } from '@acorex-platform/framework-shared/core';\n\n//#endregion\n\n//#region ---- Member Order Status Provider ----\n\n/**\n * Member Order status provider defining lifecycle states: Pending, Confirmed, Paid, Cancelled.\n * Used by the status plugin to manage member order status transitions and metadata.\n */\nexport class AXMMemberOrderStatusProvider extends AXPStatusProvider {\n readonly key = 'order-management.status.member-order';\n\n readonly defaultStatus = AXPSystemStatusType.Pending;\n\n readonly statuses: AXPStatusDefinition[] = [\n systemStatusToDefinition(AXPSystemStatusType.Pending, {\n title: '@order-management:bulk-buy-orders.states.pending',\n generateView: true,\n }),\n {\n name: 'confirmed',\n title: '@order-management:bulk-buy-orders.states.confirmed',\n color: 'info',\n icon: 'fa-light fa-check',\n order: 2,\n generateView: true,\n },\n {\n name: 'paid',\n title: '@order-management:bulk-buy-orders.states.paid',\n color: 'success',\n icon: 'fa-light fa-check-circle',\n order: 3,\n isFinal: true,\n generateView: true,\n },\n systemStatusToDefinition(AXPSystemStatusType.Cancelled, {\n title: '@order-management:bulk-buy-orders.states.cancelled',\n generateView: true,\n }),\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n {\n from: AXPSystemStatusType.Pending,\n to: 'confirmed',\n title: '@order-management:bulk-buy-orders.transitions.confirm',\n },\n {\n from: 'confirmed',\n to: 'paid',\n title: '@order-management:bulk-buy-orders.transitions.mark-paid',\n },\n {\n from: AXPSystemStatusType.Pending,\n to: AXPSystemStatusType.Cancelled,\n title: '@order-management:bulk-buy-orders.transitions.cancel',\n },\n {\n from: 'confirmed',\n to: AXPSystemStatusType.Cancelled,\n title: '@order-management:bulk-buy-orders.transitions.cancel',\n },\n ];\n}\n\n//#endregion\n\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AE,yDAAyD;AACnE,aAAA;AACD,YAAA;gBACI,IAAI,EAAE,mBAAmB,CAAC,OAAO;gBACjC,EAAE,EAAE,mBAAmB,CAAC,SAAS;AACjC,gBAAA,KAAK,EAAE,sDAAsD;AAChE,aAAA;AACD,YAAA;AACI,gBAAA,IAAI,EAAE,WAAW;gBACjB,EAAE,EAAE,mBAAmB,CAAC,SAAS;AACjC,gBAAA,KAAK,EAAE,sDAAsD;AAChE,aAAA;SACJ;IACL;AAAC;AAED;;"}
|
package/fesm2022/acorex-platform-module-order-management-client-menu.provider-BXlthUUX.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-order-management-client-menu.provider-BXlthUUX.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/menu.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPCommonMenuKeys } from '@acorex-platform/module-common-client/contracts';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\n\nimport { inject } from '@angular/core';\nimport {\n RootConfig,\n AXPSalesCustomersPermissionKeys\n} from '@acorex-platform/module-order-management-client/contracts';\nimport { AXMOrderManagementMenuKeys } from '@acorex-platform/module-order-management-client/contracts';\n\n//#endregion\n\n//#region ---- Menu Provider ----\n\nexport class AXMOrderManagementMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const moduleName = module.name;\n const i18n = RootConfig.config.i18n;\n const keys = AXPSalesCustomersPermissionKeys;\n\n context.find(AXPCommonMenuKeys.Commerce).addItems([\n {\n name: AXMOrderManagementMenuKeys.BulkBuyOrders,\n priority: 3,\n text: `@${i18n}:bulk-buy-orders.menus.bulk-buy-orders.title`,\n description: `@${i18n}:bulk-buy-orders.menus.bulk-buy-orders.description`,\n icon: RootConfig.entities.bulkBuyOrder.icon,\n path: this.entityService.createPath(moduleName, RootConfig.entities.bulkBuyOrder.name),\n policy: {\n features: [moduleName],\n permissions: [keys.MaintainOrders],\n },\n },\n {\n name: AXMOrderManagementMenuKeys.AvailableOrders,\n priority: 4,\n text: `@${i18n}:bulk-buy-orders.menus.available-orders.title`,\n description: `@${i18n}:bulk-buy-orders.menus.available-orders.description`,\n icon: RootConfig.entities.bulkBuyOrder.icon,\n path: this.entityService.createPath(moduleName, RootConfig.entities.bulkBuyOrder.name, 'available'),\n policy: {\n features: [moduleName],\n permissions: [keys.MaintainOrders],\n },\n },\n {\n name: AXMOrderManagementMenuKeys.MyOrders,\n priority: 5,\n text: `@${i18n}:bulk-buy-orders.menus.my-orders.title`,\n description: `@${i18n}:bulk-buy-orders.menus.my-orders.description`,\n icon: RootConfig.entities.memberOrder.icon,\n path: this.entityService.createPath(moduleName, RootConfig.entities.memberOrder.name, 'my'),\n policy: {\n features: [moduleName],\n permissions: [keys.MaintainOrders],\n },\n },\n { name: `${AXMOrderManagementMenuKeys.Root}:divider`, text: '', type: 'break', priority: 6 },\n ]);\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAaA;AAEA;MAEa,8BAA8B,CAAA;AAA3C,IAAA,WAAA,GAAA;AACqB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;IAgD7D;IA9CI,MAAM,OAAO,CAAC,OAA+B,EAAA;AACzC,QAAA,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM;AAChC,QAAA,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI;AAC9B,QAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;QACnC,MAAM,IAAI,GAAG,+BAA+B;QAE5C,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC;AAC9C,YAAA;gBACI,IAAI,EAAE,0BAA0B,CAAC,aAAa;AAC9C,gBAAA,QAAQ,EAAE,C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AA8C;AACnE,gBAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,gBAAA,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC;AAC3F,gBAAA,MAAM,EAAE;oBACJ,QAAQ,EAAE,CAAC,UAAU,CAAC;AACtB,oBAAA,WAAW,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC;AACrC,iBAAA;AACJ,aAAA;AACD,YAAA,EAAE,IAAI,EAAE,CAAA,EAAG,0BAA0B,CAAC,IAAI,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE;AAC/F,SAAA,CAAC;IACN;AACH;AAED
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-order-management-client-menu.provider-BXlthUUX.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/menu.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPCommonMenuKeys } from '@acorex-platform/module-common-client/contracts';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\n\nimport { inject } from '@angular/core';\nimport {\n RootConfig,\n AXPSalesCustomersPermissionKeys\n} from '@acorex-platform/module-order-management-client/contracts';\nimport { AXMOrderManagementMenuKeys } from '@acorex-platform/module-order-management-client/contracts';\n\n//#endregion\n\n//#region ---- Menu Provider ----\n\nexport class AXMOrderManagementMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const moduleName = module.name;\n const i18n = RootConfig.config.i18n;\n const keys = AXPSalesCustomersPermissionKeys;\n\n context.find(AXPCommonMenuKeys.Commerce).addItems([\n {\n name: AXMOrderManagementMenuKeys.BulkBuyOrders,\n priority: 3,\n text: `@${i18n}:bulk-buy-orders.menus.bulk-buy-orders.title`,\n description: `@${i18n}:bulk-buy-orders.menus.bulk-buy-orders.description`,\n icon: RootConfig.entities.bulkBuyOrder.icon,\n path: this.entityService.createPath(moduleName, RootConfig.entities.bulkBuyOrder.name),\n policy: {\n features: [moduleName],\n permissions: [keys.MaintainOrders],\n },\n },\n {\n name: AXMOrderManagementMenuKeys.AvailableOrders,\n priority: 4,\n text: `@${i18n}:bulk-buy-orders.menus.available-orders.title`,\n description: `@${i18n}:bulk-buy-orders.menus.available-orders.description`,\n icon: RootConfig.entities.bulkBuyOrder.icon,\n path: this.entityService.createPath(moduleName, RootConfig.entities.bulkBuyOrder.name, 'available'),\n policy: {\n features: [moduleName],\n permissions: [keys.MaintainOrders],\n },\n },\n {\n name: AXMOrderManagementMenuKeys.MyOrders,\n priority: 5,\n text: `@${i18n}:bulk-buy-orders.menus.my-orders.title`,\n description: `@${i18n}:bulk-buy-orders.menus.my-orders.description`,\n icon: RootConfig.entities.memberOrder.icon,\n path: this.entityService.createPath(moduleName, RootConfig.entities.memberOrder.name, 'my'),\n policy: {\n features: [moduleName],\n permissions: [keys.MaintainOrders],\n },\n },\n { name: `${AXMOrderManagementMenuKeys.Root}:divider`, text: '', type: 'break', priority: 6 },\n ]);\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAaA;AAEA;MAEa,8BAA8B,CAAA;AAA3C,IAAA,WAAA,GAAA;AACqB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;IAgD7D;IA9CI,MAAM,OAAO,CAAC,OAA+B,EAAA;AACzC,QAAA,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM;AAChC,QAAA,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI;AAC9B,QAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;QACnC,MAAM,IAAI,GAAG,+BAA+B;QAE5C,OAAO,C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AAA,QAAQ,EAAE,CAAC;gBACX,IAAI,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,sCAAA,CAAwC;gBACtD,WAAW,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,4CAAA,CAA8C;AACnE,gBAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,gBAAA,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC;AAC3F,gBAAA,MAAM,EAAE;oBACJ,QAAQ,EAAE,CAAC,UAAU,CAAC;AACtB,oBAAA,WAAW,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC;AACrC,iBAAA;AACJ,aAAA;AACD,YAAA,EAAE,IAAI,EAAE,CAAA,EAAG,0BAA0B,CAAC,IAAI,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE;AAC/F,SAAA,CAAC;IACN;AACH;AAED;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-order-management-client-permission-definition.provider-C0wAdsnZ.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/permission-definition.provider.ts"],"sourcesContent":["//#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 { AXPSalesCustomersPermissionKeys } from '@acorex-platform/module-order-management-client/contracts';\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers order capabilities under Sales & Customers → Orders.\n */\n@Injectable()\nexport class AXMOrderManagementPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPSalesCustomersPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:sales-customers.permissions';\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\n context\n .addGroup(\n groups.SalesCustomers.Orders,\n `${G}.sales-and-customers-orders.title`,\n `${G}.sales-and-customers-orders.description`,\n { parent: groups.SalesCustomers.Root, order: 30 },\n )\n .addPermission(keys.MaintainOrders, `${P}.maintain-orders.title`, `${P}.maintain-orders.description`)\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAUA;AAEA;AAEA;;AAEG;MAEU,8CAA8C,CAAA;IACzD,MAAM,MAAM,CAAC,OAA+C,EAAA;QAC1D,MAAM,IAAI,GAAG,+BAA+B;QAC5C,MAAM,MAAM,GAAG,4BAA4B;QAC3C,MAAM,CAAC,GAAG,qCAAqC;QAC/C,MAAM,CAAC,GAAG,2BAA2B;QAErC,OAAO,CAAC,QAAQ,CACd,MAAM,CAAC,cAAc,CAAC,IAAI,EAC1B,CAAA,EAAG,CAAC,4BAA4B,EAChC,CAAA,EAAG,CAAC,CAAA,gCAAA,CAAkC,EACtC,EAAE,KAAK,EAAE,EAAE,EAAE,CACd;QAED;AACG,aAAA,QAAQ,CACP,MAAM,CAAC,cAAc,CAAC,MAAM,EAC5B,CAAA,EAAG,CAAC,CAAA,iCAAA,CAAmC,EACvC,CAAA,EAAG,CAAC,CAAA,uCAAA,CAAyC,EAC7C,EAAE,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE;AAElD,aAAA,aAAa,CAAC,IAAI,CAAC,cAAc,EAAE,CAAA,EAAG,CAAC,CAAA,sBAAA,CAAwB,EAAE,CAAA,EAAG,CAAC,CAAA,4BAAA,CAA8B;AACnG,aAAA,aAAa;AACb,aAAA,QAAQ,EAAE;IACf;8GAxBW,8CAA8C,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAA9C,8CAA8C,EAAA,CAAA,CAAA;;2FAA9C,8CAA8C,EAAA,UAAA,EAAA,CAAA;kBAD1D
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-order-management-client-permission-definition.provider-C0wAdsnZ.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/permission-definition.provider.ts"],"sourcesContent":["//#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 { AXPSalesCustomersPermissionKeys } from '@acorex-platform/module-order-management-client/contracts';\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers order capabilities under Sales & Customers → Orders.\n */\n@Injectable()\nexport class AXMOrderManagementPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPSalesCustomersPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:sales-customers.permissions';\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\n context\n .addGroup(\n groups.SalesCustomers.Orders,\n `${G}.sales-and-customers-orders.title`,\n `${G}.sales-and-customers-orders.description`,\n { parent: groups.SalesCustomers.Root, order: 30 },\n )\n .addPermission(keys.MaintainOrders, `${P}.maintain-orders.title`, `${P}.maintain-orders.description`)\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAUA;AAEA;AAEA;;AAEG;MAEU,8CAA8C,CAAA;IACzD,MAAM,MAAM,CAAC,OAA+C,EAAA;QAC1D,MAAM,IAAI,GAAG,+BAA+B;QAC5C,MAAM,MAAM,GAAG,4BAA4B;QAC3C,MAAM,CAAC,GAAG,qCAAqC;QAC/C,MAAM,CAAC,GAAG,2BAA2B;QAErC,OAAO,CAAC,QAAQ,CACd,MAAM,CAAC,cAAc,CAAC,IAAI,EAC1B,CAAA,EAAG,CAAC,4BAA4B,EAChC,CAAA,EAAG,CAAC,CAAA,gCAAA,CAAkC,EACtC,EAAE,KAAK,EAAE,EAAE,EAAE,CACd;QAED;AACG,aAAA,QAAQ,CACP,MAAM,CAAC,cAAc,CAAC,MAAM,EAC5B,CAAA,EAAG,CAAC,CAAA,iCAAA,CAAmC,EACvC,CAAA,EAAG,CAAC,CAAA,uCAAA,CAAyC,EAC7C,EAAE,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE;AAElD,aAAA,aAAa,CAAC,IAAI,CAAC,cAAc,EAAE,CAAA,EAAG,CAAC,CAAA,sBAAA,CAAwB,EAAE,CAAA,EAAG,CAAC,CAAA,4BAAA,CAA8B;AACnG,aAAA,aAAa;AACb,aAAA,QAAQ,EAAE;IACf;8GAxBW,8CAA8C,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAA9C,8CAA8C,EAAA,CAAA,CAAA;;2FAA9C,8CAA8C,EAAA,UAAA,EAAA,CAAA;kBAD1D;;;"}
|
package/fesm2022/acorex-platform-module-order-management-client-settings.provider-DVCQ3vhJ.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-order-management-client-settings.provider-DVCQ3vhJ.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/settings.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from '@acorex-platform/module-order-management-client/contracts';\nimport { AXMOrderManagementSettings } from '@acorex-platform/module-order-management-client/contracts';\n\n//#endregion\n\n//#region ---- Settings Provider ----\n\nconst I18N = `@${RootConfig.config.i18n}:bulk-buy-orders.settings`;\n\nexport class AXMOrderManagementSettingProvider implements AXPSettingDefinitionProvider {\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // context\n // .addGroup(\n // 'bulk-buy',\n // `${I18N}.bulk-buy.nav-title`,\n // `${I18N}.bulk-buy.description`,\n // RootConfig.module.icon,\n // `${I18N}.bulk-buy.title`,\n // )\n // .addSection('tax', `${I18N}.tax.title`, `${I18N}.tax.description`)\n // .addSetting({\n // key: AXMOrderManagementSettings.TaxRate,\n // title: `${I18N}.tax.items.tax-rate.title`,\n // scope: 'T',\n // isInherited: true,\n // defaultValue: 15,\n // widget: {\n // type: AXPWidgetsList.Editors.NumberBox,\n // options: {\n // minValue: 0,\n // maxValue: 100,\n // decimals: 2,\n // },\n // },\n // description: `${I18N}.tax.items.tax-rate.description`,\n // validationRules: [\n // {\n // rule: 'required',\n // },\n // {\n // rule: 'minValue',\n // options: {\n // value: 0,\n // },\n // },\n // {\n // rule: 'maxValue',\n // options: {\n // value: 100,\n // },\n // },\n // ],\n // })\n // .endSection()\n // .endGroup();\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;AAAA;AAOA;AAEA;AAEA,MAAM,IAAI,GAAG,CAAA,CAAA,EAAI,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAA,CAA2B;MAErD,iCAAiC,CAAA;IAC5C,MAAM,OAAO,CAAC,OAA4C,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6C1D;AACD;AAED
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-order-management-client-settings.provider-DVCQ3vhJ.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/settings.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from '@acorex-platform/module-order-management-client/contracts';\nimport { AXMOrderManagementSettings } from '@acorex-platform/module-order-management-client/contracts';\n\n//#endregion\n\n//#region ---- Settings Provider ----\n\nconst I18N = `@${RootConfig.config.i18n}:bulk-buy-orders.settings`;\n\nexport class AXMOrderManagementSettingProvider implements AXPSettingDefinitionProvider {\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // context\n // .addGroup(\n // 'bulk-buy',\n // `${I18N}.bulk-buy.nav-title`,\n // `${I18N}.bulk-buy.description`,\n // RootConfig.module.icon,\n // `${I18N}.bulk-buy.title`,\n // )\n // .addSection('tax', `${I18N}.tax.title`, `${I18N}.tax.description`)\n // .addSetting({\n // key: AXMOrderManagementSettings.TaxRate,\n // title: `${I18N}.tax.items.tax-rate.title`,\n // scope: 'T',\n // isInherited: true,\n // defaultValue: 15,\n // widget: {\n // type: AXPWidgetsList.Editors.NumberBox,\n // options: {\n // minValue: 0,\n // maxValue: 100,\n // decimals: 2,\n // },\n // },\n // description: `${I18N}.tax.items.tax-rate.description`,\n // validationRules: [\n // {\n // rule: 'required',\n // },\n // {\n // rule: 'minValue',\n // options: {\n // value: 0,\n // },\n // },\n // {\n // rule: 'maxValue',\n // options: {\n // value: 100,\n // },\n // },\n // ],\n // })\n // .endSection()\n // .endGroup();\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;AAAA;AAOA;AAEA;AAEA,MAAM,IAAI,GAAG,CAAA,CAAA,EAAI,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAA,CAA2B;MAErD,iCAAiC,CAAA;IAC5C,MAAM,OAAO,CAAC,OAA4C,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6C1D;AACD;AAED;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-order-management-client.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/manifest.ts","../../../../libs/modules/order-management/client/src/lib/features/bulk-buy-order/bulk-buy-order.module.ts","../../../../libs/modules/order-management/client/src/lib/features/profile-page/order-management-profile-sections.hook.ts","../../../../libs/modules/order-management/client/src/lib/order-management.module.ts","../../../../libs/modules/order-management/client/src/acorex-platform-module-order-management-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-order-management-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Order Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const OrderManagementManifest: 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\n dependencies: [\n 'FinancialCore',\n 'ProductCatalog',\n 'MeasurementCore',\n 'PersonCore',\n 'SecurityManagement',\n 'CommunicationManagement',\n ],\n};\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { NgModule } from '@angular/core';\nimport { AXP_STATUS_PROVIDERS } from '@acorex-platform/framework-client/common';\nimport { provideLazyProvider } from '@acorex-platform/framework-client/core';\n\n//#endregion\n\n//#region ---- Bulk Buy Order Feature Module ----\n\n/**\n * Feature module for Bulk Buy Order functionality.\n * Contains status providers and identifier rules for the bulk buy order feature.\n */\n@NgModule({\n imports: [],\n providers: [\n // Status Providers\n provideLazyProvider(\n AXP_STATUS_PROVIDERS,\n () => import('./bulk-buy-order-status.provider').then(m => m.AXMBulkBuyOrderStatusProvider)\n ),\n provideLazyProvider(\n AXP_STATUS_PROVIDERS,\n () => import('./member-order-status.provider').then(m => m.AXMMemberOrderStatusProvider)\n ),\n // Identifier Rules\n\n ],\n})\nexport class AXMBulkBuyOrderModule { }\n\n//#endregion\n\n","import { AXPExecuteCommand } from '@acorex-platform/framework-shared/core';\nimport { AXPDistributedEventListenerProvider } from '@acorex-platform/framework-client/core';\n\n//#region ---- Types ----\n\ntype ProfileSectionsPayload = {\n sections: Record<string, unknown>[];\n groupId?: string;\n};\n\n//#endregion\n\n//#region ---- Helpers ----\n\nconst comingSoon = (messageKey: string): AXPExecuteCommand => ({\n name: 'auth:profile-coming-soon',\n options: { messageKey },\n});\n\n//#endregion\n\n//#region ---- Order management profile sections ----\n\n/** Contributes order management sections to the user profile hub. */\nexport const OrderManagementProfileSectionsHookProvider: AXPDistributedEventListenerProvider<\n ProfileSectionsPayload,\n ProfileSectionsPayload\n> = {\n key: 'profile-page.sections',\n priority: 10,\n execute: (payload) => {\n if (payload.groupId && payload.groupId !== 'requests') {\n return payload;\n }\n\n return {\n ...payload,\n sections: [\n ...payload.sections,\n {\n id: 'my-orders',\n groupId: 'requests',\n title: '@order-management:profile-page.sections.my-orders.title',\n description: '@order-management:profile-page.sections.my-orders.description',\n icon: 'far fa-cart-shopping',\n priority: 30,\n layout: { colSpan: 6 },\n actions: [\n {\n name: 'view-my-orders',\n title: '@order-management:profile-page.sections.my-orders.actions.manage',\n icon: 'far fa-arrow-right',\n command: comingSoon('@order-management:profile-page.commands.view-my-orders.coming-soon'),\n },\n ],\n },\n ],\n };\n },\n};\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { NgModule } from '@angular/core';\nimport { AXP_MODULE_MANIFEST_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { OrderManagementManifest } from './manifest';\nimport { AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXMBulkBuyOrderModule } from './features/bulk-buy-order/bulk-buy-order.module';\nimport { OrderManagementProfileSectionsHookProvider } from './features/profile-page/order-management-profile-sections.hook';\n\n//#endregion\n\n//#region ---- Order Management Module ----\n\n@NgModule({\n imports: [\n // Feature Modules\n AXMBulkBuyOrderModule,\n ],\n providers: [\n // Settings Provider (lazy loaded)\n provideLazyProvider(\n AXP_SETTING_DEFINITION_PROVIDER,\n () => import('./settings.provider').then(m => m.AXMOrderManagementSettingProvider)\n ),\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: OrderManagementManifest,\n multi: true,\n },\n // Provider references (lazy loaded)\n provideLazyProvider(\n AXP_PERMISSION_DEFINITION_PROVIDER,\n () => import('./permission-definition.provider').then(m => m.AXMOrderManagementPermissionDefinitionProvider)\n ),\n provideLazyProvider(\n AXP_MENU_PROVIDER,\n () => import('./menu.provider').then(m => m.AXMOrderManagementMenuProvider)\n ),\n \n provideLazyProvider(\n AXP_FEATURE_DEFINITION_PROVIDER,\n () => import('./feature-definition.provider').then(m => m.AXMOrderManagementFeatureDefinitionProvider)\n ),\n {\n provide: AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER,\n useValue: OrderManagementProfileSectionsHookProvider,\n multi: true,\n },\n ],\n})\nexport class AXMOrderManagementModule { }\n\n//#endregion\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,uBAAuB,GAAsB;AACxD,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;AAE5B,IAAA,IAAI,EAAE,QAAQ;AACd,IAAA,MAAM,EAAE,kBAAkB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AI,CAAC,CAAC,IAAI,CAAC,CAAC,iCAAiC,CAAC,CACrF;;AAED,wBAAA;AACI,4BAAA,OAAO,EAAE,4BAA4B;AACrC,4BAAA,QAAQ,EAAE,uBAAuB;AACjC,4BAAA,KAAK,EAAE,IAAI;AACd,yBAAA;;wBAED,mBAAmB,CACf,kCAAkC,EAClC,MAAM,OAAO,8FAAkC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,8CAA8C,CAAC,CAC/G;wBACD,mBAAmB,CACf,iBAAiB,EACjB,MAAM,OAAO,6EAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,8BAA8B,CAAC,CAC9E;wBAED,mBAAmB,CACf,+BAA+B,EAC/B,MAAM,OAAO,2FAA+B,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,2CAA2C,CAAC,CACzG;AACD,wBAAA;AACI,4BAAA,OAAO,EAAE,uCAAuC;AAChD,4BAAA,QAAQ,EAAE,0CAA0C;AACpD,4BAAA,KAAK,EAAE,IAAI;AACd,yBAAA;AACJ,qBAAA;AACJ,iBAAA;;;ACnDD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-order-management-client.mjs","sources":["../../../../libs/modules/order-management/client/src/lib/manifest.ts","../../../../libs/modules/order-management/client/src/lib/features/bulk-buy-order/bulk-buy-order.module.ts","../../../../libs/modules/order-management/client/src/lib/features/profile-page/order-management-profile-sections.hook.ts","../../../../libs/modules/order-management/client/src/lib/order-management.module.ts","../../../../libs/modules/order-management/client/src/acorex-platform-module-order-management-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-order-management-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Order Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const OrderManagementManifest: 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\n dependencies: [\n 'FinancialCore',\n 'ProductCatalog',\n 'MeasurementCore',\n 'PersonCore',\n 'SecurityManagement',\n 'CommunicationManagement',\n ],\n};\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { NgModule } from '@angular/core';\nimport { AXP_STATUS_PROVIDERS } from '@acorex-platform/framework-client/common';\nimport { provideLazyProvider } from '@acorex-platform/framework-client/core';\n\n//#endregion\n\n//#region ---- Bulk Buy Order Feature Module ----\n\n/**\n * Feature module for Bulk Buy Order functionality.\n * Contains status providers and identifier rules for the bulk buy order feature.\n */\n@NgModule({\n imports: [],\n providers: [\n // Status Providers\n provideLazyProvider(\n AXP_STATUS_PROVIDERS,\n () => import('./bulk-buy-order-status.provider').then(m => m.AXMBulkBuyOrderStatusProvider)\n ),\n provideLazyProvider(\n AXP_STATUS_PROVIDERS,\n () => import('./member-order-status.provider').then(m => m.AXMMemberOrderStatusProvider)\n ),\n // Identifier Rules\n\n ],\n})\nexport class AXMBulkBuyOrderModule { }\n\n//#endregion\n\n","import { AXPExecuteCommand } from '@acorex-platform/framework-shared/core';\nimport { AXPDistributedEventListenerProvider } from '@acorex-platform/framework-client/core';\n\n//#region ---- Types ----\n\ntype ProfileSectionsPayload = {\n sections: Record<string, unknown>[];\n groupId?: string;\n};\n\n//#endregion\n\n//#region ---- Helpers ----\n\nconst comingSoon = (messageKey: string): AXPExecuteCommand => ({\n name: 'auth:profile-coming-soon',\n options: { messageKey },\n});\n\n//#endregion\n\n//#region ---- Order management profile sections ----\n\n/** Contributes order management sections to the user profile hub. */\nexport const OrderManagementProfileSectionsHookProvider: AXPDistributedEventListenerProvider<\n ProfileSectionsPayload,\n ProfileSectionsPayload\n> = {\n key: 'profile-page.sections',\n priority: 10,\n execute: (payload) => {\n if (payload.groupId && payload.groupId !== 'requests') {\n return payload;\n }\n\n return {\n ...payload,\n sections: [\n ...payload.sections,\n {\n id: 'my-orders',\n groupId: 'requests',\n title: '@order-management:profile-page.sections.my-orders.title',\n description: '@order-management:profile-page.sections.my-orders.description',\n icon: 'far fa-cart-shopping',\n priority: 30,\n layout: { colSpan: 6 },\n actions: [\n {\n name: 'view-my-orders',\n title: '@order-management:profile-page.sections.my-orders.actions.manage',\n icon: 'far fa-arrow-right',\n command: comingSoon('@order-management:profile-page.commands.view-my-orders.coming-soon'),\n },\n ],\n },\n ],\n };\n },\n};\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { NgModule } from '@angular/core';\nimport { AXP_MODULE_MANIFEST_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { OrderManagementManifest } from './manifest';\nimport { AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXMBulkBuyOrderModule } from './features/bulk-buy-order/bulk-buy-order.module';\nimport { OrderManagementProfileSectionsHookProvider } from './features/profile-page/order-management-profile-sections.hook';\n\n//#endregion\n\n//#region ---- Order Management Module ----\n\n@NgModule({\n imports: [\n // Feature Modules\n AXMBulkBuyOrderModule,\n ],\n providers: [\n // Settings Provider (lazy loaded)\n provideLazyProvider(\n AXP_SETTING_DEFINITION_PROVIDER,\n () => import('./settings.provider').then(m => m.AXMOrderManagementSettingProvider)\n ),\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: OrderManagementManifest,\n multi: true,\n },\n // Provider references (lazy loaded)\n provideLazyProvider(\n AXP_PERMISSION_DEFINITION_PROVIDER,\n () => import('./permission-definition.provider').then(m => m.AXMOrderManagementPermissionDefinitionProvider)\n ),\n provideLazyProvider(\n AXP_MENU_PROVIDER,\n () => import('./menu.provider').then(m => m.AXMOrderManagementMenuProvider)\n ),\n \n provideLazyProvider(\n AXP_FEATURE_DEFINITION_PROVIDER,\n () => import('./feature-definition.provider').then(m => m.AXMOrderManagementFeatureDefinitionProvider)\n ),\n {\n provide: AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER,\n useValue: OrderManagementProfileSectionsHookProvider,\n multi: true,\n },\n ],\n})\nexport class AXMOrderManagementModule { }\n\n//#endregion\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,uBAAuB,GAAsB;AACxD,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;AAE5B,IAAA,IAAI,EAAE,QAAQ;AACd,IAAA,MAAM,EAAE,kBAAkB;;AAE1B,IAAA,YAAY,EAAE;QACZ,eAAe;QACf,gBAAgB;QAChB,iBAAiB;QACjB,YAAY;QACZ,oBAAoB;QACpB,yBAAyB;AAC1B,KAAA;CACF;AAED;;ACjCA;AAMA;AAEA;AAEA;;;AAGG;MAiBU,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,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,EAAA,SAAA,EAdnB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,IAAI,CAAC,CAAC,2CAA2C,CAAC,CACzG;AACD,wBAAA;AACI,4BAAA,OAAO,EAAE,uCAAuC;AAChD,4BAAA,QAAQ,EAAE,0CAA0C;AACpD,4BAAA,KAAK,EAAE,IAAI;AACd,yBAAA;AACJ,qBAAA;AACJ,iBAAA;;;ACnDD;;AAEG;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex-platform/module-order-management-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0 || ^22.0.0",
|
|
@@ -22,6 +22,30 @@
|
|
|
22
22
|
"./contracts": {
|
|
23
23
|
"types": "./types/acorex-platform-module-order-management-client-contracts.d.ts",
|
|
24
24
|
"default": "./fesm2022/acorex-platform-module-order-management-client-contracts.mjs"
|
|
25
|
+
},
|
|
26
|
+
"./contracts/entities/bulk-buy-order": {
|
|
27
|
+
"types": "./types/acorex-platform-module-order-management-client-contracts-entities-bulk-buy-order.d.ts",
|
|
28
|
+
"default": "./fesm2022/acorex-platform-module-order-management-client-contracts-entities-bulk-buy-order.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./contracts/entities/bulk-buy-order-item": {
|
|
31
|
+
"types": "./types/acorex-platform-module-order-management-client-contracts-entities-bulk-buy-order-item.d.ts",
|
|
32
|
+
"default": "./fesm2022/acorex-platform-module-order-management-client-contracts-entities-bulk-buy-order-item.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./contracts/entities/member-order": {
|
|
35
|
+
"types": "./types/acorex-platform-module-order-management-client-contracts-entities-member-order.d.ts",
|
|
36
|
+
"default": "./fesm2022/acorex-platform-module-order-management-client-contracts-entities-member-order.mjs"
|
|
37
|
+
},
|
|
38
|
+
"./contracts/entities/member-order-line": {
|
|
39
|
+
"types": "./types/acorex-platform-module-order-management-client-contracts-entities-member-order-line.d.ts",
|
|
40
|
+
"default": "./fesm2022/acorex-platform-module-order-management-client-contracts-entities-member-order-line.mjs"
|
|
41
|
+
},
|
|
42
|
+
"./contracts/entity-catalog": {
|
|
43
|
+
"types": "./types/acorex-platform-module-order-management-client-contracts-entity-catalog.d.ts",
|
|
44
|
+
"default": "./fesm2022/acorex-platform-module-order-management-client-contracts-entity-catalog.mjs"
|
|
45
|
+
},
|
|
46
|
+
"./local-entities": {
|
|
47
|
+
"types": "./types/acorex-platform-module-order-management-client-local-entities.d.ts",
|
|
48
|
+
"default": "./fesm2022/acorex-platform-module-order-management-client-local-entities.mjs"
|
|
25
49
|
}
|
|
26
50
|
},
|
|
27
51
|
"type": "module"
|