@acorex-platform/module-locale-management-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-locale-management-client-contracts-entities-languages.mjs +253 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-languages.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-locales.mjs +251 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-locales.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-timezones.mjs +291 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-timezones.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-acorex-platform-module-locale-management-client-contracts-entity-catalog-B_BhbZxS.mjs +56 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-acorex-platform-module-locale-management-client-contracts-entity-catalog-B_BhbZxS.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-languages.entity-DRZszos9.mjs +218 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-languages.entity-DRZszos9.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-locales.entity-DZFu6qeI.mjs +216 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-locales.entity-DZFu6qeI.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-timezones.entity-CpQC5lS7.mjs +256 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog-timezones.entity-CpQC5lS7.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-locale-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-locale-management-client-local-entities.mjs +31 -0
- package/fesm2022/acorex-platform-module-locale-management-client-local-entities.mjs.map +1 -0
- package/package.json +21 -1
- package/types/acorex-platform-module-locale-management-client-contracts-entities-languages.d.ts +5 -0
- package/types/acorex-platform-module-locale-management-client-contracts-entities-locales.d.ts +5 -0
- package/types/acorex-platform-module-locale-management-client-contracts-entities-timezones.d.ts +5 -0
- package/types/acorex-platform-module-locale-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-locale-management-client-local-entities.d.ts +12 -0
package/fesm2022/acorex-platform-module-locale-management-client-contracts-entities-timezones.mjs
ADDED
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
|
|
4
|
+
const config = {
|
|
5
|
+
i18n: 'locale-management',
|
|
6
|
+
};
|
|
7
|
+
const RootConfig = {
|
|
8
|
+
config,
|
|
9
|
+
module: {
|
|
10
|
+
name: 'LocaleManagement',
|
|
11
|
+
title: '@locale-management:module.title',
|
|
12
|
+
icon: 'fa-light fa-globe',
|
|
13
|
+
},
|
|
14
|
+
entities: {
|
|
15
|
+
languages: {
|
|
16
|
+
name: 'Languages',
|
|
17
|
+
title: '@locale-management:languages.entities.language.title',
|
|
18
|
+
titlePlural: '@locale-management:languages.entities.language.plural',
|
|
19
|
+
icon: 'fa-light fa-language',
|
|
20
|
+
},
|
|
21
|
+
locales: {
|
|
22
|
+
name: 'Locales',
|
|
23
|
+
title: '@locale-management:locales.entities.locale.title',
|
|
24
|
+
titlePlural: '@locale-management:locales.entities.locale.plural',
|
|
25
|
+
icon: 'fa-light fa-globe',
|
|
26
|
+
},
|
|
27
|
+
timezones: {
|
|
28
|
+
name: 'Timezones',
|
|
29
|
+
title: '@locale-management:timezones.entities.timezone.title',
|
|
30
|
+
titlePlural: '@locale-management:timezones.entities.timezone.plural',
|
|
31
|
+
icon: 'fa-light fa-clock',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
async function timezonesFactory() {
|
|
37
|
+
const entityDef = {
|
|
38
|
+
module: RootConfig.module.name,
|
|
39
|
+
name: RootConfig.entities.timezones.name,
|
|
40
|
+
title: RootConfig.entities.timezones.title,
|
|
41
|
+
icon: RootConfig.entities.timezones.icon,
|
|
42
|
+
formats: {
|
|
43
|
+
individual: RootConfig.entities.timezones.title,
|
|
44
|
+
plural: RootConfig.entities.timezones.titlePlural,
|
|
45
|
+
searchResult: {
|
|
46
|
+
title: '{{ title }}',
|
|
47
|
+
description: '{{ code }}',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
plugins: [
|
|
51
|
+
{ name: 'archive' },
|
|
52
|
+
],
|
|
53
|
+
groups: [
|
|
54
|
+
{
|
|
55
|
+
id: 'basic-info',
|
|
56
|
+
title: '@general:terms.interface.basic-info',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: 'settings',
|
|
60
|
+
title: '@general:terms.interface.settings',
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
properties: [
|
|
64
|
+
{
|
|
65
|
+
name: 'code',
|
|
66
|
+
title: '@general:terms.common.code',
|
|
67
|
+
groupId: 'basic-info',
|
|
68
|
+
options: {
|
|
69
|
+
sort: {
|
|
70
|
+
enabled: true,
|
|
71
|
+
},
|
|
72
|
+
filter: {
|
|
73
|
+
advance: {
|
|
74
|
+
enabled: true,
|
|
75
|
+
},
|
|
76
|
+
inline: {
|
|
77
|
+
enabled: true,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
schema: {
|
|
82
|
+
dataType: 'string',
|
|
83
|
+
interface: {
|
|
84
|
+
type: AXPWidgetsCatalog.text,
|
|
85
|
+
options: {
|
|
86
|
+
placeholder: 'e.g., America/New_York',
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
validations: [
|
|
91
|
+
{
|
|
92
|
+
rule: 'required',
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: 'title',
|
|
98
|
+
title: '@general:terms.common.title',
|
|
99
|
+
groupId: 'basic-info',
|
|
100
|
+
options: {
|
|
101
|
+
sort: {
|
|
102
|
+
enabled: true,
|
|
103
|
+
},
|
|
104
|
+
filter: {
|
|
105
|
+
advance: {
|
|
106
|
+
enabled: true,
|
|
107
|
+
},
|
|
108
|
+
inline: {
|
|
109
|
+
enabled: true,
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
schema: {
|
|
114
|
+
dataType: 'string',
|
|
115
|
+
interface: {
|
|
116
|
+
type: AXPWidgetsCatalog.text,
|
|
117
|
+
options: {
|
|
118
|
+
placeholder: 'e.g., Eastern Standard Time',
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
validations: [
|
|
123
|
+
{
|
|
124
|
+
rule: 'required',
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: 'abbreviation',
|
|
130
|
+
title: '@locale-management:timezones.entities.timezone.fields.abbreviation',
|
|
131
|
+
groupId: 'basic-info',
|
|
132
|
+
options: {
|
|
133
|
+
sort: {
|
|
134
|
+
enabled: true,
|
|
135
|
+
},
|
|
136
|
+
filter: {
|
|
137
|
+
advance: {
|
|
138
|
+
enabled: true,
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
schema: {
|
|
143
|
+
dataType: 'string',
|
|
144
|
+
interface: {
|
|
145
|
+
type: AXPWidgetsCatalog.text,
|
|
146
|
+
options: {
|
|
147
|
+
placeholder: 'e.g., EST, PST',
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
name: 'standardOffset',
|
|
154
|
+
title: '@locale-management:timezones.entities.timezone.fields.standard-offset',
|
|
155
|
+
groupId: 'basic-info',
|
|
156
|
+
options: {
|
|
157
|
+
sort: {
|
|
158
|
+
enabled: true,
|
|
159
|
+
},
|
|
160
|
+
filter: {
|
|
161
|
+
advance: {
|
|
162
|
+
enabled: true,
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
schema: {
|
|
167
|
+
dataType: 'number',
|
|
168
|
+
interface: {
|
|
169
|
+
type: AXPWidgetsCatalog.number,
|
|
170
|
+
options: {
|
|
171
|
+
placeholder: 'Offset in minutes from UTC',
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
validations: [
|
|
176
|
+
{
|
|
177
|
+
rule: 'required',
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: 'region',
|
|
183
|
+
title: '@locale-management:timezones.entities.timezone.fields.region',
|
|
184
|
+
groupId: 'basic-info',
|
|
185
|
+
options: {
|
|
186
|
+
sort: {
|
|
187
|
+
enabled: true,
|
|
188
|
+
},
|
|
189
|
+
filter: {
|
|
190
|
+
advance: {
|
|
191
|
+
enabled: true,
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
schema: {
|
|
196
|
+
dataType: 'string',
|
|
197
|
+
interface: {
|
|
198
|
+
type: AXPWidgetsCatalog.text,
|
|
199
|
+
options: {
|
|
200
|
+
placeholder: 'e.g., Americas, Europe',
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: 'supportsDST',
|
|
207
|
+
title: '@locale-management:timezones.entities.timezone.fields.supports-dst',
|
|
208
|
+
groupId: 'settings',
|
|
209
|
+
options: {
|
|
210
|
+
filter: {
|
|
211
|
+
advance: {
|
|
212
|
+
enabled: true,
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
schema: {
|
|
217
|
+
dataType: 'boolean',
|
|
218
|
+
interface: {
|
|
219
|
+
type: AXPWidgetsCatalog.toggle,
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
columns: [
|
|
225
|
+
{ name: 'code', options: { width: '200px', order: 1 } },
|
|
226
|
+
{ name: 'title', options: { width: '250px', order: 2 } },
|
|
227
|
+
{ name: 'abbreviation', options: { width: '100px', order: 3 } },
|
|
228
|
+
{ name: 'standardOffset', options: { width: '120px', order: 4 } },
|
|
229
|
+
{ name: 'supportsDST', options: { width: '80px', order: 5 } },
|
|
230
|
+
],
|
|
231
|
+
interfaces: {
|
|
232
|
+
master: {
|
|
233
|
+
create: {
|
|
234
|
+
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
235
|
+
properties: [
|
|
236
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
237
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
238
|
+
{ name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
239
|
+
{ name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
240
|
+
{ name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
241
|
+
{ name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
242
|
+
],
|
|
243
|
+
},
|
|
244
|
+
update: {
|
|
245
|
+
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
246
|
+
properties: [
|
|
247
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
248
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
249
|
+
{ name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
250
|
+
{ name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
251
|
+
{ name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
252
|
+
{ name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
253
|
+
],
|
|
254
|
+
},
|
|
255
|
+
single: {
|
|
256
|
+
title: RootConfig.entities.timezones.title,
|
|
257
|
+
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
258
|
+
properties: [
|
|
259
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
260
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
261
|
+
{ name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
262
|
+
{ name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
263
|
+
{ name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
264
|
+
{ name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
265
|
+
],
|
|
266
|
+
actions: [
|
|
267
|
+
...entityMasterRecordActions(),
|
|
268
|
+
],
|
|
269
|
+
},
|
|
270
|
+
list: {
|
|
271
|
+
actions: [
|
|
272
|
+
...entityMasterCrudActions(),
|
|
273
|
+
],
|
|
274
|
+
views: [
|
|
275
|
+
createAllQueryView({
|
|
276
|
+
sorts: [{ name: 'region', dir: 'asc' }, { name: 'title', dir: 'asc' }],
|
|
277
|
+
}),
|
|
278
|
+
],
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
};
|
|
283
|
+
return entityDef;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Generated bundle index. Do not edit.
|
|
288
|
+
*/
|
|
289
|
+
|
|
290
|
+
export { timezonesFactory };
|
|
291
|
+
//# sourceMappingURL=acorex-platform-module-locale-management-client-contracts-entities-timezones.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-locale-management-client-contracts-entities-timezones.mjs","sources":["../../../../libs/modules/locale-management/contracts/src/root-config.ts","../../../../libs/modules/locale-management/contracts/src/entities/timezones/timezones.entity.ts","../../../../libs/modules/locale-management/contracts/src/acorex-platform-module-locale-management-client-contracts-entities-timezones.ts"],"sourcesContent":["const config = {\n i18n: 'locale-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: 'LocaleManagement',\n title: '@locale-management:module.title',\n icon: 'fa-light fa-globe',\n },\n entities: {\n languages: {\n name: 'Languages',\n title: '@locale-management:languages.entities.language.title',\n titlePlural: '@locale-management:languages.entities.language.plural',\n icon: 'fa-light fa-language',\n },\n locales: {\n name: 'Locales',\n title: '@locale-management:locales.entities.locale.title',\n titlePlural: '@locale-management:locales.entities.locale.plural',\n icon: 'fa-light fa-globe',\n },\n timezones: {\n name: 'Timezones',\n title: '@locale-management:timezones.entities.timezone.title',\n titlePlural: '@locale-management:timezones.entities.timezone.plural',\n icon: 'fa-light fa-clock',\n },\n },\n} as const;\n","import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function timezonesFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.timezones.name,\n title: RootConfig.entities.timezones.title,\n icon: RootConfig.entities.timezones.icon,\n formats: {\n individual: RootConfig.entities.timezones.title,\n plural: RootConfig.entities.timezones.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'archive' },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n {\n id: 'settings',\n title: '@general:terms.interface.settings',\n },\n ],\n properties: [\n {\n name: 'code',\n title: '@general:terms.common.code',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., America/New_York',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., Eastern Standard Time',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'abbreviation',\n title: '@locale-management:timezones.entities.timezone.fields.abbreviation',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., EST, PST',\n },\n },\n },\n },\n {\n name: 'standardOffset',\n title: '@locale-management:timezones.entities.timezone.fields.standard-offset',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsCatalog.number,\n options: {\n placeholder: 'Offset in minutes from UTC',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'region',\n title: '@locale-management:timezones.entities.timezone.fields.region',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., Americas, Europe',\n },\n },\n },\n },\n {\n name: 'supportsDST',\n title: '@locale-management:timezones.entities.timezone.fields.supports-dst',\n groupId: 'settings',\n options: {\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '200px', order: 1 } },\n { name: 'title', options: { width: '250px', order: 2 } },\n { name: 'abbreviation', options: { width: '100px', order: 3 } },\n { name: 'standardOffset', options: { width: '120px', order: 4 } },\n { name: 'supportsDST', options: { width: '80px', order: 5 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n ],\n },\n single: {\n title: RootConfig.entities.timezones.title,\n sections: [{ id: 'basic-info' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'abbreviation', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'standardOffset', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'region', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'supportsDST', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n ],\n actions: [\n ...entityMasterRecordActions(),\n ],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'region', dir: 'asc' }, { name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.timezones';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,mBAAmB;CAC1B;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE,kBAAkB;AACxB,QAAA,KAAK,EAAE,iCAAiC;AACxC,QAAA,IAAI,EAAE,mBAAmB;AAC1B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,sDAAsD;AAC7D,YAAA,WAAW,EAAE,uDAAuD;AACpE,YAAA,IAAI,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,kDAAkD;AACzD,YAAA,WAAW,EAAE,mDAAmD;AAChE,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,sDAAsD;AAC7D,YAAA,WAAW,EAAE,uDAAuD;AACpE,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACF,KAAA;CACO;;AC3BH,eAAe,gBAAgB,GAAA;AAElC,IAAA,MAAM,SAAS,GAAc;AACzB,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AA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AAuB,EAAE;AAC/B,qBAAA;AACD,oBAAA,KAAK,EAAE;AACH,wBAAA,kBAAkB,CAAC;4BACf,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACzE,CAAC;AACL,qBAAA;AACJ,iBAAA;AACJ,aAAA;AACJ,SAAA;KACJ;AAED,IAAA,OAAO,SAAS;AACpB;;AC9PA;;AAEG;;;;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
const config = {
|
|
2
|
+
i18n: 'locale-management',
|
|
3
|
+
};
|
|
4
|
+
const RootConfig = {
|
|
5
|
+
config,
|
|
6
|
+
module: {
|
|
7
|
+
name: 'LocaleManagement',
|
|
8
|
+
title: '@locale-management:module.title',
|
|
9
|
+
icon: 'fa-light fa-globe',
|
|
10
|
+
},
|
|
11
|
+
entities: {
|
|
12
|
+
languages: {
|
|
13
|
+
name: 'Languages',
|
|
14
|
+
title: '@locale-management:languages.entities.language.title',
|
|
15
|
+
titlePlural: '@locale-management:languages.entities.language.plural',
|
|
16
|
+
icon: 'fa-light fa-language',
|
|
17
|
+
},
|
|
18
|
+
locales: {
|
|
19
|
+
name: 'Locales',
|
|
20
|
+
title: '@locale-management:locales.entities.locale.title',
|
|
21
|
+
titlePlural: '@locale-management:locales.entities.locale.plural',
|
|
22
|
+
icon: 'fa-light fa-globe',
|
|
23
|
+
},
|
|
24
|
+
timezones: {
|
|
25
|
+
name: 'Timezones',
|
|
26
|
+
title: '@locale-management:timezones.entities.timezone.title',
|
|
27
|
+
titlePlural: '@locale-management:timezones.entities.timezone.plural',
|
|
28
|
+
icon: 'fa-light fa-clock',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
//#region ----- Imports -----
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region ----- Local entity catalog -----
|
|
36
|
+
/**
|
|
37
|
+
* Lazy per-entity layout factories. Do not re-export from the contracts barrel
|
|
38
|
+
* so RootConfig imports stay light. Server seed and client `local-entities`
|
|
39
|
+
* consume this catalog explicitly.
|
|
40
|
+
*/
|
|
41
|
+
const localeManagementLocalEntityCatalog = {
|
|
42
|
+
moduleName: RootConfig.module.name,
|
|
43
|
+
loaders: {
|
|
44
|
+
[RootConfig.entities.languages.name]: () => import('./acorex-platform-module-locale-management-client-contracts-entity-catalog-languages.entity-DRZszos9.mjs').then((m) => m.languagesFactory()),
|
|
45
|
+
[RootConfig.entities.locales.name]: () => import('./acorex-platform-module-locale-management-client-contracts-entity-catalog-locales.entity-DZFu6qeI.mjs').then((m) => m.localesFactory()),
|
|
46
|
+
[RootConfig.entities.timezones.name]: () => import('./acorex-platform-module-locale-management-client-contracts-entity-catalog-timezones.entity-CpQC5lS7.mjs').then((m) => m.timezonesFactory()),
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Generated bundle index. Do not edit.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
export { RootConfig as R, localeManagementLocalEntityCatalog as l };
|
|
56
|
+
//# sourceMappingURL=acorex-platform-module-locale-management-client-contracts-entity-catalog-acorex-platform-module-locale-management-client-contracts-entity-catalog-B_BhbZxS.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-locale-management-client-contracts-entity-catalog-acorex-platform-module-locale-management-client-contracts-entity-catalog-B_BhbZxS.mjs","sources":["../../../../libs/modules/locale-management/contracts/src/root-config.ts","../../../../libs/modules/locale-management/contracts/src/entity-catalog.ts","../../../../libs/modules/locale-management/contracts/src/acorex-platform-module-locale-management-client-contracts-entity-catalog.ts"],"sourcesContent":["const config = {\n i18n: 'locale-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: 'LocaleManagement',\n title: '@locale-management:module.title',\n icon: 'fa-light fa-globe',\n },\n entities: {\n languages: {\n name: 'Languages',\n title: '@locale-management:languages.entities.language.title',\n titlePlural: '@locale-management:languages.entities.language.plural',\n icon: 'fa-light fa-language',\n },\n locales: {\n name: 'Locales',\n title: '@locale-management:locales.entities.locale.title',\n titlePlural: '@locale-management:locales.entities.locale.plural',\n icon: 'fa-light fa-globe',\n },\n timezones: {\n name: 'Timezones',\n title: '@locale-management:timezones.entities.timezone.title',\n titlePlural: '@locale-management:timezones.entities.timezone.plural',\n icon: 'fa-light fa-clock',\n },\n },\n} as const;\n","//#region ----- Imports -----\n\nimport type { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ----- Local entity catalog -----\n\n/**\n * Lazy per-entity layout factories. Do not re-export from the contracts barrel\n * so RootConfig imports stay light. Server seed and client `local-entities`\n * consume this catalog explicitly.\n */\nexport const localeManagementLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.languages.name]: () =>\n import('./entities/languages/languages.entity.js').then((m) => m.languagesFactory()),\n [RootConfig.entities.locales.name]: () =>\n import('./entities/locales/locales.entity.js').then((m) => m.localesFactory()),\n [RootConfig.entities.timezones.name]: () =>\n import('./entities/timezones/timezones.entity.js').then((m) => m.timezonesFactory()),\n },\n};\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-catalog';\n"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,mBAAmB;CAC1B;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE,kBAAkB;AACxB,QAAA,KAAK,EAAE,iCAAiC;AACxC,QAAA,IAAI,EAAE,mBAAmB;AAC1B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,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RecordActions, entityDetailsCreateActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-locale-management-client-contracts-entity-catalog-acorex-platform-module-locale-management-client-contracts-entity-catalog-B_BhbZxS.mjs';
|
|
4
|
+
|
|
5
|
+
async function languagesFactory() {
|
|
6
|
+
const entityDef = {
|
|
7
|
+
module: RootConfig.module.name,
|
|
8
|
+
name: RootConfig.entities.languages.name,
|
|
9
|
+
title: RootConfig.entities.languages.title,
|
|
10
|
+
icon: RootConfig.entities.languages.icon,
|
|
11
|
+
formats: {
|
|
12
|
+
individual: RootConfig.entities.languages.title,
|
|
13
|
+
plural: RootConfig.entities.languages.titlePlural,
|
|
14
|
+
searchResult: {
|
|
15
|
+
title: '{{ title }}',
|
|
16
|
+
description: '{{ nativeTitle }}',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
relatedEntities: [
|
|
20
|
+
{
|
|
21
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.locales.name}`,
|
|
22
|
+
title: RootConfig.entities.locales.title,
|
|
23
|
+
columns: ['code', 'title', 'countryCode', 'isDefault', 'isActive'],
|
|
24
|
+
conditions: [
|
|
25
|
+
entityDetailsSimpleCondition('languageId')
|
|
26
|
+
],
|
|
27
|
+
actions: [
|
|
28
|
+
entityDetailsCreateActions('languageId'),
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
plugins: [
|
|
33
|
+
{ name: 'archive' },
|
|
34
|
+
],
|
|
35
|
+
groups: [
|
|
36
|
+
{
|
|
37
|
+
id: 'basic-info',
|
|
38
|
+
title: '@general:terms.interface.basic-info',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: 'settings',
|
|
42
|
+
title: '@general:terms.interface.settings',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
properties: [
|
|
46
|
+
{
|
|
47
|
+
name: 'code',
|
|
48
|
+
title: '@general:terms.common.code',
|
|
49
|
+
groupId: 'basic-info',
|
|
50
|
+
options: {
|
|
51
|
+
sort: {
|
|
52
|
+
enabled: true,
|
|
53
|
+
},
|
|
54
|
+
filter: {
|
|
55
|
+
advance: {
|
|
56
|
+
enabled: true,
|
|
57
|
+
},
|
|
58
|
+
inline: {
|
|
59
|
+
enabled: true,
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
schema: {
|
|
64
|
+
dataType: 'string',
|
|
65
|
+
interface: {
|
|
66
|
+
type: AXPWidgetsCatalog.text,
|
|
67
|
+
options: {
|
|
68
|
+
placeholder: 'e.g., en, es, fr',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
validations: [
|
|
73
|
+
{
|
|
74
|
+
rule: 'required',
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'title',
|
|
80
|
+
title: '@general:terms.common.title',
|
|
81
|
+
groupId: 'basic-info',
|
|
82
|
+
options: {
|
|
83
|
+
sort: {
|
|
84
|
+
enabled: true,
|
|
85
|
+
},
|
|
86
|
+
filter: {
|
|
87
|
+
advance: {
|
|
88
|
+
enabled: true,
|
|
89
|
+
},
|
|
90
|
+
inline: {
|
|
91
|
+
enabled: true,
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
schema: {
|
|
96
|
+
dataType: 'string',
|
|
97
|
+
interface: {
|
|
98
|
+
type: AXPWidgetsCatalog.text,
|
|
99
|
+
options: {
|
|
100
|
+
placeholder: 'e.g., English, Spanish',
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
validations: [
|
|
105
|
+
{
|
|
106
|
+
rule: 'required',
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: 'nativeTitle',
|
|
112
|
+
title: '@locale-management:languages.entities.language.fields.native-title',
|
|
113
|
+
groupId: 'basic-info',
|
|
114
|
+
options: {
|
|
115
|
+
sort: {
|
|
116
|
+
enabled: true,
|
|
117
|
+
},
|
|
118
|
+
filter: {
|
|
119
|
+
advance: {
|
|
120
|
+
enabled: true,
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
schema: {
|
|
125
|
+
dataType: 'string',
|
|
126
|
+
interface: {
|
|
127
|
+
type: AXPWidgetsCatalog.text,
|
|
128
|
+
options: {
|
|
129
|
+
placeholder: 'e.g., English, Español',
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
validations: [
|
|
134
|
+
{
|
|
135
|
+
rule: 'required',
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: 'isRTL',
|
|
141
|
+
title: '@locale-management:languages.entities.language.fields.is-rtl',
|
|
142
|
+
groupId: 'settings',
|
|
143
|
+
options: {
|
|
144
|
+
filter: {
|
|
145
|
+
advance: {
|
|
146
|
+
enabled: true,
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
schema: {
|
|
151
|
+
dataType: 'boolean',
|
|
152
|
+
interface: {
|
|
153
|
+
type: AXPWidgetsCatalog.toggle,
|
|
154
|
+
options: {
|
|
155
|
+
trulyText: '@general:terms.common.text-direction.rtl',
|
|
156
|
+
falsyText: '@general:terms.common.text-direction.ltr',
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
columns: [
|
|
163
|
+
{ name: 'code', options: { width: '100px', order: 1 } },
|
|
164
|
+
{ name: 'title', options: { width: '200px', order: 2 } },
|
|
165
|
+
{ name: 'nativeTitle', options: { width: '200px', order: 3 } },
|
|
166
|
+
{ name: 'isRTL', options: { width: '80px', order: 4 } },
|
|
167
|
+
],
|
|
168
|
+
interfaces: {
|
|
169
|
+
master: {
|
|
170
|
+
create: {
|
|
171
|
+
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
172
|
+
properties: [
|
|
173
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
174
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
175
|
+
{ name: 'nativeTitle', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
176
|
+
{ name: 'isRTL', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
177
|
+
],
|
|
178
|
+
},
|
|
179
|
+
update: {
|
|
180
|
+
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
181
|
+
properties: [
|
|
182
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
183
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
184
|
+
{ name: 'nativeTitle', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
185
|
+
{ name: 'isRTL', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
186
|
+
],
|
|
187
|
+
},
|
|
188
|
+
single: {
|
|
189
|
+
title: RootConfig.entities.languages.title,
|
|
190
|
+
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
191
|
+
properties: [
|
|
192
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
193
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
194
|
+
{ name: 'nativeTitle', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
195
|
+
{ name: 'isRTL', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
196
|
+
],
|
|
197
|
+
actions: [
|
|
198
|
+
...entityMasterRecordActions(),
|
|
199
|
+
],
|
|
200
|
+
},
|
|
201
|
+
list: {
|
|
202
|
+
actions: [
|
|
203
|
+
...entityMasterCrudActions(),
|
|
204
|
+
],
|
|
205
|
+
views: [
|
|
206
|
+
createAllQueryView({
|
|
207
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
208
|
+
}),
|
|
209
|
+
],
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
};
|
|
214
|
+
return entityDef;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export { languagesFactory };
|
|
218
|
+
//# sourceMappingURL=acorex-platform-module-locale-management-client-contracts-entity-catalog-languages.entity-DRZszos9.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-locale-management-client-contracts-entity-catalog-languages.entity-DRZszos9.mjs","sources":["../../../../libs/modules/locale-management/contracts/src/entities/languages/languages.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityDetailsCreateActions, entityDetailsSimpleCondition, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function languagesFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.languages.name,\n title: RootConfig.entities.languages.title,\n icon: RootConfig.entities.languages.icon,\n formats: {\n individual: RootConfig.entities.languages.title,\n plural: RootConfig.entities.languages.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ nativeTitle }}',\n },\n },\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.locales.name}`,\n title: RootConfig.entities.locales.title,\n columns: ['code', 'title', 'countryCode', 'isDefault', 'isActive'],\n conditions: [\n entityDetailsSimpleCondition('languageId')\n ],\n actions: [\n entityDetailsCreateActions('languageId'),\n ],\n },\n ],\n plugins: [\n { name: 'archive' },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n {\n id: 'settings',\n title: '@general:terms.interface.settings',\n },\n ],\n properties: [\n {\n name: 'code',\n title: '@general:terms.common.code',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., en, es, fr',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., English, Spanish',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'nativeTitle',\n title: '@locale-management:languages.entities.language.fields.native-title',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'e.g., English, Español',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'isRTL',\n title: '@locale-management:languages.entities.language.fields.is-rtl',\n groupId: 'settings',\n options: {\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n trulyText: '@general:terms.common.text-direction.rtl',\n falsyText: '@general:terms.common.text-direction.ltr',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '100px', order: 1 } },\n { name: 'title', options: { width: '200px', order: 2 } },\n { name: 'nativeTitle', options: { width: '200px', order: 3 } },\n { name: 'isRTL', options: { width: '80px', order: 4 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'nativeTitle', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'isRTL', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'nativeTitle', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'isRTL', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n },\n single: {\n title: RootConfig.entities.languages.title,\n sections: [{ id: 'basic-info' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'nativeTitle', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'isRTL', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n actions: [\n ...entityMasterRecordActions(),\n ],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}"],"names":[],"mappings":";;;;AAIO,eAAe,gBAAgB,GAAA;AAElC,IAAA,MAAM,SAAS,GAAc;AACzB,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI;AACxC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK;AAC1C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI;AACxC,QAAA,OAAO,EAAE;AACL,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK;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