@acorex-platform/module-subscription-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.
Files changed (26) hide show
  1. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entities-subscription-plan-item.mjs +293 -0
  2. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entities-subscription-plan-item.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entities-subscription-plan.mjs +279 -0
  4. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entities-subscription-plan.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entities-subscription.mjs +462 -0
  6. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entities-subscription.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entity-catalog-acorex-platform-module-subscription-management-client-contracts-entity-catalog-N9RWLoZU.mjs +66 -0
  8. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entity-catalog-acorex-platform-module-subscription-management-client-contracts-entity-catalog-N9RWLoZU.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entity-catalog-subscription-plan-item.entity-D_NJNqjW.mjs +248 -0
  10. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entity-catalog-subscription-plan-item.entity-D_NJNqjW.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entity-catalog-subscription-plan.entity-DxT6zC3W.mjs +234 -0
  12. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entity-catalog-subscription-plan.entity-DxT6zC3W.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entity-catalog-subscription.entity-Crl7HVX2.mjs +417 -0
  14. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entity-catalog-subscription.entity-Crl7HVX2.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entity-catalog.mjs +2 -0
  16. package/fesm2022/acorex-platform-module-subscription-management-client-contracts-entity-catalog.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-subscription-management-client-contracts.mjs.map +1 -1
  18. package/fesm2022/acorex-platform-module-subscription-management-client-local-entities.mjs +31 -0
  19. package/fesm2022/acorex-platform-module-subscription-management-client-local-entities.mjs.map +1 -0
  20. package/fesm2022/acorex-platform-module-subscription-management-client.mjs.map +1 -1
  21. package/package.json +21 -1
  22. package/types/acorex-platform-module-subscription-management-client-contracts-entities-subscription-plan-item.d.ts +5 -0
  23. package/types/acorex-platform-module-subscription-management-client-contracts-entities-subscription-plan.d.ts +5 -0
  24. package/types/acorex-platform-module-subscription-management-client-contracts-entities-subscription.d.ts +5 -0
  25. package/types/acorex-platform-module-subscription-management-client-contracts-entity-catalog.d.ts +10 -0
  26. package/types/acorex-platform-module-subscription-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,417 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-subscription-management-client-contracts-entity-catalog-acorex-platform-module-subscription-management-client-contracts-entity-catalog-N9RWLoZU.mjs';
