@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.
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-currency.mjs +324 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-currency.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.mjs +380 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.mjs +295 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.mjs +343 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-method.mjs +351 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-method.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-term.mjs +288 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-term.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-class.mjs +282 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-class.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-region.mjs +272 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-region.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.mjs +364 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-acorex-platform-module-financial-core-client-contracts-entity-catalog-DpAVTjcD.mjs +99 -0
- 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
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-currency.entity-C6VWyRY-.mjs +252 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-currency.entity-C6VWyRY-.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-exchange-rate.entity-D9ZfPYOX.mjs +308 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-exchange-rate.entity-D9ZfPYOX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-financial-dimension.entity-P6IpxIPP.mjs +223 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-financial-dimension.entity-P6IpxIPP.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-fiscal-calendar.entity-CHFARbBF.mjs +271 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-fiscal-calendar.entity-CHFARbBF.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-method.entity-CWj-4rZX.mjs +279 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-method.entity-CWj-4rZX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-term.entity-Bpl7usEL.mjs +216 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-term.entity-Bpl7usEL.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-class.entity-l6AYvaaV.mjs +210 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-class.entity-l6AYvaaV.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-region.entity-DVBfpcCF.mjs +200 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-region.entity-DVBfpcCF.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-rule.entity-0_Q8paGB.mjs +292 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-rule.entity-0_Q8paGB.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-local-entities.mjs +37 -0
- package/fesm2022/acorex-platform-module-financial-core-client-local-entities.mjs.map +1 -0
- package/package.json +45 -1
- package/types/acorex-platform-module-financial-core-client-contracts-entities-currency.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-payment-method.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-payment-term.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-tax-class.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-tax-region.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-financial-core-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1,324 @@
|
|
|
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 currencyFactory() {
|
|
76
|
+
const sections = [
|
|
77
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
78
|
+
{ id: 'formatting', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
79
|
+
];
|
|
80
|
+
const propertyLayouts = [
|
|
81
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },
|
|
82
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 5, order: 2 } } } },
|
|
83
|
+
{ name: 'symbol', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },
|
|
84
|
+
{ name: 'isoNumber', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },
|
|
85
|
+
{ name: 'decimalPlaces', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },
|
|
86
|
+
{ name: 'thousandSeparator', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
87
|
+
{ name: 'decimalSeparator', layout: { positions: { lg: { colSpan: 4, order: 7 } } } },
|
|
88
|
+
{ name: 'formatPattern', layout: { positions: { lg: { colSpan: 12, order: 8 } } } },
|
|
89
|
+
];
|
|
90
|
+
const entityDef = {
|
|
91
|
+
module: RootConfig.module.name,
|
|
92
|
+
name: RootConfig.entities.currency.name,
|
|
93
|
+
title: RootConfig.entities.currency.title,
|
|
94
|
+
icon: RootConfig.entities.currency.icon,
|
|
95
|
+
formats: {
|
|
96
|
+
individual: RootConfig.entities.currency.title,
|
|
97
|
+
plural: RootConfig.entities.currency.titlePlural,
|
|
98
|
+
searchResult: {
|
|
99
|
+
title: '{{ title }}',
|
|
100
|
+
description: '{{ context.eval("code") + " (" + context.eval("symbol") + ")" }}',
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
plugins: [
|
|
104
|
+
{ name: 'history' },
|
|
105
|
+
{ name: 'lock' },
|
|
106
|
+
{ name: 'compare' },
|
|
107
|
+
{ name: 'clone' },
|
|
108
|
+
{ name: 'disable' },
|
|
109
|
+
{
|
|
110
|
+
name: 'default',
|
|
111
|
+
options: {
|
|
112
|
+
title: '@financial-core:currencies.entities.currency.fields.is-default.title',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
groups: [
|
|
117
|
+
{ id: 'basic-info', title: '@financial-core:currencies.entities.currency.groups.basic-info' },
|
|
118
|
+
{ id: 'formatting', title: '@financial-core:currencies.entities.currency.groups.formatting' },
|
|
119
|
+
],
|
|
120
|
+
properties: [
|
|
121
|
+
{
|
|
122
|
+
name: 'id',
|
|
123
|
+
title: '@general:terms.common.id',
|
|
124
|
+
groupId: 'basic-info',
|
|
125
|
+
schema: {
|
|
126
|
+
dataType: 'uuid',
|
|
127
|
+
visible: false,
|
|
128
|
+
readonly: true,
|
|
129
|
+
unique: { enabled: true },
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: 'code',
|
|
134
|
+
title: '@general:terms.common.code',
|
|
135
|
+
groupId: 'basic-info',
|
|
136
|
+
options: {
|
|
137
|
+
sort: { enabled: true },
|
|
138
|
+
filter: {
|
|
139
|
+
advance: { enabled: true },
|
|
140
|
+
inline: { enabled: true },
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
schema: {
|
|
144
|
+
dataType: 'string',
|
|
145
|
+
interface: {
|
|
146
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
147
|
+
options: {
|
|
148
|
+
maxLength: 8,
|
|
149
|
+
placeholder: '@financial-core:currencies.entities.currency.fields.code.placeholder',
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
validations: [{ rule: 'required' }],
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: 'title',
|
|
157
|
+
title: '@general:terms.common.title',
|
|
158
|
+
groupId: 'basic-info',
|
|
159
|
+
options: {
|
|
160
|
+
sort: { enabled: true },
|
|
161
|
+
filter: {
|
|
162
|
+
advance: { enabled: true },
|
|
163
|
+
inline: { enabled: true },
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
schema: {
|
|
167
|
+
dataType: 'string',
|
|
168
|
+
interface: {
|
|
169
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
170
|
+
options: {
|
|
171
|
+
placeholder: '@financial-core:currencies.entities.currency.fields.title.placeholder',
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
validations: [{ rule: 'required' }],
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: 'symbol',
|
|
179
|
+
title: '@financial-core:currencies.entities.currency.fields.symbol.title',
|
|
180
|
+
groupId: 'basic-info',
|
|
181
|
+
options: {
|
|
182
|
+
sort: { enabled: true },
|
|
183
|
+
filter: {
|
|
184
|
+
advance: { enabled: true },
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
schema: {
|
|
188
|
+
dataType: 'string',
|
|
189
|
+
interface: {
|
|
190
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
191
|
+
options: {
|
|
192
|
+
maxLength: 4,
|
|
193
|
+
placeholder: '@financial-core:currencies.entities.currency.fields.symbol.placeholder',
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
validations: [{ rule: 'required' }],
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
name: 'isoNumber',
|
|
201
|
+
title: '@financial-core:currencies.entities.currency.fields.iso-number.title',
|
|
202
|
+
groupId: 'basic-info',
|
|
203
|
+
options: {
|
|
204
|
+
filter: {
|
|
205
|
+
advance: { enabled: true },
|
|
206
|
+
inline: { enabled: true },
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
schema: {
|
|
210
|
+
dataType: 'string',
|
|
211
|
+
interface: {
|
|
212
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
213
|
+
options: {
|
|
214
|
+
maxLength: 3,
|
|
215
|
+
placeholder: '@financial-core:currencies.entities.currency.fields.iso-number.placeholder',
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
name: 'decimalPlaces',
|
|
222
|
+
title: '@financial-core:currencies.entities.currency.fields.decimal-places.title',
|
|
223
|
+
groupId: 'formatting',
|
|
224
|
+
schema: {
|
|
225
|
+
dataType: 'number',
|
|
226
|
+
interface: {
|
|
227
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
228
|
+
options: {
|
|
229
|
+
minValue: 0,
|
|
230
|
+
maxValue: 6,
|
|
231
|
+
placeholder: '@financial-core:currencies.entities.currency.fields.decimal-places.placeholder',
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
validations: [{ rule: 'required' }],
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: 'thousandSeparator',
|
|
239
|
+
title: '@financial-core:currencies.entities.currency.fields.thousand-separator.title',
|
|
240
|
+
groupId: 'formatting',
|
|
241
|
+
schema: {
|
|
242
|
+
dataType: 'string',
|
|
243
|
+
interface: {
|
|
244
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
245
|
+
options: {
|
|
246
|
+
maxLength: 1,
|
|
247
|
+
placeholder: '@financial-core:currencies.entities.currency.fields.thousand-separator.placeholder',
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: 'decimalSeparator',
|
|
254
|
+
title: '@financial-core:currencies.entities.currency.fields.decimal-separator.title',
|
|
255
|
+
groupId: 'formatting',
|
|
256
|
+
schema: {
|
|
257
|
+
dataType: 'string',
|
|
258
|
+
interface: {
|
|
259
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
260
|
+
options: {
|
|
261
|
+
maxLength: 1,
|
|
262
|
+
placeholder: '@financial-core:currencies.entities.currency.fields.decimal-separator.placeholder',
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
name: 'formatPattern',
|
|
269
|
+
title: '@financial-core:currencies.entities.currency.fields.format-pattern.title',
|
|
270
|
+
groupId: 'formatting',
|
|
271
|
+
schema: {
|
|
272
|
+
dataType: 'string',
|
|
273
|
+
interface: {
|
|
274
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
275
|
+
options: {
|
|
276
|
+
placeholder: '@financial-core:currencies.entities.currency.fields.format-pattern.placeholder',
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
columns: [
|
|
283
|
+
{ name: 'code', options: { width: '120px', order: 1 } },
|
|
284
|
+
{ name: 'title', options: { width: '220px', order: 2 } },
|
|
285
|
+
{ name: 'symbol', options: { width: '100px', order: 3 } },
|
|
286
|
+
{ name: 'decimalPlaces', options: { width: '120px', order: 4 } },
|
|
287
|
+
],
|
|
288
|
+
interfaces: {
|
|
289
|
+
master: {
|
|
290
|
+
create: {
|
|
291
|
+
sections,
|
|
292
|
+
properties: propertyLayouts,
|
|
293
|
+
},
|
|
294
|
+
update: {
|
|
295
|
+
sections,
|
|
296
|
+
properties: propertyLayouts,
|
|
297
|
+
},
|
|
298
|
+
single: {
|
|
299
|
+
title: '{{ title }}',
|
|
300
|
+
sections,
|
|
301
|
+
properties: propertyLayouts,
|
|
302
|
+
actions: [...entityMasterRecordActions()],
|
|
303
|
+
},
|
|
304
|
+
list: {
|
|
305
|
+
actions: [...entityMasterCrudActions()],
|
|
306
|
+
views: [
|
|
307
|
+
createAllQueryView({
|
|
308
|
+
sorts: [{ name: 'code', dir: 'asc' }],
|
|
309
|
+
}),
|
|
310
|
+
],
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
};
|
|
315
|
+
return entityDef;
|
|
316
|
+
}
|
|
317
|
+
//#endregion
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Generated bundle index. Do not edit.
|
|
321
|
+
*/
|
|
322
|
+
|
|
323
|
+
export { currencyFactory };
|
|
324
|
+
//# sourceMappingURL=acorex-platform-module-financial-core-client-contracts-entities-currency.mjs.map
|
package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-currency.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-financial-core-client-contracts-entities-currency.mjs","sources":["../../../../libs/modules/financial-core/contracts/src/root-config.ts","../../../../libs/modules/financial-core/contracts/src/entities/currency/currency.entity.ts","../../../../libs/modules/financial-core/contracts/src/acorex-platform-module-financial-core-client-contracts-entities-currency.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 currencyFactory(): Promise<AXPEntity> {\n\n const sections = [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'formatting', layout: { positions: { lg: { colSpan: 12 } } } },\n ];\n\n const propertyLayouts = [\n { name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 5, order: 2 } } } },\n { name: 'symbol', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'isoNumber', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'decimalPlaces', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'thousandSeparator', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'decimalSeparator', layout: { positions: { lg: { colSpan: 4, order: 7 } } } },\n { name: 'formatPattern', layout: { positions: { lg: { colSpan: 12, order: 8 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.currency.name,\n title: RootConfig.entities.currency.title,\n icon: RootConfig.entities.currency.icon,\n formats: {\n individual: RootConfig.entities.currency.title,\n plural: RootConfig.entities.currency.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ context.eval(\"code\") + \" (\" + context.eval(\"symbol\") + \")\" }}',\n },\n },\n plugins: [\n { name: 'history' },\n { name: 'lock' },\n { name: 'compare' },\n { name: 'clone' },\n { name: 'disable' },\n {\n name: 'default',\n options: {\n title: '@financial-core:currencies.entities.currency.fields.is-default.title',\n },\n },\n ],\n groups: [\n { id: 'basic-info', title: '@financial-core:currencies.entities.currency.groups.basic-info' },\n { id: 'formatting', title: '@financial-core:currencies.entities.currency.groups.formatting' },\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: 'code',\n title: '@general:terms.common.code',\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 maxLength: 8,\n placeholder: '@financial-core:currencies.entities.currency.fields.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 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 placeholder: '@financial-core:currencies.entities.currency.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'symbol',\n title: '@financial-core:currencies.entities.currency.fields.symbol.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n maxLength: 4,\n placeholder: '@financial-core:currencies.entities.currency.fields.symbol.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'isoNumber',\n title: '@financial-core:currencies.entities.currency.fields.iso-number.title',\n groupId: 'basic-info',\n options: {\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 maxLength: 3,\n placeholder: '@financial-core:currencies.entities.currency.fields.iso-number.placeholder',\n },\n },\n },\n },\n {\n name: 'decimalPlaces',\n title: '@financial-core:currencies.entities.currency.fields.decimal-places.title',\n groupId: 'formatting',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n maxValue: 6,\n placeholder: '@financial-core:currencies.entities.currency.fields.decimal-places.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'thousandSeparator',\n title: '@financial-core:currencies.entities.currency.fields.thousand-separator.title',\n groupId: 'formatting',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n maxLength: 1,\n placeholder: '@financial-core:currencies.entities.currency.fields.thousand-separator.placeholder',\n },\n },\n },\n },\n {\n name: 'decimalSeparator',\n title: '@financial-core:currencies.entities.currency.fields.decimal-separator.title',\n groupId: 'formatting',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n maxLength: 1,\n placeholder: '@financial-core:currencies.entities.currency.fields.decimal-separator.placeholder',\n },\n },\n },\n },\n {\n name: 'formatPattern',\n title: '@financial-core:currencies.entities.currency.fields.format-pattern.title',\n groupId: 'formatting',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@financial-core:currencies.entities.currency.fields.format-pattern.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n { name: 'symbol', options: { width: '100px', order: 3 } },\n { name: 'decimalPlaces', options: { width: '120px', order: 4 } },\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: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'code', 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.currency';\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,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,4CAAA,CAA8C;AACpE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,6CAAA,CAA+C;AAC3E,YAAA,IAAI,EAAE,2BAA2B;AACpC,SAAA;AACD,QAAA,QAAQ,EAAE;AACN,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,kCAAA,CAAoC;AAC1D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,mCAAA,CAAqC;AACjE,YAAA,IAAI,EAAE,4B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