@acorex-platform/module-financial-core-client 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-currency.mjs +324 -0
  2. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-currency.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.mjs +380 -0
  4. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.mjs +295 -0
  6. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.mjs +343 -0
  8. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-method.mjs +351 -0
  10. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-method.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-term.mjs +288 -0
  12. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-term.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-class.mjs +282 -0
  14. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-class.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-region.mjs +272 -0
  16. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-region.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.mjs +364 -0
  18. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-acorex-platform-module-financial-core-client-contracts-entity-catalog-DpAVTjcD.mjs +99 -0
  20. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-acorex-platform-module-financial-core-client-contracts-entity-catalog-DpAVTjcD.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-currency.entity-C6VWyRY-.mjs +252 -0
  22. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-currency.entity-C6VWyRY-.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-exchange-rate.entity-D9ZfPYOX.mjs +308 -0
  24. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-exchange-rate.entity-D9ZfPYOX.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-financial-dimension.entity-P6IpxIPP.mjs +223 -0
  26. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-financial-dimension.entity-P6IpxIPP.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-fiscal-calendar.entity-CHFARbBF.mjs +271 -0
  28. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-fiscal-calendar.entity-CHFARbBF.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-method.entity-CWj-4rZX.mjs +279 -0
  30. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-method.entity-CWj-4rZX.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-term.entity-Bpl7usEL.mjs +216 -0
  32. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-term.entity-Bpl7usEL.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-class.entity-l6AYvaaV.mjs +210 -0
  34. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-class.entity-l6AYvaaV.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-region.entity-DVBfpcCF.mjs +200 -0
  36. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-region.entity-DVBfpcCF.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-rule.entity-0_Q8paGB.mjs +292 -0
  38. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-rule.entity-0_Q8paGB.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog.mjs +2 -0
  40. package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-financial-core-client-local-entities.mjs +37 -0
  42. package/fesm2022/acorex-platform-module-financial-core-client-local-entities.mjs.map +1 -0
  43. package/package.json +45 -1
  44. package/types/acorex-platform-module-financial-core-client-contracts-entities-currency.d.ts +5 -0
  45. package/types/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.d.ts +5 -0
  46. package/types/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.d.ts +5 -0
  47. package/types/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.d.ts +5 -0
  48. package/types/acorex-platform-module-financial-core-client-contracts-entities-payment-method.d.ts +5 -0
  49. package/types/acorex-platform-module-financial-core-client-contracts-entities-payment-term.d.ts +5 -0
  50. package/types/acorex-platform-module-financial-core-client-contracts-entities-tax-class.d.ts +5 -0
  51. package/types/acorex-platform-module-financial-core-client-contracts-entities-tax-region.d.ts +5 -0
  52. package/types/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.d.ts +5 -0
  53. package/types/acorex-platform-module-financial-core-client-contracts-entity-catalog.d.ts +10 -0
  54. package/types/acorex-platform-module-financial-core-client-local-entities.d.ts +12 -0