4
+
5
+ //#endregion
6
+ //#region ---- Subscription Entity Factory ----
7
+ async function subscriptionEntityFactory() {
8
+ const i18n = RootConfig.config.i18n + ':subscriptions.entities.subscription';
9
+ const entityDef = {
10
+ module: RootConfig.module.name,
11
+ name: RootConfig.entities.subscription.name,
12
+ title: RootConfig.entities.subscription.title,
13
+ icon: RootConfig.entities.subscription.icon,
14
+ formats: {
15
+ individual: RootConfig.entities.subscription.title,
16
+ plural: RootConfig.entities.subscription.titlePlural,
17
+ searchResult: {
18
+ title: '{{ context.eval("title", { pipes: ["translate"] }) + " - " + context.eval("subscriber.title", { pipes: ["translate"] }) }}',
19
+ description: '{{ description }}',
20
+ },
21
+ },
22
+ plugins: [
23
+ {
24
+ name: 'status',
25
+ options: {
26
+ field: 'statusId',
27
+ definition: 'subscription-management.status.subscription',
28
+ },
29
+ },
30
+ {
31
+ name: 'identifier',
32
+ options: {
33
+ field: 'id',
34
+ rule: 'subscription-management.subscription-id',
35
+ },
36
+ },
37
+ { name: 'history' },
38
+ { name: 'compare' },
39
+ {
40
+ name: 'notes',
41
+ },
42
+ ],
43
+ groups: [
44
+ {
45
+ id: 'basic-info',
46
+ title: `@${i18n}.groups.basic-info`,
47
+ },
48
+ {
49
+ id: 'subscription-details',
50
+ title: `@${i18n}.groups.subscription-details`,
51
+ },
52
+ ],
53
+ properties: [
54
+ {
55
+ name: 'id',
56
+ title: 'ID',
57
+ groupId: 'basic-info',
58
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
59
+ },
60
+ {
61
+ name: 'planId',
62
+ title: `@${i18n}.fields.plan.title`,
63
+ groupId: 'subscription-details',
64
+ options: {
65
+ sort: { enabled: true },
66
+ filter: {
67
+ advance: { enabled: true },
68
+ inline: { enabled: true },
69
+ },
70
+ },
71
+ schema: {
72
+ dataType: 'string',
73
+ interface: {
74
+ type: AXPWidgetsList.Editors.LookupBox,
75
+ options: {
76
+ entity: `${RootConfig.module.name}.${RootConfig.entities.subscriptionPlan.name}`,
77
+ textField: 'title',
78
+ valueField: 'id',
79
+ look: 'select',
80
+ expose: [
81
+ { source: 'id', target: 'plan.id' },
82
+ { source: 'title', target: 'plan.title' },
83
+ { source: 'description', target: 'plan.description' },
84
+ { source: 'subscribableType', target: 'plan.subscribableType' },
85
+ ],
86
+ },
87
+ },
88
+ },
89
+ validations: [
90
+ {
91
+ rule: 'required',
92
+ },
93
+ ],
94
+ },
95
+ {
96
+ name: 'subscriberId',
97
+ title: `@${i18n}.fields.subscriber.title`,
98
+ groupId: 'subscription-details',
99
+ options: {
100
+ sort: { enabled: true },
101
+ filter: {
102
+ advance: { enabled: true },
103
+ inline: { enabled: true },
104
+ },
105
+ },
106
+ schema: {
107
+ dataType: 'string',
108
+ interface: {
109
+ type: AXPWidgetsList.Editors.LookupBox,
110
+ options: {
111
+ // Dynamic entity based on plan's subscribableType
112
+ // Will be resolved based on plan.subscribableType
113
+ entity: `TenantManagement.Tenant`,
114
+ textField: 'title',
115
+ valueField: 'id',
116
+ look: 'select',
117
+ expose: [
118
+ { source: 'id', target: 'subscriber.id' },
119
+ { source: 'title', target: 'subscriber.title' },
120
+ { source: 'title', target: 'subscriber.displayName' },
121
+ ],
122
+ // Filter will be applied based on plan's subscribableType
123
+ triggers: [
124
+ {
125
+ event: "{{ events.context('planId') }}",
126
+ action: `{{ widget.refresh() }}`,
127
+ },
128
+ ],
129
+ },
130
+ },
131
+ },
132
+ validations: [
133
+ {
134
+ rule: 'required',
135
+ },
136
+ ],
137
+ },
138
+ {
139
+ name: 'title',
140
+ title: `@${i18n}.fields.title.title`,
141
+ groupId: 'basic-info',
142
+ options: {
143
+ sort: { enabled: true },
144
+ filter: {
145
+ advance: { enabled: true },
146
+ inline: { enabled: true },
147
+ },
148
+ },
149
+ schema: {
150
+ dataType: 'object',
151
+ interface: {
152
+ type: AXPWidgetsList.Editors.TextBox,
153
+ options: {
154
+ placeholder: `@${i18n}.fields.title.placeholder`,
155
+ multiLanguage: true,
156
+ },
157
+ },
158
+ },
159
+ },
160
+ {
161
+ name: 'description',
162
+ title: `@${i18n}.fields.description.title`,
163
+ groupId: 'basic-info',
164
+ options: {
165
+ sort: { enabled: true },
166
+ filter: {
167
+ advance: { enabled: true },
168
+ inline: { enabled: false },
169
+ },
170
+ },
171
+ schema: {
172
+ dataType: 'object',
173
+ interface: {
174
+ type: AXPWidgetsList.Editors.LargeTextBox,
175
+ options: {
176
+ rows: 3,
177
+ multiLanguage: true,
178
+ },
179
+ },
180
+ },
181
+ },
182
+ {
183
+ name: 'startDate',
184
+ title: `@${i18n}.fields.start-date.title`,
185
+ groupId: 'subscription-details',
186
+ options: {
187
+ sort: { enabled: true },
188
+ filter: {
189
+ advance: { enabled: true },
190
+ inline: { enabled: true },
191
+ },
192
+ },
193
+ schema: {
194
+ dataType: 'date',
195
+ interface: {
196
+ type: AXPWidgetsList.Editors.DateTimeBox,
197
+ options: {
198
+ format: 'date',
199
+ },
200
+ },
201
+ },
202
+ validations: [
203
+ {
204
+ rule: 'required',
205
+ },
206
+ ],
207
+ },
208
+ {
209
+ name: 'endDate',
210
+ title: `@${i18n}.fields.end-date.title`,
211
+ groupId: 'subscription-details',
212
+ options: {
213
+ sort: { enabled: true },
214
+ filter: {
215
+ advance: { enabled: true },
216
+ inline: { enabled: true },
217
+ },
218
+ },
219
+ schema: {
220
+ dataType: 'date',
221
+ interface: {
222
+ type: AXPWidgetsList.Editors.DateTimeBox,
223
+ options: {
224
+ format: 'date',
225
+ },
226
+ },
227
+ },
228
+ },
229
+ ],
230
+ columns: [
231
+ { name: 'title' },
232
+ { name: 'planId', options: { dataPath: 'plan' } },
233
+ { name: 'subscriberId', options: { dataPath: 'subscriber' } },
234
+ { name: 'statusId' },
235
+ { name: 'startDate' },
236
+ { name: 'endDate' },
237
+ ],
238
+ interfaces: {
239
+ master: {
240
+ create: {
241
+ sections: [
242
+ {
243
+ id: 'basic-info',
244
+ },
245
+ {
246
+ id: 'subscription-details',
247
+ },
248
+ ],
249
+ properties: [
250
+ {
251
+ name: 'title',
252
+ layout: {
253
+ positions: {
254
+ lg: {
255
+ colSpan: 12,
256
+ },
257
+ },
258
+ },
259
+ },
260
+ {
261
+ name: 'description',
262
+ layout: {
263
+ positions: {
264
+ lg: {
265
+ colSpan: 12,
266
+ },
267
+ },
268
+ },
269
+ },
270
+ {
271
+ name: 'planId',
272
+ layout: {
273
+ positions: {
274
+ lg: {
275
+ colSpan: 12,
276
+ },
277
+ },
278
+ },
279
+ },
280
+ {
281
+ name: 'subscriberId',
282
+ layout: {
283
+ positions: {
284
+ lg: {
285
+ colSpan: 12,
286
+ },
287
+ },
288
+ },
289
+ },
290
+ {
291
+ name: 'startDate',
292
+ layout: {
293
+ positions: {
294
+ lg: {
295
+ colSpan: 6,
296
+ },
297
+ },
298
+ },
299
+ },
300
+ {
301
+ name: 'endDate',
302
+ layout: {
303
+ positions: {
304
+ lg: {
305
+ colSpan: 6,
306
+ },
307
+ },
308
+ },
309
+ },
310
+ ],
311
+ },
312
+ update: {
313
+ sections: [
314
+ {
315
+ id: 'basic-info',
316
+ },
317
+ {
318
+ id: 'subscription-details',
319
+ },
320
+ ],
321
+ properties: [
322
+ {
323
+ name: 'title',
324
+ layout: {
325
+ positions: {
326
+ lg: {
327
+ colSpan: 12,
328
+ },
329
+ },
330
+ },
331
+ },
332
+ {
333
+ name: 'description',
334
+ layout: {
335
+ positions: {
336
+ lg: {
337
+ colSpan: 12,
338
+ },
339
+ },
340
+ },
341
+ },
342
+ {
343
+ name: 'planId',
344
+ layout: {
345
+ positions: {
346
+ lg: {
347
+ colSpan: 12,
348
+ },
349
+ },
350
+ },
351
+ },
352
+ {
353
+ name: 'subscriberId',
354
+ layout: {
355
+ positions: {
356
+ lg: {
357
+ colSpan: 12,
358
+ },
359
+ },
360
+ },
361
+ },
362
+ {
363
+ name: 'startDate',
364
+ layout: {
365
+ positions: {
366
+ lg: {
367
+ colSpan: 6,
368
+ },
369
+ },
370
+ },
371
+ },
372
+ {
373
+ name: 'endDate',
374
+ layout: {
375
+ positions: {
376
+ lg: {
377
+ colSpan: 6,
378
+ },
379
+ },
380
+ },
381
+ },
382
+ ],
383
+ },
384
+ list: {
385
+ actions: [...entityMasterCrudActions()],
386
+ views: [
387
+ createAllQueryView({
388
+ sorts: [{ name: 'startDate', dir: 'desc' }],
389
+ }),
390
+ ],
391
+ },
392
+ single: {
393
+ title: '{{ title }} ',
394
+ description: '{{ description }}',
395
+ sections: [
396
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
397
+ { id: 'subscription-details', layout: { positions: { lg: { colSpan: 12 } } } },
398
+ ],
399
+ properties: [
400
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
401
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
402
+ { name: 'planId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
403
+ { name: 'subscriberId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
404
+ { name: 'startDate', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
405
+ { name: 'endDate', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
406
+ ],
407
+ actions: [...entityMasterRecordActions()],
408
+ },
409
+ },
410
+ },
411
+ };
412
+ return entityDef;
413
+ }
414
+ //#endregion
415
+
416
+ export { subscriptionEntityFactory };
417
+ //# sourceMappingURL=acorex-platform-module-subscription-management-client-contracts-entity-catalog-subscription.entity-Crl7HVX2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-subscription-management-client-contracts-entity-catalog-subscription.entity-Crl7HVX2.mjs","sources":["../../../../libs/modules/subscription-management/contracts/src/entities/subscription/subscription.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\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 ---- Subscription Entity Factory ----\n\nexport async function subscriptionEntityFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n + ':subscriptions.entities.subscription';\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.subscription.name,\n title: RootConfig.entities.subscription.title,\n icon: RootConfig.entities.subscription.icon,\n formats: {\n individual: RootConfig.entities.subscription.title,\n plural: RootConfig.entities.subscription.titlePlural,\n searchResult: {\n title:\n '{{ context.eval(\"title\", { pipes: [\"translate\"] }) + \" - \" + context.eval(\"subscriber.title\", { pipes: [\"translate\"] }) }}',\n description: '{{ description }}',\n },\n },\n plugins: [\n {\n name: 'status',\n options: {\n field: 'statusId',\n definition: 'subscription-management.status.subscription',\n },\n },\n {\n name: 'identifier',\n options: {\n field: 'id',\n rule: 'subscription-management.subscription-id',\n },\n },\n { name: 'history' },\n { name: 'compare' },\n {\n name: 'notes',\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: `@${i18n}.groups.basic-info`,\n },\n {\n id: 'subscription-details',\n title: `@${i18n}.groups.subscription-details`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'planId',\n title: `@${i18n}.fields.plan.title`,\n groupId: 'subscription-details',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.subscriptionPlan.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'plan.id' },\n { source: 'title', target: 'plan.title' },\n { source: 'description', target: 'plan.description' },\n { source: 'subscribableType', target: 'plan.subscribableType' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'subscriberId',\n title: `@${i18n}.fields.subscriber.title`,\n groupId: 'subscription-details',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n // Dynamic entity based on plan's subscribableType\n // Will be resolved based on plan.subscribableType\n entity: `TenantManagement.Tenant`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'subscriber.id' },\n { source: 'title', target: 'subscriber.title' },\n { source: 'title', target: 'subscriber.displayName' },\n ],\n // Filter will be applied based on plan's subscribableType\n triggers: [\n {\n event: \"{{ events.context('planId') }}\",\n action: `{{ widget.refresh() }}`,\n },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'title',\n title: `@${i18n}.fields.title.title`,\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: `@${i18n}.fields.title.placeholder`,\n multiLanguage: true,\n },\n },\n },\n },\n {\n name: 'description',\n title: `@${i18n}.fields.description.title`,\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: false },\n },\n },\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n multiLanguage: true,\n },\n },\n },\n },\n {\n name: 'startDate',\n title: `@${i18n}.fields.start-date.title`,\n groupId: 'subscription-details',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: {\n format: 'date',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'endDate',\n title: `@${i18n}.fields.end-date.title`,\n groupId: 'subscription-details',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: {\n format: 'date',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title' },\n { name: 'planId', options: { dataPath: 'plan' } },\n { name: 'subscriberId', options: { dataPath: 'subscriber' } },\n { name: 'statusId' },\n { name: 'startDate' },\n { name: 'endDate' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basic-info',\n },\n {\n id: 'subscription-details',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'planId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'subscriberId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'startDate',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'endDate',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basic-info',\n },\n {\n id: 'subscription-details',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'planId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'subscriberId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'startDate',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'endDate',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'startDate', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ title }} ',\n description: '{{ description }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'subscription-details', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'planId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'subscriberId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'startDate', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'endDate', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,yBAAyB,GAAA;IAC7C,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,GAAG,sCAAsC;AAE5E,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI;AAC3C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,KAAK;AAC7C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI;AAC3C,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,KAAK;AAClD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,WAAW;AACpD,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EACH,4HAA4H;AAC9H,gBAAA,WAAW,EAAE,mBAAmB;AACjC,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA;AACE,gBAAA,IAAI,EAAE,QAAQ;AACd,gBAAA,OAAO,EAAE;AACP,oBAAA,KAAK,EAAE,UAAU;AACjB,oBAAA,UAAU,EAAE,6CAA6C;AAC1D,iBAAA;AACF,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,YAAY;AAClB,gBAAA,OAAO,EAAE;AACP,oBAAA,KAAK,EAAE,IAAI;AACX,oBAAA,IAAI,EAAE,yCAAyC;AAChD,iBAAA;AACF,aAAA;YACD,EAAE,IAAI,EAAE,SAAS,EAAE;YACnB,EAAE,IAAI,EA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,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBACjF,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAC5E,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAClF,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAC9E,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC7E,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -0,0 +1,2 @@
1
+ export { s as subscriptionManagementLocalEntityCatalog } from './acorex-platform-module-subscription-management-client-contracts-entity-catalog-acorex-platform-module-subscription-management-client-contracts-entity-catalog-N9RWLoZU.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-subscription-management-client-contracts-entity-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-subscription-management-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-subscription-management-client-contracts.mjs","sources":["../../../../libs/modules/subscription-management/contracts/src/features.keys.ts","../../../../libs/modules/subscription-management/contracts/src/menu.keys.ts","../../../../libs/modules/subscription-management/contracts/src/permission.keys.ts","../../../../libs/modules/subscription-management/contracts/src/root-config.ts","../../../../libs/modules/subscription-management/contracts/src/entities/subscription/subscription.types.ts","../../../../libs/modules/subscription-management/contracts/src/entities/subscription-plan/subscription-plan.types.ts","../../../../libs/modules/subscription-management/contracts/src/entities/subscription-plan-item/subscription-plan-item.types.ts","../../../../libs/modules/subscription-management/contracts/src/index.ts","../../../../libs/modules/subscription-management/contracts/src/acorex-platform-module-subscription-management-client-contracts.ts"],"sourcesContent":["/**\n * Subscription Management feature keys.\n * ManageSubscriptions is Platform Console edition only (tenant apps use lookups, not menus).\n */\nexport const AXMSubscriptionManagementFeatureKeys = {\n ManageSubscriptions: 'SubscriptionManagement:Feature:ManageSubscriptions',\n} as const;\n","export const AXMSubscriptionManagementMenuKeys = {\n Root: 'SubscriptionManagement:Menu',\n Subscriptions: 'SubscriptionManagement:Menu:Subscriptions',\n SubscriptionPlans: 'SubscriptionManagement:Menu:SubscriptionPlans',\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 AXMPermissionsKeys = {\n SubscriptionManagement: {\n Management: AXPSalesCustomersPermissionKeys.Access,\n Subscriptions: {\n Management: AXPSalesCustomersPermissionKeys.MaintainSubscriptions,\n },\n SubscriptionPlans: {\n Management: AXPSalesCustomersPermissionKeys.MaintainSubscriptions,\n },\n },\n} as const;\n","const config = {\n i18n: 'subscription-management',\n module: 'SubscriptionManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'subscription-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-credit-card',\n },\n entities: {\n subscription: {\n name: 'Subscription',\n source: `${config.module}.Subscription`,\n title: `@${config.i18n}:subscriptions.entities.subscription.title`,\n titlePlural: `@${config.i18n}:subscriptions.entities.subscription.plural`,\n icon: 'fa-light fa-credit-card',\n },\n subscriptionPlan: {\n name: 'SubscriptionPlan',\n source: `${config.module}.SubscriptionPlan`,\n title: `@${config.i18n}:subscriptions.entities.subscription-plan.title`,\n titlePlural: `@${config.i18n}:subscriptions.entities.subscription-plan.plural`,\n icon: 'fa-light fa-box',\n },\n subscriptionPlanItem: {\n name: 'SubscriptionPlanItem',\n source: `${config.module}.SubscriptionPlanItem`,\n title: `@${config.i18n}:subscriptions.entities.subscription-plan-item.title`,\n titlePlural: `@${config.i18n}:subscriptions.entities.subscription-plan-item.plural`,\n icon: 'fa-light fa-list-ul',\n },\n },\n queries: {\n dashboard: {\n subscriptionKpi: `${config.module}:Dashboard:SubscriptionKpi`,\n },\n },\n} as const;\n","import type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Subscription Model ----\n\nexport interface AXMSubscriptionManagementSubscriptionEntityModel extends AXPEntityModel<string> {\n // Reference to the subscriber (who is subscribing)\n subscriberType: string; // e.g., \"Tenant\", \"ApplicationEdition\"\n subscriberId: string;\n subscriber?: {\n id: string;\n title?: AXPMultiLanguageString;\n displayName?: string;\n };\n\n // Subscription Plan\n planId?: string;\n plan?: {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n subscribableType?: string; // Derived from plan - defines what this subscription is for\n };\n\n // Subscription Details\n title?: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n\n // Status\n statusId?: string;\n status?: {\n id: string;\n title: string;\n };\n\n // Dates\n startDate: Date;\n endDate?: Date;\n\n // Metadata\n notes?: string;\n meta?: Record<string, any>;\n\n // Audit fields\n createdAt?: Date;\n updatedAt?: Date;\n}\n\n//#endregion\n","import type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Subscription Plan Model ----\n\nexport interface AXMSubscriptionManagementSubscriptionPlanEntityModel extends AXPEntityModel<string> {\n // Basic Info\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n code?: string;\n\n // Pricing (for future use)\n price?: number;\n currencyId?: string;\n currency?: {\n id: string;\n code: string;\n symbol: string;\n };\n\n // Billing Cycle (for future use)\n billingCycle?: 'monthly' | 'quarterly' | 'yearly';\n\n // Status (added by disable plugin)\n isDisabled?: boolean;\n\n // Metadata\n meta?: Record<string, any>;\n\n // Audit fields\n createdAt?: Date;\n updatedAt?: Date;\n}\n\n//#endregion\n","import type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Subscription Plan Item Model ----\n\nexport interface AXMSubscriptionManagementSubscriptionPlanItemEntityModel extends AXPEntityModel<string> {\n // Reference to Subscription Plan\n planId: string;\n plan?: {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n };\n\n // What this item is for\n subscribableType: string; // e.g., \"ApplicationEdition\" - defines what this item is for\n editionId: string; // Reference to Application Edition\n edition?: {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n };\n\n // Metadata\n meta?: Record<string, any>;\n\n // Audit fields\n createdAt?: Date;\n updatedAt?: Date;\n}\n\n//#endregion\n\n","//#region ---- Contracts barrel ----\n\nexport * from './features.keys';\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":"AAAA;;;AAGG;AACI,MAAM,oCAAoC,GAAG;AAClD,IAAA,mBAAmB,EAAE,oDAAoD;;;ACLpE,MAAM,iCAAiC,GAAG;AAC7C,IAAA,IAAI,EAAE,6BAA6B;AACnC,IAAA,aAAa,EAAE,2CAA2C;AAC1D,IAAA,iBAAiB,EAAE,+CAA+C;;;ACHtE;;;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,kBAAkB,GAAG;AAChC,IAAA,sBAAsB,EAAE;QACtB,UAAU,EAAE,+BAA+B,CAAC,MAAM;AAClD,QAAA,aAAa,EAAE;YACb,UAAU,EAAE,+BAA+B,CAAC,qBAAqB;AAClE,SAAA;AACD,QAAA,iBAAiB,EAAE;YACjB,UAAU,EAAE,+BAA+B,CAAC,qBAAqB;AAClE,SAAA;AACF,KAAA;;;AC3BH,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EAAE,wBAAwB;CACjC;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,yBAAyB;QAChC,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,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HA;;AC9BA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-platform-module-subscription-management-client-contracts.mjs","sources":["../../../../libs/modules/subscription-management/contracts/src/features.keys.ts","../../../../libs/modules/subscription-management/contracts/src/menu.keys.ts","../../../../libs/modules/subscription-management/contracts/src/permission.keys.ts","../../../../libs/modules/subscription-management/contracts/src/root-config.ts","../../../../libs/modules/subscription-management/contracts/src/entities/subscription/subscription.types.ts","../../../../libs/modules/subscription-management/contracts/src/entities/subscription-plan/subscription-plan.types.ts","../../../../libs/modules/subscription-management/contracts/src/entities/subscription-plan-item/subscription-plan-item.types.ts","../../../../libs/modules/subscription-management/contracts/src/index.ts","../../../../libs/modules/subscription-management/contracts/src/acorex-platform-module-subscription-management-client-contracts.ts"],"sourcesContent":["/**\n * Subscription Management feature keys.\n * ManageSubscriptions is Platform Console edition only (tenant apps use lookups, not menus).\n */\nexport const AXMSubscriptionManagementFeatureKeys = {\n ManageSubscriptions: 'SubscriptionManagement:Feature:ManageSubscriptions',\n} as const;\n","export const AXMSubscriptionManagementMenuKeys = {\n Root: 'SubscriptionManagement:Menu',\n Subscriptions: 'SubscriptionManagement:Menu:Subscriptions',\n SubscriptionPlans: 'SubscriptionManagement:Menu:SubscriptionPlans',\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 AXMPermissionsKeys = {\n SubscriptionManagement: {\n Management: AXPSalesCustomersPermissionKeys.Access,\n Subscriptions: {\n Management: AXPSalesCustomersPermissionKeys.MaintainSubscriptions,\n },\n SubscriptionPlans: {\n Management: AXPSalesCustomersPermissionKeys.MaintainSubscriptions,\n },\n },\n} as const;\n","const config = {\n i18n: 'subscription-management',\n module: 'SubscriptionManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'subscription-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-credit-card',\n },\n entities: {\n subscription: {\n name: 'Subscription',\n source: `${config.module}.Subscription`,\n title: `@${config.i18n}:subscriptions.entities.subscription.title`,\n titlePlural: `@${config.i18n}:subscriptions.entities.subscription.plural`,\n icon: 'fa-light fa-credit-card',\n },\n subscriptionPlan: {\n name: 'SubscriptionPlan',\n source: `${config.module}.SubscriptionPlan`,\n title: `@${config.i18n}:subscriptions.entities.subscription-plan.title`,\n titlePlural: `@${config.i18n}:subscriptions.entities.subscription-plan.plural`,\n icon: 'fa-light fa-box',\n },\n subscriptionPlanItem: {\n name: 'SubscriptionPlanItem',\n source: `${config.module}.SubscriptionPlanItem`,\n title: `@${config.i18n}:subscriptions.entities.subscription-plan-item.title`,\n titlePlural: `@${config.i18n}:subscriptions.entities.subscription-plan-item.plural`,\n icon: 'fa-light fa-list-ul',\n },\n },\n queries: {\n dashboard: {\n subscriptionKpi: `${config.module}:Dashboard:SubscriptionKpi`,\n },\n },\n} as const;\n","import type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Subscription Model ----\n\nexport interface AXMSubscriptionManagementSubscriptionEntityModel extends AXPEntityModel<string> {\n // Reference to the subscriber (who is subscribing)\n subscriberType: string; // e.g., \"Tenant\", \"ApplicationEdition\"\n subscriberId: string;\n subscriber?: {\n id: string;\n title?: AXPMultiLanguageString;\n displayName?: string;\n };\n\n // Subscription Plan\n planId?: string;\n plan?: {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n subscribableType?: string; // Derived from plan - defines what this subscription is for\n };\n\n // Subscription Details\n title?: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n\n // Status\n statusId?: string;\n status?: {\n id: string;\n title: string;\n };\n\n // Dates\n startDate: Date;\n endDate?: Date;\n\n // Metadata\n notes?: string;\n meta?: Record<string, any>;\n\n // Audit fields\n createdAt?: Date;\n updatedAt?: Date;\n}\n\n//#endregion\n","import type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Subscription Plan Model ----\n\nexport interface AXMSubscriptionManagementSubscriptionPlanEntityModel extends AXPEntityModel<string> {\n // Basic Info\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n code?: string;\n\n // Pricing (for future use)\n price?: number;\n currencyId?: string;\n currency?: {\n id: string;\n code: string;\n symbol: string;\n };\n\n // Billing Cycle (for future use)\n billingCycle?: 'monthly' | 'quarterly' | 'yearly';\n\n // Status (added by disable plugin)\n isDisabled?: boolean;\n\n // Metadata\n meta?: Record<string, any>;\n\n // Audit fields\n createdAt?: Date;\n updatedAt?: Date;\n}\n\n//#endregion\n","import type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Subscription Plan Item Model ----\n\nexport interface AXMSubscriptionManagementSubscriptionPlanItemEntityModel extends AXPEntityModel<string> {\n // Reference to Subscription Plan\n planId: string;\n plan?: {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n };\n\n // What this item is for\n subscribableType: string; // e.g., \"ApplicationEdition\" - defines what this item is for\n editionId: string; // Reference to Application Edition\n edition?: {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n };\n\n // Metadata\n meta?: Record<string, any>;\n\n // Audit fields\n createdAt?: Date;\n updatedAt?: Date;\n}\n\n//#endregion\n\n","//#region ---- Contracts barrel ----\n\nexport * from './features.keys';\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":"AAAA;;;AAGG;AACI,MAAM,oCAAoC,GAAG;AAClD,IAAA,mBAAmB,EAAE,oDAAoD;;;ACLpE,MAAM,iCAAiC,GAAG;AAC7C,IAAA,IAAI,EAAE,6BAA6B;AACnC,IAAA,aAAa,EAAE,2CAA2C;AAC1D,IAAA,iBAAiB,EAAE,+CAA+C;;;ACHtE;;;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,kBAAkB,GAAG;AAChC,IAAA,sBAAsB,EAAE;QACtB,UAAU,EAAE,+BAA+B,CAAC,MAAM;AAClD,QAAA,aAAa,EAAE;YACb,UAAU,EAAE,+BAA+B,CAAC,qBAAqB;AAClE,SAAA;AACD,QAAA,iBAAiB,EAAE;YACjB,UAAU,EAAE,+BAA+B,CAAC,qBAAqB;AAClE,SAAA;AACF,KAAA;;;AC3BH,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EAAE,wBAAwB;CACjC;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,yBAAyB;QAChC,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,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C,MAAM,CAAA,0BAAA,CAA4B;AAC9D,SAAA;AACF,KAAA;;;ACOH;;ACdA;;ACHA;;AC9BA;;ACAA;;AAEG;;"}
@@ -0,0 +1,31 @@
1
+ import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
2
+ import { RootConfig } from '@acorex-platform/module-subscription-management-client/contracts';
3
+ export { subscriptionManagementLocalEntityCatalog } from '@acorex-platform/module-subscription-management-client/contracts/entity-catalog';
4
+
5
+ //#region ----- Imports -----
6
+ //#endregion
7
+ //#region ----- Provide local entities -----
8
+ /**
9
+ * Registers subscription-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 provideSubscriptionManagementLocalEntities() {
15
+ return provideLocalEntityCatalog({
16
+ moduleName: RootConfig.module.name,
17
+ loaders: {
18
+ [RootConfig.entities.subscription.name]: () => import('@acorex-platform/module-subscription-management-client/contracts/entities/subscription').then((m) => m.subscriptionEntityFactory()),
19
+ [RootConfig.entities.subscriptionPlan.name]: () => import('@acorex-platform/module-subscription-management-client/contracts/entities/subscription-plan').then((m) => m.subscriptionPlanEntityFactory()),
20
+ [RootConfig.entities.subscriptionPlanItem.name]: () => import('@acorex-platform/module-subscription-management-client/contracts/entities/subscription-plan-item').then((m) => m.subscriptionPlanItemEntityFactory()),
21
+ },
22
+ });
23
+ }
24
+ //#endregion
25
+
26
+ /**
27
+ * Generated bundle index. Do not edit.
28
+ */
29
+
30
+ export { provideSubscriptionManagementLocalEntities };
31
+ //# sourceMappingURL=acorex-platform-module-subscription-management-client-local-entities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-subscription-management-client-local-entities.mjs","sources":["../../../../libs/modules/subscription-management/client/src/lib/provide-local-entities.ts","../../../../libs/modules/subscription-management/client/src/lib/acorex-platform-module-subscription-management-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-subscription-management-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers subscription-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 provideSubscriptionManagementLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.subscription.name]: () =>\n import('@acorex-platform/module-subscription-management-client/contracts/entities/subscription').then((m) => m.subscriptionEntityFactory()),\n [RootConfig.entities.subscriptionPlan.name]: () =>\n import('@acorex-platform/module-subscription-management-client/contracts/entities/subscription-plan').then((m) => m.subscriptionPlanEntityFactory()),\n [RootConfig.entities.subscriptionPlanItem.name]: () =>\n import('@acorex-platform/module-subscription-management-client/contracts/entities/subscription-plan-item').then((m) => m.subscriptionPlanItemEntityFactory()),\n },\n });\n}\n\nexport { subscriptionManagementLocalEntityCatalog } from '@acorex-platform/module-subscription-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,0CAA0C,GAAA;AACxD,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,wFAAwF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,EAAE,CAAC;AAC7I,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,GAAG,MAC3C,OAAO,6FAA6F,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,6BAA6B,EAAE,CAAC;AACtJ,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,GAAG,MAC/C,OAAO,kGAAkG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,iCAAiC,EAAE,CAAC;AAChK,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;AC/BA;;AAEG;;"}