@@ -0,0 +1,380 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'financial-core',
6
+ module: 'FinancialCore',
7
+ };
8
+ const RootConfig = {
9
+ config,
10
+ module: {
11
+ name: config.module,
12
+ title: `@${config.i18n}:module.title`,
13
+ icon: 'fa-light fa-sack-dollar',
14
+ },
15
+ entities: {
16
+ currency: {
17
+ name: 'Currency',
18
+ title: `@${config.i18n}:currencies.entities.currency.title`,
19
+ titlePlural: `@${config.i18n}:currencies.entities.currency.plural`,
20
+ icon: 'fa-light fa-coins',
21
+ },
22
+ exchangeRate: {
23
+ name: 'ExchangeRate',
24
+ title: `@${config.i18n}:exchange-rates.entities.exchange-rate.title`,
25
+ titlePlural: `@${config.i18n}:exchange-rates.entities.exchange-rate.plural`,
26
+ icon: 'fa-light fa-arrows-rotate',
27
+ },
28
+ taxClass: {
29
+ name: 'TaxClass',
30
+ title: `@${config.i18n}:taxation.entities.tax-class.title`,
31
+ titlePlural: `@${config.i18n}:taxation.entities.tax-class.plural`,
32
+ icon: 'fa-light fa-scale-balanced',
33
+ },
34
+ taxRegion: {
35
+ name: 'TaxRegion',
36
+ title: `@${config.i18n}:taxation.entities.tax-region.title`,
37
+ titlePlural: `@${config.i18n}:taxation.entities.tax-region.plural`,
38
+ icon: 'fa-light fa-map-location-dot',
39
+ },
40
+ taxRule: {
41
+ name: 'TaxRule',
42
+ title: `@${config.i18n}:taxation.entities.tax-rule.title`,
43
+ titlePlural: `@${config.i18n}:taxation.entities.tax-rule.plural`,
44
+ icon: 'fa-light fa-scroll',
45
+ },
46
+ paymentTerm: {
47
+ name: 'PaymentTerm',
48
+ title: `@${config.i18n}:payments.entities.payment-term.title`,
49
+ titlePlural: `@${config.i18n}:payments.entities.payment-term.plural`,
50
+ icon: 'fa-light fa-calendar-check',
51
+ },
52
+ paymentMethod: {
53
+ name: 'PaymentMethod',
54
+ title: `@${config.i18n}:payments.entities.payment-method.title`,
55
+ titlePlural: `@${config.i18n}:payments.entities.payment-method.plural`,
56
+ icon: 'fa-light fa-credit-card',
57
+ },
58
+ fiscalCalendar: {
59
+ name: 'FiscalCalendar',
60
+ title: `@${config.i18n}:calendars.entities.fiscal-calendar.title`,
61
+ titlePlural: `@${config.i18n}:calendars.entities.fiscal-calendar.plural`,
62
+ icon: 'fa-light fa-calendar-days',
63
+ },
64
+ financialDimension: {
65
+ name: 'FinancialDimension',
66
+ title: `@${config.i18n}:dimensions.entities.financial-dimension.title`,
67
+ titlePlural: `@${config.i18n}:dimensions.entities.financial-dimension.plural`,
68
+ icon: 'fa-light fa-layer-group',
69
+ },
70
+ },
71
+ };
72
+
73
+ //#endregion
74
+ //#region ---- Entity Factory ----
75
+ async function exchangeRateFactory() {
76
+ const sections = [
77
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
78
+ { id: 'valuation', layout: { positions: { lg: { colSpan: 12 } } } },
79
+ ];
80
+ const propertyLayouts = [
81
+ { name: 'pairCode', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },
82
+ { name: 'title', layout: { positions: { lg: { colSpan: 5, order: 2 } } } },
83
+ { name: 'method', layout: { positions: { lg: { colSpan: 3, order: 3 } } } },
84
+ { name: 'baseCurrencyId', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },
85
+ { name: 'quoteCurrencyId', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },
86
+ { name: 'source', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
87
+ { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 7 } } } },
88
+ { name: 'rate', layout: { positions: { lg: { colSpan: 4, order: 8 } } } },
89
+ { name: 'inverseRate', layout: { positions: { lg: { colSpan: 4, order: 9 } } } },
90
+ { name: 'effectiveFrom', layout: { positions: { lg: { colSpan: 4, order: 10 } } } },
91
+ { name: 'effectiveTo', layout: { positions: { lg: { colSpan: 4, order: 11 } } } },
92
+ ];
93
+ const entityDef = {
94
+ module: RootConfig.module.name,
95
+ name: RootConfig.entities.exchangeRate.name,
96
+ title: RootConfig.entities.exchangeRate.title,
97
+ icon: RootConfig.entities.exchangeRate.icon,
98
+ formats: {
99
+ individual: RootConfig.entities.exchangeRate.title,
100
+ plural: RootConfig.entities.exchangeRate.titlePlural,
101
+ searchResult: {
102
+ title: '{{ pairCode }}',
103
+ description: '{{ context.eval("baseCurrency.title", { pipes: ["translate"] }) + " → " + context.eval("quoteCurrency.title", { pipes: ["translate"] }) }}',
104
+ },
105
+ },
106
+ plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }, { name: 'clone' }],
107
+ groups: [
108
+ { id: 'basic-info', title: '@financial-core:exchange-rates.entities.exchange-rate.groups.basic-info' },
109
+ { id: 'valuation', title: '@financial-core:exchange-rates.entities.exchange-rate.groups.valuation' },
110
+ ],
111
+ properties: [
112
+ {
113
+ name: 'id',
114
+ title: '@general:terms.common.id',
115
+ groupId: 'basic-info',
116
+ schema: {
117
+ dataType: 'uuid',
118
+ visible: false,
119
+ readonly: true,
120
+ unique: { enabled: true },
121
+ },
122
+ },
123
+ {
124
+ name: 'pairCode',
125
+ title: '@financial-core:exchange-rates.entities.exchange-rate.fields.pair-code.title',
126
+ groupId: 'basic-info',
127
+ options: {
128
+ sort: { enabled: true },
129
+ filter: {
130
+ advance: { enabled: true },
131
+ inline: { enabled: true },
132
+ },
133
+ },
134
+ schema: {
135
+ dataType: 'string',
136
+ interface: {
137
+ type: AXPWidgetsList.Editors.TextBox,
138
+ options: {
139
+ mask: 'AAA/AAA',
140
+ placeholder: '@financial-core:exchange-rates.entities.exchange-rate.fields.pair-code.placeholder',
141
+ },
142
+ },
143
+ },
144
+ validations: [{ rule: 'required' }],
145
+ },
146
+ {
147
+ name: 'title',
148
+ title: '@general:terms.common.title',
149
+ groupId: 'basic-info',
150
+ schema: {
151
+ dataType: 'string',
152
+ interface: {
153
+ type: AXPWidgetsList.Editors.TextBox,
154
+ options: {
155
+ placeholder: '@financial-core:exchange-rates.entities.exchange-rate.fields.title.placeholder',
156
+ },
157
+ },
158
+ },
159
+ validations: [{ rule: 'required' }],
160
+ },
161
+ {
162
+ name: 'method',
163
+ title: '@financial-core:exchange-rates.entities.exchange-rate.fields.method.title',
164
+ groupId: 'basic-info',
165
+ schema: {
166
+ dataType: 'string',
167
+ interface: {
168
+ type: AXPWidgetsList.Editors.SelectBox,
169
+ options: {
170
+ valueField: 'value',
171
+ textField: 'text',
172
+ dataSource: [
173
+ {
174
+ value: 'manual',
175
+ text: '@financial-core:exchange-rates.entities.exchange-rate.fields.method.options.manual',
176
+ },
177
+ {
178
+ value: 'market',
179
+ text: '@financial-core:exchange-rates.entities.exchange-rate.fields.method.options.market',
180
+ },
181
+ {
182
+ value: 'central-bank',
183
+ text: '@financial-core:exchange-rates.entities.exchange-rate.fields.method.options.central-bank',
184
+ },
185
+ ],
186
+ },
187
+ },
188
+ },
189
+ validations: [{ rule: 'required' }],
190
+ },
191
+ {
192
+ name: 'baseCurrencyId',
193
+ title: '@financial-core:exchange-rates.entities.exchange-rate.fields.base-currency.title',
194
+ groupId: 'basic-info',
195
+ schema: {
196
+ dataType: 'string',
197
+ interface: {
198
+ type: AXPWidgetsList.Editors.LookupBox,
199
+ options: {
200
+ entity: `${RootConfig.module.name}.${RootConfig.entities.currency.name}`,
201
+ look: 'select',
202
+ expose: [
203
+ { source: 'id', target: 'baseCurrency.id' },
204
+ { source: 'title', target: 'baseCurrency.title' },
205
+ { source: 'symbol', target: 'baseCurrency.symbol' },
206
+ ],
207
+ },
208
+ },
209
+ },
210
+ validations: [{ rule: 'required' }],
211
+ },
212
+ {
213
+ name: 'quoteCurrencyId',
214
+ title: '@financial-core:exchange-rates.entities.exchange-rate.fields.quote-currency.title',
215
+ groupId: 'basic-info',
216
+ schema: {
217
+ dataType: 'string',
218
+ interface: {
219
+ type: AXPWidgetsList.Editors.LookupBox,
220
+ options: {
221
+ entity: `${RootConfig.module.name}.${RootConfig.entities.currency.name}`,
222
+ look: 'select',
223
+ expose: [
224
+ { source: 'id', target: 'quoteCurrency.id' },
225
+ { source: 'title', target: 'quoteCurrency.title' },
226
+ { source: 'symbol', target: 'quoteCurrency.symbol' },
227
+ ],
228
+ },
229
+ },
230
+ },
231
+ validations: [{ rule: 'required' }],
232
+ },
233
+ {
234
+ name: 'source',
235
+ title: '@financial-core:exchange-rates.entities.exchange-rate.fields.source.title',
236
+ groupId: 'basic-info',
237
+ schema: {
238
+ dataType: 'string',
239
+ interface: {
240
+ type: AXPWidgetsList.Editors.TextBox,
241
+ options: {
242
+ placeholder: '@financial-core:exchange-rates.entities.exchange-rate.fields.source.placeholder',
243
+ },
244
+ },
245
+ },
246
+ },
247
+ {
248
+ name: 'status',
249
+ title: '@financial-core:exchange-rates.entities.exchange-rate.fields.status.title',
250
+ groupId: 'basic-info',
251
+ schema: {
252
+ dataType: 'string',
253
+ interface: {
254
+ type: AXPWidgetsList.Editors.SelectBox,
255
+ options: {
256
+ valueField: 'value',
257
+ textField: 'text',
258
+ dataSource: [
259
+ {
260
+ value: 'draft',
261
+ text: '@financial-core:exchange-rates.entities.exchange-rate.fields.status.options.draft',
262
+ },
263
+ {
264
+ value: 'published',
265
+ text: '@financial-core:exchange-rates.entities.exchange-rate.fields.status.options.published',
266
+ },
267
+ {
268
+ value: 'expired',
269
+ text: '@financial-core:exchange-rates.entities.exchange-rate.fields.status.options.expired',
270
+ },
271
+ ],
272
+ },
273
+ },
274
+ },
275
+ },
276
+ {
277
+ name: 'rate',
278
+ title: '@financial-core:exchange-rates.entities.exchange-rate.fields.rate.title',
279
+ groupId: 'valuation',
280
+ schema: {
281
+ dataType: 'number',
282
+ interface: {
283
+ type: AXPWidgetsList.Editors.NumberBox,
284
+ options: {
285
+ minValue: 0,
286
+ step: 0.0001,
287
+ },
288
+ },
289
+ },
290
+ validations: [{ rule: 'required' }],
291
+ },
292
+ {
293
+ name: 'inverseRate',
294
+ title: '@financial-core:exchange-rates.entities.exchange-rate.fields.inverse-rate.title',
295
+ groupId: 'valuation',
296
+ schema: {
297
+ dataType: 'number',
298
+ interface: {
299
+ type: AXPWidgetsList.Editors.NumberBox,
300
+ options: {
301
+ minValue: 0,
302
+ step: 0.0001,
303
+ },
304
+ },
305
+ },
306
+ },
307
+ {
308
+ name: 'effectiveFrom',
309
+ title: '@financial-core:exchange-rates.entities.exchange-rate.fields.effective-from.title',
310
+ groupId: 'valuation',
311
+ schema: {
312
+ dataType: 'date',
313
+ interface: {
314
+ type: AXPWidgetsList.Editors.DateTimeBox,
315
+ options: {
316
+ showTime: true,
317
+ },
318
+ },
319
+ },
320
+ validations: [{ rule: 'required' }],
321
+ },
322
+ {
323
+ name: 'effectiveTo',
324
+ title: '@financial-core:exchange-rates.entities.exchange-rate.fields.effective-to.title',
325
+ groupId: 'valuation',
326
+ schema: {
327
+ dataType: 'date',
328
+ interface: {
329
+ type: AXPWidgetsList.Editors.DateTimeBox,
330
+ options: {
331
+ showTime: true,
332
+ },
333
+ },
334
+ },
335
+ },
336
+ ],
337
+ columns: [
338
+ { name: 'pairCode', options: { width: '140px', order: 1 } },
339
+ { name: 'baseCurrencyId', options: { dataPath: 'baseCurrency.title', width: '200px', order: 2 } },
340
+ { name: 'quoteCurrencyId', options: { dataPath: 'quoteCurrency.title', width: '200px', order: 3 } },
341
+ { name: 'rate', options: { width: '140px', order: 4 } },
342
+ { name: 'effectiveFrom', options: { width: '180px', order: 5 } },
343
+ ],
344
+ interfaces: {
345
+ master: {
346
+ create: {
347
+ sections,
348
+ properties: propertyLayouts,
349
+ },
350
+ update: {
351
+ sections,
352
+ properties: propertyLayouts,
353
+ },
354
+ single: {
355
+ title: '{{ pairCode }}',
356
+ sections,
357
+ properties: propertyLayouts,
358
+ actions: [...entityMasterRecordActions()],
359
+ },
360
+ list: {
361
+ actions: [...entityMasterCrudActions()],
362
+ views: [
363
+ createAllQueryView({
364
+ sorts: [{ name: 'pairCode', dir: 'asc' }],
365
+ }),
366
+ ],
367
+ },
368
+ },
369
+ },
370
+ };
371
+ return entityDef;
372
+ }
373
+ //#endregion
374
+
375
+ /**
376
+ * Generated bundle index. Do not edit.
377
+ */
378
+
379
+ export { exchangeRateFactory };
380
+ //# sourceMappingURL=acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.mjs","sources":["../../../../libs/modules/financial-core/contracts/src/root-config.ts","../../../../libs/modules/financial-core/contracts/src/entities/exchange-rate/exchange-rate.entity.ts","../../../../libs/modules/financial-core/contracts/src/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.ts"],"sourcesContent":["const config = {\n i18n: 'financial-core',\n module: 'FinancialCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-sack-dollar',\n },\n entities: {\n currency: {\n name: 'Currency',\n title: `@${config.i18n}:currencies.entities.currency.title`,\n titlePlural: `@${config.i18n}:currencies.entities.currency.plural`,\n icon: 'fa-light fa-coins',\n },\n exchangeRate: {\n name: 'ExchangeRate',\n title: `@${config.i18n}:exchange-rates.entities.exchange-rate.title`,\n titlePlural: `@${config.i18n}:exchange-rates.entities.exchange-rate.plural`,\n icon: 'fa-light fa-arrows-rotate',\n },\n taxClass: {\n name: 'TaxClass',\n title: `@${config.i18n}:taxation.entities.tax-class.title`,\n titlePlural: `@${config.i18n}:taxation.entities.tax-class.plural`,\n icon: 'fa-light fa-scale-balanced',\n },\n taxRegion: {\n name: 'TaxRegion',\n title: `@${config.i18n}:taxation.entities.tax-region.title`,\n titlePlural: `@${config.i18n}:taxation.entities.tax-region.plural`,\n icon: 'fa-light fa-map-location-dot',\n },\n taxRule: {\n name: 'TaxRule',\n title: `@${config.i18n}:taxation.entities.tax-rule.title`,\n titlePlural: `@${config.i18n}:taxation.entities.tax-rule.plural`,\n icon: 'fa-light fa-scroll',\n },\n paymentTerm: {\n name: 'PaymentTerm',\n title: `@${config.i18n}:payments.entities.payment-term.title`,\n titlePlural: `@${config.i18n}:payments.entities.payment-term.plural`,\n icon: 'fa-light fa-calendar-check',\n },\n paymentMethod: {\n name: 'PaymentMethod',\n title: `@${config.i18n}:payments.entities.payment-method.title`,\n titlePlural: `@${config.i18n}:payments.entities.payment-method.plural`,\n icon: 'fa-light fa-credit-card',\n },\n fiscalCalendar: {\n name: 'FiscalCalendar',\n title: `@${config.i18n}:calendars.entities.fiscal-calendar.title`,\n titlePlural: `@${config.i18n}:calendars.entities.fiscal-calendar.plural`,\n icon: 'fa-light fa-calendar-days',\n },\n financialDimension: {\n name: 'FinancialDimension',\n title: `@${config.i18n}:dimensions.entities.financial-dimension.title`,\n titlePlural: `@${config.i18n}:dimensions.entities.financial-dimension.plural`,\n icon: 'fa-light fa-layer-group',\n },\n },\n} as const;\n","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 ---- Entity Factory ----\n\nexport async function exchangeRateFactory(): Promise<AXPEntity> {\n\n const sections = [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'valuation', layout: { positions: { lg: { colSpan: 12 } } } },\n ];\n\n const propertyLayouts = [\n { name: 'pairCode', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 5, order: 2 } } } },\n { name: 'method', layout: { positions: { lg: { colSpan: 3, order: 3 } } } },\n { name: 'baseCurrencyId', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'quoteCurrencyId', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'source', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 7 } } } },\n { name: 'rate', layout: { positions: { lg: { colSpan: 4, order: 8 } } } },\n { name: 'inverseRate', layout: { positions: { lg: { colSpan: 4, order: 9 } } } },\n { name: 'effectiveFrom', layout: { positions: { lg: { colSpan: 4, order: 10 } } } },\n { name: 'effectiveTo', layout: { positions: { lg: { colSpan: 4, order: 11 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.exchangeRate.name,\n title: RootConfig.entities.exchangeRate.title,\n icon: RootConfig.entities.exchangeRate.icon,\n formats: {\n individual: RootConfig.entities.exchangeRate.title,\n plural: RootConfig.entities.exchangeRate.titlePlural,\n searchResult: {\n title: '{{ pairCode }}',\n description:\n '{{ context.eval(\"baseCurrency.title\", { pipes: [\"translate\"] }) + \" → \" + context.eval(\"quoteCurrency.title\", { pipes: [\"translate\"] }) }}',\n },\n },\n plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }, { name: 'clone' }],\n groups: [\n { id: 'basic-info', title: '@financial-core:exchange-rates.entities.exchange-rate.groups.basic-info' },\n { id: 'valuation', title: '@financial-core:exchange-rates.entities.exchange-rate.groups.valuation' },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'pairCode',\n title: '@financial-core:exchange-rates.entities.exchange-rate.fields.pair-code.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: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n mask: 'AAA/AAA',\n placeholder: '@financial-core:exchange-rates.entities.exchange-rate.fields.pair-code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@financial-core:exchange-rates.entities.exchange-rate.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'method',\n title: '@financial-core:exchange-rates.entities.exchange-rate.fields.method.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n {\n value: 'manual',\n text: '@financial-core:exchange-rates.entities.exchange-rate.fields.method.options.manual',\n },\n {\n value: 'market',\n text: '@financial-core:exchange-rates.entities.exchange-rate.fields.method.options.market',\n },\n {\n value: 'central-bank',\n text: '@financial-core:exchange-rates.entities.exchange-rate.fields.method.options.central-bank',\n },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'baseCurrencyId',\n title: '@financial-core:exchange-rates.entities.exchange-rate.fields.base-currency.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.currency.name}`,\n look: 'select',\n expose: [\n { source: 'id', target: 'baseCurrency.id' },\n { source: 'title', target: 'baseCurrency.title' },\n { source: 'symbol', target: 'baseCurrency.symbol' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'quoteCurrencyId',\n title: '@financial-core:exchange-rates.entities.exchange-rate.fields.quote-currency.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.currency.name}`,\n look: 'select',\n expose: [\n { source: 'id', target: 'quoteCurrency.id' },\n { source: 'title', target: 'quoteCurrency.title' },\n { source: 'symbol', target: 'quoteCurrency.symbol' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'source',\n title: '@financial-core:exchange-rates.entities.exchange-rate.fields.source.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@financial-core:exchange-rates.entities.exchange-rate.fields.source.placeholder',\n },\n },\n },\n },\n {\n name: 'status',\n title: '@financial-core:exchange-rates.entities.exchange-rate.fields.status.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n {\n value: 'draft',\n text: '@financial-core:exchange-rates.entities.exchange-rate.fields.status.options.draft',\n },\n {\n value: 'published',\n text: '@financial-core:exchange-rates.entities.exchange-rate.fields.status.options.published',\n },\n {\n value: 'expired',\n text: '@financial-core:exchange-rates.entities.exchange-rate.fields.status.options.expired',\n },\n ],\n },\n },\n },\n },\n {\n name: 'rate',\n title: '@financial-core:exchange-rates.entities.exchange-rate.fields.rate.title',\n groupId: 'valuation',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n step: 0.0001,\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'inverseRate',\n title: '@financial-core:exchange-rates.entities.exchange-rate.fields.inverse-rate.title',\n groupId: 'valuation',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n step: 0.0001,\n },\n },\n },\n },\n {\n name: 'effectiveFrom',\n title: '@financial-core:exchange-rates.entities.exchange-rate.fields.effective-from.title',\n groupId: 'valuation',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: {\n showTime: true,\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'effectiveTo',\n title: '@financial-core:exchange-rates.entities.exchange-rate.fields.effective-to.title',\n groupId: 'valuation',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: {\n showTime: true,\n },\n },\n },\n },\n ],\n columns: [\n { name: 'pairCode', options: { width: '140px', order: 1 } },\n { name: 'baseCurrencyId', options: { dataPath: 'baseCurrency.title', width: '200px', order: 2 } },\n { name: 'quoteCurrencyId', options: { dataPath: 'quoteCurrency.title', width: '200px', order: 3 } },\n { name: 'rate', options: { width: '140px', order: 4 } },\n { name: 'effectiveFrom', options: { width: '180px', order: 5 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\n single: {\n title: '{{ pairCode }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'pairCode', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.exchange-rate';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACX,IAAA,IAAI,EAAE,gBAAgB;AACtB,IAAA,MAAM,EAAE,eAAe;CAC1B;AAEM,MAAM,UAAU,GAAG;IACtB,MAAM;AACN,IAAA,MAAM,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,yBAAyB;AAClC,KAAA;AACD,IAAA,QAAQ,EAAE;AACN,QAAA,QAAQ,EAAE;AACN,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,mCAAA,CAAqC;AAC3D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,oCAAA,CAAsC;AAClE,YAAA,IAAI,EAAE,mBAAmB;AAC5B,SAAA;AACD,QAAA,YAAY,EAAE;AACV,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,KAAK,E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